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

1369 lines
2.2 MiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

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

!(function(){var od=Object.defineProperty,sd=Object.defineProperties;var ld=Object.getOwnPropertyDescriptors;var mc=Object.getOwnPropertySymbols;var $c=Object.prototype.hasOwnProperty,ed=Object.prototype.propertyIsEnumerable;var Vc=Math.pow,qc=(me,ne,E)=>ne in me?od(me,ne,{enumerable:!0,configurable:!0,writable:!0,value:E}):me[ne]=E,$a=(me,ne)=>{for(var E in ne||(ne={}))$c.call(ne,E)&&qc(me,E,ne[E]);if(mc)for(var E of mc(ne))ed.call(ne,E)&&qc(me,E,ne[E]);return me},su=(me,ne)=>sd(me,ld(ne));var td=(me,ne)=>{var E={};for(var b in me)$c.call(me,b)&&ne.indexOf(b)<0&&(E[b]=me[b]);if(me!=null&&mc)for(var b of mc(me))ne.indexOf(b)<0&&ed.call(me,b)&&(E[b]=me[b]);return E};var Kc=(me,ne,E)=>new Promise((b,ue)=>{var le=oe=>{try{ge(E.next(oe))}catch(xe){ue(xe)}},ce=oe=>{try{ge(E.throw(oe))}catch(xe){ue(xe)}},ge=oe=>oe.done?b(oe.value):Promise.resolve(oe.value).then(le,ce);ge((E=E.apply(me,ne)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[644,872],{66543:function(){"use strict"},59598:function(){"use strict"},21697:function(me,ne){"use strict";ne.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},69092:function(me,ne){"use strict";ne.Z={wrap:"wrap___ilWvf",deleteIcon:"deleteIcon___JBDG8",keywordTag:"keywordTag___iieCb",questionTitleEditorWrap:"questionTitleEditorWrap___MHB5s",choiceListWrap:"choiceListWrap___jB8b1",choiceWrap:"choiceWrap___QFkTc",choiceIndex:"choiceIndex___Mr2YO",judgementIndex:"judgementIndex___fUVWK",setAnswerBtn:"setAnswerBtn___Whox5",activeAnswer:"activeAnswer___fGU6Y",activeJudgementAnswer:"activeJudgementAnswer___wJv8P",actionWrapper:"actionWrapper___ERQ7k",addIcon:"addIcon___L9TE0",inputBorder:"inputBorder___Q5tRE",placeholder:"placeholder___p9sFY",blankInputNumberWrapper:"blankInputNumberWrapper___uEHb0",addBtn:"addBtn___WR5ZI",blankIndex:"blankIndex___x9Pny",baseInputWrapper:"baseInputWrapper___eVsG7",collapseWrapper:"collapseWrapper___ZTysU",panelHeader:"panelHeader___QSN9g",open:"open___B6FU9",close:"close___QX19r",hide:"hide___mn25n"}},81025:function(me,ne){"use strict";ne.Z={flex_box_center:"flex_box_center___ycN2f",flex_space_between:"flex_space_between___LcS9e",flex_box_vertical_center:"flex_box_vertical_center___uwjPm",flex_box_center_end:"flex_box_center_end___Pc903",flex_box_column:"flex_box_column___AXEdv",bg:"bg___fm2Cw",title:"title___J3MCU",editIcon:"editIcon___i4Zll",titleLeft:"titleLeft___da61c",titleRight:"titleRight___EsdL6",formWrap:"formWrap___YTxC3",baseLineHeight:"baseLineHeight___TprCB",radioBtnWrapper:"radioBtnWrapper___Mt_XG",radiogroup:"radiogroup___EvkWh",easy:"easy___mSxtg",medium:"medium___NIaWN",hard:"hard___mddnD",baseFormItem:"baseFormItem___csbyb",cascaderPopup:"cascaderPopup___BttnF",selectdiv:"selectdiv___TAr4i",divitem:"divitem___iaXB2",bottmodiv:"bottmodiv___bmp6p",cancelBtn:"cancelBtn___Q4ZcL",confirmBtn:"confirmBtn___nRiCD",concat:"concat___jlPR1"}},9164:function(me,ne,E){"use strict";var b=E(59301),ue=Object.defineProperty,le=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,oe=(Se,he,Ve)=>he in Se?ue(Se,he,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):Se[he]=Ve,xe=(Se,he)=>{for(var Ve in he||(he={}))ce.call(he,Ve)&&oe(Se,Ve,he[Ve]);if(le)for(var Ve of le(he))ge.call(he,Ve)&&oe(Se,Ve,he[Ve]);return Se};const Oe=Se=>React.createElement("svg",xe({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Se),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));ne.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},11237:function(me,ne,E){"use strict";var b=E(59301),ue=Object.defineProperty,le=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,oe=(Se,he,Ve)=>he in Se?ue(Se,he,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):Se[he]=Ve,xe=(Se,he)=>{for(var Ve in he||(he={}))ce.call(he,Ve)&&oe(Se,Ve,he[Ve]);if(le)for(var Ve of le(he))ge.call(he,Ve)&&oe(Se,Ve,he[Ve]);return Se};const Oe=Se=>React.createElement("svg",xe({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Se),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));ne.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},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 me={},ne="5.0",E={},b=null,ue=!1,le=!1,ce=null,ge=!1,oe=null,xe=null,Oe=0;Oe<arguments.length;Oe++){var Se=arguments[Oe];if(Se!==null)switch(typeof Se){case"number":ne=Se.toFixed(1);break;case"string":Se.match(new RegExp("^[0-9]\\.[0-9]+$"))?ne=Se:ce=Se;break;case"object":typeof Se.is3D!="undefined"?b=Se:E=Se;break;case"boolean":ue=Se,le=!0;break}}b===null&&(b={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},E.material_id!==void 0&&!le&&(ue=!0)),ce!==null&&E.id===void 0&&(E.id=ce);var he="",Ve="",Ae=!1,ct=null,Ke=null,qe=null,Me=!1,ze=null,Ze=null,Le=null,Pe=null,ke=null;E.height!==void 0&&(E.height=Math.round(E.height)),E.width!==void 0&&(E.width=Math.round(E.width));var Re=function(ot){return parseFloat(ot)>4?parseFloat(ot):5};me.setHTML5Codebase=function(ot,zt){xe=ot,Be(ot,zt)},me.setJavaCodebase=me.setJavaCodebaseVersion=me.isCompiledInstalled=me.setPreCompiledScriptPath=me.setPreCompiledResourcePath=function(){},me.setHTML5CodebaseVersion=function(ot,zt){var Ut=parseFloat(ot);if(Ut!==NaN&&Ut<5){console.log("The GeoGebra HTML5 codebase version "+Ut+" is deprecated. Using version latest instead.");return}oe=ot,je(ot,zt)},me.getHTML5CodebaseVersion=function(){return Ke},me.getParameters=function(){return E},me.setFontsCSSURL=function(ot){Pe=ot},me.setGiacJSURL=function(ot){},me.setJNLPFile=function(ot){he=ot},me.setJNLPBaseDir=function(ot){},me.inject=function(){function ot(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var zt="auto",Ut=E.id,pn,bt=!1,Yt=0;Yt<arguments.length;Yt++){var Bt=arguments[Yt];typeof Bt=="string"?(Bt=Bt.toLowerCase(),Bt.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?zt=Bt:Ut=arguments[Yt]):typeof Bt=="boolean"?bt=Bt:Bt instanceof HTMLElement&&(pn=Bt)}$t();function $t(){if(!ge){setTimeout($t,200);return}zt=Gt(zt);var cn=pn||document.getElementById(Ut);if(!cn){console.log("possibly bug on ajax loading? ");return}if(me.removeExistingApplet(cn,!1),E.width===void 0&&cn.clientWidth&&(E.width=cn.clientWidth),E.height===void 0&&cn.clientHeight&&(E.height=cn.clientHeight),!(E.width&&E.height)&&zt==="html5"&&(delete E.width,delete E.height),ct=zt,zt==="screenshot")et(cn,E);else{var Ie=!1;E.hasOwnProperty("playButton")&&E.playButton||E.hasOwnProperty("clickToLoad")&&E.clickToLoad?Ie=!0:E.hasOwnProperty("playButtonAutoDecide")&&E.playButtonAutoDecide&&(Ie=(!Te()||ot())&&Ye()),Ie?(ct="screenshot",ht(cn,E,bt,zt)):Xe(cn,E,bt)}}};function Te(){try{return window.self!==window.top}catch(ot){return!0}}function Ye(){return E.hasOwnProperty("screenshotGenerator")&&E.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}me.getViews=function(){return b},me.isJavaInstalled=function(){return!1};var lt=function(ot){var zt=function(Yt){var Bt=JSON.parse(Yt),$t=function(pe){return pe.type=="G"||pe.type=="E"},cn=Bt.elements?Bt.elements.filter($t)[0]:Bt;if(!cn||!cn.url){Ut();return}E.fileName=cn.url,Fe(cn.settings||{}),b.is3D=!0;var Ie="https://www.geogebra.org/images/";me.setPreviewImage(ze||cn.previewUrl,Ie+"GeoGebra_loading.png",Ie+"applet_play.png"),ot()},Ut=function(){E.onError&&E.onError(),wt("Error: Fetching material (id "+E.material_id+") failed.",E)},pn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",bt="/materials/"+E.material_id+"?scope=basic";tt("https://"+pn+"/api/proxy.php?path="+encodeURIComponent(bt),zt,Ut)};function Fe(ot){var zt=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Ut){ot[Ut]=!!ot[Ut]}),zt.forEach(function(Ut){E[Ut]===void 0&&ot[Ut]!==void 0&&(E[Ut]=ot[Ut])}),E.showToolBarHelp===void 0&&(E.showToolBarHelp=E.showToolBar)}function tt(ot,zt,Ut){var pn=new XMLHttpRequest;pn.open("GET",ot),pn.onload=function(){zt(pn.responseText)},pn.onerror=Ut,pn.send()}me.isHTML5Installed=function(){return!0},me.getLoadedAppletType=function(){return ct},me.setPreviewImage=function(ot,zt,Ut){ze=ot,Ze=zt,Le=Ut},me.removeExistingApplet=function(ot,zt){var Ut;typeof ot=="string"&&(ot=document.getElementById(ot)),ct=null;var pn=null;for(Ut=0;Ut<ot.childNodes.length;Ut++){var bt=ot.childNodes[Ut],Yt=bt.className;Yt==="applet_screenshot"?zt?(bt.style.display="block",ct="screenshot"):bt.style.display="none":Yt!=="applet_scaler prerender"&&(ot.removeChild(bt),pn=Yt&&Yt.indexOf("appletParameters")!=-1?bt.id:null,Ut--)}var Bt=E.id!==void 0?E.id:pn,$t=window[Bt];$t&&typeof $t.getBase64=="function"&&($t.remove(),window[Bt]=null)},me.refreshHitPoints=function(){if(Re(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var ot=me.getAppletObject();return ot&&typeof ot.recalculateEnvironments=="function"?(ot.recalculateEnvironments(),!0):!1},me.startAnimation=function(){var ot=me.getAppletObject();return ot&&typeof ot.startAnimation=="function"?(ot.startAnimation(),!0):!1},me.stopAnimation=function(){var ot=me.getAppletObject();return ot&&typeof ot.stopAnimation=="function"?(ot.stopAnimation(),!0):!1},me.getAppletObject=function(){var ot=E.id!==void 0?E.id:"ggbApplet";return window[ot]},me.resize=function(){};var $e=function(ot,zt,Ut){var pn=document.createElement("param");pn.setAttribute("name",zt),pn.setAttribute("value",Ut),ot.appendChild(pn)},Ue=function(ot){return ot&&ot!=="false"},Xe=function(ot,zt,Ut){Re(Ke)<=4.2&&(Ut=!0);var pn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Ke||ggbHTML5LoadedCodebaseIsWebSimple&&!Me)&&(pn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var bt=document.createElement("div");bt.classList.add("appletParameters","notranslate");var Yt=zt.width,Bt=zt.height;if(zt.disableAutoScale=zt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():zt.disableAutoScale,zt.width!==void 0)if(Re(Ke)<=4.4)Ue(zt.showToolBar)&&(zt.height-=7),Ue(zt.showAlgebraInput)&&(zt.height-=37),zt.width<605&&Ue(zt.showToolBar)&&(zt.width=605,Yt=605);else{var $t=100;(Ue(zt.showToolBar)||Ue(zt.showMenuBar))&&(zt.hasOwnProperty("customToolBar")&&(zt.customToolbar=zt.customToolBar),$t=Ue(zt.showMenuBar)?245:155),Yt<$t&&(zt.width=$t,Yt=$t)}bt.style.border="none",bt.style.display="inline-block";for(var cn in zt)zt.hasOwnProperty(cn)&&cn!=="appletOnLoad"&&bt.setAttribute("data-param-"+cn,zt[cn]);Pe&&bt.setAttribute("data-param-fontscssurl",Pe),me.resize=function(){GGBAppletUtils.responsiveResize(ot,zt)},window.addEventListener("resize",function(Lt){me.resize()});var Ie=typeof zt.appletOnLoad=="function"?zt.appletOnLoad:function(){};if(!Ut&&zt.width!==void 0){zt.hasOwnProperty("showSplash")||bt.setAttribute("data-param-showSplash","false");var pe=ot.querySelector(".applet_scaler.prerender"),de=pe!==null;if(de)var Ee=pe.querySelector(".ggb_preview");else{var Ee=St(Yt,Bt,zt.borderColor,!1);pe=document.createElement("div"),pe.className="applet_scaler",pe.style.position="relative",pe.style.display="block",pe.style.width=Yt+"px",pe.style.height=Bt+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(pe,"66%"),Re(Ke)>=5?(zt.appletOnLoad=function(Lt){var Jt=ot.querySelector(".ggb_preview");Jt&&Jt.parentNode.removeChild(Jt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(pe),window.GGBT_wsf_view&&$(window).trigger("resize"),Ie(Lt)},de||pe.appendChild(Ee)):bt.appendChild(Ee),pe.appendChild(bt),de||ot.appendChild(pe),setTimeout(function(){me.resize()},1)}else{var De=document.createElement("div");De.className="applet_scaler",De.style.position="relative",De.style.display="block",De.appendChild(bt),ot.appendChild(De),zt.appletOnLoad=function(Lt){me.resize(),Ie(Lt)}}function fe(Lt,Jt){Jt&&typeof Jt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Lt,Jt.appletOnLoad):renderGGBElement(Lt),wt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Jt)}function Qe(Lt,Jt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Lt,params:Jt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(fn){fe(fn.article,fn.params)}),html5AppletsToProcess=null)},Re(Ke)<5&&(Lt.className+=" geogebraweb")):fe(Lt,Jt)}if(pn){scriptLoadStarted=!0;for(var Mt=0;Mt<bt.childNodes.length;Mt++){var an=bt.childNodes[Mt].tagName;an==="TABLE"&&(bt.removeChild(bt.childNodes[Mt]),Mt--)}if(ggbHTML5LoadedScript!==null){var Sn=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Sn!=null&&Sn.parentNode.removeChild(Sn)}var gt=document.createElement("script"),Ft=function(){Qe(bt,zt)};gt.src=Ve+qe,ggbHTML5LoadedCodebaseIsWebSimple=Me,ggbHTML5LoadedCodebaseVersion=Ke,ggbHTML5LoadedScript=gt.src,wt("GeoGebra HTML5 codebase loaded: '"+Ve+"'.",zt),!xe&&(!oe||oe=="5.0")?(Me?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Ft()):Ve.requirejs?__webpack_require__.e(981).then(function(){var Lt=[__webpack_require__(60981)];Ft.apply(null,Lt)}.bind(this)).catch(__webpack_require__.oe):(gt.onload=Ft,ot.appendChild(gt))}else Qe(bt,zt);zt.height=Bt,zt.width=Yt},et=function(ot,zt,Ut){var pn=St(zt.width,zt.height,zt.borderColor,Ut),bt=document.createElement("div");bt.style.position="relative",bt.style.display="block",bt.style.width=zt.width+"px",bt.style.height=zt.height+"px",bt.className="applet_screenshot applet_scaler"+(Ut?" applet_screenshot_play":""),bt.appendChild(pn);var Yt=GGBAppletUtils.getScale(zt,ot,Ut);Ut?(ot.appendChild(kt()),window.GGBT_wsf_view||(ot.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(bt,"66%"),ot.appendChild(bt),Yt!==1&&!isNaN(Yt)&&(GGBAppletUtils.scaleElement(bt,Yt),bt.style.width=zt.width+"px",bt.style.height=zt.height+"px",bt.parentNode.style.width=zt.width*Yt+"px",bt.parentNode.style.height=zt.height*Yt+"px"),me.resize=function(){rt(ot,pn,bt,Ut)},window.addEventListener("resize",function(Bt){me.resize()}),me.resize()};function rt(ot,zt,Ut,pn){if(ot.contains(zt)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ot.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(ot)}var bt=GGBAppletUtils.getScale(E,ot,pn);Ut.parentNode!==null&&(!isNaN(bt)&&bt!==1?(GGBAppletUtils.scaleElement(Ut,bt),Ut.parentNode.style.width=E.width*bt+"px",Ut.parentNode.style.height=E.height*bt+"px"):(GGBAppletUtils.scaleElement(Ut,1),Ut.parentNode.style.width=E.width+"px",Ut.parentNode.style.height=E.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(ot),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}me.onExitFullscreen=function(ot,zt){zt.appendChild(ot)};var ht=function(ot,zt,Ut,pn){et(ot,zt,!0);for(var bt=function(){var $t=[];for(Bt=0;Bt<ot.childNodes.length;Bt++)$t.push(ot.childNodes[Bt]);if(window.GGBT_wsf_view){var cn=window.GGBT_wsf_view.renderFullScreen(ot,zt.id),Ie=document.getElementById("fullscreencontainer"),pe=jQuery(ot).find(".fullscreencontent");pe.length>0?(cn.remove(),pe.attr("id","fullscreencontent").show(),jQuery(Ie).append(pe),window.dispatchEvent(new Event("resize"))):Xe(cn,zt,!1),window.GGBT_wsf_view.launchFullScreen(Ie)}else ct=pn,Xe(ot,zt,!1);if(!window.GGBT_wsf_view)for(Bt=0;Bt<$t.length;Bt++)ot.removeChild($t[Bt])},Yt=ot.getElementsByClassName("ggb_preview_play"),Bt=0;Bt<Yt.length;Bt++)Yt[Bt].addEventListener("click",bt,!1),Yt[Bt].addEventListener("ontouchstart",bt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(ot),Ye()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},kt=function(){var ot=document.createElement("div");if(ot.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var zt='.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");}',Ut=document.createElement("style");Ut.styleSheet?Ut.styleSheet.cssText=zt:Ut.appendChild(document.createTextNode(zt)),document.getElementsByTagName("head")[0].appendChild(Ut)}return ot},St=function(ot,zt,Ut,pn){var bt=document.createElement("div");bt.className="ggb_preview",bt.style.position="absolute",bt.style.zIndex="90",bt.style.width=ot-2+"px",bt.style.height=zt-2+"px",bt.style.top="0px",bt.style.left="0px",bt.style.overflow="hidden",bt.style.backgroundColor="white";var Yt="lightgrey";Ut!==void 0&&(Ut==="none"?Yt="transparent":Yt=Ut),bt.style.border="1px solid "+Yt;var Bt=document.createElement("img");if(Bt.style.position="relative",Bt.style.zIndex="1000",Bt.style.top="-1px",Bt.style.left="-1px",ze!==null&&Bt.setAttribute("src",ze),Bt.style.opacity=.7,Ze!==null){var $t,cn,Ie;if(!pn){$t=document.createElement("img"),$t.style.position="absolute",$t.style.zIndex="1001",$t.style.opacity=1,Bt.style.opacity=.3,cn=360,cn>ot/4*3&&(cn=ot/4*3),Ie=cn/5.8,$t.setAttribute("src",Ze),$t.setAttribute("width",cn),$t.setAttribute("height",Ie);var pe=(ot-cn)/2,de=(zt-Ie)/2;$t.style.left=pe+"px",$t.style.top=de+"px",bt.appendChild($t)}}return bt.appendChild(Bt),bt},Gt=function(ot){return ot=ot.toLowerCase(),ot==="html5"||ot==="screenshot"?ot:"html5"},nt=["web","webSimple","web3d","tablet","tablet3d","phone"],je=function(ot,zt){if(Ke=ot,zt){Be(Ke,!0);return}var Ut=!ue;if(Ut){var pn=Re(Ke);!isNaN(pn)&&pn<4.4&&(Ut=!1)}var bt,Yt;window.location.protocol.substr(0,4)==="http"?bt=window.location.protocol:bt="http:";var Bt=Ke.indexOf("//");Bt>0?Yt=Ke:Bt===0?Yt=bt+Ke:Yt="https://www.geogebra.org/apps/5.2.814.0/";for(var $t in nt)if(Ke.slice(nt[$t].length*-1)===nt[$t]||Ke.slice((nt[$t].length+1)*-1)===nt[$t]+"/"){Be(Yt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ut&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!Ue(E.showToolBar)&&!Ue(E.showMenuBar)&&!Ue(E.showAlgebraInput)&&!Ue(E.enableRightClick)&&(!E.appName||E.appName=="classic")?Yt+="webSimple/":Yt+="web3d/",Be(Yt,!1)},Be=function(ot,zt){if(ot.requirejs){Ve=ot;return}ot.slice(-1)!=="/"&&(ot+="/"),Ve=ot,zt===null&&(zt=ot.indexOf("http")===-1),Ae=zt,qe="web.nocache.js",Me=!1;var Ut=Ve.split("/");Ut.length>1&&(!zt&&Ut[Ut.length-2]==="webSimple"?(qe="webSimple.nocache.js",Me=!0):nt.indexOf(Ut[Ut.length-2])>=0&&(qe=Ut[Ut.length-2]+".nocache.js")),Ut=ot.split("/"),Ke=Ut[Ut.length-3],Ke.substr(0,4)==="test"?Ke=Ke.substr(4,1)+"."+Ke.substr(5,1):(Ke.substr(0,3)==="war"||Ke.substr(0,4)==="beta")&&(Ke="5.0");var pn=parseFloat(Ke);pn!==NaN&&pn<5&&ot.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+pn+" is deprecated. Using version latest instead."),je("5.0",zt))},wt=function(ot,zt){window.console&&window.console.log&&(!zt||typeof zt.showLogging=="undefined"||zt.showLogging&&zt.showLogging!=="false")&&console.log(ot)};E.material_id!==void 0?lt(Ot):Ot();function Ot(){var ot=ne;oe!==null?ot=oe:parseFloat(ot)<5&&(ot="5.0"),je(ot,!1),xe!==null&&Be(xe,Ae),ge=!0}return me},GGBAppletUtils=function(){"use strict";function me(){return window.GGBT_wsf_edit!==void 0}function ne(ge,oe){oe!=1?(ge.style.transformOrigin="0% 0% 0px",ge.style.webkitTransformOrigin="0% 0% 0px",ge.style.transform="scale("+oe+","+oe+")",ge.style.webkitTransform="scale("+oe+","+oe+")",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 E(ge,oe,xe,Oe,Se,he){var Ve=null;if(he!=null&&he!="")for(var Ae=ge.parentNode;Ae!=null;)if((" "+Ae.className+" ").indexOf(" "+he+" ")>-1){Ve=Ae;break}else Ae=Ae.parentNode;var ct=0,Ke=0,qe=0,Me=0,ze=0,Ze=0,Le=0;if(Ve)ct=Ve.offsetWidth,Ke=Math.max(Oe?Ve.offsetWidth:0,Ve.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ct=Math.min(window.innerWidth,document.documentElement.clientWidth),Ke=Math.min(window.innerHeight,document.documentElement.clientHeight),qe=ct):(ct=window.innerWidth,Ke=window.innerHeight,qe=window.innerWidth),ge){var Pe=ge.getBoundingClientRect();Pe.left>0&&Pe.left<=ct&&(Se===void 0||!Se)&&(document.dir==="rtl"?(ze=ct-Pe.width-Pe.left,Ze=qe<=480?10:30):(Ze=Pe.left,ze=qe<=480?10:30),Me=Ze+ze)}if(ge&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ke=ge.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Me=40,Le=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Me=0,Le=40)}}return ge&&((xe===void 0||!xe)&&oe>0&&oe+Me<ct?ct=oe:ct-=Me,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(xe===void 0||!xe)&&(Ke-=Le)),{width:ct,height:Ke}}function b(ge,oe,xe,Oe,Se){if(ge.isScreenshoGenerator)return 1;var he=Oe!==void 0&&Oe,Ve=ge.noScaleMargin!=null&&ge.noScaleMargin,Ae=function(ke){return ke&&ke!=="false"},ct=Ae(ge.autoHeight),Ke=E(oe,ge.width,xe,ct,he&&window.GGBT_wsf_view||Ve,Se),qe=parseInt(Ke.width),Me=ge.width,ze=ge.height;if(Me===void 0){var Ze=oe.querySelector(".appletParameters");Ze&&(Me=Ze.offsetWidth,ze=Ze.offsetHeight)}var Le=qe/Me,Pe=he?1:Ke.height/ze;return xe!==void 0&&!xe&&(Le=Math.min(1,Le),Pe=Math.min(1,Pe)),Math.min(Le,Pe)}function ue(ge,oe,xe){var Oe=1,Se,he=!1;if(ge.hasOwnProperty("allowUpscale")&&(he=ge.allowUpscale),ge.hasOwnProperty("scale")&&(Oe=parseFloat(ge.scale),(isNaN(Oe)||Oe===null||Oe===0)&&(Oe=1),Oe>1&&(he=!0)),oe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(he=!0),!(ge.hasOwnProperty("disableAutoScale")&&ge.disableAutoScale))Se=b(ge,oe,he,xe,ge.scaleContainerClass);else return Oe;return he&&(!ge.hasOwnProperty("scale")||Oe===1)?Se:Math.min(Oe,Se)}function le(ge){var oe=Math.min(window.innerWidth,document.documentElement.clientWidth),xe=Math.min(window.innerHeight,document.documentElement.clientHeight),Oe=ge.getBoundingClientRect(),Se=(oe-Oe.width)/2,he=(xe-Oe.height)/2;he<0&&(he=0),ge.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Se<40?ge.style.left="40px":ge.style.left=Se+"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=Se+"px")}function ce(ge,oe){var xe=ge.querySelector(".appletParameters");if(xe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(oe.id!==xe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ge)}if(xe.parentElement&&/fullscreen/.test(xe.parentElement.className))return;var Oe=ue(oe,ge);me()&&xe.setAttribute("data-param-scale",Oe);for(var Se=null,he=0;he<ge.childNodes.length;he++)if(ge.childNodes[he].className!==void 0&&ge.childNodes[he].className.match(/^applet_scaler/)){Se=ge.childNodes[he];break}if(Se!==null&&Se.querySelector(".noscale")!==null)return;var Ve=oe.id!==void 0?oe.id:"ggbApplet",Ae=window[Ve];(Ae==null||!Ae.recalculateEnvironments)&&Se!==null&&!Se.className.match(/fullscreen/)&&(Se.parentNode.style.transform="",!isNaN(Oe)&&Oe!==1?(Se.parentNode.style.width=oe.width*Oe+"px",Se.parentNode.style.height=oe.height*Oe+"px",ne(Se,Oe)):(ne(Se,1),Se.parentNode.style.width=oe.width+"px",Se.parentNode.style.height=oe.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($(xe).parents(".content-added-content"))}}return{responsiveResize:ce,isFlexibleWorksheetEditor:me,positionCenter:le,getScale:ue,scaleElement:ne}}();__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 me=n.location.search;return me.indexOf(J)!=-1||me.indexOf(K)!=-1}function q(me,ne){}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(me){var ne=s[L].bindings;s[L].bindings=function(){for(var E=ne?ne():{},b=me[webModule.__softPermutationId],ue=O;ue<b.length;ue++){var le=b[ue];E[le[O]]=le[P]}return E}};var t;function u(){return v(),t}function v(){if(!t){var me=o.createElement(Q);if(me.id=L,me.style.cssText=R+S,me.tabIndex=-1,o.body.appendChild(me),t=me.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var ne=document.compatMode==U?V:W;t.write(ne+X),t.close()}}}function w(me){function ne(b){function ue(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var le=ue();if(le){b();return}function ce(){if(!le){if(!ue())return;le=!0,b(),o.removeEventListener&&o.removeEventListener(Z,ce,!1),ge&&clearInterval(ge)}}o.addEventListener&&o.addEventListener(Z,ce,!1);var ge=setInterval(function(){ce()},$)}function E(b){var ue=u(),le=ue.body,ce=ue.createElement(_);ce.language=ab,ce.crossOrigin=W,ce.src=b,webModule.__errFn&&(ce.onerror=function(){webModule.__errFn(L,new Error(bb+b))}),le.appendChild(ce)}ne(function(){E(me)})}webModule.__startLoadingFragment=function(me){return C(me)},webModule.__installRunAsyncCode=function(me){var ne=u(),E=ne.body,b=ne.createElement(_);b.language=ab,b.text=me,E.appendChild(b),E.removeChild(b)};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(me){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(me){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(me){var ne=c[me];return ne==null?null:ne},r=d,webModule.__errFn=e}function B(){function me(ge){var oe=ge.lastIndexOf(rb);oe==-1&&(oe=ge.length);var xe=ge.indexOf(sb);xe==-1&&(xe=ge.length);var Oe=ge.lastIndexOf(tb,Math.min(xe,oe));return Oe>=O?ge.substring(O,Oe+P):W}function ne(ge){if(!ge.match(/^\w+:\/\//)){var oe=o.createElement(ub);oe.src=ge+vb,ge=me(oe.src)}return ge}function E(){var ge=__gwt_getMetaProperty(wb);return ge!=null?ge:W}function b(){for(var ge=o.getElementsByTagName(_),oe=O;oe<ge.length;++oe)if(ge[oe].src.indexOf(xb)!=-1)return me(ge[oe].src);return W}function ue(){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 ce=E();return ce==W&&(ce=b()),ce==W&&(ce=ue()),ce==W&&le()&&(ce=me(o.location.href)),ce=ne(ce),ce}function C(me){return me.match(/^\//)||me.match(/^[a-zA-Z]+:\/\//)?me:webModule.__moduleBase+me}function D(){var me=[],ne=O,E=[],b=[];function ue(ge){var oe=b[ge](),xe=E[ge];if(oe in xe)return oe;var Oe=[];for(var Se in xe)Oe[xe[Se]]=Se;throw r&&r(ge,Oe,oe),null}if(__gwt_isKnownPropertyValue=function(ge,oe){return oe in E[ge]},webModule.__getPropMap=function(){var ge={};for(var oe in E)E.hasOwnProperty(oe)&&(ge[oe]=ue(oe));return ge},webModule.__computePropValue=ue,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var le;try{le=Cb;var ce=le.indexOf(Db);ce!=-1&&(ne=parseInt(le.substring(ce+P),$),le=le.substring(O,ce))}catch(ge){}return webModule.__softPermutationId=ne,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(me,ne,E){"use strict";E.d(ne,{Ax:function(){return ce},Ds:function(){return ge},KI:function(){return xe},SI:function(){return le},f1:function(){return ue}});var b=E(90524);function ue(Oe){let Se=!0;if(Oe.length>0){for(let he=0;he<Oe.length;he++)if(Oe[he].compile_success==0||!Oe[he].compile_success){Se=!1;break}}else Se=!1;return Se}function le(Oe,Se=""){let he=[];for(let Ve=0;Ve<Oe.length;Ve++){let Ae=Oe[Ve],ct=Se?`${Se}/${Ae.name}`:`${Ae.name}`;he.push({title:Ae.name,type:Ae.type,isLeaf:Ae.type!=="tree",key:ct})}return he}function ce(Oe,Se,he){for(let Ve=0;Ve<Oe.length;Ve++){let Ae=Oe[Ve];if(Ae.key===Se){Ae.children=he;break}Ae.children&&ce(Ae.children,Se,he)}return Oe}function ge(Oe,Se,he){let Ve;return function(){let Ae=this,ct=arguments,Ke=function(){Ve=null,he||Oe.apply(Ae,ct)},qe=he&&!Ve;clearTimeout(Ve),Ve=setTimeout(Ke,Se),qe&&Oe.apply(Ae,ct)}}const oe=!0,xe=b.Z.API_SERVER},64885:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return Ke}});var b=E(99571),ue=E(59301),le=Object.defineProperty,ce=Object.defineProperties,ge=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,Se=(qe,Me,ze)=>Me in qe?le(qe,Me,{enumerable:!0,configurable:!0,writable:!0,value:ze}):qe[Me]=ze,he=(qe,Me)=>{for(var ze in Me||(Me={}))xe.call(Me,ze)&&Se(qe,ze,Me[ze]);if(oe)for(var ze of oe(Me))Oe.call(Me,ze)&&Se(qe,ze,Me[ze]);return qe},Ve=(qe,Me)=>ce(qe,ge(Me)),Ae=(qe,Me)=>{var ze={};for(var Ze in qe)xe.call(qe,Ze)&&Me.indexOf(Ze)<0&&(ze[Ze]=qe[Ze]);if(qe!=null&&oe)for(var Ze of oe(qe))Me.indexOf(Ze)<0&&Oe.call(qe,Ze)&&(ze[Ze]=qe[Ze]);return ze},ct=(qe,Me,ze)=>new Promise((Ze,Le)=>{var Pe=Te=>{try{Re(ze.next(Te))}catch(Ye){Le(Ye)}},ke=Te=>{try{Re(ze.throw(Te))}catch(Ye){Le(Ye)}},Re=Te=>Te.done?Ze(Te.value):Promise.resolve(Te.value).then(Pe,ke);Re((ze=ze.apply(qe,Me)).next())});const Ke=qe=>{var Me=qe,{children:ze}=Me,Ze=Ae(Me,["children"]);const[Le,Pe]=(0,ue.useState)(!1);return ue.createElement(b.ZP,Ve(he({},Ze),{loading:Le,onClick:ke=>ct(void 0,null,function*(){try{Pe(!0),yield Ze.onClick(ke),Pe(!1)}catch(Re){console.error(Re),Pe(!1)}})}),ze)}},6725:function(me,ne,E){"use strict";var b=E(86204),ue=E.n(b),le=Object.defineProperty,ce=(Oe,Se,he)=>Se in Oe?le(Oe,Se,{enumerable:!0,configurable:!0,writable:!0,value:he}):Oe[Se]=he,ge=(Oe,Se,he)=>ce(Oe,typeof Se!="symbol"?Se+"":Se,he),oe=(Oe,Se,he)=>new Promise((Ve,Ae)=>{var ct=Me=>{try{qe(he.next(Me))}catch(ze){Ae(ze)}},Ke=Me=>{try{qe(he.throw(Me))}catch(ze){Ae(ze)}},qe=Me=>Me.done?Ve(Me.value):Promise.resolve(Me.value).then(ct,Ke);qe((he=he.apply(Oe,Se)).next())});class xe extends b.EventEmitter{constructor(Se,he){super(),ge(this,"url"),ge(this,"body"),ge(this,"fullContent",""),ge(this,"controller",null),ge(this,"buffer",""),this.url=Se,this.body=he}startStream(){return oe(this,null,function*(){this.controller=new AbortController;const{signal:Se}=this.controller;try{const he=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Se});if(!he.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${he.status}`);const Ve=he.headers.get("content-type");if(!Ve)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Ve.includes("application/json")){const Ke=yield he.json();this.emit("error",Ke);return}if(!Ve.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Ae=he.body.getReader(),ct=new TextDecoder("utf-8");for(;;){const{done:Ke,value:qe}=yield Ae.read();if(Ke)break;const Me=ct.decode(qe,{stream:!0});this.buffer+=Me;const ze=this.buffer.split(`
`);this.buffer=ze.pop()||"";for(const Ze of ze)if(Ze.startsWith("data:")){const Le=Ze.slice(5).trim();if(Le==="[DONE]")break;try{const Pe=JSON.parse(Le);Pe.data&&this.handleData(Pe.data)}catch(Pe){this.buffer=Ze+`
`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",Pe)}}}this.emit("done",this.fullContent)}catch(he){he.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",he.message)}})}handleData(Se){Se.content&&(this.fullContent+=Se.content,this.emit("data",{chunk:Se,full:this.fullContent}))}cancelRequest(){var Se;(Se=this.controller)==null||Se.abort()}}ne.Z=xe},68201:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return ct}});var b=E(59301),ue=E(30641),le=E(77019),ce=E(5269),ge={smartWrp:"smartWrp___NjRcB"},oe=E(51124),xe=E(71360),Oe=E(64885),Se=E(59301),he=(Ke,qe,Me)=>new Promise((ze,Ze)=>{var Le=Re=>{try{ke(Me.next(Re))}catch(Te){Ze(Te)}},Pe=Re=>{try{ke(Me.throw(Re))}catch(Te){Ze(Te)}},ke=Re=>Re.done?ze(Re.value):Promise.resolve(Re.value).then(Le,Pe);ke((Me=Me.apply(Ke,qe)).next())});const Ve=`<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>\u5FEB\u901F\u6392\u5E8F\u6F14\u793A</title>
<style>
body {
font-family: Arial, sans-serif;
text-align: center;
margin: 20px;
}
.array-container {
display: flex;
justify-content: center;
align-items: flex-end;
height: 300px;
margin-top: 20px;
}
.bar {
width: 30px;
margin: 0 2px;
background-color: #4caf50;
color: white;
display: flex;
justify-content: center;
align-items: center;
border-radius: 5px;
transition: all 0.3s ease;
}
.bar.sorted {
background-color: #ff9800;
}
.bar.pivot {
background-color: #f44336;
}
</style>
</head>
<body>
<h1>\u5FEB\u901F\u6392\u5E8F\u7B97\u6CD5\u6F14\u793A</h1>
<button id="start-sort">\u5F00\u59CB\u6392\u5E8F</button>
<div class="array-container" id="array-container"></div>
<script>
const array = [34, 7, 23, 32, 5, 62]; // \u56FA\u5B9A\u6570\u7EC4
let bars = [];
// \u521D\u59CB\u5316\u6570\u7EC4\u663E\u793A
function initArrayDisplay() {
const container = document.getElementById('array-container');
container.innerHTML = '';
bars = array.map(value => {
const bar = document.createElement('div');
bar.className = 'bar';
bar.style.height = \`\${value * 5}px\`;
bar.textContent = value;
container.appendChild(bar);
return bar;
});
}
// \u9AD8\u4EAE\u67D0\u4E2A\u8303\u56F4\u5185\u7684\u67F1\u5B50
function highlightBars(indices, className) {
indices.forEach(index => bars[index].classList.add(className));
}
// \u79FB\u9664\u9AD8\u4EAE
function removeHighlightBars(indices, className) {
indices.forEach(index => bars[index].classList.remove(className));
}
// \u5FEB\u901F\u6392\u5E8F\u4E3B\u51FD\u6570
async function quickSort(arr, left = 0, right = arr.length - 1) {
if (left >= right) return;
const pivotIndex = await partition(arr, left, right);
await quickSort(arr, left, pivotIndex - 1);
await quickSort(arr, pivotIndex + 1, right);
}
// \u5206\u533A\u51FD\u6570
async function partition(arr, left, right) {
const pivot = arr[right];
let i = left - 1;
highlightBars([right], 'pivot'); // \u9AD8\u4EAE\u57FA\u51C6\u503C
for (let j = left; j < right; j++) {
highlightBars([j], 'sorted'); // \u9AD8\u4EAE\u5F53\u524D\u6BD4\u8F83\u5143\u7D20
await sleep(500);
if (arr[j] <= pivot) {
i++;
[arr[i], arr[j]] = [arr[j], arr[i]];
// \u66F4\u65B0\u67F1\u5B50\u9AD8\u5EA6
bars[i].style.height = \`\${arr[i] * 5}px\`;
bars[i].textContent = arr[i];
bars[j].style.height = \`\${arr[j] * 5}px\`;
bars[j].textContent = arr[j];
await sleep(500);
}
removeHighlightBars([j], 'sorted'); // \u79FB\u9664\u9AD8\u4EAE
}
// \u5C06\u57FA\u51C6\u503C\u653E\u5230\u6B63\u786E\u4F4D\u7F6E
[arr[i + 1], arr[right]] = [arr[right], arr[i + 1]];
bars[i + 1].style.height = \`\${arr[i + 1] * 5}px\`;
bars[i + 1].textContent = arr[i + 1];
bars[right].style.height = \`\${arr[right] * 5}px\`;
bars[right].textContent = arr[right];
removeHighlightBars([right], 'pivot'); // \u79FB\u9664\u57FA\u51C6\u503C\u9AD8\u4EAE
highlightBars([i + 1], 'sorted'); // \u9AD8\u4EAE\u6700\u7EC8\u4F4D\u7F6E
await sleep(500);
removeHighlightBars([i + 1], 'sorted');
return i + 1;
}
// \u5EF6\u8FDF\u51FD\u6570
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
// \u5F00\u59CB\u6392\u5E8F\u6309\u94AE\u70B9\u51FB\u4E8B\u4EF6
document.getElementById('start-sort').addEventListener('click', () => {
quickSort(array);
});
// \u521D\u59CB\u5316\u9875\u9762
initArrayDisplay();
<\/script>
</body>
</html>`;function Ae({open:Ke=!0,onChange:qe,defaultValue:Me,placement:ze,width:Ze,height:Le,extra:Pe,onDynamic:ke,onOpenChange:Re,showExtra:Te=!0}){const Ye=(0,b.useRef)(null),lt=(0,b.useRef)(null),[Fe,tt]=(0,b.useState)(Me||""),[$e,Ue]=(0,b.useState)(Me||""),[Xe,et]=(0,b.useState)(!!Ke),[rt,ht]=(0,b.useState)(1),kt={selectOnLineNumbers:!0};(0,b.useEffect)(()=>{Ke&&(tt(Me),Ue(Me),et(!0))},[Ke,Me]),(0,b.useEffect)(()=>{Fe!==""&&(clearTimeout(lt.current),lt.current=setTimeout(()=>{const Gt=document.createElement("iframe");if(Gt.style.width="100%",Gt.style.height="100%",Gt.style.border="0",Ye.current){Ye.current.innerHTML="",Ye.current.appendChild(Gt);const nt=Gt.contentDocument||Gt.contentWindow.document;nt.open(),nt.write(Fe),nt.close()}},1e3))},[Ke,Fe]);const St=Gt=>{tt(Gt),qe==null||qe(Gt,$e)};return Se.createElement(ue.Z,{title:"\u667A\u80FD\u52A8\u6548",placement:"right",open:Xe,width:"100%",height:Le||"100vh",rootClassName:ge.smartWrp,destroyOnClose:!0,onClose:()=>{et(!1),Re==null||Re(Fe)},extra:Te&&Se.createElement("div",null,Se.createElement(xe.tp,{dataSource:[{name:"\u9884\u89C8",id:1},{name:"\u4EE3\u7801",id:2}],value:rt,onChange:Gt=>ht(Gt)}),Se.createElement(Oe.Z,{type:"primary",className:"ml20",onClick:()=>he(this,null,function*(){yield ke(Fe,()=>{et(!1)})})},"\u4FDD\u5B58\u81F3\u8BFE\u4EF6"))},Se.createElement(le.Z,{className:"h100"},Se.createElement(ce.Z,{flex:"1",style:{background:"#f6f7fb",borderRight:"#e8eaf1 1px solid",display:rt===1?"block":"none"}},Se.createElement("div",{className:"h100",ref:Ye})),Se.createElement(ce.Z,{flex:"1",style:{display:rt===2?"block":"none"}},Se.createElement(oe.ZP,{height:"90vh",value:Me,language:"html",theme:"vs",showMiniMap:!1,options:kt,onChange:St}))))}var ct=Ae},97812:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return Fe}});var b=E(59301),ue=E(97831),le=E(77596),ce=E(3977),ge=E(14179),oe=E(56102),xe={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},Oe=E(6767),Se=E(90083),he=E(95827),Ve=E(30084),Ae=E(10787),ct=E(88831),Ke=E(68201),qe=Object.defineProperty,Me=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertySymbols,Le=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,ke=(tt,$e,Ue)=>$e in tt?qe(tt,$e,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):tt[$e]=Ue,Re=(tt,$e)=>{for(var Ue in $e||($e={}))Le.call($e,Ue)&&ke(tt,Ue,$e[Ue]);if(Ze)for(var Ue of Ze($e))Pe.call($e,Ue)&&ke(tt,Ue,$e[Ue]);return tt},Te=(tt,$e)=>Me(tt,ze($e)),Ye=(tt,$e)=>{var Ue={};for(var Xe in tt)Le.call(tt,Xe)&&$e.indexOf(Xe)<0&&(Ue[Xe]=tt[Xe]);if(tt!=null&&Ze)for(var Xe of Ze(tt))$e.indexOf(Xe)<0&&Pe.call(tt,Xe)&&(Ue[Xe]=tt[Xe]);return Ue},Fe=({onFinish:tt,value:$e,streamingStatus:Ue,cancelIndex:Xe,loadImage:et,onDynamic:rt,isHiddenHtml:ht})=>{const[kt,St]=(0,b.useState)(""),[Gt,nt]=(0,b.useState)({defaultValue:"",open:0,language:"",placement:"right",height:"100vh"}),[je,Be]=(0,b.useState)(0),[wt,Ot]=(0,b.useState)(!1),ot=pn=>pn.replace(/`(\$\$.*?\$\$)`/g,"$1").replace(/\$\$([\s\S]*?)\$\$/g,(bt,Yt)=>`<mathx data-text="${Yt.trim()}">$$${Yt.trim()}$$</mathx>`).replace(/\\\(([\s\S]*?)\\\)/g,'<mathx data-text="$1">$$$$$1$$$$</mathx>').replace(/\\\[([\s\S]*?)\\\]/g,'<mathx data-text="$1">$$$$$1$$$$</mathx>').replace(/_{2,}/g,"`$&`"),zt=()=>{Ot(!0),tt==null||tt()};(0,b.useEffect)(()=>{const pn=et?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A
${$e}`:$e,bt=ot(pn);if(!wt)if(et||!Ue||Xe>0){St(bt),Be(bt.length),(!Ue||Xe>0)&&!et&&zt();return}else if((bt==null?void 0:bt.length)<4)St(bt),Be(bt.length);else if(je<bt.length){const Yt=bt.length-je,Bt=setInterval(()=>{St(bt.slice(0,je+2)),Be($t=>$t+2)},Yt>10?Math.max(500/(Yt/2),20):50);return()=>clearInterval(Bt)}else Ue||zt()},[$e,Ue,Xe,et,je]);const Ut=(0,b.useMemo)(()=>b.createElement("section",{className:`${xe.answer} fadeIn animated edu_md`},b.createElement(ue.UG,{remarkPlugins:[Ve.Z,Ae.Z],rehypePlugins:[he.Z,ce.Z],components:{code(pn){var bt=pn,{node:Yt,inline:Bt,className:$t,children:cn}=bt,Ie=Ye(bt,["node","inline","className","children"]);const pe=/language-(\w+)/.exec($t||""),de=String(cn).trim();return Bt||!pe?b.createElement("code",Re({className:$t},Ie),cn):b.createElement("code",{className:xe.codeCopy,"data-text":`\`\`\`${pe?pe[1]:""}
${cn}
\`\`\``},!ht&&b.createElement(oe.CopyToClipboard,{text:de,onCopy:()=>Oe.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement("button",null,"\u590D\u5236")),!ht&&pe[1]==="html"&&wt&&b.createElement("button",{className:xe.runCode,onClick:()=>{nt(Re({},Te(Re({},Gt),{open:++Gt.open,defaultValue:de,language:pe[1]})))}},"\u8FD0\u884CHTML"),b.createElement(le.Z,Re({wrapLongLines:!0,style:ge.Z,language:pe[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},Ie),de))},img({node:pn}){var bt;const Yt=(bt=pn.properties)==null?void 0:bt.src;return b.createElement(Se.Z,{src:Yt,width:320,"data-text":Yt,onLoad:()=>et&&setTimeout(()=>zt(),500)})},a:pn=>{var bt=pn,{node:Yt}=bt,Bt=Ye(bt,["node"]);return b.createElement("a",Te(Re({},Bt),{target:"_blank",rel:"noopener noreferrer"}))}}},wt?kt:`${kt}__`)),[kt]);return b.createElement(b.Fragment,null,b.createElement(Ke.Z,{defaultValue:Gt.defaultValue,open:Gt.open,language:Gt.language,height:Gt.height,onChange:(pn,bt)=>{St(kt.replaceAll(bt,pn))},onDynamic:rt}),Ut)}},25232:function(me,ne,E){"use strict";var b=E(59301),ue=Object.defineProperty,le=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,oe=(Ae,ct,Ke)=>ct in Ae?ue(Ae,ct,{enumerable:!0,configurable:!0,writable:!0,value:Ke}):Ae[ct]=Ke,xe=(Ae,ct)=>{for(var Ke in ct||(ct={}))ce.call(ct,Ke)&&oe(Ae,Ke,ct[Ke]);if(le)for(var Ke of le(ct))ge.call(ct,Ke)&&oe(Ae,Ke,ct[Ke]);return Ae},Oe=(Ae,ct)=>{var Ke={};for(var qe in Ae)ce.call(Ae,qe)&&ct.indexOf(qe)<0&&(Ke[qe]=Ae[qe]);if(Ae!=null&&le)for(var qe of le(Ae))ct.indexOf(qe)<0&&ge.call(Ae,qe)&&(Ke[qe]=Ae[qe]);return Ke};const Se=E(20441),he={};Se.keys().forEach(Ae=>{const ct=Ae.replace("./","").replace(".svg","");he[ct]=Se(Ae)});const Ve=Ae=>{var ct=Ae,{filename:Ke}=ct,qe=Oe(ct,["filename"]),Me;const ze=((Me=Ke==null?void 0:Ke.split(".").pop())==null?void 0:Me.toLowerCase())||"unknown",Ze=he[ze]||he.default;return b.createElement("img",xe({src:Ze,alt:ze},qe))};ne.Z=Ve},37732:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return he}});var b=E(59301),ue={flex_box_center:"flex_box_center___kyfCX",flex_space_between:"flex_space_between___GHTzD",flex_box_vertical_center:"flex_box_vertical_center___FdgNd",flex_box_center_end:"flex_box_center_end___LMVYD",flex_box_column:"flex_box_column___Yb2bC",f_l_c:"f_l_c___nwLBO",officediv:"officediv___KkKIB",preclass:"preclass___SCKdC"},le=E(37285),ce=E(25232),ge=E(25399),oe=E(37639),Oe=({item:Ve})=>{var Ae,ct,Ke,qe,Me;const[ze,Ze]=(0,b.useState)(!1);console.log("----",Ve);let Le=[{name:"subject",icon:b.createElement("i",{style:{width:16,height:16,marginRight:5,color:"#2054C9"},className:"iconfont icon-kecheng1"})},{name:"shixun",icon:b.createElement("i",{style:{width:16,height:16,marginRight:5,color:"#2054C9"},className:"iconfont icon-shixunti2"})},{name:"challenge",icon:b.createElement("i",{style:{width:16,height:16,marginRight:5,color:"#2054C9"},className:"iconfont icon-shixunti2"})},{name:"document",icon:b.createElement(ce.Z,{filename:Ve==null?void 0:Ve.name,style:{width:16,height:16,marginRight:5}})}];return b.createElement("div",{className:ue.f_l_c},b.createElement(ge.Z,{title:Ve==null?void 0:Ve.name},b.createElement(oe.Z,{placement:"top",content:b.createElement("div",null,b.createElement(le.Z,null),b.createElement("pre",{className:ue.preclass,style:{maxWidth:600,maxHeight:400}},(Ve==null?void 0:Ve.type)==="document"&&((Ae=Ve==null?void 0:Ve.contents)==null?void 0:Ae.toString()),(Ve==null?void 0:Ve.type)!=="document"&&b.createElement("a",{target:"_blank",href:(ct=Ve==null?void 0:Ve.contents)==null?void 0:ct.toString()},(Ke=Ve==null?void 0:Ve.contents)==null?void 0:Ke.toString()))),title:b.createElement("div",null,(qe=Le==null?void 0:Le.find(Pe=>(Pe==null?void 0:Pe.name)===Ve.type))==null?void 0:qe.icon,Ve==null?void 0:Ve.name),trigger:"click",open:ze,onOpenChange:Pe=>{Ze(Pe)}},b.createElement("div",{className:ue.officediv},(Me=Le==null?void 0:Le.find(Pe=>(Pe==null?void 0:Pe.name)===Ve.type))==null?void 0:Me.icon,Ve==null?void 0:Ve.name))))},he=({Filelist:Ve})=>b.createElement("div",null,b.createElement("div",{style:{display:"flex",alignItems:"center"}},b.createElement("span",{style:{minWidth:40,fontWeight:500,color:"#333"}},"\u5F15\u7528"),b.createElement(le.Z,{style:{flex:1,minWidth:"calc(100% - 40px)"}})),b.createElement("div",{className:ue.f_l_c},Ve==null?void 0:Ve.map(Ae=>b.createElement(Oe,{item:Ae}))))},74049:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return lt}});var b=E(59301),ue=E(6767),le=E(30641),ce=E(77019),ge=E(62957),oe=E(37568),xe=E(14566),Oe=E(25399),Se=E(5269),he=E(71051),Ve={wrap:"wrap___Yz6fc",left:"left___F0axg",tip:"tip___nCmqI",bottomBtn:"bottomBtn___x70Gq",disabled:"disabled___CWzre"},Ae=E(71360),ct=E(90524),Ke=E(30008),qe=E(82093),Me=E(67556),ze=E(49661),Ze=E(11196),Le=E(53010),Pe=E(95795),ke=E(24754),Re="data:image/png;base64,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",Te=(Fe,tt,$e)=>new Promise((Ue,Xe)=>{var et=kt=>{try{ht($e.next(kt))}catch(St){Xe(St)}},rt=kt=>{try{ht($e.throw(kt))}catch(St){Xe(St)}},ht=kt=>kt.done?Ue(kt.value):Promise.resolve(kt.value).then(et,rt);ht(($e=$e.apply(Fe,tt)).next())}),lt=(0,b.forwardRef)(({onUpdateNum:Fe,onSave:tt},$e)=>{var Ue;const Xe=`\u8BF7\u8F93\u5165\u51FA\u9898\u8981\u6C42\uFF0C\u60A8\u4E5F\u53EF\u4EE5\u5148\u4E0A\u4F20\u6750\u6599\u4E4B\u540E\u518D\u6839\u636E\u6750\u6599\u51FA\u9898
\u4F8B\uFF1A\u8BF7\u751F\u6210\u5173\u4E8E\u300APython\u7A0B\u5E8F\u8BBE\u8BA1\u300B\u7684\u8BD5\u9898\u3002\u8003\u5BDF\u77E5\u8BC6\u70B9\uFF1A\u53D8\u91CF\u5B9A\u4E49\u3001\u6570\u636E\u7C7B\u578B\u3001\u8FD0\u7B97\u7B26\u548C\u63A7\u5236\u7ED3\u6784\u3002\u96BE\u5EA6\u4E3A\u201C\u56F0\u96BE\u201D\u7684\u8BD5\u9898\u536020%`,[et,rt]=(0,b.useState)(!1),[ht,kt]=(0,b.useState)([]),[St,Gt]=(0,b.useState)(null),[nt,je]=(0,b.useState)([]),[Be,wt]=(0,b.useState)(0),[Ot,ot]=(0,b.useState)(0),[zt,Ut]=(0,b.useState)(!1),[pn,bt]=(0,b.useState)(""),[Yt,Bt]=(0,b.useState)(0),[$t,cn]=(0,b.useState)(0),[Ie,pe]=(0,b.useState)(0),[de,Ee]=(0,b.useState)(0),[De,fe]=(0,b.useState)(0),[Qe,Mt]=(0,b.useState)(0),[an,Sn]=(0,b.useState)(0),[gt,Ft]=(0,b.useState)(0),[Lt,Jt]=(0,b.useState)(ke.Q),{contentRef:fn,value:Zt,status:mt,open:tn,close:Ct}=Lt,Rt=(0,Le.Z)({contentRef:fn,status:mt}),{openProgress:vt,closeProgress:jt,CreateProgressModal:At,progressOpen:Je}=(0,Ze.Z)();(0,b.useEffect)(()=>{St&&Ln(),St===!1&&(Ct(),Fe==null||Fe(),kt([]),bt(""),Bt(0),cn(0),pe(0),Ee(0),fe(0),Mt(0),Sn(0),Ft(0))},[St]);const un=()=>{Gt(!0)};(0,b.useImperativeHandle)($e,()=>({onClick:un}));const gn=xn=>{Ut(!0),wt(xn),ot(0)},Et=xn=>Te(void 0,null,function*(){const zn=xn.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(zn)==-1?(ue.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u683C\u5F0F\u6709\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),Promise.reject()):xn.size/1024/1024>10?(ue.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u5927\u5C0F\u9650\u523610MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),Promise.reject()):!0}),Ln=()=>Te(void 0,null,function*(){const xn=yield(0,qe.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});xn.status===0&&(wt(xn.total_number),ot(xn.remaining_number))}),ar=xn=>(xn=xn||"",xn=String(xn),xn=xn.replace(/\s+/g,""),xn),Hn=(xn=!0)=>Te(void 0,null,function*(){var zn,cr;const ir=[{name:"\u5355\u9009\u9898",num:Yt||0},{name:"\u591A\u9009\u9898",num:$t||0},{name:"\u5224\u65AD\u9898",num:Ie||0},{name:"\u586B\u7A7A\u9898",num:de||0},{name:"\u7B80\u7B54\u9898",num:De||0},{name:"\u7EC4\u5408\u9898",num:gt||0},{name:"\u7F16\u7A0B\u9898",num:Qe||0},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",num:an||0}];if(xn){if(ar(pn)){if(pn.length>1e3){ue.ZP.warning("\u51FA\u9898\u8981\u6C42\u5B57\u6570\u9650\u5236\u4E3A1000\u5B57");return}}else{ue.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if(!ar(pn)&&!(ht!=null&&ht.length)){ue.ZP.warning("\u8BF7\u4E0A\u4F20\u6750\u6599\u6587\u6863\u6216\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6750\u6599\u5185\u5BB9");return}const nn=ir.reduce((An,Nn)=>An+Nn.num,0);if(nn===0){ue.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}if(nn>50){ue.ZP.warning("\u51FA\u9898\u6570\u91CF\u8FBE\u5230\u9650\u5236");return}if(Be!==-1){Ut(!0);return}}Ut(!1);const Yn={scene_type:6,request_identifier:Math.random(),file_id:(cr=(zn=ht[0])==null?void 0:zn.response)==null?void 0:cr.id,content:pn,count_arr:ir.map(nn=>nn.num).join(",")};yield tn(Yn),Ln()}),Vt=()=>Te(void 0,null,function*(){const xn=Rt();if(tt){Gt(!1),tt(xn);return}vt(),rt(!0),je([]);const zn=new FormData;zn.append("html",xn);const cr=yield(0,qe.ZP)("/api/intelligent_imports/import.json",{method:"post",body:zn},!0);if((cr==null?void 0:cr.status)===0)if(cr!=null&&cr.data){jt(100),je(cr==null?void 0:cr.data);return}else ue.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898");rt(!1),jt()}),dr=()=>Te(void 0,null,function*(){const xn=Rt();(0,ze.RG)(xn)}),qn=["uploading","error"].includes((Ue=ht==null?void 0:ht[0])==null?void 0:Ue.status);return b.createElement(b.Fragment,null,b.createElement(Pe.Z,{visible:zt,totalCount:Be,usedCount:Ot,onCancel:()=>Ut(!1),onOk:()=>Hn(!1)}),b.createElement(le.Z,{title:"\u667A\u80FD\u51FA\u9898",extra:b.createElement("div",{className:Ve.extraHeader},b.createElement(ce.Z,{align:"middle"},!mt&&!!Zt&&b.createElement(b.Fragment,null,b.createElement(Ae.op,{onClick:Vt,className:"mr15",shape:"default"},"\u4FDD\u5B58\u8BD5\u9898"),b.createElement(Ae.op,{onClick:dr,shape:"default",type:"text"},b.createElement("i",{className:"iconfont icon-fuzhi8 mr5 font14"}),"\u590D\u5236")),b.createElement("i",{onClick:()=>{const xn=zn=>{ge.default.confirm({centered:!0,icon:null,width:500,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:zn,onOk:()=>{Gt(!1)}})};if(mt){xn("\u6B63\u5728\u751F\u6210\u8BD5\u9898\u4E2D\uFF0C\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F");return}else Zt?xn("\u8BD5\u9898\u672A\u4FDD\u5B58\uFF0C\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F"):Gt(!1)},className:"iconfont icon-guanbi11 current ml15"}))),placement:"bottom",height:"100%",headerStyle:{height:54,borderBottomColor:"#DCDCDC"},bodyStyle:{padding:0},closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:St},b.createElement("div",{className:Ve.wrap},b.createElement("div",{className:Ve.left},b.createElement("div",{className:Ve.tip},b.createElement("img",{src:Re}),b.createElement("span",null,"\u60A8\u597D\uFF01\u6211\u662F\u60A8\u7684\u667A\u80FD\u51FA\u9898\u52A9\u624B\uFF0C\u6211\u5DF2\u5B66\u4E60\u4E86\u5E73\u53F0\u4EE5\u53CA\u4E92\u8054\u7F51\u4E0A\u6D77\u91CF\u7684\u8BD5\u9898\u77E5\u8BC6\u5E93\u3002\u53EF\u4EE5\u6839\u636E\u60A8\u7684\u8981\u6C42\u548C\u4E0A\u4F20\u7684\u6750\u6599\u7075\u6D3B\u751F\u6210\u5404\u7C7B\u8BD5\u9898\u3002\u6B22\u8FCE\u968F\u65F6\u4E0E\u6211\u4E92\u52A8\uFF0C\u8BA9\u6211\u4EEC\u4E00\u8D77\u6253\u9020\u66F4\u9AD8\u6548\u3001\u66F4\u4F18\u8D28\u7684\u8BD5\u9898\uFF01")),b.createElement("div",{className:"mb10 mt20 c-black"},b.createElement("b",null,"\u51FA\u9898\u8981\u6C42")),b.createElement(oe.default.TextArea,{style:{height:160},className:"mb20",value:pn,placeholder:Xe,onChange:xn=>{bt(xn.target.value)}}),b.createElement(xe.default,{accept:".doc,.docx,.pdf,.png,.jpg",action:`${ct.Z.API_SERVER}/api/attachments.json`,maxCount:1,fileList:ht,withCredentials:!0,data:{upload_type:1},beforeUpload:Et,onChange:({file:xn})=>{var zn,cr;xn.status!=="removed"&&(xn.status==="done"&&((zn=xn==null?void 0:xn.response)==null?void 0:zn.status)!==0&&(xn.status="error",xn.response=(cr=xn==null?void 0:xn.response)==null?void 0:cr.message),kt([xn]))},onRemove:()=>kt([])},b.createElement(Oe.Z,{title:"\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"},b.createElement(Ae.op,{style:{borderRadius:2}},b.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6750\u6599"))),b.createElement("div",{className:"c-black mt20"},b.createElement("div",{className:"mb10 c-black"},b.createElement("b",null,"\u51FA\u9898\u6570\u91CF"),b.createElement("span",{className:"c-grey-999"},"\uFF08\u4E3A\u4FDD\u8BC1\u51FA\u9898\u4F53\u9A8C\uFF0C\u5355\u6B21\u51FA\u9898\u603B\u6570\u91CF\u4E0D\u80FD\u8D85\u8FC7",b.createElement("span",{style:{padding:"0 6px",color:"#FB901F"}},"50"),"\u9053\uFF09")),b.createElement(ce.Z,{style:{gap:16}},b.createElement(Se.Z,null,b.createElement("label",null,"\u5355\u9009\u9898"),b.createElement(he.Z,{min:0,max:10,value:Yt,onChange:Bt,style:{marginLeft:"8px"}})),b.createElement(Se.Z,null,b.createElement("label",null,"\u591A\u9009\u9898"),b.createElement(he.Z,{min:0,max:10,value:$t,onChange:cn,style:{marginLeft:"8px"}})),b.createElement(Se.Z,null,b.createElement("label",null,"\u5224\u65AD\u9898"),b.createElement(he.Z,{min:0,max:10,value:Ie,onChange:pe,style:{marginLeft:"8px"}})),b.createElement(Se.Z,null,b.createElement("label",null,"\u586B\u7A7A\u9898"),b.createElement(he.Z,{min:0,max:10,value:de,onChange:Ee,style:{marginLeft:"8px"}})),b.createElement(Se.Z,null,b.createElement("label",null,"\u7B80\u7B54\u9898"),b.createElement(he.Z,{min:0,max:10,value:De,onChange:fe,style:{marginLeft:"8px"}})),b.createElement(Se.Z,null,b.createElement("label",null,"\u7EC4\u5408\u9898"),b.createElement(he.Z,{min:0,max:10,value:gt,onChange:Ft,style:{marginLeft:"8px"}})),b.createElement(Se.Z,null,b.createElement("label",null,"\u7F16\u7A0B\u9898"),b.createElement(he.Z,{min:0,max:10,value:Qe,onChange:Mt,style:{marginLeft:"8px"}})),b.createElement(Se.Z,null,b.createElement("label",null,"\u7A0B\u5E8F\u586B\u7A7A\u9898"),b.createElement(he.Z,{min:0,max:10,value:an,onChange:Sn,style:{marginLeft:"8px"}})))),mt?b.createElement("div",{onClick:Ct,className:Ve.bottomBtn},b.createElement("i",{className:"iconfont icon-tingzhihuida"}),"\u505C\u6B62\u51FA\u9898"):qn?b.createElement("div",{className:`${Ve.bottomBtn} ${Ve.disabled}`},b.createElement("i",{className:"iconfont icon-kaishichuti font14"}),"\u5F00\u59CB\u51FA\u9898"):b.createElement("div",{onClick:()=>{Hn()},className:Ve.bottomBtn},b.createElement("i",{className:"iconfont icon-kaishichuti font14"}),"\u5F00\u59CB\u51FA\u9898")),b.createElement(ke.Z,{onStatusChange:Jt,loadingText:"\u8BD5\u9898\u751F\u6210\u4E2D",fetchUrl:"/api/stream/intelligent_imports/stream.json",showEditableToolbar:!Je,noRestrictModal:gn,stringTransformer:Me.o,onError:xn=>{Object.prototype.toString.call(xn)==="[object Object]"&&xn.status===-9&&gn(xn.data)}}))),b.createElement(le.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:et},b.createElement(ce.Z,{align:"middle",style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},b.createElement("img",{src:E(36413),alt:"\u667A\u80FD\u51FA\u9898"}),b.createElement("span",{className:"ml10"},"\u667A\u80FD\u51FA\u9898")),b.createElement(Ke.Z,{stickyTop:-24,hideWordFeatures:!0,dataSource:nt,isRefreshItemBank:!0,okText:"\u5BFC\u5165\u9898\u5E93",mode:1,onCancel:()=>rt(!1),onSuccess:()=>{rt(!1),Gt(!1)}}),b.createElement("div",{style:{height:70}})),At("\u5904\u7406\u4E2D"))})},23479:function(me,ne,E){"use strict";var b=E(59301);const ue=({scrollBoxRef:le,bottomInspectRef:ce,contentRef:ge,status:oe,rootMargin:xe="70px",bottomOffset:Oe=110})=>{const[Se,he]=(0,b.useState)(!0),Ve=(0,b.useRef)(!1);return(0,b.useEffect)(()=>{if(!le.current||!ce.current)return;const Ae=new IntersectionObserver(([ct])=>{var Ke,qe,Me,ze;if(!document.contains(ct.target)){console.log("\u76EE\u6807\u5143\u7D20\u5DF2\u4ECE DOM \u79FB\u9664");return}if(((Ke=ct.rootBounds)==null?void 0:Ke.width)===0&&((qe=ct.rootBounds)==null?void 0:qe.height)===0){console.log("root\uFF08\u6EDA\u52A8\u5BB9\u5668\uFF09\u65E0\u6548\uFF0C\u53EF\u80FD\u5DF2\u88AB\u79FB\u9664");return}if(((Me=ct.boundingClientRect)==null?void 0:Me.width)===0&&((ze=ct.boundingClientRect)==null?void 0:ze.height)===0){console.log("\u76EE\u6807\u5143\u7D20\u5BBD\u9AD8\u4E3A 0\uFF0C\u53EF\u80FD\u5DF2\u88AB\u79FB\u9664\u6216 display: none");return}he(ct.isIntersecting)},{root:le.current,rootMargin:xe,threshold:0});return Ae.observe(ce.current),()=>{Ae.disconnect()}},[le.current,ce.current,xe]),(0,b.useEffect)(()=>{if(!oe)return;const Ae=le.current,ct=ge.current;Ve.current=!1;let Ke=Ae.scrollTop;const qe=()=>{const{scrollTop:ze,scrollHeight:Ze,clientHeight:Le}=Ae;ze>Ke?ze+Le>=Ze-Oe&&(Ae.scrollTop=Ae.scrollHeight,Ve.current=!1):ze<Ke&&(Ve.current=!0),Ke=ze};Ae.addEventListener("scroll",qe);const Me=new ResizeObserver(()=>{Ve.current||(Ae.scrollTop=Ae.scrollHeight)});return Me.observe(ct),()=>{setTimeout(()=>{Me.unobserve(ct)},250),Ae.removeEventListener("scroll",qe)}},[oe]),Se};ne.Z=ue},53010:function(me,ne,E){"use strict";var b=E(59301);const ue=({contentRef:le,status:ce})=>((0,b.useEffect)(()=>{!ce&&(le!=null&&le.current)&&le.current.querySelectorAll("code[data-text], mathx[data-text]").forEach(xe=>{xe.tagName.toLowerCase()==="code"?xe.parentElement&&(xe.parentElement.contentEditable="false"):xe.tagName.toLowerCase()==="mathx"&&(xe.contentEditable="false")})},[ce]),(oe=!1)=>{const xe=Ve=>{const Ae={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&nbsp;":" ","&copy;":"\xA9","&reg;":"\xAE","&euro;":"\u20AC"};return Ve.replace(/&[^;]+;/g,ct=>Ae[ct]||ct)};if(!le.current)return"";const Oe=le.current.cloneNode(!0);Oe.querySelectorAll("code[data-text], mathx[data-text]").forEach(Ve=>{let Ae=Ve.getAttribute("data-text");Ve.tagName.toLowerCase()==="code"?Ae=Ae.replace(/```.*\n|\n```/g,""):Ve.tagName.toLowerCase()==="mathx"&&(Ae=`$$${Ae}$$`);const ct=document.createTextNode(Ae);Ve.parentNode.replaceChild(ct,Ve)}),oe&&Oe.querySelectorAll('[data-select="disabled"]').forEach(Ae=>{var ct;const Ke=Ae.textContent||"",qe=document.createTextNode(Ke+`
`);(ct=Ae.parentNode)==null||ct.replaceChild(qe,Ae)});let he=Oe.innerHTML;return oe||(he=he.replace(/<[^>]*data-select="disabled"[^>]*>.*?<\/[^>]*>/g,"")),he=he.replace(/<p>/g,""),he=he.replace(/<\/p>/g,`
`),he=he.replace(/<br>/g,`
`),he=he.replace(/\r\n/g,`
`),he=he.replace(/<[^>]*>/g,""),he=xe(he),he});ne.Z=ue},11196:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return Ae}});var b=E(59301),ue=E(62957),le=E(77019),ce=E(60242),ge="data:image/png;base64,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",oe="data:image/png;base64,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",xe="data:image/png;base64,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",Oe={dotLoading:"dotLoading___s6Sh4",showHide:"showHide___Dfprh",progress:"progress___QUpqo"},Se=E(59301);const he=["\u6587\u4EF6\u89E3\u6790\u8BFB\u53D6\u4E2D","\u5185\u5BB9\u7406\u89E3\u5206\u6790\u4E2D","\u7ED3\u6784\u5316\u63D0\u53D6\u4E2D"];var Ae=()=>{const[ct,Ke]=(0,b.useState)(0),[qe,Me]=(0,b.useState)(!1),[ze,Ze]=(0,b.useState)(!0),Le=(0,b.useRef)(null);(0,b.useEffect)(()=>{if(ze)return;const lt=()=>{Ke(Fe=>Fe>=99?(clearInterval(Le.current),99):Fe+1)};return Le.current=setInterval(lt,5e4/99),()=>clearInterval(Le.current)},[ze]);const Pe=()=>{Ke(0),Me(!0),Ze(!1)},ke=(lt=0)=>{Ze(!0),Ke(lt),Me(!1)},Re=lt=>{const Fe=lt/1048576;let tt;return Fe<=.3?tt=3:Fe<=.5?tt=5:Fe<=1?tt=10:Fe<=2?tt=20:Fe<=3?tt=30:Fe<=10?tt=Fe*10:tt=100,` \u9884\u8BA1\u5904\u7406\u65F6\u957F\u4E3A${tt}\u5206\u949F\uFF0C\u8BF7\u52FF\u5173\u95ED\u7A97\u53E3`},Te=()=>Se.createElement("span",{className:Oe.dotLoading},Se.createElement("span",null,"."),Se.createElement("span",null,"."),Se.createElement("span",null,"."));return{progress:ct,progressOpen:qe,openProgress:Pe,closeProgress:ke,toggleLock:()=>Ze(lt=>!lt),CreateProgressModal:(lt=he,Fe)=>(typeof lt=="string"&&(lt=[lt,lt,lt]),Se.createElement(ue.default,{centered:!0,closable:!1,destroyOnClose:!0,zIndex:1200,open:qe,title:null,footer:null,width:500,afterClose:()=>Ke(0)},Se.createElement(le.Z,{align:"middle",className:"mt40 mb20",style:{flexDirection:"column"}},ct<=30&&Se.createElement(Se.Fragment,null,Se.createElement("img",{src:ge,alt:"Step 1"}),Se.createElement("div",{className:"mt20 c-light-primary"},lt[0],Te())),ct>30&&ct<60&&Se.createElement(Se.Fragment,null,Se.createElement("img",{src:oe,alt:"Step 2"}),Se.createElement("div",{className:"mt20 c-light-primary"},lt[1],Te())),ct>=60&&Se.createElement(Se.Fragment,null,Se.createElement("img",{src:xe,alt:"Step 3"}),Se.createElement("div",{className:"mt20 c-light-primary"},lt[2],Te())),Se.createElement(ce.Z,{className:Oe.progress,status:"active",style:{width:"auto"},size:[300,8],percent:ct}),!!Fe&&Se.createElement("div",{className:"c-grey-999"},Re(Fe)))))}}},59934:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return Be}});var b=E(59301),ue=E(75727),le=E(6767),ce=E(25399),ge=E(37568),oe=E(99571),xe=E(97812),Oe={wrap:"wrap___AasCO",chatContainer:"chatContainer___n6e3E",btnContainer:"btnContainer___yKyVB",btn:"btn___Y_09T",inputContainer:"inputContainer____bM3M",sendBtn:"sendBtn___UHHLj",sendBtnDisabled:"sendBtnDisabled___AoSRc",cancelBtn:"cancelBtn___yql4C",loadingWrp:"loadingWrp___gYLGT","dot-fade":"dot-fade___LruoO"},he=({position:wt,children:Ot})=>{const{left:ot=0,top:zt=0}=wt||{},[Ut,pn]=(0,b.useState)(ot),[bt,Yt]=(0,b.useState)(zt),Bt=(0,b.useRef)(null),$t=()=>{if(Bt.current){const cn=Bt.current.offsetWidth,Ie=Bt.current.offsetHeight,pe=window.innerWidth,de=window.innerHeight;let Ee=ot,De=zt;ot+cn>pe&&(Ee=pe-cn),Ee<0&&(Ee=0),zt+Ie>de&&(De=de-Ie),De<0&&(De=0),pn(Ee),Yt(De)}};return(0,b.useEffect)(()=>{if(!Bt.current||!wt)return;const cn=new ResizeObserver(()=>{$t()});return cn.observe(Bt.current),()=>{cn.disconnect()}},[ot,zt,wt]),(0,b.useEffect)(()=>{wt&&$t()},[ot,zt,wt]),wt?b.createElement("div",{ref:Bt,style:{position:"fixed",left:`${Ut}px`,top:`${bt}px`,zIndex:1050}},Ot):null},Ve=E(90524),Ae=E(56102),ct=E(6725),Ke=Object.defineProperty,qe=Object.defineProperties,Me=Object.getOwnPropertyDescriptors,ze=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,Pe=(wt,Ot,ot)=>Ot in wt?Ke(wt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:ot}):wt[Ot]=ot,ke=(wt,Ot)=>{for(var ot in Ot||(Ot={}))Ze.call(Ot,ot)&&Pe(wt,ot,Ot[ot]);if(ze)for(var ot of ze(Ot))Le.call(Ot,ot)&&Pe(wt,ot,Ot[ot]);return wt},Re=(wt,Ot)=>qe(wt,Me(Ot)),Te=(wt,Ot,ot)=>new Promise((zt,Ut)=>{var pn=Bt=>{try{Yt(ot.next(Bt))}catch($t){Ut($t)}},bt=Bt=>{try{Yt(ot.throw(Bt))}catch($t){Ut($t)}},Yt=Bt=>Bt.done?zt(Bt.value):Promise.resolve(Bt.value).then(pn,bt);Yt((ot=ot.apply(wt,Ot)).next())}),lt=({visible:wt,position:Ot,selectText:ot,applyRefinedText:zt,fetchUrl:Ut,noRestrictModal:pn})=>{var bt;const[Yt,Bt]=(0,b.useState)(!1),[$t,cn]=(0,b.useState)([]),[Ie,pe]=(0,b.useState)(""),[de,Ee]=(0,b.useState)(1),[De,fe]=(0,b.useState)(""),[Qe,Mt]=(0,b.useState)(!1),an=(0,b.useRef)(null),[Sn,gt]=(0,b.useState)(!1),[Ft,Lt]=(0,b.useState)(0),Jt=(0,b.useRef)(!1),fn=((bt=$t==null?void 0:$t[($t==null?void 0:$t.length)-1])==null?void 0:bt.loading)===!0;(0,b.useEffect)(()=>{if(wt){Ee(1);return}gt(!1),Bt(!1),Zt(),Lt(0),cn([]),Ee(0)},[wt]);const Zt=()=>{var Hn,Vt;pe(""),fe(""),(Vt=(Hn=an.current)==null?void 0:Hn.cancelRequest)==null||Vt.call(Hn)},mt=(...Hn)=>Te(void 0,[...Hn],function*(Vt="",dr=$t){const qn=Date.now(),xn=[...dr,{text:Vt,key:qn,sender:"user",show:!0},{loading:!0,key:qn,sender:"AI",show:!0}];Ee(2),cn(xn);const zn=Ct(dr),cr={no_record_times:!0,prompt:Vt,history:zn};an.current=new ct.Z(Ve.Z.API_SERVER+Ut,cr),yield new Promise(ir=>{an.current.on("data",Gn=>{const{chunk:{msg:Yn},full:nn}=Gn,An=Yn==="error";gt(!0),fe(Je(nn)),cn(Nn=>Nn.map((In,xr)=>xr===Nn.length-1?Re(ke({},In),{text:nn,loading:!1,error:An}):In))}),an.current.on("done",()=>ir()),an.current.on("error",Gn=>{const Yn="\u62B1\u6B49\uFF0C\u6211\u521A\u521A\u9047\u5230\u4E86\u4E00\u70B9\u95EE\u9898\uFF0C\u6CA1\u80FD\u5B8C\u6210\u60A8\u7684\u8BF7\u6C42\u3002\u8BF7\u60A8\u7A0D\u540E\u518D\u8BD5\u4E00\u6B21\uFF0C\u6216\u8005\u8054\u7CFB\u6280\u672F\u652F\u6301\u5E2E\u5FD9\u89E3\u51B3!";Object.prototype.toString.call(Gn)==="[object Object]"&&Gn.status===-9&&(Ee(1),pn(Gn.data)),cn(nn=>nn.map((An,Nn)=>Nn===nn.length-1?Re(ke({},An),{text:Yn,loading:!1,error:!0}):An)),ir()}),an.current.on("cancelled",()=>ir()),an.current.startStream()}),Bt(!1)}),tn=Hn=>{pe(Hn.target.value)},Ct=Hn=>Hn.reduce((dr,qn)=>{if(qn.sender==="user"){const xn=Hn.find(zn=>zn.key===qn.key&&zn.sender==="AI");xn&&(xn!=null&&xn.text)&&!(xn!=null&&xn.error)&&dr.push({question:qn.text,answer:xn.text})}return dr},[]),Rt=()=>{if(ar)return;const Hn=un("\u6539\u5199");Zt(),Bt(!0),mt(Hn)},vt=Hn=>{if(Hn.key==="Enter"&&!Hn.shiftKey){if(Hn.preventDefault(),Jt.current||Ln)return;Rt()}},jt=()=>{var Hn,Vt;Lt(dr=>dr+1),(Vt=(Hn=an.current)==null?void 0:Hn.cancelRequest)==null||Vt.call(Hn),Bt(!1),gt(!1)},At=[{key:"1",label:b.createElement("span",null," ",b.createElement("i",{className:"iconfont icon-runse font14 mr10"}),"\u6DA6\u8272 ")},{key:"2",label:b.createElement("span",null,b.createElement("i",{className:"iconfont icon-kuoxie font14 mr10"}),"\u6269\u5199")},{key:"3",label:b.createElement("span",null," ",b.createElement("i",{className:"iconfont icon-suoxie font14 mr10"}),"\u7F29\u5199")}],Je=(Hn="")=>{const Vt=["\u7B54\u6848\uFF1A","\u96BE\u5EA6\uFF1A","\u89E3\u6790\uFF1A","\u77E5\u8BC6\u70B9\uFF1A","\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09","\u7F16\u7A0B\u8BED\u8A00\uFF1A","\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A","\u7A0B\u5E8F\u4EE3\u7801\uFF1A","\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A","\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"];return Array.from({length:20}).forEach((dr,qn)=>{Vt.push(`\u7B54\u6848${qn+1}\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${qn+1})\u8F93\u5165\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${qn+1})\u8F93\u51FA\uFF1A`)}),Vt.forEach(dr=>{const qn=new RegExp(dr,"g");Hn=Hn.replace(qn,`**${dr}** `)}),Hn},un=Hn=>Hn==="\u6539\u5199"?`${Ie}\uFF0C\u6839\u636E\u4E0A\u8FF0\u8981\u6C42\u6539\u5199\u8FD9\u53E5\u8BDD\uFF0C${ot}\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211\uFF0C\u4E0D\u8981\u53BB\u6389\u63D0\u793A\u8BED`:`${ot}\uFF0C${Hn}\u4E0A\u9762\u8FD9\u53E5\u8BDD\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211\uFF0C\u4E0D\u8981\u53BB\u6389\u63D0\u793A\u8BED`,gn=Hn=>{let Vt="";Hn.key==="1"&&(Vt=un("\u6DA6\u8272")),Hn.key==="2"&&(Vt=un("\u6269\u5199")),Hn.key==="3"&&(Vt=un("\u7F29\u5199")),Zt(),Bt(!0),mt(Vt)},Et=()=>{const Hn=$t.splice($t.length-2),{text:Vt}=(Hn==null?void 0:Hn[0])||{};Zt(),Bt(!0),mt(Vt,$t)},Ln=Yt||Sn,ar=(Ie==null?void 0:Ie.trim())==="";return wt?b.createElement(ue.Z,{open:ar&&!Ln&&(Qe||!De),overlayStyle:{minWidth:200},menu:{items:At,onClick:gn}},b.createElement(he,{position:Ot},b.createElement("div",{className:Oe.wrap},de===2&&b.createElement(b.Fragment,null,b.createElement("div",{className:Oe.chatContainer},fn&&b.createElement("div",{className:Oe.loadingWrp},b.createElement("span",null,"\u6B63\u5728\u751F\u6210\u4E2D"),b.createElement("div",{className:"ai-loading"})),De&&b.createElement(xe.Z,{cancelIndex:Ft,streamingStatus:Yt,loadImage:!1,onFinish:()=>Te(void 0,null,function*(){Lt(0),setTimeout(()=>gt(!1),0)}),value:De})),b.createElement("div",{className:Oe.btnContainer},b.createElement("div",{onClick:()=>zt(!0,De),className:Oe.btn,style:{padding:"0 16px",width:"initial"}},b.createElement("i",{className:"iconfont icon-tihuan mr10 font14"}),"\u66FF\u6362"),b.createElement("div",{onClick:()=>zt(!1,De),className:Oe.btn,style:{padding:"0 16px",width:"initial"}},b.createElement("i",{className:"iconfont icon-charu mr10 font14"}),"\u63D2\u5165"),b.createElement(Ae.CopyToClipboard,{text:De,onCopy:()=>le.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement(ce.Z,{title:"\u590D\u5236"},b.createElement("div",{className:Oe.btn,style:{marginLeft:"auto"}},b.createElement("i",{className:"iconfont icon-fuzhi8 font14"})))),b.createElement(ce.Z,{title:"\u91CD\u65B0\u751F\u6210"},b.createElement("div",{onClick:Et,className:Oe.btn},b.createElement("i",{className:"iciconfontonfot icon-gengxin-genghuan-tihuan font17"}))),b.createElement(ce.Z,{title:"\u5220\u9664"},b.createElement("div",{onClick:()=>{Ee(1),Zt(),cn([])},className:Oe.btn},b.createElement("i",{className:"iconfont icon-shanchu14 font14"}))))),b.createElement("div",{className:Oe.inputContainer},b.createElement(ge.default.TextArea,{placeholder:"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u7684\u6587\u672C\u4F18\u5316\u5EFA\u8BAE",value:Ie,bordered:!1,onFocus:()=>Mt(!0),onBlur:()=>setTimeout(()=>Mt(!1),300),onChange:tn,onPressEnter:vt,onCompositionStart:()=>Jt.current=!0,onCompositionEnd:()=>Jt.current=!1}),Sn?b.createElement("div",{className:`iconfont icon-tingzhihuida ${Oe.cancelBtn}`,onClick:jt}):b.createElement(oe.ZP,{className:ar?Oe.sendBtnDisabled:Oe.sendBtn,icon:b.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:Ln,onClick:Rt}))))):b.createElement(b.Fragment,null)},Fe={"hover-line-container":"hover-line-container___kkYQN","hover-line-content":"hover-line-content___ZkD9e","line-button-container":"line-button-container___A79j9",button:"button___X_Iu7"},tt=Object.defineProperty,$e=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,et=(wt,Ot,ot)=>Ot in wt?tt(wt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:ot}):wt[Ot]=ot,rt=(wt,Ot)=>{for(var ot in Ot||(Ot={}))Ue.call(Ot,ot)&&et(wt,ot,Ot[ot]);if($e)for(var ot of $e(Ot))Xe.call(Ot,ot)&&et(wt,ot,Ot[ot]);return wt};const ht=wt=>React.createElement("svg",rt({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},wt),React.createElement("title",null,"AI\u6539\u5199"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"26.797%",y1:"22.073%",x2:"82.181%",y2:"80.474%",id:"rewrite_svg__a"},React.createElement("stop",{stopColor:"#5C64FF",offset:"0%"}),React.createElement("stop",{stopColor:"#6988F8",offset:"100%"}))),React.createElement("path",{d:"m10.406 4.741.007.015h-.007v-.022.007Zm-.04-.04.855-1.495 1.497-.855-1.496-.855L10.366 0l-.854 1.497-1.497.855 1.496.854.855 1.495ZM3.1 8.442l1.71 3.1 1.603-3.1 3.1-1.71L6.52 5.023l-1.71-3.1-1.71 3.1L0 6.733l3.099 1.709H3.1Zm6.84 3.1 1.069 1.924 1.068-1.924L14 10.473l-1.924-1.069-1.069-1.923L9.94 9.405l-1.924 1.068 1.924 1.07v-.001Z",fill:"url(#rewrite_svg__a)",fillRule:"nonzero"}));var kt="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIyNi43OTclIiB5MT0iMjIuMDczJSIgeDI9IjgyLjE4MSUiIHkyPSI4MC40NzQlIiBpZD0iYSI+PHN0b3Agc3RvcC1jb2xvcj0iIzVDNjRGRiIgb2Zmc2V0PSIwJSIvPjxzdG9wIHN0b3AtY29sb3I9IiM2OTg4RjgiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxwYXRoIGQ9Im0xMC40MDYgNC43NDEuMDA3LjAxNWgtLjAwN3YtLjAyMi4wMDdabS0uMDQtLjA0Ljg1NS0xLjQ5NSAxLjQ5Ny0uODU1LTEuNDk2LS44NTVMMTAuMzY2IDBsLS44NTQgMS40OTctMS40OTcuODU1IDEuNDk2Ljg1NC44NTUgMS40OTVaTTMuMSA4LjQ0MmwxLjcxIDMuMSAxLjYwMy0zLjEgMy4xLTEuNzFMNi41MiA1LjAyM2wtMS43MS0zLjEtMS43MSAzLjFMMCA2LjczM2wzLjA5OSAxLjcwOUgzLjFabTYuODQgMy4xIDEuMDY5IDEuOTI0IDEuMDY4LTEuOTI0TDE0IDEwLjQ3M2wtMS45MjQtMS4wNjktMS4wNjktMS45MjNMOS45NCA5LjQwNWwtMS45MjQgMS4wNjggMS45MjQgMS4wN3YtLjAwMVoiIGZpbGw9InVybCgjYSkiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==",Gt=(0,b.forwardRef)(({initialContent:wt,onButtonClick:Ot},ot)=>{const[zt,Ut]=(0,b.useState)(null),[pn,bt]=(0,b.useState)(null),[Yt,Bt]=(0,b.useState)(""),[$t,cn]=(0,b.useState)(null),Ie=ot,pe=an=>{const Sn=document.elementFromPoint(10,an),gt=document.createRange();let Ft=null;const Lt=document.createTreeWalker(Ie.current,NodeFilter.SHOW_TEXT,{acceptNode:Rt=>{const vt=document.createRange();vt.selectNodeContents(Rt);const jt=vt.getBoundingClientRect();return jt.top<=an&&jt.bottom>=an?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let Jt="",fn,Zt,mt=null,tn=null,Ct=null;for(;fn=Lt.nextNode();){fn.parentNode.getAttribute("data-select")==="disabled"&&(Zt=!0),Jt+=fn.textContent,tn||(tn=fn),Ct=fn;const Rt=document.createRange();Rt.selectNodeContents(fn);const vt=Rt.getBoundingClientRect();mt===null&&(mt=vt.top)}if(tn&&Ct&&!Zt){const Rt=document.createRange();Rt.setStart(tn,0),Rt.setEnd(Ct,Ct.textContent.length),cn(Rt)}else cn(null);return bt(mt-1),Zt?"":Jt.trim()};function de(an){for(;an.parentElement&&an.parentElement.tagName.toLowerCase()!=="section";){var Sn=window.getComputedStyle(an.parentElement);if(Sn.pointerEvents==="none")return!0;an=an.parentElement}return!1}const Ee=an=>{var Sn,gt;if(de(an.target)){bt(-1e6);return}if(((gt=(Sn=document.getSelection())==null?void 0:Sn.toString)==null?void 0:gt.call(Sn))!==""){bt(-1e6);return}const Ft=pe(an.clientY);if((Ft==null?void 0:Ft.trim())===""){bt(-1e6);return}const Lt=Ie.current.getBoundingClientRect();Ut(Lt.left-30),Bt(Ft)},De=()=>{},fe=an=>{Ot&&Yt&&Ot(Yt,an.clientX,an.clientY,$t)},Qe=()=>{if($t){const an=window.getSelection();an.removeAllRanges(),an.addRange($t)}},Mt=()=>{window.getSelection().removeAllRanges()};return(0,b.useEffect)(()=>{const an=Ie.current;return an.addEventListener("mousemove",Ee),an.addEventListener("mouseleave",De),()=>{an.removeEventListener("mousemove",Ee),an.removeEventListener("mouseleave",De),Mt()}},[wt]),b.createElement("div",{className:Fe["hover-line-container2"]},pn!==null&&b.createElement("div",{className:Fe["line-button-container"],style:{top:pn,left:zt},onMouseEnter:()=>{Qe()},onMouseLeave:()=>{Mt(),bt(null),Bt(""),cn(null)}},b.createElement("div",{className:Fe.button,onClick:fe},b.createElement("img",{src:kt}),b.createElement("span",null,"AI\u6539\u5199"))))}),nt={toolbar:"toolbar___qYQBF","chat-dialog":"chat-dialog___AUJYU",button:"button___VhNes"},Be=({nodeRef:wt,noRestrictModal:Ot})=>{const[ot,zt]=(0,b.useState)(null),[Ut,pn]=(0,b.useState)(null),[bt,Yt]=(0,b.useState)(!1),[Bt,$t]=(0,b.useState)(null),[cn,Ie]=(0,b.useState)(!1),[pe,de]=(0,b.useState)(!1),Ee=wt,De=(0,b.useRef)(null),fe=(0,b.useRef)(null),[Qe,Mt]=(0,b.useState)("");(0,b.useEffect)(()=>{ot!=null&&ot.toString()&&Mt(ot==null?void 0:ot.toString())},[ot==null?void 0:ot.toString()]);const an=()=>{const Lt=window.getSelection(),Jt=Ee.current.scrollTop,fn=Ee.current.getBoundingClientRect();if(Lt.rangeCount>0&&Lt.toString().length>0){const Zt=Lt.getRangeAt(0);zt(Zt.cloneRange());const mt=Zt.getBoundingClientRect(),tn=40;let Ct=mt.top+Jt-5+tn;Ct<Jt&&(Ct=mt.bottom-fn.top+Jt+5);const Rt=Ee.current.scrollHeight-tn;Ct=Math.min(Math.max(Ct,Jt),Rt),pn({top:Ct+6,left:mt.left})}else zt(null),pn(null),Yt(!1);Sn(Lt)},Sn=Lt=>{if(!Lt||Lt.rangeCount===0){Ie(!1);return}const fn=Lt.getRangeAt(0).getBoundingClientRect(),Zt=window.getComputedStyle(Ee.current),mt=parseInt(Zt.lineHeight),tn=parseInt(Zt.paddingTop),Ct=Ee.current.scrollTop,Rt=Ee.current.getBoundingClientRect(),vt=fn.top-Rt.top+Ct,jt=Math.floor((vt-tn)/mt),At=tn+jt*mt-Ct;$t(At),Ie(!0)},gt=Lt=>{Ee.current&&!Ee.current.contains(Lt.target)&&de(!1)};(0,b.useEffect)(()=>{const Lt=Ee.current;return Lt.addEventListener("scroll",an),Lt.addEventListener("input",an),Lt.addEventListener("click",an),Lt.addEventListener("mouseup",an),Lt.addEventListener("keyup",an),Lt.addEventListener("click",an),document.addEventListener("mousedown",gt),()=>{Lt.removeEventListener("scroll",an),Lt.removeEventListener("input",an),Lt.removeEventListener("click",an),Lt.removeEventListener("mouseup",an),Lt.removeEventListener("keyup",an),Lt.removeEventListener("click",an),document.removeEventListener("mousedown",gt)}},[]);const Ft=(Lt=!0,Jt)=>{if(!ot)return;const fn=fe.current.querySelector("section.edu_md").innerHTML.replace(/<p[^>]*>([\s\S]*?)<\/p>/g,"$1"),Zt=ot.cloneRange(),mt=window.getSelection();if(mt.removeAllRanges(),mt.addRange(Zt),Lt){Zt.deleteContents();const tn=document.createElement("div");tn.innerHTML=fn;const Ct=Array.from(tn.childNodes);for(;Ct.length>0;)Zt.insertNode(Ct.pop())}else{Zt.collapse(!1);const tn=document.createElement("div");tn.innerHTML=" "+fn;const Ct=Array.from(tn.childNodes);for(;Ct.length>0;)Zt.insertNode(Ct.pop())}mt.removeAllRanges(),zt(null),Yt(!1),pn(null)};return b.createElement("section",{ref:fe},Ut&&b.createElement("div",{ref:De,className:nt.toolbar,style:{top:Ut==null?void 0:Ut.top,left:Ut==null?void 0:Ut.left}},b.createElement("div",{className:nt.button,onClick:()=>Yt(!0)},b.createElement("img",{src:kt}),b.createElement("span",null,"AI\u6539\u5199"))),b.createElement(lt,{key:JSON.stringify(Ut),noRestrictModal:Ot,visible:bt,position:Ut,selectText:Qe,applyRefinedText:Ft,fetchUrl:"/api/stream/intelligent_imports/stream.json"}),Ee.current&&b.createElement(Gt,{ref:Ee,onButtonClick:(Lt,Jt,fn,Zt)=>{zt(Zt),Yt(!0),Mt(Lt),pn({left:Jt,top:fn+20})}}))}},95795:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return ge}});var b=E(59301),ue=E(62957),le={num:"num___VQiqB"},ge=({visible:oe,usedCount:xe,totalCount:Oe,onOk:Se,onCancel:he})=>{const Ve=()=>xe>0?b.createElement("div",null,"\u672C\u6B21\u5C06\u6D88\u80171\u6B21\u5927\u6A21\u578B\u4F7F\u7528\u673A\u4F1A\uFF08\u6BCF\u65E5",Oe,"\u6B21\u673A\u4F1A\uFF0C\u4ECA\u65E5\u5269\u4F59",b.createElement("span",{className:le.num},xe),"\u6B21\uFF09\uFF0C\u786E\u5B9A\u64CD\u4F5C\u5417\uFF1F"):b.createElement("div",{className:"mb20"},"\u4ECA\u65E5\u5927\u6A21\u578B\u4F7F\u7528\u673A\u4F1A\u5DF2\u7528\u5B8C\uFF08\u6BCF\u65E5",Oe,"\u6B21\u673A\u4F1A\uFF0C\u4ECA\u65E5\u5269\u4F59",b.createElement("span",{className:le.num},xe),"\u6B21\uFF09\u3002");return b.createElement(ue.default,{centered:!0,open:oe,title:"\u63D0\u793A",width:620,onCancel:he,onOk:Se,footer:xe>0?void 0:null},Ve())}},24754:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return ze},Q:function(){return qe}});var b=E(59301),ue={container:"container___DAVRd",katex:"katex___oS9Qs",liWrap:"liWrap___pAkIe",backBottom:"backBottom___kT237",imgBox:"imgBox___O8q6M"},le=E(6725),ce=E(90524),ge=E(97812),oe=E(59934),xe=E(23479),Oe=E(26381),Se="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAAB4CAYAAAAqs3YmAAAAAXNSR0IArs4c6QAADGlJREFUeF7tnVlQHMcZx7/umT0AcSjGBonDOmxdgV2Ww0iWIsmxrfIhJ1VJ2W+uilgEjqtclTwmLxQvyYur8uCKYmFQXMmbXUlV4lw+YsmHkBECdhdkSZZlyUJgScEWh7h2d7pTvcUuw2hhp3dm2dmleWPn66+/+f+me7p7vplGkOQfpRTVt56vgJCyARAtpAg5knS1JosRhBQMdMpJbddPd+68jhCiyQiBkil0sO2qc2J4yoMQLU6mvCizVAFCyLdFlUX9p9o3z/Fqww2Qtbxa7+BuAY9X6pXtGcSBEzVneFsiN8C6lqFKqihuc8MX3pgCTrAFurt2fc2jBj/AI/5GiuGBaCVIgtv2vOnAmd89OstT8Vq33fPL7pzgdJ6LKotaAoLx/k73Jzza8ANs8h1SD1gcBdMfCHg8ki/aMojzk3lPRH9hAxtfp+tfPN64AdZ6/c+pK+jvcr/DU6GwXaqAUT0FwDRfUQJgmgEYrV4ANKpgmssLgGkGYLR6AdCogmkuLwCmGYDR6gVAowqmubwAmGYARqsXAI0qmObyAmCaARitXgA0qmCaywuAaQZgtHoB0KiCaS4vAKYZgNHqBUCjCqa5vACYZgBGqxcAjSqY5vKmARR5nmkmmaD65fJII0/kRZ6nteFpo1PnkSKR55lZ8KLRxvJIRZ5nZgJkUbM8UlSnyfPcXpkLPz1QBPm5mXti2Rj51AzAXz4ah0vXZxZPD8E4qtPkef76xY0CnkWvAAbxN38ejUXHBjZIO4z9betGi4YvwmIK/Or4IkD2vwCYYdeFAJhhwLThCoACYIYrkOHhixYoAGa4AiaHr20R2lG89ri2et5Rv2iBAqDJCmS4O9ECBUAuBUQXyiWX9YwFQOsx4YpIAOSSy3rGAqD1mHBFJAByyWU9YwHQeky4IhIAueSynrEAaD0mXBEJgFxyWc9YALQeE66IBEAuuaxnLABajwlXRAIgl1zWMxYArceEKyIBkEsu6xkLgNZjwhWRqQB7L85A76UZuDWmQDCscAWy1o3tsgQlxRI0bM+Fhh36X0QxBSDL0X/rwzH4ciS41jmYcv4PldnhhR8W63onxRSAXf8Q8Ewhp3LCIHoPJ95HxTBA1m3+9aNxs+MX/gDgJweKEnanhgEe+9sYDN9c7DrFvhHJXXvx9o2oKLXDyz9euRUaBtjWdWvJgEXsG5EcQFZKu28EG9i0e0tWdGgYoNaB2DcieYCsJO/7mQKgMb1NLy0Ami7p6joUAFdXb9NrEwBNl3R1HQqAq6u36bVZHqA2QLMVyPRRsACYou3v2CfIeLdDTebiFABNANj4yuWC0MzkA0TB65Ek5SCg7PGADQilCFMKVA4pNHxXxngSETyxqRLderu9ypSVfAEwSYCRVZCp/E2IQAVFhG8LdUIpSGhMUvDIM5VVI+3tiCTT+sREPgnVFtYgd9IQ3QgYcW+Aqa2SAszIDvzF2d9X3Uimy7V8C0xC45QUYfe0xqOBTUEgOzHFktmVUIImc9Fk/+kT+6Z4fBsGWNMceAZTGjuhRB+7y8S10OfbhuyXR0P1mOD74omLgBAE6H8E5O9kp3SnJFQ4OwqjoS13viJfrd/isCtO5xwNOjGR71NAKcUSdi7nx2aD85+97rmmFyIPwPgfu2v2/wAoFEUrTPS5yUwDeOhFf963NukRipR194iKYFoGuPpgmTTCMyg5+IuBoulp2KQQXBEPlE2WrvQcr/pcD0S9AJf93OSj3s8fnIOQS09l8WysPA9j8MZkug8wsqtjp1QJS1S+9Gxl9TUjA5DGVz4rCN/N2Umxai/4hYqQhK6dO149lOi+aGSeHPngK7s3eJp8ezCO370kAmtVgKzb/GoY9t7T8thHUnGor6+jXvXl1ERnufLxSCMgwWrtoAhT+OLcCfellUonCzD2yWXmnH30fPz6eG0yEK0IMHJRtvj2aO95SIKRLXcu+d9++wXTU+jqWs4VUyrXAVna2m0In+3prL61HMRkAC756HnUMTvpvc0XKudQqJIAylcPbFa6gqwIsP5IYAvB9PuabvOb/i5PX6IuzUhbZF3q/Kxjn2aUGyooLzh1qn3zXDzfegGuuO0AT9BGN6rgqSsZWzbPm53KeUwtIqL0zuEKd7eR+53eWBpeHipV5pUGtb2EyXDvGx6fHoC8DYJ7Imt1gHUt/lqqQNliz4LC5XLxR+90bDTtnpcI5iNHfdvCBG1X231PWvfxBx1bJ7RljeqZVQAjy2PjuY+rBxNspNbdtevrRKKbebytjeK/3wg8hgBiKddEITd9b3p6BcAVlK5tHtwJlDwUa30AMz8qd51cja5TG9ael3xl8yFUG/udUFqyLu/9f7/28Lza1vItUO9Nejkueu8Jkb2fvENPqhemkST5+zqqrpvZuvT6YvE0HPUdIBTnL5YJX+jvqvtSAIyjYl3LuUKq2PZHD7HlsfzymndPtaOwXtHNtqtpHXgYh/GOWEyU3uk7UfOpABhH6Vpv30MA8s7oIYLJTd8b995zzIa0kr+9TRfzZ9H8wcWLCpMtkxf+o56Hii50QZ2anw00YAmXRsWy28ggz6JyqsB6vP7H1YMZB0inz3RVfRetz/IAUyWM1q/HG9iPgBZGf5dDc91n/9T47WrVv1w9NUeHGjBRYhcWBSUw0FUbGxULgAvK1Xr9T0XSIBb+tpZL7/I8YUgV6LqWQDVV6KZF/9KF/q6q2EBGAAQANuKraw4cVkN4rtz1z3RMH7QXQk3r5w/jcCg2kKGydGVA9ahJAIy2wCO+w+oJvN7pR6paXtTvI83+zWEKVbGBjIKu9b3pGhT3QI3ydd6BZylgHP3ZKi1Qu6xGZNtF3/FdlwVALcCmwUPqSXzx+pIP33u1dDrVLSyR/3qvv4oAbI7aSQ7s6z1WPSwAapSrOTLwqPp5ptMGPd2vu28nEjjVxz1NgT0I0dhrt2bHlTWL2dorHUnocl+H62KqAa3kf2GD6acQonLUrsAhnTx1rOquWXFlDcCGlwcrlHlSExMGwXh/p/sTs4RKxs++nwfWzwTpvmhZStDswB9dHyTja7kyWQOQ5cBcuR4+pB6JFq+HD9971Z22+2Bt86ALKHkwKj4GuHquyz0kAC6jQG2zfzdQuD+VgukV/2DbSXli+L4n1d0nkpxn+jq2j+n1occua1ogO9mGI4MVCl7sRgkiyoacdf/VPoPTI4xRm/om/3aCYFvMD6HB5yrd75u9uJBygEafB2qFXGmCHu9JOMtE6+tw9xsFwlOeZQaEptY9RlQZ7zKCobOd7qs8fvTYZhXASCvUDmbYAmmC1D49Qum1iZdny16ASVVmQNYBjAzdmwb3I0wLYqM/isL2vJnTPa/tntQLIlk7T+vQLhRWtqrLO2y0/8zrNSPJ+lypXNYBZCe7t+nT/DmUt1+9tMaG8NgW7DYzI1srrKdpsB4hskH9OyJw+9wJ19lU5aOmHGAqrjo9Pne/NLApGMLVS2wJDeY68dlP/+C6o8eHXpvI05CjQzvUCVWsLEF4rqis6mQq0zqyFiATsLF1aFdI051hhBQM9ELPG65rZrSKSCLx3RxP3FfXFACbDAM9ne4bei8GXrusBsjEuPeB6oJECMYdVDqvTm/gEe9gG5VnRv1bQgrZipAUWyq7x0eKIWY9wEh6nzewbcmcbMlNCsYlO75WLDlv65kvsuWxEMEbQmGlUp0BEHXJuk0cJk5QvwOcQohZDzAqbGPzYEmIEk880WOjVUATMlYmqYJn7cg2R2zziIQxCilKDgYpHxAtpAgt+0EENmDJr3T1zY4ESkNh8KwGxDUDkEFir9FNj47vWO7NWp4uVG3L5nm51HHh9Ikdo4sXjL98NSCuKYBRcZ9ouVI4Rie34TAqMfSlCkKDsoS+eLrM9XW8JbLG5tRDXJMAoyCffuWy49bMZAWiUikgqZACiaVkLNcaI/NJCrfA7vjm8IZt3yVa20w1xDUNUA3p+effkm4U7Cqcg2A+AruNymDH80RSHPKcTVLmbITM27E0k8zD2FRCFACTvfFxllsOopQr9fYeq7rJ6S5mzg2wrsl3SD0SEx891y99PIgU0MRAl+tj/V6WWvIDPOJvVH9WQ2w7wCe9FiLTr6/D3cPnZdGaH2DLUCVVFHeyFWZKuVQmBrP36MPzZBtCNFiG7w8Yef2bG+BCptVudapcpkDhiTOVAHniSGTLDTA6IZ4YnvJkM8SsBsggRl5pbj1fASFlQ6IlpkRXkRWPZwrA/wPlJnpuyspBOgAAAABJRU5ErkJggg==",he=E(92310),Ve=E.n(he),Ae=E(6767),ct=E(37732),Ke=(Ze,Le,Pe)=>new Promise((ke,Re)=>{var Te=Fe=>{try{lt(Pe.next(Fe))}catch(tt){Re(tt)}},Ye=Fe=>{try{lt(Pe.throw(Fe))}catch(tt){Re(tt)}},lt=Fe=>Fe.done?ke(Fe.value):Promise.resolve(Fe.value).then(Te,Ye);lt((Pe=Pe.apply(Ze,Le)).next())});const qe={contentRef:{current:null},value:null,status:!1,open:()=>Ke(void 0,null,function*(){}),close:()=>{}};var ze=({className:Ze,style:Le,onChange:Pe,onSuccess:ke,onCancel:Re,onError:Te,fetchUrl:Ye,noRestrictModal:lt=()=>{},showEditableToolbar:Fe,bottomOffset:tt=110,loadingText:$e,showEmptyData:Ue=!0,onStatusChange:Xe,stringTransformer:et,bottomContainerNode:rt})=>{const[ht,kt]=(0,b.useState)(!1),[St,Gt]=(0,b.useState)(""),[nt,je]=(0,b.useState)(0),[Be,wt]=(0,b.useState)(!1),Ot=(0,b.useRef)(null),ot=(0,b.useRef)(null),zt=(0,b.useRef)(null),Ut=(0,b.useRef)(null),pn=(0,xe.Z)({scrollBoxRef:Ut,bottomInspectRef:zt,contentRef:ot,status:Be,bottomOffset:tt}),bt=ht||Be;(0,b.useEffect)(()=>{Pe==null||Pe(St)},[St]);const[Yt,Bt]=(0,b.useState)([]);(0,b.useEffect)(()=>{Xe==null||Xe({contentRef:ot,status:bt,value:St,open:$t,close:cn})},[bt,St]);const $t=pe=>Ke(void 0,null,function*(){kt(!0),Gt(""),Bt([]),je(0);const de=Ye;pe!=null&&pe.fetchUrl&&delete pe.fetchUrl,Ot.current=new le.Z(`${ce.Z.API_SERVER}${de}`,pe),yield new Promise((Ee,De)=>{Ot.current.on("data",fe=>{var Qe;let{chunk:{content:Mt,type:an}}=fe;wt(!0),an==="text"&&Gt(Sn=>et?et(Sn+Mt):Sn+Mt),an==="knowledge"&&(console.log("---knowledge-",fe==null?void 0:fe.chunk),Bt((Qe=fe==null?void 0:fe.chunk)==null?void 0:Qe.content))}),Ot.current.on("done",()=>{Ee()}),Ot.current.on("error",fe=>{Object.prototype.toString.call(fe)==="[object Object]"&&fe.status===-1&&Ae.ZP.warning((fe==null?void 0:fe.message)||""),Ee(),Te==null||Te(fe)}),Ot.current.on("cancelled",()=>{Ee(),Re==null||Re()}),Ot.current.startStream()}),kt(!1)}),cn=()=>{var pe,de;je(1),(de=(pe=Ot.current)==null?void 0:pe.cancelRequest)==null||de.call(pe),kt(!1),wt(!1)},Ie=(0,b.useMemo)(()=>ot.current?b.createElement(oe.Z,{noRestrictModal:lt,nodeRef:ot}):b.createElement(b.Fragment,null),[ot.current]);return b.createElement(b.Fragment,null,b.createElement("div",{className:Ve()(ue.container,Ze),style:Le,ref:Ut},b.createElement("div",{ref:ot,className:ue.liWrap,contentEditable:!bt},St&&b.createElement(ge.Z,{cancelIndex:nt,streamingStatus:ht,loadImage:!1,onFinish:()=>Ke(void 0,null,function*(){je(0),setTimeout(()=>wt(!1),0),ke==null||ke(St)}),value:St}),(Yt==null?void 0:Yt.length)>0&&b.createElement(ct.Z,{Filelist:Yt})),!St&&!bt&&b.createElement("div",{className:ue.imgBox},b.createElement("img",{width:56,src:Se}),b.createElement("span",null,"\u9884\u89C8\u533A")),Ue&&bt&&b.createElement(Oe.Z,{text:$e}),!pn&&b.createElement("div",{className:ue.backBottom,onClick:()=>{Ut.current.scrollTop=Ut.current.scrollHeight}},b.createElement("i",{className:"iconfont icon-huidaodibu"})),b.createElement("div",{ref:zt}),rt),!bt&&Fe&&Ie)}},26381:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return ce}});var b=E(59301),ue={loading:"loading___SifAS",dot:"dot___J5R0d","dot-fade":"dot-fade___BPUGC"},ce=({text:ge})=>b.createElement("div",null,b.createElement("div",{className:ue.loading},b.createElement("div",{className:ue.dot}),b.createElement("div",{className:ue.dot}),b.createElement("div",{className:ue.dot})),!!ge&&b.createElement("div",{className:"mt5"},ge))},67556:function(me,ne,E){"use strict";E.d(ne,{o:function(){return b}});const b=ue=>(ue=ue.replace(new RegExp("(?<!\\*)\\*\\*\\*\\*([^\\n*]+?)\\*\\*\\*\\*(?!\\*)","g"),'<h2 data-select="disabled" data-type="title" contenteditable="false" class="c-black">$1</h2>'),ue=ue.replace(new RegExp("(?<!\\*)\\*\\*\\*([^\\n*]+?)\\*\\*\\*(?!\\*)","g"),`
<h3 data-select="disabled" contenteditable="false" class="c-black font18">$1</h3>
`),ue)},24108:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return ce}});var b=E(59301),ue={digitalLabel:"digitalLabel___tImKs",active:"active___Ck70Q"},ce=({number:ge,active:oe,className:xe})=>b.createElement("div",{className:`${ue.digitalLabel} ${oe?ue.active:""} ${xe}`},ge)},79934:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return Ze}});var b=E(59301),ue=E(18287),le={folderWrapper:"folderWrapper___G__0a",folderIcon:"folderIcon___oTG6c"},ce=E(73631),ge=E(5623),oe=E(70610),xe=Object.defineProperty,Oe=Object.defineProperties,Se=Object.getOwnPropertyDescriptors,he=Object.getOwnPropertySymbols,Ve=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,ct=(Le,Pe,ke)=>Pe in Le?xe(Le,Pe,{enumerable:!0,configurable:!0,writable:!0,value:ke}):Le[Pe]=ke,Ke=(Le,Pe)=>{for(var ke in Pe||(Pe={}))Ve.call(Pe,ke)&&ct(Le,ke,Pe[ke]);if(he)for(var ke of he(Pe))Ae.call(Pe,ke)&&ct(Le,ke,Pe[ke]);return Le},qe=(Le,Pe)=>Oe(Le,Se(Pe)),Me=(Le,Pe,ke)=>new Promise((Re,Te)=>{var Ye=tt=>{try{Fe(ke.next(tt))}catch($e){Te($e)}},lt=tt=>{try{Fe(ke.throw(tt))}catch($e){Te($e)}},Fe=tt=>tt.done?Re(tt.value):Promise.resolve(tt.value).then(Ye,lt);Fe((ke=ke.apply(Le,Pe)).next())}),Ze=({value:Le,onChange:Pe,scrollId:ke})=>{const[Re,Te]=(0,b.useState)([]);(0,b.useEffect)(()=>{Ye()},[]);const Ye=()=>Me(void 0,null,function*(){const Xe=yield(0,oe.NZ)({});if(Xe!=null&&Xe.data){const et=[{title:"\u6839\u76EE\u5F55",value:0,key:0,icon:b.createElement("img",{src:ce,className:le.folderIcon}),isLeaf:!1,children:lt(Xe.data||[])}];Te(et)}}),lt=Xe=>Xe.map(et=>({title:et.name,key:et.group_id,icon:b.createElement("img",{src:ce,className:le.folderIcon}),isLeaf:et.children.length===0,children:lt(et.children)})),Fe=(Xe,et,rt)=>Xe.map(ht=>ht.key===et?Ke(Ke({},ht),rt):ht.children?qe(Ke({},ht),{children:Fe(ht.children,et,rt)}):ht),tt=(Xe,et,rt)=>Xe.map(ht=>{if(ht.key===et)return qe(Ke({},ht),{icon:rt?b.createElement("img",{src:ge,className:le.folderIcon}):b.createElement("img",{src:ce,className:le.folderIcon})});if(ht.children)return qe(Ke({},ht),{children:tt(ht.children,et,rt)})}),$e=(Xe,et)=>{Te(rt=>tt(rt,et.node.key,et.expanded))},Ue=Le?{selectedKeys:Le,defaultExpandedKeys:Le}:{};return Re.length>0&&b.createElement("div",{id:ke||""},b.createElement(ue.default,Ke({showLine:{showLeafIcon:!1},showIcon:!0,treeData:Re,className:le.folderWrapper,onSelect:Pe,onExpand:$e},Ue)))}},84216:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return oe}});var b=E(37639),ue={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},le=E(32637),ce=E(59301),oe=({type:xe,style:Oe})=>{const Se=ce.createElement("div",{className:ue.wrap,onClick:he=>{he.preventDefault(),he.stopPropagation()}},ce.createElement("p",null,xe==="shixun"||xe==="paths"?"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u662F\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002":"\u5F53\u524D\u8BD5\u5377\u5305\u542B\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002",ce.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",xe==="paths"?"\u53D1\u9001\u5230\u8BFE\u5802":"\u53D1\u5E03","\u4F7F\u7528\u4E4B\u524D\uFF0C\u8BF7\u5148\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u83B7\u53D6\u6388\u6743\u7801\u3002"),ce.createElement("div",{className:ue.contact},ce.createElement("div",{className:ue.img},ce.createElement("img",{src:le,width:"124px",height:"124px"})),ce.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return ce.createElement(b.Z,{content:Se},ce.createElement("span",{className:ue.text,style:Oe},"\u9AD8\u6D88\u8017"))}},6077:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return Ve}});var b=E(59301),ue={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},le=E(92310),ce=E.n(le),ge=E(29787),oe=E(2859),xe=E(82093),Oe=E(49661),Se=(Ae,ct,Ke)=>new Promise((qe,Me)=>{var ze=Pe=>{try{Le(Ke.next(Pe))}catch(ke){Me(ke)}},Ze=Pe=>{try{Le(Ke.throw(Pe))}catch(ke){Me(ke)}},Le=Pe=>Pe.done?qe(Pe.value):Promise.resolve(Pe.value).then(ze,Ze);Le((Ke=Ke.apply(Ae,ct)).next())}),Ve=({data:Ae,className:ct,fullWidth:Ke,style:qe={},onClose:Me,onOk:ze,showFullTools:Ze,noAssociationId:Le})=>{const Pe=(0,b.useRef)(null),ke=(0,b.useRef)(null),Re=(0,b.useRef)(null),Te=(0,b.useRef)(null),[Ye,lt]=(0,b.useState)(!1),[Fe,tt]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>(Re.current||(Re.current=document.createElement("style"),document.head.appendChild(Re.current)),Ae!=null&&Ae.visible?(document.body.setAttribute("data-custom","y-hidden"),Re.current.innerHTML=" html { overflow-y: hidden; }",Ae!=null&&Ae.src&&$e()):(document.body.removeAttribute("data-custom"),Re.current&&(document.head.removeChild(Re.current),Re.current=null)),()=>{document.body.removeAttribute("data-custom"),Re.current&&(document.head.removeChild(Re.current),Re.current=null)}),[Ae==null?void 0:Ae.visible]);const $e=()=>Se(void 0,null,function*(){lt(!0),tt("\u6B63\u5728\u52A0\u8F7D\u4E2D");const rt=yield(0,Oe.ZJ)(Ae==null?void 0:Ae.src);Pe.current.src="",Pe.current.src=rt,Pe.current.onload=function(){et()},lt(!1),tt("")}),Ue=rt=>Se(void 0,null,function*(){lt(!0),tt("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ht=yield(0,xe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Ae.title,file:rt.dataUrl}});ht!=null&&ht.id&&!Le?(yield(0,xe.ZP)(`/api/attachments/${Ae.id}/add_subitem.json`,{method:"post",body:{subitem_id:ht==null?void 0:ht.id,settings:JSON.stringify(rt.state)}})).status===0&&ze():ht!=null&&ht.id&&ze(ht),lt(!1),tt("")}),Xe=()=>{const rt=document.querySelector('a[href="https://markerjs.com/"]');rt&&rt.parentNode&&(rt.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(kt=>{const St=document.querySelector(kt.name);St&&St.setAttribute("title",kt.title)})},et=()=>{ke.current=new oe.hP(Pe.current),ke.current.targetRoot=Te.current,ke.current.addEventListener("render",Ue),ke.current.addEventListener("beforeclose",Me),Ze&&(ke.current.availableMarkerTypes=ke.current.ALL_MARKER_TYPES,ke.current.uiStyleSettings.redoButtonVisible=!0,ke.current.uiStyleSettings.notesButtonVisible=!0,ke.current.uiStyleSettings.zoomButtonVisible=!0,ke.current.uiStyleSettings.zoomOutButtonVisible=!0,ke.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ke.current.uiStyleSettings,ke.current.show(),Ae!=null&&Ae.snapshotData&&ke.current.restoreState(Ae.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Xe()},300)};return b.createElement(b.Fragment,null,(Ae==null?void 0:Ae.visible)&&b.createElement(ge.Z,{spinning:Ye,tip:Fe,style:{position:"absolute",width:"100vw"}},b.createElement("div",{ref:Te,className:ce()(ue.imageDimensions,ct,Ke?ue.fullWidth:""),style:qe},b.createElement("img",{className:ue.img,ref:Pe}))))}},30008:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return de},$:function(){return pe}});var b=E(59301),ue={flex_box_center:"flex_box_center___ILe3s",flex_space_between:"flex_space_between___c0XhE",flex_box_vertical_center:"flex_box_vertical_center___Iusj1",flex_box_center_end:"flex_box_center_end___DIVMO",flex_box_column:"flex_box_column___x06LA",intelligentBox:"intelligentBox___M5xO7",red:"red___oyEWt",imgBox:"imgBox___DdoNI",underpin:"underpin___fwUex",row:"row___W9MrK",leftLayout:"leftLayout___MMjoZ",rightLayout:"rightLayout___EsxRX",head:"head___Q7Od8",centerBox:"centerBox___j58Ut",title:"title___rMcNx",tip:"tip___gLHFS",leftBox:"leftBox___DJ6lp",question:"question___THjM9",rightBox:"rightBox___CuMdf",error:"error___PHzCG",actionHead:"actionHead___vTHMx",edit:"edit___EaRLy",option:"option___z4UTy",active:"active___o8wNJ",fill:"fill___g760n",text:"text___L_lug",liWrap:"liWrap___LDwxe",li:"li___k4Mcf",buttonFixed:"buttonFixed___QxKdm",buttonWrap:"buttonWrap___OEep5",button:"button___b2y4h",menu:"menu___aQ4xO",tabs:"tabs___QmlP4",dotLoading:"dotLoading___zUYOu",showHide:"showHide___fHrAG"},le=E(92310),ce=E.n(le),ge=E(28284),oe=E(6767),xe=E(62957),Oe=E(71051),Se=E(77019),he=E(62673),Ve=E(75727),Ae=E(14566),ct=E(99571),Ke=E(60242),qe=E(17149),Me=E(37568),ze=E(71360),Ze=E(90524),Le="data:image/png;base64,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",Pe="data:image/png;base64,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",ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAAB4CAYAAAAqs3YmAAAAAXNSR0IArs4c6QAADGlJREFUeF7tnVlQHMcZx7/umT0AcSjGBonDOmxdgV2Ww0iWIsmxrfIhJ1VJ2W+uilgEjqtclTwmLxQvyYur8uCKYmFQXMmbXUlV4lw+YsmHkBECdhdkSZZlyUJgScEWh7h2d7pTvcUuw2hhp3dm2dmleWPn66+/+f+me7p7vplGkOQfpRTVt56vgJCyARAtpAg5knS1JosRhBQMdMpJbddPd+68jhCiyQiBkil0sO2qc2J4yoMQLU6mvCizVAFCyLdFlUX9p9o3z/Fqww2Qtbxa7+BuAY9X6pXtGcSBEzVneFsiN8C6lqFKqihuc8MX3pgCTrAFurt2fc2jBj/AI/5GiuGBaCVIgtv2vOnAmd89OstT8Vq33fPL7pzgdJ6LKotaAoLx/k73Jzza8ANs8h1SD1gcBdMfCHg8ki/aMojzk3lPRH9hAxtfp+tfPN64AdZ6/c+pK+jvcr/DU6GwXaqAUT0FwDRfUQJgmgEYrV4ANKpgmssLgGkGYLR6AdCogmkuLwCmGYDR6gVAowqmubwAmGYARqsXAI0qmObyAmCaARitXgA0qmCaywuAaQZgtHoB0KiCaS4vAKYZgNHqBUCjCqa5vACYZgBGqxcAjSqY5vKmARR5nmkmmaD65fJII0/kRZ6nteFpo1PnkSKR55lZ8KLRxvJIRZ5nZgJkUbM8UlSnyfPcXpkLPz1QBPm5mXti2Rj51AzAXz4ah0vXZxZPD8E4qtPkef76xY0CnkWvAAbxN38ejUXHBjZIO4z9betGi4YvwmIK/Or4IkD2vwCYYdeFAJhhwLThCoACYIYrkOHhixYoAGa4AiaHr20R2lG89ri2et5Rv2iBAqDJCmS4O9ECBUAuBUQXyiWX9YwFQOsx4YpIAOSSy3rGAqD1mHBFJAByyWU9YwHQeky4IhIAueSynrEAaD0mXBEJgFxyWc9YALQeE66IBEAuuaxnLABajwlXRAIgl1zWMxYArceEKyIBkEsu6xkLgNZjwhWRqQB7L85A76UZuDWmQDCscAWy1o3tsgQlxRI0bM+Fhh36X0QxBSDL0X/rwzH4ciS41jmYcv4PldnhhR8W63onxRSAXf8Q8Ewhp3LCIHoPJ95HxTBA1m3+9aNxs+MX/gDgJweKEnanhgEe+9sYDN9c7DrFvhHJXXvx9o2oKLXDyz9euRUaBtjWdWvJgEXsG5EcQFZKu28EG9i0e0tWdGgYoNaB2DcieYCsJO/7mQKgMb1NLy0Ami7p6joUAFdXb9NrEwBNl3R1HQqAq6u36bVZHqA2QLMVyPRRsACYou3v2CfIeLdDTebiFABNANj4yuWC0MzkA0TB65Ek5SCg7PGADQilCFMKVA4pNHxXxngSETyxqRLderu9ypSVfAEwSYCRVZCp/E2IQAVFhG8LdUIpSGhMUvDIM5VVI+3tiCTT+sREPgnVFtYgd9IQ3QgYcW+Aqa2SAszIDvzF2d9X3Uimy7V8C0xC45QUYfe0xqOBTUEgOzHFktmVUIImc9Fk/+kT+6Z4fBsGWNMceAZTGjuhRB+7y8S10OfbhuyXR0P1mOD74omLgBAE6H8E5O9kp3SnJFQ4OwqjoS13viJfrd/isCtO5xwNOjGR71NAKcUSdi7nx2aD85+97rmmFyIPwPgfu2v2/wAoFEUrTPS5yUwDeOhFf963NukRipR194iKYFoGuPpgmTTCMyg5+IuBoulp2KQQXBEPlE2WrvQcr/pcD0S9AJf93OSj3s8fnIOQS09l8WysPA9j8MZkug8wsqtjp1QJS1S+9Gxl9TUjA5DGVz4rCN/N2Umxai/4hYqQhK6dO149lOi+aGSeHPngK7s3eJp8ezCO370kAmtVgKzb/GoY9t7T8thHUnGor6+jXvXl1ERnufLxSCMgwWrtoAhT+OLcCfellUonCzD2yWXmnH30fPz6eG0yEK0IMHJRtvj2aO95SIKRLXcu+d9++wXTU+jqWs4VUyrXAVna2m0In+3prL61HMRkAC756HnUMTvpvc0XKudQqJIAylcPbFa6gqwIsP5IYAvB9PuabvOb/i5PX6IuzUhbZF3q/Kxjn2aUGyooLzh1qn3zXDzfegGuuO0AT9BGN6rgqSsZWzbPm53KeUwtIqL0zuEKd7eR+53eWBpeHipV5pUGtb2EyXDvGx6fHoC8DYJ7Imt1gHUt/lqqQNliz4LC5XLxR+90bDTtnpcI5iNHfdvCBG1X231PWvfxBx1bJ7RljeqZVQAjy2PjuY+rBxNspNbdtevrRKKbebytjeK/3wg8hgBiKddEITd9b3p6BcAVlK5tHtwJlDwUa30AMz8qd51cja5TG9ael3xl8yFUG/udUFqyLu/9f7/28Lza1vItUO9Nejkueu8Jkb2fvENPqhemkST5+zqqrpvZuvT6YvE0HPUdIBTnL5YJX+jvqvtSAIyjYl3LuUKq2PZHD7HlsfzymndPtaOwXtHNtqtpHXgYh/GOWEyU3uk7UfOpABhH6Vpv30MA8s7oIYLJTd8b995zzIa0kr+9TRfzZ9H8wcWLCpMtkxf+o56Hii50QZ2anw00YAmXRsWy28ggz6JyqsB6vP7H1YMZB0inz3RVfRetz/IAUyWM1q/HG9iPgBZGf5dDc91n/9T47WrVv1w9NUeHGjBRYhcWBSUw0FUbGxULgAvK1Xr9T0XSIBb+tpZL7/I8YUgV6LqWQDVV6KZF/9KF/q6q2EBGAAQANuKraw4cVkN4rtz1z3RMH7QXQk3r5w/jcCg2kKGydGVA9ahJAIy2wCO+w+oJvN7pR6paXtTvI83+zWEKVbGBjIKu9b3pGhT3QI3ydd6BZylgHP3ZKi1Qu6xGZNtF3/FdlwVALcCmwUPqSXzx+pIP33u1dDrVLSyR/3qvv4oAbI7aSQ7s6z1WPSwAapSrOTLwqPp5ptMGPd2vu28nEjjVxz1NgT0I0dhrt2bHlTWL2dorHUnocl+H62KqAa3kf2GD6acQonLUrsAhnTx1rOquWXFlDcCGlwcrlHlSExMGwXh/p/sTs4RKxs++nwfWzwTpvmhZStDswB9dHyTja7kyWQOQ5cBcuR4+pB6JFq+HD9971Z22+2Bt86ALKHkwKj4GuHquyz0kAC6jQG2zfzdQuD+VgukV/2DbSXli+L4n1d0nkpxn+jq2j+n1occua1ogO9mGI4MVCl7sRgkiyoacdf/VPoPTI4xRm/om/3aCYFvMD6HB5yrd75u9uJBygEafB2qFXGmCHu9JOMtE6+tw9xsFwlOeZQaEptY9RlQZ7zKCobOd7qs8fvTYZhXASCvUDmbYAmmC1D49Qum1iZdny16ASVVmQNYBjAzdmwb3I0wLYqM/isL2vJnTPa/tntQLIlk7T+vQLhRWtqrLO2y0/8zrNSPJ+lypXNYBZCe7t+nT/DmUt1+9tMaG8NgW7DYzI1srrKdpsB4hskH9OyJw+9wJ19lU5aOmHGAqrjo9Pne/NLApGMLVS2wJDeY68dlP/+C6o8eHXpvI05CjQzvUCVWsLEF4rqis6mQq0zqyFiATsLF1aFdI051hhBQM9ELPG65rZrSKSCLx3RxP3FfXFACbDAM9ne4bei8GXrusBsjEuPeB6oJECMYdVDqvTm/gEe9gG5VnRv1bQgrZipAUWyq7x0eKIWY9wEh6nzewbcmcbMlNCsYlO75WLDlv65kvsuWxEMEbQmGlUp0BEHXJuk0cJk5QvwOcQohZDzAqbGPzYEmIEk880WOjVUATMlYmqYJn7cg2R2zziIQxCilKDgYpHxAtpAgt+0EENmDJr3T1zY4ESkNh8KwGxDUDkEFir9FNj47vWO7NWp4uVG3L5nm51HHh9Ikdo4sXjL98NSCuKYBRcZ9ouVI4Rie34TAqMfSlCkKDsoS+eLrM9XW8JbLG5tRDXJMAoyCffuWy49bMZAWiUikgqZACiaVkLNcaI/NJCrfA7vjm8IZt3yVa20w1xDUNUA3p+effkm4U7Cqcg2A+AruNymDH80RSHPKcTVLmbITM27E0k8zD2FRCFACTvfFxllsOopQr9fYeq7rJ6S5mzg2wrsl3SD0SEx891y99PIgU0MRAl+tj/V6WWvIDPOJvVH9WQ2w7wCe9FiLTr6/D3cPnZdGaH2DLUCVVFHeyFWZKuVQmBrP36MPzZBtCNFiG7w8Yef2bG+BCptVudapcpkDhiTOVAHniSGTLDTA6IZ4YnvJkM8SsBsggRl5pbj1fASFlQ6IlpkRXkRWPZwrA/wPlJnpuyspBOgAAAABJRU5ErkJggg==",Re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAAAwCAYAAADJuP4nAAAAAXNSR0IArs4c6QAAAz5JREFUeF7tnM9PE0EUx+fN7rKlAQ6EWw3GEMSE8iPSmHjz4kE961Wjif4ZpH8DicZGjYaTclYTT1ysIbEXxYOJLRZMRSUYC0X7Y2dMiyVaKd2Zt+3s4XHtfN+bfD7Zlp2dHWD0hyYwd/P9iFWrxjwhyvZgf2FlYbyILuqzAPgcR8PaELj8RFrZp29n//7YceDTyr2pL72ARgKRlM9dW4sU5c5kaxnbkdsXYtP5ZBIEssWRcRKIpNtOYKOsA3tjMcguJeMVZJu2cRKIJHukQMaYbfFaNMKyy7fju8hWh8ZJIJJqJ4H18sBtyRxrPZOa2EK2+y9OApFE/QhstgCXf3t9d3IDACSy7UGcBCJJqgist+KW3JV2NZdJJarI1o04CURSVBXYgA6swvoq2UwqsYdsTwKxAHUENq5E2xIOk/lX9+PbmDnQFYihxxjTFdhs60p3M/3oZEH3d5EEGha4f7voFUcvzuaWroCnOh0SqEqsZTz2CmyW47YsD3hDH5YfnvilMqWGQCklJG5lbJUgjd0nMGhH3GJJTATBwwLuib7+tUxq7IffenD2xupwlcFxUfO43xCN6y4BcCuFTCrx2U8XOHN9dabmCbr6/NDq4RjO2fdLo1MfOy2Gw+mrb+Z6OC9qpUDA4fzn8ICbfb4wXm4XI4EKQE0MrS+GO8zOvXxwauew/iTQhBWNnhEhN9KLM19boyRQA6apSMS2t84fe7yRTCYPHhKTQFM2NPsCsNKfddTGYjgJ1ARpNCahOiJF9sXiTIkEGjWh3xy4lINS5EigPkPzSQlVEmheg/4MSKA+O9PJ/a/QIfoKNS1Cqz/9E6OFLRQhuo0IhQa9SdCNvB63UKRoKS0UGtQnQYvZ6sxCk/D1OIke6IbG1z8T8f1Al7ZUhE+g0paK+vRpU5O+ROObmvSnTsk6gVBsKyQV+gSCEEgbe/X5o5NYgW6/u5m+Q1vr0SJ0C+gKpJdbdIkHnNMRSK+XBSwBU05VIL3giaHdhayKQHrFugsCsCX9CKRDDrCUu5jvJJCOGeki/CBK00E/QVA0WIOO2jIIP4jW8/OSP8u/m/aksJr16LC7IMj2sEbzuEkBnmdFo+u9PG7yNxidqHC3DAxxAAAAAElFTkSuQmCC",Te=E(82093),Ye=E(79934),lt=E(5623),Fe=E(88831),tt=E(65986),$e=E(45596),Ue=E(15342),Xe=E.n(Ue),et=(Ee,De,fe)=>new Promise((Qe,Mt)=>{var an=Ft=>{try{gt(fe.next(Ft))}catch(Lt){Mt(Lt)}},Sn=Ft=>{try{gt(fe.throw(Ft))}catch(Lt){Mt(Lt)}},gt=Ft=>Ft.done?Qe(Ft.value):Promise.resolve(Ft.value).then(an,Sn);gt((fe=fe.apply(Ee,De)).next())}),ht=b.memo(({tagName:Ee="div",value:De="",className:fe,style:Qe={},onBlur:Mt,id:an})=>{const Sn=(0,b.useRef)(null);(0,b.useEffect)(()=>{if(!Sn.current)return;et(void 0,null,function*(){const Lt=Sn.current;Lt.innerHTML="";const Jt=De==null?void 0:De.split(/(`?\$\$[\s\S]*?\$\$`?)/g);for(const fn of Jt)if(fn.startsWith("$$")&&fn.endsWith("$$")||fn.startsWith("`$$")&&fn.endsWith("$$`")){const Zt=fn.startsWith("`$$")?fn.slice(3,-3):fn.slice(2,-2),mt=document.createElement("span");mt.setAttribute("contentEditable","false"),mt.setAttribute("title",fn),mt.className="edu_latex",Lt.appendChild(mt),Xe().render(Zt,mt,{throwOnError:!1})}else{const Zt=fn==null?void 0:fn.replace(/<[^>]*>/g,mt=>mt.startsWith("<img")?mt:mt.replace(/</g,"&lt;"));Lt.insertAdjacentHTML("beforeend",Zt)}})},[an]);const gt=()=>{var Ft,Lt;if(Mt&&Sn.current){const fn=Sn.current.cloneNode(!0),Zt=fn.querySelectorAll("span.edu_latex");for(let mt of Zt){const tn=mt.getAttribute("title"),Ct=document.createTextNode(tn||""),Rt=mt;(Lt=(Ft=Rt.parentNode)==null?void 0:Ft.replaceChild)==null||Lt.call(Ft,Ct,Rt)}Mt(fn.innerHTML)}};return b.createElement(b.Fragment,null,b.createElement(Ee,{ref:Sn,contentEditable:!0,className:fe,style:Qe,onBlur:gt}))}),kt=E(34055),St=E(33796),Gt=E(74049),nt=Object.defineProperty,je=Object.defineProperties,Be=Object.getOwnPropertyDescriptors,wt=Object.getOwnPropertySymbols,Ot=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,zt=(Ee,De,fe)=>De in Ee?nt(Ee,De,{enumerable:!0,configurable:!0,writable:!0,value:fe}):Ee[De]=fe,Ut=(Ee,De)=>{for(var fe in De||(De={}))Ot.call(De,fe)&&zt(Ee,fe,De[fe]);if(wt)for(var fe of wt(De))ot.call(De,fe)&&zt(Ee,fe,De[fe]);return Ee},pn=(Ee,De)=>je(Ee,Be(De)),bt=(Ee,De,fe)=>new Promise((Qe,Mt)=>{var an=Ft=>{try{gt(fe.next(Ft))}catch(Lt){Mt(Lt)}},Sn=Ft=>{try{gt(fe.throw(Ft))}catch(Lt){Mt(Lt)}},gt=Ft=>Ft.done?Qe(Ft.value):Promise.resolve(Ft.value).then(an,Sn);gt((fe=fe.apply(Ee,De)).next())});const Yt=Ee=>{Ee.preventDefault();let fe=(Ee.clipboardData||window.clipboardData).getData("Text");document.execCommand("insertText",!1,fe)},Bt=Ee=>{Ee.key==="Enter"&&Ee.preventDefault()},$t=({children:Ee,style:De})=>b.createElement("div",{className:ue.leftBox,style:De,onPaste:Yt},Ee),cn=({children:Ee,style:De,className:fe})=>b.createElement("div",{className:ce()(ue.rightBox,fe),style:De,onPaste:Yt},Ee),Ie=({className:Ee,style:De={},width:fe=1200,onCancel:Qe=()=>{},onSuccess:Mt=()=>{},gather:an={},mode:Sn=1,stickyTop:gt=0,subDisciplineId:Ft=[],hideWordFeatures:Lt,dataSource:Jt=[],customLeftHeadNode:fn,customRightHeadNode:Zt,customLeftContent:mt,hideRecognition:tn=!1,onExchange:Ct,isSingleSelection:Rt=!1,underpinBackgroundStyle:vt={},headExtraNode:jt,isRefreshItemBank:At=!1,okText:Je="\u786E\u5B9A\u5BFC\u5165",onSave:un})=>{var gn;const[Et,Ln]=(0,b.useState)(1),[ar,Hn]=(0,b.useState)(0),[Vt,dr]=(0,b.useState)(""),[qn,xn]=(0,b.useState)(!1),[zn,cr]=(0,b.useState)([]),[ir,Gn]=(0,b.useState)([]),[Yn,nn]=(0,b.useState)(!1),[An,Nn]=(0,b.useState)(!1),[In,xr]=(0,b.useState)(!1),[gr,or]=(0,b.useState)(!1),[Lr,Br]=(0,b.useState)([]),[Pr,wr]=(0,b.useState)(1),[Ir,lr]=(0,b.useState)(!1),[_n,Sr]=(0,b.useState)(!0),[kr,Ur]=(0,b.useState)(0),[rn,Qt]=(0,b.useState)(!1),[hr]=ge.default.useForm(),[$n]=ge.default.useForm(),Pt=(0,b.useRef)(null),on=(0,b.useRef)(null),sr=(0,b.useRef)(),Kt=(0,b.useRef)(null),be=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],Cn=["C","C++","Java","Python","JavaScript","Ruby"];(0,b.useEffect)(()=>{Jt!=null&&Jt.length&&er(Jt)},[Jt]),(0,b.useEffect)(()=>{Et===2&&Pt.current.focus()},[Et]),(0,b.useEffect)(()=>{In&&ln()},[In]);const yr=()=>{if(Et===1){oe.ZP.warning("\u8BF7\u5148\u4E0A\u4F20\u8BD5\u9898\uFF01");return}xe.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u6E05\u7A7A\u64CD\u4F5C\u5C06\u5220\u9664\u8BD5\u9898\u7F16\u8F91\u533A\u57DF\u7684\u5168\u90E8\u5185\u5BB9\uFF0C\u786E\u5B9A\u4E00\u952E\u6E05\u7A7A\u5417\uFF1F",onOk:()=>bt(void 0,null,function*(){Ln(1)})})},ln=()=>bt(void 0,null,function*(){const Ge=yield(0,Te.ZP)("/api/disciplines.json",{method:"get",params:{source:Sn===1?"new_question":"subject"}});Br(Ge.disciplines||[])}),Ar=Ge=>{const Tt=[],It=(Wt,Ht)=>{Wt.length>=2&&Tt.push(Wt.join(""));for(let Mn=Ht;Mn<Ge.length;Mn++)Wt.push(Ge[Mn]),It(Wt,Mn+1),Wt.pop()};return It([],0),Tt},Xn=Ge=>(Ge=Ge||"",Ge=String(Ge),Ge=Ge.replace(/\s+/g,""),Ge),Cr=Ge=>(Ge=Ge||"",Ge=String(Ge),Ge=Ge.replace(/<div>/g,""),Ge=Ge.replace(/<br>/g,`
`),Ge=Ge.replace(/<\/div>/g,`
`),Ge=_t(Ge),Ge),Dr=Ge=>Ge.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;"),_t=Ge=>Ge.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#39;/g,"'"),Rr=Ge=>{var Tt;const It=Ge.clipboardData;if(It){const Wt=It.types.toString(),Ht=It.items;if(Wt==="Files"||It.types.indexOf("Files")>-1){Ge.preventDefault();try{let Mn=Ht[1];((Tt=Ht[0])==null?void 0:Tt.kind)==="file"&&(Mn=Ht[0]);const Tn=Mn.getAsFile();(0,$e.I)(Tn,wn=>{var Fn;if(wn.id){if(((Fn=Tn==null?void 0:Tn.type)==null?void 0:Fn.indexOf("image"))>-1){const nr=`<img src='${Ze.Z.API_SERVER}${wn.url}'>`;document.execCommand("insertText",!1,nr)}}else(wn==null?void 0:wn.status)===401&&(document.location.href="/user/login")})}catch(Mn){oe.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};function Kr(Ge,Tt){return bt(this,null,function*(){if(typeof Ge=="string")return yield Tt(Ge);if(typeof Ge!="object"||Ge===null)return Ge;if(Array.isArray(Ge))return yield Promise.all(Ge.map(Ht=>bt(this,null,function*(){return yield Kr(Ht,Tt)})));const It={};for(const Wt in Ge)if(Object.prototype.hasOwnProperty.call(Ge,Wt)){const Ht=Ge[Wt];typeof Ht=="string"?It[Wt]=yield Tt(Ht):typeof Ht=="object"?It[Wt]=yield Kr(Ht,Tt):It[Wt]=Ht}return It})}const qr=()=>bt(void 0,null,function*(){var Ge;xn(!0),dr("\u5904\u7406\u4E2D"),yield new Promise(Wt=>setTimeout(Wt,1e3));let Tt=(Ge=on.current)==null?void 0:Ge.querySelectorAll('[data-text="edit"]'),It="";try{Tt.forEach(function(Wt){var Ht,Mn,Tn,wn;const Fn=Wt.cloneNode(!0),nr=Fn.querySelectorAll("span.edu_latex");for(let br of nr){const Tr=br.getAttribute("title"),Hr=document.createTextNode(Tr),jr=br;(Mn=(Ht=jr.parentNode)==null?void 0:Ht.replaceChild)==null||Mn.call(Ht,Hr,jr)}const Or=Fn.querySelectorAll("span[style]");for(let br of Or)if(br.style.fontFamily){const Tr=br.innerHTML,Hr=document.createTextNode(Tr),jr=br;(wn=(Tn=jr.parentNode)==null?void 0:Tn.replaceChild)==null||wn.call(Tn,Hr,jr)}Fn==null||Fn.childNodes.forEach(function(br){br.nodeType===Node.ELEMENT_NODE&&br.localName!=="h5"&&br.localName!=="h4"?It+=`<p>${br.innerHTML}</p>`:br.nodeType===Node.TEXT_NODE&&(It+=`<p>${br.textContent}</p>`)})}),vr("/api/intelligent_imports/import.json",{html:_t(It)})}catch(Wt){console.error("\u5904\u7406\u8282\u70B9\u9519\u8BEF:",Wt)}}),ha=Ge=>{let Tt=Ge.filter(It=>!!(It!=null&&It.type));return Tt=Tt.map(It=>{var Wt;const Ht=(Wt=Bn.find(Tn=>Tn.id===(It==null?void 0:It.type)))==null?void 0:Wt.deal,Mn=pn(Ut({},It),{id:String(Math.random()).slice(-6),knowledgePoint:Xn(It==null?void 0:It.knowledgePoint)});return Ht?Ht(Mn):Mn}),Tt},ma=()=>{if(Et===1){oe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!");return}xe.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u91CD\u65B0\u8BC6\u522B\u4F1A\u8986\u76D6\u53F3\u4FA7\u5DF2\u8BC6\u522B\u7ED3\u679C\uFF0C\u5305\u62EC\u4EBA\u5DE5\u4FEE\u6539\u7684\u5185\u5BB9\uFF0C\u786E\u5B9A\u91CD\u65B0\u8BC6\u522B\u5417?",onOk:qr})},la=()=>b.createElement("div",{className:ue.row},b.createElement("div",{className:ue.leftLayout},b.createElement($t,{style:{height:675}},Et===1&&b.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center"},onClick:()=>Ln(2)},b.createElement("div",{style:{color:"#9096A3",fontSize:12}},"1.\u672C\u529F\u80FD\u652F\u6301\u5BFC\u5165\u7684\u9898\u578B\uFF1A\u5355\u9009\u9898\u3001\u591A\u9009\u9898\u3001\u586B\u7A7A\u9898\u3001\u5224\u65AD\u9898\u3001\u7B80\u7B54\u9898\u3001 \u7EC4\u5408\u9898\u3001\u7F16\u7A0B\u9898\u3001\u7A0B\u5E8F\u586B\u7A7A\u9898\u3002",b.createElement("br",null),"2.\u82E5\u8981\u5BFC\u5165\u7EC4\u5408\u9898\uFF0C\u8BF7\u5728\u9898\u76EE\u524D\u540E\u4F7F\u7528\u4E00\u5BF9\u201C","{{\u201D\u3001\u201C}}","\u201D\u5C06\u5185\u5BB9\u6807\u51FA\uFF1B\u5927\u9898\u9898\u5E72\u548C\u5C0F\u9898\u9898\u5E72\u4E4B\u95F4\u4E0D\u9700\u8981\u7A7A\u884C\uFF1B\u5927\u9898\u548C\u5C0F\u9898\u9898\u5E72\u90FD\u9700\u6807\u6CE8\u9898\u53F7\uFF1B\u5C0F\u9898\u7B54\u6848\u53EF\u8DDF\u5728\u5C0F\u9898\u9898\u5E72\u540E\uFF0C\u5E76\u7528\u7A7A\u683C\u4E0E\u9898\u5E72\u5185\u5BB9\u9694\u5F00\u3002\u8303\u4F8B\u53EF\u53C2\u8003\u63A8\u8350\u683C\u5F0F\u3002",b.createElement("br",null),"3.\u5BFC\u5165\u652F\u6301\u6587\u672C\u3001\u56FE\u7247\u3001\u516C\u5F0F\u3002\u9898\u76EE\u7ED3\u6784\u652F\u6301\u8BC6\u522B\u7B54\u6848\u3001\u89E3\u6790\u3001\u96BE\u5EA6\u3001\u77E5\u8BC6\u70B9\u3002",b.createElement("br",null),"4.\u82E5\u8BC6\u522B\u6709\u8BEF\uFF0C\u53EF\u5728\u5DE6\u4FA7\u4FEE\u6539\u9898\u76EE\u5185\u5BB9\u540E\u91CD\u65B0\u8BC6\u522B\uFF0C\u6216\u4E0B\u8F7D\u63A8\u8350\u683C\u5F0F\uFF0C\u6309\u683C\u5F0F\u4FEE\u6539\u540E\u91CD\u65B0\u5BFC\u5165\u8BC6\u522B\u3002",b.createElement("br",null)),b.createElement("div",{className:ue.imgBox,style:{marginTop:75}},b.createElement("img",{width:56,src:Pe}),b.createElement("span",null,"\u7F16\u8F91\u533A"))),Et===2&&b.createElement("div",{"data-text":"edit",onBlur:()=>{Pt.current.innerHTML||Ln(1)},ref:Pt,contentEditable:!0,style:{color:"#9096A3",height:"100%",overflow:"auto"}}))),b.createElement("div",{className:ue.rightLayout,style:{display:"flex",alignItems:"start",justifyContent:"center"}},b.createElement("div",{className:ue.imgBox,style:{marginTop:240}},b.createElement("img",{width:56,src:ke}),b.createElement("span",null,"\u9884\u89C8\u533A")))),$r=(Ge,Tt,It,Wt)=>{var Ht;console.log(Ge,Tt,It,Wt,"onDataChange\u4FEE\u6539\u6570\u503C");const Mn=JSON.parse(JSON.stringify(ir));Wt===void 0?Mn[Tt][Ge]=It:Mn[Tt].questions[Wt][Ge]=It;const Tn=Ut({},Mn[Tt]),wn=(Ht=Bn.find(Fn=>Fn.id===(Tn==null?void 0:Tn.type)))==null?void 0:Ht.deal;Mn[Tt]=wn(Tn),Gn(Mn)},wa=(Ge,Tt,It)=>{var Wt;const Ht=It!==void 0,Mn=(Wt=Bn.find(Fn=>Fn.id===(Ge==null?void 0:Ge.type)))==null?void 0:Wt.type,Tn=`${Tt+1}.${It===void 0?"":It+1+"."}`,wn=`${(Ge==null?void 0:Ge.type)==="7"?"{{":""}${Tn}\u3010${Mn}\u3011${(Ge==null?void 0:Ge.question)||""}`;return b.createElement(b.Fragment,null,Ht&&b.createElement("h4",{contentEditable:!0}),b.createElement(ht,{id:Ge==null?void 0:Ge.id,tagName:"div",value:wn}))},Ia=(Ge,Tt)=>bt(void 0,null,function*(){var It;const Wt=yield Ct(Ge,Tt),Ht=(It=Wt==null?void 0:Wt.data)==null?void 0:It.content;if(Ht!=null&&Ht.length){const Mn=ha(Ht)[0];zn.splice(Tt,1,Mn),ir.splice(Tt,1,Mn),cr([...zn]),Gn([...ir])}}),xa=(Ge,Tt,It)=>{var Wt;const Ht=It!==void 0,Mn=(Wt=Bn.find(wn=>wn.id===(Ge==null?void 0:Ge.type)))==null?void 0:Wt.type,Tn=`${Tt+1}.${It===void 0?"":It+1+"."}`;return Ht?b.createElement("div",{style:{padding:"10px 18px"}},`${Tn}\u3010${Mn}\u3011`,b.createElement(ht,{id:Ge==null?void 0:Ge.id,tagName:"span",className:ue.edit,onBlur:wn=>$r("question",Tt,wn,It),value:(Ge==null?void 0:Ge.question)||""})):b.createElement(b.Fragment,null,b.createElement("div",{className:ue.actionHead},b.createElement("div",{className:"c-light-primary"},`${Tn}\u3010${Mn}\u3011`),Sn!==1&&b.createElement(Oe.Z,{disabled:(Ge==null?void 0:Ge.type)==="7",min:0,max:100,style:{width:100,marginLeft:10},addonAfter:"\u5206",precision:1,size:"middle",onChange:wn=>$r("score",Tt,wn,It),value:Ge==null?void 0:Ge.score}),b.createElement(Se.Z,{align:"middle",style:{marginLeft:"auto"}},!!Ct&&b.createElement("span",{className:"current c-light-primary mr30",onClick:()=>Ia(Ge,Tt)},b.createElement("i",{className:"iconfont icon-huanyihuan mr5"}),"\u6362\u4E00\u6362"),b.createElement(he.default,{onChange:wn=>$r("checked",Tt,wn.target.checked,It),checked:!!(Ge!=null&&Ge.checked)},"\u4E0D\u5BFC\u5165\u6B64\u9898"))),b.createElement(ht,{id:Ge==null?void 0:Ge.id,tagName:"div",style:{padding:"10px 18px"},className:ue.edit,onBlur:wn=>$r("question",Tt,wn,It),value:Ge==null?void 0:Ge.question}))},ga=(Ge,Tt,It)=>b.createElement(b.Fragment,null,["0","1","2","4"].includes(Ge==null?void 0:Ge.type)&&b.createElement(ht,{id:Ge==null?void 0:Ge.id,value:`\u7B54\u6848\uFF1A${Tt||""}`,tagName:"p"}),!It&&b.createElement(ht,{id:Ge==null?void 0:Ge.id,value:`\u96BE\u5EA6\uFF1A${(Ge==null?void 0:Ge.difficulty)||""}`,tagName:"p"}),(Ge==null?void 0:Ge.type)!=="7"&&b.createElement(ht,{id:Ge==null?void 0:Ge.id,value:`\u89E3\u6790\uFF1A${(Ge==null?void 0:Ge.analyze)||""}`,tagName:"p"}),!It&&b.createElement(ht,{id:Ge==null?void 0:Ge.id,value:`\u77E5\u8BC6\u70B9\uFF1A${(Ge==null?void 0:Ge.knowledgePoint)||""}`,tagName:"p"})),pa=(Ge,Tt,It,Wt)=>{const Ht=Wt!==void 0,Mn=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],Tn=Ht&&!Ge.last&&!Ge.errorMsg?{marginBottom:10}:{},wn=Mn.map(Fn=>({key:Fn,label:Fn,onClick:()=>$r("difficulty",It,Fn,Wt)}));return b.createElement("div",{className:ue.liWrap,style:Tn},["4"].includes(Ge==null?void 0:Ge.type)&&b.createElement("div",{className:ue.li},b.createElement("aside",null,"\u7B54\xA0\xA0\xA0\xA0\u6848\uFF1A"),b.createElement(ht,{id:Ge==null?void 0:Ge.id,tagName:"div",className:`${ue.edit} c-black`,onBlur:Fn=>$r("answer",It,[Fn],Wt),value:Tt})),!Ht&&b.createElement("div",{className:ue.li},b.createElement("aside",null,"\u96BE\xA0\xA0\xA0\xA0\u5EA6\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(Ve.Z,{menu:{items:wn}},b.createElement("span",{className:"c-light-primary"},Ge==null?void 0:Ge.difficulty,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),(Ge==null?void 0:Ge.type)!=="7"&&b.createElement("div",{className:ue.li},b.createElement("aside",null,"\u89E3\xA0\xA0\xA0\xA0\u6790\uFF1A"),b.createElement(ht,{id:Ge==null?void 0:Ge.id,tagName:"div",className:`${ue.edit} c-grey-333`,onBlur:Fn=>$r("analyze",It,Fn,Wt),value:Ge==null?void 0:Ge.analyze})),!Ht&&b.createElement("div",{onKeyDown:Bt,className:ue.li},b.createElement("aside",null,"\u77E5\u8BC6\u70B9\uFF1A"),b.createElement(ht,{id:Ge==null?void 0:Ge.id,tagName:"div",value:(Ge==null?void 0:Ge.knowledgePoint)||"",className:`${ue.edit} c-grey-333`,onBlur:Fn=>$r("knowledgePoint",It,Xn(Cr(Fn)),Wt)})))},Gr=Ge=>b.createElement(b.Fragment,null,typeof(Ge==null?void 0:Ge.errorMsg)=="string"&&!!(Ge!=null&&Ge.errorMsg)&&b.createElement("h5",{contentEditable:!1},b.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),b.createElement("div",null,Ge==null?void 0:Ge.errorMsg))),ra=Ge=>b.createElement(b.Fragment,null,typeof(Ge==null?void 0:Ge.errorMsg)=="string"&&!!(Ge!=null&&Ge.errorMsg)&&b.createElement("h5",null,b.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),b.createElement("div",null,Ge==null?void 0:Ge.errorMsg))),ya=(Ge,Tt,It,Wt)=>{let Ht="flex";return(Rt&&kr!==Wt||Yn&&!(It!=null&&It.errorMsg))&&(Ht="none"),b.createElement("div",{className:ue.row,style:{display:Ht}},b.createElement("div",{className:ue.leftLayout},mt||b.createElement($t,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:ue.question},Ge))),b.createElement("div",{className:ue.rightLayout},b.createElement(cn,{className:It!=null&&It.errorMsg?ue.error:""},Tt)))},Bn=[{id:"0",type:"\u5355\u9009\u9898",element:(Ge,Tt,It)=>{var Wt,Ht;const Mn=It!==void 0;let Tn=(Wt=Ge==null?void 0:Ge.answer)==null?void 0:Wt[0];const wn=b.createElement(b.Fragment,null,wa(Ge,Tt,It),(Ht=Ge==null?void 0:Ge.options)==null?void 0:Ht.map((br,Tr)=>b.createElement(ht,{id:Ge==null?void 0:Ge.id,key:Tr,value:`${be[Tr]}.${br}`,tagName:"p"})),ga(Ge,Tn,Mn),Gr(Ge));let Fn=Mn?Ge:ir[Tt];const nr=Fn==null?void 0:Fn.options,Or=b.createElement(b.Fragment,null,xa(Fn,Tt,It),nr==null?void 0:nr.map((br,Tr)=>{var Hr;return b.createElement("div",{key:Tr,className:ue.option},b.createElement("aside",{className:((Hr=Fn==null?void 0:Fn.answer)==null?void 0:Hr[0])===be[Tr]?ue.active:"",onClick:()=>$r("answer",Tt,[be[Tr]],It)},be[Tr]),b.createElement(ht,{id:Fn==null?void 0:Fn.id,tagName:"div",className:`${ue.text}`,onBlur:jr=>{nr[Tr]=jr,$r("options",Tt,nr,It)},value:br}))}),pa(Fn,"",Tt,It),ra(Fn));return Mn?[wn,Or]:ya(wn,Or,Fn,Tt)},deal:Ge=>{var Tt,It,Wt;Ge.score=Ge.score===void 0?2:Ge.score;let Ht=Xn((Tt=Ge==null?void 0:Ge.answer)==null?void 0:Tt[0]).toUpperCase();Ge.answer=Ht?[Ht]:[];let Mn=[];if(!(Ge!=null&&Ge.options))Mn.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{Ge.options=(It=Ge.options)==null?void 0:It.slice(0,8);const Tn=Ge.options.map(Fn=>Fn==null?void 0:Fn.trim().replace(/^\s+|\s+$/g,""));new Set(Tn).size!==Tn.length&&Mn.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return Ht||Mn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D"),Ht&&(be.slice(0,((Wt=Ge==null?void 0:Ge.options)==null?void 0:Wt.length)||8).includes(Ht)||Mn.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D")),Xn(Ge==null?void 0:Ge.question)||Mn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ge.errorMsg=Mn.join(`
`),Ge}},{id:"1",type:"\u591A\u9009\u9898",element:(Ge,Tt,It)=>{var Wt,Ht;const Mn=It!==void 0;let Tn=(Wt=Ge==null?void 0:Ge.answer)==null?void 0:Wt[0];const wn=b.createElement(b.Fragment,null,wa(Ge,Tt,It),(Ht=Ge==null?void 0:Ge.options)==null?void 0:Ht.map((br,Tr)=>b.createElement(ht,{id:Ge==null?void 0:Ge.id,key:Tr,value:`${be[Tr]}.${br}`,tagName:"p"})),ga(Ge,Tn,Mn),Gr(Ge));let Fn=Mn?Ge:ir[Tt];const nr=Fn==null?void 0:Fn.options,Or=b.createElement(b.Fragment,null,xa(Fn,Tt,It),nr==null?void 0:nr.map((br,Tr)=>{var Hr,jr;return b.createElement("div",{key:Tr,className:ue.option},b.createElement("aside",{className:(jr=(Hr=Fn==null?void 0:Fn.answer)==null?void 0:Hr[0])!=null&&jr.includes(be[Tr])?ue.active:"",onClick:()=>{var sa;let va=((sa=Fn==null?void 0:Fn.answer)==null?void 0:sa[0])||"";const Aa=be[Tr];va.includes(Aa)?va=va.replace(new RegExp(Aa,"g"),""):va+=Aa,va=va.split("").sort().join(""),$r("answer",Tt,[va],It)}},be[Tr]),b.createElement(ht,{id:Fn==null?void 0:Fn.id,tagName:"div",className:`${ue.text}`,onBlur:sa=>{nr[Tr]=sa,$r("options",Tt,nr,It)},value:br}))}),pa(Fn,"",Tt,It),ra(Fn));return Mn?[wn,Or]:ya(wn,Or,Fn,Tt)},deal:Ge=>{var Tt,It,Wt;Ge.score=Ge.score===void 0?2:Ge.score;let Ht=Xn((Tt=Ge==null?void 0:Ge.answer)==null?void 0:Tt[0]).toUpperCase().split("").sort().join("");Ge.answer=Ht?[Ht]:[];let Mn=[];if(!(Ge!=null&&Ge.options))Mn.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{Ge.options=(It=Ge.options)==null?void 0:It.slice(0,8);const Tn=Ge.options.map(Fn=>Fn==null?void 0:Fn.trim().replace(/^\s+|\s+$/g,""));new Set(Tn).size!==Tn.length&&Mn.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}if(Ht||Mn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D"),Ht){const Tn=be.slice(0,((Wt=Ge==null?void 0:Ge.options)==null?void 0:Wt.length)||8);Ar(Tn).includes(Ht)||Mn.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D")}return Xn(Ge==null?void 0:Ge.question)||Mn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ge.errorMsg=Mn.join(`
`),Ge}},{id:"2",type:"\u5224\u65AD\u9898",element:(Ge,Tt,It)=>{var Wt,Ht;const Mn=It!==void 0;let Tn=(Wt=Ge==null?void 0:Ge.answer)==null?void 0:Wt[0];const wn=b.createElement(b.Fragment,null,wa(Ge,Tt,It),ga(Ge,Tn,Mn),Gr(Ge));let Fn=Mn?Ge:ir[Tt];const nr=["\u6B63\u786E","\u9519\u8BEF"];let Or=((Ht=Fn==null?void 0:Fn.answer)==null?void 0:Ht[0])||"";["\u6B63\u786E","\u5BF9","T","True","t","true"].includes(Or)?Or="\u6B63\u786E":["\u9519\u8BEF","\u9519","T","true","t","false"].includes(Or)&&(Or="\u9519\u8BEF");const br=b.createElement(b.Fragment,null,xa(Fn,Tt,It),nr==null?void 0:nr.map((Tr,Hr)=>b.createElement("div",{key:Hr,className:ue.option},b.createElement("aside",{style:{borderRadius:2},className:Or===Tr?ue.active:"",onClick:()=>$r("answer",Tt,[Tr],It)},Tr==="\u6B63\u786E"?"T":"F"),b.createElement("div",{style:{pointerEvents:"none"},className:`${ue.text}`},Tr))),pa(Fn,"",Tt,It),ra(Fn));return Mn?[wn,br]:ya(wn,br,Fn,Tt)},deal:Ge=>{var Tt;Ge.score=Ge.score===void 0?2:Ge.score;let It=Xn((Tt=Ge==null?void 0:Ge.answer)==null?void 0:Tt[0]);Ge.answer=It?[It]:[];let Wt=[];return It||Wt.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),It&&!["\u6B63\u786E","\u5BF9","T","True","t","true","\u9519\u8BEF","\u9519","T","true","t","false"].includes(It)&&Wt.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),Xn(Ge==null?void 0:Ge.question)||Wt.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ge.errorMsg=Wt.join(`
`),Ge}},{id:"3",type:"\u586B\u7A7A\u9898",element:(Ge,Tt,It)=>{var Wt,Ht;const Mn=It!==void 0,Tn=b.createElement(b.Fragment,null,wa(Ge,Tt,It),(Wt=Ge==null?void 0:Ge.answer)==null?void 0:Wt.map((nr,Or)=>b.createElement(ht,{id:Ge==null?void 0:Ge.id,key:Or,tagName:"p",value:`\u7B54\u6848${Or+1}\uFF1A${nr.text||""}`})),ga(Ge,"",Mn),Gr(Ge));let wn=Mn?Ge:ir[Tt];const Fn=b.createElement(b.Fragment,null,xa(wn,Tt,It),(Ht=wn==null?void 0:wn.answer)==null?void 0:Ht.map((nr,Or)=>b.createElement("div",{key:Or,className:ue.option},b.createElement("aside",{className:ue.fill},"\u586B\u7A7A\u9879",Or+1),nr.model===1&&b.createElement(ht,{id:wn==null?void 0:wn.id,tagName:"div",onBlur:br=>{wn.answer[Or].latex=Cr(br),$r("answer",Tt,wn.answer,It)},className:`${ue.text}`,value:nr.latex}),nr.model===2&&b.createElement(tt.Z,{value:nr.latex,onChange:br=>{wn.answer[Or].latex=br,$r("answer",Tt,wn.answer,It)}}))),pa(wn,"",Tt,It),ra(wn));return Mn?[Tn,Fn]:ya(Tn,Fn,wn,Tt)},deal:Ge=>{var Tt,It,Wt,Ht;Ge.score=Ge.score===void 0?2:Ge.score,Ge.question=(Tt=Ge.question)==null?void 0:Tt.replaceAll("\u2581","_");const Mn=(It=Ge.answer)==null?void 0:It.map(wn=>{if(Object.prototype.toString.call(wn)==="[object Object]")return wn;wn=wn==null?void 0:wn.trim();const Fn={model:1,text:wn,latex:wn};return wn.startsWith("$$")&&wn.endsWith("$$")||wn.startsWith("`$$")&&wn.endsWith("$$`")?(Fn.model=2,Fn.latex=wn.slice(2,-2)):Fn.latex=Cr(wn),Fn});Ge.answer=Mn;let Tn=[];return Mn||Tn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1A\u4E2D\u56FD\uFF1B\u7B54\u68482\uFF1A\u4E16\u754C"),Xn(Ge==null?void 0:Ge.question)?Ge!=null&&Ge.question.includes("_")?(Wt=Ge==null?void 0:Ge.answer)!=null&&Wt.length&&((Ge==null?void 0:Ge.question.match(/_+/g))||[]).length!==((Ht=Ge==null?void 0:Ge.answer)==null?void 0:Ht.length)&&Tn.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Tn.push("\u586B\u7A7A\u9879\u672A\u8BBE\u7F6E\uFF0C\u8BF7\u4F7F\u7528\u82F1\u6587\u4E0B\u5212\u7EBF\u201C___\u201D\u8868\u793A\u586B\u7A7A\u9879"):Tn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ge.errorMsg=Tn.join(`
`),Ge}},{id:"4",type:"\u7B80\u7B54\u9898",element:(Ge,Tt,It)=>{var Wt,Ht;const Mn=It!==void 0;let Tn=(Wt=Ge==null?void 0:Ge.answer)==null?void 0:Wt[0];const wn=b.createElement(b.Fragment,null,wa(Ge,Tt,It),ga(Ge,Tn,Mn),Gr(Ge));let Fn=Mn?Ge:ir[Tt];const nr=b.createElement(b.Fragment,null,xa(Fn,Tt,It),pa(Fn,(Ht=Fn==null?void 0:Fn.answer)==null?void 0:Ht[0],Tt,It),ra(Fn));return Mn?[wn,nr]:ya(wn,nr,Fn,Tt)},deal:Ge=>{Ge.score=Ge.score===void 0?5:Ge.score;let Tt=[];return Xn(Ge==null?void 0:Ge.question)||Tt.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ge.errorMsg=Tt.join(`
`),Ge}},{id:"6",type:"\u7F16\u7A0B\u9898",element:(Ge,Tt)=>{var It,Wt;const Ht=ir[Tt],Mn=Cn.slice(0,4).map(Tn=>({key:Tn,label:Tn,onClick:()=>$r("platform",Tt,Tn)}));return b.createElement("div",{className:ue.row,style:{display:Yn?Ht!=null&&Ht.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:ue.leftLayout},b.createElement($t,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:ue.question},wa(Ge,Tt),b.createElement(ht,{id:Ge==null?void 0:Ge.id,value:`\u8BD5\u9898\u63CF\u8FF0\uFF1A${(Ge==null?void 0:Ge.description)||""}`,tagName:"p"}),ga(Ge),b.createElement(ht,{id:Ge==null?void 0:Ge.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${Ge==null?void 0:Ge.timeLimit}`,tagName:"p"}),b.createElement(ht,{id:Ge==null?void 0:Ge.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(Ge==null?void 0:Ge.platform)||""}`,tagName:"p"}),b.createElement("p",{contentEditable:!0},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),b.createElement("h4",null),b.createElement(ht,{id:Ge==null?void 0:Ge.id,value:(Ge==null?void 0:Ge.code)||"",tagName:"div"}),(It=Ge==null?void 0:Ge.inputs)==null?void 0:It.map((Tn,wn)=>{var Fn;return b.createElement(b.Fragment,{key:wn},b.createElement("h4",null),b.createElement(ht,{id:Ge==null?void 0:Ge.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${wn+1})\u8F93\u5165\uFF1A${Tn||""}`,tagName:"div"}),b.createElement(ht,{id:Ge==null?void 0:Ge.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${wn+1})\u8F93\u51FA\uFF1A${((Fn=Ge==null?void 0:Ge.outputs)==null?void 0:Fn[wn])||""}`,tagName:"div"}))}),Gr(Ge)))),b.createElement("div",{className:ue.rightLayout},b.createElement(cn,{className:Ht!=null&&Ht.errorMsg?ue.error:""},xa(Ht,Tt),b.createElement("div",{className:ue.liWrap,style:{background:"transparent",marginBottom:0,padding:0}},b.createElement("div",{className:ue.li},b.createElement("aside",null,"\u8BD5\u9898\u63CF\u8FF0\uFF1A"),b.createElement(ht,{className:ue.edit,id:Ht==null?void 0:Ht.id,value:Ht==null?void 0:Ht.description,tagName:"div",onBlur:Tn=>$r("description",Tt,Tn)}))),pa(Ht,"",Tt),b.createElement("div",{className:ue.liWrap},b.createElement("div",{className:ue.li},b.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),b.createElement(ht,{className:ue.edit,id:Ht==null?void 0:Ht.id,value:Ht==null?void 0:Ht.timeLimit,tagName:"div",onBlur:Tn=>$r("timeLimit",Tt,Cr(Tn))})),b.createElement("div",{className:ue.li},b.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(Ve.Z,{menu:{items:Mn}},b.createElement("span",{className:"c-light-primary"},Ht==null?void 0:Ht.platform,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),b.createElement("div",{className:ue.li,style:{flexDirection:"column",alignItems:"start"}},b.createElement("aside",{className:"mb10"},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),b.createElement(ht,{className:ue.edit,id:Ht==null?void 0:Ht.id,value:(Ht==null?void 0:Ht.code)||"",onBlur:Tn=>$r("code",Tt,Cr(Tn)),tagName:"div"}))),(Wt=Ht==null?void 0:Ht.inputs)==null?void 0:Wt.map((Tn,wn)=>{var Fn;return b.createElement("div",{className:ue.liWrap,key:wn},b.createElement("div",{className:ue.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",wn+1,")\u8F93\u5165\uFF1A"),b.createElement(ht,{id:Ht==null?void 0:Ht.id,value:Tn||"",className:ue.edit,onBlur:nr=>{const Or=[...(Ht==null?void 0:Ht.inputs)||[]];Or[wn]=Cr(nr),$r("inputs",Tt,Or)},tagName:"div"})),b.createElement("div",{className:ue.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",wn+1,")\u8F93\u51FA\uFF1A"),b.createElement(ht,{id:Ht==null?void 0:Ht.id,value:((Fn=Ht==null?void 0:Ht.outputs)==null?void 0:Fn[wn])||"",className:ue.edit,onBlur:nr=>{const Or=[...(Ht==null?void 0:Ht.outputs)||[]];Or[wn]=Cr(nr),$r("outputs",Tt,Or)},tagName:"div"})))}),ra(Ht))))},deal:Ge=>{var Tt,It,Wt;Ge.score=Ge.score===void 0?10:Ge.score,Ge.code=(Tt=Ge.code)==null?void 0:Tt.trim();let Ht=[];Xn(Ge==null?void 0:Ge.question)?((It=Ge==null?void 0:Ge.question)==null?void 0:It.length)>60&&Ht.push("\u7F16\u7A0B\u9898\u540D\u79F0\u9650\u523660\u4E2A\u5B57\u7B26"):Ht.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Xn(Ge==null?void 0:Ge.description)||Ht.push("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\u63CF\u8FF0");const Mn=Xn(String((Ge==null?void 0:Ge.timeLimit)||""));if(Ge.timeLimit=Mn,(!Mn||Mn&&!["3","4","5","6","7","8","9","10"].includes(Mn))&&Ht.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),Ge.platform=Xn(Ge==null?void 0:Ge.platform),Ge!=null&&Ge.platform){const Tn=["c","c++","java","python"],wn=(Wt=Ge==null?void 0:Ge.platform)==null?void 0:Wt.toLowerCase(),Fn=Tn.findIndex(nr=>nr===wn);Fn>-1?Ge.platform=Cn[Fn]:Ht.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00")}else Ht.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00");if(!(Ge!=null&&Ge.inputs)||!(Ge!=null&&Ge.outputs))Ge.inputs=[],Ge.outputs=[],Ht.push("\u672A\u8BC6\u522B\u5230\u6D4B\u8BD5\u7528\u4F8B\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u6D4B\u8BD5\u7528\u4F8B(1)\u8F93\u5165\uFF1A1\uFF1B\u6D4B\u8BD5\u7528\u4F8B(1)\u8F93\u51FA\uFF1A2");else{const Tn=Math.min(Ge.inputs.length,Ge.outputs.length);Ge.inputs=Ge.inputs.slice(0,Tn),Ge.outputs=Ge.outputs.slice(0,Tn),Ge.outputs.some(wn=>!Xn(wn))&&Ht.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879")}return Ge.errorMsg=Ht.join(`
`),Ge}},{id:"7",type:"\u7EC4\u5408\u9898",element:(Ge,Tt)=>{var It,Wt;const Ht=ir[Tt];return b.createElement("div",{className:ue.row,style:{display:Yn?Ht!=null&&Ht.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:ue.leftLayout},b.createElement($t,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:ue.question},wa(Ge,Tt),ga(Ge),(It=Ge==null?void 0:Ge.questions)==null?void 0:It.map((Mn,Tn)=>{var wn;const Fn=(wn=Bn.find(nr=>nr.id===(Mn==null?void 0:Mn.type)))==null?void 0:wn.element;return b.createElement(b.Fragment,{key:`left-${Ge.id}-${Tn}`},Fn(Mn,Tt,Tn)[0])}),Gr(Ge),b.createElement("p",{contentEditable:!0},"}}")))),b.createElement("div",{className:ue.rightLayout},b.createElement(cn,{className:Ht!=null&&Ht.errorMsg?ue.error:""},xa(Ht,Tt),pa(Ht,"",Tt),(Wt=Ht==null?void 0:Ht.questions)==null?void 0:Wt.map((Mn,Tn)=>{var wn;const Fn=(wn=Bn.find(nr=>nr.id===(Mn==null?void 0:Mn.type)))==null?void 0:wn.element;return b.createElement(b.Fragment,{key:`right-${Ht.id}-${Tn}`},Fn(Mn,Tt,Tn)[1])}),ra(Ht))))},deal:Ge=>{var Tt,It,Wt,Ht,Mn;const Tn=ha,wn=[...Bn],Fn=wn.findIndex(Tr=>Tr.id==="0"),nr=wn.findIndex(Tr=>Tr.id==="1");if(Fn!==-1){const Tr=wn[Fn].deal;wn[Fn].deal=Hr=>{const jr=Tr(Hr);return jr.errorMsg&&(jr.errorMsg=jr.errorMsg.split(`
`).filter(sa=>sa!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),jr}}if(nr!==-1){const Tr=wn[nr].deal;wn[nr].deal=Hr=>{const jr=Tr(Hr);return jr.errorMsg&&(jr.errorMsg=jr.errorMsg.split(`
`).filter(sa=>sa!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),jr}}Ge.questions=(Tt=Ge.questions)!=null&&Tt.length?ha(Ge.questions.slice(0,20)):[],Ge.questions=(It=Ge.questions)==null?void 0:It.map((Tr,Hr)=>{var jr;if(Tr.type==="0"||Tr.type==="1"){const sa=(jr=Tr.options)==null?void 0:jr.map(va=>va==null?void 0:va.trim().replace(/^\s+|\s+$/g,""));sa&&new Set(sa).size!==sa.length&&(Tr.errorMsg=(Tr.errorMsg?Tr.errorMsg+`
`:"")+"\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return pn(Ut({},Tr),{last:Hr===Ge.questions.length-1})});const Or=(Wt=Ge.questions)==null?void 0:Wt.reduce((Tr,Hr)=>{const jr=parseFloat(Hr.score);return isNaN(jr)?Tr:Tr+jr},0);Ge.score=Or;let br=[];return(Ht=Ge.questions)!=null&&Ht.length?Ge.errorMsg=((Mn=Ge.questions)==null?void 0:Mn.findIndex(Tr=>!!Tr.errorMsg))>-1:br.push("\u8BF7\u6DFB\u52A0\u5C0F\u9898"),Xn(Ge==null?void 0:Ge.question)||br.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),br.length&&(Ge.errorMsg=br.join(`
`)),Ge}},{id:"8",type:"\u7A0B\u5E8F\u586B\u7A7A\u9898",element:(Ge,Tt)=>{var It,Wt;const Ht=ir[Tt],Mn=Cn.map(Tn=>({key:Tn,label:Tn,onClick:()=>$r("platform",Tt,Tn)}));return b.createElement("div",{className:ue.row,style:{display:Yn?Ht!=null&&Ht.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:ue.leftLayout},b.createElement($t,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:ue.question},wa(Ge,Tt),ga(Ge),b.createElement(ht,{id:Ge==null?void 0:Ge.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${Ge==null?void 0:Ge.timeLimit}`,tagName:"p"}),b.createElement(ht,{id:Ge==null?void 0:Ge.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(Ge==null?void 0:Ge.platform)||""}`,tagName:"p"}),b.createElement("p",{contentEditable:!0},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),b.createElement("h4",null),b.createElement(ht,{id:Ge==null?void 0:Ge.id,value:(Ge==null?void 0:Ge.code)||"",tagName:"div"}),b.createElement("h4",null),b.createElement(ht,{id:Ge==null?void 0:Ge.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A${(Ge==null?void 0:Ge.input)||""}`,tagName:"p"}),b.createElement(ht,{id:Ge==null?void 0:Ge.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A${(Ge==null?void 0:Ge.output)||""}`,tagName:"p"}),(It=Ge==null?void 0:Ge.answer)==null?void 0:It.map((Tn,wn)=>b.createElement(ht,{key:wn,id:Ge==null?void 0:Ge.id,value:`\u7B54\u6848${wn+1}\uFF1A${Tn||""}`,tagName:"p"})),Gr(Ge)))),b.createElement("div",{className:ue.rightLayout},b.createElement(cn,{className:Ht!=null&&Ht.errorMsg?ue.error:""},xa(Ht,Tt),pa(Ht,"",Tt),b.createElement("div",{className:ue.liWrap},b.createElement("div",{className:ue.li,onKeyDown:Bt},b.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),b.createElement(ht,{className:ue.edit,id:Ht==null?void 0:Ht.id,value:Ht==null?void 0:Ht.timeLimit,tagName:"div",onBlur:Tn=>$r("timeLimit",Tt,Cr(Tn))})),b.createElement("div",{className:ue.li},b.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(Ve.Z,{menu:{items:Mn}},b.createElement("span",{className:"c-light-primary"},Ht==null?void 0:Ht.platform,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),b.createElement("div",{className:ue.li,style:{flexDirection:"column",alignItems:"start"}},b.createElement("aside",{className:"mb10"},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),b.createElement(ht,{className:ue.edit,id:Ht==null?void 0:Ht.id,value:(Ht==null?void 0:Ht.code)||"",onBlur:Tn=>$r("code",Tt,Cr(Tn)),tagName:"div"})),b.createElement("div",{className:ue.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A"),b.createElement(ht,{className:ue.edit,id:Ht==null?void 0:Ht.id,value:(Ht==null?void 0:Ht.input)||"",onBlur:Tn=>$r("input",Tt,Cr(Tn)),tagName:"div"})),b.createElement("div",{className:ue.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"),b.createElement(ht,{className:ue.edit,id:Ht==null?void 0:Ht.id,value:(Ht==null?void 0:Ht.output)||"",onBlur:Tn=>$r("output",Tt,Cr(Tn)),tagName:"div"}))),b.createElement("div",{className:ue.liWrap},(Wt=Ht==null?void 0:Ht.answer)==null?void 0:Wt.map((Tn,wn)=>b.createElement("div",{className:ue.li,key:wn},b.createElement("aside",null,"\u7B54\u6848",wn+1,"\uFF1A"),b.createElement(ht,{id:Ht==null?void 0:Ht.id,value:Tn||"",className:ue.edit,onBlur:Fn=>{const nr=[...(Ht==null?void 0:Ht.answer)||[]];nr[wn]=Cr(Fn),$r("output",Tt,nr)},tagName:"div"})))),ra(Ht))))},deal:Ge=>{var Tt,It,Wt,Ht,Mn,Tn,wn,Fn;Ge.score=Ge.score===void 0?10:Ge.score,Ge.code=(Wt=(It=(Tt=Ge.code)==null?void 0:Tt.trim())==null?void 0:It.replace(/@_@/g,"@\u2581@"))==null?void 0:Wt.replace(/@__@/g,"@\u2581\u2581@");let nr=[];if(Xn(Ge==null?void 0:Ge.question)||nr.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Xn(Ge==null?void 0:Ge.code)?/@▁@|@▁▁@/.test(Ge==null?void 0:Ge.code)?(Ht=Ge==null?void 0:Ge.answer)!=null&&Ht.length&&((Mn=Ge==null?void 0:Ge.code.match(/@▁@|@▁▁@/g))==null?void 0:Mn.length)!==((Tn=Ge==null?void 0:Ge.answer)==null?void 0:Tn.length)&&nr.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):nr.push("\u7A0B\u5E8F\u4EE3\u7801\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u7A0B\u5E8F\u4EE3\u7801\u4E2D\u7684\u586B\u7A7A\u9879\u9700\u8981\u4F7F\u7528 @\u2581@ \u7B26\u53F7\u6807\u8BC6\u51FA\u6765"):nr.push("\u672A\u8BC6\u522B\u5230\u7A0B\u5E8F\u4EE3\u7801"),Ge!=null&&Ge.answer?(wn=Ge.answer)!=null&&wn.some(br=>!Xn(br))&&nr.push("\u7B54\u6848\u4E3A\u5FC5\u586B\u9879"):nr.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1AHello\uFF1B\u7B54\u68482\uFF1AWorld"),Ge.platform=Xn(Ge==null?void 0:Ge.platform),Ge!=null&&Ge.platform){const br=["c","c++","java","python","javascript","ruby"],Tr=(Fn=Ge==null?void 0:Ge.platform)==null?void 0:Fn.toLowerCase(),Hr=br.findIndex(jr=>jr===Tr);Hr>-1?Ge.platform=Cn[Hr]:nr.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00")}else nr.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00");Xn(Ge==null?void 0:Ge.output)||nr.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879");const Or=Xn(String((Ge==null?void 0:Ge.timeLimit)||""));return Ge.timeLimit=Or,(!Or||Or&&!["3","4","5","6","7","8","9","10"].includes(Or))&&nr.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),Ge.errorMsg=nr.join(`
`),Ge}}],Dn=()=>b.createElement(b.Fragment,null,zn.filter(Ge=>{var Tt;return!!((Tt=Bn.find(Wt=>Wt.id===(Ge==null?void 0:Ge.type)))==null?void 0:Tt.element)}).map((Ge,Tt)=>{var It;const Wt=(It=Bn.find(Ht=>Ht.id===(Ge==null?void 0:Ge.type)))==null?void 0:It.element;return b.createElement(b.Fragment,{key:Ge.id},Wt(Ge,Tt))})),jn=()=>bt(void 0,null,function*(){const Ge=ir.filter(Tt=>!Tt.checked);if(Et!==3||!Ge.length){oe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\uFF01");return}if(un){Qt(!0),yield un(ir),Qt(!1);return}hr.setFieldsValue({sub_discipline_id:Ft}),xr(!0)}),Qn=(Ge,Tt=[])=>{if(typeof Ge=="string")return Ge.trim();if(Array.isArray(Ge))return Ge.map(It=>Qn(It,Tt));if(typeof Ge=="object"&&Ge!==null){const It={};for(const Wt in Ge)Ge.hasOwnProperty(Wt)&&(Tt.includes(Wt)?It[Wt]=Ge[Wt]:It[Wt]=Qn(Ge[Wt],Tt));return It}return Ge},er=Ge=>bt(void 0,null,function*(){const Tt=ha(Qn(Ge));cr(Tt),Gn(JSON.parse(JSON.stringify(Tt))),Ln(3),xn(!1),nn(!1)});(0,b.useEffect)(()=>{if(_n)return;const Ge=()=>{Hn(Tt=>Tt>=90?(clearInterval(sr.current),90):Tt+1)};return sr.current=setInterval(Ge,5e4/90),()=>clearInterval(sr.current)},[_n]);const vr=(Ge,Tt)=>{Sr(!1);const It=new FormData;Object.keys(Tt).forEach(Ht=>{It.append(Ht,Tt[Ht])});const Wt=new window.XMLHttpRequest;Wt.withCredentials=!0,Wt.addEventListener("load",function(Ht){return bt(this,null,function*(){var Mn,Tn;try{const wn=JSON.parse((Mn=Ht==null?void 0:Ht.target)==null?void 0:Mn.response);if(Sr(!0),Hn(100),yield new Promise(Fn=>setTimeout(()=>Fn(),780)),wn.status===0){if(!((Tn=wn==null?void 0:wn.data)!=null&&Tn.length)){oe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!"),xn(!1);return}er((wn==null?void 0:wn.data)||[])}else xn(!1),oe.ZP.warning(wn==null?void 0:wn.message)}catch(wn){console.log("\u8BF7\u6C42\u9519\u8BEF\uFF1A",wn)}})}),Wt.addEventListener("error",()=>{xn(!1)}),Wt.open("POST",`${Ze.Z.API_SERVER}${Ge}`),Wt.send(It)},mr=Ge=>bt(void 0,null,function*(){const Tt=Ge.name.split(".").slice(-1)[0].toLowerCase();return["docx"].indexOf(Tt)==-1?(oe.ZP.error(`${Ge.name}\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\uFF0C\u5F53\u524D\u4EC5\u9650\u652F\u6301\u683C\u5F0F\u4E3Adocx\u6587\u4EF6\uFF08Microsoft Word 2007\u4EE5\u4E0A\u7684\u7248\u672C\uFF09`),Promise.reject()):(xn(!0),dr("\u5904\u7406\u4E2D"),vr("/api/intelligent_imports/import.json",{file:Ge}),Promise.reject())});let pr=[{key:1,label:b.createElement(Ae.default,{showUploadList:!1,accept:".docx",maxCount:1,beforeUpload:mr},b.createElement("div",{style:{padding:"0 5px",width:108,height:35,lineHeight:"35px"}},"\u672C\u5730\u5BFC\u5165"))}];((0,kt.Ny)()||(0,kt.$O)())&&pr.push({key:2,label:b.createElement("div",{style:{padding:"0 5px"}},"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898"),onClick:()=>{Kt.current.onClick()}});const Rn=[ir.length,(gn=ir.filter(Ge=>!!(Ge!=null&&Ge.errorMsg)))==null?void 0:gn.length];return b.createElement("div",{className:ce()(ue.intelligentBox,"intelligent-body-curb",Ee),style:pn(Ut({},De),{width:fe}),ref:on},b.createElement("div",{className:ue.underpin},b.createElement("b",{style:vt}),b.createElement("b",{style:vt})),b.createElement("div",{className:ue.head,style:{top:gt}},b.createElement("div",{className:ue.leftLayout},fn||b.createElement(b.Fragment,null,b.createElement(Se.Z,{align:"middle"},b.createElement("div",{className:ue.title},"\u8BD5\u9898\u7F16\u8F91"),!Lt&&b.createElement(ze.op,{href:`${Ze.Z.API_SERVER}/api/intelligent_imports/download_template`,download:!0,type:"link"},"\u4E0B\u8F7DWord\u6A21\u7248",b.createElement("i",{className:"iconfont icon-xiazai4 font14 ml10"})),b.createElement(ze.op,{onClick:yr,shape:"default"},"\u4E00\u952E\u6E05\u7A7A"),!Lt&&b.createElement(Ve.Z,{overlayClassName:ue.menu,menu:{items:pr}},b.createElement(ze.op,{className:"ml20",type:"primary",shape:"default"},"\u5BFC\u5165\u8BD5\u9898")),!!jt&&jt),b.createElement("div",{className:ue.tip},b.createElement("i",{className:"iconfont icon-tishi7 font12 mr10"}),"\u63D0\u793A\uFF1A\u82E5\u8BC6\u522B\u6709\u8BEF\uFF0C\u53EF\u5728\u5DE6\u4FA7\u7F16\u8F91\u533A\u70B9\u51FB\u5BF9\u5E94\u7684\u8BD5\u9898\u6309\u683C\u5F0F\u4FEE\u6539\u540E\u91CD\u65B0\u8BC6\u522B"))),b.createElement(Se.Z,{className:ue.rightLayout,style:{alignItems:"start"}},Zt||b.createElement(b.Fragment,null,b.createElement("div",{className:ue.title,style:{marginRight:0}},"\u8BD5\u9898\u9884\u89C8"),[3].includes(Et)&&b.createElement(he.default,{className:"ml20",checked:Yn,onChange:Ge=>nn(Ge.target.checked)},"\u4EC5\u67E5\u770B\u9519\u8BEF\u8BD5\u9898"),[3].includes(Et)&&b.createElement("div",{style:{color:"#5F6368",marginLeft:"auto"}},"\u5171\u8BC6\u522B",b.createElement("span",{className:"ml5 mr5 c-light-primary"},Rn[0]),"\u9898\uFF0C\u5176\u4E2D\u8BC6\u522B\u6709\u8BEF",b.createElement("span",{className:"ml5 mr5 c-red-e53"},Rn[1]),"\u9898")),Rt&&b.createElement("div",{className:ue.tabs},zn==null?void 0:zn.map((Ge,Tt)=>b.createElement("div",{onClick:()=>{Ur(Tt)},className:kr===Tt&&ue.active,key:Tt},"\u65B0\u9898",Tt+1)))),b.createElement("div",{className:ue.centerBox},b.createElement("img",{className:"mb10",src:Re,width:56}),!tn&&b.createElement(ze.op,{onClick:ma},"\u8BC6\u522B"))),[1,2].includes(Et)&&la(),[3].includes(Et)&&Dn(),b.createElement("div",{className:"pb10"}),b.createElement("div",{className:ue.buttonFixed},b.createElement("div",{className:ue.buttonWrap},b.createElement(ct.ZP,{size:"middle",className:`${ue.button} mr20`,onClick:Qe},"\u53D6\u6D88"),b.createElement(ct.ZP,{size:"middle",type:"primary",loading:rn,className:`${ue.button}`,onClick:jn},Je))),b.createElement(xe.default,{centered:!0,closable:!1,destroyOnClose:!0,open:qn,title:null,footer:null,width:320,afterClose:()=>Hn(0)},b.createElement(Se.Z,{align:"middle",style:{flexDirection:"column"}},b.createElement("b",{style:{color:"#5F6368"},className:"font16 mb5 mt20"},Vt,b.createElement("span",{className:ue.dotLoading},b.createElement("span",null,"."),b.createElement("span",null,"."),b.createElement("span",null,"."))),b.createElement(Ke.Z,{style:{width:"auto"},size:[200,8],showInfo:!1,percent:ar}),b.createElement("div",{style:{color:"#5F6368"},className:"mb20"},"\u6B63\u5728\u8BC6\u522B\uFF0C\u5DF2\u5B8C\u6210",b.createElement("span",{className:"ml5 c-light-primary"},ar,"%")))),b.createElement(xe.default,{centered:!0,open:In,title:"\u8BD5\u9898\u5BFC\u5165\u8BBE\u7F6E",confirmLoading:An,width:500,onCancel:()=>xr(!1),onOk:()=>hr.submit(),afterClose:()=>{hr.resetFields()}},b.createElement(ge.default,{style:{maxHeight:550},form:hr,layout:"horizontal",colon:!1,size:"large",onFinish:Ge=>bt(void 0,null,function*(){var Tt,It,Wt,Ht,Mn;const Tn=ir.filter(nr=>!nr.checked&&!nr.errorMsg);Nn(!0);const wn=()=>bt(void 0,null,function*(){var nr,Or;const br=yield(0,Te.ZP)("/api/intelligent_imports/save.json",{method:"post",body:pn(Ut(Ut({},an),Ge),{list:Tn,mode:Sn})});br.status===0&&(At&&((nr=br==null?void 0:br.data)!=null&&nr.success)&&window.location.pathname==="/problemset"&&(St.Z.publish("refresh-item-bank",Ge.group_id),yield new Promise(Tr=>setTimeout(()=>Tr(),1500))),oe.ZP.success(`\u6210\u529F\u5BFC\u5165${(Or=br==null?void 0:br.data)==null?void 0:Or.success}\u9053\u8BD5\u9898`,3),Mt(br),xr(!1)),Nn(!1)});if(Sn!==1){yield wn();return}const Fn=yield(0,Te.ZP)("/api/intelligent_imports/is_repeated.json",{method:"post",body:{list:ir,mode:Sn}});if(Fn.status===0){if(!((Tt=Fn==null?void 0:Fn.data)!=null&&Tt.error_size)){yield wn();return}xe.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onCancel:()=>{Nn(!1)},title:"\u63D0\u793A",content:b.createElement("div",{style:{overflow:"auto",maxHeight:500}},"\u5171",b.createElement("span",{className:"c-light-primary ml5 mr5"},(It=Fn==null?void 0:Fn.data)==null?void 0:It.all_size),"\u9053\u8BD5\u9898\uFF0C\u5176\u4E2D",b.createElement("span",{style:{color:"#FF9D18"},className:"ml5 mr5"},(Wt=Fn==null?void 0:Fn.data)==null?void 0:Wt.error_size),"\u9053\u8BD5\u9898\u91CD\u590D\uFF08\u7B2C",b.createElement("span",{className:"ml5 mr5"},(Mn=(Ht=Fn==null?void 0:Fn.data)==null?void 0:Ht.index)==null?void 0:Mn.join("\u3001")),"\u9053\uFF09\uFF0C\u91CD\u590D\u8BD5\u9898\u5C06\u4F1A\u4E3A\u60A8\u81EA\u52A8\u8FC7\u6EE4\uFF0C\u786E\u5B9A\u5BFC\u5165\u5417\uFF1F"),onOk:wn})}})},b.createElement("div",{className:"c-grey-999 mb20"},"\u63D0\u793A\uFF1A\u8BC6\u522B\u6709\u8BEF\u7684\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u5BFC\u5165"),b.createElement(ge.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"sub_discipline_id",labelCol:{span:5},wrapperCol:{span:19},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B"}]},b.createElement(qe.Z,{placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",fieldNames:{label:"name",value:"id",children:"sub_disciplines"},options:Lr})),Sn===1&&b.createElement(ge.default.Item,{label:b.createElement(Se.Z,{align:"middle",style:{justifyContent:"space-between"}},b.createElement("span",null,"\u653E\u5165\u6587\u4EF6\u5939\u76EE\u5F55"),b.createElement("div",{onClick:()=>or(!0),style:{marginLeft:211,transform:"translateX(14px)",display:"flex",color:"#5F6368",cursor:"pointer"}},b.createElement("img",{className:"mr5 primary-hover",src:lt}),"\u65B0\u5EFA\u6587\u4EF6\u5939")),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"group_id",labelCol:{span:24},wrapperCol:{span:24}},b.createElement(Ye.Z,{key:Pr})))),b.createElement(xe.default,{centered:!0,open:gr,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",destroyOnClose:!0,width:480,confirmLoading:Ir,onCancel:()=>or(!1),onOk:()=>$n.submit(),afterClose:()=>{$n.resetFields()}},b.createElement(ge.default,{style:{maxHeight:550},form:$n,layout:"horizontal",colon:!1,size:"large",onFinish:Ge=>bt(void 0,null,function*(){var Tt;lr(!0),(yield(0,Te.ZP)("/api/item_banks_groups.json",{method:"post",body:{name:Ge.name,parent_id:(Tt=Ge==null?void 0:Ge.parent_id)==null?void 0:Tt[0]}})).status===0?(wr(Pr+1),setTimeout(()=>{oe.ZP.success("\u64CD\u4F5C\u6210\u529F"),or(!1),lr(!1)},1e3)):lr(!1)})},b.createElement(ge.default.Item,{label:"\u6587\u4EF6\u5939\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},b.createElement(Me.default,{maxLength:60,showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"})),b.createElement(ge.default.Item,{label:"\u6587\u4EF6\u5939\u4F4D\u7F6E",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"parent_id"},b.createElement(Ye.Z,null)))),b.createElement(Gt.Z,{onSave:Ge=>{xn(!0),dr("\u5904\u7406\u4E2D"),vr("/api/intelligent_imports/import.json",{html:Ge})},ref:Kt}))},pe=Le;var de=Ie},65986:function(me,ne,E){"use strict";var b=E(59301),ue=E(21697),le=E(48136),ce=E(88615),ge=E(62957),oe=E(59301);const xe=(0,b.forwardRef)(({callback:Oe,width:Se,onChange:he,disabled:Ve,readOnly:Ae,type:ct="",value:Ke="",style:qe={}},Me)=>{const ze=(0,b.useRef)(),Ze=(0,b.useRef)(),[Le,Pe]=(0,b.useState)(0),[ke,Re]=(0,b.useState)(0),[Te,Ye]=(0,b.useState)(!1),lt=()=>{var Ue=document.createElement("div");Ue.innerHTML=ze.current.getValue();var Xe=Ue.innerText;return Oe&&Oe(Xe),Xe};(0,b.useImperativeHandle)(Me,()=>({getData:lt}));const Fe=Ue=>{Ue.preventDefault();const Xe=Ue.clientX-Le,et=Ue.clientY-ke;document.body.onmousemove=rt=>{let ht=rt.clientX-Xe,kt=rt.clientY-et;const St=document.getElementsByClassName("markdown-popup-form")[0],Gt=window.innerWidth-St.offsetWidth,nt=window.innerHeight-St.offsetHeight;ht=Math.max(0,Math.min(ht,Gt)),kt=Math.max(0,Math.min(kt,nt)),tt(rt.clientX,rt.clientY,Xe,et)&&(Pe(ht),Re(kt))},document.body.onmouseup=function(){document.body.onmousemove=null}},tt=(Ue,Xe,et,rt)=>{const ht=document.body.clientHeight,kt=document.body.clientWidth;return Ue<20&&et>Ue||Ue>kt-20&&et<Ue||Xe<20&&rt>Xe||Xe>ht-20&&rt<Xe?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};(0,b.useEffect)(()=>{Te&&setTimeout(()=>{const Ue=document.getElementsByClassName("markdown-popup-form")[0],Xe=window.innerWidth/2-Ue.offsetWidth/2,et=window.innerHeight/2-Ue.offsetHeight/2;Pe(Xe),Re(et)},0)},[Te]);const $e=()=>{Ve||Ae||Ye(!0)};return oe.createElement("div",{style:qe},oe.createElement("div",{style:{width:Se||"100%",position:"relative"},className:`${ue.Z.mathFillWrap} ${Ve||Ae?"cursorDefault":""}`,onClick:()=>$e()},oe.createElement("math-field",{disabled:Ve,locale:"zh_cn",class:`${ue.Z.mathField} ${ct}`,readOnly:Ae,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:ze,style:{width:"100%",fontSize:Ke?18:14},value:Ke||""})),oe.createElement(ge.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:Le,top:ke},title:oe.createElement("div",{style:{cursor:"move"},onMouseDown:Fe},"\u8F93\u5165\u516C\u5F0F"),open:Te,onOk:()=>{const Ue=Ze.current.getData();ze.current.setValue(Ue),he(Ue),Ye(!1)},onCancel:()=>{Ye(!1)},destroyOnClose:!0,className:"markdown-popup-form"},oe.createElement(ce.Z,{value:Ke,ref:Ze,onChange:he,showSaveButton:!1})))});ne.Z=xe},88615:function(me,ne,E){"use strict";var b=E(59301),ue=E(77019),le=E(5269),ce=E(20554),ge=E(99571),oe=E(38394),xe=E(21697),Oe=E(48136),Se=E(59301);const he=(0,b.forwardRef)(({callback:Ve,showSaveButton:Ae,value:ct=""},Ke)=>{const qe=(0,b.useRef)(),Me=[{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 "}]}]}],ze=[{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}`}]}]}],Ze=ke=>{qe.current.setValue(qe.current.getValue()+" "+ke.value+" ")},Le=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Se.createElement(ue.Z,{className:xe.Z.lists,gutter:[10,10]},Me.map((ke,Re)=>Se.createElement(le.Z,{flex:"110px",className:xe.Z.item},Se.createElement("div",null,Se.createElement(oe.Z,{value:`$$${ke.value}$$`}),ke.name),Se.createElement("div",{className:xe.Z.children},ke.children.map((Te,Ye)=>Se.createElement("div",{key:Ye},Se.createElement("h1",null,Te.name),Se.createElement(ue.Z,{gutter:[10,10]},Te.data.map((lt,Fe)=>Se.createElement(le.Z,{key:Fe,onClick:()=>Ze(lt),className:xe.Z.diamond},Se.createElement(oe.Z,{value:"`$$"+lt.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Se.createElement(ue.Z,{className:xe.Z.lists,gutter:[10,10]},ze.map((ke,Re)=>Se.createElement(le.Z,{flex:"110px",className:xe.Z.item},Se.createElement("div",null,Se.createElement(oe.Z,{value:"`$$"+ke.value+"$$`"}),ke.name),Se.createElement("div",{className:xe.Z.children},ke.children.map((Te,Ye)=>Se.createElement("div",{key:Ye},Te.name&&Se.createElement("h1",null,Te.name),Se.createElement(ue.Z,{gutter:[10,10]},Te.data.map((lt,Fe)=>Se.createElement(le.Z,{key:Fe,onClick:()=>Ze(lt),className:xe.Z.diamond},Se.createElement(oe.Z,{value:"`$$"+lt.value+"$$`"}))))))))))}],Pe=()=>{var ke=document.createElement("div");ke.innerHTML=qe.current.getValue();var Re=ke.innerText;return Ve&&Ve(Re),Re};return(0,b.useImperativeHandle)(Ke,()=>({getData:Pe})),Se.createElement("div",{className:xe.Z.mathWrap},Se.createElement(ce.default,{defaultActiveKey:"1",items:Le}),Se.createElement("math-field",{locale:"zh_cn",className:xe.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:qe,style:{width:800,marginTop:30,fontSize:18}},ct||""),Ae&&Se.createElement("div",{className:xe.Z.button},Se.createElement(ge.ZP,{size:"large",onClick:Pe,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});ne.Z=he},66052:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return Ae}});var b=E(59301),ue=E(28284),le=E(62957),ce=E(37568),ge=E(87169),oe=E(82093),xe={publicQuest:"publicQuest___iYvzo",publicQuestContent:"publicQuestContent___vgbKh",public_tips:"public_tips___UX0Dn",concat:"concat___wOfND"},Oe=E(54579),Se=E(59301),he=(ct,Ke,qe)=>new Promise((Me,ze)=>{var Ze=ke=>{try{Pe(qe.next(ke))}catch(Re){ze(Re)}},Le=ke=>{try{Pe(qe.throw(ke))}catch(Re){ze(Re)}},Pe=ke=>ke.done?Me(ke.value):Promise.resolve(ke.value).then(Ze,Le);Pe((qe=qe.apply(ct,Ke)).next())}),Ae=({type:ct="subject",open:Ke,onCancel:qe,onOkClick:Me,subDisciplineId:ze})=>{const[Ze]=ue.default.useForm(),[Le,Pe]=(0,b.useState)([]),[ke,Re]=(0,b.useState)(!1);(0,b.useEffect)(()=>{},[]);const Te=()=>he(void 0,null,function*(){if(ct){const Ye=yield(0,oe.ZP)("/api/disciplines.json",{method:"get",params:{source:ct}});Pe(Ye.disciplines||[])}});return Se.createElement(le.default,{title:Se.createElement("div",{style:{fontWeight:"bold"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9"),open:Ke,width:558,centered:!0,className:xe.publicQuest,onCancel:()=>{qe(),Ze.resetFields()},onOk:()=>{Ze.validateFields().then(Ye=>he(void 0,null,function*(){const lt=yield(0,oe.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:Ye==null?void 0:Ye.name,sub_discipline_id:ze}});(lt==null?void 0:lt.status)===0&&Me({name:Ye==null?void 0:Ye.name,id:lt==null?void 0:lt.tag_discipline_id,public:!1,type:"personal"}),Ze.resetFields(),qe()}))}},Se.createElement("div",{className:xe.publicQuestContent},Se.createElement("div",{className:xe.public_tips},Se.createElement(ge.Z,{style:{color:"#FF8C29",marginRight:10,paddingTop:5}}),"\u65B0\u5EFA\u7684\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u5E73\u53F0\u5BA1\u6838\u5217\u5165\u516C\u5F00\u77E5\u8BC6\u70B9\u540E\uFF0C\u5BF9\u6240\u6709\u7528\u6237\u53EF\u89C1\u3002 \u5E73\u53F0\u6709\u6743\u5220\u9664\u4E0D\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF0C\u8BF7\u8BA4\u771F\u586B\u5199\u77E5\u8BC6\u70B9\u540D\u79F0\u3002"),Se.createElement(ue.default,{labelAlign:"left",form:Ze,colon:!1},Se.createElement(ue.default.Item,{label:"\u77E5\u8BC6\u70B9\u540D\u79F0",name:"name",rules:[{required:!0}]},Se.createElement(ce.default,{showCount:!0,maxLength:20,placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0"}))),Se.createElement(Oe.Z,{open:ke,onCancel:()=>{Re(!1)}})))}},57884:function(me,ne,E){"use strict";var b=E(59301),ue=E(93314),le=E(99571),ce=Object.defineProperty,ge=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,he=(Ke,qe,Me)=>qe in Ke?ce(Ke,qe,{enumerable:!0,configurable:!0,writable:!0,value:Me}):Ke[qe]=Me,Ve=(Ke,qe)=>{for(var Me in qe||(qe={}))Oe.call(qe,Me)&&he(Ke,Me,qe[Me]);if(xe)for(var Me of xe(qe))Se.call(qe,Me)&&he(Ke,Me,qe[Me]);return Ke},Ae=(Ke,qe)=>ge(Ke,oe(qe));const ct=({img:Ke,buttonProps:qe={},styles:Me={},customText:ze,ButtonText:Ze,ButtonClick:Le,Buttonclass:Pe,ButtonTwo:ke,imgStyles:Re,loading:Te=!1,className:Ye=""})=>b.createElement("section",{className:`tc animated fadeIn ${Ye}`,style:Ve({color:"#999",margin:"100px auto",visibility:Te?"hidden":"visible"},Me)},b.createElement("img",{src:Ke||ue,style:Ae(Ve({},Re),{pointerEvents:"none",userSelect:"none"})}),b.createElement("p",{className:"mt20 font14"},ze||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),Ze&&b.createElement(le.ZP,Ve({className:Pe,onClick:Le},qe),Ze),ke&&ke);ne.Z=ct},41550:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return Pe}});var b=E(59301),ue={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},le=E(99571),ce=E(70557),ge=E(51124),oe=E(25399),xe=E(49661),Oe=E(72664),Se=E(57884),he=E(90524),Ve=E(14794),Ae=E(59301),ct=Object.defineProperty,Ke=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,ze=(ke,Re,Te)=>Re in ke?ct(ke,Re,{enumerable:!0,configurable:!0,writable:!0,value:Te}):ke[Re]=Te,Ze=(ke,Re)=>{for(var Te in Re||(Re={}))qe.call(Re,Te)&&ze(ke,Te,Re[Te]);if(Ke)for(var Te of Ke(Re))Me.call(Re,Te)&&ze(ke,Te,Re[Te]);return ke},Le=(ke,Re,Te)=>new Promise((Ye,lt)=>{var Fe=Ue=>{try{$e(Te.next(Ue))}catch(Xe){lt(Xe)}},tt=Ue=>{try{$e(Te.throw(Ue))}catch(Xe){lt(Xe)}},$e=Ue=>Ue.done?Ye(Ue.value):Promise.resolve(Ue.value).then(Fe,tt);$e((Te=Te.apply(ke,Re)).next())}),Pe=({editOffice:ke="view",data:Re,issaver:Te,onSaver:Ye,theme:lt,type:Fe,filename:tt,monacoEditor:$e,className:Ue,style:Xe,close:et,onClose:rt,hasMask:ht,disabledDownload:kt,onImgDimensions:St,showNodata:Gt,recordInfo:nt})=>{const[je,Be]=(0,b.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[wt,Ot]=(0,b.useState)(""),[ot,zt]=(0,b.useState)(),Ut=window.ENV==="build"?"/react/build":"",pn=location.host.startsWith("localhost")?he.Z.PROXY_SERVER:he.Z.API_SERVER,Yt=10*(1024*1024),Bt=(0,b.useRef)();Re!=null&&Re.startsWith("/api")&&Fe!=="txt"&&(Re=he.Z.API_SERVER+Re);const $t=Ee=>Ee.substring(Ee.lastIndexOf("/")+1).split(".").pop();tt&&$e&&($e.filename=tt),(0,b.useEffect)(()=>{var Ee,De;const fe=(De=(Ee=document.cookie)==null?void 0:Ee.replace(/\s/g,""))==null?void 0:De.split(";");fe==null||fe.map(Qe=>{let Mt=Qe.split("=");Mt[0]==="_educoder_session"&&Ot(Mt[1])})},[]),(0,b.useEffect)(()=>{Fe==="office"&&(Re.indexOf("bigfilescdn.")>-1||Re.indexOf("bigfiles1")>-1?zt({url:Re,fileType:$t(Re),model:Re.indexOf("model=edit")?"edit":"view"}):Ie())},[Fe,Re]);function cn(Ee){return Le(this,null,function*(){Ee.data.type==="pdfdata"&&(Ye(Ee.data.data),window.removeEventListener("message",cn,!1)),console.log("mess---:",Ee.data)})}const Ie=()=>Le(void 0,null,function*(){console.log("data:",Re);let Ee=Re;Re.startsWith("http")||(Ee=location.origin+Ee);let De=new URL(Ee).pathname.split("/").pop();const fe=yield(0,Oe.gJ)({attachment_id:De});fe.url=pn+fe.url,zt(fe)}),pe=()=>{if(Re.startsWith("http")||Re.startsWith("blob:")){de();return}(0,xe.Sv)(tt||"educoder",Re,tt)},de=()=>{nt&&(0,Ve.fc)({id:nt==null?void 0:nt.id,watch_type:1,course_id:nt==null?void 0:nt.course_id}),(0,xe.Nd)(tt||"educoder",decodeURIComponent(Re))};return Ae.createElement("div",{style:Ze({},Xe||{}),className:`${ht&&ue.bgBlack} ${Fe?ue.wrp:"hide"}`},et&&Ae.createElement("div",{className:ue.close,ref:Bt},!!St&&Ae.createElement(oe.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Bt.current},Ae.createElement("span",{onClick:()=>{rt(),St()}},Ae.createElement("i",{className:"icon-yulanpizhu"}))),!kt&&Ae.createElement(oe.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Bt.current},Ae.createElement("span",{onClick:de},Ae.createElement("i",{className:"icon-quxiaozhiding"}))),Te&&Ae.createElement(oe.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>Bt.current},Ae.createElement("span",{className:"",onClick:()=>{const Ee=document.getElementById("pdfiframe");window.addEventListener("message",cn,!1),setTimeout(()=>{Ee.contentWindow.postMessage("getData","*")},300)}},Ae.createElement("i",{className:"icon-baocun"}))),Ae.createElement(oe.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Bt.current},Ae.createElement("span",{className:"",onClick:()=>{rt()}},Ae.createElement("i",{className:"icon-guanbi1"})))),Ae.createElement("div",{className:`${ue[Ue]} ${Ue} ${ue.monaco} ${Fe==="txt"?"show":"hide"}`},Fe==="txt"&&Ae.createElement(Ae.Fragment,null,Ae.createElement(ge.ZP,Ze({},$e)))),Fe==="audio"&&Ae.createElement("audio",{src:`${(Re==null?void 0:Re.indexOf("http://"))>-1||(Re==null?void 0:Re.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${Re}`,autoPlay:!0}),Fe==="video"&&Ae.createElement(Ae.Fragment,null,(Re==null?void 0:Re.indexOf("http"))>-1?Ae.createElement("video",{controls:!0,src:`${Re}`,autoPlay:!0}):Ae.createElement("video",{controls:!0,src:`data:video/mp4;base64,${Re}`,autoPlay:!0})),Fe==="office"&&ot&&Ae.createElement("iframe",{src:`${Ut}/office.html?key=${ot.key}&url=${btoa(ot.url)}&callbackUrl=${pn+(ot.callbackUrl||"")}&fileType=${ot.fileType}&title=${ot.title||""}&model=${ke}&officeServer=${he.Z.ONLYOFFICE}&disabledDownload=${!!kt}`}),Fe==="html"&&Ae.createElement("iframe",{src:Re+"&disposition=inline"}),Fe==="pdf"&&Ae.createElement("iframe",{id:"pdfiframe",src:`${Ut}/js/pdfview/index.html?filename=${tt||"educoder.pdf"}&url=${encodeURIComponent(Re)}&disabledDownload=${!!kt}&model=${ke}`}),Fe==="image"&&Ae.createElement("img",{src:`${(Re==null?void 0:Re.indexOf("http://"))>-1||(Re==null?void 0:Re.indexOf("https://"))>-1?"":"data:image/png;base64,"}${Re}`}),(Fe==="other"||Fe==="download")&&Ae.createElement(Ae.Fragment,null,Gt?Ae.createElement(Se.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:Ae.createElement(le.ZP,{icon:Ae.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:pe,disabled:kt},"\u4E0B\u8F7D")}):Ae.createElement(le.ZP,{type:"primary",size:"middle",onClick:pe,disabled:kt},Ae.createElement(ce.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),Fe==="flowChart"&&Ae.createElement("div",{className:"embed"},Ae.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${Re||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},65526:function(me,ne,E){"use strict";E.d(ne,{Q:function(){return Se},Z:function(){return Ve}});var b=E(59301),ue={flex_box_center:"flex_box_center___VcCAZ",flex_space_between:"flex_space_between___I3jjO",flex_box_vertical_center:"flex_box_vertical_center___Rm_54",flex_box_center_end:"flex_box_center_end___nTsdc",flex_box_column:"flex_box_column___UVpzN",tags:"tags___kRRoe",text:"text___IyyEa",tagWrap:"tagWrap___v63mB",tag:"tag___X7wE6",c:"c___mZMPq",cpp:"cpp___eaTie",java:"java___gL98T",python:"python___eNRkk",edit:"edit___tbVu0"},le=E(92310),ce=E.n(le),ge=E(62957),oe=E(6767),xe=E(62673),Oe=(Ae,ct,Ke)=>new Promise((qe,Me)=>{var ze=Pe=>{try{Le(Ke.next(Pe))}catch(ke){Me(ke)}},Ze=Pe=>{try{Le(Ke.throw(Pe))}catch(ke){Me(ke)}},Le=Pe=>Pe.done?qe(Pe.value):Promise.resolve(Pe.value).then(ze,Ze);Le((Ke=Ke.apply(Ae,ct)).next())});const Se=({title:Ae="\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00",dataSource:ct=[],visible:Ke,setVisible:qe,tip:Me,onOk:ze})=>{const[Ze,Le]=(0,b.useState)([]),[Pe,ke]=(0,b.useState)(!1);return(0,b.useEffect)(()=>{Ke&&Le(ct)},[Ke]),b.createElement(ge.default,{centered:!0,open:Ke,title:Ae,confirmLoading:Pe,width:564,onOk:()=>Oe(void 0,null,function*(){if(!Ze.length){oe.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00");return}ke(!0),yield ze(Ze),ke(!1)}),onCancel:()=>qe(!1)},!!Me&&b.createElement("div",{className:"c-grey-666 font16 mb10"},Me),b.createElement("div",{style:{background:"#F6F7F9",padding:"20px 20px 20px 26px"}},b.createElement(xe.default.Group,{value:Ze,options:[{label:"C\u8BED\u8A00",value:"C"},{label:"C++\u8BED\u8A00",value:"C++",style:{marginLeft:30}},{label:"Java\u8BED\u8A00",value:"Java",style:{marginLeft:30}},{label:"Python\u8BED\u8A00",value:"Python",style:{marginLeft:30}}],onChange:Re=>{Le(Re)}})))};var Ve=({title:Ae="\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00",className:ct,style:Ke={},onEdit:qe,dataSource:Me=[]})=>{const ze={C:b.createElement("div",{className:ue.c},"C"),"C++":b.createElement("div",{className:ue.cpp},"C++"),Java:b.createElement("div",{className:ue.java},"Java"),Python:b.createElement("div",{className:ue.python},"Python")};return b.createElement("div",{className:ce()(ue.tags,ct),style:Ke},!!Ae&&b.createElement("div",{className:ue.text},Ae),b.createElement("div",{className:ue.tagWrap},Me==null?void 0:Me.map(Ze=>b.createElement(b.Fragment,{key:Ze},ze[Ze]))),!!qe&&b.createElement("div",{onClick:qe,className:`iconfont icon-bianji_Hover ${ue.edit}`}))}},51110:function(me,ne,E){"use strict";E.d(ne,{t:function(){return de}});var b=E(59301),ue=E(37568),le=E(28284),ce=E(62957),ge=E(77019),oe=E(5269),xe=E(71051),Oe=E(82326),Se=E(47889),he=E(54657),Ve=E(76560),Ae=E(69092),ct=E(6767),Ke=E(99571),qe=E(29787),Me=E(24334),ze={flex_box_center:"flex_box_center___kOQ8P",flex_space_between:"flex_space_between___fY6jt",flex_box_vertical_center:"flex_box_vertical_center___bDSSI",flex_box_center_end:"flex_box_center_end___mQ6mU",flex_box_column:"flex_box_column___F15G0",result:"result___UYRo8",left:"left___TRaH5",right:"right___twp9s",box:"box___vwndt",li:"li___hRe2d"},Ze=E(82093),Le=E(50582),Pe=E(2978),ke=E(56102),Re=E(55956),Te=E(59301),Ye=Object.defineProperty,lt=Object.defineProperties,Fe=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,Xe=(Ee,De,fe)=>De in Ee?Ye(Ee,De,{enumerable:!0,configurable:!0,writable:!0,value:fe}):Ee[De]=fe,et=(Ee,De)=>{for(var fe in De||(De={}))$e.call(De,fe)&&Xe(Ee,fe,De[fe]);if(tt)for(var fe of tt(De))Ue.call(De,fe)&&Xe(Ee,fe,De[fe]);return Ee},rt=(Ee,De)=>lt(Ee,Fe(De)),ht=(Ee,De,fe)=>new Promise((Qe,Mt)=>{var an=Ft=>{try{gt(fe.next(Ft))}catch(Lt){Mt(Lt)}},Sn=Ft=>{try{gt(fe.throw(Ft))}catch(Lt){Mt(Lt)}},gt=Ft=>Ft.done?Qe(Ft.value):Promise.resolve(Ft.value).then(an,Sn);gt((fe=fe.apply(Ee,De)).next())}),St=({buttonProps:Ee,buttonText:De,form:fe,hackIdentifier:Qe="",answerKey:Mt,data:an})=>{const[Sn,gt]=(0,b.useState)(!1),[Ft,Lt]=(0,b.useState)(!1),[Jt,fn]=(0,b.useState)(!1),[Zt,mt]=(0,b.useState)({}),[tn,Ct]=(0,b.useState)(""),[Rt,vt]=(0,b.useState)(""),jt=(0,b.useRef)(Qe),At=(0,b.useRef)(""),Je=(0,b.useRef)(!1);(0,b.useEffect)(()=>{Jt&&Ln()},[Jt]),(0,b.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const un=()=>new Date().getTime(),gn=an==null?void 0:an.code,Et=()=>{var Vt,dr;let qn=gn?an==null?void 0:an.code:(Vt=fe.getFieldValue("hack_codes"))==null?void 0:Vt.code,xn=gn?an==null?void 0:an.answer_content:fe.getFieldValue(Mt),zn=gn?an==null?void 0:an.input:(dr=fe.getFieldValue("hack_sets"))==null?void 0:dr.input;xn==null||xn.forEach(cr=>{const ir=cr.value||cr.answer_text||"";qn=qn.replace(/(@▁@|@▁▁@)/,ir)}),vt(zn),Ct(qn),mt({}),fn(!0)},Ln=()=>ht(void 0,null,function*(){var Vt,dr,qn,xn;const zn=un(),cr=gn?an==null?void 0:an.time_limit:(Vt=fe.getFieldsValue())==null?void 0:Vt.hack.time_limit,ir=gn?(dr=an==null?void 0:an.answer_content)==null?void 0:dr.length:(xn=(qn=fe.getFieldsValue())==null?void 0:qn.standard_answers)==null?void 0:xn.length;gt(!0),yield(0,Le.bM)(At.current,{test_hack_code:tn,test_input:Rt});function Gn(){return ht(this,null,function*(){const{status:Yn,data:nn}=yield(0,Le.rX)(At.current,"submit"),Nn=un()-zn>(cr+3)*1e3*ir;if(Je.current){if(Nn){ct.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),gt(!1);return}if(Yn===0){gt(!1),mt(rt(et({},nn),{showText:!0}));return}setTimeout(Gn,1e3)}})}Gn()}),ar=()=>ht(void 0,null,function*(){var Vt,dr,qn,xn,zn,cr,ir;if(!an){try{yield fe.validateFields()}catch(An){(qn=(dr=(Vt=An==null?void 0:An.errorFields)==null?void 0:Vt[0])==null?void 0:dr.name)!=null&&qn.includes("standard_answers")?ct.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):ct.ZP.error(An.errorFields[0].errors[0]),fe.scrollToField(An.errorFields[0].name,{behavior:"smooth",block:"center"});return}Lt(!0);let Yn="";const nn=fe.getFieldsValue();jt.current?Yn=yield(0,Ze.ZP)(`/api/problems/${jt.current}.json`,{method:"put",body:rt(et({},nn),{hack:rt(et({},nn==null?void 0:nn.hack),{sub_discipline_id:(ir=(cr=nn==null?void 0:nn.hack)==null?void 0:cr.sub_discipline_id)==null?void 0:ir[1],difficult:nn.difficulty,item_banks_group_id:nn.item_banks_group_id}),hack_codes:rt(et({},nn.hack_codes),{code:Me.Base64.encode(nn.hack_codes.code)}),update_hack_sets:[et({},nn.hack_sets)],is_blank:!0,item_type:"BPROGRAM"})}):(Yn=yield(0,Ze.ZP)("/api/problems.json",{method:"post",body:rt(et({},nn),{hack:rt(et({},nn==null?void 0:nn.hack),{sub_discipline_id:(zn=(xn=nn==null?void 0:nn.hack)==null?void 0:xn.sub_discipline_id)==null?void 0:zn[1],difficult:nn.difficulty,item_banks_group_id:nn.item_banks_group_id}),hack_codes:rt(et({},nn.hack_codes),{code:Me.Base64.encode(nn.hack_codes.code)}),hack_sets:[et({},nn.hack_sets)],is_blank:!0,item_type:"BPROGRAM"})}),jt.current=Yn==null?void 0:Yn.identifier,sessionStorage.projectFill=Yn==null?void 0:Yn.identifier)}const Gn=yield(0,Ze.ZP)(`/api/problems/${jt.current}/start.json`,{method:"get"});if((Gn==null?void 0:Gn.status)===0){At.current=Gn==null?void 0:Gn.identifier,Je.current=!0,Lt(!1),Et();return}Lt(!1)}),Hn=Vt=>{const{status:dr,error_msg:qn,execute_time:xn,output:zn,input:cr,expected_output:ir}=Vt;let Gn=null;switch(dr){case Re.h.OK:Gn=Te.createElement(Te.Fragment,null,Te.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",xn/1e3,"\u79D2"),Te.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case Re.h.NOMATCH:Gn=Te.createElement(Te.Fragment,null,Te.createElement("div",null,"\u8F93\u5165\uFF1A"),Te.createElement("pre",{style:{fontFamily:"initial"}},cr),Te.createElement("div",null,"\u8F93\u51FA\uFF1A"),Te.createElement("pre",{style:{fontFamily:"initial"}},zn&&Me.Base64.decode(zn)),Te.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),Te.createElement("pre",{style:{fontFamily:"initial"}},ir&&Me.Base64.decode(ir)));break;case Re.h.EXECUTEFAILURE:Gn=Te.createElement(Te.Fragment,null,Te.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",Te.createElement("pre",null,cr)),Te.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),Te.createElement("pre",{className:"error"},Me.Base64.decode(qn)));break;case Re.h.COMPILEFAILURE:Gn=Te.createElement(Te.Fragment,null,Te.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",Te.createElement("pre",null,cr)),Te.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),Te.createElement("pre",{className:"error"},Me.Base64.decode(qn)));break;case Re.h.PODFAILURE:Gn=Te.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case Re.h.TIMEOUT:Gn=Te.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return Te.createElement(Te.Fragment,null," ",Gn," ")};return Te.createElement("div",null,Te.createElement(Ke.ZP,rt(et({loading:Ft},Ee),{onClick:ar}),De),Te.createElement(ce.default,{open:Jt,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:Sn,cancelButtonProps:{style:{display:"none"}},onOk:()=>Ln(),onCancel:()=>{Je.current=!1,fn(!1)}},Te.createElement("div",{className:ze.result},Te.createElement("div",{className:ze.left},Te.createElement("div",{className:"mb20"},Te.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!an&&Te.createElement(ke.CopyToClipboard,{text:tn,onCopy:()=>ct.ZP.success("\u590D\u5236\u6210\u529F")},Te.createElement("span",{style:{float:"right"},className:"current c-light-primary"},Te.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),Te.createElement(Pe.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:tn,onChange:Vt=>Ct(Vt)})),Te.createElement("div",{className:ze.right},Te.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),Te.createElement("div",{className:ze.box},Te.createElement("div",{className:ze.li},Te.createElement(ue.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:Rt,onChange:Vt=>vt(Vt.target.value),bordered:!1,style:{height:180}}))),Te.createElement("div",{className:"c-black mb20 mt30"},"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"),Te.createElement("div",{className:ze.box},Te.createElement(qe.Z,{spinning:Sn,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},Te.createElement("div",{className:ze.li,style:{height:196,overflow:"auto",padding:10}},Hn(Zt))))))))},Gt=E(87169),nt=E(59301),je=Object.defineProperty,Be=Object.defineProperties,wt=Object.getOwnPropertyDescriptors,Ot=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,zt=Object.prototype.propertyIsEnumerable,Ut=(Ee,De,fe)=>De in Ee?je(Ee,De,{enumerable:!0,configurable:!0,writable:!0,value:fe}):Ee[De]=fe,pn=(Ee,De)=>{for(var fe in De||(De={}))ot.call(De,fe)&&Ut(Ee,fe,De[fe]);if(Ot)for(var fe of Ot(De))zt.call(De,fe)&&Ut(Ee,fe,De[fe]);return Ee},bt=(Ee,De)=>Be(Ee,wt(De)),Yt=(Ee,De)=>{var fe={};for(var Qe in Ee)ot.call(Ee,Qe)&&De.indexOf(Qe)<0&&(fe[Qe]=Ee[Qe]);if(Ee!=null&&Ot)for(var Qe of Ot(Ee))De.indexOf(Qe)<0&&zt.call(Ee,Qe)&&(fe[Qe]=Ee[Qe]);return fe};const{TextArea:Bt}=ue.default,$t=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],cn=({value:Ee,onChange:De})=>nt.createElement(Switch,{checked:Ee,onChange:fe=>{De(fe)}}),Ie="@\u2581@",pe="@\u2581\u2581@",de=({questionTitlePlaceholder:Ee,form:De,scoreByBlank:fe=!1,hackidentifier:Qe,answerKey:Mt})=>{const[an,Sn]=(0,b.useState)(!1),[gt,Ft]=(0,b.useState)(!1),Jt=(0,Ve.useParams)().type==="edit",fn=(At,Je)=>{const un=Je.line;let gn=0;for(let Ln=0;Ln<un;Ln++)gn+=At.getLine(Ln).split(Ie).length-1;for(let Ln=0;Ln<un;Ln++)gn+=At.getLine(Ln).split(pe).length-1;const Et=At.getLine(un).substring(0,Je.ch);return gn+=Et.split(Ie).length-1,gn+=Et.split(pe).length-1,gn},Zt=(At,Je,un,gn)=>{const Et=At.getRange(Je.from,Je.to);let Ln=0;if(Je.text.forEach(ar=>{Ln+=ar.split(Ie).length-1}),Je.text.forEach(ar=>{Ln+=ar.split(pe).length-1}),Je.origin!=="setValue"){if(Et&&(Et.indexOf(Ie)!==-1||Et.indexOf(pe)!==-1)){const ar=Et.split(Ie).length-1+Et.split(pe).length-1,Hn=fn(At,Je.from);if(console.log(`\u5220\u9664${ar}\u4E2A\uFF0C \u524D\u9762\u6709${Hn}\u4E2A\uFF0C\u65B0\u589E${Ln}\u4E2A`),ar>1){const Vt=Array.from({length:ar},(dr,qn)=>Hn+qn);gn(Vt)}else gn(Hn)}else if(Ln>0){const ar=fn(At,Je.from);console.log(`\u65B0\u589E${Ln}\u4E2A\uFF0C\u4E4B\u524D\u6709${ar}\u4E2A`),un(Ln,ar)}}},mt=()=>{const At=De.getFieldValue(Mt);De.setFieldsValue({[Mt]:At==null?void 0:At.map((Je,un)=>bt(pn({},Je),{position:un+1}))})},tn=(0,b.useRef)(),Ct=(At,Je)=>{for(let un=0;un<At;un++)tn.current({position:null,answer_text:""},Je+un);mt()},Rt=(0,b.useRef)(),vt=At=>{Rt.current(At),mt()},jt=le.default.useWatch(Mt,De);return nt.createElement("div",{className:Ae.Z.wrap},nt.createElement(le.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},nt.createElement(he.h,{scrollId:"name",watch:!0,height:140})),nt.createElement("div",{className:Ae.Z.questionTitleEditorWrap},nt.createElement(le.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},nt.createElement(he.h,{scrollId:"name",watch:!0,height:400,showNullProgramButton:!0,onChange:(At,Je)=>{const un=De.getFieldValue(Mt);console.log("--preAnswerData",un,Je),De.setFieldsValue({[Mt]:un==null?void 0:un.map((gn,Et)=>{var Ln;return bt(pn({},gn),{position:Et+1,multi_line:(Ln=Je==null?void 0:Je[Et])==null?void 0:Ln.multiLine})})})},placeholder:Ee,onCMBeforeChange:(At,Je)=>{Zt(At,Je,Ct,vt)}}))),nt.createElement(le.default.List,{name:Mt,rules:[{validator(At,Je){if(!(Je!=null&&Je.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const un of Je){const{answer_text:gn}=un||{};if((gn==null?void 0:gn.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(At,{add:Je,remove:un},{errors:gn})=>(tn.current=Je,Rt.current=un,nt.createElement(nt.Fragment,null,nt.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},nt.createElement(le.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),nt.createElement("div",{onClick:()=>{ce.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:nt.createElement("div",null,nt.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",nt.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),nt.createElement("div",{style:{marginTop:10}},"2.\u8BD5\u9898\u7B97\u5206\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u5C06\u7A0B\u5E8F\u91CC\u9762\u7684\u6240\u6709\u7A7A\u66FF\u6362\u6210\u5B66\u751F\u7684\u7B54\u6848\u8FDB\u884C\u8BC4\u6D4B\u3002\u8F93\u51FA\u7684\u7ED3\u679C\u4E0E\u6D4B\u8BD5\u96C6\u6BD4\u5BF9\uFF0C\u5B8C\u5168\u6B63\u786E\u5219\u5F97\u6EE1\u5206\uFF1B\u82E5\u4E0D\u5B8C\u5168\u6B63\u786E\uFF0C\u5219\u4F9D\u6B21\u5C06\u6BCF\u4E2A\u7A7A\u6362\u6210\u5B66\u751F\u63D0\u4EA4\u7684\u7B54\u6848\uFF0C\u540C\u65F6\u5C06\u5176\u4ED6\u7A7A\u66FF\u6362\u6210\u6807\u51C6\u7B54\u6848\uFF0C\u8FD0\u884C\u7A0B\u5E8F\u3002\u5982\u679C\u8FD9\u4E2A\u7A7A\u7684\u5B66\u751F\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7ED3\u5408\u80FD\u5F97\u5230\u6B63\u786E\u8F93\u51FA\uFF0C\u5219\u8FD9\u4E2A\u7A7A\u5F97\u5230\u8BE5\u7A7A\u7684\u6EE1\u5206\uFF0C\u5426\u5219\u8BE5\u7A7A\u5F970\u5206\u3002"))})},style:{minHeight:32,color:"#3061D0",cursor:"pointer"}},nt.createElement(Gt.Z,{style:{marginRight:3,color:"#3061D0"}}),nt.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),At.map((Et,Ln)=>{var ar=Et,{key:Hn,name:Vt}=ar,dr=Yt(ar,["key","name"]),qn,xn;return nt.createElement(ge.Z,{className:"mb20",key:Hn,align:"middle",wrap:!1},nt.createElement(oe.Z,{flex:"0 0 auto",className:`${Ae.Z.blankIndex}`},"\u586B\u7A7A\u9879",Ln+1),nt.createElement(oe.Z,{flex:1},nt.createElement(ge.Z,{align:"top",justify:"space-between",wrap:!1},nt.createElement(oe.Z,null,nt.createElement(le.default.Item,bt(pn({},dr),{name:[Vt,"answer_text"],noStyle:!0}),(qn=jt==null?void 0:jt[Vt])!=null&&qn.multi_line||(xn=jt==null?void 0:jt[Vt])!=null&&xn.multiLine?nt.createElement(Bt,{spellCheck:!1,style:{marginLeft:10,width:550}}):nt.createElement(ue.default,{style:{marginLeft:10,width:550},className:Ae.Z.blankInput,size:"large",maxLength:1e3,onBlur:zn=>{}}))),fe&&nt.createElement(oe.Z,{flex:"224px"},nt.createElement(le.default.Item,bt(pn({},dr),{name:[Vt,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),nt.createElement(xe.Z,{size:"large",className:Ae.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),nt.createElement("div",{onClick:()=>Sn(!0)},nt.createElement(le.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},nt.createElement(he.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:an}))),nt.createElement(le.default.Item,{label:"\u7F16\u7A0B\u8BED\u8A00",style:{marginTop:30},name:["hack_codes","language"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00"}]},nt.createElement(Oe.default,{size:"large"},$t.map(At=>nt.createElement(Oe.default.Option,{key:At.title,value:At.key}," ",At.title)))),nt.createElement(le.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},nt.createElement(le.default.Item,{name:["hack","time_limit"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"},{type:"number",min:3,message:"\u6700\u5C0F\u9650\u5236\u65F6\u95F4\u662F3\u79D2"}],noStyle:!0},nt.createElement(xe.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),nt.createElement("span",{className:"ml10 font14"},"\u79D2")),nt.createElement(le.default.Item,{label:"\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406",style:{marginTop:30},name:["hack","submit_rule"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406"}]},nt.createElement(Se.ZP.Group,{style:{marginTop:-10}},nt.createElement(Se.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),nt.createElement(Se.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),nt.createElement(Se.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),nt.createElement(le.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),nt.createElement("div",{style:{background:"#F6F7F9",padding:15}},nt.createElement(le.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},nt.createElement(Bt,{rows:4})),nt.createElement(le.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24},name:["hack_sets","output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},nt.createElement(Bt,{rows:4}))),nt.createElement(St,{form:De,answerKey:Mt,hackIdentifier:Qe,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:nt.createElement("i",{className:"iconfont icon-ceshi"}),style:{background:"rgba(55,173,131,0.05)",borderRadius:19,border:"1px solid #37AD83",width:116,height:38,display:"inline-flex",fontSize:14,alignItems:"center",justifyContent:"center",marginTop:20,cursor:"pointer",color:"#37AD83"}}}))}},82482:function(me,ne,E){"use strict";E.d(ne,{u:function(){return Te}});var b=E(59301),ue=E(77019),le=E(5269),ce=E(25399),ge=E(28284),oe=E(69092),xe=E(32134),Oe=E(12893),Se=E(54657),he=E(59301),Ve=Object.defineProperty,Ae=Object.defineProperties,ct=Object.getOwnPropertyDescriptors,Ke=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,ze=(Ye,lt,Fe)=>lt in Ye?Ve(Ye,lt,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):Ye[lt]=Fe,Ze=(Ye,lt)=>{for(var Fe in lt||(lt={}))qe.call(lt,Fe)&&ze(Ye,Fe,lt[Fe]);if(Ke)for(var Fe of Ke(lt))Me.call(lt,Fe)&&ze(Ye,Fe,lt[Fe]);return Ye},Le=(Ye,lt)=>Ae(Ye,ct(lt)),Pe=(Ye,lt)=>{var Fe={};for(var tt in Ye)qe.call(Ye,tt)&&lt.indexOf(tt)<0&&(Fe[tt]=Ye[tt]);if(Ye!=null&&Ke)for(var tt of Ke(Ye))lt.indexOf(tt)<0&&Me.call(Ye,tt)&&(Fe[tt]=Ye[tt]);return Fe};const ke=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],Re=({value:Ye,onChange:lt,choiceTextKey:Fe,answerKey:tt,index:$e,isEdit:Ue,setInputActive:Xe,form:et,choiceOptionsPath:rt,allowChangeMode:ht,showAddIcon:kt,addItem:St,deleteItem:Gt})=>{console.log(Ye,"value");const nt=(Ye==null?void 0:Ye[tt])===1,je=()=>{const wt=et.getFieldValue(rt);et.setFieldValue(rt,wt.map(Ot=>Le(Ze({},Ot),{[tt]:0})))},Be=()=>{nt?lt(Le(Ze({},Ye),{[tt]:0})):(ht||je(),lt(Le(Ze({},Ye),{[tt]:1})))};return he.createElement(ue.Z,{className:oe.Z.choiceWrap,align:"middle",wrap:!1},he.createElement(le.Z,{onClick:Be,className:`${oe.Z.choiceIndex} ${nt?oe.Z.activeAnswer:""}`},ke[$e]),he.createElement(le.Z,{flex:1,className:`${oe.Z.editorWrap} ml15`,onClick:Xe},he.createElement(Se.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:Ue,value:Ye==null?void 0:Ye[Fe],onChange:wt=>{lt(Le(Ze({},Ye),{[Fe]:wt}))}})),he.createElement(le.Z,{flex:"0 0 auto",className:"ml15"},he.createElement("div",{onClick:Be,className:`${oe.Z.setAnswerBtn} ${nt?oe.Z.activeAnswer:""}`},nt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),he.createElement(le.Z,{className:oe.Z.actionWrapper},he.createElement(ce.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},he.createElement(xe.Z,{className:oe.Z.addIcon,onClick:St,style:{visibility:kt?"visible":"hidden"}})),he.createElement(ce.Z,{title:"\u5220\u9664"},he.createElement(Oe.Z,{className:oe.Z.deleteIcon,onClick:Gt,style:{visibility:$e>1?"visible":"hidden"}}))))},Te=({questionTitlePlaceholder:Ye,titleKey:lt,choiceKey:Fe,analysisKey:tt,choiceTextKey:$e,answerKey:Ue,choiceOptionsPath:Xe,allowChangeMode:et=!0,form:rt,showAnalysis:ht=!0})=>{const[kt,St]=(0,b.useState)(),[Gt,nt]=(0,b.useState)(!1);return he.createElement("div",{className:oe.Z.wrap},he.createElement("div",{className:oe.Z.questionTitleEditorWrap},he.createElement(ge.default.Item,{label:"\u9898\u5E72",name:lt,labelCol:{span:24},rules:[{required:!0}]},he.createElement(Se.h,{scrollId:Array.isArray(lt)?lt.join("_"):`${lt}`,watch:!0,height:140,placeholder:Ye}))),he.createElement(ge.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),he.createElement(ge.default.List,{name:Fe,rules:[{validator(je,Be){const wt=Be.some(ot=>ot[Ue]===1),Ot=Be.findIndex(ot=>{var zt;return((zt=ot[$e])==null?void 0:zt.length)<=0});return Ot!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${ke[Ot]}\u9009\u9879\u7684\u5185\u5BB9`)):wt?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(je,{add:Be,remove:wt})=>he.createElement("div",{id:Array.isArray(Xe)?Xe.join("_"):`${Xe}`},je.map((Ot,ot)=>{var zt=Ot,{key:Ut,name:pn}=zt,bt=Pe(zt,["key","name"]);const Yt=kt===Ut,Bt=()=>{St(Ut)},$t=ot<7&&ot===je.length-1,cn=()=>Be({[$e]:"",[Ue]:0}),Ie=()=>wt(pn);return he.createElement(ge.default.Item,Le(Ze({},bt),{key:Ut,name:pn,className:oe.Z.choiceListWrap,rules:[{validator(pe,de){return de!=null&&de.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${ke[ot]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),he.createElement(Re,{choiceTextKey:$e,answerKey:Ue,index:ot,isEdit:Yt,setInputActive:Bt,form:rt,choiceOptionsPath:Xe,allowChangeMode:et,showAddIcon:$t,addItem:cn,deleteItem:Ie}))}),je.length<8&&he.createElement("div",{className:`${oe.Z.addBtn} mb30`,onClick:()=>Be({[$e]:"",[Ue]:0})},"\u6DFB\u52A0\u9009\u9879"))),ht&&he.createElement("div",{onClick:()=>nt(!0)},he.createElement(ge.default.Item,{name:tt,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},he.createElement(Se.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Gt}))))}},15460:function(me,ne,E){"use strict";E.d(ne,{u:function(){return et}});var b=E(59301),ue=E(62957),le=E(77019),ce=E(5269),ge=E(37568),oe=E(25399),xe=E(71411),Oe=E(28284),Se=E(47889),he=E(71051),Ve=E(54657),Ae=E(12893),ct=E(61485),Ke=E(69092),qe=E(65986),Me=E(59301),ze=Object.defineProperty,Ze=Object.defineProperties,Le=Object.getOwnPropertyDescriptors,Pe=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,Te=(rt,ht,kt)=>ht in rt?ze(rt,ht,{enumerable:!0,configurable:!0,writable:!0,value:kt}):rt[ht]=kt,Ye=(rt,ht)=>{for(var kt in ht||(ht={}))ke.call(ht,kt)&&Te(rt,kt,ht[kt]);if(Pe)for(var kt of Pe(ht))Re.call(ht,kt)&&Te(rt,kt,ht[kt]);return rt},lt=(rt,ht)=>Ze(rt,Le(ht)),Fe=(rt,ht)=>{var kt={};for(var St in rt)ke.call(rt,St)&&ht.indexOf(St)<0&&(kt[St]=rt[St]);if(rt!=null&&Pe)for(var St of Pe(rt))ht.indexOf(St)<0&&Re.call(rt,St)&&(kt[St]=rt[St]);return kt};const tt=({value:rt,onChange:ht})=>{const kt=Gt=>{ue.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:Ke.Z.modal,onOk:()=>{const nt=[...rt];nt.splice(Gt,1),ht(nt)}})},St=()=>{const Gt=[...rt];Gt.push(""),ht(Gt)};return Me.createElement(le.Z,{className:"ml20"},Me.createElement(ce.Z,{flex:1},rt==null?void 0:rt.map((Gt,nt)=>Me.createElement(le.Z,{key:`${Gt}_${nt}`,className:"mb20"},Me.createElement(ge.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:Gt,autoSize:{maxRows:3},maxLength:1e3,onBlur:je=>{const Be=[...rt],wt=je.target.value.trim();Be[nt]=wt,ht(Be)}}),Me.createElement(oe.Z,{title:"\u5220\u9664"},Me.createElement(Ae.Z,{className:Ke.Z.deleteIcon,style:{marginLeft:15,visibility:nt>0?"visible":"hidden"},onClick:()=>kt(nt)}))))),Me.createElement(ce.Z,null,Me.createElement("div",{className:`${Ke.Z.addBtn}`,onClick:()=>{St()}},"\u65B0\u589E\u7B54\u6848")))},$e=({value:rt,onChange:ht})=>{const kt=Gt=>{ue.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:Ke.Z.modal,onOk:()=>{const nt=[...rt];nt.splice(Gt,1),ht(nt)}})},St=()=>{const Gt=[...rt];Gt.push(""),ht(Gt)};return Me.createElement(le.Z,{className:"ml20"},Me.createElement(ce.Z,{flex:1},rt==null?void 0:rt.map((Gt,nt)=>Me.createElement(le.Z,{key:`${Gt}_${nt}`,align:"middle",className:"mb20"},Me.createElement(qe.Z,{value:Gt,style:{flex:1},onChange:je=>{const Be=[...rt];Be[nt]=je,ht(Be)}}),Me.createElement(oe.Z,{title:"\u5220\u9664"},Me.createElement(Ae.Z,{className:Ke.Z.deleteIcon,style:{marginLeft:15,visibility:nt>0?"visible":"hidden"},onClick:()=>kt(nt)}))))),Me.createElement(ce.Z,null,Me.createElement("div",{className:`${Ke.Z.addBtn}`,onClick:()=>{St()}},"\u65B0\u589E\u7B54\u6848")))},Ue=({value:rt=!0,onChange:ht})=>Me.createElement(xe.Z,{checked:!rt,onChange:kt=>{ht(!kt)}}),Xe="\u2581",et=({questionTitlePlaceholder:rt,form:ht,scoreByBlank:kt=!1,answerKey:St})=>{const[Gt,nt]=(0,b.useState)(!1),je=(bt,Yt)=>{const Bt=Yt.line;let $t=0;for(let Ie=0;Ie<Bt;Ie++)$t+=bt.getLine(Ie).split(Xe).length-1;const cn=bt.getLine(Bt).substring(0,Yt.ch);return $t+=cn.split(Xe).length-1,$t},Be=(bt,Yt,Bt,$t)=>{const cn=bt.getRange(Yt.from,Yt.to);let Ie=0;if(Yt.text.forEach(pe=>{Ie+=pe.split(Xe).length-1}),Yt.origin!=="setValue"){if(cn&&cn.indexOf(Xe)!==-1){const pe=cn.split(Xe).length-1,de=je(bt,Yt.from);if(console.log(`\u5220\u9664${pe}\u4E2A\uFF0C \u524D\u9762\u6709${de}\u4E2A\uFF0C\u65B0\u589E${Ie}\u4E2A`),pe>1){const Ee=Array.from({length:pe},(De,fe)=>de+fe);$t(Ee)}else $t(de)}else if(Ie>0){const pe=je(bt,Yt.from);console.log(`\u65B0\u589E${Ie}\u4E2A\uFF0C\u4E4B\u524D\u6709${pe}\u4E2A`),Bt(Ie,pe)}}},wt=()=>{const bt=ht.getFieldValue(St);ht.setFieldsValue({[St]:bt.map((Yt,Bt)=>lt(Ye({},Yt),{position:Bt+1}))})},Ot=(0,b.useRef)(),ot=(bt,Yt)=>{for(let Bt=0;Bt<bt;Bt++)Ot.current({position:null,answer_text:[""],model:1},Yt+Bt);wt()},zt=(0,b.useRef)(),Ut=bt=>{zt.current(bt),wt()},pn=Oe.default.useWatch(St,ht);return Me.createElement("div",{className:Ke.Z.wrap},Me.createElement("div",{className:Ke.Z.questionTitleEditorWrap},Me.createElement(Oe.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},Me.createElement(Ve.h,{scrollId:"name",watch:!0,height:140,placeholder:rt,showNullButton:!0,onCMBeforeChange:(bt,Yt)=>{Be(bt,Yt,ot,Ut)}}))),Me.createElement(Oe.default.List,{name:St,rules:[{validator(bt,Yt){if(!(Yt!=null&&Yt.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Bt of Yt){const{answer_text:$t}=Bt||{};if($t!=null&&$t.some(cn=>(cn==null?void 0:cn.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(bt,{add:Yt,remove:Bt},{errors:$t})=>(Ot.current=Yt,zt.current=Bt,Me.createElement(Me.Fragment,null,Me.createElement(Oe.default.Item,{label:Me.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(bt!=null&&bt.length)&&Me.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),bt.map((cn,Ie)=>{var pe=cn,{key:de,name:Ee}=pe,De=Fe(pe,["key","name"]),fe,Qe;return Me.createElement("div",{style:{marginBottom:10},key:de},Me.createElement(le.Z,{className:"mb20",align:"middle",wrap:!1},Me.createElement(ce.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${Ke.Z.blankIndex}`},"\u586B\u7A7A\u9879",Ie+1),Me.createElement(Oe.default.Item,lt(Ye({},De),{name:[Ee,"model"],noStyle:!0}),Me.createElement(Se.ZP.Group,{onChange:()=>{const Mt=ht.getFieldValue(St);ht.setFieldsValue({[St]:Mt.map((an,Sn)=>lt(Ye({},an),{answer_text:Ee===Sn?[""]:an.answer_text}))})}},Me.createElement(Se.ZP,{value:1},"\u6587\u672C\u6A21\u5F0F ",Me.createElement(oe.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6587\u672C\u7B54\u6848"},Me.createElement(ct.Z,null))),Me.createElement(Se.ZP,{value:2},"\u6570\u5B66\u516C\u5F0F\u6A21\u5F0F ",Me.createElement(oe.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u7F16\u5199\u6570\u5B66\u516C\u5F0F\u4F5C\u4E3A\u7B54\u6848"},Me.createElement(ct.Z,null)))))),Me.createElement(le.Z,{style:{marginLeft:20},align:"middle",wrap:!1},Me.createElement(ce.Z,{flex:1},Me.createElement(le.Z,{align:"top",justify:"space-between",wrap:!1},Me.createElement(ce.Z,{flex:1},Me.createElement(Oe.default.Item,lt(Ye({},De),{name:[Ee,"answer_text"],noStyle:!0}),((Qe=(fe=ht.getFieldValue(St))==null?void 0:fe[Ee])==null?void 0:Qe.model)===1?Me.createElement(tt,null):Me.createElement($e,null))),kt&&Me.createElement(ce.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},Me.createElement(Oe.default.Item,lt(Ye({},De),{name:[Ee,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Ke.Z.blankInputNumberWrapper}),Me.createElement(he.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),Me.createElement(Oe.default.Item,lt(Ye({},De),{name:[Ee,"position"],noStyle:!0}),Me.createElement(ge.default,{type:"hidden"})))))})))),Me.createElement(le.Z,{align:"middle"},Me.createElement(Oe.default.Item,{name:"downcase",valuePropName:"checked"},Me.createElement(xe.Z,null)),Me.createElement(ce.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),Me.createElement(le.Z,{align:"middle"},Me.createElement(Oe.default.Item,{name:"no_space",valuePropName:"checked"},Me.createElement(xe.Z,null)),Me.createElement(ce.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(pn==null?void 0:pn.length)>1&&Me.createElement(le.Z,{align:"middle",className:(pn==null?void 0:pn.length)>1?"mb30":`${Ke.Z.hide}`},Me.createElement(Oe.default.Item,{name:"is_ordered"},Me.createElement(Ue,null)),Me.createElement(ce.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),Me.createElement("div",{onClick:()=>nt(!0)},Me.createElement(Oe.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Me.createElement(Ve.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Gt}))))}},98815:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return Pe}});var b=E(59301),ue=E(77019),le=E(5269),ce=E(28284),ge=E(69092),oe=E(54657),xe=E(59301),Oe=Object.defineProperty,Se=Object.defineProperties,he=Object.getOwnPropertyDescriptors,Ve=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,ct=Object.prototype.propertyIsEnumerable,Ke=(ke,Re,Te)=>Re in ke?Oe(ke,Re,{enumerable:!0,configurable:!0,writable:!0,value:Te}):ke[Re]=Te,qe=(ke,Re)=>{for(var Te in Re||(Re={}))Ae.call(Re,Te)&&Ke(ke,Te,Re[Te]);if(Ve)for(var Te of Ve(Re))ct.call(Re,Te)&&Ke(ke,Te,Re[Te]);return ke},Me=(ke,Re)=>Se(ke,he(Re)),ze=(ke,Re)=>{var Te={};for(var Ye in ke)Ae.call(ke,Ye)&&Re.indexOf(Ye)<0&&(Te[Ye]=ke[Ye]);if(ke!=null&&Ve)for(var Ye of Ve(ke))Re.indexOf(Ye)<0&&ct.call(ke,Ye)&&(Te[Ye]=ke[Ye]);return Te};const Ze={\u6B63\u786E:"T",\u9519\u8BEF:"F"},Le=({value:ke,onChange:Re,form:Te})=>{const Ye=(ke==null?void 0:ke.is_answer)===1,lt=ke==null?void 0:ke.choice_text,Fe=()=>{const tt=Te.getFieldsValue().choices.map($e=>({choice_text:$e.choice_text,is_answer:0}));Te.setFieldsValue({choices:tt}),Re(Me(qe({},ke),{is_answer:1}))};return xe.createElement(ue.Z,{className:ge.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},xe.createElement(le.Z,{onClick:Fe,className:`${ge.Z.choiceIndex} ${ge.Z.judgementIndex} ${Ye?ge.Z.activeAnswer:""}`},Ze[lt]),xe.createElement(le.Z,{flex:1,className:`${ge.Z.editorWrap} ml15`},xe.createElement("div",{className:`${ge.Z.inputBorder} ${ge.Z.placeholder} ${Ye?ge.Z.activeJudgementAnswer:""}`},lt)),xe.createElement(le.Z,{flex:"0 0 auto",className:"ml15"},xe.createElement("div",{onClick:Fe,className:`${ge.Z.setAnswerBtn} ${Ye?ge.Z.activeAnswer:""}`},Ye?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},Pe=({questionTitlePlaceholder:ke,choiceKey:Re,form:Te})=>{const[Ye,lt]=(0,b.useState)(!1);return xe.createElement("div",{className:ge.Z.wrap},xe.createElement("div",{className:ge.Z.questionTitleEditorWrap},xe.createElement(ce.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},xe.createElement(oe.h,{scrollId:"name",watch:!0,height:140,placeholder:ke}))),xe.createElement(ce.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},xe.createElement(ce.default.List,{name:"choices",rules:[{validator(Fe,tt){return tt.some(Ue=>(Ue==null?void 0:Ue.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Fe=>xe.createElement("div",{id:"choices"},Fe.map(tt=>{var $e=tt,{key:Ue,name:Xe}=$e,et=ze($e,["key","name"]);return xe.createElement(ce.default.Item,Me(qe({},et),{key:Ue,name:Xe,noStyle:!0}),xe.createElement(Le,{form:Te}))})))),xe.createElement("div",{onClick:()=>lt(!0)},xe.createElement(ce.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},xe.createElement(oe.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ye}))))}},54657:function(me,ne,E){"use strict";E.d(ne,{h:function(){return qe},x:function(){return Me}});var b=E(2978),ue=E(69092),le=E(38394),ce=E(59301),ge=Object.defineProperty,oe=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,Ve=(ze,Ze,Le)=>Ze in ze?ge(ze,Ze,{enumerable:!0,configurable:!0,writable:!0,value:Le}):ze[Ze]=Le,Ae=(ze,Ze)=>{for(var Le in Ze||(Ze={}))Se.call(Ze,Le)&&Ve(ze,Le,Ze[Le]);if(Oe)for(var Le of Oe(Ze))he.call(Ze,Le)&&Ve(ze,Le,Ze[Le]);return ze},ct=(ze,Ze)=>oe(ze,xe(Ze)),Ke=(ze,Ze)=>{var Le={};for(var Pe in ze)Se.call(ze,Pe)&&Ze.indexOf(Pe)<0&&(Le[Pe]=ze[Pe]);if(ze!=null&&Oe)for(var Pe of Oe(ze))Ze.indexOf(Pe)<0&&he.call(ze,Pe)&&(Le[Pe]=ze[Pe]);return Le};const qe=ze=>{var Ze=ze,{value:Le,onChange:Pe,scrollId:ke}=Ze,Re=Ke(Ze,["value","onChange","scrollId"]);return ce.createElement("div",{id:ke||""},ce.createElement(b.Z,ct(Ae({},Re),{defaultValue:Le,onChange:(Te,Ye)=>{Ye!=null&&Ye.length?Pe(Te,Ye):Pe(Te)}})))},Me=({value:ze,onChange:Ze,placeholder:Le,height:Pe=140,isEdit:ke,miniToolbar:Re,watch:Te=!0})=>ke?ce.createElement(b.Z,{watch:Te,isFocus:!0,height:Pe||void 0,placeholder:Le,defaultValue:ze,onChange:Ze,miniToolbar:Re}):ce.createElement("div",{style:{cursor:"pointer"}},ze?ce.createElement(le.Z,{className:ue.Z.inputBorder,value:ze}):ce.createElement("div",{className:`${ue.Z.inputBorder} ${ue.Z.placeholder} inputBorderError`},Le))},84635:function(me,ne,E){"use strict";E.d(ne,{W:function(){return $e}});var b=E(59301),ue=E(6767),le=E(96599),ce=E(28284),ge=E(71411),oe=E(77019),xe=E(5269),Oe=E(25399),Se=E(37568),he=E(71051),Ve=E(69092),Ae=E(54657),ct=E(2978),Ke=E(61485),qe=Object.defineProperty,Me=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertySymbols,Le=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,ke=(Ue,Xe,et)=>Xe in Ue?qe(Ue,Xe,{enumerable:!0,configurable:!0,writable:!0,value:et}):Ue[Xe]=et,Re=(Ue,Xe)=>{for(var et in Xe||(Xe={}))Le.call(Xe,et)&&ke(Ue,et,Xe[et]);if(Ze)for(var et of Ze(Xe))Pe.call(Xe,et)&&ke(Ue,et,Xe[et]);return Ue},Te=(Ue,Xe)=>Me(Ue,ze(Xe)),Ye=(Ue,Xe)=>{var et={};for(var rt in Ue)Le.call(Ue,rt)&&Xe.indexOf(rt)<0&&(et[rt]=Ue[rt]);if(Ue!=null&&Ze)for(var rt of Ze(Ue))Xe.indexOf(rt)<0&&Pe.call(Ue,rt)&&(et[rt]=Ue[rt]);return et};const lt=Ue=>{var Xe=Ue,{value:et,onChange:rt}=Xe,ht=Ye(Xe,["value","onChange"]);const kt=St=>{rt([St])};return b.createElement(ct.Z,Te(Re({},ht),{defaultValue:et==null?void 0:et[0],onChange:kt}))},Fe=Ue=>{if(!Ue)return!1;if(/^s*$/.test(Ue)||Ue.trim()===""){ue.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let Xe=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return Ue==="|"?(ue.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},tt=({value:Ue=[],onClose:Xe})=>b.createElement(le.default,{closable:!0,onClose:Xe,className:Ve.Z.keywordTag},b.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Ue.join(" \u6216 "))),$e=({questionTitlePlaceholder:Ue,form:Xe,showKeywords:et,isMustKeyWords:rt=et})=>{const[ht,kt]=(0,b.useState)(!1),[St,Gt]=(0,b.useState)(""),nt=ce.default.useWatch("use_keywords",Xe),je=ce.default.useWatch("question_score",Xe);return b.createElement("div",{className:Ve.Z.wrap},b.createElement("div",{className:Ve.Z.questionTitleEditorWrap},b.createElement(ce.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},b.createElement(Ae.h,{scrollId:"name",watch:!0,height:140,placeholder:Ue}))),b.createElement(ce.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},b.createElement(lt,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),et&&!rt&&b.createElement(ce.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},b.createElement(ge.Z,{defaultChecked:!0})),et&&rt&&b.createElement(oe.Z,{align:"middle",className:"mb30"},b.createElement(ce.default.Item,{name:"use_keywords",valuePropName:"checked"},b.createElement(ge.Z,null)),b.createElement(xe.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),b.createElement(xe.Z,null,b.createElement(Oe.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},b.createElement(Ke.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(nt||!rt)&&b.createElement(ce.default.List,{name:"keywords",rules:[{validator(Be,wt){return rt?wt!=null&&wt.length?(wt==null?void 0:wt.reduce((ot,zt)=>ot+zt.score,0))>parseFloat(je)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(Be,{add:wt,remove:Ot})=>b.createElement(b.Fragment,null,b.createElement("div",{className:`${Ve.Z.title} mb10`},rt?"\u5173\u952E\u8BCD":b.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),b.createElement(oe.Z,{align:"middle",className:"font14 mb30"},b.createElement(xe.Z,{flex:1},b.createElement(Se.default,{value:St,onChange:ot=>{Gt(ot.target.value)},maxLength:50,allowClear:!0,onPressEnter:ot=>{var zt,Ut,pn,bt;const Yt=`${(zt=ot.target)==null?void 0:zt.value}`,Bt=(pn=(Ut=Yt==null?void 0:Yt.split("|"))==null?void 0:Ut.filter(Ie=>!!Ie))==null?void 0:pn.map(Ie=>Ie==null?void 0:Ie.trim()),$t=Xe.getFieldValue("keywords"),cn=((bt=$t==null?void 0:$t.map(Ie=>Ie==null?void 0:Ie.keyword))==null?void 0:bt.flat())||[];for(const Ie of Bt)if(cn.includes(Ie)){ue.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}Fe(Yt)&&(wt({keyword:Bt,score:1}),Gt(""))},className:Ve.Z.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),b.createElement(xe.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),Be.map(ot=>{var zt=ot,{key:Ut,name:pn}=zt,bt=Ye(zt,["key","name"]);return b.createElement(oe.Z,{key:Ut,className:"mb20",style:{marginRight:148}},b.createElement(xe.Z,{flex:1},b.createElement(oe.Z,{align:"middle",justify:"space-between"},b.createElement(ce.default.Item,Te(Re({},bt),{name:[pn,"keyword"]}),b.createElement(tt,{onClose:()=>Ot(pn)})),rt&&b.createElement(ce.default.Item,Te(Re({},bt),{name:[pn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Ve.Z.blankInputNumberWrapper}),b.createElement(he.Z,{className:Ve.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),b.createElement("div",{onClick:()=>kt(!0)},b.createElement(ce.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(Ae.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ht}))))}},48477:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return ge}});var b={text:"text___bQulM",sup:"sup___rX_Y3"},ue=E(28284),le=E(59301),ge=({text:oe,name:xe="question_score"})=>{const Oe=({value:Se})=>le.createElement("div",{className:b.text},le.createElement("span",{className:b.sup},"*"),le.createElement("span",{className:"mr10"},"\u5206\u503C"),le.createElement("span",null,Se||"--"),le.createElement("span",{className:"c-grey-999"},oe));return le.createElement(ue.default.Item,{noStyle:!0,name:xe},le.createElement(Oe,null))}},38394:function(me,ne,E){"use strict";E.d(ne,{z:function(){return $e},Z:function(){return Ue}});var b=E(59301),ue=E(88831),le=E(90290),ce=E(64018),ge=E(81098),oe=E(90524),xe=E(49661),Oe=E(15342),Se=E(77736),he=E(99571),Ve=E(1012),Ae=E(41550),ct=E(59301),qe=({html:Xe})=>{const et=(0,b.useRef)(null),rt=(0,b.useRef)(null),ht=`.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,b.useEffect)(()=>{const kt=et.current.attachShadow({mode:"open"});rt.current=document.createElement("div"),rt.current.className="markdown-body",rt.current.innerHTML=Xe,kt.appendChild(rt.current);const St=document.createElement("style");return St.textContent=ht,kt.appendChild(St),()=>{kt.innerHTML=""}},[]),(0,b.useEffect)(()=>{rt.current&&(rt.current.innerHTML=Xe)},[Xe]),ct.createElement("div",{ref:et})};function Me(Xe){const et=["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"],rt=new RegExp(`\\b(${et.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi");return Xe.replace(rt,"").trim()}var ze={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},Ze=Object.defineProperty,Le=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Re=(Xe,et,rt)=>et in Xe?Ze(Xe,et,{enumerable:!0,configurable:!0,writable:!0,value:rt}):Xe[et]=rt,Te=(Xe,et)=>{for(var rt in et||(et={}))Pe.call(et,rt)&&Re(Xe,rt,et[rt]);if(Le)for(var rt of Le(et))ke.call(et,rt)&&Re(Xe,rt,et[rt]);return Xe};const Ye="@\u2581\u2581@",lt="@\u2581@",Fe=/<pre[^>]*>/g;function tt(Xe){let et=document.createElement("div");return et.innerHTML=Xe,et.childNodes.length===0?"":et.childNodes[0].nodeValue}const $e=(Xe,et)=>{Xe=Xe||"";const rt=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,ht=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,kt=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,St=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return et?Xe.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(rt,(Gt,nt,je,Be,wt,Ot,ot)=>{const zt=nt||Be||Ot,Ut=je||wt||ot||"?";return oe.Z.API_SERVER+"/api/attachments/"+zt+Ut+"&t="+(0,xe.Jn)(zt,Date.now())+(Gt.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(Xe=Xe.replace(St,(Gt,nt,je,Be,wt,Ot,ot)=>{const zt=nt||Be||Ot,Ut=je||wt||ot||"?";return oe.Z.API_SERVER+"/attachments/download/"+zt+Ut+"&t="+(0,xe.Jn)(zt,Date.now())+(Gt.indexOf(")")>-1?")":"&")}).replace(rt,(Gt,nt,je,Be,wt,Ot,ot)=>{const zt=nt||Be||Ot,Ut=je||wt||ot||"?";return oe.Z.API_SERVER+"/api/attachments/"+zt+Ut+"&t="+(0,xe.Jn)(zt,Date.now())+(Gt.indexOf(")")>-1?")":"&")}).replace(ht,(Gt,nt,je,Be,wt)=>{const Ot=nt||Be,ot=je||wt||"";return'"'+oe.Z.API_SERVER+"/api/attachments/"+Ot+ot+Ot+ot+"&t="+(0,xe.Jn)(Ot,Date.now())}).replace(kt,(Gt,nt,je,Be,wt)=>{const Ot=nt||Be,ot=je||wt||"";return"("+oe.Z.API_SERVER+"/files/uploads/"+Ot+ot+Ot+ot+"&t="+(0,xe.Jn)(Ot,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,`
`),Xe)};var Ue=({value:Xe="",edit:et=!1,className:rt,showTextOnly:ht,showLines:kt,style:St={},stylesPrev:Gt={},highlightKeywords:nt,showProgramFill:je,isProgramFill:Be,disabledFill:wt=!1,programFillValue:Ot,openEditor:ot=()=>{},onFillChange:zt=bt=>{},onFillBlur:Ut=()=>{},onFillFocus:pn=()=>{}})=>{let bt=Me(String(Xe||""));const Yt=(0,b.useRef)(),Bt=(0,b.useRef)(),[$t,cn]=(0,b.useState)(""),[Ie,pe]=(0,b.useState)("office"),[de,Ee]=(0,b.useState)([]),De=(0,b.useRef)("a"+(0,Ve.Z)()),fe={},Qe=vt=>/<style[\s\S]*?>/i.test(vt||""),Mt=(vt,jt,At)=>{const Je=document.createElement(vt===lt?"input":"textarea");Je.style.width="100%",Je.style.height=vt===lt?"40px":"151px",Je.rows=5,Je.spellcheck=!1,Je.name="edu-program-fill",Je.placeholder="\u8BF7\u8F93\u5165",Je.dataset.id=jt;const un=Object.keys(fe).length;return fe[un]=Je,`<span class="edu-program-fill-wrap ${vt===lt?"":"show"}" style="width:${vt===lt?"600px":"100%"}" title=${At||""}><span>${Je.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function an(vt){return vt=vt.replace(/!\[.*?\]\(.*?\)/g,""),vt=vt.replace(/\[.*?\]\(.*?\)/g,""),vt=vt.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),vt=vt.replace(/<embed.*?>/g,""),vt=vt.replace(/<img.*?>/g,""),vt=vt.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),vt=vt.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),vt=vt.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),vt=vt.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),vt}const Sn=vt=>!ht&&Qe(bt)?vt:vt.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(jt,At){let Je=At.replace(/(\n|\r)/g,"").split("}"),un=[];return Je.map(gn=>{gn!=""&&un.push(`.${De.current} ${gn}`)}),`<style>${un.join("}")}</style>`}),gt=(0,b.useMemo)(()=>{try{const Je=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,un=/\"\/api\/attachments\/|\"\/attachments\/download\//g,gn=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Et=/\(\/attachments\/download\//g;bt=bt.replace(Et,"("+oe.Z.API_SERVER+"/attachments/download/").replace(Je,"("+oe.Z.API_SERVER+"/api/attachments/").replace(un,'"'+oe.Z.API_SERVER+"/api/attachments/").replace(gn,'"'+oe.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,`
`),Yt.current.style.display="none"}catch(Je){}if(je){let Je=-1;return bt=bt.replaceAll("<","&lt;").replaceAll(">","&gt;").replace(/(@▁▁@|@▁@)/g,function(un,gn,Et){var Ln;return++Je,Mt(un,Je,(Ln=Ot==null?void 0:Ot[Je])==null?void 0:Ln.value.replaceAll("<","&lt;").replaceAll(">","&gt;"))}),`<pre style="background:#fff;padding:4px">${Sn(bt||"")}</pre>`}let vt=Sn(bt);vt=(0,le.ZP)(vt);const jt=(0,le.ez)();bt.match(/\[TOC\]/)&&(vt=vt.replace("<p>[TOC]</p>",(0,le.Qv)()),(0,le.Iy)()),vt=vt.replace(/(__special_katext_id_\d+__)/g,(Je,un)=>{const{type:gn,expression:Et}=jt[un];return(0,Oe.renderToString)(tt(Et)||"",{displayMode:gn==="block",throwOnError:!1,output:"html"})}),vt=vt.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,le.AL)();const At=document.createElement("div");if(At.innerHTML=vt,ht)return At.innerText;if(nt){const Je=nt.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return fn(At,Je),At.innerHTML}return setTimeout(()=>tn(),500),At.innerHTML},[bt,nt]);(0,b.useEffect)(()=>{Zt.current&&Zt.current.querySelectorAll(["input","textarea"]).forEach(jt=>{jt.oninput=Ft,jt.onblur=Lt,jt.onfocus=Jt})},[de]),(0,b.useEffect)(()=>{var vt,jt,At,Je,un;if(Ot!=null&&Ot.length)try{const gn=Zt.current.querySelectorAll(".edu-program-fill-score"),Et=Zt.current.querySelectorAll('[name="edu-program-fill"]');for(const[Ln,ar]of Et.entries())ar.value=((vt=Ot==null?void 0:Ot[Ln])==null?void 0:vt.value)||"",((jt=Ot==null?void 0:Ot[Ln])==null?void 0:jt.type)==="warning"?ar.className="program-fill-warning":((At=Ot==null?void 0:Ot[Ln])==null?void 0:At.type)==="success"?ar.className="program-fill-success":ar.className="";for(const[Ln,ar]of gn.entries())ar.innerHTML=(Je=Ot==null?void 0:Ot[Ln])!=null&&Je.score?`${(un=Ot==null?void 0:Ot[Ln])==null?void 0:un.score}\u5206`:"";Ee(Ot)}catch(gn){console.log(gn,"error")}},[Ot]);const Ft=vt=>{de[vt.target.dataset.id]=de[vt.target.dataset.id]||{},de[vt.target.dataset.id].value=vt.target.value,Ee([...de]),zt(de,vt.target.dataset.id)},Lt=vt=>{de[vt.target.dataset.id]=de[vt.target.dataset.id]||{},de[vt.target.dataset.id].value=vt.target.value,Ee([...de]),Ut(de,vt.target.dataset.id)},Jt=vt=>{de[vt.target.dataset.id]=de[vt.target.dataset.id]||{},de[vt.target.dataset.id].value=vt.target.value,Ee([...de]),pn(de,vt.target.dataset.id)};function fn(vt,jt){return vt.childNodes.forEach(At=>{var Je;if(At.childNodes.length>0)fn(At,jt);else if(At.nodeName!=="IMG")if(At.innerHTML)At.innerHTML=(Je=At.innerHTML)==null?void 0:Je.replace(new RegExp(jt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const un=document.createElement("span");un.innerHTML=At.textContent.replace(new RegExp(jt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),At.replaceWith(un)}})}const Zt=(0,b.useRef)();le.jb.WebkitLineClamp=kt,kt&&(St=Te(Te({},St),le.jb));function mt(vt){let jt=vt.target;if(jt.tagName.toUpperCase()==="A"){let At=jt.getAttribute("href");if(At.indexOf("office")>-1)vt.preventDefault(),cn(At),pe("office");else if(At.indexOf("application/pdf")>-1)vt.preventDefault(),cn(At),pe("pdf");else if(At.indexOf("text/html")>-1)vt.preventDefault(),cn(At),pe("html");else if(At.startsWith("#")){vt.preventDefault();let Je=document.getElementById(At.replace("#",""));Je&&Je.scrollIntoView(!0)}}}const tn=()=>{var vt;const jt=(vt=Zt.current)==null?void 0:vt.querySelectorAll("video");jt==null||jt.forEach(At=>{if(At.oncontextmenu=()=>!1,At.src.indexOf(".m3u8")>-1&&!At.canPlayType("application/vnd.apple.mpegurl")){if(ge.ZP.isSupported()){var Je=new ge.ZP;Je.loadSource(At.src),Je.attachMedia(At)}}})};(0,b.useEffect)(()=>{if(Zt.current&&gt&&gt.match(Fe)&&window.PR.prettyPrint(),Zt.current)return Zt.current.addEventListener("click",mt),()=>{var vt;(vt=Zt.current)==null||vt.removeEventListener("click",mt),(0,le.AL)(),(0,le.Iy)()}},[gt,Zt.current,mt]);const Ct=vt=>{vt.target.nodeName==="IMG"&&vt.target.className.indexOf("draw-flowchart")>-1?(Yt.current.style.zIndex=1,Yt.current.style.display="flex",Yt.current.style.width=vt.target.clientWidth+"px",Yt.current.style.height=vt.target.clientHeight+"px",Yt.current.style.top=vt.target.offsetTop+"px",Yt.current.style.left=vt.target.offsetLeft+"px",vt.target.id&&(Bt.current=vt.target.id)):Yt.current.style.display="none"},Rt=()=>{Yt.current.style.display="none"};return(0,b.useEffect)(()=>{var vt;const jt=At=>{At.preventDefault(),At.clipboardData.setData("text",window.getSelection().toString())};return(vt=Zt.current)==null||vt.addEventListener("copy",jt),()=>{var At;(At=Zt.current)==null||At.removeEventListener("copy",jt)}},[Zt.current]),b.createElement("div",{style:{position:"relative"},onMouseLeave:Rt},ht&&b.createElement("div",{ref:Zt,className:`${ze.mdBody} `},gt),!ht&&!Qe(gt)&&b.createElement("div",{ref:Zt,style:Te({},St),onMouseOver:Ct,className:`${rt||""} ${wt?"disabled-fill":""} markdown-body ${ze.mdBody} ${De.current}`,dangerouslySetInnerHTML:{__html:gt}}),!ht&&Qe(gt)&&b.createElement(qe,{html:gt}),b.createElement("div",{ref:Yt,className:`${ze.button} ${et?"":ze.previewFlowChart}`},b.createElement(Se.Z,null,b.createElement(he.ZP,{onClick:()=>{et?ot(Bt.current):(cn(Bt.current),pe("flowChart"))}},et?"\u7F16\u8F91":"\u9884\u89C8"))),b.createElement(Ae.Z,{close:!0,data:$t,type:$t!=null&&$t.length?Ie:"",style:Te({},Gt),onClose:()=>cn("")}))}},44905:function(me,ne,E){"use strict";E.d(ne,{h:function(){return ke}});var b=E(59301),ue=E(82326),le=E(28284),ce=E(99571),ge=E(89780),oe=E.n(ge),xe=E(66543),Oe=E(59598),Se=Object.defineProperty,he=Object.defineProperties,Ve=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,qe=(Re,Te,Ye)=>Te in Re?Se(Re,Te,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Re[Te]=Ye,Me=(Re,Te)=>{for(var Ye in Te||(Te={}))ct.call(Te,Ye)&&qe(Re,Ye,Te[Ye]);if(Ae)for(var Ye of Ae(Te))Ke.call(Te,Ye)&&qe(Re,Ye,Te[Ye]);return Re},ze=(Re,Te)=>he(Re,Ve(Te));const Ze=ue.default.Option,Le={labelCol:{span:4},wrapperCol:{span:20}},Pe={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"]};ne.Z=({callback:Re,onCancel:Te})=>{const[Ye,lt]=(0,b.useState)("python");function Fe($e){lt(Pe[$e][1])}function tt($e){Re($e)}return b.createElement(le.default,ze(Me({},Le),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:tt,style:{width:500}}),b.createElement(le.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(ue.default,{getPopupContainer:$e=>$e.parentNode,onChange:Fe},Object.keys(Pe).map($e=>b.createElement(Ze,{key:$e,value:$e},Pe[$e][0])))),b.createElement(le.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},b.createElement(ke,{mode:Ye})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(ce.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(ce.ZP,{type:"ghost",onClick:Te},"\u53D6\u6D88")))};function ke({value:Re,onChange:Te,mode:Ye,options:lt={}}){const Fe=(0,b.useRef)(),[tt,$e]=(0,b.useState)();return(0,b.useEffect)(()=>{if(tt){let Ue=function(Xe){const et=Xe.getValue();Te&&Te(et)};return tt.on("change",Ue),()=>{tt.off("change",Ue)}}},[tt,Te]),(0,b.useEffect)(()=>{tt&&tt.setOption("mode",Ye)},[tt,Ye]),(0,b.useEffect)(()=>{tt&&(Re!==tt.getValue()||Re==="")&&setTimeout(()=>{tt.setValue(Re||"")},300)},[tt,Re]),(0,b.useEffect)(()=>{if(Fe.current&&!tt){const Ue=oe().fromTextArea(Fe.current,Me({mode:Ye,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},lt));$e(Ue)}},[Fe.current,tt]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:Fe}))}},2978:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return Yn}});var b=E(59301),ue=E(89780),le=E.n(ue),ce=E(76374),ge=E(66543),oe=E(6313),xe=E(25717),Oe=E(99498),Se=E(25419),he=E(67549),Ve=E(38394),Ae=({value:nn="",className:An,showTextOnly:Nn,showLines:In,style:xr={}})=>{const gr=(0,b.useMemo)(()=>"",[nn]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:gr}}))},ct=Object.defineProperty,Ke=Object.defineProperties,qe=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Le=(nn,An,Nn)=>An in nn?ct(nn,An,{enumerable:!0,configurable:!0,writable:!0,value:Nn}):nn[An]=Nn,Pe=(nn,An)=>{for(var Nn in An||(An={}))ze.call(An,Nn)&&Le(nn,Nn,An[Nn]);if(Me)for(var Nn of Me(An))Ze.call(An,Nn)&&Le(nn,Nn,An[Nn]);return nn},ke=(nn,An)=>Ke(nn,qe(An));let Re=[{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 Te({onActionCallback:nn,title:An,icon:Nn,actionName:In,className:xr="",children:gr}){function or(){nn(In)}return b.createElement("a",{title:An,className:xr,onClick:or},b.createElement("i",{className:`${Nn}`}),gr)}var Ye=({watch:nn,showNullButton:An,showNullProgramButton:Nn,onActionCallback:In,fullScreen:xr,insertTemp:gr,hidetoolBar:or,extraUse:Lr})=>{const Br=[...Re,{title:`${nn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${nn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return b.createElement("ul",{className:"markdown-toolbar-container"},!or&&Br.map((Pr,wr)=>b.createElement("li",{key:wr},Pr.actionName?b.createElement(Te,ke(Pe({},Pr),{onActionCallback:In})):b.createElement("span",{className:"v-line"}))),An?b.createElement("li",null,b.createElement(Te,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:In},b.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Nn?b.createElement(b.Fragment,null,b.createElement("li",null,b.createElement(Te,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:In},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),b.createElement("li",null,b.createElement(Te,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:In},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,gr&&b.createElement("li",null,b.createElement(Te,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${gr}`,onActionCallback:In},b.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Lr&&b.createElement("li",null,Lr),b.createElement("li",{className:"btn-full-screen"},b.createElement(Te,{icon:`${xr?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:xr?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:In})))},lt=E(75790),Fe=E(28284),tt=E(37568),$e=E(99571),Ue=Object.defineProperty,Xe=Object.defineProperties,et=Object.getOwnPropertyDescriptors,rt=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,kt=Object.prototype.propertyIsEnumerable,St=(nn,An,Nn)=>An in nn?Ue(nn,An,{enumerable:!0,configurable:!0,writable:!0,value:Nn}):nn[An]=Nn,Gt=(nn,An)=>{for(var Nn in An||(An={}))ht.call(An,Nn)&&St(nn,Nn,An[Nn]);if(rt)for(var Nn of rt(An))kt.call(An,Nn)&&St(nn,Nn,An[Nn]);return nn},nt=(nn,An)=>Xe(nn,et(An));const je={labelCol:{span:4},wrapperCol:{span:20}};var Be=({callback:nn,onCancel:An})=>{function Nn(In){nn(In)}return b.createElement(Fe.default,nt(Gt({},je),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Nn,style:{width:500}}),b.createElement(Fe.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},b.createElement(tt.default,null)),b.createElement(Fe.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},b.createElement(tt.default,null)),b.createElement("div",{className:"flex-container flex-end"},b.createElement($e.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement($e.ZP,{type:"ghost",onClick:An},"\u53D6\u6D88")))},wt=E(44905),Ot=E(45596),ot=E(62957),zt=E(77019),Ut=E(6077),pn=E(59301),bt=({callback:nn,onCancel:An})=>{const Nn=document.createElement("canvas"),In=Nn.getContext("2d");Nn.width=1e3,Nn.height=800,In.fillStyle="#ffffff",In.fillRect(0,0,Nn.width,Nn.height);const xr=Nn.toDataURL("image/png");return pn.createElement(ot.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},pn.createElement(zt.Z,{style:{height:"100vh"}},pn.createElement(Ut.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:xr,visible:!0,title:String(Date.now())},onOk:gr=>{nn({src:gr.url})},onClose:An})))},Yt=E(30641),Bt=E(5269),$t=E(6767),cn={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},Ie=E(59301),de=(0,b.forwardRef)(({onCancel:nn,editImgId:An,callback:Nn},In)=>{let xr=(0,b.useRef)(),gr=(0,b.useRef)(),or=(0,b.useRef)(),Lr=(0,b.useRef)(!1);const Br=(0,b.useRef)(!1);console.log("ref:",In);const[Pr,wr]=(0,b.useState)(0),[Ir,lr]=(0,b.useState)("100vh");return(0,b.useEffect)(()=>{wr(1)},[]),(0,b.useImperativeHandle)(In,()=>({setHeight:lr})),Ie.createElement("div",{ref:Br,className:"body-overflow-initial"},Ie.createElement(Yt.Z,{width:"100vw",height:Ir,footer:null,closable:!0,placement:"bottom",open:!!Pr,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${cn.drawerWrap}`,onClose:()=>{window.saveDrawData(_n=>{Nn({src:`/api/attachments/${_n}`,id:_n})})},title:Ie.createElement(zt.Z,{align:"middle"},Ie.createElement(Bt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Ie.createElement(Bt.Z,{onClick:()=>{lr(Ir==="60px"?"100vh":"60px")}},Ie.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),Ie.createElement(Bt.Z,{onClick:()=>{window.saveDrawData(_n=>{if(_n===null){$t.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}$t.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),Nn({src:`/api/attachments/${_n}`,id:_n,disabledClose:!0})})}},Ie.createElement($e.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},Ie.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${An||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:gr})))}),Ee=E(90524),De=E(47889),fe=E(71051);const Qe=De.ZP.Group,Mt={margin:"0 8px"};var an=({callback:nn,onCancel:An})=>{function Nn(In){nn(In)}return b.createElement(Fe.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Nn},b.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},b.createElement("span",{style:Mt},"\u5355\u5143\u683C\u6570\uFF1A"),b.createElement("span",{style:Mt},"\u884C\u6570"),b.createElement(Fe.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},b.createElement(fe.Z,null)),b.createElement("span",{style:Mt},"\u5217\u6570"),b.createElement(Fe.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},b.createElement(fe.Z,null))),b.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},b.createElement("span",{style:Mt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),b.createElement(Fe.default.Item,{name:"align"},b.createElement(Qe,null,b.createElement(De.ZP,{value:"default"},b.createElement("i",{className:"fa fa-align-justify"})),b.createElement(De.ZP,{value:"left"},b.createElement("i",{className:"fa fa-align-left"})),b.createElement(De.ZP,{value:"center"},b.createElement("i",{className:"fa fa-align-center"})),b.createElement(De.ZP,{value:"right"},b.createElement("i",{className:"fa fa-align-right"}))))),b.createElement("div",{className:"flex-container flex-end"},b.createElement($e.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement($e.ZP,{type:"ghost",onClick:An},"\u53D6\u6D88")))},Sn=E(71411),gt=E(11081),Ft=E.n(gt),Jt=(0,b.forwardRef)(({use3d:nn,width:An,height:Nn,callback:In,showSaveButton:xr},gr)=>{const or=(0,b.useRef)(),Lr=(0,b.useRef)(),[Br,Pr]=(0,b.useState)(!1),wr=(0,b.useRef)({id:or,appName:"graphing",width:An||1e3,height:Nn||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,b.useEffect)(()=>{Lr.current=new(Ft())(wr.current,!0),window.onload=function(){Lr.current.inject("applet_container")}},[]);const Ir=()=>{var lr=window.ggbApplet.getPNGBase64(1,!0,72);return In&&In(lr),lr};return(0,b.useEffect)(()=>{wr.current.appName=Br?"3D":"graphing",Lr.current.inject("applet_container")},[Br]),(0,b.useEffect)(()=>{Pr(nn)},[nn]),(0,b.useImperativeHandle)(gr,()=>({getImgData:Ir})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:or}),b.createElement(zt.Z,{align:"middle"},b.createElement(Bt.Z,{flex:1},b.createElement(Sn.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Br,onChange:lr=>Pr(lr)})),b.createElement(Bt.Z,null,b.createElement($e.ZP,{size:"large",onClick:Ir,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),fn=E(88615);const Zt="link",mt="upload-image",tn="add-flowchart",Ct="draw-image",Rt="add-flowchart",vt="code-block",jt="add-table",At="------------",Je={default:At,left:`:${At}`,center:`:${At}:`,right:`${At}:`};var un=E(17904);function gn(){}let Et=0;const Ln=1e4,ar="\u2581",Hn="@\u2581\u2581@",Vt="@\u2581@",dr=`
**\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`,qn=["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(nn){return/^\d+$/.test(nn)?`${nn}px`:nn}const cr=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",ir={[cr+"-B"]:"bold",[cr+"-I"]:"italic"},Gn={[Zt]:"\u6DFB\u52A0\u94FE\u63A5",[vt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[mt]:"\u6DFB\u52A0\u56FE\u7247",[Ct]:"\u6DFB\u52A0\u753B\u56FE",[tn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[jt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Yn=({defaultValue:nn="",onChange:An,width:Nn="100%",height:In=400,miniToolbar:xr=!1,isFocus:gr=!1,watch:or,insertTemp:Lr,mode:Br="markdown",id:Pr="markdown-editor-id",showResizeBar:wr=!1,noStorage:Ir=!1,showNullButton:lr=!1,showNullProgramButton:_n=!1,hidetoolBar:Sr=!1,fullScreen:kr=!1,onBlur:Ur,onCMBeforeChange:rn,onFullScreen:Qt,className:hr="",disablePaste:$n=!1,disabled:Pt=!1,disabledFill:on=!1,placeholder:sr="",values:Kt="",extraUse:be})=>{const[Cn,yr]=(0,b.useState)(null),[ln,Ar]=(0,b.useState)(nn),[Xn,Cr]=(0,b.useState)(or),[Dr,_t]=(0,b.useState)(kr),[Rr,Kr]=(0,b.useState)(""),[qr,ha]=(0,b.useState)(0),[ma,la]=(0,b.useState)(In),[$r,wa]=(0,b.useState)(!1),[Ia,xa]=(0,b.useState)(0),[ga,pa]=(0,b.useState)(0),Gr=(0,b.useRef)(),ra=(0,b.useRef)(),ya=(0,b.useRef)(),_r=(0,b.useRef)(),Zr=(0,b.useRef)(),aa=(0,b.useRef)();(0,b.useEffect)(()=>{const Tt=window.scrollY||window.pageYOffset;Ar(Kt),Cn==null||Cn.setValue(Kt),window.scrollTo(0,Tt)},[Kt]),(0,b.useEffect)(()=>{Qt==null||Qt(Dr)},[Dr]),(0,b.useEffect)(()=>{if(Gr.current){let Tt=function(Wt,Ht){var Mn;if($n){Ht.preventDefault();return}const Tn=Ht.clipboardData;if(Tn){const wn=Tn.types.toString(),Fn=Tn.items;if(wn==="Files"||Tn.types.indexOf("Files")>-1){if(Ht.preventDefault(),Br=="stex")return;try{let nr=Fn[1];((Mn=Fn[0])==null?void 0:Mn.kind)==="file"&&(nr=Fn[0]);const Or=nr.getAsFile(),br=Or.name.split(".").pop();(0,Ot.I)(Or,Tr=>{var Hr,jr,sa;Tr.id?((Hr=Or==null?void 0:Or.type)==null?void 0:Hr.indexOf("image"))>-1?It.replaceSelection(`<img width="100%" src="/api/attachments/${Tr.id}?type=${Tr.content_type})" alt="" />`):((jr=Or==null?void 0:Or.type)==null?void 0:jr.indexOf("video"))>-1?It.replaceSelection(`<video width="100%" controls src="/api/attachments/${Tr.id}"></video>`):((sa=Or==null?void 0:Or.type)==null?void 0:sa.indexOf("pdf"))>-1?It.replaceSelection(`<a href="/api/attachments/${Tr.id}?type=${Or.type}&disposition=inline" target="_blank">${Or.name}</a>`):qn.includes(br)?It.replaceSelection(`<a href="/api/attachments/${Tr.id}?type=office&disposition=inline" target="_blank">${Or.name}</a>`):It.replaceSelection(`[${Or.name}](/api/attachments/${Tr.id}?type=${Tr.content_type})`):(Tr==null?void 0:Tr.status)===401&&(document.location.href="/user/login")})}catch(nr){$t.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const It=le().fromTextArea(Gr.current,{mode:Br,lineNumbers:!xr,lineWrapping:!0,value:nn,autoCloseTags:!0,autoCloseBrackets:!0});return It.on("keyup",function(Wt,Ht){Ht.keyCode===8&&(Wt.getValue()==""?It.setOption("placeholder",sr):It.setOption("placeholder",null))}),It.on("keydown",function(Wt,Ht){if(Ht.keyCode===8){var Mn=Pa(Wt);Mn&&Ht.preventDefault()}}),gr&&It.focus(),It.on("paste",Tt),Pt&&It.on("beforeChange",function(Wt,Ht){(Ht.origin==="paste"||Ht.origin==="+input")&&Ht.cancel()}),yr(It),()=>{It.off("paste",Tt)}}},[]);const ua=(0,b.useCallback)(()=>{if(ra.current)try{}catch(Tt){console.log(Tt,"---- to set md editor body height")}},[ma,ra,Dr]);(0,b.useEffect)(()=>{function Tt(){let It=new ce.Z(Wt=>{for(let Ht of Wt)(Ht.target.offsetHeight>0||Ht.target.offsetWidth>0)&&(ua(),Cn.setSize("100%","100%"),Cn.refresh())});return It.observe(Gr.current.parentElement),It}if(Cn){const It=Tt();return()=>{var Wt,Ht;(Wt=Gr.current)!=null&&Wt.parentElement&&It.unobserve((Ht=Gr.current)==null?void 0:Ht.parentElement)}}},[Cn,ua]),(0,b.useEffect)(()=>{if(Cn){let Tt=[];for(const[It,Wt]of Object.entries(ir)){let Ht={[It]:()=>{Ra(Wt)}};Tt.push(Ht),Cn.addKeyMap(Ht)}return()=>{for(let It of Tt)Cn.removeKeyMap(It)}}},[Cn]),(0,b.useEffect)(()=>{kr!==Dr&&_t(kr)},[kr]),(0,un.Z)(()=>{if(!Ir&&qr>0){let Tt=new Date().getTime(),It=window.sessionStorage.getItem(Pr);Tt>=qr+Ln&&(!It||It!==ln)&&(window.sessionStorage.setItem(Pr,ln),wa(!0))}},Ln),(0,b.useEffect)(()=>{Cr(or)},[Cn,or]),(0,b.useEffect)(()=>{Cn&&gr&&Cn.focus()},[Cn,gr]),(0,b.useEffect)(()=>{if(Xn&&Cn){let Tt=function(Wt){let Ht=Wt.target;if(_r.current){let Mn=Ht.scrollTop/Ht.scrollHeight;_r.current.scrollTop=_r.current.scrollHeight*Mn}};const It=Cn.getScrollerElement();return It.addEventListener("scroll",Tt),()=>{It.removeEventListener("scroll",Tt)}}},[Cn,Xn]),(0,b.useEffect)(()=>{if(Cn&&rn){let Tt=function(It,Wt){rn(It,Wt)};return Cn.on("beforeChange",Tt),()=>{Cn.off("beforeChange",Tt)}}},[Cn,rn]),(0,b.useEffect)(()=>{if(Cn&&Ur){let Tt=function(){Ur(Cn.getValue())};return Cn.on("blur",Tt),()=>{Cn.off("blur",Tt)}}},[Cn,Ur]);function Pa(Tt,It){var Wt=Tt.getDoc(),Ht=Wt.getCursor(),Mn=Wt.getLine(Ht.line),Tn=Mn.charAt(Ht.ch-1),wn=Mn.lastIndexOf("@\u2581@",Ht.ch),Fn=Mn.lastIndexOf("@\u2581\u2581@",Ht.ch),nr=wn>Fn?wn:Fn,Or=wn>Fn?3:4;if(Hn.indexOf(Tn)===-1)return null;if(console.log("change1:",It,Tt,Mn,Ht,nr,wn,Fn,Tn),nr>=0&&Ht.ch-nr<5){var br=nr+Or;return Wt.replaceRange("",{line:Ht.line,ch:nr},{line:Ht.line,ch:br}),{line:Ht.line,ch:br}}return null}(0,b.useEffect)(()=>{if(Cn){let Tt=function(It,Wt){const Ht=It.getValue();Ar(Ht),ha(new Date().getTime()),It.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),An&&(_n?An(Ht,vr(Ht)):An(Ht))};return Cn.on("change",Tt),()=>{Cn.off("change",Tt)}}},[Cn,An]),(0,b.useEffect)(()=>{if(Cn)if(nn==null)Cn.setValue(""),Ar("");else{const Tt=window.scrollY||window.pageYOffset;nn!==Cn.getValue()&&(Cn.setValue(nn),Ar(nn),Cn.setCursor(Pt?1:Cn.lineCount(),0),window.scrollTo(0,Tt))}},[Cn,nn]);const Ra=(0,b.useCallback)(Tt=>{const It=Cn.getCursor(),Wt=Cn.getSelection();let Ht=Wt.split(`
`);switch(Tt){case"bold":return Cn.replaceSelection("**"+Wt+"**"),Wt===""&&Cn.setCursor(It.line,It.ch+2),Cn.focus();case"italic":return Cn.replaceSelection("*"+Wt+"*"),Wt===""&&Cn.setCursor(It.line,It.ch+1),Cn.focus();case"code":return Cn.replaceSelection("`"+Wt+"`"),Wt===""&&Cn.setCursor(It.line,It.ch+1),Cn.focus();case"inline-latex":return Kr("inline-latex"),Cn.focus();case"latex":return Cn.replaceSelection("```latex\n"+Wt+"\n```"),Cn.setCursor(It.line+1,Wt.length+1),Cn.focus();case"line-break":return Cn.replaceSelection(`<br/>
`),Cn.focus();case"list-ul":return Wt===""?Cn.replaceSelection("- "+Wt):Cn.replaceSelection(Ht.map(Mn=>Mn===""?"":`- ${Mn}`).join(`
`)),Cn.focus();case"list-ol":return Wt===""?Cn.replaceSelection("1. "+Wt):Cn.replaceSelection(Ht.map((Mn,Tn)=>Mn===""?"":`${Tn+1}. ${Mn}`).join(`
`)),Cn.focus();case"add-null-ch":return Wt===""&&Cn.setCursor(It.line,It.ch),Cn.replaceSelection(ar),Cn.focus();case"add-signal":return Wt===""&&Cn.setCursor(It.line,It.ch),Cn.replaceSelection(Vt),Cn.focus();case"add-multiple":return Wt===""&&Cn.setCursor(It.line,It.ch),Cn.replaceSelection(Hn),Cn.focus();case"inster-template-1":return Wt===""&&Cn.setCursor(It.line,It.ch),Cn.replaceSelection(dr),Cn.focus();case"eraser":return Cn.setValue(""),Cn.focus();case"trigger-watch":return Cr(!Xn),Cn.focus();case"trigger-full-screen":return _t(!Dr),Cn.focus();case Zt:Kr(Zt);return;case vt:Kr(vt);return;case mt:Kr(mt);return;case Ct:Kr(Ct);return;case"maths-latex":Kr("maths-latex");return;case tn:Zr.current="",sessionStorage.removeItem("file_id"),Kr(tn);return;case jt:Kr(jt);return;default:throw new Error}},[Cn,Xn,Dr]),Xa=(0,b.useCallback)((Tt,It)=>{var Wt,Ht,Mn,Tn,wn,Fn;switch(Tt!=null&&Tt.disabledClose||Kr(""),Rr){case Zt:const{title:Hr,link:jr}=Tt;return Cn.replaceSelection(`[${Hr}](${jr})`),Cn.focus();case vt:const{language:sa,content:va}=Tt;return Cn.replaceSelection(["```"+sa,va,"```"].join(`
`)),Cn.focus();case"maths-latex":for(var nr=atob(Tt),Or=new Uint8Array(nr.length),br=0;br<nr.length;br++)Or[br]=nr.charCodeAt(br);var Tr=new Blob([Or],{type:"image/png"});(0,Ot.I)(Tr,Ba=>{Ba.id?Cn.replaceSelection(`![,](/api/attachments/${Ba.id}?type=${Ba.content_type})`):(Ba==null?void 0:Ba.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Cn.replaceSelection("`$$"+Tt+"$$`");break;case Rt:const{src:Aa,alt:Sa,id:La}=Tt;if(!La)return;Cn.getValue().indexOf(Aa)===-1?Cn.replaceSelection(`<center><img id="${La}" width="80%" src="${Aa}" class="draw-flowchart" alt="${Sa||""}" /></center>`):document.getElementById(La).src=Ee.Z.API_SERVER+Aa+"?t="+Date.now();break;case mt:case Ct:const Xr=It,Wr=(Mn=(Ht=(Wt=Xr==null?void 0:Xr.name)==null?void 0:Wt.split("."))==null?void 0:Ht.pop)==null?void 0:Mn.call(Ht);return((Tn=Xr==null?void 0:Xr.type)==null?void 0:Tn.indexOf("image"))>-1||!(Xr!=null&&Xr.type)?Xr!=null&&Xr.align||Xr!=null&&Xr.width?Cn.replaceSelection(`<p style="text-align:${Xr.align||"initial"}"><img width="${Xr.width?Xr.width+"%":"initial"}" src="${Aa}" alt="${Sa||""}" /></p>`):Cn.replaceSelection(`<img width="100%" src="${Aa}" alt="${Sa||""}" />`):((wn=Xr==null?void 0:Xr.type)==null?void 0:wn.indexOf("video"))>-1?Cn.replaceSelection(`<video width="100%" controls src="${Aa}"></video>`):((Fn=Xr==null?void 0:Xr.type)==null?void 0:Fn.indexOf("pdf"))>-1?Cn.replaceSelection(`<a href="${Aa}?type=${Xr.type}&disposition=inline" target="_blank">${Xr.name}</a>`):qn.includes(Wr)?Cn.replaceSelection(`<a href="${Aa}?type=office&disposition=inline" target="_blank">${Xr.name}</a>`):Cn.replaceSelection(`[${Xr.name}](${Aa})`),Cn.focus();case jt:const{row:ea,col:ka,align:za}=Tt;let sn=`
`;for(let Ba=0;Ba<ea;Ba++){let li=[],Ui=[];for(let Wi=0;Wi<ka;Wi++)Ba===1&&Ui.push(Je[za]),li.push(" ");Ba===1&&(sn+=`| ${Ui.join(" | ")} |
`),sn+=`| ${li.join(ka===1?"":" | ")} |
`}return Cn.replaceSelection(sn+`
`),Cn.focus();default:throw new Error}},[Cn,Rr]),qt=(0,b.useMemo)(()=>{switch(Rr){case Zt:return b.createElement(Be,{callback:Xa,onCancel:Bn});case vt:return b.createElement(wt.Z,{callback:Xa,onCancel:Bn});case mt:return b.createElement(Ot.Z,{callback:Xa,onCancel:Bn});case tn:return b.createElement(de,{editImgId:Zr.current,callback:Xa,onCancel:Bn});case jt:return b.createElement(an,{callback:Xa,onCancel:Bn});case"maths-latex":return b.createElement(Jt,{showSaveButton:!0,callback:Xa});case"inline-latex":return b.createElement(fn.Z,{showSaveButton:!0,callback:Xa});default:return null}},[Rr]);function Bn(){Kr("")}(0,b.useEffect)(()=>{if(ya.current){let Tt=function(wn){Mn=!0,Tn=wn.pageY},It=function(){Mn=!1},Wt=function(wn){if(Mn){let Fn=wn.pageY-Tn;Fn<0&&(Fn=0),Fn>300&&(Fn=300);let nr=In+Fn+"px";la(nr)}},Ht=ya.current,Mn=!1,Tn=0;return Ht.addEventListener("mousedown",Tt),document.addEventListener("mousemove",Wt),document.addEventListener("mouseup",It),()=>{Ht.removeEventListener("mousedown",Tt),document.removeEventListener("mousemove",Wt),document.removeEventListener("mouseup",It)}}},[Cn,ya]),(0,b.useEffect)(()=>{la(In)},[In]);const Dn=xn(Nn),jn=xn(ma),Qn={width:Dn,height:jn},er=(0,b.useMemo)(()=>{if(qr){let Tt=new Date(qr),It=Tt.getHours(),Wt=Tt.getMinutes(),Ht=Tt.getSeconds();return It=It<10?"0"+It:It,Wt=Wt<10?"0"+Wt:Wt,Ht=Ht<10?"0"+Ht:Ht,`${It}:${Wt}:${Ht}`}return 0},[qr]),vr=Tt=>{const It=[];if(_n){let Wt=-1;Tt=Tt.replace(/(@▁▁@|@▁@)/g,function(Ht,Mn,Tn){It.push({multiLine:Ht!==Vt})})}return It};function mr(){window.sessionStorage.removeItem(Pr),wa(!1),ha(0)}function pr(){wa(!1),ha(0),Cn.setValue(window.sessionStorage.getItem(Pr))}(0,b.useEffect)(()=>{Gn[Rr]&&Rr!==Ct&&Rr!==tn&&setTimeout(()=>{const Tt=document.getElementsByClassName("markdown-popup-form")[0],It=window.innerWidth/2-Tt.offsetWidth/2,Wt=window.innerHeight/2-Tt.offsetHeight/2;xa(It),pa(Wt)},0)},[Rr]);const Rn=Tt=>{Tt.preventDefault();const It=Tt.clientX-Ia,Wt=Tt.clientY-ga;document.body.onmousemove=Ht=>{let Mn=Ht.clientX-It,Tn=Ht.clientY-Wt;const wn=document.getElementsByClassName("markdown-popup-form")[0],Fn=window.innerWidth-wn.offsetWidth,nr=window.innerHeight-wn.offsetHeight;Mn=Math.max(0,Math.min(Mn,Fn)),Tn=Math.max(0,Math.min(Tn,nr)),Ge(Ht.clientX,Ht.clientY,It,Wt)&&(xa(Mn),pa(Tn))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ge=(Tt,It,Wt,Ht)=>{const Mn=document.body.clientHeight,Tn=document.body.clientWidth;return Tt<20&&Wt>Tt||Tt>Tn-20&&Wt<Tt||It<20&&Ht>It||It>Mn-20&&Ht<It?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return b.createElement(b.Fragment,null,b.createElement("div",{className:"markdown-editor-wrapper",ref:ra},b.createElement("div",{className:`markdown-editor-container ${hr} ${Xn?"on-preview":""} ${xr?"mini":""} ${Dr?"full-screen":""}`,style:Qn},b.createElement(Ye,{insertTemp:Lr,watch:Xn,fullScreen:Dr,showNullButton:lr,showNullProgramButton:_n,onActionCallback:Ra,hidetoolBar:Sr,extraUse:be}),b.createElement("div",{className:"markdown-editor-body"},b.createElement("div",{className:"codemirror-container"},b.createElement("textarea",{ref:Gr,placeholder:sr})),Xn?b.createElement("div",{ref:_r,className:"preview-container"},Br==="stex"&&b.createElement(Ae,{value:ln}),Br!=="stex"&&b.createElement(Ve.Z,{edit:!0,disabledFill:on,showProgramFill:_n,value:ln,openEditor:Tt=>{var It;Zr.current=Tt,(It=aa.current)==null||It.setHeight("100vh"),setTimeout(()=>{Kr("add-flowchart")},150)}})):null))),wr?b.createElement("a",{ref:ya,className:"editor-resize"}):null,Rr===Ct&&b.createElement(bt,{callback:Xa,onCancel:Bn}),Rr===tn&&b.createElement(de,{ref:aa,editImgId:Zr.current,callback:Xa,onCancel:Bn}),b.createElement(lt.Z,null,Gn[Rr]&&Rr!==Ct&&Rr!==tn?b.createElement(ot.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Ia,top:ga},title:b.createElement("div",{style:{cursor:"move"},onMouseDown:Rn},Gn[Rr]),open:!0,onCancel:Bn,footer:null,destroyOnClose:!0,width:Rr===tn?"1200px":null,height:Rr===tn?"80vh":null,className:"markdown-popup-form"},qt):null))}},45596:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return Te},I:function(){return lt}});var b=E(28284),ue=E(6767),le=E(37568),ce=E(77736),ge=E(71051),oe=E(47889),xe=E(99571),Oe=E(67303),Se=E(59301),he=E(59301),Ve=Object.defineProperty,Ae=Object.defineProperties,ct=Object.getOwnPropertyDescriptors,Ke=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,ze=(Fe,tt,$e)=>tt in Fe?Ve(Fe,tt,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Fe[tt]=$e,Ze=(Fe,tt)=>{for(var $e in tt||(tt={}))qe.call(tt,$e)&&ze(Fe,$e,tt[$e]);if(Ke)for(var $e of Ke(tt))Me.call(tt,$e)&&ze(Fe,$e,tt[$e]);return Fe},Le=(Fe,tt)=>Ae(Fe,ct(tt));const{useForm:Pe}=b.default,ke={width:280,marginRight:10},Re={labelCol:{span:5},wrapperCol:{span:19}};var Te=({callback:Fe,onCancel:tt})=>{const[$e]=Pe();let Ue=(0,Se.useRef)();function Xe(ht){Ue.current.width=$e.getFieldValue("width"),Ue.current.align=$e.getFieldValue("align"),Fe(ht,Ue.current)}function et(ht,kt){if(ht.status===-1){ue.ZP.error(ht.message);return}$e.setFieldsValue({src:`/api/attachments/${ht.id}`,type:kt.type})}function rt(ht){let kt=ht.target.files[0];Ue.current=kt,lt(kt,et)}return he.createElement(b.default,Le(Ze({form:$e},Re),{className:"upload-image-panel",onFinish:Xe,style:{width:470,overflow:"hidden"}}),he.createElement(b.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},he.createElement("div",{className:"flex-container"},he.createElement(b.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},he.createElement(le.default,{style:ke})),he.createElement(Ye,{onFileChange:rt}))),he.createElement(b.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},he.createElement(le.default,{style:{width:264}})),he.createElement(b.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},he.createElement(ce.Z,null,he.createElement(b.default.Item,{name:"width",style:{margin:0}},he.createElement(ge.Z,{style:{width:264}})),he.createElement("span",{className:"ml8"},"%"))),he.createElement(b.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},he.createElement(oe.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(b.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},he.createElement(xe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(xe.ZP,{type:"default",onClick:tt},"\u53D6\u6D88"))))};function Ye({onFileChange:Fe}){return he.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",he.createElement("input",{type:"file",onChange:Fe}))}function lt(Fe,tt){if(!Fe)throw new String("\u6CA1\u6709\u6587\u4EF6");let $e=new FormData;$e.append("editormd-image-file",Fe),$e.append("file_param_name","editormd-image-file"),$e.append("byxhr","true");var Ue=new window.XMLHttpRequest;Ue.withCredentials=!0,Ue.addEventListener("load",function(Xe){tt(JSON.parse(Xe.target.responseText),Fe)},!1),Ue.addEventListener("error",function(Xe){console.error(Xe)},!1),Ue.open("POST",`${Oe.KI}/api/attachments.json`),Ue.send($e)}},75790:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return le}});var b=E(59301),ue=E(4676);class le extends b.Component{constructor(ge){super(ge);const oe=window.document;this.node=oe.createElement("div"),oe.body.appendChild(this.node)}render(){const{children:ge}=this.props;return(0,ue.createPortal)(ge,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},51124:function(me,ne,E){"use strict";E.d(ne,{SV:function(){return Yt},ZP:function(){return bt}});var b=E(59301),ue=E(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"]},ce={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(`
`)}]},oe={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(`
`)}]},xe={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 Oe=E(53184),Se=E.n(Oe),he=(Bt,$t,cn)=>new Promise((Ie,pe)=>{var de=fe=>{try{De(cn.next(fe))}catch(Qe){pe(Qe)}},Ee=fe=>{try{De(cn.throw(fe))}catch(Qe){pe(Qe)}},De=fe=>fe.done?Ie(fe.value):Promise.resolve(fe.value).then(de,Ee);De((cn=cn.apply(Bt,$t)).next())});const Ve={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"]}},Ae=(Bt,$t,cn,Ie)=>{const pe=$t.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:cn.lineNumber,endColumn:cn.column});return Array.from(new Set(pe.match(/\b\w{2,}\b/g)||[])).map(Ee=>({label:Ee,kind:Bt.languages.CompletionItemKind.Text,insertText:Ee,range:Ie}))},ct=(Bt,$t,cn,Ie)=>{Bt.languages.registerCompletionItemProvider($t,{provideCompletionItems(pe,de){const Ee=pe.getWordUntilPosition(de),De={startLineNumber:de.lineNumber,endLineNumber:de.lineNumber,startColumn:Ee.startColumn,endColumn:Ee.endColumn},fe=pe.getLineContent(de.lineNumber).substring(Ee.startColumn-2,Ee.endColumn);return{suggestions:[...Ae(Bt,pe,de,De),...cn.map(Mt=>({label:Mt,kind:Bt.languages.CompletionItemKind.Keyword,documentation:Mt,insertText:Mt,insertTextRules:Bt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:De})),...Ie.map(Mt=>({label:Mt.label,kind:Bt.languages.CompletionItemKind.Snippet,documentation:Mt.content,insertText:fe.startsWith("#")?Mt.content.replace(/#/,""):Mt.content,insertTextRules:Bt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:De}))]}}})};var Ke=Bt=>{Ve.languages.forEach($t=>{Bt.languages.registerDocumentFormattingEditProvider($t,{provideDocumentFormattingEdits(cn){return he(this,null,function*(){const Ie=Se()(cn.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:cn.getFullModelRange(),text:Ie}]})}})}),ct(Bt,"java",ce.keywords,ce.quickKey),ct(Bt,"cpp",ge.keywords,ge.quickKey),ct(Bt,"c",le.keywords,[]),ct(Bt,"python",oe.keywords,oe.quickKey),ct(Bt,"scala",xe.keywords,xe.quickKey)};const qe="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var Me=Object.defineProperty,ze=(Bt,$t,cn)=>$t in Bt?Me(Bt,$t,{enumerable:!0,configurable:!0,writable:!0,value:cn}):Bt[$t]=cn,Ze=(Bt,$t,cn)=>ze(Bt,typeof $t!="symbol"?$t+"":$t,cn);const Le=class nd{constructor($t,cn,Ie){this.placeholder=$t,this.editor=cn,this.monaco=Ie,cn.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return nd.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)}};Ze(Le,"ID","editor.widget.placeholderHint");var ke=Le,Re=E(96236),Te=E(6767),Ye=E(25399),lt=E(89392),Fe=E(33796),tt=E(56102),$e=Object.defineProperty,Ue=Object.defineProperties,Xe=Object.getOwnPropertyDescriptors,et=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,kt=(Bt,$t,cn)=>$t in Bt?$e(Bt,$t,{enumerable:!0,configurable:!0,writable:!0,value:cn}):Bt[$t]=cn,St=(Bt,$t)=>{for(var cn in $t||($t={}))rt.call($t,cn)&&kt(Bt,cn,$t[cn]);if(et)for(var cn of et($t))ht.call($t,cn)&&kt(Bt,cn,$t[cn]);return Bt},Gt=(Bt,$t)=>Ue(Bt,Xe($t)),nt=(Bt,$t)=>{var cn={};for(var Ie in Bt)rt.call(Bt,Ie)&&$t.indexOf(Ie)<0&&(cn[Ie]=Bt[Ie]);if(Bt!=null&&et)for(var Ie of et(Bt))$t.indexOf(Ie)<0&&ht.call(Bt,Ie)&&(cn[Ie]=Bt[Ie]);return cn},je=(Bt,$t,cn)=>new Promise((Ie,pe)=>{var de=fe=>{try{De(cn.next(fe))}catch(Qe){pe(Qe)}},Ee=fe=>{try{De(cn.throw(fe))}catch(Qe){pe(Qe)}},De=fe=>fe.done?Ie(fe.value):Promise.resolve(fe.value).then(de,Ee);De((cn=cn.apply(Bt,$t)).next())});function Be(Bt){return/^\d+$/.test(Bt)?`${Bt}px`:Bt}function wt(){}let Ot=!1;const ot={"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 zt(Bt=[]){let $t=Bt;if(Array.isArray(Bt)){for(let cn=0;cn<Bt.length;cn++){let Ie=ot[Bt[cn]];if(Ie)return Ie}return $t[0]}return ot[$t]||$t}let Ut=null;const pn=()=>je(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(Bt){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",Bt)}});var bt=Bt=>{var $t=Bt,{width:cn="100%",height:Ie="100%",value:pe,language:de="javascript",style:Ee={},options:De={},overrideServices:fe={},theme:Qe="vs-dark",onEditBlur:Mt,isCopy:an=!1,onSave:Sn,autoHeight:gt=!1,forbidCopy:Ft=!1,onChange:Lt=wt,editorDidMount:Jt=wt,onFocus:fn=wt,onBreakPoint:Zt=wt,breakPointValue:mt=[],filename:tn="educoder.txt",errorLine:Ct,errorContent:Rt="",highlightLine:vt,openBreakPoint:jt=!1,placeholder:At="",showMiniMap:Je=!0}=$t,un=nt($t,["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 gn=(0,b.useRef)(),Et=(0,b.useRef)({}),Ln=(0,b.useRef)(),ar=(0,b.useRef)(),Hn=(0,b.useRef)([]),Vt=(0,b.useRef)(!1),dr=(0,b.useRef)(),qn=(0,b.useRef)(),xn=(0,b.useRef)(!1),[zn,cr]=(0,b.useState)(!1);function ir(){let lr;return gn.current&&(lr=new ue.Z(_n=>{for(let Sr of _n)(Sr.target.offsetHeight>0||Sr.target.offsetWidth>0)&&Et.current.instance.layout()}),lr.observe(gn.current)),lr}function Gn(){Te.ZP.warning({content:decodeURIComponent(qe),key:"monaco-editor-tip"})}const Yn=()=>{let lr=Et.current.instance;if(pe!=null&&lr&&zn){const _n=lr.getModel();_n&&pe!==_n.getValue()&&(Ot=!0,_n.setValue(pe),lr.layout(),Ot=!1)}};(0,b.useEffect)(()=>{const lr=Fe.Z.subscribe("formatDocument",_n=>{var Sr;let kr=Et.current.instance;(Sr=kr==null?void 0:kr.getAction)==null||Sr.call(kr,"editor.action.formatDocument").run()});return window.updateMonacoValue=_n=>{Lt(_n)},lr},[]),(0,b.useEffect)(()=>{var lr;let _n=Et.current.instance;ar.current&&clearTimeout(ar.current),ar.current=setTimeout(()=>{Yn()},500),pe&&(pe!=null&&pe.length)&&((lr=_n==null?void 0:_n.updateOptions)==null||lr.call(_n,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(pe.split(/\r\n|\r|\n/g).length))+3,5)}))},[pe,zn,Et.current]),(0,b.useEffect)(()=>{if(Ct&&Et.current&&Et.current.instance){let _n=Et.current.instance;_n.changeViewZones(function(Sr){var kr=document.createElement("div");kr.style.padding="10px 20px",kr.style.width="calc(100% - 20px)",kr.className="my-error-line-wrp",kr.innerHTML=Rt,Sr.addZone({afterLineNumber:Ct||11,heightInLines:3,domNode:kr})});var lr={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}};_n.addOverlayWidget(lr),_n.revealPositionInCenter({lineNumber:20,column:1})}},[Ct,Et.current,zn]);const nn=(lr="",_n)=>{if(!lr||lr.trim()==="")return!0;const kr=Et.current.instance.getModel().getLineTokens(_n);let Ur=!1;for(let rn=0;rn<2;rn++)kr.getStandardTokenType(rn)===1&&(Ur=!0);return Ur};(0,b.useEffect)(()=>{var lr;const _n=(lr=Et.current)==null?void 0:lr.instance;if(_n&&zn&&Ft){const Sr=_n.onDidBlurEditorWidget(()=>{xn.current=!1}),kr=_n.onDidFocusEditorText(()=>{xn.current=!0});return()=>{Sr.dispose(),kr.dispose()}}},[Et.current,zn,Ft]),(0,b.useEffect)(()=>{var lr;if((lr=Et.current)!=null&&lr.instance&&zn&&jt){let _n=Et.current.instance,Sr=_n.getModel();if(!Sr)return;(()=>{var Cn;let yr=[],ln=[];const Ar=Sr.getAllDecorations();for(let Cr of Ar)Cr.options.className==="highlighted-line"&&(yr.push((Cn=Cr==null?void 0:Cr.range)==null?void 0:Cn.startLineNumber),ln.push(Cr==null?void 0:Cr.id));if(vt===yr[0])return;Sr.deltaDecorations(ln,[]);const Xn=Sr.getLineCount();vt&&vt<=Xn&&(_n.deltaDecorations([],[{range:new Ut.Range(vt,1,vt,Sr.getLineMaxColumn(vt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),_n.revealLineInCenter(vt))})();const Ur=(Cn=!1)=>{var yr;let ln=[],Ar=[];const Xn=Sr.getAllDecorations();for(let Cr of Xn)Cr.options.linesDecorationsClassName==="breakpoints-select"&&(ln.push((yr=Cr==null?void 0:Cr.range)==null?void 0:yr.startLineNumber),Ar.push(Cr==null?void 0:Cr.id));if(Cn)return{lines:ln,ids:Ar};Zt(ln)},rn=Cn=>je(void 0,null,function*(){let yr={range:new Ut.Range(Cn,1,Cn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Sr.deltaDecorations([],[yr]),Ur()}),Qt=Cn=>je(void 0,null,function*(){let yr=[];const ln=_n.getLineDecorations(Cn);for(let Ar of ln)Ar.options.linesDecorationsClassName==="breakpoints-select"&&yr.push(Ar.id);yield Sr.deltaDecorations(yr,[]),Ur()}),hr=Cn=>{let yr=_n.getLineDecorations(Cn);for(let ln of yr)if(ln.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,lt.isEqual)(mt,Ur(!0).lines)){Sr.deltaDecorations(Ur(!0).ids,[]);const Cn=mt.map(yr=>({range:new Ut.Range(yr,1,yr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Sr.deltaDecorations([],Cn)}const $n=_n.onDidChangeModelContent(Cn=>{let yr=_n.getPosition();if(yr){let ln=yr.lineNumber;clearTimeout(qn.current),qn.current=setTimeout(()=>{nn(Sr.getLineContent(ln),ln)?Qt(ln):hr(ln)?(Qt(ln),rn(ln)):Ur()},100)}}),Pt=_n.onMouseDown(Cn=>{var yr,ln,Ar;if(Cn.target.detail&&((Ar=(ln=(yr=Cn.target)==null?void 0:yr.element)==null?void 0:ln.className)!=null&&Ar.includes("line-numbers"))){let Xn=Cn.target.position.lineNumber;if(nn(Sr.getLineContent(Xn),Xn))return;hr(Xn)?Qt(Xn):rn(Xn)}}),on=Cn=>{let yr={range:new Ut.Range(Cn,1,Cn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Hn.current=_n.deltaDecorations(Hn.current,[yr])},sr=()=>{Hn.current=_n.deltaDecorations(Hn.current,[])},Kt=_n.onMouseMove(Cn=>{var yr,ln,Ar;if(sr(),Cn.target.detail&&((Ar=(ln=(yr=Cn.target)==null?void 0:yr.element)==null?void 0:ln.className)!=null&&Ar.includes("line-numbers"))){let Xn=Cn.target.position.lineNumber;if(nn(Sr.getLineContent(Xn),Xn))return;on(Xn)}}),be=_n.onMouseLeave(()=>{sr()});return()=>{$n.dispose(),Pt.dispose(),Kt.dispose(),be.dispose()}}},[Et.current,zn,mt,vt,jt,de]),(0,b.useEffect)(()=>{var lr;(lr=Et.current)!=null&&lr.instance&&jt&&Et.current.instance.setPosition({lineNumber:0,column:0})},[vt]);function An(){let lr=Et.current.instance;if(lr){const _n=lr.getSelection(),Sr=Et.current.pastePos||{},kr=new Ut.Range(Sr.startLineNumber||_n.endLineNumber,Sr.startColumn||_n.endColumn,Sr.endLineNumber||_n.endLineNumber,Sr.endColumn||_n.endColumn);setTimeout(()=>{lr.executeEdits("",[{range:kr,text:""}])},300)}}function Nn(lr){(window.navigator.platform.match("Mac")?lr.metaKey:lr.ctrlKey)&&lr.keyCode==83&&(lr.preventDefault(),Sn())}const In=()=>{if(gt&&Et.current.instance){const lr=Et.current.instance.getContentHeight();wr(lr<Ie?Ie:lr)}else wr(Ie)};function xr(lr){var _n=document.createEvent("MouseEvents");_n.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),lr.dispatchEvent(_n)}const gr=lr=>{if(!xn.current)return;const{keyCode:_n,ctrlKey:Sr,metaKey:kr,target:Ur,type:rn}=lr;return(rn==="paste"||(_n===67||_n===86)&&(kr||Sr))&&Ur.nodeName==="TEXTAREA"&&(Gn(),lr.preventDefault()),!1};function or(lr,_n){var Sr=window.URL||window.webkitURL||window,kr=new Blob([_n]),Ur=document.createElementNS("http://www.w3.org/1999/xhtml","a");Ur.href=Sr.createObjectURL(kr),Ur.download=lr,xr(Ur)}(0,b.useEffect)(()=>{In()},[In]),(0,b.useEffect)(()=>{gn.current&&!zn&&Promise.all([E.e(8909),E.e(5028)]).then(E.bind(E,71448)).then(lr=>{try{Ut=lr,Et.current.instance=Ut.editor.create(gn.current,{value:pe,language:zt(de),theme:Qe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Je||!1}},fe);const _n=Et.current.instance;let Ur=[...Re.BH._menuItems].find($n=>$n[0]._debugName=="EditorContext")[1],rn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Qt=($n,Pt)=>{var on,sr;let Kt=$n._first;do Pt.includes((sr=(on=Kt.element)==null?void 0:on.command)==null?void 0:sr.id)&&$n._remove(Kt);while(Kt=Kt.next)};if(Jt(_n,Ut),setTimeout(()=>{In(),Et.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{or(tn||"educoder.txt",_n.getValue())}})},500),Et.current.subscription=_n.onDidChangeModelContent($n=>{Vt.current?clearTimeout(dr.current):(In(),Lt(_n.getValue(),$n)),dr.current=setTimeout(()=>{Vt.current=!1},500)}),window.Monaco||Ke(Ut,zt(de)),Ft&&(Qt(Ur,rn),gn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",gr),window.removeEventListener("paste",gr),window.addEventListener("keydown",gr),window.addEventListener("paste",gr)),window.Monaco=Ut,Mt&&_n.onDidBlurEditorWidget(()=>{Mt(_n.getValue())}),fn&&_n.onDidFocusEditorText(()=>{Ft&&pn(),fn(_n.getValue())}),Ft){pn();try{_n.onDidPaste($n=>{const Pt=_n.getSelection(),on=Et.current.pastePos||{},sr=new Ut.Range(on.startLineNumber||Pt.endLineNumber,on.startColumn||Pt.endColumn,on.endLineNumber||Pt.endLineNumber,on.endColumn||Pt.endColumn);_n.executeEdits("",[{range:$n.range,text:""}])})}catch($n){}}let hr=ir();return At&&typeof At=="string"&&new ke(At,_n,Ut),cr(!0),()=>{const $n=Et.current.instance;$n.dispose();const Pt=$n.getModel();Pt&&Pt.dispose(),Et.current.subscription&&Et.current.subscription.dispose(),hr.unobserve(gn.current)}}catch(_n){}})},[]),(0,b.useEffect)(()=>{if(Et.current.instance&&zn)return document.addEventListener("keydown",Nn,!1),()=>{document.removeEventListener("keydown",Nn)}},[Sn,zn]),(0,b.useEffect)(()=>{let lr=Et.current.instance;if(lr&&zn){let _n=zt(de);Ut.editor.setModelLanguage(lr.getModel(),_n)}},[de,zn]),(0,b.useEffect)(()=>{Et.current.instance&&zn&&Ut.editor.setTheme(Qe)},[Qe,zn]),(0,b.useEffect)(()=>{let lr=Et.current.instance;Ln.current=De,lr&&zn&&(lr.updateOptions(St({},De)),setTimeout(()=>{lr.getModel().updateOptions(St({},De))},200))},[JSON.stringify(De),zn]),(0,b.useEffect)(()=>{let lr=Et.current.instance;lr&&zn&&lr.layout()},[cn,Ie,zn]);const[Lr,Br]=(0,b.useState)(Be(cn)),[Pr,wr]=(0,b.useState)(Be(Ie)),Ir=Gt(St({},Ee),{width:Lr,height:Pr,position:"relative"});return b.createElement("div",{className:"my-monaco-editor",ref:gn,style:Ir},an&&b.createElement(tt.CopyToClipboard,{text:pe,onCopy:()=>Te.ZP.success("\u590D\u5236\u6210\u529F")},b.createElement(Ye.Z,{title:"\u590D\u5236\u4EE3\u7801"},b.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},b.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Yt({width:Bt="100%",height:$t="100%",original:cn,modified:Ie,language:pe,options:de={}}){const Ee=(0,b.useRef)(),[De,fe]=(0,b.useState)(null);function Qe(gt){let Ft;return Ee.current&&(Ft=new ue.Z(Lt=>{for(let Jt of Lt)(Jt.target.offsetHeight>0||Jt.target.offsetWidth>0)&&gt.layout()}),Ft.observe(Ee.current)),Ft}(0,b.useEffect)(()=>(Ee.current&&Promise.all([E.e(8909),E.e(9404)]).then(E.bind(E,2550)).then(gt=>{Ut=gt;const Ft=Ut.editor.createDiffEditor(Ee.current,Gt(St({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},de),{wordWrap:!0}));fe(Ft);let Lt=Qe(Ft);return()=>{Ft.dispose();const Jt=Ft.getModel();Jt&&Jt.dispose(),Lt.unobserve(Ee.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,b.useEffect)(()=>{De&&De.setModel({original:Ut.editor.createModel(cn,pe),modified:Ut.editor.createModel(Ie,pe)})},[cn,Ie,pe,De]);const Mt=Be(Bt),an=Be($t),Sn={width:Mt,height:an};return b.createElement("div",{className:"my-diff-editor",ref:Ee,style:Sn})}},929:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return Ae}});var b={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"},ue=E(29787),le=E(25399),ce=E(60242),ge=E(92310),oe=E.n(ge),xe=E(49661),Oe=E(57884),Se=E(34055),he=E(59301),Ae=({className:ct,dataSource:Ke=[],col:qe=4,right:Me,bottom:ze=23,precision:Ze=0,wrapWidth:Le=1200,trackEventItems:Pe,loading:ke,onRemove:Re=()=>{},isCurrent:Te=!0,showProgress:Ye=!1,showAlias:lt=!1})=>{const Fe=Math.floor((Le-(qe-1)*Me)/qe),tt=[{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(ue.Z,{spinning:ke},he.createElement("div",{className:oe()(b.list,ct)},!!(Ke!=null&&Ke.length)&&(Ke==null?void 0:Ke.map(($e,Ue)=>{var Xe,et,rt,ht,kt,St;const{name:Gt,id:nt,identifier:je,featured:Be,school_name:wt,image_url:Ot,excellent:ot,is_plan:zt}=$e;return he.createElement("div",{key:nt,className:Te&&Ye?b.wrapisCurrent:b.wrap,style:{width:Fe,marginRight:(1+Ue)%qe===0?0:Me+Ze,marginBottom:ze}},he.createElement("a",{className:b.li,onClick:Ut=>{Ut.preventDefault(),Ut.stopPropagation(),Pe&&(0,xe.L9)([Pe]),(0,xe.xg)(`/paths/${je}`)}},he.createElement("div",{className:b.img},he.createElement("img",{className:b.cover,src:`${Ot}`}),Te&&(0,Se.bg)()&&($e==null?void 0:$e.studying)&&he.createElement("div",{className:`${b.movebq} user-path-items`,onClick:Ut=>{Ut.stopPropagation(),Re($e)}},he.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),he.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Xe=$e==null?void 0:$e.subject_tags)==null?void 0:Xe.map((Ut,pn)=>{var bt,Yt;if(pn===0){const $t=(bt=tt.find(cn=>cn.name==Ut))==null?void 0:bt.swimg;return he.createElement("img",{className:b.sign,src:$t,style:{left:"-4px"}})}const Bt=(Yt=tt.find($t=>$t.name==Ut))==null?void 0:Yt.ptimg;return he.createElement("img",{className:b.sign,src:Bt,style:{left:`${48+52*(pn-1)+2*pn}px`}})}),he.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},($e==null?void 0:$e.excellent)&&he.createElement("div",{className:b.bq},"\u5F00\u653E\u8BFE\u7A0B"))),he.createElement("div",{className:b.name},he.createElement(le.Z,{title:lt&&($e!=null&&$e.excellent_alias_name)?he.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Gt}`,he.createElement("br",null),he.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${$e==null?void 0:$e.excellent_alias_name}`)):Gt},he.createElement("span",{className:b.e},lt&&($e==null?void 0:$e.excellent_alias_name)||Gt))),Te&&Ye&&((et=$e==null?void 0:$e.progress)==null?void 0:et.all_score)!=0&&he.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},he.createElement(ce.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((rt=$e==null?void 0:$e.progress)==null?void 0:rt.my_score)/((ht=$e==null?void 0:$e.progress)==null?void 0:ht.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(kt=$e==null?void 0:$e.progress)==null?void 0:kt.my_score,"/",(St=$e==null?void 0:$e.progress)==null?void 0:St.all_score),(!Te||!Ye)&&he.createElement(le.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${wt}`},he.createElement("div",{className:b.unit},he.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),wt)),(!Te||!Ye)&&he.createElement("div",{className:b.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,$e.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,$e.members_count)))))))})),!Ke.length&&he.createElement(Oe.Z,null)))}},71360:function(me,ne,E){"use strict";E.d(ne,{jL:function(){return ge},w9:function(){return Be},QD:function(){return Ct},cQ:function(){return kt.Z},op:function(){return Lt},O5:function(){return Yn},_b:function(){return un},t7:function(){return Ze},Gi:function(){return pn},YG:function(){return zt},qp:function(){return Ve},vr:function(){return jt},qE:function(){return Zt},Je:function(){return ke},wb:function(){return ht},cq:function(){return Ie},tp:function(){return Ke}});var b=E(59301),ue={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,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",ge=({dataSource:nn=[],img:An,imgWidth:Nn=346,title:In,sunTitle:xr,bannerExtraContent:gr})=>b.createElement("div",{className:ue.banner},b.createElement("div",{className:ue.content},b.createElement("aside",null,b.createElement("p",null,b.createElement("b",null,In),b.createElement("span",null,xr)),nn.length>0&&b.createElement("div",{className:ue.btns},nn.map((or,Lr)=>b.createElement("div",{key:Lr,onClick:or.click},or.name,or.sign?b.createElement("img",{src:le,width:39}):null))),gr),An&&b.createElement("img",{style:{marginTop:33,marginRight:38},src:An,width:Nn}))),oe={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"},xe=E(92310),Oe=E.n(xe),Se=E(89392),Ve=({dataSource:nn=[],value:An,onChange:Nn,onTitleChange:In,className:xr,title:gr,titleWidth:or=41,style:Lr={},fontColor:Br="#6A7283",showCount:Pr})=>{const[wr,Ir]=(0,b.useState)(0),[lr,_n]=(0,b.useState)(!1),Sr=(0,b.useRef)(null),kr=(0,b.useRef)(null);return(0,b.useEffect)(()=>{var Ur;nn.length!==0&&(((Ur=Sr==null?void 0:Sr.current)==null?void 0:Ur.clientHeight)>97?Ir(1):Ir(0)),nn.length===0&&Ir(0),_n(!1)},[nn]),b.createElement("div",{className:Oe()(oe.row,xr),style:Lr},b.createElement("div",{onClick:(0,Se.throttle)(()=>In==null?void 0:In(),2e3),style:{width:or,marginTop:lr?12:4},className:`${oe.title} ${In?"current":""}`},gr),b.createElement("div",{className:lr?`${oe.tagsWrap} ${oe.tagsBorderWrap}`:oe.tagsWrap},b.createElement("div",{className:oe.bar,ref:kr,style:wr>0?{height:wr===1?97:"auto",overflow:wr===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},b.createElement("div",{className:oe.tag,ref:Sr},nn==null?void 0:nn.map(Ur=>b.createElement("span",{onClick:()=>Nn(Ur.id),key:Ur.id,style:{color:Br},className:An===Ur.id?oe.active:""},b.createElement("span",{title:Ur.name,className:oe.name},Ur.name),!!Pr&&b.createElement("span",{className:oe.num},Ur.count))))),!!wr&&b.createElement(b.Fragment,null,wr===1?b.createElement("div",{onClick:()=>{var Ur;Ir(2),((Ur=Sr==null?void 0:Sr.current)==null?void 0:Ur.clientHeight)>245?_n(!0):_n(!1)},className:oe.action},"\u5C55\u5F00",b.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):b.createElement("div",{onClick:()=>{kr.current.scrollTop=0,Ir(1),_n(!1)},className:oe.action},"\u6536\u8D77",b.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Ae={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"},Ke=({dataSource:nn=[],value:An,onChange:Nn,className:In,style:xr={}})=>b.createElement("div",{style:xr,className:Oe()(Ae.tabs,In)},nn.map(gr=>b.createElement("span",{onClick:()=>Nn(gr.id),className:An===gr.id?Ae.active:"",key:gr.id},gr.name))),qe={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"},Me=E(37568),Ze=({dataSource:nn=[],value:An="",onChange:Nn,onInputChange:In=()=>{},className:xr,style:gr={},placeholder:or,allowClear:Lr=!1})=>{var Br;const[Pr,wr]=(0,b.useState)(""),[Ir,lr]=(0,b.useState)("");(0,b.useEffect)(()=>{var kr;let Ur=An;(kr=JSON.stringify(An))!=null&&kr.includes("{")&&(wr(An.id),Ur=An.value||"");try{lr(decodeURIComponent(Ur||""))}catch(rn){lr(decodeURIComponent(Ur||""))}},[An]);const _n=()=>{Nn(encodeURIComponent(Ir),Pr||null)},Sr=kr=>{kr!==Pr&&(wr(kr),Nn(encodeURIComponent(Ir),kr))};return b.createElement("div",{className:Oe()(qe.input,xr),style:gr},!!nn.length&&b.createElement("div",{className:qe.dropdown},b.createElement("div",{className:qe.text},(Br=nn.find(kr=>kr.id===Pr))==null?void 0:Br.name,b.createElement("i",{className:"iconfont icon-zhankai4"}),b.createElement("b",{className:qe.b1}),b.createElement("b",{className:qe.b2})),b.createElement("div",{className:qe.menu},nn.map((kr,Ur)=>b.createElement("div",{key:Ur,onClick:()=>Sr(kr.id)},kr.name)))),b.createElement(Me.default,{onPressEnter:_n,value:Ir,onChange:kr=>{lr(kr.target.value),In(encodeURIComponent(kr.target.value),Pr||null)},bordered:!1,placeholder:or}),b.createElement("i",{onClick:_n,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Le={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"},ke=({value:nn,onChange:An,className:Nn,total:In,pageSize:xr,style:gr={}})=>{const or=nn<2,Lr=nn>=Math.ceil(In/xr);return In<=xr?b.createElement(b.Fragment,null):b.createElement("div",{className:Oe()(Le.quickPager,Nn),style:gr},b.createElement("div",{onClick:()=>{or||An(nn-1,"prev")},className:or?Le.disabled:""},"\u4E0A\u4E00\u9875"),b.createElement("div",{onClick:()=>{Lr||An(nn+1,"next")},className:Lr?Le.disabled:""},"\u4E0B\u4E00\u9875"))},Re={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"},Te=E(29787),Ye=E(25399),lt=E(58018),Fe=E(90524),tt=E(49661),$e=E(96908),Ue=E(57177),Xe=E(81378),et=E(57884),ht=({className:nn,dataSource:An=[],col:Nn=4,right:In,bottom:xr=23,precision:gr=0,wrapWidth:or=1200,trackEventItems:Lr,loading:Br})=>{const Pr=Math.floor((or-(Nn-1)*In)/Nn);return b.createElement(Te.Z,{spinning:Br},b.createElement("div",{className:Oe()(Re.list,nn)},!!An.length&&An.map((wr,Ir)=>{const{name:lr,id:_n,identifier:Sr,power:kr,cover_image_id:Ur,pic:rn}=wr;return b.createElement("div",{className:Re.wrap,key:_n,style:{width:Pr,marginRight:(1+Ir)%Nn===0?0:In+gr,marginBottom:xr}},b.createElement("a",{target:"_blank",href:`/shixuns/${Sr}/challenges`,className:Re.li,onClick:Qt=>{Qt.preventDefault(),Lr&&(0,tt.L9)([Lr]),kr&&(0,tt.xg)(`/shixuns/${Sr}/challenges`)}},b.createElement("div",{className:Re.img},b.createElement("img",{className:Re.cover,src:`${rn}`}),wr.is_jupyter&&b.createElement("img",{className:Re.sign,src:$e}),wr.is_jupyter_lab&&b.createElement("img",{className:Re.sign,src:Ue}),wr.is_unity_3d&&b.createElement("img",{className:Re.sign,src:Xe})),b.createElement("div",{className:Re.name},b.createElement(Ye.Z,{title:lr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:Re.e},lr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{className:Re.tags},b.createElement(Ye.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),b.createElement("span",null,wr.challenges_count))),!!wr.myshixuns_count&&b.createElement(Ye.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),b.createElement("span",null,wr.myshixuns_count))),b.createElement(Ye.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},b.createElement("span",null,b.createElement("span",null,wr.level))),b.createElement("div",{className:Re.rate},b.createElement(lt.Z,{allowHalf:!0,disabled:!0,defaultValue:wr.score_info}),b.createElement("span",null,"\xA0",wr.score_info?`${wr.score_info}\u5206`:"5\u5206")))),!kr&&b.createElement("div",{className:Re.lockWrap},b.createElement("img",{src:`${Fe.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),b.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!An.length&&b.createElement(et.Z,null)))},kt=E(929),St={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"},Gt="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/bbTV5GmHeL3JBLRxzttof45awCLRYo9vpuZE7YGdyG2Q0R5UvQBWxYwKwBn8pWPEPg7IlhdiKDYnrMIXAz6WDrh/mu3bXcNcEC5P7wIbrdQzH9eQCZF7+2WkrsCWPZcD/TgRbZsF1zTmrBrBX5HN3tyxwD7YTOVRy8KVL0Bd65Vmo667q2dStcdASx6rofyjouqUK/B9dsXFUohcksnenLbAMtemy1UfnrRiLE84NZ6IdqRirtvbdfi1TbA2Xz5r5j5j5Z5ehe705RMf51KRP64ncVoC2BxHLDH9/batlz2gJPnFc7PArNVgvjViABH6Zhm/ZErQoxkH7AmxYhHlsX71s7aWr9XbNek6M52HBQtA6xdflx5pldCVaEMHDuvcK5A8AjI5oB8EShXgEoZKFeBSgVQCohEgKjr/4z3AUP9gCIg7jLWpBn9fa9lsMXa5d7UqquxJYCFYrOFyk964c8V4F44oVCsEs5lgfNZIJcHPMFIk27wU0sbof/V0UcyBgz2AyMDQDQCbBzwXrtAEz2airu/3ErQQEsA5wqVT3qe93WbPKfqAS+eUsiWCWdmgJPTQLVaB2gjw6oB3U9B0azbsGz5XV6KsWFg01pAzGqXjniIua89ilZK3ZWMu99ohklTgP0YqsqLNlnz+SJh7ymF8xkf2JKEkFu+BOx1Y8CGNcBAH2P9gGe5h5VujqZTCfeKZjFeTQHO5EpfA/ApW9N5ZYYweU5h6jhwPlfHcpux5Ha/BxCLAldfBqSijMtHX2sg4x/SyejvLIXNkgAHoa07bEnNe48rnCkQDr8CFBokehh2q1ntIizYsOVG3y/g6AH7dl3gykuAvj4gAkahSihUCCVP9nryJfNgj1dguIrQ5wKJCCMZZaSjjOGEh6jV9LbuSUb2YAW+ZamQ3CUBzubLT9mKW95zTOFkhnDoqC8NL8clL0oqSYgnCSoCVIM92580axAjji+BuyqQ4RgQOq8wUKrK/0jv83Ilo8BQzMO6VBUDseWYQfM+JO46lYi8cbE7FwVYZxxUvf9u3kXzOyZnCIfPKuw/FAhSgcxTz3GbyFQLpOh6Ics877qE9AAQiZEGSyJUI6JGOT5VxlxocEWvdgTcAGQBUtQwWRTDTQTkYhXIlQnZElD2fMBjDmMizdjYX0VkhSlbOepXF/M6LQpwJl/ebiOd5FyR8PxxhQNHgGKP8+9EL04PKU2tAr5LjIQLJB0DJmswDbACpuP41KuBFYDlEwBsKFdz72ClZqvA2SJpI4yALc+PJ6rYPCDSevOXvSd3EG1PJyK/1KjthgBLIhg8frjbwYgq9MRhB5PHgXOZha01k5nq9d4FalEgowk4/UMKTp/fR59iJBX0nqkBo8ASpsGVPdYHVD7yuwY8uLcGcrAyNZCljbopZErAqQKhWPGB3pD2cEl/RUyK3S5d+88renujhLeGI8nmyv9rI8vv+aMKh6cJk8eC8Tbjye1Oi4BEkpDo91lxVDFSjghS/lVjuQZgMXc6DDdgxRrYEAWbl0GDHwC6FMBmuLkycKJAKFUJMQe4YriCwdjy6t6S1ZhKRn6l0TY37386Pxd4st21rr9fWNnTkw72HeyNnit7Z/+YAsn+CUbaBWJ68wzADbFZQ8GaJSuex6INy9ZCVmDvNkBLW2Y/DrPpxdbmTBGYLhCYCBvSVWzury4rNSvgTfX5yQsoOJMr/T2AJXWrVsDfeUThldOEoydbubu9e9wIYWBUFtJnxwPOHPuct28KyHWs1yHWVCsgCgULwAZkDXBA3ealaAdgmYWoXlNZ0vtzfx9wzUhZ97NM19fSyeinw33NA1jKJmTzlePdZtaL40Cod8+BQGq2OLtIFBgcVVrlSTiMtDPXeHgy+ndDgYFkrPfZEBUb9cgA7H8X7M/B3m0o17QXNLvkjGRsx/OkJW+R2q8erWjW3fuLZlIJdyJcTmIewPl85QNV9r7X7UD2nVTYd4wweXTplpoZNuqf7osB6WEFD4xBw5IbdFG/b8rfMlENoKZQn01rISvYg42qNPcSzLFneRH0FWL/razR6QLh7KxvNLl2tLwsUrZD6oOJhHu3Gd88gLP5skRH3tnK4Je6Z/tBBwenGkvOnbYtHqL+Nb5DeFgMFK2wPSNBB9gYdu2zaNZg14QsvZfPl6r1ixH+NFCfms3nfBk4lSdEXcK1Y2X0tTLuZo0u8T0R3ZtKRN67AGApVZQrVI52W81GDANPHnGw64XA5RcaTODsWbSswGJCthguhsYJHjNGWwXXEJ0BSChYfjdsGKzB05Qb/M/swWGVSb8MwbMycNNGeG9uhse5EnC6qLShRUAWga5Xl1T/ScbddabEU42CbbkEX55W2DtFONAg87WZltToBZAFHV4rbBkYiDASLSzOPLYUAtgA6APFvkFD2HQAvBikjSQt1C036BdAKDt4EbSEbQwjIQNIM8BEXz5fJu3Zunqkt7basCuxthbZfOm7zPjNZgNt9v3OSYWXpgjHpxf655sB3Kjt0XEhLyDpMvrrBZVGqmadXlDbPo3QFLJUacOJYuhce+NXDu4z0nRY0hbDiTgu6oWxZmsi30sXIniJk0NUKDGK9Ooiwr+kEtGPhsQGCZEpH7NRQc7sv9PnlgzA0HNrZslKpgnxftKq0FCHZkAjYEl/AkxNWBKngo4aYWxdR7h8Qr5f3AJVKDF2H/FNnZHASSHgmz26FbCkv6kcoQrCVaMVpHsUiCAV+VLJyNoawEHtxz2tDLLZPT894OClI37oTTeXcoHRCaUdBbLvLrH2S3YzT481+CrA84CKJ2oc49feRHA1T176+vlBT8eGxSJ+PJgxc7ZjmRQ9+WiOEHMJ142WemYIibqRqyVYXs8qkyv9HoCvNptgK98/+rKD3S8CxVIrdy9+z8ioguoDBiOMePO1X9hQ6JkwFcuNQkns+UaJSpnx4V8iOC28QY+/6KFSBeIxaJVHuxoDo0k7sz1bIpwrETalq5hI9oxVfzadjP6dD3C+/B9gfn87g1zs3u2HHDz9/CIGjmY8OWhUjBlD4wpR8lWijq6wcyD4XW/ZQTBfqeJHbM5WGB9/W2sA/2yvp6k+0Qckoj6rNlaxdsYoe/8reV/6u3GsBKcdFtBqR0T/kU5EPqABzuZLLzPjklafXeq+n73s4JkXgFIXFDw2IdIMMBbh1vTdRgOqM0roNQwiN8TLpcEtC6dhfPK25gCLivbALtZUm4wDcQFYjCQdbh/ioDg1q3TwwIaUfSomwqFUInqpVOiK5QqVnK16yz854OCFg/LSLBSi6nFopBaJnXlkgtBHjCEb9WVDDgPDmiVao6zBBUR4+sztPsAvHmU89KwvOMn+KuDJfhuLsLZ7y/8kPFc+ArDEZndCwWYdROAShnLjmjKUZSqWetfJuJuk7Cxfx5XyszaoV9rQQtYkMD3TWYsjYwQ3ThgV6u1k7w11G1aRTJy1sEfJnBAOU5DPLOOzd/gA//wA49+3+/ZoAU8C9hIxRqoPSCeAlAG3zwc+2uEebIaYKQPTswqbByoYj9t3L5IbuZ5s2Z/NoB9/WWH/FOHY6QZ6cIM45nAQnbQxsVHpSIzRaGcvSPgpAViANTZvEazEEWDYswB8+QTjnTdKGA7hbJbx7YeBM1mgT8CNCqjsAxuHTpOR/Ve+kxfA2LE7JT6zF8vLcs2wfeOH2KUpVyh/3vP4i90vp9/CnuMKe15pbMlqxqJF700PkdYPJSKjkyvs9dEB8SEjhuy9IgUbAeuWrcC1m+aziVKF8cOngJdPCKA8n3KjQFxYdjRwMYZiuToZqzxzukjIVwnXj5T1S2PzUoq+QNl86dvM+JithjNFwtOTCk8+17zFeqF6fK2CijLWRHyvTzeX5gwBBUs7QrkSzSl6rLDW224A1gws3snOA4xnXvapt541a0NHKOynm3FKQN+JosLGlIeJpKR22LuI8B3K5sr3M/id9pr19+Fn9/sJZK3mFkn/Gy5ROjpj1IJwpfdcAVhin4U1e6ISARMDwLbrhAqbv0FHzzCeeInR5wCpuL/v9sneKy9gyG/czdrJMEVlSrmErcN2UzwI9GPK5MuP2U7mfmZS4YVX/Bjo8LWUGizS85p1hGSdE7+txTP6bqAOCRVrlajqS83XbwbecJnOs2252fwsQ6hZ2pFMRtl/ayG3gamy5cYWufFkUYLwCTeNWbZsEe2gbK70LAPXdTvI8PPTeYKA/OTu4L9GQFzCXzgwAKSGFIYc7spnKtgZdUgAFvelsOZrNwE3X946sOH5VD3Gjn2sbdkxAdmCgBVuX9yJ58oKVw1XkLSY50zAc7IHWzNyhAf96AEH+yehpelWrjVjhGiSMBZlcR51fIUBFoFKqFcMGrddD1w63hnAMpgn93uQUCRRmbQU3aWKFJ5gvgKcLilc2l/FSMye0UOMHZTJlU/bzBw0Az+dIzx3TGHHLn8PbHZt2KSgHMZ4N+qRsVYFrFnSUWXfFYPGO28ELptYCHClyrjnCeCJF32Hxi1XAnfcLFLy/Hu37w0ADqxYhoprHqpmE1zie9HLjxUUxpNVLWzZu2iasvnyLDN3s6yLjuexgw4OHAUOmbjoJUa++RKlY5bFc9TxFQZY2HPZ/+RngXe/Hrh87UKAv79DTJDzA99Fwn7PG+ff+8huD/kS0C/6cNwXtsRUaSNiUnawyRxhKAZcNmBPHyaiUk8Bzs4SnplSePw5P5uwfgsOC12XvE7BdRgjXfDnmr3ZWKvEHBkAfMfrgS3rFgL8Z//M+gUQsIxrUSTmP//Q/Hsf2OXp+/qTvtokurCoSyaeuuOXMnjwlRwhFSVcMWRPktYA94pFmwnvO6EgyWdPPOdLtDUvf92KXHKZ7z3qxLEvL4oSyVli8uTEQckOrPgClrxYuSLjzpsJV6xfCPBf/AvrPVrAMi+gWKw+5/thatf9z3g4XwAGk0DaOBsCn7D2NNZnQrSJ+NG8H30pgpa9S7Po3ghZ4UE+dUjh+DnCzr3zSy6E77lsi9KpJ+0ArM2QoRIe2lsURGr4rkDfW5QtAu97E+HKBgDf97RIyHMAS5ti4br9pvkA3/e0h5k8MBAALGZM0Yd1THUQ01XLoOhAljteJN3ONRbjtbSQ1Qs1qf4NFIqS/fjISWDfoSDZuq6myqVbFGLi/zXSQJ3tPaxpSfvakCFxVAFXEEuV1nsFYDFJGndghZErAO+/hXDVhsZC1oPPAruP+C/LdZuBt1+3UMj6wROM0xnGQMKn4Hk26SDHycRxmQS2dijxaIEQUaQzIWxdWk2ylSbabFCirkim4akZ4NmXfBDCe/DlW5SOvdJOBpNxv0ijJiPfUKuxVA0lgY0jvgAkL4BsCcb+fOm4sNcOSCsYw6GTrL1P2gccfKTfmTxr27b8XwcAhCxcbdhTMCUsOgJcPWSRRRM9JqbKHzH49mYA2fheFuSpIw7OFYCn9wRhPQHKW7YqXdhsIsicr0VfBB2HKdgYMgyI8vKsHwLeek17Viobc2Jm7J1iZIq+AaRmp24zlMcXsoArLAJMoPutOxtaWbTnjymcLRB27YcOr5Vr6xWkY5Q3JedaMKCaMknyjfEQyXeyzwqFFivAnW/ojkJbGfdi92SLjJ0HWbsXta06FAjQChXLnCbzhOE+xusG7TkctLPBtruw1YU6lSHsP62QLQC7DwJrxhWqirFloI5FByjXtuTQPlsTpMrAb79t+anXzFWo+Me7WEd6yN4sTgmTEtMKwBL8d7ygsDZZxXqLhg7tLrTt8G8VYHPfoWmF4znC0TMKmSrwun5PmwH9sjfBj9CebGpVihnSWKlyReBTv9KhA7ndAS9y/z1PeugPoj5MOE+rEZe5ih/ZIUaOIYuJ49rhbztkp5P1kr10+wEXB2cIG/s9DPbNVa+rUYnZi4N4ZpGShTVLPctMAfjM7Z0BfOgE4+cHgfN5YP0ocOtVrbkS6+f5b9s9DKUCCTtg1SbdpdmazJT8tJZrR+xmIOqQHdtBd80ms9j3UtTkP3dHMBpnbOpnQ8C1MoXmOSMxi+QqUq2w+Ewe+My72gf4wV2Me570JV/tpPB8gH7/DmDNYHsS93d/4gNcs3QFOnIrtmrRgUWWuGmNPQm6FnQnC7ccxo5WgL/72QgqHuPGCV4ArBG05Kdmz2UgN+sDfDYL/O672wN4aprxt/fMpaEIECacdt0w8Ad3tgfwPz3kYbQfWk/WwQFBWG0zgEWNFwl6oA/YMmgT4CBsVhY+ky/fDebfaAWEXt7zyAEHR2YUbpjwEHfnDCI1cg4iNLQLMGDPYj48m2kfYKHeR3b7QpGoNgZg8TzJnv4XH5bvWgf5Hx/0MNLvmzLDADdzRuSrUqlH6XoeaxIWPUnhwHebqSvdvABTM8CDByLYMMDYPNA4jNQYLjQQs5J240dBtsuif/A4Y9+UgMFatRGAhTMUSqT39N/eBmwYaR3gbz7oYTQNDKR8Z4REf7TibZJojlmPcMOo9bzhudQVm8ln3QAsz37vWVez5zdvDAEc+tUALM53EbBmAoA//c72WPR9TzFePsma2kR/FR1cABbqPZ8nfPhWYP1wewCPpIHBNgAWs6qwZynWstWigUPWcV7ymd6HLaWPdgvwzikHe04oXD/uYbjBIXnzKLgInAsAvqtNNen+ZxiTp1mrNkJtYkcWwU24grT5628mrG0DYM2iDcChPXgpFi2hOjNlhcstq0cL0kcDQctKAni3AIv/9vu7I7rK683rF7LpBQAXgDMZ4BPvaI+CJc/o2FnW3iHRW8UTJHu7ULAIbe+5mTAx1DoFf+thD8MCcEjIMtV7Gq2JCXqX6gLXj5XbCgRstsYNE8BtlXBo1nkr3+84pPDSGQc3rfMwUkfFJq9XVCRh0YaCP/QWQryFUFjTv0RonJzxU1I0BSs/+kMoeCbruwvHW1SVJL/p7sdYAyxStE5Oa6ImCfWeLYlwVcF4wm7aSsMSDraKsLQCYLN7ciXgnr0RXQfrzZt4XtEWDXCdFC37sGQoXLe5dYr72R4PJ87DZ9GBkGUo+FweeMd1tGRgfHgOzx1mPH+E9f4rAGtX4hIAy94r3iOXCNePlawmni1ahMVn03bKKDUDsJXv/++4g+eOKlw55mHT4NwT2oMU6MEiaIkeLFQsku8Nl0jUhqScNAf68X0eTmXmwm8MixbOIJXof/kawmj/0u3kZhn7p4Bdh31hTbPn4IURgBfLPJR0lUyZsGWwiuG4RdXIP1upcRklWcKVtkuHgfc8xg/3RFGsspaoE0G2gzZ0BA59baoUVSnvmxoF5GyBtIVL9nJxRsglViqxb+uEMskUjPvClXwkPEe8P1pNEs9UYB0TKpb2MtKelA4O0l5M6SVxKMjeLWqWBOJJW8LujbNBUk8bxWsVKuJYIKTlqAGL0Rtm7ZYshGarlGErFNrKPScyhAdecrXA9cYNfhlgk60gYMii66C6or93SuSGRD4KSKUKaVYuFK9LFjoCJOv9Viq362zBIM9Xx2OJqTJg/aYt+SltSx+Vqm9OlMu0pdNLg7YkXlpKOwi7X6x+R1lYc9Yv43PDSFn7j+1eTUoZSme2ipHaGviuowq7TzgYTTJuWucLI8Yebfbi2QBUne8rlBscpCXgGoAFZDE8SByVpj5x64XSQOV7aVf2YT8x3P+ISVTUJ+nLpLqatvTBXAElS1smrSVc+9Ksg6mwU2afNY9YZs26H6X+Ph13PxNe+wWbjK1ywrYAFl/rAy9FcSoHbB5kbBllDZpJKtPpoKGUUJGEBSShNh35EQiopui3T30+0Pr0tKDAmc4hDgQ4kw1hgJW/dX9BrrGpVGteGOEAus0glMcUSgvXddHFSSukzZGXWXTqh9e5pXLCWtiyVBDcFsiywD960UVmlnDNuIe16YCKg2o5RjfWe7MAEQBsYrfmFSM1Vd5DZYRN8W8twAVCnGlT/5T4MX34g++gNtXwxN+rSz0EFfG0V6pW8HRu9lKUVFyCUuXuqhH75Rq0nNFqQXDNpi2V9LcFsLQjqtOPX3Qhhca3jjHWpX1nhA7eC1ixYd36b3koFCigIx39lai5B8Phrvr2IGHcsHbNBYLgwHDYkC6FGDows1Yhvu5QD2nTgCv7vtTFsl2Lo7bG7ZT01yBbOpTDJsiZWeDhgxEtSIlDQth1GBQTqFeLugx1HsSm+1uVsOPQWQ4B7r7TKngpwjU9arFhcxWF5yrBm1LFQQeGLcvzx/KEfIV0wtq1wz0sDE70WDoReUujtV5U0bN5rI5NkCUT75EDEQjYw3HGNeNz0nWAT8jP2KDnYMZm4o1ipswLop9eysgUqsUVbsdUs9NV36OMa0Z7w5bN7Do6VkfvxRYPxrIJsuzJ2w9HcCLrn4N07bicUGazh87bkvpXx3JySAhhPCkCVaV3bNk3bHR2MJZM0fbRdp0vW+Mnxeu055QDqTa1cRDYNMAd17TsdmyyX5+UksEl2eMJW4aqGLPpwG/EjLo92k7vxZYPp+x2Ieufl1NOdr7i4lxRLEuMSwcYo6mFZxzZ7te0J3vtzKwvTMk5iAMxxpXDlR4YMRrOoLvDKX3J0v7xsrYXW3Rl8T7tOen4xUIjrIWwsYSd/N1G4xXVSYA9UyRUPKkeC1w+WMVo74qL1g3D0vGy0upqciUu9XJIwN6+0w4OTit9rI2rWLsb1yQZ6b7OSxKbPkVHlvMLZ2ZJq23i55LDpzcNVrE26fV0r62ft7UDogMq7tkR77apWdqrMuPwjMLhGQdydqI2TijW8dZyVKzYjyWoT2zBi1URFtYrOrcOrq+I98ePwxbmLwYNOdlsfdrDaHx5D7/S62X7iHdf4OKNVa4804t6Hr0A2bQpOvPRjIOTOYWzRd/VOFel3a9ma8yYNcNJrQSir0zJ/RHJXY5D25BFOhYz5cpcNO2Qe1MiQQ1OxVg4ouaO09AzuWLlDvb4XlsHRi/3AklJ4POzCjkpyD0rjgmlvUQV5uBsYXHC+6BHHKF01npsqo+RtFCcrdv5yoHQpOjOZMy9r9W22gJYGs3my3/FzH/UagcX77O3AkT016lE5I/babFtgJnZzRYqP7VdHa+dQV+Q9xLtSMXdtxJRW+kPbQMc7MfrPZR3MGPjBbnYyzxpIkwqRG5JJGiq3a47Alg68YPlK4++2oSudhdo5e+n6ajr3ionqHQylo4B9im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",nt=E(59301),Be=({className:nn,dataSource:An=[],col:Nn=4,right:In,bottom:xr=23,precision:gr=0,wrapWidth:or=1200,trackEventItems:Lr,loading:Br,handleVery:Pr=()=>!0})=>{const wr=Math.floor((or-(Nn-1)*In)/Nn);return nt.createElement(Te.Z,{spinning:Br},nt.createElement("div",{className:Oe()(St.list,nn)},!!An.length&&An.map((Ir,lr)=>{const{subject_identifier:_n,id:Sr,identifier:kr,power:Ur}=Ir,rn=Ir.is_public!=0&&Ir.is_public;return nt.createElement("div",{className:St.wrap,key:Sr,style:{width:wr,marginRight:(1+lr)%Nn===0?0:In+gr,marginBottom:xr}},nt.createElement("a",{className:St.li,onClick:Qt=>{Qt.preventDefault(),Pr(Ir==null?void 0:Ir.first_category_url)&&(Lr&&(0,tt.L9)([Lr]),(0,tt.xg)(Ir.first_category_url))}},nt.createElement("div",{className:St.top},nt.createElement(Ye.Z,{title:Ir.name},nt.createElement("div",{className:St.name},Ir.name)),nt.createElement("img",{className:St.img,src:Fe.Z.IMG_SERVER+"/images/"+Ir.avatar_url}),nt.createElement("div",{className:St.text,title:Ir.creator},Ir.creator),_n&&nt.createElement("div",{className:St.btns},nt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),nt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),rn&&nt.createElement("div",{className:St.sign},"\u516C\u5F00")),nt.createElement("div",{className:St.bottom},Ir.visits>0&&nt.createElement(Ye.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},nt.createElement("span",null,nt.createElement("i",{className:"iconfont icon-liulanyan"}),nt.createElement("span",null,Ir.visits))),Ir.course_members_count>0&&nt.createElement(Ye.Z,{title:"\u6210\u5458",placement:"bottom"},nt.createElement("span",null,nt.createElement("i",{className:"iconfont icon-chengyuan"}),Ir.course_members_count)),Ir.tasks_count>0&&nt.createElement(Ye.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},nt.createElement("span",null,nt.createElement("i",{className:"iconfont icon-zuoye"}),Ir.tasks_count)),Ir.is_end?nt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):nt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Ir.is_accessible&&nt.createElement("div",{className:St.lockWrap},nt.createElement("img",{src:`${Fe.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),nt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!An.length&&nt.createElement(et.Z,null)))},wt={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"},Ot=E(76560),zt=({dataSource:nn=[],value:An,onChange:Nn,className:In,style:xr={},tabBarExtraContent:gr})=>b.createElement("div",{className:Oe()(wt.tabs,In),style:xr},b.createElement("div",{className:wt.tabsWrap},nn.map((or,Lr)=>!(or!=null&&or.hide)&&b.createElement("aside",{className:wt.tab,onClick:()=>{Nn(or.id),or.link&&Ot.history.push(or.link)},key:Lr},b.createElement("div",{className:An===or.id?wt.active:""},or.name),(or==null?void 0:or.resetCount)==null&&(or==null?void 0:or.total)!==void 0&&b.createElement("span",null,"\uFF08",or==null?void 0:or.total,"\uFF09"),(or==null?void 0:or.resetCount)!==void 0&&(or==null?void 0:or.total)!==void 0&&b.createElement(Ye.Z,{title:(or==null?void 0:or.tip)!=null?or==null?void 0:or.tip:""},b.createElement("span",{style:{color:"#9096A3"}},"\uFF08",b.createElement("span",{style:{color:"#000"}},or==null?void 0:or.resetCount),"/",b.createElement("span",null,or==null?void 0:or.total),"\uFF09"))))),b.createElement("div",{className:wt.tabBar},gr)),pn=({className:nn,style:An={},children:Nn})=>b.createElement("div",{className:Oe()(nn),style:An},Nn),bt={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"},Yt=E(75727),Bt=E(93041);const $t=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Ie=({sortValue:nn,dropValue:An,className:Nn,onSort:In,onDrop:xr,dataSource:gr=$t})=>{var or;return b.createElement("div",{className:Oe()(bt.orderWrap,Nn)},b.createElement(Yt.Z,{dropdownRender:()=>b.createElement(Bt.default,null,gr.map((Lr,Br)=>b.createElement(Bt.default.Item,{key:Br,onClick:()=>xr(Lr.id)},Lr.name)))},b.createElement("span",{className:bt.orderTextWrap},(or=gr.find(Lr=>An===Lr.id))==null?void 0:or.name)),b.createElement("span",{className:bt.orderIconWrap},b.createElement("span",{className:bt.orderAsc},b.createElement("i",{className:nn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${bt.cursorPointer} ${bt.active}`:`iconfont icon-sanjiaoxing-up font12 ${bt.cursorPointer}`,onClick:()=>In(nn==="asc"?"desc":"asc")})),b.createElement("span",{className:bt.orderDesc},b.createElement("i",{className:nn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${bt.cursorPointer} ${bt.active}`:`iconfont icon-sanjiaoxing-down font12 ${bt.cursorPointer}`,onClick:()=>In(nn==="asc"?"desc":"asc")}))))},pe={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"},de=E(99571),Ee=Object.defineProperty,De=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,Mt=(nn,An,Nn)=>An in nn?Ee(nn,An,{enumerable:!0,configurable:!0,writable:!0,value:Nn}):nn[An]=Nn,an=(nn,An)=>{for(var Nn in An||(An={}))fe.call(An,Nn)&&Mt(nn,Nn,An[Nn]);if(De)for(var Nn of De(An))Qe.call(An,Nn)&&Mt(nn,Nn,An[Nn]);return nn},Sn=(nn,An)=>{var Nn={};for(var In in nn)fe.call(nn,In)&&An.indexOf(In)<0&&(Nn[In]=nn[In]);if(nn!=null&&De)for(var In of De(nn))An.indexOf(In)<0&&Qe.call(nn,In)&&(Nn[In]=nn[In]);return Nn},gt=(nn,An,Nn)=>new Promise((In,xr)=>{var gr=Br=>{try{Lr(Nn.next(Br))}catch(Pr){xr(Pr)}},or=Br=>{try{Lr(Nn.throw(Br))}catch(Pr){xr(Pr)}},Lr=Br=>Br.done?In(Br.value):Promise.resolve(Br.value).then(gr,or);Lr((Nn=Nn.apply(nn,An)).next())}),Lt=nn=>{var An=nn,{className:Nn,style:In,children:xr,loading:gr=!1,openLoading:or,onClick:Lr=()=>{},size:Br="middle",shape:Pr="round"}=An,wr=Sn(An,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Ir,lr]=(0,b.useState)(!1);return b.createElement(de.ZP,an({onClick:(0,Se.throttle)(_n=>gt(void 0,null,function*(){or&&lr(!0);try{yield Lr(_n)}catch(Sr){console.log("error",Sr)}or&&lr(!1)}),2e3,{leading:!0,trailing:!1}),className:Oe()(pe.btn,pe[`${Br}-${Pr}`],Nn),style:In,size:Br,shape:Pr,loading:Ir||gr},wr),xr)},Jt={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"},Zt=({className:nn,style:An,children:Nn=null,onClick:In,title:xr})=>b.createElement("div",{className:Oe()(Jt.head,nn),style:An},b.createElement("span",{className:"primary-hover",onClick:In},b.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),b.createElement("b",{title:xr},xr),b.createElement("div",{className:Jt.node},Nn)),mt={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"},Ct=({confirmShow:nn=!0,confirmTitle:An,confirmClick:Nn,cancelShow:In=!0,cancelTitle:xr,cancelClick:gr,className:or,style:Lr,confirmLoading:Br=!1})=>b.createElement("div",{className:Oe()(mt.btns,or),style:Lr},nn&&b.createElement(de.ZP,{loading:Br,onClick:Nn,type:"primary",className:mt.confirm},An),In&&b.createElement(de.ZP,{onClick:gr,className:mt.cancel},xr)),Rt={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"},jt=({className:nn,style:An={},LeftContent:Nn,children:In,RightContent:xr})=>b.createElement("div",{className:Oe()(Rt.fixedBottom,nn),style:An},b.createElement("div",{className:Rt.wrap},b.createElement("div",{className:Rt.left},Nn),b.createElement("div",{className:Rt.center},In),b.createElement("div",{className:Rt.right},xr))),At={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"},un=({className:nn,style:An={},dataSource:Nn=[]})=>b.createElement("div",{className:Oe()(At.crumbs,nn),style:An},Nn.map((In,xr)=>xr<Nn.length-1?b.createElement(b.Fragment,{key:xr},In.path||In.onClick?b.createElement("span",{className:At.hover,onClick:In!=null&&In.onClick?In.onClick:()=>Ot.history.push(In.path)},In.name):b.createElement("span",null,In.name),b.createElement("span",null,"\xA0",">","\xA0")):b.createElement("span",{key:xr,style:{color:"#5F6368"}},In.name))),gn=E(11938),Et=Object.defineProperty,Ln=Object.defineProperties,ar=Object.getOwnPropertyDescriptors,Hn=Object.getOwnPropertySymbols,Vt=Object.prototype.hasOwnProperty,dr=Object.prototype.propertyIsEnumerable,qn=(nn,An,Nn)=>An in nn?Et(nn,An,{enumerable:!0,configurable:!0,writable:!0,value:Nn}):nn[An]=Nn,xn=(nn,An)=>{for(var Nn in An||(An={}))Vt.call(An,Nn)&&qn(nn,Nn,An[Nn]);if(Hn)for(var Nn of Hn(An))dr.call(An,Nn)&&qn(nn,Nn,An[Nn]);return nn},zn=(nn,An)=>Ln(nn,ar(An)),cr=(nn,An)=>{var Nn={};for(var In in nn)Vt.call(nn,In)&&An.indexOf(In)<0&&(Nn[In]=nn[In]);if(nn!=null&&Hn)for(var In of Hn(nn))An.indexOf(In)<0&&dr.call(nn,In)&&(Nn[In]=nn[In]);return Nn};const{Countdown:ir}=gn.default;var Yn=nn=>{var An=nn,{onChange:Nn}=An,In=cr(An,["onChange"]);const[xr,gr]=(0,b.useState)(null);(0,b.useEffect)(()=>{typeof xr=="number"&&xr>=0&&Nn(xr)},[xr]);const or=Lr=>{const Br=Math.floor(Lr/1e3);gr(Br)};return b.createElement(ir,zn(xn({},In),{onChange:or}))}},17904:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return ue}});var b=E(59301);function ue(le,ce){const ge=(0,b.useRef)();(0,b.useEffect)(()=>{ge.current=le}),(0,b.useEffect)(()=>{function oe(){ge.current()}if(ce!==null){let xe=setInterval(oe,ce);return()=>clearInterval(xe)}},[ce])}},80320:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return qe}});var b=E(59301),ue=E(6767),le=E(62957),ce=E(17149),ge=E(14566),oe=E(99571),xe=E(90524),Oe=E(49661),Se=E(82093),he=E(76560),Ve={customModal:"customModal___bVzUV",content:"content___oKhZq",upload:"upload___nPxEL",infoText:"infoText___gZEJF",okBtn:"okBtn___CVo2A",fileList:"fileList___tauGN",fileName:"fileName___T_8JX",selectitems:"selectitems___imW2Y"},Ae=E(59301),ct=(Me,ze,Ze)=>new Promise((Le,Pe)=>{var ke=Ye=>{try{Te(Ze.next(Ye))}catch(lt){Pe(lt)}},Re=Ye=>{try{Te(Ze.throw(Ye))}catch(lt){Pe(lt)}},Te=Ye=>Ye.done?Le(Ye.value):Promise.resolve(Ye.value).then(ke,Re);Te((Ze=Ze.apply(Me,ze)).next())}),qe=({visible:Me,onOk:ze,onCancel:Ze,sub_discipline_id:Le=[]})=>{const[Pe,ke]=(0,b.useState)([]),[Re,Te]=(0,b.useState)(!1),Ye=(0,he.useParams)(),[lt,Fe]=(0,b.useState)([]),[tt,$e]=(0,b.useState)([]);(0,b.useEffect)(()=>{Me?Ue():($e([]),ke([]),Te(!1))},[Me]);const Ue=()=>ct(void 0,null,function*(){const St=yield(0,Se.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});Fe(St.disciplines||[]),$e((Le==null?void 0:Le.length)>0?Le:[])}),Xe=()=>{if((tt==null?void 0:tt.length)===0)return ue.ZP.warning("\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF01");console.log("subDisciplineId",tt),Te(!0),ze(Pe,tt[1],()=>{Te(!1)})},et=()=>{Ze()},rt=()=>{const St=`${xe.Z.API_SERVER}/api/courses/${Ye.coursesId}/exercises/down_template`;(0,Oe.Nd)(null,St)},ht=St=>{const Gt={name:St.name,uid:St.uid,file:St};return ke([Gt]),!1},kt=()=>{ke([])};return Ae.createElement(le.default,{title:"\u5BFC\u5165\u8BD5\u9898",open:Me,onOk:Xe,centered:!0,wrapClassName:Ve.customModal,onCancel:et,width:663,okText:"\u786E\u8BA4",okButtonProps:{className:Ve.okBtn},cancelText:"\u53D6\u6D88",confirmLoading:Re},Ae.createElement("div",{className:Ve.content},Ae.createElement("aside",null,Ae.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA41"),Ae.createElement("ul",null,Ae.createElement("li",null,Ae.createElement("span",{style:{color:"#5F6367"}},"\u6839\u636E\u6A21\u677F\u8981\u6C42\u7F16\u8F91\u9700\u8981\u4E0A\u4F20\u7684\u8BD5\u9898"),Ae.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginLeft:20},onClick:rt},"\u4E0B\u8F7D\u8003\u8BD5\u8BD5\u9898\u6A21\u677F"),Ae.createElement("i",{className:"iconfont icon-xiazai4 ml10",onClick:rt,style:{fontSize:14,cursor:"pointer",color:"#0152d9"}})),Ae.createElement("li",{style:{color:"#FA6400"},className:"mt10"},"\u63D0\u793A"),Ae.createElement("li",{className:Ve.infoText},"1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B "),Ae.createElement("li",{className:Ve.infoText},"2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B"),Ae.createElement("li",{className:Ve.infoText},"3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B"),Ae.createElement("li",{className:Ve.infoText},"4\u3001\u586B\u7A7A\u9898\u5BFC\u5165\u6700\u591A\u652F\u63018\u4E2A\u586B\u7A7A\u9879\u3002"))),Ae.createElement("aside",{style:{marginTop:22}},Ae.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA42"),Ae.createElement("ul",{style:{flex:1}},Ae.createElement("li",{style:{color:"#5F6367"}},"\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF0C\u4E0A\u4F20\u7F16\u8F91\u597D\u7684\u8BD5\u9898\u6587\u6863\uFF0C\u786E\u5B9A\u5BFC\u5165"),Me&&Ae.createElement(Ae.Fragment,null,Ae.createElement(ce.Z,{value:tt,className:Ve.selectitems,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:lt,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(St,Gt)=>{$e(St||[])}}),Ae.createElement("br",null),Ae.createElement(ge.default,{action:`${xe.Z.API_SERVER}/api/attachments.json`,beforeUpload:ht,onRemove:kt,withCredentials:!0,fileList:Pe,accept:".xls,.xlsx",showUploadList:!1},Ae.createElement(oe.ZP,{className:Ve.upload,type:"primary",icon:Ae.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6"))),Pe.map((St,Gt)=>Ae.createElement("div",{key:Gt,className:Ve.fileList},Ae.createElement("span",{className:Ve.fileName},St==null?void 0:St.name),Ae.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160",fontSize:16,cursor:"pointer"},onClick:kt})))))))}},55956:function(me,ne,E){"use strict";E.d(ne,{h:function(){return b}});var b=(ue=>(ue[ue.NOMATCH=-1]="NOMATCH",ue[ue.OK=0]="OK",ue[ue.TIMEOUT=2]="TIMEOUT",ue[ue.PODFAILURE=3]="PODFAILURE",ue[ue.COMPILEFAILURE=4]="COMPILEFAILURE",ue[ue.EXECUTEFAILURE=5]="EXECUTEFAILURE",ue[ue.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",ue))(b||{})},50582:function(me,ne,E){"use strict";E.d(ne,{H7:function(){return qe},MK:function(){return Ke},MU:function(){return he},X6:function(){return Ae},bM:function(){return Se},fi:function(){return Me},fu:function(){return Oe},n4:function(){return ze},rX:function(){return ct},vl:function(){return Ze},zO:function(){return Ve}});var b=E(82093),ue=Object.defineProperty,le=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,oe=(Le,Pe,ke)=>Pe in Le?ue(Le,Pe,{enumerable:!0,configurable:!0,writable:!0,value:ke}):Le[Pe]=ke,xe=(Le,Pe)=>{for(var ke in Pe||(Pe={}))ce.call(Pe,ke)&&oe(Le,ke,Pe[ke]);if(le)for(var ke of le(Pe))ge.call(Pe,ke)&&oe(Le,ke,Pe[ke]);return Le};function Oe(Le,Pe){return(0,b.U2)(`myproblems/${Le}.json`,xe({hidePopLogin:!0},Pe||{}))}function Se(Le,Pe){return(0,b.v_)(`myproblems/${Le}/code_submit.json`,Pe)}function he(Le,Pe){return(0,b.v_)(`myproblems/${Le}/code_debug.json`,Pe)}function Ve(Le,Pe){return Pe.language&&(Pe.language=encodeURIComponent(Pe.language)),(0,b.U2)(`myproblems/${Le}/submit_records.json`,Pe)}function Ae(Le){return(0,b.U2)("myproblems/record_detail.json",{id:Le})}function ct(Le,Pe){return(0,b.U2)(`myproblems/${Le}/result.json`,{mode:Pe})}function Ke(Le,Pe){return(0,b.v_)(`myproblems/${Le}/add_notes.json`,Pe)}function qe(Le,Pe){return(0,b.v_)(`myproblems/${Le}/restore_initial_code.json`,Pe)}function Me(Le){return(0,b.v_)(`myproblems/${Le}/sync_code.json`)}function ze(Le,Pe){return(0,b.v_)(`myproblems/${Le}/update_code.json`,Pe)}function Ze(Le,Pe){return(0,b.v_)(`discusses/${Le}/plus.json`,Pe)}},12395:function(me,ne,E){"use strict";var b=E(59301),ue=E(25399),le=E(37568),ce=E(6767),ge=E(81025),oe=E(59301),xe=(Se,he,Ve)=>new Promise((Ae,ct)=>{var Ke=ze=>{try{Me(Ve.next(ze))}catch(Ze){ct(Ze)}},qe=ze=>{try{Me(Ve.throw(ze))}catch(Ze){ct(Ze)}},Me=ze=>ze.done?Ae(ze.value):Promise.resolve(ze.value).then(Ke,qe);Me((Ve=Ve.apply(Se,he)).next())});const Oe=({defaultValue:Se,onFinish:he})=>{const[Ve,Ae]=(0,b.useState)(!1),[ct,Ke]=(0,b.useState)(Se);return(0,b.useEffect)(()=>{Ke(Se)},[Se]),oe.createElement("div",null,Ve?oe.createElement(le.default,{autoFocus:!0,maxLength:60,style:{textAlign:"center",marginTop:20,marginBottom:20},value:ct,onChange:qe=>{Ke(qe.target.value)},onBlur:()=>xe(void 0,null,function*(){var qe;if(((qe=ct==null?void 0:ct.replaceAll(" ",""))==null?void 0:qe.length)<=0){ce.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield he(ct))&&Ae(!1)}),onPressEnter:()=>xe(void 0,null,function*(){var qe;if(((qe=ct==null?void 0:ct.replaceAll(" ",""))==null?void 0:qe.length)<=0){ce.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield he(ct))&&Ae(!1)})}):oe.createElement("div",{className:ge.Z.title},ct,oe.createElement(ue.Z,{title:"\u7F16\u8F91\u8BD5\u5377\u540D\u79F0"},oe.createElement("i",{className:`${ge.Z.editIcon} iconfont icon-bianji_Hover`,onClick:()=>Ae(!0)}))))};ne.Z=Oe},54579:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return he}});var b=E(62957),ue={ul:"ul___TdfYY"},le=E(32637),ce=E(59301),ge=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,Oe=(Ve,Ae)=>{var ct={};for(var Ke in Ve)oe.call(Ve,Ke)&&Ae.indexOf(Ke)<0&&(ct[Ke]=Ve[Ke]);if(Ve!=null&&ge)for(var Ke of ge(Ve))Ae.indexOf(Ke)<0&&xe.call(Ve,Ke)&&(ct[Ke]=Ve[Ke]);return ct},he=Ve=>{var Ae=Ve,{open:ct,onCancel:Ke}=Ae,qe=Oe(Ae,["open","onCancel"]);return ce.createElement(b.default,{centered:!0,open:ct,title:ce.createElement("div",{style:{fontWeight:"bold"}},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"),width:"696px",onCancel:Ke,footer:null},ce.createElement("div",null,ce.createElement("div",{className:"tc"},ce.createElement("img",{className:"mt10",src:le,width:"182px",height:"181px",style:{borderRadius:"2px",border:"1px solid #D8E3E9"}})),ce.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16 mt10"},"\u514D\u8D39\u6559\u7814\u52A9\u7406"),ce.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16"},"\u5FAE\u4FE1\u626B\u4E00\u626B\u6DFB\u52A0"),ce.createElement("div",{style:{color:"#333"},className:"pt30 font14"},ce.createElement("ul",{className:ue.ul},ce.createElement("li",null,"1\u3001\u89E3\u7B54\u8001\u5E08\u7591\u60D1\u3001\u5E2E\u52A9\u8001\u5E08\u66F4\u5FEB\u719F\u6089\u548C\u4F7F\u7528\u5E73\u53F0\u6559\u5B66\u3002"),ce.createElement("li",null,"2\u3001\u534F\u52A9\u8001\u5E08\u521B\u5EFA\u8BFE\u5802\u3001\u8BFE\u7A0B\u8BBE\u8BA1\u3001\u505A\u597D\u6559\u5B66\u5DE5\u4F5C\u3002"),ce.createElement("li",null,"3\u3001\u6839\u636E\u8001\u5E08\u6559\u5B66\u65B9\u5411\uFF0C\u5206\u4EAB\u5934\u6B4C\u5E73\u53F0C9\u9662\u6821\u3001985\u9AD8\u6821\u3001211\u9AD8\u6821\u3001\u53CC\u4E00\u6D41\u9AD8\u6821\u8001\u5E08\u7ECF\u5178\u5B9E\u8DF5\u6559\u5B66\u6848\u4F8B\u3002")))))}},14869:function(me,ne,E){"use strict";E.d(ne,{I:function(){return ue}});var b=E(59301);const ue=()=>{const[le,ce]=(0,b.useState)("hidden");return{overflow:le,handleMouseEnter:()=>ce("auto"),handleMouseLeave:()=>ce("hidden")}}},90290:function(me,ne,E){"use strict";E.d(ne,{AL:function(){return ke},Iy:function(){return Ve},Qv:function(){return Ke},ez:function(){return Pe},jb:function(){return Ae}});var b=E(32834),ue=E.n(b),le=E(11690),ce=E.n(le);let ge=1;function oe(Fe,tt){const $e=Fe.match(/^(\s+)(?:```)/);if($e===null)return tt;const Ue=$e[1];return tt.split(`
`).map(Xe=>{const et=Xe.match(/^\s+/);if(et===null)return Xe;const[rt]=et;return rt.length>=Ue.length?Xe.slice(Ue.length):Xe}).join(`
`)}let xe=[],Oe=["<ul>"];const Se=new(ue()).Renderer,he=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function Ve(){xe.length=0,Oe=["<ul>"]}const Ae={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function ct(Fe,tt,$e,Ue){if(tt>=Fe.length||Fe[tt].level<=$e)return tt;var Xe=Fe[tt];Ue.push("<li><a href='#"+ge+Xe.anchor+"'>"+Xe.text+"</a>"),tt++;var et=[];return tt=ct(Fe,tt,Xe.level,et),et.length>0&&(Ue.push("<ul>"),et.forEach(function(rt){Ue.push(rt)}),Ue.push("</ul>")),Ue.push("</li>"),tt=ct(Fe,tt,$e,Ue),tt}function Ke(){return ct(xe,0,0,Oe),Oe.push("</ul>"),Oe.join("")}const qe={heading(Fe){const tt=he.exec(Fe);if(ge+=1,tt)return{type:"heading",raw:tt[0],depth:tt[1].length,text:tt[2]}},fences(Fe){const tt=this.rules.block.fences.exec(Fe);if(tt){const $e=tt[0];let Ue=oe($e,tt[3]||"");const Xe=tt[2]?tt[2].trim():tt[2];if(["latex","katex","math"].indexOf(Xe)>=0){const et=Ze(),rt=Ue;Ue=et,Le[et]={type:"block",expression:rt}}return{type:"code",raw:$e,lang:Xe,text:Ue}}}},Me=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let ze=0;const Ze=()=>`__special_katext_id_${ze++}__`;let Le={};function Pe(){return Le}function ke(){ze=0,Le={}}function Re(Fe){return Fe=Fe.replace(Me,(tt,$e)=>{const Ue=Ze();return Le[Ue]={type:"inline",expression:$e},Ue}),Fe}const Te=Se.listitem;Se.listitem=function(Fe){return Te(Re(Fe))};const Ye=Se.paragraph;Se.paragraph=function(Fe){return Ye(Re(Fe))};const lt=Se.tablecell;Se.tablecell=function(Fe,tt){return lt(Re(Fe),tt)},Se.code=function(Fe,tt,$e){const Ue=(tt||"").match(/\S*/)[0];return Ue?["latex","katex","math"].indexOf(Ue)>=0?`<p class='editormd-tex'>${Fe}</p>`:`<pre class="prettyprint linenums"><code class="language-${tt}">${$e?Fe:(0,le.escape)(Fe,!0)}</code></pre>
`:'<pre class="prettyprint linenums"><code>'+($e?Fe:(0,le.escape)(Fe,!0))+"</code></pre>"},Se.heading=function(Fe,tt,$e){let Ue=this.options.headerPrefix+$e.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return xe.push({anchor:Ue,level:tt,text:Fe}),"<h"+tt+' id="'+ge+Ue+'">'+Fe+"</h"+tt+">"},ue().setOptions({silent:!0,gfm:!0,pedantic:!1}),ue().use({tokenizer:qe,renderer:Se}),ne.ZP=ue()},99498:function(me,ne,E){(function(b){b(E(89780))})(function(b){b.defineOption("placeholder","",function(Oe,Se,he){var Ve=he&&he!=b.Init;if(Se&&!Ve)Oe.on("blur",ge),Oe.on("change",oe),Oe.on("swapDoc",oe),b.on(Oe.getInputField(),"compositionupdate",Oe.state.placeholderCompose=function(){ce(Oe)}),oe(Oe);else if(!Se&&Ve){Oe.off("blur",ge),Oe.off("change",oe),Oe.off("swapDoc",oe),b.off(Oe.getInputField(),"compositionupdate",Oe.state.placeholderCompose),ue(Oe);var Ae=Oe.getWrapperElement();Ae.className=Ae.className.replace(" CodeMirror-empty","")}Se&&!Oe.hasFocus()&&ge(Oe)});function ue(Oe){Oe.state.placeholder&&(Oe.state.placeholder.parentNode.removeChild(Oe.state.placeholder),Oe.state.placeholder=null)}function le(Oe){ue(Oe);var Se=Oe.state.placeholder=document.createElement("pre");Se.style.cssText="height: 0; overflow: visible",Se.style.direction=Oe.getOption("direction"),Se.className="CodeMirror-placeholder CodeMirror-line-like";var he=Oe.getOption("placeholder");typeof he=="string"&&(he=document.createTextNode(he)),Se.appendChild(he),Oe.display.lineSpace.insertBefore(Se,Oe.display.lineSpace.firstChild)}function ce(Oe){setTimeout(function(){var Se=!1,he=Oe.getInputField();he.nodeName=="TEXTAREA"?Se=!he.value:Oe.lineCount()==1&&(Se=!/[^\u200b]/.test(he.querySelector(".CodeMirror-line").textContent)),Se?le(Oe):ue(Oe)},20)}function ge(Oe){xe(Oe)&&le(Oe)}function oe(Oe){var Se=Oe.getWrapperElement(),he=xe(Oe);Se.className=Se.className.replace(" CodeMirror-empty","")+(he?" CodeMirror-empty":""),he?le(Oe):ue(Oe)}function xe(Oe){return Oe.lineCount()===1&&Oe.getLine(0)===""}})},25717:function(me,ne,E){(function(b){b(E(89780))})(function(b){var ue={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},le=b.Pos;b.defineOption("autoCloseBrackets",!1,function(qe,Me,ze){ze&&ze!=b.Init&&(qe.removeKeyMap(ge),qe.state.closeBrackets=null),Me&&(oe(ce(Me,"pairs")),qe.state.closeBrackets=Me,qe.addKeyMap(ge))});function ce(qe,Me){return Me=="pairs"&&typeof qe=="string"?qe:typeof qe=="object"&&qe[Me]!=null?qe[Me]:ue[Me]}var ge={Backspace:Se,Enter:he};function oe(qe){for(var Me=0;Me<qe.length;Me++){var ze=qe.charAt(Me),Ze="'"+ze+"'";ge[Ze]||(ge[Ze]=xe(ze))}}oe(ue.pairs+"`");function xe(qe){return function(Me){return Ae(Me,qe)}}function Oe(qe){var Me=qe.state.closeBrackets;if(!Me||Me.override)return Me;var ze=qe.getModeAt(qe.getCursor());return ze.closeBrackets||Me}function Se(qe){var Me=Oe(qe);if(!Me||qe.getOption("disableInput"))return b.Pass;for(var ze=ce(Me,"pairs"),Ze=qe.listSelections(),Le=0;Le<Ze.length;Le++){if(!Ze[Le].empty())return b.Pass;var Pe=ct(qe,Ze[Le].head);if(!Pe||ze.indexOf(Pe)%2!=0)return b.Pass}for(var Le=Ze.length-1;Le>=0;Le--){var ke=Ze[Le].head;qe.replaceRange("",le(ke.line,ke.ch-1),le(ke.line,ke.ch+1),"+delete")}}function he(qe){var Me=Oe(qe),ze=Me&&ce(Me,"explode");if(!ze||qe.getOption("disableInput"))return b.Pass;for(var Ze=qe.listSelections(),Le=0;Le<Ze.length;Le++){if(!Ze[Le].empty())return b.Pass;var Pe=ct(qe,Ze[Le].head);if(!Pe||ze.indexOf(Pe)%2!=0)return b.Pass}qe.operation(function(){var ke=qe.lineSeparator()||`
`;qe.replaceSelection(ke+ke,null),qe.execCommand("goCharLeft"),Ze=qe.listSelections();for(var Re=0;Re<Ze.length;Re++){var Te=Ze[Re].head.line;qe.indentLine(Te,null,!0),qe.indentLine(Te+1,null,!0)}})}function Ve(qe){var Me=b.cmpPos(qe.anchor,qe.head)>0;return{anchor:new le(qe.anchor.line,qe.anchor.ch+(Me?-1:1)),head:new le(qe.head.line,qe.head.ch+(Me?1:-1))}}function Ae(qe,Me){var ze=Oe(qe);if(!ze||qe.getOption("disableInput"))return b.Pass;var Ze=ce(ze,"pairs"),Le=Ze.indexOf(Me);if(Le==-1)return b.Pass;for(var Pe=ce(ze,"closeBefore"),ke=ce(ze,"triples"),Re=Ze.charAt(Le+1)==Me,Te=qe.listSelections(),Ye=Le%2==0,lt,Fe=0;Fe<Te.length;Fe++){var tt=Te[Fe],$e=tt.head,Ue,Xe=qe.getRange($e,le($e.line,$e.ch+1));if(Ye&&!tt.empty())Ue="surround";else if((Re||!Ye)&&Xe==Me)Re&&Ke(qe,$e)?Ue="both":ke.indexOf(Me)>=0&&qe.getRange($e,le($e.line,$e.ch+3))==Me+Me+Me?Ue="skipThree":Ue="skip";else if(Re&&$e.ch>1&&ke.indexOf(Me)>=0&&qe.getRange(le($e.line,$e.ch-2),$e)==Me+Me){if($e.ch>2&&/\bstring/.test(qe.getTokenTypeAt(le($e.line,$e.ch-2))))return b.Pass;Ue="addFour"}else if(Re){var et=$e.ch==0?" ":qe.getRange(le($e.line,$e.ch-1),$e);if(!b.isWordChar(Xe)&&et!=Me&&!b.isWordChar(et))Ue="both";else return b.Pass}else if(Ye&&(Xe.length===0||/\s/.test(Xe)||Pe.indexOf(Xe)>-1))Ue="both";else return b.Pass;if(!lt)lt=Ue;else if(lt!=Ue)return b.Pass}var rt=Le%2?Ze.charAt(Le-1):Me,ht=Le%2?Me:Ze.charAt(Le+1);qe.operation(function(){if(lt=="skip")qe.execCommand("goCharRight");else if(lt=="skipThree")for(var kt=0;kt<3;kt++)qe.execCommand("goCharRight");else if(lt=="surround"){for(var St=qe.getSelections(),kt=0;kt<St.length;kt++)St[kt]=rt+St[kt]+ht;qe.replaceSelections(St,"around"),St=qe.listSelections().slice();for(var kt=0;kt<St.length;kt++)St[kt]=Ve(St[kt]);qe.setSelections(St)}else lt=="both"?(qe.replaceSelection(rt+ht,null),qe.triggerElectric(rt+ht),qe.execCommand("goCharLeft")):lt=="addFour"&&(qe.replaceSelection(rt+rt+rt+rt,"before"),qe.execCommand("goCharRight"))})}function ct(qe,Me){var ze=qe.getRange(le(Me.line,Me.ch-1),le(Me.line,Me.ch+1));return ze.length==2?ze:null}function Ke(qe,Me){var ze=qe.getTokenAt(le(Me.line,Me.ch+1));return/\bstring/.test(ze.type)&&ze.start==Me.ch&&(Me.ch==0||!/\bstring/.test(qe.getTokenTypeAt(Me)))}})},6313:function(me,ne,E){(function(b){b(E(89780),E(52730))})(function(b){b.defineOption("autoCloseTags",!1,function(Se,he,Ve){if(Ve!=b.Init&&Ve&&Se.removeKeyMap("autoCloseTags"),!!he){var Ae={name:"autoCloseTags"};(typeof he!="object"||he.whenClosing!==!1)&&(Ae["'/'"]=function(ct){return oe(ct)}),(typeof he!="object"||he.whenOpening!==!1)&&(Ae["'>'"]=function(ct){return ce(ct)}),Se.addKeyMap(Ae)}});var ue=["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 ce(Se){if(Se.getOption("disableInput"))return b.Pass;for(var he=Se.listSelections(),Ve=[],Ae=Se.getOption("autoCloseTags"),ct=0;ct<he.length;ct++){if(!he[ct].empty())return b.Pass;var Ke=he[ct].head,qe=Se.getTokenAt(Ke),Me=b.innerMode(Se.getMode(),qe.state),ze=Me.state,Ze=Me.mode.xmlCurrentTag&&Me.mode.xmlCurrentTag(ze),Le=Ze&&Ze.name;if(!Le)return b.Pass;var Pe=Me.mode.configuration=="html",ke=typeof Ae=="object"&&Ae.dontCloseTags||Pe&&ue,Re=typeof Ae=="object"&&Ae.indentTags||Pe&&le;qe.end>Ke.ch&&(Le=Le.slice(0,Le.length-qe.end+Ke.ch));var Te=Le.toLowerCase();if(!Le||qe.type=="string"&&(qe.end!=Ke.ch||!/[\"\']/.test(qe.string.charAt(qe.string.length-1))||qe.string.length==1)||qe.type=="tag"&&Ze.close||qe.string.indexOf("/")==Ke.ch-qe.start-1||ke&&xe(ke,Te)>-1||Oe(Se,Me.mode.xmlCurrentContext&&Me.mode.xmlCurrentContext(ze)||[],Le,Ke,!0))return b.Pass;var Ye=typeof Ae=="object"&&Ae.emptyTags;if(Ye&&xe(Ye,Le)>-1){Ve[ct]={text:"/>",newPos:b.Pos(Ke.line,Ke.ch+2)};continue}var lt=Re&&xe(Re,Te)>-1;Ve[ct]={indent:lt,text:">"+(lt?`
`:"")+"</"+Le+">",newPos:lt?b.Pos(Ke.line+1,0):b.Pos(Ke.line,Ke.ch+1)}}for(var Fe=typeof Ae=="object"&&Ae.dontIndentOnAutoClose,ct=he.length-1;ct>=0;ct--){var tt=Ve[ct];Se.replaceRange(tt.text,he[ct].head,he[ct].anchor,"+insert");var $e=Se.listSelections().slice(0);$e[ct]={head:tt.newPos,anchor:tt.newPos},Se.setSelections($e),!Fe&&tt.indent&&(Se.indentLine(tt.newPos.line,null,!0),Se.indentLine(tt.newPos.line+1,null,!0))}}function ge(Se,he){for(var Ve=Se.listSelections(),Ae=[],ct=he?"/":"</",Ke=Se.getOption("autoCloseTags"),qe=typeof Ke=="object"&&Ke.dontIndentOnSlash,Me=0;Me<Ve.length;Me++){if(!Ve[Me].empty())return b.Pass;var ze=Ve[Me].head,Ze=Se.getTokenAt(ze),Le=b.innerMode(Se.getMode(),Ze.state),Pe=Le.state;if(he&&(Ze.type=="string"||Ze.string.charAt(0)!="<"||Ze.start!=ze.ch-1))return b.Pass;var ke,Re=Le.mode.name!="xml"&&Se.getMode().name=="htmlmixed";if(Re&&Le.mode.name=="javascript")ke=ct+"script";else if(Re&&Le.mode.name=="css")ke=ct+"style";else{var Te=Le.mode.xmlCurrentContext&&Le.mode.xmlCurrentContext(Pe);if(!Te||Te.length&&Oe(Se,Te,Te[Te.length-1],ze))return b.Pass;ke=ct+Te[Te.length-1]}Se.getLine(ze.line).charAt(Ze.end)!=">"&&(ke+=">"),Ae[Me]=ke}if(Se.replaceSelections(Ae),Ve=Se.listSelections(),!qe)for(var Me=0;Me<Ve.length;Me++)(Me==Ve.length-1||Ve[Me].head.line<Ve[Me+1].head.line)&&Se.indentLine(Ve[Me].head.line)}function oe(Se){return Se.getOption("disableInput")?b.Pass:ge(Se,!0)}b.commands.closeTag=function(Se){return ge(Se)};function xe(Se,he){if(Se.indexOf)return Se.indexOf(he);for(var Ve=0,Ae=Se.length;Ve<Ae;++Ve)if(Se[Ve]==he)return Ve;return-1}function Oe(Se,he,Ve,Ae,ct){if(!b.scanForClosingTag)return!1;var Ke=Math.min(Se.lastLine()+1,Ae.line+500),qe=b.scanForClosingTag(Se,Ae,null,Ke);if(!qe||qe.tag!=Ve)return!1;for(var Me=ct?1:0,ze=he.length-1;ze>=0&&he[ze]==Ve;ze--)++Me;Ae=qe.to;for(var ze=1;ze<Me;ze++){var Ze=b.scanForClosingTag(Se,Ae,null,Ke);if(!Ze||Ze.tag!=Ve)return!1;Ae=Ze.to}return!0}})},52730:function(me,ne,E){(function(b){b(E(89780))})(function(b){"use strict";var ue=b.Pos;function le(ze,Ze){return ze.line-Ze.line||ze.ch-Ze.ch}var ce="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=ce+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",oe=new RegExp("<(/?)(["+ce+"]["+ge+"]*)","g");function xe(ze,Ze,Le,Pe){this.line=Ze,this.ch=Le,this.cm=ze,this.text=ze.getLine(Ze),this.min=Pe?Math.max(Pe.from,ze.firstLine()):ze.firstLine(),this.max=Pe?Math.min(Pe.to-1,ze.lastLine()):ze.lastLine()}function Oe(ze,Ze){var Le=ze.cm.getTokenTypeAt(ue(ze.line,Ze));return Le&&/\btag\b/.test(Le)}function Se(ze){if(!(ze.line>=ze.max))return ze.ch=0,ze.text=ze.cm.getLine(++ze.line),!0}function he(ze){if(!(ze.line<=ze.min))return ze.text=ze.cm.getLine(--ze.line),ze.ch=ze.text.length,!0}function Ve(ze){for(;;){var Ze=ze.text.indexOf(">",ze.ch);if(Ze==-1){if(Se(ze))continue;return}if(!Oe(ze,Ze+1)){ze.ch=Ze+1;continue}var Le=ze.text.lastIndexOf("/",Ze),Pe=Le>-1&&!/\S/.test(ze.text.slice(Le+1,Ze));return ze.ch=Ze+1,Pe?"selfClose":"regular"}}function Ae(ze){for(;;){var Ze=ze.ch?ze.text.lastIndexOf("<",ze.ch-1):-1;if(Ze==-1){if(he(ze))continue;return}if(!Oe(ze,Ze+1)){ze.ch=Ze;continue}oe.lastIndex=Ze,ze.ch=Ze;var Le=oe.exec(ze.text);if(Le&&Le.index==Ze)return Le}}function ct(ze){for(;;){oe.lastIndex=ze.ch;var Ze=oe.exec(ze.text);if(!Ze){if(Se(ze))continue;return}if(!Oe(ze,Ze.index+1)){ze.ch=Ze.index+1;continue}return ze.ch=Ze.index+Ze[0].length,Ze}}function Ke(ze){for(;;){var Ze=ze.ch?ze.text.lastIndexOf(">",ze.ch-1):-1;if(Ze==-1){if(he(ze))continue;return}if(!Oe(ze,Ze+1)){ze.ch=Ze;continue}var Le=ze.text.lastIndexOf("/",Ze),Pe=Le>-1&&!/\S/.test(ze.text.slice(Le+1,Ze));return ze.ch=Ze+1,Pe?"selfClose":"regular"}}function qe(ze,Ze){for(var Le=[];;){var Pe=ct(ze),ke,Re=ze.line,Te=ze.ch-(Pe?Pe[0].length:0);if(!Pe||!(ke=Ve(ze)))return;if(ke!="selfClose")if(Pe[1]){for(var Ye=Le.length-1;Ye>=0;--Ye)if(Le[Ye]==Pe[2]){Le.length=Ye;break}if(Ye<0&&(!Ze||Ze==Pe[2]))return{tag:Pe[2],from:ue(Re,Te),to:ue(ze.line,ze.ch)}}else Le.push(Pe[2])}}function Me(ze,Ze){for(var Le=[];;){var Pe=Ke(ze);if(!Pe)return;if(Pe=="selfClose"){Ae(ze);continue}var ke=ze.line,Re=ze.ch,Te=Ae(ze);if(!Te)return;if(Te[1])Le.push(Te[2]);else{for(var Ye=Le.length-1;Ye>=0;--Ye)if(Le[Ye]==Te[2]){Le.length=Ye;break}if(Ye<0&&(!Ze||Ze==Te[2]))return{tag:Te[2],from:ue(ze.line,ze.ch),to:ue(ke,Re)}}}}b.registerHelper("fold","xml",function(ze,Ze){for(var Le=new xe(ze,Ze.line,0);;){var Pe=ct(Le);if(!Pe||Le.line!=Ze.line)return;var ke=Ve(Le);if(!ke)return;if(!Pe[1]&&ke!="selfClose"){var Re=ue(Le.line,Le.ch),Te=qe(Le,Pe[2]);return Te&&le(Te.from,Re)>0?{from:Re,to:Te.from}:null}}}),b.findMatchingTag=function(ze,Ze,Le){var Pe=new xe(ze,Ze.line,Ze.ch,Le);if(!(Pe.text.indexOf(">")==-1&&Pe.text.indexOf("<")==-1)){var ke=Ve(Pe),Re=ke&&ue(Pe.line,Pe.ch),Te=ke&&Ae(Pe);if(!(!ke||!Te||le(Pe,Ze)>0)){var Ye={from:ue(Pe.line,Pe.ch),to:Re,tag:Te[2]};return ke=="selfClose"?{open:Ye,close:null,at:"open"}:Te[1]?{open:Me(Pe,Te[2]),close:Ye,at:"close"}:(Pe=new xe(ze,Re.line,Re.ch,Le),{open:Ye,close:qe(Pe,Te[2]),at:"open"})}}},b.findEnclosingTag=function(ze,Ze,Le,Pe){for(var ke=new xe(ze,Ze.line,Ze.ch,Le);;){var Re=Me(ke,Pe);if(!Re)break;var Te=new xe(ze,Ze.line,Ze.ch,Le),Ye=qe(Te,Re.tag);if(Ye)return{open:Re,close:Ye}}},b.scanForClosingTag=function(ze,Ze,Le,Pe){var ke=new xe(ze,Ze.line,Ze.ch,Pe?{from:0,to:Pe}:null);return qe(ke,Le)}})},89780:function(me){(function(ne,E){me.exports=E()})(this,function(){"use strict";var ne=navigator.userAgent,E=navigator.platform,b=/gecko\/\d/i.test(ne),ue=/MSIE \d/.test(ne),le=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(ne),ce=/Edge\/(\d+)/.exec(ne),ge=ue||le||ce,oe=ge&&(ue?document.documentMode||6:+(ce||le)[1]),xe=!ce&&/WebKit\//.test(ne),Oe=xe&&/Qt\/\d+\.\d+/.test(ne),Se=!ce&&/Chrome\//.test(ne),he=/Opera\//.test(ne),Ve=/Apple Computer/.test(navigator.vendor),Ae=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(ne),ct=/PhantomJS/.test(ne),Ke=!ce&&/AppleWebKit/.test(ne)&&/Mobile\/\w+/.test(ne),qe=/Android/.test(ne),Me=Ke||qe||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(ne),ze=Ke||/Mac/.test(E),Ze=/\bCrOS\b/.test(ne),Le=/win/i.test(E),Pe=he&&ne.match(/Version\/(\d*\.\d*)/);Pe&&(Pe=Number(Pe[1])),Pe&&Pe>=15&&(he=!1,xe=!0);var ke=ze&&(Oe||he&&(Pe==null||Pe<12.11)),Re=b||ge&&oe>=9;function Te(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var Ye=function(a,y){var te=a.className,ee=Te(y).exec(te);if(ee){var re=te.slice(ee.index+ee[0].length);a.className=te.slice(0,ee.index)+(re?ee[1]+re:"")}};function lt(a){for(var y=a.childNodes.length;y>0;--y)a.removeChild(a.firstChild);return a}function Fe(a,y){return lt(a).appendChild(y)}function tt(a,y,te,ee){var re=document.createElement(a);if(te&&(re.className=te),ee&&(re.style.cssText=ee),typeof y=="string")re.appendChild(document.createTextNode(y));else if(y)for(var ye=0;ye<y.length;++ye)re.appendChild(y[ye]);return re}function $e(a,y,te,ee){var re=tt(a,y,te,ee);return re.setAttribute("role","presentation"),re}var Ue;document.createRange?Ue=function(a,y,te,ee){var re=document.createRange();return re.setEnd(ee||a,te),re.setStart(a,y),re}:Ue=function(a,y,te){var ee=document.body.createTextRange();try{ee.moveToElementText(a.parentNode)}catch(re){return ee}return ee.collapse(!0),ee.moveEnd("character",te),ee.moveStart("character",y),ee};function Xe(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 et(){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 rt(a,y){var te=a.className;Te(y).test(te)||(a.className+=(te?" ":"")+y)}function ht(a,y){for(var te=a.split(" "),ee=0;ee<te.length;ee++)te[ee]&&!Te(te[ee]).test(y)&&(y+=" "+te[ee]);return y}var kt=function(a){a.select()};Ke?kt=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:ge&&(kt=function(a){try{a.select()}catch(y){}});function St(a){var y=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,y)}}function Gt(a,y,te){y||(y={});for(var ee in a)a.hasOwnProperty(ee)&&(te!==!1||!y.hasOwnProperty(ee))&&(y[ee]=a[ee]);return y}function nt(a,y,te,ee,re){y==null&&(y=a.search(/[^\s\u00a0]/),y==-1&&(y=a.length));for(var ye=ee||0,He=re||0;;){var at=a.indexOf(" ",ye);if(at<0||at>=y)return He+(y-ye);He+=at-ye,He+=te-He%te,ye=at+1}}var je=function(){this.id=null,this.f=null,this.time=0,this.handler=St(this.onTimeout,this)};je.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},je.prototype.set=function(a,y){this.f=y;var te=+new Date+a;(!this.id||te<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,a),this.time=te)};function Be(a,y){for(var te=0;te<a.length;++te)if(a[te]==y)return te;return-1}var wt=50,Ot={toString:function(){return"CodeMirror.Pass"}},ot={scroll:!1},zt={origin:"*mouse"},Ut={origin:"+move"};function pn(a,y,te){for(var ee=0,re=0;;){var ye=a.indexOf(" ",ee);ye==-1&&(ye=a.length);var He=ye-ee;if(ye==a.length||re+He>=y)return ee+Math.min(He,y-re);if(re+=ye-ee,re+=te-re%te,ee=ye+1,re>=y)return ee}}var bt=[""];function Yt(a){for(;bt.length<=a;)bt.push(Bt(bt)+" ");return bt[a]}function Bt(a){return a[a.length-1]}function $t(a,y){for(var te=[],ee=0;ee<a.length;ee++)te[ee]=y(a[ee],ee);return te}function cn(a,y,te){for(var ee=0,re=te(y);ee<a.length&&te(a[ee])<=re;)ee++;a.splice(ee,0,y)}function Ie(){}function pe(a,y){var te;return Object.create?te=Object.create(a):(Ie.prototype=a,te=new Ie),y&&Gt(y,te),te}var de=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function Ee(a){return/\w/.test(a)||a>"\x80"&&(a.toUpperCase()!=a.toLowerCase()||de.test(a))}function De(a,y){return y?y.source.indexOf("\\w")>-1&&Ee(a)?!0:y.test(a):Ee(a)}function fe(a){for(var y in a)if(a.hasOwnProperty(y)&&a[y])return!1;return!0}var Qe=/[\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 Mt(a){return a.charCodeAt(0)>=768&&Qe.test(a)}function an(a,y,te){for(;(te<0?y>0:y<a.length)&&Mt(a.charAt(y));)y+=te;return y}function Sn(a,y,te){for(var ee=y>te?-1:1;;){if(y==te)return y;var re=(y+te)/2,ye=ee<0?Math.ceil(re):Math.floor(re);if(ye==y)return a(ye)?y:te;a(ye)?te=ye:y=ye+ee}}function gt(a,y,te,ee){if(!a)return ee(y,te,"ltr",0);for(var re=!1,ye=0;ye<a.length;++ye){var He=a[ye];(He.from<te&&He.to>y||y==te&&He.to==y)&&(ee(Math.max(He.from,y),Math.min(He.to,te),He.level==1?"rtl":"ltr",ye),re=!0)}re||ee(y,te,"ltr")}var Ft=null;function Lt(a,y,te){var ee;Ft=null;for(var re=0;re<a.length;++re){var ye=a[re];if(ye.from<y&&ye.to>y)return re;ye.to==y&&(ye.from!=ye.to&&te=="before"?ee=re:Ft=re),ye.from==y&&(ye.from!=ye.to&&te!="before"?ee=re:Ft=re)}return ee!=null?ee:Ft}var Jt=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",y="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function te(yt){return yt<=247?a.charAt(yt):1424<=yt&&yt<=1524?"R":1536<=yt&&yt<=1785?y.charAt(yt-1536):1774<=yt&&yt<=2220?"r":8192<=yt&&yt<=8203?"w":yt==8204?"b":"L"}var ee=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,re=/[stwN]/,ye=/[LRr]/,He=/[Lb1n]/,at=/[1n]/;function ut(yt,hn,bn){this.level=yt,this.from=hn,this.to=bn}return function(yt,hn){var bn=hn=="ltr"?"L":"R";if(yt.length==0||hn=="ltr"&&!ee.test(yt))return!1;for(var tr=yt.length,Kn=[],Nr=0;Nr<tr;++Nr)Kn.push(te(yt.charCodeAt(Nr)));for(var Mr=0,Yr=bn;Mr<tr;++Mr){var oa=Kn[Mr];oa=="m"?Kn[Mr]=Yr:Yr=oa}for(var da=0,ia=bn;da<tr;++da){var Ca=Kn[da];Ca=="1"&&ia=="r"?Kn[da]="n":ye.test(Ca)&&(ia=Ca,Ca=="r"&&(Kn[da]="R"))}for(var Ka=1,Ua=Kn[0];Ka<tr-1;++Ka){var si=Kn[Ka];si=="+"&&Ua=="1"&&Kn[Ka+1]=="1"?Kn[Ka]="1":si==","&&Ua==Kn[Ka+1]&&(Ua=="1"||Ua=="n")&&(Kn[Ka]=Ua),Ua=si}for(var Gi=0;Gi<tr;++Gi){var Oo=Kn[Gi];if(Oo==",")Kn[Gi]="N";else if(Oo=="%"){var $i=void 0;for($i=Gi+1;$i<tr&&Kn[$i]=="%";++$i);for(var bs=Gi&&Kn[Gi-1]=="!"||$i<tr&&Kn[$i]=="1"?"1":"N",us=Gi;us<$i;++us)Kn[us]=bs;Gi=$i-1}}for(var oo=0,cs=bn;oo<tr;++oo){var Go=Kn[oo];cs=="L"&&Go=="1"?Kn[oo]="L":ye.test(Go)&&(cs=Go)}for(var so=0;so<tr;++so)if(re.test(Kn[so])){var lo=void 0;for(lo=so+1;lo<tr&&re.test(Kn[lo]);++lo);for(var ro=(so?Kn[so-1]:bn)=="L",ds=(lo<tr?Kn[lo]:bn)=="L",Hl=ro==ds?ro?"L":"R":bn,Sl=so;Sl<lo;++Sl)Kn[Sl]=Hl;so=lo-1}for(var Wo=[],ae,se=0;se<tr;)if(He.test(Kn[se])){var ve=se;for(++se;se<tr&&He.test(Kn[se]);++se);Wo.push(new ut(0,ve,se))}else{var _e=se,it=Wo.length,st=hn=="rtl"?1:0;for(++se;se<tr&&Kn[se]!="L";++se);for(var pt=_e;pt<se;)if(at.test(Kn[pt])){_e<pt&&(Wo.splice(it,0,new ut(1,_e,pt)),it+=st);var xt=pt;for(++pt;pt<se&&at.test(Kn[pt]);++pt);Wo.splice(it,0,new ut(2,xt,pt)),it+=st,_e=pt}else++pt;_e<se&&Wo.splice(it,0,new ut(1,_e,se))}return hn=="ltr"&&(Wo[0].level==1&&(ae=yt.match(/^\s+/))&&(Wo[0].from=ae[0].length,Wo.unshift(new ut(0,0,ae[0].length))),Bt(Wo).level==1&&(ae=yt.match(/\s+$/))&&(Bt(Wo).to-=ae[0].length,Wo.push(new ut(0,tr-ae[0].length,tr)))),hn=="rtl"?Wo.reverse():Wo}}();function fn(a,y){var te=a.order;return te==null&&(te=a.order=Jt(a.text,y)),te}var Zt=[],mt=function(a,y,te){if(a.addEventListener)a.addEventListener(y,te,!1);else if(a.attachEvent)a.attachEvent("on"+y,te);else{var ee=a._handlers||(a._handlers={});ee[y]=(ee[y]||Zt).concat(te)}};function tn(a,y){return a._handlers&&a._handlers[y]||Zt}function Ct(a,y,te){if(a.removeEventListener)a.removeEventListener(y,te,!1);else if(a.detachEvent)a.detachEvent("on"+y,te);else{var ee=a._handlers,re=ee&&ee[y];if(re){var ye=Be(re,te);ye>-1&&(ee[y]=re.slice(0,ye).concat(re.slice(ye+1)))}}}function Rt(a,y){var te=tn(a,y);if(te.length)for(var ee=Array.prototype.slice.call(arguments,2),re=0;re<te.length;++re)te[re].apply(null,ee)}function vt(a,y,te){return typeof y=="string"&&(y={type:y,preventDefault:function(){this.defaultPrevented=!0}}),Rt(a,te||y.type,a,y),Et(y)||y.codemirrorIgnore}function jt(a){var y=a._handlers&&a._handlers.cursorActivity;if(y)for(var te=a.curOp.cursorActivityHandlers||(a.curOp.cursorActivityHandlers=[]),ee=0;ee<y.length;++ee)Be(te,y[ee])==-1&&te.push(y[ee])}function At(a,y){return tn(a,y).length>0}function Je(a){a.prototype.on=function(y,te){mt(this,y,te)},a.prototype.off=function(y,te){Ct(this,y,te)}}function un(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function gn(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function Et(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function Ln(a){un(a),gn(a)}function ar(a){return a.target||a.srcElement}function Hn(a){var y=a.which;return y==null&&(a.button&1?y=1:a.button&2?y=3:a.button&4&&(y=2)),ze&&a.ctrlKey&&y==1&&(y=3),y}var Vt=function(){if(ge&&oe<9)return!1;var a=tt("div");return"draggable"in a||"dragDrop"in a}(),dr;function qn(a){if(dr==null){var y=tt("span","\u200B");Fe(a,tt("span",[y,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(dr=y.offsetWidth<=1&&y.offsetHeight>2&&!(ge&&oe<8))}var te=dr?tt("span","\u200B"):tt("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return te.setAttribute("cm-text",""),te}var xn;function zn(a){if(xn!=null)return xn;var y=Fe(a,document.createTextNode("A\u062EA")),te=Ue(y,0,1).getBoundingClientRect(),ee=Ue(y,1,2).getBoundingClientRect();return lt(a),!te||te.left==te.right?!1:xn=ee.right-te.right<3}var cr=`
b`.split(/\n/).length!=3?function(a){for(var y=0,te=[],ee=a.length;y<=ee;){var re=a.indexOf(`
`,y);re==-1&&(re=a.length);var ye=a.slice(y,a.charAt(re-1)=="\r"?re-1:re),He=ye.indexOf("\r");He!=-1?(te.push(ye.slice(0,He)),y+=He+1):(te.push(ye),y=re+1)}return te}:function(a){return a.split(/\r\n?|\n/)},ir=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(te){}return!y||y.parentElement()!=a?!1:y.compareEndPoints("StartToEnd",y)!=0},Gn=function(){var a=tt("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),Yn=null;function nn(a){if(Yn!=null)return Yn;var y=Fe(a,tt("span","x")),te=y.getBoundingClientRect(),ee=Ue(y,0,1).getBoundingClientRect();return Yn=Math.abs(te.left-ee.left)>1}var An={},Nn={};function In(a,y){arguments.length>2&&(y.dependencies=Array.prototype.slice.call(arguments,2)),An[a]=y}function xr(a,y){Nn[a]=y}function gr(a){if(typeof a=="string"&&Nn.hasOwnProperty(a))a=Nn[a];else if(a&&typeof a.name=="string"&&Nn.hasOwnProperty(a.name)){var y=Nn[a.name];typeof y=="string"&&(y={name:y}),a=pe(y,a),a.name=y.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return gr("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return gr("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function or(a,y){y=gr(y);var te=An[y.name];if(!te)return or(a,"text/plain");var ee=te(a,y);if(Lr.hasOwnProperty(y.name)){var re=Lr[y.name];for(var ye in re)re.hasOwnProperty(ye)&&(ee.hasOwnProperty(ye)&&(ee["_"+ye]=ee[ye]),ee[ye]=re[ye])}if(ee.name=y.name,y.helperType&&(ee.helperType=y.helperType),y.modeProps)for(var He in y.modeProps)ee[He]=y.modeProps[He];return ee}var Lr={};function Br(a,y){var te=Lr.hasOwnProperty(a)?Lr[a]:Lr[a]={};Gt(y,te)}function Pr(a,y){if(y===!0)return y;if(a.copyState)return a.copyState(y);var te={};for(var ee in y){var re=y[ee];re instanceof Array&&(re=re.concat([])),te[ee]=re}return te}function wr(a,y){for(var te;a.innerMode&&(te=a.innerMode(y),!(!te||te.mode==a));)y=te.state,a=te.mode;return te||{mode:a,state:y}}function Ir(a,y,te){return a.startState?a.startState(y,te):!0}var lr=function(a,y,te){this.pos=this.start=0,this.string=a,this.tabSize=y||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=te};lr.prototype.eol=function(){return this.pos>=this.string.length},lr.prototype.sol=function(){return this.pos==this.lineStart},lr.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},lr.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},lr.prototype.eat=function(a){var y=this.string.charAt(this.pos),te;if(typeof a=="string"?te=y==a:te=y&&(a.test?a.test(y):a(y)),te)return++this.pos,y},lr.prototype.eatWhile=function(a){for(var y=this.pos;this.eat(a););return this.pos>y},lr.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},lr.prototype.skipToEnd=function(){this.pos=this.string.length},lr.prototype.skipTo=function(a){var y=this.string.indexOf(a,this.pos);if(y>-1)return this.pos=y,!0},lr.prototype.backUp=function(a){this.pos-=a},lr.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=nt(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?nt(this.string,this.lineStart,this.tabSize):0)},lr.prototype.indentation=function(){return nt(this.string,null,this.tabSize)-(this.lineStart?nt(this.string,this.lineStart,this.tabSize):0)},lr.prototype.match=function(a,y,te){if(typeof a=="string"){var ee=function(He){return te?He.toLowerCase():He},re=this.string.substr(this.pos,a.length);if(ee(re)==ee(a))return y!==!1&&(this.pos+=a.length),!0}else{var ye=this.string.slice(this.pos).match(a);return ye&&ye.index>0?null:(ye&&y!==!1&&(this.pos+=ye[0].length),ye)}},lr.prototype.current=function(){return this.string.slice(this.start,this.pos)},lr.prototype.hideFirstChars=function(a,y){this.lineStart+=a;try{return y()}finally{this.lineStart-=a}},lr.prototype.lookAhead=function(a){var y=this.lineOracle;return y&&y.lookAhead(a)},lr.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function _n(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 te=a;!te.lines;)for(var ee=0;;++ee){var re=te.children[ee],ye=re.chunkSize();if(y<ye){te=re;break}y-=ye}return te.lines[y]}function Sr(a,y,te){var ee=[],re=y.line;return a.iter(y.line,te.line+1,function(ye){var He=ye.text;re==te.line&&(He=He.slice(0,te.ch)),re==y.line&&(He=He.slice(y.ch)),ee.push(He),++re}),ee}function kr(a,y,te){var ee=[];return a.iter(y,te,function(re){ee.push(re.text)}),ee}function Ur(a,y){var te=y-a.height;if(te)for(var ee=a;ee;ee=ee.parent)ee.height+=te}function rn(a){if(a.parent==null)return null;for(var y=a.parent,te=Be(y.lines,a),ee=y.parent;ee;y=ee,ee=ee.parent)for(var re=0;ee.children[re]!=y;++re)te+=ee.children[re].chunkSize();return te+y.first}function Qt(a,y){var te=a.first;e:do{for(var ee=0;ee<a.children.length;++ee){var re=a.children[ee],ye=re.height;if(y<ye){a=re;continue e}y-=ye,te+=re.chunkSize()}return te}while(!a.lines);for(var He=0;He<a.lines.length;++He){var at=a.lines[He],ut=at.height;if(y<ut)break;y-=ut}return te+He}function hr(a,y){return y>=a.first&&y<a.first+a.size}function $n(a,y){return String(a.lineNumberFormatter(y+a.firstLineNumber))}function Pt(a,y,te){if(te===void 0&&(te=null),!(this instanceof Pt))return new Pt(a,y,te);this.line=a,this.ch=y,this.sticky=te}function on(a,y){return a.line-y.line||a.ch-y.ch}function sr(a,y){return a.sticky==y.sticky&&on(a,y)==0}function Kt(a){return Pt(a.line,a.ch)}function be(a,y){return on(a,y)<0?y:a}function Cn(a,y){return on(a,y)<0?a:y}function yr(a,y){return Math.max(a.first,Math.min(y,a.first+a.size-1))}function ln(a,y){if(y.line<a.first)return Pt(a.first,0);var te=a.first+a.size-1;return y.line>te?Pt(te,_n(a,te).text.length):Ar(y,_n(a,y.line).text.length)}function Ar(a,y){var te=a.ch;return te==null||te>y?Pt(a.line,y):te<0?Pt(a.line,0):a}function Xn(a,y){for(var te=[],ee=0;ee<y.length;ee++)te[ee]=ln(a,y[ee]);return te}var Cr=function(a,y){this.state=a,this.lookAhead=y},Dr=function(a,y,te,ee){this.state=y,this.doc=a,this.line=te,this.maxLookAhead=ee||0,this.baseTokens=null,this.baseTokenPos=1};Dr.prototype.lookAhead=function(a){var y=this.doc.getLine(this.line+a);return y!=null&&a>this.maxLookAhead&&(this.maxLookAhead=a),y},Dr.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}},Dr.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Dr.fromSaved=function(a,y,te){return y instanceof Cr?new Dr(a,Pr(a.mode,y.state),te,y.lookAhead):new Dr(a,Pr(a.mode,y),te)},Dr.prototype.save=function(a){var y=a!==!1?Pr(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Cr(y,this.maxLookAhead):y};function _t(a,y,te,ee){var re=[a.state.modeGen],ye={};Ia(a,y.text,a.doc.mode,te,function(yt,hn){return re.push(yt,hn)},ye,ee);for(var He=te.state,at=function(yt){te.baseTokens=re;var hn=a.state.overlays[yt],bn=1,tr=0;te.state=!0,Ia(a,y.text,hn.mode,te,function(Kn,Nr){for(var Mr=bn;tr<Kn;){var Yr=re[bn];Yr>Kn&&re.splice(bn,1,Kn,re[bn+1],Yr),bn+=2,tr=Math.min(Kn,Yr)}if(Nr)if(hn.opaque)re.splice(Mr,bn-Mr,Kn,"overlay "+Nr),bn=Mr+2;else for(;Mr<bn;Mr+=2){var oa=re[Mr+1];re[Mr+1]=(oa?oa+" ":"")+"overlay "+Nr}},ye),te.state=He,te.baseTokens=null,te.baseTokenPos=1},ut=0;ut<a.state.overlays.length;++ut)at(ut);return{styles:re,classes:ye.bgClass||ye.textClass?ye:null}}function Rr(a,y,te){if(!y.styles||y.styles[0]!=a.state.modeGen){var ee=Kr(a,rn(y)),re=y.text.length>a.options.maxHighlightLength&&Pr(a.doc.mode,ee.state),ye=_t(a,y,ee);re&&(ee.state=re),y.stateAfter=ee.save(!re),y.styles=ye.styles,ye.classes?y.styleClasses=ye.classes:y.styleClasses&&(y.styleClasses=null),te===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return y.styles}function Kr(a,y,te){var ee=a.doc,re=a.display;if(!ee.mode.startState)return new Dr(ee,!0,y);var ye=xa(a,y,te),He=ye>ee.first&&_n(ee,ye-1).stateAfter,at=He?Dr.fromSaved(ee,He,ye):new Dr(ee,Ir(ee.mode),ye);return ee.iter(ye,y,function(ut){qr(a,ut.text,at);var yt=at.line;ut.stateAfter=yt==y-1||yt%5==0||yt>=re.viewFrom&&yt<re.viewTo?at.save():null,at.nextLine()}),te&&(ee.modeFrontier=at.line),at}function qr(a,y,te,ee){var re=a.doc.mode,ye=new lr(y,a.options.tabSize,te);for(ye.start=ye.pos=ee||0,y==""&&ha(re,te.state);!ye.eol();)ma(re,ye,te.state),ye.start=ye.pos}function ha(a,y){if(a.blankLine)return a.blankLine(y);if(a.innerMode){var te=wr(a,y);if(te.mode.blankLine)return te.mode.blankLine(te.state)}}function ma(a,y,te,ee){for(var re=0;re<10;re++){ee&&(ee[0]=wr(a,te).mode);var ye=a.token(y,te);if(y.pos>y.start)return ye}throw new Error("Mode "+a.name+" failed to advance stream.")}var la=function(a,y,te){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=y||null,this.state=te};function $r(a,y,te,ee){var re=a.doc,ye=re.mode,He;y=ln(re,y);var at=_n(re,y.line),ut=Kr(a,y.line,te),yt=new lr(at.text,a.options.tabSize,ut),hn;for(ee&&(hn=[]);(ee||yt.pos<y.ch)&&!yt.eol();)yt.start=yt.pos,He=ma(ye,yt,ut.state),ee&&hn.push(new la(yt,He,Pr(re.mode,ut.state)));return ee?hn:new la(yt,He,ut.state)}function wa(a,y){if(a)for(;;){var te=a.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!te)break;a=a.slice(0,te.index)+a.slice(te.index+te[0].length);var ee=te[1]?"bgClass":"textClass";y[ee]==null?y[ee]=te[2]:new RegExp("(?:^|\\s)"+te[2]+"(?:$|\\s)").test(y[ee])||(y[ee]+=" "+te[2])}return a}function Ia(a,y,te,ee,re,ye,He){var at=te.flattenSpans;at==null&&(at=a.options.flattenSpans);var ut=0,yt=null,hn=new lr(y,a.options.tabSize,ee),bn,tr=a.options.addModeClass&&[null];for(y==""&&wa(ha(te,ee.state),ye);!hn.eol();){if(hn.pos>a.options.maxHighlightLength?(at=!1,He&&qr(a,y,ee,hn.pos),hn.pos=y.length,bn=null):bn=wa(ma(te,hn,ee.state,tr),ye),tr){var Kn=tr[0].name;Kn&&(bn="m-"+(bn?Kn+" "+bn:Kn))}if(!at||yt!=bn){for(;ut<hn.start;)ut=Math.min(hn.start,ut+5e3),re(ut,yt);yt=bn}hn.start=hn.pos}for(;ut<hn.pos;){var Nr=Math.min(hn.pos,ut+5e3);re(Nr,yt),ut=Nr}}function xa(a,y,te){for(var ee,re,ye=a.doc,He=te?-1:y-(a.doc.mode.innerMode?1e3:100),at=y;at>He;--at){if(at<=ye.first)return ye.first;var ut=_n(ye,at-1),yt=ut.stateAfter;if(yt&&(!te||at+(yt instanceof Cr?yt.lookAhead:0)<=ye.modeFrontier))return at;var hn=nt(ut.text,null,a.options.tabSize);(re==null||ee>hn)&&(re=at-1,ee=hn)}return re}function ga(a,y){if(a.modeFrontier=Math.min(a.modeFrontier,y),!(a.highlightFrontier<y-10)){for(var te=a.first,ee=y-1;ee>te;ee--){var re=_n(a,ee).stateAfter;if(re&&(!(re instanceof Cr)||ee+re.lookAhead<y)){te=ee+1;break}}a.highlightFrontier=Math.min(a.highlightFrontier,te)}}var pa=!1,Gr=!1;function ra(){pa=!0}function ya(){Gr=!0}function _r(a,y,te){this.marker=a,this.from=y,this.to=te}function Zr(a,y){if(a)for(var te=0;te<a.length;++te){var ee=a[te];if(ee.marker==y)return ee}}function aa(a,y){for(var te,ee=0;ee<a.length;++ee)a[ee]!=y&&(te||(te=[])).push(a[ee]);return te}function ua(a,y){a.markedSpans=a.markedSpans?a.markedSpans.concat([y]):[y],y.marker.attachLine(a)}function Pa(a,y,te){var ee;if(a)for(var re=0;re<a.length;++re){var ye=a[re],He=ye.marker,at=ye.from==null||(He.inclusiveLeft?ye.from<=y:ye.from<y);if(at||ye.from==y&&He.type=="bookmark"&&(!te||!ye.marker.insertLeft)){var ut=ye.to==null||(He.inclusiveRight?ye.to>=y:ye.to>y);(ee||(ee=[])).push(new _r(He,ye.from,ut?null:ye.to))}}return ee}function Ra(a,y,te){var ee;if(a)for(var re=0;re<a.length;++re){var ye=a[re],He=ye.marker,at=ye.to==null||(He.inclusiveRight?ye.to>=y:ye.to>y);if(at||ye.from==y&&He.type=="bookmark"&&(!te||ye.marker.insertLeft)){var ut=ye.from==null||(He.inclusiveLeft?ye.from<=y:ye.from<y);(ee||(ee=[])).push(new _r(He,ut?null:ye.from-y,ye.to==null?null:ye.to-y))}}return ee}function Xa(a,y){if(y.full)return null;var te=hr(a,y.from.line)&&_n(a,y.from.line).markedSpans,ee=hr(a,y.to.line)&&_n(a,y.to.line).markedSpans;if(!te&&!ee)return null;var re=y.from.ch,ye=y.to.ch,He=on(y.from,y.to)==0,at=Pa(te,re,He),ut=Ra(ee,ye,He),yt=y.text.length==1,hn=Bt(y.text).length+(yt?re:0);if(at)for(var bn=0;bn<at.length;++bn){var tr=at[bn];if(tr.to==null){var Kn=Zr(ut,tr.marker);Kn?yt&&(tr.to=Kn.to==null?null:Kn.to+hn):tr.to=re}}if(ut)for(var Nr=0;Nr<ut.length;++Nr){var Mr=ut[Nr];if(Mr.to!=null&&(Mr.to+=hn),Mr.from==null){var Yr=Zr(at,Mr.marker);Yr||(Mr.from=hn,yt&&(at||(at=[])).push(Mr))}else Mr.from+=hn,yt&&(at||(at=[])).push(Mr)}at&&(at=qt(at)),ut&&ut!=at&&(ut=qt(ut));var oa=[at];if(!yt){var da=y.text.length-2,ia;if(da>0&&at)for(var Ca=0;Ca<at.length;++Ca)at[Ca].to==null&&(ia||(ia=[])).push(new _r(at[Ca].marker,null,null));for(var Ka=0;Ka<da;++Ka)oa.push(ia);oa.push(ut)}return oa}function qt(a){for(var y=0;y<a.length;++y){var te=a[y];te.from!=null&&te.from==te.to&&te.marker.clearWhenEmpty!==!1&&a.splice(y--,1)}return a.length?a:null}function Bn(a,y,te){var ee=null;if(a.iter(y.line,te.line+1,function(Kn){if(Kn.markedSpans)for(var Nr=0;Nr<Kn.markedSpans.length;++Nr){var Mr=Kn.markedSpans[Nr].marker;Mr.readOnly&&(!ee||Be(ee,Mr)==-1)&&(ee||(ee=[])).push(Mr)}}),!ee)return null;for(var re=[{from:y,to:te}],ye=0;ye<ee.length;++ye)for(var He=ee[ye],at=He.find(0),ut=0;ut<re.length;++ut){var yt=re[ut];if(!(on(yt.to,at.from)<0||on(yt.from,at.to)>0)){var hn=[ut,1],bn=on(yt.from,at.from),tr=on(yt.to,at.to);(bn<0||!He.inclusiveLeft&&!bn)&&hn.push({from:yt.from,to:at.from}),(tr>0||!He.inclusiveRight&&!tr)&&hn.push({from:at.to,to:yt.to}),re.splice.apply(re,hn),ut+=hn.length-3}}return re}function Dn(a){var y=a.markedSpans;if(y){for(var te=0;te<y.length;++te)y[te].marker.detachLine(a);a.markedSpans=null}}function jn(a,y){if(y){for(var te=0;te<y.length;++te)y[te].marker.attachLine(a);a.markedSpans=y}}function Qn(a){return a.inclusiveLeft?-1:0}function er(a){return a.inclusiveRight?1:0}function vr(a,y){var te=a.lines.length-y.lines.length;if(te!=0)return te;var ee=a.find(),re=y.find(),ye=on(ee.from,re.from)||Qn(a)-Qn(y);if(ye)return-ye;var He=on(ee.to,re.to)||er(a)-er(y);return He||y.id-a.id}function mr(a,y){var te=Gr&&a.markedSpans,ee;if(te)for(var re=void 0,ye=0;ye<te.length;++ye)re=te[ye],re.marker.collapsed&&(y?re.from:re.to)==null&&(!ee||vr(ee,re.marker)<0)&&(ee=re.marker);return ee}function pr(a){return mr(a,!0)}function Rn(a){return mr(a,!1)}function Ge(a,y){var te=Gr&&a.markedSpans,ee;if(te)for(var re=0;re<te.length;++re){var ye=te[re];ye.marker.collapsed&&(ye.from==null||ye.from<y)&&(ye.to==null||ye.to>y)&&(!ee||vr(ee,ye.marker)<0)&&(ee=ye.marker)}return ee}function Tt(a,y,te,ee,re){var ye=_n(a,y),He=Gr&&ye.markedSpans;if(He)for(var at=0;at<He.length;++at){var ut=He[at];if(ut.marker.collapsed){var yt=ut.marker.find(0),hn=on(yt.from,te)||Qn(ut.marker)-Qn(re),bn=on(yt.to,ee)||er(ut.marker)-er(re);if(!(hn>=0&&bn<=0||hn<=0&&bn>=0)&&(hn<=0&&(ut.marker.inclusiveRight&&re.inclusiveLeft?on(yt.to,te)>=0:on(yt.to,te)>0)||hn>=0&&(ut.marker.inclusiveRight&&re.inclusiveLeft?on(yt.from,ee)<=0:on(yt.from,ee)<0)))return!0}}}function It(a){for(var y;y=pr(a);)a=y.find(-1,!0).line;return a}function Wt(a){for(var y;y=Rn(a);)a=y.find(1,!0).line;return a}function Ht(a){for(var y,te;y=Rn(a);)a=y.find(1,!0).line,(te||(te=[])).push(a);return te}function Mn(a,y){var te=_n(a,y),ee=It(te);return te==ee?y:rn(ee)}function Tn(a,y){if(y>a.lastLine())return y;var te=_n(a,y),ee;if(!wn(a,te))return y;for(;ee=Rn(te);)te=ee.find(1,!0).line;return rn(te)+1}function wn(a,y){var te=Gr&&y.markedSpans;if(te){for(var ee=void 0,re=0;re<te.length;++re)if(ee=te[re],!!ee.marker.collapsed){if(ee.from==null)return!0;if(!ee.marker.widgetNode&&ee.from==0&&ee.marker.inclusiveLeft&&Fn(a,y,ee))return!0}}}function Fn(a,y,te){if(te.to==null){var ee=te.marker.find(1,!0);return Fn(a,ee.line,Zr(ee.line.markedSpans,te.marker))}if(te.marker.inclusiveRight&&te.to==y.text.length)return!0;for(var re=void 0,ye=0;ye<y.markedSpans.length;++ye)if(re=y.markedSpans[ye],re.marker.collapsed&&!re.marker.widgetNode&&re.from==te.to&&(re.to==null||re.to!=te.from)&&(re.marker.inclusiveLeft||te.marker.inclusiveRight)&&Fn(a,y,re))return!0}function nr(a){a=It(a);for(var y=0,te=a.parent,ee=0;ee<te.lines.length;++ee){var re=te.lines[ee];if(re==a)break;y+=re.height}for(var ye=te.parent;ye;te=ye,ye=te.parent)for(var He=0;He<ye.children.length;++He){var at=ye.children[He];if(at==te)break;y+=at.height}return y}function Or(a){if(a.height==0)return 0;for(var y=a.text.length,te,ee=a;te=pr(ee);){var re=te.find(0,!0);ee=re.from.line,y+=re.from.ch-re.to.ch}for(ee=a;te=Rn(ee);){var ye=te.find(0,!0);y-=ee.text.length-ye.from.ch,ee=ye.to.line,y+=ee.text.length-ye.to.ch}return y}function br(a){var y=a.display,te=a.doc;y.maxLine=_n(te,te.first),y.maxLineLength=Or(y.maxLine),y.maxLineChanged=!0,te.iter(function(ee){var re=Or(ee);re>y.maxLineLength&&(y.maxLineLength=re,y.maxLine=ee)})}var Tr=function(a,y,te){this.text=a,jn(this,y),this.height=te?te(this):1};Tr.prototype.lineNo=function(){return rn(this)},Je(Tr);function Hr(a,y,te,ee){a.text=y,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),Dn(a),jn(a,te);var re=ee?ee(a):1;re!=a.height&&Ur(a,re)}function jr(a){a.parent=null,Dn(a)}var sa={},va={};function Aa(a,y){if(!a||/^\s*$/.test(a))return null;var te=y.addModeClass?va:sa;return te[a]||(te[a]=a.replace(/\S+/g,"cm-$&"))}function Sa(a,y){var te=$e("span",null,null,xe?"padding-right: .1px":null),ee={pre:$e("pre",[te],"CodeMirror-line"),content:te,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};y.measure={};for(var re=0;re<=(y.rest?y.rest.length:0);re++){var ye=re?y.rest[re-1]:y.line,He=void 0;ee.pos=0,ee.addToken=Xr,zn(a.display.measure)&&(He=fn(ye,a.doc.direction))&&(ee.addToken=ea(ee.addToken,He)),ee.map=[];var at=y!=a.display.externalMeasured&&rn(ye);za(ye,ee,Rr(a,ye,at)),ye.styleClasses&&(ye.styleClasses.bgClass&&(ee.bgClass=ht(ye.styleClasses.bgClass,ee.bgClass||"")),ye.styleClasses.textClass&&(ee.textClass=ht(ye.styleClasses.textClass,ee.textClass||""))),ee.map.length==0&&ee.map.push(0,0,ee.content.appendChild(qn(a.display.measure))),re==0?(y.measure.map=ee.map,y.measure.cache={}):((y.measure.maps||(y.measure.maps=[])).push(ee.map),(y.measure.caches||(y.measure.caches=[])).push({}))}if(xe){var ut=ee.content.lastChild;(/\bcm-tab\b/.test(ut.className)||ut.querySelector&&ut.querySelector(".cm-tab"))&&(ee.content.className="cm-tab-wrap-hack")}return Rt(a,"renderLine",a,y.line,ee.pre),ee.pre.className&&(ee.textClass=ht(ee.pre.className,ee.textClass||"")),ee}function La(a){var y=tt("span","\u2022","cm-invalidchar");return y.title="\\u"+a.charCodeAt(0).toString(16),y.setAttribute("aria-label",y.title),y}function Xr(a,y,te,ee,re,ye,He){if(y){var at=a.splitSpaces?Wr(y,a.trailingSpace):y,ut=a.cm.state.specialChars,yt=!1,hn;if(!ut.test(y))a.col+=y.length,hn=document.createTextNode(at),a.map.push(a.pos,a.pos+y.length,hn),ge&&oe<9&&(yt=!0),a.pos+=y.length;else{hn=document.createDocumentFragment();for(var bn=0;;){ut.lastIndex=bn;var tr=ut.exec(y),Kn=tr?tr.index-bn:y.length-bn;if(Kn){var Nr=document.createTextNode(at.slice(bn,bn+Kn));ge&&oe<9?hn.appendChild(tt("span",[Nr])):hn.appendChild(Nr),a.map.push(a.pos,a.pos+Kn,Nr),a.col+=Kn,a.pos+=Kn}if(!tr)break;bn+=Kn+1;var Mr=void 0;if(tr[0]==" "){var Yr=a.cm.options.tabSize,oa=Yr-a.col%Yr;Mr=hn.appendChild(tt("span",Yt(oa),"cm-tab")),Mr.setAttribute("role","presentation"),Mr.setAttribute("cm-text"," "),a.col+=oa}else tr[0]=="\r"||tr[0]==`
`?(Mr=hn.appendChild(tt("span",tr[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Mr.setAttribute("cm-text",tr[0]),a.col+=1):(Mr=a.cm.options.specialCharPlaceholder(tr[0]),Mr.setAttribute("cm-text",tr[0]),ge&&oe<9?hn.appendChild(tt("span",[Mr])):hn.appendChild(Mr),a.col+=1);a.map.push(a.pos,a.pos+1,Mr),a.pos++}}if(a.trailingSpace=at.charCodeAt(y.length-1)==32,te||ee||re||yt||ye||He){var da=te||"";ee&&(da+=ee),re&&(da+=re);var ia=tt("span",[hn],da,ye);if(He)for(var Ca in He)He.hasOwnProperty(Ca)&&Ca!="style"&&Ca!="class"&&ia.setAttribute(Ca,He[Ca]);return a.content.appendChild(ia)}a.content.appendChild(hn)}}function Wr(a,y){if(a.length>1&&!/ /.test(a))return a;for(var te=y,ee="",re=0;re<a.length;re++){var ye=a.charAt(re);ye==" "&&te&&(re==a.length-1||a.charCodeAt(re+1)==32)&&(ye="\xA0"),ee+=ye,te=ye==" "}return ee}function ea(a,y){return function(te,ee,re,ye,He,at,ut){re=re?re+" cm-force-border":"cm-force-border";for(var yt=te.pos,hn=yt+ee.length;;){for(var bn=void 0,tr=0;tr<y.length&&(bn=y[tr],!(bn.to>yt&&bn.from<=yt));tr++);if(bn.to>=hn)return a(te,ee,re,ye,He,at,ut);a(te,ee.slice(0,bn.to-yt),re,ye,null,at,ut),ye=null,ee=ee.slice(bn.to-yt),yt=bn.to}}}function ka(a,y,te,ee){var re=!ee&&te.widgetNode;re&&a.map.push(a.pos,a.pos+y,re),!ee&&a.cm.display.input.needsContentAttribute&&(re||(re=a.content.appendChild(document.createElement("span"))),re.setAttribute("cm-marker",te.id)),re&&(a.cm.display.input.setUneditable(re),a.content.appendChild(re)),a.pos+=y,a.trailingSpace=!1}function za(a,y,te){var ee=a.markedSpans,re=a.text,ye=0;if(!ee){for(var He=1;He<te.length;He+=2)y.addToken(y,re.slice(ye,ye=te[He]),Aa(te[He+1],y.cm.options));return}for(var at=re.length,ut=0,yt=1,hn="",bn,tr,Kn=0,Nr,Mr,Yr,oa,da;;){if(Kn==ut){Nr=Mr=Yr=tr="",da=null,oa=null,Kn=1/0;for(var ia=[],Ca=void 0,Ka=0;Ka<ee.length;++Ka){var Ua=ee[Ka],si=Ua.marker;if(si.type=="bookmark"&&Ua.from==ut&&si.widgetNode)ia.push(si);else if(Ua.from<=ut&&(Ua.to==null||Ua.to>ut||si.collapsed&&Ua.to==ut&&Ua.from==ut)){if(Ua.to!=null&&Ua.to!=ut&&Kn>Ua.to&&(Kn=Ua.to,Mr=""),si.className&&(Nr+=" "+si.className),si.css&&(tr=(tr?tr+";":"")+si.css),si.startStyle&&Ua.from==ut&&(Yr+=" "+si.startStyle),si.endStyle&&Ua.to==Kn&&(Ca||(Ca=[])).push(si.endStyle,Ua.to),si.title&&((da||(da={})).title=si.title),si.attributes)for(var Gi in si.attributes)(da||(da={}))[Gi]=si.attributes[Gi];si.collapsed&&(!oa||vr(oa.marker,si)<0)&&(oa=Ua)}else Ua.from>ut&&Kn>Ua.from&&(Kn=Ua.from)}if(Ca)for(var Oo=0;Oo<Ca.length;Oo+=2)Ca[Oo+1]==Kn&&(Mr+=" "+Ca[Oo]);if(!oa||oa.from==ut)for(var $i=0;$i<ia.length;++$i)ka(y,0,ia[$i]);if(oa&&(oa.from||0)==ut){if(ka(y,(oa.to==null?at+1:oa.to)-ut,oa.marker,oa.from==null),oa.to==null)return;oa.to==ut&&(oa=!1)}}if(ut>=at)break;for(var bs=Math.min(at,Kn);;){if(hn){var us=ut+hn.length;if(!oa){var oo=us>bs?hn.slice(0,bs-ut):hn;y.addToken(y,oo,bn?bn+Nr:Nr,Yr,ut+oo.length==Kn?Mr:"",tr,da)}if(us>=bs){hn=hn.slice(bs-ut),ut=bs;break}ut=us,Yr=""}hn=re.slice(ye,ye=te[yt++]),bn=Aa(te[yt++],y.cm.options)}}}function sn(a,y,te){this.line=y,this.rest=Ht(y),this.size=this.rest?rn(Bt(this.rest))-te+1:1,this.node=this.text=null,this.hidden=wn(a,y)}function Ba(a,y,te){for(var ee=[],re,ye=y;ye<te;ye=re){var He=new sn(a.doc,_n(a.doc,ye),ye);re=ye+He.size,ee.push(He)}return ee}var li=null;function Ui(a){li?li.ops.push(a):a.ownsGroup=li={ops:[a],delayedCallbacks:[]}}function Wi(a){var y=a.delayedCallbacks,te=0;do{for(;te<y.length;te++)y[te].call(null);for(var ee=0;ee<a.ops.length;ee++){var re=a.ops[ee];if(re.cursorActivityHandlers)for(;re.cursorActivityCalled<re.cursorActivityHandlers.length;)re.cursorActivityHandlers[re.cursorActivityCalled++].call(null,re.cm)}}while(te<y.length)}function So(a,y){var te=a.ownsGroup;if(te)try{Wi(te)}finally{li=null,y(te)}}var eo=null;function gi(a,y){var te=tn(a,y);if(te.length){var ee=Array.prototype.slice.call(arguments,2),re;li?re=li.delayedCallbacks:eo?re=eo:(re=eo=[],setTimeout(fi,0));for(var ye=function(at){re.push(function(){return te[at].apply(null,ee)})},He=0;He<te.length;++He)ye(He)}}function fi(){var a=eo;eo=null;for(var y=0;y<a.length;++y)a[y]()}function pi(a,y,te,ee){for(var re=0;re<y.changes.length;re++){var ye=y.changes[re];ye=="text"?yi(a,y):ye=="gutter"?_a(a,y,te,ee):ye=="class"?ca(a,y):ye=="widget"&&Ma(a,y,ee)}y.changes=null}function Hi(a){return a.node==a.text&&(a.node=tt("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),ge&&oe<8&&(a.node.style.zIndex=2)),a.node}function vi(a,y){var te=y.bgClass?y.bgClass+" "+(y.line.bgClass||""):y.line.bgClass;if(te&&(te+=" CodeMirror-linebackground"),y.background)te?y.background.className=te:(y.background.parentNode.removeChild(y.background),y.background=null);else if(te){var ee=Hi(y);y.background=ee.insertBefore(tt("div",null,te),ee.firstChild),a.display.input.setUneditable(y.background)}}function bi(a,y){var te=a.display.externalMeasured;return te&&te.line==y.line?(a.display.externalMeasured=null,y.measure=te.measure,te.built):Sa(a,y)}function yi(a,y){var te=y.text.className,ee=bi(a,y);y.text==y.node&&(y.node=ee.pre),y.text.parentNode.replaceChild(ee.pre,y.text),y.text=ee.pre,ee.bgClass!=y.bgClass||ee.textClass!=y.textClass?(y.bgClass=ee.bgClass,y.textClass=ee.textClass,ca(a,y)):te&&(y.text.className=te)}function ca(a,y){vi(a,y),y.line.wrapClass?Hi(y).className=y.line.wrapClass:y.node!=y.text&&(y.node.className="");var te=y.textClass?y.textClass+" "+(y.line.textClass||""):y.line.textClass;y.text.className=te||""}function _a(a,y,te,ee){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 re=Hi(y);y.gutterBackground=tt("div",null,"CodeMirror-gutter-background "+y.line.gutterClass,"left: "+(a.options.fixedGutter?ee.fixedPos:-ee.gutterTotalWidth)+"px; width: "+ee.gutterTotalWidth+"px"),a.display.input.setUneditable(y.gutterBackground),re.insertBefore(y.gutterBackground,y.text)}var ye=y.line.gutterMarkers;if(a.options.lineNumbers||ye){var He=Hi(y),at=y.gutter=tt("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?ee.fixedPos:-ee.gutterTotalWidth)+"px");if(a.display.input.setUneditable(at),He.insertBefore(at,y.text),y.line.gutterClass&&(at.className+=" "+y.line.gutterClass),a.options.lineNumbers&&(!ye||!ye["CodeMirror-linenumbers"])&&(y.lineNumber=at.appendChild(tt("div",$n(a.options,te),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+ee.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),ye)for(var ut=0;ut<a.display.gutterSpecs.length;++ut){var yt=a.display.gutterSpecs[ut].className,hn=ye.hasOwnProperty(yt)&&ye[yt];hn&&at.appendChild(tt("div",[hn],"CodeMirror-gutter-elt","left: "+ee.gutterLeft[yt]+"px; width: "+ee.gutterWidth[yt]+"px"))}}}function Ma(a,y,te){y.alignable&&(y.alignable=null);for(var ee=Te("CodeMirror-linewidget"),re=y.node.firstChild,ye=void 0;re;re=ye)ye=re.nextSibling,ee.test(re.className)&&y.node.removeChild(re);Ja(a,y,te)}function Da(a,y,te,ee){var re=bi(a,y);return y.text=y.node=re.pre,re.bgClass&&(y.bgClass=re.bgClass),re.textClass&&(y.textClass=re.textClass),ca(a,y),_a(a,y,te,ee),Ja(a,y,ee),y.node}function Ja(a,y,te){if(ui(a,y.line,y,te,!0),y.rest)for(var ee=0;ee<y.rest.length;ee++)ui(a,y.rest[ee],y,te,!1)}function ui(a,y,te,ee,re){if(y.widgets)for(var ye=Hi(te),He=0,at=y.widgets;He<at.length;++He){var ut=at[He],yt=tt("div",[ut.node],"CodeMirror-linewidget"+(ut.className?" "+ut.className:""));ut.handleMouseEvents||yt.setAttribute("cm-ignore-events","true"),Ki(ut,yt,te,ee),a.display.input.setUneditable(yt),re&&ut.above?ye.insertBefore(yt,te.gutter||te.text):ye.appendChild(yt),gi(ut,"redraw")}}function Ki(a,y,te,ee){if(a.noHScroll){(te.alignable||(te.alignable=[])).push(y);var re=ee.wrapperWidth;y.style.left=ee.fixedPos+"px",a.coverGutter||(re-=ee.gutterTotalWidth,y.style.paddingLeft=ee.gutterTotalWidth+"px"),y.style.width=re+"px"}a.coverGutter&&(y.style.zIndex=5,y.style.position="relative",a.noHScroll||(y.style.marginLeft=-ee.gutterTotalWidth+"px"))}function ri(a){if(a.height!=null)return a.height;var y=a.doc.cm;if(!y)return 0;if(!Xe(document.body,a.node)){var te="position: relative;";a.coverGutter&&(te+="margin-left: -"+y.display.gutters.offsetWidth+"px;"),a.noHScroll&&(te+="width: "+y.display.wrapper.clientWidth+"px;"),Fe(y.display.measure,tt("div",[a.node],null,te))}return a.height=a.node.parentNode.offsetHeight}function Oi(a,y){for(var te=ar(y);te!=a.wrapper;te=te.parentNode)if(!te||te.nodeType==1&&te.getAttribute("cm-ignore-events")=="true"||te.parentNode==a.sizer&&te!=a.mover)return!0}function Ga(a){return a.lineSpace.offsetTop}function ai(a){return a.mover.offsetHeight-a.lineSpace.offsetHeight}function uo(a){if(a.cachedPaddingH)return a.cachedPaddingH;var y=Fe(a.measure,tt("pre","x","CodeMirror-line-like")),te=window.getComputedStyle?window.getComputedStyle(y):y.currentStyle,ee={left:parseInt(te.paddingLeft),right:parseInt(te.paddingRight)};return!isNaN(ee.left)&&!isNaN(ee.right)&&(a.cachedPaddingH=ee),ee}function ti(a){return wt-a.display.nativeBarWidth}function ao(a){return a.display.scroller.clientWidth-ti(a)-a.display.barWidth}function co(a){return a.display.scroller.clientHeight-ti(a)-a.display.barHeight}function to(a,y,te){var ee=a.options.lineWrapping,re=ee&&ao(a);if(!y.measure.heights||ee&&y.measure.width!=re){var ye=y.measure.heights=[];if(ee){y.measure.width=re;for(var He=y.text.firstChild.getClientRects(),at=0;at<He.length-1;at++){var ut=He[at],yt=He[at+1];Math.abs(ut.bottom-yt.bottom)>2&&ye.push((ut.bottom+yt.top)/2-te.top)}}ye.push(te.bottom-te.top)}}function Ii(a,y,te){if(a.line==y)return{map:a.measure.map,cache:a.measure.cache};for(var ee=0;ee<a.rest.length;ee++)if(a.rest[ee]==y)return{map:a.measure.maps[ee],cache:a.measure.caches[ee]};for(var re=0;re<a.rest.length;re++)if(rn(a.rest[re])>te)return{map:a.measure.maps[re],cache:a.measure.caches[re],before:!0}}function Ko(a,y){y=It(y);var te=rn(y),ee=a.display.externalMeasured=new sn(a.doc,y,te);ee.lineN=te;var re=ee.built=Sa(a,ee);return ee.text=re.pre,Fe(a.display.lineMeasure,re.pre),ee}function Us(a,y,te,ee){return go(a,Lo(a,y),te,ee)}function Ni(a,y){if(y>=a.display.viewFrom&&y<a.display.viewTo)return a.display.view[Fo(a,y)];var te=a.display.externalMeasured;if(te&&y>=te.lineN&&y<te.lineN+te.size)return te}function Lo(a,y){var te=rn(y),ee=Ni(a,te);ee&&!ee.text?ee=null:ee&&ee.changes&&(pi(a,ee,te,_o(a)),a.curOp.forceUpdate=!0),ee||(ee=Ko(a,y));var re=Ii(ee,y,te);return{line:y,view:ee,rect:null,map:re.map,cache:re.cache,before:re.before,hasHeights:!1}}function go(a,y,te,ee,re){y.before&&(te=-1);var ye=te+(ee||""),He;return y.cache.hasOwnProperty(ye)?He=y.cache[ye]:(y.rect||(y.rect=y.view.text.getBoundingClientRect()),y.hasHeights||(to(a,y.view,y.rect),y.hasHeights=!0),He=Qs(a,y,te,ee),He.bogus||(y.cache[ye]=He)),{left:He.left,right:He.right,top:re?He.rtop:He.top,bottom:re?He.rbottom:He.bottom}}var vo={left:0,right:0,top:0,bottom:0};function Hs(a,y,te){for(var ee,re,ye,He,at,ut,yt=0;yt<a.length;yt+=3)if(at=a[yt],ut=a[yt+1],y<at?(re=0,ye=1,He="left"):y<ut?(re=y-at,ye=re+1):(yt==a.length-3||y==ut&&a[yt+3]>y)&&(ye=ut-at,re=ye-1,y>=ut&&(He="right")),re!=null){if(ee=a[yt+2],at==ut&&te==(ee.insertLeft?"left":"right")&&(He=te),te=="left"&&re==0)for(;yt&&a[yt-2]==a[yt-3]&&a[yt-1].insertLeft;)ee=a[(yt-=3)+2],He="left";if(te=="right"&&re==ut-at)for(;yt<a.length-3&&a[yt+3]==a[yt+4]&&!a[yt+5].insertLeft;)ee=a[(yt+=3)+2],He="right";break}return{node:ee,start:re,end:ye,collapse:He,coverStart:at,coverEnd:ut}}function Xs(a,y){var te=vo;if(y=="left")for(var ee=0;ee<a.length&&(te=a[ee]).left==te.right;ee++);else for(var re=a.length-1;re>=0&&(te=a[re]).left==te.right;re--);return te}function Qs(a,y,te,ee){var re=Hs(y.map,te,ee),ye=re.node,He=re.start,at=re.end,ut=re.collapse,yt;if(ye.nodeType==3){for(var hn=0;hn<4;hn++){for(;He&&Mt(y.line.text.charAt(re.coverStart+He));)--He;for(;re.coverStart+at<re.coverEnd&&Mt(y.line.text.charAt(re.coverStart+at));)++at;if(ge&&oe<9&&He==0&&at==re.coverEnd-re.coverStart?yt=ye.parentNode.getBoundingClientRect():yt=Xs(Ue(ye,He,at).getClientRects(),ee),yt.left||yt.right||He==0)break;at=He,He=He-1,ut="right"}ge&&oe<11&&(yt=ws(a.display.measure,yt))}else{He>0&&(ut=ee="right");var bn;a.options.lineWrapping&&(bn=ye.getClientRects()).length>1?yt=bn[ee=="right"?bn.length-1:0]:yt=ye.getBoundingClientRect()}if(ge&&oe<9&&!He&&(!yt||!yt.left&&!yt.right)){var tr=ye.parentNode.getClientRects()[0];tr?yt={left:tr.left,right:tr.left+xo(a.display),top:tr.top,bottom:tr.bottom}:yt=vo}for(var Kn=yt.top-y.rect.top,Nr=yt.bottom-y.rect.top,Mr=(Kn+Nr)/2,Yr=y.view.measure.heights,oa=0;oa<Yr.length-1&&!(Mr<Yr[oa]);oa++);var da=oa?Yr[oa-1]:0,ia=Yr[oa],Ca={left:(ut=="right"?yt.right:yt.left)-y.rect.left,right:(ut=="left"?yt.left:yt.right)-y.rect.left,top:da,bottom:ia};return!yt.left&&!yt.right&&(Ca.bogus=!0),a.options.singleCursorHeightPerLine||(Ca.rtop=Kn,Ca.rbottom=Nr),Ca}function ws(a,y){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!nn(a))return y;var te=screen.logicalXDPI/screen.deviceXDPI,ee=screen.logicalYDPI/screen.deviceYDPI;return{left:y.left*te,right:y.right*te,top:y.top*ee,bottom:y.bottom*ee}}function Is(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 Ns(a){a.display.externalMeasure=null,lt(a.display.lineMeasure);for(var y=0;y<a.display.view.length;y++)Is(a.display.view[y])}function hs(a){Ns(a),a.display.cachedCharWidth=a.display.cachedTextHeight=a.display.cachedPaddingH=null,a.options.lineWrapping||(a.display.maxLineChanged=!0),a.display.lineNumChars=null}function ks(){return Se&&qe?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Js(){return Se&&qe?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Rs(a){var y=0;if(a.widgets)for(var te=0;te<a.widgets.length;++te)a.widgets[te].above&&(y+=ri(a.widgets[te]));return y}function Es(a,y,te,ee,re){if(!re){var ye=Rs(y);te.top+=ye,te.bottom+=ye}if(ee=="line")return te;ee||(ee="local");var He=nr(y);if(ee=="local"?He+=Ga(a.display):He-=a.display.viewOffset,ee=="page"||ee=="window"){var at=a.display.lineSpace.getBoundingClientRect();He+=at.top+(ee=="window"?0:Js());var ut=at.left+(ee=="window"?0:ks());te.left+=ut,te.right+=ut}return te.top+=He,te.bottom+=He,te}function ms(a,y,te){if(te=="div")return y;var ee=y.left,re=y.top;if(te=="page")ee-=ks(),re-=Js();else if(te=="local"||!te){var ye=a.display.sizer.getBoundingClientRect();ee+=ye.left,re+=ye.top}var He=a.display.lineSpace.getBoundingClientRect();return{left:ee-He.left,top:re-He.top}}function Qi(a,y,te,ee,re){return ee||(ee=_n(a.doc,y.line)),Es(a,ee,Us(a,ee,y.ch,re),te)}function Fi(a,y,te,ee,re,ye){ee=ee||_n(a.doc,y.line),re||(re=Lo(a,ee));function He(Nr,Mr){var Yr=go(a,re,Nr,Mr?"right":"left",ye);return Mr?Yr.left=Yr.right:Yr.right=Yr.left,Es(a,ee,Yr,te)}var at=fn(ee,a.doc.direction),ut=y.ch,yt=y.sticky;if(ut>=ee.text.length?(ut=ee.text.length,yt="before"):ut<=0&&(ut=0,yt="after"),!at)return He(yt=="before"?ut-1:ut,yt=="before");function hn(Nr,Mr,Yr){var oa=at[Mr],da=oa.level==1;return He(Yr?Nr-1:Nr,da!=Yr)}var bn=Lt(at,ut,yt),tr=Ft,Kn=hn(ut,bn,yt=="before");return tr!=null&&(Kn.other=hn(ut,tr,yt!="before")),Kn}function ei(a,y){var te=0;y=ln(a.doc,y),a.options.lineWrapping||(te=xo(a.display)*y.ch);var ee=_n(a.doc,y.line),re=nr(ee)+Ga(a.display);return{left:te,right:te,top:re,bottom:re+ee.height}}function Ha(a,y,te,ee,re){var ye=Pt(a,y,te);return ye.xRel=re,ee&&(ye.outside=ee),ye}function Pi(a,y,te){var ee=a.doc;if(te+=a.display.viewOffset,te<0)return Ha(ee.first,0,null,-1,-1);var re=Qt(ee,te),ye=ee.first+ee.size-1;if(re>ye)return Ha(ee.first+ee.size-1,_n(ee,ye).text.length,null,1,1);y<0&&(y=0);for(var He=_n(ee,re);;){var at=Zo(a,He,re,y,te),ut=Ge(He,at.ch+(at.xRel>0||at.outside>0?1:0));if(!ut)return at;var yt=ut.find(1);if(yt.line==re)return yt;He=_n(ee,re=yt.line)}}function Li(a,y,te,ee){ee-=Rs(y);var re=y.text.length,ye=Sn(function(He){return go(a,te,He-1).bottom<=ee},re,0);return re=Sn(function(He){return go(a,te,He).top>ee},ye,re),{begin:ye,end:re}}function Mi(a,y,te,ee){te||(te=Lo(a,y));var re=Es(a,y,go(a,te,ee),"line").top;return Li(a,y,te,re)}function Zi(a,y,te,ee){return a.bottom<=te?!1:a.top>te?!0:(ee?a.left:a.right)>y}function Zo(a,y,te,ee,re){re-=nr(y);var ye=Lo(a,y),He=Rs(y),at=0,ut=y.text.length,yt=!0,hn=fn(y,a.doc.direction);if(hn){var bn=(a.options.lineWrapping?ts:Co)(a,y,te,ye,hn,ee,re);yt=bn.level!=1,at=yt?bn.from:bn.to-1,ut=yt?bn.to:bn.from-1}var tr=null,Kn=null,Nr=Sn(function(Ka){var Ua=go(a,ye,Ka);return Ua.top+=He,Ua.bottom+=He,Zi(Ua,ee,re,!1)?(Ua.top<=re&&Ua.left<=ee&&(tr=Ka,Kn=Ua),!0):!1},at,ut),Mr,Yr,oa=!1;if(Kn){var da=ee-Kn.left<Kn.right-ee,ia=da==yt;Nr=tr+(ia?0:1),Yr=ia?"after":"before",Mr=da?Kn.left:Kn.right}else{!yt&&(Nr==ut||Nr==at)&&Nr++,Yr=Nr==0?"after":Nr==y.text.length?"before":go(a,ye,Nr-(yt?1:0)).bottom+He<=re==yt?"after":"before";var Ca=Fi(a,Pt(te,Nr,Yr),"line",y,ye);Mr=Ca.left,oa=re<Ca.top?-1:re>=Ca.bottom?1:0}return Nr=an(y.text,Nr,1),Ha(te,Nr,Yr,oa,ee-Mr)}function Co(a,y,te,ee,re,ye,He){var at=Sn(function(bn){var tr=re[bn],Kn=tr.level!=1;return Zi(Fi(a,Pt(te,Kn?tr.to:tr.from,Kn?"before":"after"),"line",y,ee),ye,He,!0)},0,re.length-1),ut=re[at];if(at>0){var yt=ut.level!=1,hn=Fi(a,Pt(te,yt?ut.from:ut.to,yt?"after":"before"),"line",y,ee);Zi(hn,ye,He,!0)&&hn.top>He&&(ut=re[at-1])}return ut}function ts(a,y,te,ee,re,ye,He){var at=Li(a,y,ee,He),ut=at.begin,yt=at.end;/\s/.test(y.text.charAt(yt-1))&&yt--;for(var hn=null,bn=null,tr=0;tr<re.length;tr++){var Kn=re[tr];if(!(Kn.from>=yt||Kn.to<=ut)){var Nr=Kn.level!=1,Mr=go(a,ee,Nr?Math.min(yt,Kn.to)-1:Math.max(ut,Kn.from)).right,Yr=Mr<ye?ye-Mr+1e9:Mr-ye;(!hn||bn>Yr)&&(hn=Kn,bn=Yr)}}return hn||(hn=re[re.length-1]),hn.from<ut&&(hn={from:ut,to:hn.to,level:hn.level}),hn.to>yt&&(hn={from:hn.from,to:yt,level:hn.level}),hn}var Si;function Bi(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(Si==null){Si=tt("pre",null,"CodeMirror-line-like");for(var y=0;y<49;++y)Si.appendChild(document.createTextNode("x")),Si.appendChild(tt("br"));Si.appendChild(document.createTextNode("x"))}Fe(a.measure,Si);var te=Si.offsetHeight/50;return te>3&&(a.cachedTextHeight=te),lt(a.measure),te||1}function xo(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var y=tt("span","xxxxxxxxxx"),te=tt("pre",[y],"CodeMirror-line-like");Fe(a.measure,te);var ee=y.getBoundingClientRect(),re=(ee.right-ee.left)/10;return re>2&&(a.cachedCharWidth=re),re||10}function _o(a){for(var y=a.display,te={},ee={},re=y.gutters.clientLeft,ye=y.gutters.firstChild,He=0;ye;ye=ye.nextSibling,++He){var at=a.display.gutterSpecs[He].className;te[at]=ye.offsetLeft+ye.clientLeft+re,ee[at]=ye.clientWidth}return{fixedPos:zs(y),gutterTotalWidth:y.gutters.offsetWidth,gutterLeft:te,gutterWidth:ee,wrapperWidth:y.wrapper.clientWidth}}function zs(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function rl(a){var y=Bi(a.display),te=a.options.lineWrapping,ee=te&&Math.max(5,a.display.scroller.clientWidth/xo(a.display)-3);return function(re){if(wn(a.doc,re))return 0;var ye=0;if(re.widgets)for(var He=0;He<re.widgets.length;He++)re.widgets[He].height&&(ye+=re.widgets[He].height);return te?ye+(Math.ceil(re.text.length/ee)||1)*y:ye+y}}function Gs(a){var y=a.doc,te=rl(a);y.iter(function(ee){var re=te(ee);re!=ee.height&&Ur(ee,re)})}function Ao(a,y,te,ee){var re=a.display;if(!te&&ar(y).getAttribute("cm-not-content")=="true")return null;var ye,He,at=re.lineSpace.getBoundingClientRect();try{ye=y.clientX-at.left,He=y.clientY-at.top}catch(bn){return null}var ut=Pi(a,ye,He),yt;if(ee&&ut.xRel>0&&(yt=_n(a.doc,ut.line).text).length==ut.ch){var hn=nt(yt,yt.length,a.options.tabSize)-yt.length;ut=Pt(ut.line,Math.max(0,Math.round((ye-uo(a.display).left)/xo(a.display))-hn))}return ut}function Fo(a,y){if(y>=a.display.viewTo||(y-=a.display.viewFrom,y<0))return null;for(var te=a.display.view,ee=0;ee<te.length;ee++)if(y-=te[ee].size,y<0)return ee}function hi(a,y,te,ee){y==null&&(y=a.doc.first),te==null&&(te=a.doc.first+a.doc.size),ee||(ee=0);var re=a.display;if(ee&&te<re.viewTo&&(re.updateLineNumbers==null||re.updateLineNumbers>y)&&(re.updateLineNumbers=y),a.curOp.viewChanged=!0,y>=re.viewTo)Gr&&Mn(a.doc,y)<re.viewTo&&To(a);else if(te<=re.viewFrom)Gr&&Tn(a.doc,te+ee)>re.viewFrom?To(a):(re.viewFrom+=ee,re.viewTo+=ee);else if(y<=re.viewFrom&&te>=re.viewTo)To(a);else if(y<=re.viewFrom){var ye=qs(a,te,te+ee,1);ye?(re.view=re.view.slice(ye.index),re.viewFrom=ye.lineN,re.viewTo+=ee):To(a)}else if(te>=re.viewTo){var He=qs(a,y,y,-1);He?(re.view=re.view.slice(0,He.index),re.viewTo=He.lineN):To(a)}else{var at=qs(a,y,y,-1),ut=qs(a,te,te+ee,1);at&&ut?(re.view=re.view.slice(0,at.index).concat(Ba(a,at.lineN,ut.lineN)).concat(re.view.slice(ut.index)),re.viewTo+=ee):To(a)}var yt=re.externalMeasured;yt&&(te<yt.lineN?yt.lineN+=ee:y<yt.lineN+yt.size&&(re.externalMeasured=null))}function jo(a,y,te){a.curOp.viewChanged=!0;var ee=a.display,re=a.display.externalMeasured;if(re&&y>=re.lineN&&y<re.lineN+re.size&&(ee.externalMeasured=null),!(y<ee.viewFrom||y>=ee.viewTo)){var ye=ee.view[Fo(a,y)];if(ye.node!=null){var He=ye.changes||(ye.changes=[]);Be(He,te)==-1&&He.push(te)}}}function To(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function qs(a,y,te,ee){var re=Fo(a,y),ye,He=a.display.view;if(!Gr||te==a.doc.first+a.doc.size)return{index:re,lineN:te};for(var at=a.display.viewFrom,ut=0;ut<re;ut++)at+=He[ut].size;if(at!=y){if(ee>0){if(re==He.length-1)return null;ye=at+He[re].size-y,re++}else ye=at-y;y+=ye,te+=ye}for(;Mn(a.doc,te)!=te;){if(re==(ee<0?0:He.length-1))return null;te+=ee*He[re-(ee<0?1:0)].size,re+=ee}return{index:re,lineN:te}}function fl(a,y,te){var ee=a.display,re=ee.view;re.length==0||y>=ee.viewTo||te<=ee.viewFrom?(ee.view=Ba(a,y,te),ee.viewFrom=y):(ee.viewFrom>y?ee.view=Ba(a,y,ee.viewFrom).concat(ee.view):ee.viewFrom<y&&(ee.view=ee.view.slice(Fo(a,y))),ee.viewFrom=y,ee.viewTo<te?ee.view=ee.view.concat(Ba(a,ee.viewTo,te)):ee.viewTo>te&&(ee.view=ee.view.slice(0,Fo(a,te)))),ee.viewTo=te}function pl(a){for(var y=a.display.view,te=0,ee=0;ee<y.length;ee++){var re=y[ee];!re.hidden&&(!re.node||re.changes)&&++te}return te}function ys(a){a.display.input.showSelection(a.display.input.prepareSelection())}function al(a,y){y===void 0&&(y=!0);for(var te=a.doc,ee={},re=ee.cursors=document.createDocumentFragment(),ye=ee.selection=document.createDocumentFragment(),He=0;He<te.sel.ranges.length;He++)if(!(!y&&He==te.sel.primIndex)){var at=te.sel.ranges[He];if(!(at.from().line>=a.display.viewTo||at.to().line<a.display.viewFrom)){var ut=at.empty();(ut||a.options.showCursorWhenSelecting)&&il(a,at.head,re),ut||Ws(a,at,ye)}}return ee}function il(a,y,te){var ee=Fi(a,y,"div",null,null,!a.options.singleCursorHeightPerLine),re=te.appendChild(tt("div","\xA0","CodeMirror-cursor"));if(re.style.left=ee.left+"px",re.style.top=ee.top+"px",re.style.height=Math.max(0,ee.bottom-ee.top)*a.options.cursorHeight+"px",ee.other){var ye=te.appendChild(tt("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));ye.style.display="",ye.style.left=ee.other.left+"px",ye.style.top=ee.other.top+"px",ye.style.height=(ee.other.bottom-ee.other.top)*.85+"px"}}function gs(a,y){return a.top-y.top||a.left-y.left}function Ws(a,y,te){var ee=a.display,re=a.doc,ye=document.createDocumentFragment(),He=uo(a.display),at=He.left,ut=Math.max(ee.sizerWidth,ao(a)-ee.sizer.offsetLeft)-He.right,yt=re.direction=="ltr";function hn(ia,Ca,Ka,Ua){Ca<0&&(Ca=0),Ca=Math.round(Ca),Ua=Math.round(Ua),ye.appendChild(tt("div",null,"CodeMirror-selected","position: absolute; left: "+ia+`px;
top: `+Ca+"px; width: "+(Ka==null?ut-ia:Ka)+`px;
height: `+(Ua-Ca)+"px"))}function bn(ia,Ca,Ka){var Ua=_n(re,ia),si=Ua.text.length,Gi,Oo;function $i(oo,cs){return Qi(a,Pt(ia,oo),"div",Ua,cs)}function bs(oo,cs,Go){var so=Mi(a,Ua,null,oo),lo=cs=="ltr"==(Go=="after")?"left":"right",ro=Go=="after"?so.begin:so.end-(/\s/.test(Ua.text.charAt(so.end-1))?2:1);return $i(ro,lo)[lo]}var us=fn(Ua,re.direction);return gt(us,Ca||0,Ka==null?si:Ka,function(oo,cs,Go,so){var lo=Go=="ltr",ro=$i(oo,lo?"left":"right"),ds=$i(cs-1,lo?"right":"left"),Hl=Ca==null&&oo==0,Sl=Ka==null&&cs==si,Wo=so==0,ae=!us||so==us.length-1;if(ds.top-ro.top<=3){var se=(yt?Hl:Sl)&&Wo,ve=(yt?Sl:Hl)&&ae,_e=se?at:(lo?ro:ds).left,it=ve?ut:(lo?ds:ro).right;hn(_e,ro.top,it-_e,ro.bottom)}else{var st,pt,xt,en;lo?(st=yt&&Hl&&Wo?at:ro.left,pt=yt?ut:bs(oo,Go,"before"),xt=yt?at:bs(cs,Go,"after"),en=yt&&Sl&&ae?ut:ds.right):(st=yt?bs(oo,Go,"before"):at,pt=!yt&&Hl&&Wo?ut:ro.right,xt=!yt&&Sl&&ae?at:ds.left,en=yt?bs(cs,Go,"after"):ut),hn(st,ro.top,pt-st,ro.bottom),ro.bottom<ds.top&&hn(at,ro.bottom,null,ds.top),hn(xt,ds.top,en-xt,ds.bottom)}(!Gi||gs(ro,Gi)<0)&&(Gi=ro),gs(ds,Gi)<0&&(Gi=ds),(!Oo||gs(ro,Oo)<0)&&(Oo=ro),gs(ds,Oo)<0&&(Oo=ds)}),{start:Gi,end:Oo}}var tr=y.from(),Kn=y.to();if(tr.line==Kn.line)bn(tr.line,tr.ch,Kn.ch);else{var Nr=_n(re,tr.line),Mr=_n(re,Kn.line),Yr=It(Nr)==It(Mr),oa=bn(tr.line,tr.ch,Yr?Nr.text.length+1:null).end,da=bn(Kn.line,Yr?0:null,Kn.ch).start;Yr&&(oa.top<da.top-2?(hn(oa.right,oa.top,null,oa.bottom),hn(at,da.top,da.left,da.bottom)):hn(oa.right,oa.top,da.left-oa.right,oa.bottom)),oa.bottom<da.top&&hn(at,oa.bottom,null,da.top)}te.appendChild(ye)}function Ds(a){if(a.state.focused){var y=a.display;clearInterval(y.blinker);var te=!0;y.cursorDiv.style.visibility="",a.options.cursorBlinkRate>0?y.blinker=setInterval(function(){a.hasFocus()||Ls(a),y.cursorDiv.style.visibility=(te=!te)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(y.cursorDiv.style.visibility="hidden")}}function Os(a){a.state.focused||(a.display.input.focus(),Po(a))}function $s(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,Ls(a))},100)}function Po(a,y){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||(Rt(a,"focus",a,y),a.state.focused=!0,rt(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),xe&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Ds(a))}function Ls(a,y){a.state.delayingBlurEvent||(a.state.focused&&(Rt(a,"blur",a,y),a.state.focused=!1,Ye(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function _s(a){for(var y=a.display,te=y.lineDiv.offsetTop,ee=0;ee<y.view.length;ee++){var re=y.view[ee],ye=a.options.lineWrapping,He=void 0,at=0;if(!re.hidden){if(ge&&oe<8){var ut=re.node.offsetTop+re.node.offsetHeight;He=ut-te,te=ut}else{var yt=re.node.getBoundingClientRect();He=yt.bottom-yt.top,!ye&&re.text.firstChild&&(at=re.text.firstChild.getBoundingClientRect().right-yt.left-1)}var hn=re.line.height-He;if((hn>.005||hn<-.005)&&(Ur(re.line,He),Zs(re.line),re.rest))for(var bn=0;bn<re.rest.length;bn++)Zs(re.rest[bn]);if(at>a.display.sizerWidth){var tr=Math.ceil(at/xo(a.display));tr>a.display.maxLineLength&&(a.display.maxLineLength=tr,a.display.maxLine=re.line,a.display.maxLineChanged=!0)}}}}function Zs(a){if(a.widgets)for(var y=0;y<a.widgets.length;++y){var te=a.widgets[y],ee=te.node.parentNode;ee&&(te.height=ee.offsetHeight)}}function Ss(a,y,te){var ee=te&&te.top!=null?Math.max(0,te.top):a.scroller.scrollTop;ee=Math.floor(ee-Ga(a));var re=te&&te.bottom!=null?te.bottom:ee+a.wrapper.clientHeight,ye=Qt(y,ee),He=Qt(y,re);if(te&&te.ensure){var at=te.ensure.from.line,ut=te.ensure.to.line;at<ye?(ye=at,He=Qt(y,nr(_n(y,at))+a.wrapper.clientHeight)):Math.min(ut,y.lastLine())>=He&&(ye=Qt(y,nr(_n(y,ut))-a.wrapper.clientHeight),He=ut)}return{from:ye,to:Math.max(He,ye+1)}}function js(a,y){if(!vt(a,"scrollCursorIntoView")){var te=a.display,ee=te.sizer.getBoundingClientRect(),re=null;if(y.top+ee.top<0?re=!0:y.bottom+ee.top>(window.innerHeight||document.documentElement.clientHeight)&&(re=!1),re!=null&&!ct){var ye=tt("div","\u200B",null,`position: absolute;
top: `+(y.top-te.viewOffset-Ga(a.display))+`px;
height: `+(y.bottom-y.top+ti(a)+te.barHeight)+`px;
left: `+y.left+"px; width: "+Math.max(2,y.right-y.left)+"px;");a.display.lineSpace.appendChild(ye),ye.scrollIntoView(re),a.display.lineSpace.removeChild(ye)}}}function el(a,y,te,ee){ee==null&&(ee=0);var re;!a.options.lineWrapping&&y==te&&(y=y.ch?Pt(y.line,y.sticky=="before"?y.ch-1:y.ch,"after"):y,te=y.sticky=="before"?Pt(y.line,y.ch+1,"before"):y);for(var ye=0;ye<5;ye++){var He=!1,at=Fi(a,y),ut=!te||te==y?at:Fi(a,te);re={left:Math.min(at.left,ut.left),top:Math.min(at.top,ut.top)-ee,right:Math.max(at.left,ut.left),bottom:Math.max(at.bottom,ut.bottom)+ee};var yt=Vs(a,re),hn=a.doc.scrollTop,bn=a.doc.scrollLeft;if(yt.scrollTop!=null&&(Bo(a,yt.scrollTop),Math.abs(a.doc.scrollTop-hn)>1&&(He=!0)),yt.scrollLeft!=null&&(wo(a,yt.scrollLeft),Math.abs(a.doc.scrollLeft-bn)>1&&(He=!0)),!He)break}return re}function Fs(a,y){var te=Vs(a,y);te.scrollTop!=null&&Bo(a,te.scrollTop),te.scrollLeft!=null&&wo(a,te.scrollLeft)}function Vs(a,y){var te=a.display,ee=Bi(a.display);y.top<0&&(y.top=0);var re=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:te.scroller.scrollTop,ye=co(a),He={};y.bottom-y.top>ye&&(y.bottom=y.top+ye);var at=a.doc.height+ai(te),ut=y.top<ee,yt=y.bottom>at-ee;if(y.top<re)He.scrollTop=ut?0:y.top;else if(y.bottom>re+ye){var hn=Math.min(y.top,(yt?at:y.bottom)-ye);hn!=re&&(He.scrollTop=hn)}var bn=a.options.fixedGutter?0:te.gutters.offsetWidth,tr=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:te.scroller.scrollLeft-bn,Kn=ao(a)-te.gutters.offsetWidth,Nr=y.right-y.left>Kn;return Nr&&(y.right=y.left+Kn),y.left<10?He.scrollLeft=0:y.left<tr?He.scrollLeft=Math.max(0,y.left+bn-(Nr?0:10)):y.right>Kn+tr-3&&(He.scrollLeft=y.right+(Nr?0:10)-Kn),He}function ol(a,y){y!=null&&(bo(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+y)}function ns(a){bo(a);var y=a.getCursor();a.curOp.scrollToPos={from:y,to:y,margin:a.options.cursorScrollMargin}}function Yo(a,y,te){(y!=null||te!=null)&&bo(a),y!=null&&(a.curOp.scrollLeft=y),te!=null&&(a.curOp.scrollTop=te)}function Ps(a,y){bo(a),a.curOp.scrollToPos=y}function bo(a){var y=a.curOp.scrollToPos;if(y){a.curOp.scrollToPos=null;var te=ei(a,y.from),ee=ei(a,y.to);rs(a,te,ee,y.margin)}}function rs(a,y,te,ee){var re=Vs(a,{left:Math.min(y.left,te.left),top:Math.min(y.top,te.top)-ee,right:Math.max(y.right,te.right),bottom:Math.max(y.bottom,te.bottom)+ee});Yo(a,re.scrollLeft,re.scrollTop)}function Bo(a,y){Math.abs(a.doc.scrollTop-y)<2||(b||Ne(a,{top:y}),fo(a,y,!0),b&&Ne(a),Ks(a,100))}function fo(a,y,te){y=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,y)),!(a.display.scroller.scrollTop==y&&!te)&&(a.doc.scrollTop=y,a.display.scrollbars.setScrollTop(y),a.display.scroller.scrollTop!=y&&(a.display.scroller.scrollTop=y))}function wo(a,y,te,ee){y=Math.max(0,Math.min(y,a.display.scroller.scrollWidth-a.display.scroller.clientWidth)),!((te?y==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-y)<2)&&!ee)&&(a.doc.scrollLeft=y,Dt(a),a.display.scroller.scrollLeft!=y&&(a.display.scroller.scrollLeft=y),a.display.scrollbars.setScrollLeft(y))}function Qa(a){var y=a.display,te=y.gutters.offsetWidth,ee=Math.round(a.doc.height+ai(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?te:0,docHeight:ee,scrollHeight:ee+ti(a)+y.barHeight,nativeBarWidth:y.nativeBarWidth,gutterWidth:te}}var Ya=function(a,y,te){this.cm=te;var ee=this.vert=tt("div",[tt("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),re=this.horiz=tt("div",[tt("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");ee.tabIndex=re.tabIndex=-1,a(ee),a(re),mt(ee,"scroll",function(){ee.clientHeight&&y(ee.scrollTop,"vertical")}),mt(re,"scroll",function(){re.clientWidth&&y(re.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,ge&&oe<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Ya.prototype.update=function(a){var y=a.scrollWidth>a.clientWidth+1,te=a.scrollHeight>a.clientHeight+1,ee=a.nativeBarWidth;if(te){this.vert.style.display="block",this.vert.style.bottom=y?ee+"px":"0";var re=a.viewHeight-(y?ee:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+re)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(y){this.horiz.style.display="block",this.horiz.style.right=te?ee+"px":"0",this.horiz.style.left=a.barLeft+"px";var ye=a.viewWidth-a.barLeft-(te?ee:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+ye)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(ee==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:te?ee:0,bottom:y?ee:0}},Ya.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Ya.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Ya.prototype.zeroWidthHack=function(){var a=ze&&!Ae?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new je,this.disableVert=new je},Ya.prototype.enableZeroWidthBar=function(a,y,te){a.style.pointerEvents="auto";function ee(){var re=a.getBoundingClientRect(),ye=te=="vert"?document.elementFromPoint(re.right-1,(re.top+re.bottom)/2):document.elementFromPoint((re.right+re.left)/2,re.bottom-1);ye!=a?a.style.pointerEvents="none":y.set(1e3,ee)}y.set(1e3,ee)},Ya.prototype.clear=function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)};var _i=function(){};_i.prototype.update=function(){return{bottom:0,right:0}},_i.prototype.setScrollLeft=function(){},_i.prototype.setScrollTop=function(){},_i.prototype.clear=function(){};function Vi(a,y){y||(y=Qa(a));var te=a.display.barWidth,ee=a.display.barHeight;ji(a,y);for(var re=0;re<4&&te!=a.display.barWidth||ee!=a.display.barHeight;re++)te!=a.display.barWidth&&a.options.lineWrapping&&_s(a),ji(a,Qa(a)),te=a.display.barWidth,ee=a.display.barHeight}function ji(a,y){var te=a.display,ee=te.scrollbars.update(y);te.sizer.style.paddingRight=(te.barWidth=ee.right)+"px",te.sizer.style.paddingBottom=(te.barHeight=ee.bottom)+"px",te.heightForcer.style.borderBottom=ee.bottom+"px solid transparent",ee.right&&ee.bottom?(te.scrollbarFiller.style.display="block",te.scrollbarFiller.style.height=ee.bottom+"px",te.scrollbarFiller.style.width=ee.right+"px"):te.scrollbarFiller.style.display="",ee.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(te.gutterFiller.style.display="block",te.gutterFiller.style.height=ee.bottom+"px",te.gutterFiller.style.width=y.gutterWidth+"px"):te.gutterFiller.style.display=""}var Io={native:Ya,null:_i};function Mo(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&Ye(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new Io[a.options.scrollbarStyle](function(y){a.display.wrapper.insertBefore(y,a.display.scrollbarFiller),mt(y,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),y.setAttribute("cm-not-content","true")},function(y,te){te=="horizontal"?wo(a,y):Bo(a,y)},a),a.display.scrollbars.addClass&&rt(a.display.wrapper,a.display.scrollbars.addClass)}var Uo=0;function No(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:++Uo},Ui(a.curOp)}function Xo(a){var y=a.curOp;y&&So(y,function(te){for(var ee=0;ee<te.ops.length;ee++)te.ops[ee].cm.curOp=null;hl(te)})}function hl(a){for(var y=a.ops,te=0;te<y.length;te++)Il(y[te]);for(var ee=0;ee<y.length;ee++)Ol(y[ee]);for(var re=0;re<y.length;re++)Wl(y[re]);for(var ye=0;ye<y.length;ye++)Zl(y[ye]);for(var He=0;He<y.length;He++)Ll(y[He])}function Il(a){var y=a.cm,te=y.display;sl(y),a.updateMaxLine&&br(y),a.mustUpdate=a.viewChanged||a.forceUpdate||a.scrollTop!=null||a.scrollToPos&&(a.scrollToPos.from.line<te.viewFrom||a.scrollToPos.to.line>=te.viewTo)||te.maxLineChanged&&y.options.lineWrapping,a.update=a.mustUpdate&&new Cs(y,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function Ol(a){a.updatedDisplay=a.mustUpdate&&ie(a.cm,a.update)}function Wl(a){var y=a.cm,te=y.display;a.updatedDisplay&&_s(y),a.barMeasure=Qa(y),te.maxLineChanged&&!y.options.lineWrapping&&(a.adjustWidthTo=Us(y,te.maxLine,te.maxLine.text.length).left+3,y.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(te.scroller.clientWidth,te.sizer.offsetLeft+a.adjustWidthTo+ti(y)+y.display.barWidth),a.maxScrollLeft=Math.max(0,te.sizer.offsetLeft+a.adjustWidthTo-ao(y))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=te.input.prepareSelection())}function Zl(a){var y=a.cm;a.adjustWidthTo!=null&&(y.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft<y.doc.scrollLeft&&wo(y,Math.min(y.display.scroller.scrollLeft,a.maxScrollLeft),!0),y.display.maxLineChanged=!1);var te=a.focus&&a.focus==et();a.preparedSelection&&y.display.input.showSelection(a.preparedSelection,te),(a.updatedDisplay||a.startHeight!=y.doc.height)&&Vi(y,a.barMeasure),a.updatedDisplay&&ft(y,a.barMeasure),a.selectionChanged&&Ds(y),y.state.focused&&a.updateInput&&y.display.input.reset(a.typing),te&&Os(a.cm)}function Ll(a){var y=a.cm,te=y.display,ee=y.doc;if(a.updatedDisplay&&Ce(y,a.update),te.wheelStartX!=null&&(a.scrollTop!=null||a.scrollLeft!=null||a.scrollToPos)&&(te.wheelStartX=te.wheelStartY=null),a.scrollTop!=null&&fo(y,a.scrollTop,a.forceScroll),a.scrollLeft!=null&&wo(y,a.scrollLeft,!0,!0),a.scrollToPos){var re=el(y,ln(ee,a.scrollToPos.from),ln(ee,a.scrollToPos.to),a.scrollToPos.margin);js(y,re)}var ye=a.maybeHiddenMarkers,He=a.maybeUnhiddenMarkers;if(ye)for(var at=0;at<ye.length;++at)ye[at].lines.length||Rt(ye[at],"hide");if(He)for(var ut=0;ut<He.length;++ut)He[ut].lines.length&&Rt(He[ut],"unhide");te.wrapper.offsetHeight&&(ee.scrollTop=y.display.scroller.scrollTop),a.changeObjs&&Rt(y,"changes",y,a.changeObjs),a.update&&a.update.finish()}function ko(a,y){if(a.curOp)return y();No(a);try{return y()}finally{Xo(a)}}function Ji(a,y){return function(){if(a.curOp)return y.apply(a,arguments);No(a);try{return y.apply(a,arguments)}finally{Xo(a)}}}function Eo(a){return function(){if(this.curOp)return a.apply(this,arguments);No(this);try{return a.apply(this,arguments)}finally{Xo(this)}}}function qi(a){return function(){var y=this.cm;if(!y||y.curOp)return a.apply(this,arguments);No(y);try{return a.apply(this,arguments)}finally{Xo(y)}}}function Ks(a,y){a.doc.highlightFrontier<a.display.viewTo&&a.state.highlight.set(y,St(ml,a))}function ml(a){var y=a.doc;if(!(y.highlightFrontier>=a.display.viewTo)){var te=+new Date+a.options.workTime,ee=Kr(a,y.highlightFrontier),re=[];y.iter(ee.line,Math.min(y.first+y.size,a.display.viewTo+500),function(ye){if(ee.line>=a.display.viewFrom){var He=ye.styles,at=ye.text.length>a.options.maxHighlightLength?Pr(y.mode,ee.state):null,ut=_t(a,ye,ee,!0);at&&(ee.state=at),ye.styles=ut.styles;var yt=ye.styleClasses,hn=ut.classes;hn?ye.styleClasses=hn:yt&&(ye.styleClasses=null);for(var bn=!He||He.length!=ye.styles.length||yt!=hn&&(!yt||!hn||yt.bgClass!=hn.bgClass||yt.textClass!=hn.textClass),tr=0;!bn&&tr<He.length;++tr)bn=He[tr]!=ye.styles[tr];bn&&re.push(ee.line),ye.stateAfter=ee.save(),ee.nextLine()}else ye.text.length<=a.options.maxHighlightLength&&qr(a,ye.text,ee),ye.stateAfter=ee.line%5==0?ee.save():null,ee.nextLine();if(+new Date>te)return Ks(a,a.options.workDelay),!0}),y.highlightFrontier=ee.line,y.modeFrontier=Math.max(y.modeFrontier,ee.line),re.length&&ko(a,function(){for(var ye=0;ye<re.length;ye++)jo(a,re[ye],"text")})}}var Cs=function(a,y,te){var ee=a.display;this.viewport=y,this.visible=Ss(ee,a.doc,y),this.editorIsHidden=!ee.wrapper.offsetWidth,this.wrapperHeight=ee.wrapper.clientHeight,this.wrapperWidth=ee.wrapper.clientWidth,this.oldDisplayWidth=ao(a),this.force=te,this.dims=_o(a),this.events=[]};Cs.prototype.signal=function(a,y){At(a,y)&&this.events.push(arguments)},Cs.prototype.finish=function(){for(var a=0;a<this.events.length;a++)Rt.apply(null,this.events[a])};function sl(a){var y=a.display;!y.scrollbarsClipped&&y.scroller.offsetWidth&&(y.nativeBarWidth=y.scroller.offsetWidth-y.scroller.clientWidth,y.heightForcer.style.height=ti(a)+"px",y.sizer.style.marginBottom=-y.nativeBarWidth+"px",y.sizer.style.borderRightWidth=ti(a)+"px",y.scrollbarsClipped=!0)}function Nl(a){if(a.hasFocus())return null;var y=et();if(!y||!Xe(a.display.lineDiv,y))return null;var te={activeElt:y};if(window.getSelection){var ee=window.getSelection();ee.anchorNode&&ee.extend&&Xe(a.display.lineDiv,ee.anchorNode)&&(te.anchorNode=ee.anchorNode,te.anchorOffset=ee.anchorOffset,te.focusNode=ee.focusNode,te.focusOffset=ee.focusOffset)}return te}function jl(a){if(!(!a||!a.activeElt||a.activeElt==et())&&(a.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(a.activeElt.nodeName)&&a.anchorNode&&Xe(document.body,a.anchorNode)&&Xe(document.body,a.focusNode))){var y=window.getSelection(),te=document.createRange();te.setEnd(a.anchorNode,a.anchorOffset),te.collapse(!1),y.removeAllRanges(),y.addRange(te),y.extend(a.focusNode,a.focusOffset)}}function ie(a,y){var te=a.display,ee=a.doc;if(y.editorIsHidden)return To(a),!1;if(!y.force&&y.visible.from>=te.viewFrom&&y.visible.to<=te.viewTo&&(te.updateLineNumbers==null||te.updateLineNumbers>=te.viewTo)&&te.renderedView==te.view&&pl(a)==0)return!1;Xt(a)&&(To(a),y.dims=_o(a));var re=ee.first+ee.size,ye=Math.max(y.visible.from-a.options.viewportMargin,ee.first),He=Math.min(re,y.visible.to+a.options.viewportMargin);te.viewFrom<ye&&ye-te.viewFrom<20&&(ye=Math.max(ee.first,te.viewFrom)),te.viewTo>He&&te.viewTo-He<20&&(He=Math.min(re,te.viewTo)),Gr&&(ye=Mn(a.doc,ye),He=Tn(a.doc,He));var at=ye!=te.viewFrom||He!=te.viewTo||te.lastWrapHeight!=y.wrapperHeight||te.lastWrapWidth!=y.wrapperWidth;fl(a,ye,He),te.viewOffset=nr(_n(a.doc,te.viewFrom)),a.display.mover.style.top=te.viewOffset+"px";var ut=pl(a);if(!at&&ut==0&&!y.force&&te.renderedView==te.view&&(te.updateLineNumbers==null||te.updateLineNumbers>=te.viewTo))return!1;var yt=Nl(a);return ut>4&&(te.lineDiv.style.display="none"),We(a,te.updateLineNumbers,y.dims),ut>4&&(te.lineDiv.style.display=""),te.renderedView=te.view,jl(yt),lt(te.cursorDiv),lt(te.selectionDiv),te.gutters.style.height=te.sizer.style.minHeight=0,at&&(te.lastWrapHeight=y.wrapperHeight,te.lastWrapWidth=y.wrapperWidth,Ks(a,400)),te.updateLineNumbers=null,!0}function Ce(a,y){for(var te=y.viewport,ee=!0;;ee=!1){if(!ee||!a.options.lineWrapping||y.oldDisplayWidth==ao(a)){if(te&&te.top!=null&&(te={top:Math.min(a.doc.height+ai(a.display)-co(a),te.top)}),y.visible=Ss(a.display,a.doc,te),y.visible.from>=a.display.viewFrom&&y.visible.to<=a.display.viewTo)break}else ee&&(y.visible=Ss(a.display,a.doc,te));if(!ie(a,y))break;_s(a);var re=Qa(a);ys(a),Vi(a,re),ft(a,re),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 Ne(a,y){var te=new Cs(a,y);if(ie(a,te)){_s(a),Ce(a,te);var ee=Qa(a);ys(a),Vi(a,ee),ft(a,ee),te.finish()}}function We(a,y,te){var ee=a.display,re=a.options.lineNumbers,ye=ee.lineDiv,He=ye.firstChild;function at(Nr){var Mr=Nr.nextSibling;return xe&&ze&&a.display.currentWheelTarget==Nr?Nr.style.display="none":Nr.parentNode.removeChild(Nr),Mr}for(var ut=ee.view,yt=ee.viewFrom,hn=0;hn<ut.length;hn++){var bn=ut[hn];if(!bn.hidden)if(!bn.node||bn.node.parentNode!=ye){var tr=Da(a,bn,yt,te);ye.insertBefore(tr,He)}else{for(;He!=bn.node;)He=at(He);var Kn=re&&y!=null&&y<=yt&&bn.lineNumber;bn.changes&&(Be(bn.changes,"gutter")>-1&&(Kn=!1),pi(a,bn,yt,te)),Kn&&(lt(bn.lineNumber),bn.lineNumber.appendChild(document.createTextNode($n(a.options,yt)))),He=bn.node.nextSibling}yt+=bn.size}for(;He;)He=at(He)}function dt(a){var y=a.gutters.offsetWidth;a.sizer.style.marginLeft=y+"px"}function ft(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+ti(a)+"px"}function Dt(a){var y=a.display,te=y.view;if(!(!y.alignWidgets&&(!y.gutters.firstChild||!a.options.fixedGutter))){for(var ee=zs(y)-y.scroller.scrollLeft+a.doc.scrollLeft,re=y.gutters.offsetWidth,ye=ee+"px",He=0;He<te.length;He++)if(!te[He].hidden){a.options.fixedGutter&&(te[He].gutter&&(te[He].gutter.style.left=ye),te[He].gutterBackground&&(te[He].gutterBackground.style.left=ye));var at=te[He].alignable;if(at)for(var ut=0;ut<at.length;ut++)at[ut].style.left=ye}a.options.fixedGutter&&(y.gutters.style.left=ee+re+"px")}}function Xt(a){if(!a.options.lineNumbers)return!1;var y=a.doc,te=$n(a.options,y.first+y.size-1),ee=a.display;if(te.length!=ee.lineNumChars){var re=ee.measure.appendChild(tt("div",[tt("div",te)],"CodeMirror-linenumber CodeMirror-gutter-elt")),ye=re.firstChild.offsetWidth,He=re.offsetWidth-ye;return ee.lineGutter.style.width="",ee.lineNumInnerWidth=Math.max(ye,ee.lineGutter.offsetWidth-He)+1,ee.lineNumWidth=ee.lineNumInnerWidth+He,ee.lineNumChars=ee.lineNumInnerWidth?te.length:-1,ee.lineGutter.style.width=ee.lineNumWidth+"px",dt(a.display),!0}return!1}function Wn(a,y){for(var te=[],ee=!1,re=0;re<a.length;re++){var ye=a[re],He=null;if(typeof ye!="string"&&(He=ye.style,ye=ye.className),ye=="CodeMirror-linenumbers")if(y)ee=!0;else continue;te.push({className:ye,style:He})}return y&&!ee&&te.push({className:"CodeMirror-linenumbers",style:null}),te}function Un(a){var y=a.gutters,te=a.gutterSpecs;lt(y),a.lineGutter=null;for(var ee=0;ee<te.length;++ee){var re=te[ee],ye=re.className,He=re.style,at=y.appendChild(tt("div",null,"CodeMirror-gutter "+ye));He&&(at.style.cssText=He),ye=="CodeMirror-linenumbers"&&(a.lineGutter=at,at.style.width=(a.lineNumWidth||1)+"px")}y.style.display=te.length?"":"none",dt(a)}function En(a){Un(a.display),hi(a),Dt(a)}function rr(a,y,te,ee){var re=this;this.input=te,re.scrollbarFiller=tt("div",null,"CodeMirror-scrollbar-filler"),re.scrollbarFiller.setAttribute("cm-not-content","true"),re.gutterFiller=tt("div",null,"CodeMirror-gutter-filler"),re.gutterFiller.setAttribute("cm-not-content","true"),re.lineDiv=$e("div",null,"CodeMirror-code"),re.selectionDiv=tt("div",null,null,"position: relative; z-index: 1"),re.cursorDiv=tt("div",null,"CodeMirror-cursors"),re.measure=tt("div",null,"CodeMirror-measure"),re.lineMeasure=tt("div",null,"CodeMirror-measure"),re.lineSpace=$e("div",[re.measure,re.lineMeasure,re.selectionDiv,re.cursorDiv,re.lineDiv],null,"position: relative; outline: none");var ye=$e("div",[re.lineSpace],"CodeMirror-lines");re.mover=tt("div",[ye],null,"position: relative"),re.sizer=tt("div",[re.mover],"CodeMirror-sizer"),re.sizerWidth=null,re.heightForcer=tt("div",null,null,"position: absolute; height: "+wt+"px; width: 1px;"),re.gutters=tt("div",null,"CodeMirror-gutters"),re.lineGutter=null,re.scroller=tt("div",[re.sizer,re.heightForcer,re.gutters],"CodeMirror-scroll"),re.scroller.setAttribute("tabIndex","-1"),re.wrapper=tt("div",[re.scrollbarFiller,re.gutterFiller,re.scroller],"CodeMirror"),ge&&oe<8&&(re.gutters.style.zIndex=-1,re.scroller.style.paddingRight=0),!xe&&!(b&&Me)&&(re.scroller.draggable=!0),a&&(a.appendChild?a.appendChild(re.wrapper):a(re.wrapper)),re.viewFrom=re.viewTo=y.first,re.reportedViewFrom=re.reportedViewTo=y.first,re.view=[],re.renderedView=null,re.externalMeasured=null,re.viewOffset=0,re.lastWrapHeight=re.lastWrapWidth=0,re.updateLineNumbers=null,re.nativeBarWidth=re.barHeight=re.barWidth=0,re.scrollbarsClipped=!1,re.lineNumWidth=re.lineNumInnerWidth=re.lineNumChars=null,re.alignWidgets=!1,re.cachedCharWidth=re.cachedTextHeight=re.cachedPaddingH=null,re.maxLine=null,re.maxLineLength=0,re.maxLineChanged=!1,re.wheelDX=re.wheelDY=re.wheelStartX=re.wheelStartY=null,re.shift=!1,re.selForContextMenu=null,re.activeTouch=null,re.gutterSpecs=Wn(ee.gutters,ee.lineNumbers),Un(re),te.init(re)}var Jn=0,kn=null;ge?kn=-.53:b?kn=15:Se?kn=-.7:Ve&&(kn=-1/3);function Oa(a){var y=a.wheelDeltaX,te=a.wheelDeltaY;return y==null&&a.detail&&a.axis==a.HORIZONTAL_AXIS&&(y=a.detail),te==null&&a.detail&&a.axis==a.VERTICAL_AXIS?te=a.detail:te==null&&(te=a.wheelDelta),{x:y,y:te}}function qa(a){var y=Oa(a);return y.x*=kn,y.y*=kn,y}function ci(a,y){var te=Oa(y),ee=te.x,re=te.y,ye=a.display,He=ye.scroller,at=He.scrollWidth>He.clientWidth,ut=He.scrollHeight>He.clientHeight;if(ee&&at||re&&ut){if(re&&ze&&xe){e:for(var yt=y.target,hn=ye.view;yt!=He;yt=yt.parentNode)for(var bn=0;bn<hn.length;bn++)if(hn[bn].node==yt){a.display.currentWheelTarget=yt;break e}}if(ee&&!b&&!he&&kn!=null){re&&ut&&Bo(a,Math.max(0,He.scrollTop+re*kn)),wo(a,Math.max(0,He.scrollLeft+ee*kn)),(!re||re&&ut)&&un(y),ye.wheelStartX=null;return}if(re&&kn!=null){var tr=re*kn,Kn=a.doc.scrollTop,Nr=Kn+ye.wrapper.clientHeight;tr<0?Kn=Math.max(0,Kn+tr-50):Nr=Math.min(a.doc.height,Nr+tr+50),Ne(a,{top:Kn,bottom:Nr})}Jn<20&&(ye.wheelStartX==null?(ye.wheelStartX=He.scrollLeft,ye.wheelStartY=He.scrollTop,ye.wheelDX=ee,ye.wheelDY=re,setTimeout(function(){if(ye.wheelStartX!=null){var Mr=He.scrollLeft-ye.wheelStartX,Yr=He.scrollTop-ye.wheelStartY,oa=Yr&&ye.wheelDY&&Yr/ye.wheelDY||Mr&&ye.wheelDX&&Mr/ye.wheelDX;ye.wheelStartX=ye.wheelStartY=null,oa&&(kn=(kn*Jn+oa)/(Jn+1),++Jn)}},200)):(ye.wheelDX+=ee,ye.wheelDY+=re))}}var na=function(a,y){this.ranges=a,this.primIndex=y};na.prototype.primary=function(){return this.ranges[this.primIndex]},na.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 te=this.ranges[y],ee=a.ranges[y];if(!sr(te.anchor,ee.anchor)||!sr(te.head,ee.head))return!1}return!0},na.prototype.deepCopy=function(){for(var a=[],y=0;y<this.ranges.length;y++)a[y]=new ba(Kt(this.ranges[y].anchor),Kt(this.ranges[y].head));return new na(a,this.primIndex)},na.prototype.somethingSelected=function(){for(var a=0;a<this.ranges.length;a++)if(!this.ranges[a].empty())return!0;return!1},na.prototype.contains=function(a,y){y||(y=a);for(var te=0;te<this.ranges.length;te++){var ee=this.ranges[te];if(on(y,ee.from())>=0&&on(a,ee.to())<=0)return te}return-1};var ba=function(a,y){this.anchor=a,this.head=y};ba.prototype.from=function(){return Cn(this.anchor,this.head)},ba.prototype.to=function(){return be(this.anchor,this.head)},ba.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Na(a,y,te){var ee=a&&a.options.selectionsMayTouch,re=y[te];y.sort(function(tr,Kn){return on(tr.from(),Kn.from())}),te=Be(y,re);for(var ye=1;ye<y.length;ye++){var He=y[ye],at=y[ye-1],ut=on(at.to(),He.from());if(ee&&!He.empty()?ut>0:ut>=0){var yt=Cn(at.from(),He.from()),hn=be(at.to(),He.to()),bn=at.empty()?He.from()==He.head:at.from()==at.head;ye<=te&&--te,y.splice(--ye,2,new ba(bn?hn:yt,bn?yt:hn))}}return new na(y,te)}function Ai(a,y){return new na([new ba(a,y||a)],0)}function Ci(a){return a.text?Pt(a.from.line+a.text.length-1,Bt(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function Vr(a,y){if(on(a,y.from)<0)return a;if(on(a,y.to)<=0)return Ci(y);var te=a.line+y.text.length-(y.to.line-y.from.line)-1,ee=a.ch;return a.line==y.to.line&&(ee+=Ci(y).ch-y.to.ch),Pt(te,ee)}function di(a,y){for(var te=[],ee=0;ee<a.sel.ranges.length;ee++){var re=a.sel.ranges[ee];te.push(new ba(Vr(re.anchor,y),Vr(re.head,y)))}return Na(a.cm,te,a.sel.primIndex)}function Yi(a,y,te){return a.line==y.line?Pt(te.line,a.ch-y.ch+te.ch):Pt(te.line+(a.line-y.line),a.ch)}function Ti(a,y,te){for(var ee=[],re=Pt(a.first,0),ye=re,He=0;He<y.length;He++){var at=y[He],ut=Yi(at.from,re,ye),yt=Yi(Ci(at),re,ye);if(re=at.to,ye=yt,te=="around"){var hn=a.sel.ranges[He],bn=on(hn.head,hn.anchor)<0;ee[He]=new ba(bn?yt:ut,bn?ut:yt)}else ee[He]=new ba(ut,ut)}return new na(ee,a.sel.primIndex)}function ki(a){a.doc.mode=or(a.options,a.doc.modeOption),yo(a)}function yo(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,Ks(a,100),a.state.modeGen++,a.curOp&&hi(a)}function Ri(a,y){return y.from.ch==0&&y.to.ch==0&&Bt(y.text)==""&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function Wa(a,y,te,ee){function re(da){return te?te[da]:null}function ye(da,ia,Ca){Hr(da,ia,Ca,ee),gi(da,"change",da,y)}function He(da,ia){for(var Ca=[],Ka=da;Ka<ia;++Ka)Ca.push(new Tr(yt[Ka],re(Ka),ee));return Ca}var at=y.from,ut=y.to,yt=y.text,hn=_n(a,at.line),bn=_n(a,ut.line),tr=Bt(yt),Kn=re(yt.length-1),Nr=ut.line-at.line;if(y.full)a.insert(0,He(0,yt.length)),a.remove(yt.length,a.size-yt.length);else if(Ri(a,y)){var Mr=He(0,yt.length-1);ye(bn,bn.text,Kn),Nr&&a.remove(at.line,Nr),Mr.length&&a.insert(at.line,Mr)}else if(hn==bn)if(yt.length==1)ye(hn,hn.text.slice(0,at.ch)+tr+hn.text.slice(ut.ch),Kn);else{var Yr=He(1,yt.length-1);Yr.push(new Tr(tr+hn.text.slice(ut.ch),Kn,ee)),ye(hn,hn.text.slice(0,at.ch)+yt[0],re(0)),a.insert(at.line+1,Yr)}else if(yt.length==1)ye(hn,hn.text.slice(0,at.ch)+yt[0]+bn.text.slice(ut.ch),re(0)),a.remove(at.line+1,Nr);else{ye(hn,hn.text.slice(0,at.ch)+yt[0],re(0)),ye(bn,tr+bn.text.slice(ut.ch),Kn);var oa=He(1,yt.length-1);Nr>1&&a.remove(at.line+1,Nr-1),a.insert(at.line+1,oa)}gi(a,"change",a,y)}function ja(a,y,te){function ee(re,ye,He){if(re.linked)for(var at=0;at<re.linked.length;++at){var ut=re.linked[at];if(ut.doc!=ye){var yt=He&&ut.sharedHist;te&&!yt||(y(ut.doc,yt),ee(ut.doc,re,yt))}}}ee(a,null,!0)}function ii(a,y){if(y.cm)throw new Error("This document is already in use.");a.doc=y,y.cm=a,Gs(a),ki(a),zi(a),a.options.lineWrapping||br(a),a.options.mode=y.modeOption,hi(a)}function zi(a){(a.doc.direction=="rtl"?rt:Ye)(a.display.lineDiv,"CodeMirror-rtl")}function no(a){ko(a,function(){zi(a),hi(a)})}function Ro(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 Ho(a,y){var te={from:Kt(y.from),to:Ci(y),text:Sr(a,y.from,y.to)};return ll(a,te,y.from.line,y.to.line+1),ja(a,function(ee){return ll(ee,te,y.from.line,y.to.line+1)},!0),te}function Zn(a){for(;a.length;){var y=Bt(a);if(y.ranges)a.pop();else break}}function zo(a,y){if(y)return Zn(a.done),Bt(a.done);if(a.done.length&&!Bt(a.done).ranges)return Bt(a.done);if(a.done.length>1&&!a.done[a.done.length-2].ranges)return a.done.pop(),Bt(a.done)}function as(a,y,te,ee){var re=a.history;re.undone.length=0;var ye=+new Date,He,at;if((re.lastOp==ee||re.lastOrigin==y.origin&&y.origin&&(y.origin.charAt(0)=="+"&&re.lastModTime>ye-(a.cm?a.cm.options.historyEventDelay:500)||y.origin.charAt(0)=="*"))&&(He=zo(re,re.lastOp==ee)))at=Bt(He.changes),on(y.from,y.to)==0&&on(y.from,at.to)==0?at.to=Ci(y):He.changes.push(Ho(a,y));else{var ut=Bt(re.done);for((!ut||!ut.ranges)&&Qo(a.sel,re.done),He={changes:[Ho(a,y)],generation:re.generation},re.done.push(He);re.done.length>re.undoDepth;)re.done.shift(),re.done[0].ranges||re.done.shift()}re.done.push(te),re.generation=++re.maxGeneration,re.lastModTime=re.lastSelTime=ye,re.lastOp=re.lastSelOp=ee,re.lastOrigin=re.lastSelOrigin=y.origin,at||Rt(a,"historyAdded")}function Vn(a,y,te,ee){var re=y.charAt(0);return re=="*"||re=="+"&&te.ranges.length==ee.ranges.length&&te.somethingSelected()==ee.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function Vo(a,y,te,ee){var re=a.history,ye=ee&&ee.origin;te==re.lastSelOp||ye&&re.lastSelOrigin==ye&&(re.lastModTime==re.lastSelTime&&re.lastOrigin==ye||Vn(a,ye,Bt(re.done),y))?re.done[re.done.length-1]=y:Qo(y,re.done),re.lastSelTime=+new Date,re.lastSelOrigin=ye,re.lastSelOp=te,ee&&ee.clearRedo!==!1&&Zn(re.undone)}function Qo(a,y){var te=Bt(y);te&&te.ranges&&te.equals(a)||y.push(a)}function ll(a,y,te,ee){var re=y["spans_"+a.id],ye=0;a.iter(Math.max(a.first,te),Math.min(a.first+a.size,ee),function(He){He.markedSpans&&((re||(re=y["spans_"+a.id]={}))[ye]=He.markedSpans),++ye})}function gl(a){if(!a)return null;for(var y,te=0;te<a.length;++te)a[te].marker.explicitlyCleared?y||(y=a.slice(0,te)):y&&y.push(a[te]);return y?y.length?y:null:a}function po(a,y){var te=y["spans_"+a.id];if(!te)return null;for(var ee=[],re=0;re<y.text.length;++re)ee.push(gl(te[re]));return ee}function Jo(a,y){var te=po(a,y),ee=Xa(a,y);if(!te)return ee;if(!ee)return te;for(var re=0;re<te.length;++re){var ye=te[re],He=ee[re];if(ye&&He)e:for(var at=0;at<He.length;++at){for(var ut=He[at],yt=0;yt<ye.length;++yt)if(ye[yt].marker==ut.marker)continue e;ye.push(ut)}else He&&(te[re]=He)}return te}function Do(a,y,te){for(var ee=[],re=0;re<a.length;++re){var ye=a[re];if(ye.ranges){ee.push(te?na.prototype.deepCopy.call(ye):ye);continue}var He=ye.changes,at=[];ee.push({changes:at});for(var ut=0;ut<He.length;++ut){var yt=He[ut],hn=void 0;if(at.push({from:yt.from,to:yt.to,text:yt.text}),y)for(var bn in yt)(hn=bn.match(/^spans_(\d+)$/))&&Be(y,Number(hn[1]))>-1&&(Bt(at)[bn]=yt[bn],delete yt[bn])}}return ee}function xs(a,y,te,ee){if(ee){var re=a.anchor;if(te){var ye=on(y,re)<0;ye!=on(te,re)<0?(re=y,y=te):ye!=on(y,te)<0&&(y=te)}return new ba(re,y)}else return new ba(te||y,y)}function As(a,y,te,ee,re){re==null&&(re=a.cm&&(a.cm.display.shift||a.extend)),z(a,new na([xs(a.sel.primary(),y,te,re)],0),ee)}function Ts(a,y,te){for(var ee=[],re=a.cm&&(a.cm.display.shift||a.extend),ye=0;ye<a.sel.ranges.length;ye++)ee[ye]=xs(a.sel.ranges[ye],y[ye],null,re);var He=Na(a.cm,ee,a.sel.primIndex);z(a,He,te)}function qo(a,y,te,ee){var re=a.sel.ranges.slice(0);re[y]=te,z(a,Na(a.cm,re,a.sel.primIndex),ee)}function ul(a,y,te,ee){z(a,Ai(y,te),ee)}function _l(a,y,te){var ee={ranges:y.ranges,update:function(re){this.ranges=[];for(var ye=0;ye<re.length;ye++)this.ranges[ye]=new ba(ln(a,re[ye].anchor),ln(a,re[ye].head))},origin:te&&te.origin};return Rt(a,"beforeSelectionChange",a,ee),a.cm&&Rt(a.cm,"beforeSelectionChange",a.cm,ee),ee.ranges!=y.ranges?Na(a.cm,ee.ranges,ee.ranges.length-1):y}function x(a,y,te){var ee=a.history.done,re=Bt(ee);re&&re.ranges?(ee[ee.length-1]=y,we(a,y,te)):z(a,y,te)}function z(a,y,te){we(a,y,te),Vo(a,a.sel,a.cm?a.cm.curOp.id:NaN,te)}function we(a,y,te){(At(a,"beforeSelectionChange")||a.cm&&At(a.cm,"beforeSelectionChange"))&&(y=_l(a,y,te));var ee=te&&te.bias||(on(y.primary().head,a.sel.primary().head)<0?-1:1);Nt(a,ur(a,y,ee,!0)),!(te&&te.scroll===!1)&&a.cm&&ns(a.cm)}function Nt(a,y){y.equals(a.sel)||(a.sel=y,a.cm&&(a.cm.curOp.updateInput=1,a.cm.curOp.selectionChanged=!0,jt(a.cm)),gi(a,"cursorActivity",a))}function Pn(a){Nt(a,ur(a,a.sel,null,!1))}function ur(a,y,te,ee){for(var re,ye=0;ye<y.ranges.length;ye++){var He=y.ranges[ye],at=y.ranges.length==a.sel.ranges.length&&a.sel.ranges[ye],ut=Ea(a,He.anchor,at&&at.anchor,te,ee),yt=Ea(a,He.head,at&&at.head,te,ee);(re||ut!=He.anchor||yt!=He.head)&&(re||(re=y.ranges.slice(0,ye)),re[ye]=new ba(ut,yt))}return re?Na(a.cm,re,y.primIndex):y}function Fr(a,y,te,ee,re){var ye=_n(a,y.line);if(ye.markedSpans)for(var He=0;He<ye.markedSpans.length;++He){var at=ye.markedSpans[He],ut=at.marker,yt="selectLeft"in ut?!ut.selectLeft:ut.inclusiveLeft,hn="selectRight"in ut?!ut.selectRight:ut.inclusiveRight;if((at.from==null||(yt?at.from<=y.ch:at.from<y.ch))&&(at.to==null||(hn?at.to>=y.ch:at.to>y.ch))){if(re&&(Rt(ut,"beforeCursorEnter"),ut.explicitlyCleared))if(ye.markedSpans){--He;continue}else break;if(!ut.atomic)continue;if(te){var bn=ut.find(ee<0?1:-1),tr=void 0;if((ee<0?hn:yt)&&(bn=Za(a,bn,-ee,bn&&bn.line==y.line?ye:null)),bn&&bn.line==y.line&&(tr=on(bn,te))&&(ee<0?tr<0:tr>0))return Fr(a,bn,y,ee,re)}var Kn=ut.find(ee<0?-1:1);return(ee<0?yt:hn)&&(Kn=Za(a,Kn,ee,Kn.line==y.line?ye:null)),Kn?Fr(a,Kn,y,ee,re):null}}return y}function Ea(a,y,te,ee,re){var ye=ee||1,He=Fr(a,y,te,ye,re)||!re&&Fr(a,y,te,ye,!0)||Fr(a,y,te,-ye,re)||!re&&Fr(a,y,te,-ye,!0);return He||(a.cantEdit=!0,Pt(a.first,0))}function Za(a,y,te,ee){return te<0&&y.ch==0?y.line>a.first?ln(a,Pt(y.line-1)):null:te>0&&y.ch==(ee||_n(a,y.line)).text.length?y.line<a.first+a.size-1?Pt(y.line+1,0):null:new Pt(y.line,y.ch+te)}function Er(a){a.setSelection(Pt(a.firstLine(),0),Pt(a.lastLine()),ot)}function Qr(a,y,te){var ee={canceled:!1,from:y.from,to:y.to,text:y.text,origin:y.origin,cancel:function(){return ee.canceled=!0}};return te&&(ee.update=function(re,ye,He,at){re&&(ee.from=ln(a,re)),ye&&(ee.to=ln(a,ye)),He&&(ee.text=He),at!==void 0&&(ee.origin=at)}),Rt(a,"beforeChange",a,ee),a.cm&&Rt(a.cm,"beforeChange",a.cm,ee),ee.canceled?(a.cm&&(a.cm.curOp.updateInput=2),null):{from:ee.from,to:ee.to,text:ee.text,origin:ee.origin}}function Va(a,y,te){if(a.cm){if(!a.cm.curOp)return Ji(a.cm,Va)(a,y,te);if(a.cm.state.suppressEdits)return}if(!((At(a,"beforeChange")||a.cm&&At(a.cm,"beforeChange"))&&(y=Qr(a,y,!0),!y))){var ee=pa&&!te&&Bn(a,y.from,y.to);if(ee)for(var re=ee.length-1;re>=0;--re)mi(a,{from:ee[re].from,to:ee[re].to,text:re?[""]:y.text,origin:y.origin});else mi(a,y)}}function mi(a,y){if(!(y.text.length==1&&y.text[0]==""&&on(y.from,y.to)==0)){var te=di(a,y);as(a,y,te,a.cm?a.cm.curOp.id:NaN),is(a,y,te,Xa(a,y));var ee=[];ja(a,function(re,ye){!ye&&Be(ee,re.history)==-1&&(tl(re.history,y),ee.push(re.history)),is(re,y,null,Xa(re,y))})}}function Di(a,y,te){var ee=a.cm&&a.cm.state.suppressEdits;if(!(ee&&!te)){for(var re=a.history,ye,He=a.sel,at=y=="undo"?re.done:re.undone,ut=y=="undo"?re.undone:re.done,yt=0;yt<at.length&&(ye=at[yt],!(te?ye.ranges&&!ye.equals(a.sel):!ye.ranges));yt++);if(yt!=at.length){for(re.lastOrigin=re.lastSelOrigin=null;;)if(ye=at.pop(),ye.ranges){if(Qo(ye,ut),te&&!ye.equals(a.sel)){z(a,ye,{clearRedo:!1});return}He=ye}else if(ee){at.push(ye);return}else break;var hn=[];Qo(He,ut),ut.push({changes:hn,generation:re.generation}),re.generation=ye.generation||++re.maxGeneration;for(var bn=At(a,"beforeChange")||a.cm&&At(a.cm,"beforeChange"),tr=function(Mr){var Yr=ye.changes[Mr];if(Yr.origin=y,bn&&!Qr(a,Yr,!1))return at.length=0,{};hn.push(Ho(a,Yr));var oa=Mr?di(a,Yr):Bt(at);is(a,Yr,oa,Jo(a,Yr)),!Mr&&a.cm&&a.cm.scrollIntoView({from:Yr.from,to:Ci(Yr)});var da=[];ja(a,function(ia,Ca){!Ca&&Be(da,ia.history)==-1&&(tl(ia.history,Yr),da.push(ia.history)),is(ia,Yr,null,Jo(ia,Yr))})},Kn=ye.changes.length-1;Kn>=0;--Kn){var Nr=tr(Kn);if(Nr)return Nr.v}}}}function vs(a,y){if(y!=0&&(a.first+=y,a.sel=new na($t(a.sel.ranges,function(re){return new ba(Pt(re.anchor.line+y,re.anchor.ch),Pt(re.head.line+y,re.head.ch))}),a.sel.primIndex),a.cm)){hi(a.cm,a.first,a.first-y,y);for(var te=a.cm.display,ee=te.viewFrom;ee<te.viewTo;ee++)jo(a.cm,ee,"gutter")}}function is(a,y,te,ee){if(a.cm&&!a.cm.curOp)return Ji(a.cm,is)(a,y,te,ee);if(y.to.line<a.first){vs(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 re=y.text.length-1-(a.first-y.from.line);vs(a,re),y={from:Pt(a.first,0),to:Pt(y.to.line+re,y.to.ch),text:[Bt(y.text)],origin:y.origin}}var ye=a.lastLine();y.to.line>ye&&(y={from:y.from,to:Pt(ye,_n(a,ye).text.length),text:[y.text[0]],origin:y.origin}),y.removed=Sr(a,y.from,y.to),te||(te=di(a,y)),a.cm?os(a.cm,y,ee):Wa(a,y,ee),we(a,te,ot),a.cantEdit&&Ea(a,Pt(a.firstLine(),0))&&(a.cantEdit=!1)}}function os(a,y,te){var ee=a.doc,re=a.display,ye=y.from,He=y.to,at=!1,ut=ye.line;a.options.lineWrapping||(ut=rn(It(_n(ee,ye.line))),ee.iter(ut,He.line+1,function(Kn){if(Kn==re.maxLine)return at=!0,!0})),ee.sel.contains(y.from,y.to)>-1&&jt(a),Wa(ee,y,te,rl(a)),a.options.lineWrapping||(ee.iter(ut,ye.line+y.text.length,function(Kn){var Nr=Or(Kn);Nr>re.maxLineLength&&(re.maxLine=Kn,re.maxLineLength=Nr,re.maxLineChanged=!0,at=!1)}),at&&(a.curOp.updateMaxLine=!0)),ga(ee,ye.line),Ks(a,400);var yt=y.text.length-(He.line-ye.line)-1;y.full?hi(a):ye.line==He.line&&y.text.length==1&&!Ri(a.doc,y)?jo(a,ye.line,"text"):hi(a,ye.line,He.line+1,yt);var hn=At(a,"changes"),bn=At(a,"change");if(bn||hn){var tr={from:ye,to:He,text:y.text,removed:y.removed,origin:y.origin};bn&&gi(a,"change",a,tr),hn&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(tr)}a.display.selForContextMenu=null}function Bs(a,y,te,ee,re){var ye;ee||(ee=te),on(ee,te)<0&&(ye=[ee,te],te=ye[0],ee=ye[1]),typeof y=="string"&&(y=a.splitLines(y)),Va(a,{from:te,to:ee,text:y,origin:re})}function vl(a,y,te,ee){te<a.line?a.line+=ee:y<a.line&&(a.line=y,a.ch=0)}function $o(a,y,te,ee){for(var re=0;re<a.length;++re){var ye=a[re],He=!0;if(ye.ranges){ye.copied||(ye=a[re]=ye.deepCopy(),ye.copied=!0);for(var at=0;at<ye.ranges.length;at++)vl(ye.ranges[at].anchor,y,te,ee),vl(ye.ranges[at].head,y,te,ee);continue}for(var ut=0;ut<ye.changes.length;++ut){var yt=ye.changes[ut];if(te<yt.from.line)yt.from=Pt(yt.from.line+ee,yt.from.ch),yt.to=Pt(yt.to.line+ee,yt.to.ch);else if(y<=yt.to.line){He=!1;break}}He||(a.splice(0,re+1),re=0)}}function tl(a,y){var te=y.from.line,ee=y.to.line,re=y.text.length-(ee-te)-1;$o(a.done,te,ee,re),$o(a.undone,te,ee,re)}function ss(a,y,te,ee){var re=y,ye=y;return typeof y=="number"?ye=_n(a,yr(a,y)):re=rn(y),re==null?null:(ee(ye,re)&&a.cm&&jo(a.cm,re,te),ye)}function Vl(a){this.lines=a,this.parent=null;for(var y=0,te=0;te<a.length;++te)a[te].parent=this,y+=a[te].height;this.height=y}Vl.prototype={chunkSize:function(){return this.lines.length},removeInner:function(a,y){for(var te=a,ee=a+y;te<ee;++te){var re=this.lines[te];this.height-=re.height,jr(re),gi(re,"delete")}this.lines.splice(a,y)},collapse:function(a){a.push.apply(a,this.lines)},insertInner:function(a,y,te){this.height+=te,this.lines=this.lines.slice(0,a).concat(y).concat(this.lines.slice(a));for(var ee=0;ee<y.length;++ee)y[ee].parent=this},iterN:function(a,y,te){for(var ee=a+y;a<ee;++a)if(te(this.lines[a]))return!0}};function kl(a){this.children=a;for(var y=0,te=0,ee=0;ee<a.length;++ee){var re=a[ee];y+=re.chunkSize(),te+=re.height,re.parent=this}this.size=y,this.height=te,this.parent=null}kl.prototype={chunkSize:function(){return this.size},removeInner:function(a,y){this.size-=y;for(var te=0;te<this.children.length;++te){var ee=this.children[te],re=ee.chunkSize();if(a<re){var ye=Math.min(y,re-a),He=ee.height;if(ee.removeInner(a,ye),this.height-=He-ee.height,re==ye&&(this.children.splice(te--,1),ee.parent=null),(y-=ye)==0)break;a=0}else a-=re}if(this.size-y<25&&(this.children.length>1||!(this.children[0]instanceof Vl))){var at=[];this.collapse(at),this.children=[new Vl(at)],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,te){this.size+=y.length,this.height+=te;for(var ee=0;ee<this.children.length;++ee){var re=this.children[ee],ye=re.chunkSize();if(a<=ye){if(re.insertInner(a,y,te),re.lines&&re.lines.length>50){for(var He=re.lines.length%25+25,at=He;at<re.lines.length;){var ut=new Vl(re.lines.slice(at,at+=25));re.height-=ut.height,this.children.splice(++ee,0,ut),ut.parent=this}re.lines=re.lines.slice(0,He),this.maybeSpill()}break}a-=ye}},maybeSpill:function(){if(!(this.children.length<=10)){var a=this;do{var y=a.children.splice(a.children.length-5,5),te=new kl(y);if(a.parent){a.size-=te.size,a.height-=te.height;var re=Be(a.parent.children,a);a.parent.children.splice(re+1,0,te)}else{var ee=new kl(a.children);ee.parent=a,a.children=[ee,te],a=ee}te.parent=a.parent}while(a.children.length>10);a.parent.maybeSpill()}},iterN:function(a,y,te){for(var ee=0;ee<this.children.length;++ee){var re=this.children[ee],ye=re.chunkSize();if(a<ye){var He=Math.min(y,ye-a);if(re.iterN(a,He,te))return!0;if((y-=He)==0)break;a=0}else a-=ye}}};var Kl=function(a,y,te){if(te)for(var ee in te)te.hasOwnProperty(ee)&&(this[ee]=te[ee]);this.doc=a,this.node=y};Kl.prototype.clear=function(){var a=this.doc.cm,y=this.line.widgets,te=this.line,ee=rn(te);if(!(ee==null||!y)){for(var re=0;re<y.length;++re)y[re]==this&&y.splice(re--,1);y.length||(te.widgets=null);var ye=ri(this);Ur(te,Math.max(0,te.height-ye)),a&&(ko(a,function(){Bu(a,te,-ye),jo(a,ee,"widget")}),gi(a,"lineWidgetCleared",a,this,ee))}},Kl.prototype.changed=function(){var a=this,y=this.height,te=this.doc.cm,ee=this.line;this.height=null;var re=ri(this)-y;re&&(wn(this.doc,ee)||Ur(ee,ee.height+re),te&&ko(te,function(){te.curOp.forceUpdate=!0,Bu(te,ee,re),gi(te,"lineWidgetChanged",te,a,rn(ee))}))},Je(Kl);function Bu(a,y,te){nr(y)<(a.curOp&&a.curOp.scrollTop||a.doc.scrollTop)&&ol(a,te)}function lu(a,y,te,ee){var re=new Kl(a,te,ee),ye=a.cm;return ye&&re.noHScroll&&(ye.display.alignWidgets=!0),ss(a,y,"widget",function(He){var at=He.widgets||(He.widgets=[]);if(re.insertAt==null?at.push(re):at.splice(Math.min(at.length-1,Math.max(0,re.insertAt)),0,re),re.line=He,ye&&!wn(a,He)){var ut=nr(He)<a.scrollTop;Ur(He,He.height+ri(re)),ut&&ol(ye,re.height),ye.curOp.forceUpdate=!0}return!0}),ye&&gi(ye,"lineWidgetAdded",ye,re,typeof y=="number"?y:rn(y)),re}var Mu=0,bl=function(a,y){this.lines=[],this.type=y,this.doc=a,this.id=++Mu};bl.prototype.clear=function(){if(!this.explicitlyCleared){var a=this.doc.cm,y=a&&!a.curOp;if(y&&No(a),At(this,"clear")){var te=this.find();te&&gi(this,"clear",te.from,te.to)}for(var ee=null,re=null,ye=0;ye<this.lines.length;++ye){var He=this.lines[ye],at=Zr(He.markedSpans,this);a&&!this.collapsed?jo(a,rn(He),"text"):a&&(at.to!=null&&(re=rn(He)),at.from!=null&&(ee=rn(He))),He.markedSpans=aa(He.markedSpans,at),at.from==null&&this.collapsed&&!wn(this.doc,He)&&a&&Ur(He,Bi(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(var ut=0;ut<this.lines.length;++ut){var yt=It(this.lines[ut]),hn=Or(yt);hn>a.display.maxLineLength&&(a.display.maxLine=yt,a.display.maxLineLength=hn,a.display.maxLineChanged=!0)}ee!=null&&a&&this.collapsed&&hi(a,ee,re+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&Pn(a.doc)),a&&gi(a,"markerCleared",a,this,ee,re),y&&Xo(a),this.parent&&this.parent.clear()}},bl.prototype.find=function(a,y){a==null&&this.type=="bookmark"&&(a=1);for(var te,ee,re=0;re<this.lines.length;++re){var ye=this.lines[re],He=Zr(ye.markedSpans,this);if(He.from!=null&&(te=Pt(y?ye:rn(ye),He.from),a==-1))return te;if(He.to!=null&&(ee=Pt(y?ye:rn(ye),He.to),a==1))return ee}return te&&{from:te,to:ee}},bl.prototype.changed=function(){var a=this,y=this.find(-1,!0),te=this,ee=this.doc.cm;!y||!ee||ko(ee,function(){var re=y.line,ye=rn(y.line),He=Ni(ee,ye);if(He&&(Is(He),ee.curOp.selectionChanged=ee.curOp.forceUpdate=!0),ee.curOp.updateMaxLine=!0,!wn(te.doc,re)&&te.height!=null){var at=te.height;te.height=null;var ut=ri(te)-at;ut&&Ur(re,re.height+ut)}gi(ee,"markerChanged",ee,a)})},bl.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(!y.maybeHiddenMarkers||Be(y.maybeHiddenMarkers,this)==-1)&&(y.maybeUnhiddenMarkers||(y.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},bl.prototype.detachLine=function(a){if(this.lines.splice(Be(this.lines,a),1),!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(y.maybeHiddenMarkers||(y.maybeHiddenMarkers=[])).push(this)}},Je(bl);function Rl(a,y,te,ee,re){if(ee&&ee.shared)return gc(a,y,te,ee,re);if(a.cm&&!a.cm.curOp)return Ji(a.cm,Rl)(a,y,te,ee,re);var ye=new bl(a,re),He=on(y,te);if(ee&&Gt(ee,ye,!1),He>0||He==0&&ye.clearWhenEmpty!==!1)return ye;if(ye.replacedWith&&(ye.collapsed=!0,ye.widgetNode=$e("span",[ye.replacedWith],"CodeMirror-widget"),ee.handleMouseEvents||ye.widgetNode.setAttribute("cm-ignore-events","true"),ee.insertLeft&&(ye.widgetNode.insertLeft=!0)),ye.collapsed){if(Tt(a,y.line,y,te,ye)||y.line!=te.line&&Tt(a,te.line,y,te,ye))throw new Error("Inserting collapsed marker partially overlapping an existing one");ya()}ye.addToHistory&&as(a,{from:y,to:te,origin:"markText"},a.sel,NaN);var at=y.line,ut=a.cm,yt;if(a.iter(at,te.line+1,function(bn){ut&&ye.collapsed&&!ut.options.lineWrapping&&It(bn)==ut.display.maxLine&&(yt=!0),ye.collapsed&&at!=y.line&&Ur(bn,0),ua(bn,new _r(ye,at==y.line?y.ch:null,at==te.line?te.ch:null)),++at}),ye.collapsed&&a.iter(y.line,te.line+1,function(bn){wn(a,bn)&&Ur(bn,0)}),ye.clearOnEnter&&mt(ye,"beforeCursorEnter",function(){return ye.clear()}),ye.readOnly&&(ra(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),ye.collapsed&&(ye.id=++Mu,ye.atomic=!0),ut){if(yt&&(ut.curOp.updateMaxLine=!0),ye.collapsed)hi(ut,y.line,te.line+1);else if(ye.className||ye.startStyle||ye.endStyle||ye.css||ye.attributes||ye.title)for(var hn=y.line;hn<=te.line;hn++)jo(ut,hn,"text");ye.atomic&&Pn(ut.doc),gi(ut,"markerAdded",ut,ye)}return ye}var Yl=function(a,y){this.markers=a,this.primary=y;for(var te=0;te<a.length;++te)a[te].parent=this};Yl.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var a=0;a<this.markers.length;++a)this.markers[a].clear();gi(this,"clear")}},Yl.prototype.find=function(a,y){return this.primary.find(a,y)},Je(Yl);function gc(a,y,te,ee,re){ee=Gt(ee),ee.shared=!1;var ye=[Rl(a,y,te,ee,re)],He=ye[0],at=ee.widgetNode;return ja(a,function(ut){at&&(ee.widgetNode=at.cloneNode(!0)),ye.push(Rl(ut,ln(ut,y),ln(ut,te),ee,re));for(var yt=0;yt<ut.linked.length;++yt)if(ut.linked[yt].isParent)return;He=Bt(ye)}),new Yl(ye,He)}function vc(a){return a.findMarks(Pt(a.first,0),a.clipPos(Pt(a.lastLine())),function(y){return y.parent})}function bc(a,y){for(var te=0;te<y.length;te++){var ee=y[te],re=ee.find(),ye=a.clipPos(re.from),He=a.clipPos(re.to);if(on(ye,He)){var at=Rl(a,ye,He,ee.primary,ee.primary.type);ee.markers.push(at),at.parent=ee}}}function Yc(a){for(var y=function(ee){var re=a[ee],ye=[re.primary.doc];ja(re.primary.doc,function(ut){return ye.push(ut)});for(var He=0;He<re.markers.length;He++){var at=re.markers[He];Be(ye,at.doc)==-1&&(at.parent=null,re.markers.splice(He--,1))}},te=0;te<a.length;te++)y(te)}var Xl=0,ls=function(a,y,te,ee,re){if(!(this instanceof ls))return new ls(a,y,te,ee,re);te==null&&(te=0),kl.call(this,[new Vl([new Tr("",null)])]),this.first=te,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=te;var ye=Pt(te,0);this.sel=Ai(ye),this.history=new Ro(null),this.id=++Xl,this.modeOption=y,this.lineSep=ee,this.direction=re=="rtl"?"rtl":"ltr",this.extend=!1,typeof a=="string"&&(a=this.splitLines(a)),Wa(this,{from:ye,to:ye,text:a}),z(this,Ai(ye),ot)};ls.prototype=pe(kl.prototype,{constructor:ls,iter:function(a,y,te){te?this.iterN(a-this.first,y-a,te):this.iterN(this.first,this.first+this.size,a)},insert:function(a,y){for(var te=0,ee=0;ee<y.length;++ee)te+=y[ee].height;this.insertInner(a-this.first,y,te)},remove:function(a,y){this.removeInner(a-this.first,y)},getValue:function(a){var y=kr(this,this.first,this.first+this.size);return a===!1?y:y.join(a||this.lineSeparator())},setValue:qi(function(a){var y=Pt(this.first,0),te=this.first+this.size-1;Va(this,{from:y,to:Pt(te,_n(this,te).text.length),text:this.splitLines(a),origin:"setValue",full:!0},!0),this.cm&&Yo(this.cm,0,0),z(this,Ai(y),ot)}),replaceRange:function(a,y,te,ee){y=ln(this,y),te=te?ln(this,te):y,Bs(this,a,y,te,ee)},getRange:function(a,y,te){var ee=Sr(this,ln(this,a),ln(this,y));return te===!1?ee:ee.join(te||this.lineSeparator())},getLine:function(a){var y=this.getLineHandle(a);return y&&y.text},getLineHandle:function(a){if(hr(this,a))return _n(this,a)},getLineNumber:function(a){return rn(a)},getLineHandleVisualStart:function(a){return typeof a=="number"&&(a=_n(this,a)),It(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return ln(this,a)},getCursor:function(a){var y=this.sel.primary(),te;return a==null||a=="head"?te=y.head:a=="anchor"?te=y.anchor:a=="end"||a=="to"||a===!1?te=y.to():te=y.from(),te},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:qi(function(a,y,te){ul(this,ln(this,typeof a=="number"?Pt(a,y||0):a),null,te)}),setSelection:qi(function(a,y,te){ul(this,ln(this,a),ln(this,y||a),te)}),extendSelection:qi(function(a,y,te){As(this,ln(this,a),y&&ln(this,y),te)}),extendSelections:qi(function(a,y){Ts(this,Xn(this,a),y)}),extendSelectionsBy:qi(function(a,y){var te=$t(this.sel.ranges,a);Ts(this,Xn(this,te),y)}),setSelections:qi(function(a,y,te){if(a.length){for(var ee=[],re=0;re<a.length;re++)ee[re]=new ba(ln(this,a[re].anchor),ln(this,a[re].head));y==null&&(y=Math.min(a.length-1,this.sel.primIndex)),z(this,Na(this.cm,ee,y),te)}}),addSelection:qi(function(a,y,te){var ee=this.sel.ranges.slice(0);ee.push(new ba(ln(this,a),ln(this,y||a))),z(this,Na(this.cm,ee,ee.length-1),te)}),getSelection:function(a){for(var y=this.sel.ranges,te,ee=0;ee<y.length;ee++){var re=Sr(this,y[ee].from(),y[ee].to());te=te?te.concat(re):re}return a===!1?te:te.join(a||this.lineSeparator())},getSelections:function(a){for(var y=[],te=this.sel.ranges,ee=0;ee<te.length;ee++){var re=Sr(this,te[ee].from(),te[ee].to());a!==!1&&(re=re.join(a||this.lineSeparator())),y[ee]=re}return y},replaceSelection:function(a,y,te){for(var ee=[],re=0;re<this.sel.ranges.length;re++)ee[re]=a;this.replaceSelections(ee,y,te||"+input")},replaceSelections:qi(function(a,y,te){for(var ee=[],re=this.sel,ye=0;ye<re.ranges.length;ye++){var He=re.ranges[ye];ee[ye]={from:He.from(),to:He.to(),text:this.splitLines(a[ye]),origin:te}}for(var at=y&&y!="end"&&Ti(this,ee,y),ut=ee.length-1;ut>=0;ut--)Va(this,ee[ut]);at?x(this,at):this.cm&&ns(this.cm)}),undo:qi(function(){Di(this,"undo")}),redo:qi(function(){Di(this,"redo")}),undoSelection:qi(function(){Di(this,"undo",!0)}),redoSelection:qi(function(){Di(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,y=0,te=0,ee=0;ee<a.done.length;ee++)a.done[ee].ranges||++y;for(var re=0;re<a.undone.length;re++)a.undone[re].ranges||++te;return{undo:y,redo:te}},clearHistory:function(){var a=this;this.history=new Ro(this.history.maxGeneration),ja(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:Do(this.history.done),undone:Do(this.history.undone)}},setHistory:function(a){var y=this.history=new Ro(this.history.maxGeneration);y.done=Do(a.done.slice(0),null,!0),y.undone=Do(a.undone.slice(0),null,!0)},setGutterMarker:qi(function(a,y,te){return ss(this,a,"gutter",function(ee){var re=ee.gutterMarkers||(ee.gutterMarkers={});return re[y]=te,!te&&fe(re)&&(ee.gutterMarkers=null),!0})}),clearGutter:qi(function(a){var y=this;this.iter(function(te){te.gutterMarkers&&te.gutterMarkers[a]&&ss(y,te,"gutter",function(){return te.gutterMarkers[a]=null,fe(te.gutterMarkers)&&(te.gutterMarkers=null),!0})})}),lineInfo:function(a){var y;if(typeof a=="number"){if(!hr(this,a)||(y=a,a=_n(this,a),!a))return null}else if(y=rn(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:qi(function(a,y,te){return ss(this,a,y=="gutter"?"gutter":"class",function(ee){var re=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass";if(!ee[re])ee[re]=te;else{if(Te(te).test(ee[re]))return!1;ee[re]+=" "+te}return!0})}),removeLineClass:qi(function(a,y,te){return ss(this,a,y=="gutter"?"gutter":"class",function(ee){var re=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass",ye=ee[re];if(ye)if(te==null)ee[re]=null;else{var He=ye.match(Te(te));if(!He)return!1;var at=He.index+He[0].length;ee[re]=ye.slice(0,He.index)+(!He.index||at==ye.length?"":" ")+ye.slice(at)||null}else return!1;return!0})}),addLineWidget:qi(function(a,y,te){return lu(this,a,y,te)}),removeLineWidget:function(a){a.clear()},markText:function(a,y,te){return Rl(this,ln(this,a),ln(this,y),te,te&&te.type||"range")},setBookmark:function(a,y){var te={replacedWith:y&&(y.nodeType==null?y.widget:y),insertLeft:y&&y.insertLeft,clearWhenEmpty:!1,shared:y&&y.shared,handleMouseEvents:y&&y.handleMouseEvents};return a=ln(this,a),Rl(this,a,a,te,"bookmark")},findMarksAt:function(a){a=ln(this,a);var y=[],te=_n(this,a.line).markedSpans;if(te)for(var ee=0;ee<te.length;++ee){var re=te[ee];(re.from==null||re.from<=a.ch)&&(re.to==null||re.to>=a.ch)&&y.push(re.marker.parent||re.marker)}return y},findMarks:function(a,y,te){a=ln(this,a),y=ln(this,y);var ee=[],re=a.line;return this.iter(a.line,y.line+1,function(ye){var He=ye.markedSpans;if(He)for(var at=0;at<He.length;at++){var ut=He[at];!(ut.to!=null&&re==a.line&&a.ch>=ut.to||ut.from==null&&re!=a.line||ut.from!=null&&re==y.line&&ut.from>=y.ch)&&(!te||te(ut.marker))&&ee.push(ut.marker.parent||ut.marker)}++re}),ee},getAllMarks:function(){var a=[];return this.iter(function(y){var te=y.markedSpans;if(te)for(var ee=0;ee<te.length;++ee)te[ee].from!=null&&a.push(te[ee].marker)}),a},posFromIndex:function(a){var y,te=this.first,ee=this.lineSeparator().length;return this.iter(function(re){var ye=re.text.length+ee;if(ye>a)return y=a,!0;a-=ye,++te}),ln(this,Pt(te,y))},indexFromPos:function(a){a=ln(this,a);var y=a.ch;if(a.line<this.first||a.ch<0)return 0;var te=this.lineSeparator().length;return this.iter(this.first,a.line,function(ee){y+=ee.text.length+te}),y},copy:function(a){var y=new ls(kr(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,te=this.first+this.size;a.from!=null&&a.from>y&&(y=a.from),a.to!=null&&a.to<te&&(te=a.to);var ee=new ls(kr(this,y,te),a.mode||this.modeOption,y,this.lineSep,this.direction);return a.sharedHist&&(ee.history=this.history),(this.linked||(this.linked=[])).push({doc:ee,sharedHist:a.sharedHist}),ee.linked=[{doc:this,isParent:!0,sharedHist:a.sharedHist}],bc(ee,vc(this)),ee},unlinkDoc:function(a){if(a instanceof Xi&&(a=a.doc),this.linked)for(var y=0;y<this.linked.length;++y){var te=this.linked[y];if(te.doc==a){this.linked.splice(y,1),a.unlinkDoc(this),Yc(vc(this));break}}if(a.history==this.history){var ee=[a.id];ja(a,function(re){return ee.push(re.id)},!0),a.history=new Ro(null),a.history.done=Do(this.history.done,ee),a.history.undone=Do(this.history.undone,ee)}},iterLinkedDocs:function(a){ja(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(a){return this.lineSep?a.split(this.lineSep):cr(a)},lineSeparator:function(){return this.lineSep||`
`},setDirection:qi(function(a){a!="rtl"&&(a="ltr"),a!=this.direction&&(this.direction=a,this.iter(function(y){return y.order=null}),this.cm&&no(this.cm))})}),ls.prototype.eachLine=ls.prototype.iter;var uu=0;function Ec(a){var y=this;if(cu(y),!(vt(y,a)||Oi(y.display,a))){un(a),ge&&(uu=+new Date);var te=Ao(y,a,!0),ee=a.dataTransfer.files;if(!(!te||y.isReadOnly()))if(ee&&ee.length&&window.FileReader&&window.File)for(var re=ee.length,ye=Array(re),He=0,at=function(){++He==re&&Ji(y,function(){te=ln(y.doc,te);var Kn={from:te,to:te,text:y.doc.splitLines(ye.filter(function(Nr){return Nr!=null}).join(y.doc.lineSeparator())),origin:"paste"};Va(y.doc,Kn),x(y.doc,Ai(ln(y.doc,te),ln(y.doc,Ci(Kn))))})()},ut=function(Kn,Nr){if(y.options.allowDropFileTypes&&Be(y.options.allowDropFileTypes,Kn.type)==-1){at();return}var Mr=new FileReader;Mr.onerror=function(){return at()},Mr.onload=function(){var Yr=Mr.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Yr)){at();return}ye[Nr]=Yr,at()},Mr.readAsText(Kn)},yt=0;yt<ee.length;yt++)ut(ee[yt],yt);else{if(y.state.draggingText&&y.doc.sel.contains(te)>-1){y.state.draggingText(a),setTimeout(function(){return y.display.input.focus()},20);return}try{var hn=a.dataTransfer.getData("Text");if(hn){var bn;if(y.state.draggingText&&!y.state.draggingText.copy&&(bn=y.listSelections()),we(y.doc,Ai(te,te)),bn)for(var tr=0;tr<bn.length;++tr)Bs(y.doc,"",bn[tr].anchor,bn[tr].head,"drag");y.replaceSelection(hn,"around","paste"),y.display.input.focus()}}catch(Kn){}}}}function yc(a,y){if(ge&&(!a.state.draggingText||+new Date-uu<100)){Ln(y);return}if(!(vt(a,y)||Oi(a.display,y))&&(y.dataTransfer.setData("Text",a.getSelection()),y.dataTransfer.effectAllowed="copyMove",y.dataTransfer.setDragImage&&!Ve)){var te=tt("img",null,null,"position: fixed; left: 0; top: 0;");te.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",he&&(te.width=te.height=1,a.display.wrapper.appendChild(te),te._top=te.offsetTop),y.dataTransfer.setDragImage(te,0,0),he&&te.parentNode.removeChild(te)}}function Sc(a,y){var te=Ao(a,y);if(te){var ee=document.createDocumentFragment();il(a,te,ee),a.display.dragCursor||(a.display.dragCursor=tt("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor,a.display.cursorDiv)),Fe(a.display.dragCursor,ee)}}function cu(a){a.display.dragCursor&&(a.display.lineSpace.removeChild(a.display.dragCursor),a.display.dragCursor=null)}function yu(a){if(document.getElementsByClassName){for(var y=document.getElementsByClassName("CodeMirror"),te=[],ee=0;ee<y.length;ee++){var re=y[ee].CodeMirror;re&&te.push(re)}te.length&&te[0].operation(function(){for(var ye=0;ye<te.length;ye++)a(te[ye])})}}var Uu=!1;function Cc(){Uu||(xc(),Uu=!0)}function xc(){var a;mt(window,"resize",function(){a==null&&(a=setTimeout(function(){a=null,yu(Ac)},100))}),mt(window,"blur",function(){return yu(Ls)})}function Ac(a){var y=a.display;y.cachedCharWidth=y.cachedTextHeight=y.cachedPaddingH=null,y.scrollbarsClipped=!1,a.setSize()}for(var El={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"},Ql=0;Ql<10;Ql++)El[Ql+48]=El[Ql+96]=String(Ql);for(var du=65;du<=90;du++)El[du]=String.fromCharCode(du);for(var Jl=1;Jl<=12;Jl++)El[Jl+111]=El[Jl+63235]="F"+Jl;var Ms={};Ms.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"},Ms.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"},Ms.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"},Ms.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"]},Ms.default=ze?Ms.macDefault:Ms.pcDefault;function Tc(a){var y=a.split(/-(?!$)/);a=y[y.length-1];for(var te,ee,re,ye,He=0;He<y.length-1;He++){var at=y[He];if(/^(cmd|meta|m)$/i.test(at))ye=!0;else if(/^a(lt)?$/i.test(at))te=!0;else if(/^(c|ctrl|control)$/i.test(at))ee=!0;else if(/^s(hift)?$/i.test(at))re=!0;else throw new Error("Unrecognized modifier name: "+at)}return te&&(a="Alt-"+a),ee&&(a="Ctrl-"+a),ye&&(a="Cmd-"+a),re&&(a="Shift-"+a),a}function Hu(a){var y={};for(var te in a)if(a.hasOwnProperty(te)){var ee=a[te];if(/^(name|fallthrough|(de|at)tach)$/.test(te))continue;if(ee=="..."){delete a[te];continue}for(var re=$t(te.split(" "),Tc),ye=0;ye<re.length;ye++){var He=void 0,at=void 0;ye==re.length-1?(at=re.join(" "),He=ee):(at=re.slice(0,ye+1).join(" "),He="...");var ut=y[at];if(!ut)y[at]=He;else if(ut!=He)throw new Error("Inconsistent bindings for "+at)}delete a[te]}for(var yt in y)a[yt]=y[yt];return a}function cl(a,y,te,ee){y=ql(y);var re=y.call?y.call(a,ee):y[a];if(re===!1)return"nothing";if(re==="...")return"multi";if(re!=null&&te(re))return"handled";if(y.fallthrough){if(Object.prototype.toString.call(y.fallthrough)!="[object Array]")return cl(a,y.fallthrough,te,ee);for(var ye=0;ye<y.fallthrough.length;ye++){var He=cl(a,y.fallthrough[ye],te,ee);if(He)return He}}}function Su(a){var y=typeof a=="string"?a:El[a.keyCode];return y=="Ctrl"||y=="Alt"||y=="Shift"||y=="Mod"}function Cu(a,y,te){var ee=a;return y.altKey&&ee!="Alt"&&(a="Alt-"+a),(ke?y.metaKey:y.ctrlKey)&&ee!="Ctrl"&&(a="Ctrl-"+a),(ke?y.ctrlKey:y.metaKey)&&ee!="Mod"&&(a="Cmd-"+a),!te&&y.shiftKey&&ee!="Shift"&&(a="Shift-"+a),a}function zu(a,y){if(he&&a.keyCode==34&&a.char)return!1;var te=El[a.keyCode];return te==null||a.altGraphKey?!1:(a.keyCode==3&&a.code&&(te=a.code),Cu(te,a,y))}function ql(a){return typeof a=="string"?Ms[a]:a}function Fl(a,y){for(var te=a.doc.sel.ranges,ee=[],re=0;re<te.length;re++){for(var ye=y(te[re]);ee.length&&on(ye.from,Bt(ee).to)<=0;){var He=ee.pop();if(on(He.from,ye.from)<0){ye.from=He.from;break}}ee.push(ye)}ko(a,function(){for(var at=ee.length-1;at>=0;at--)Bs(a.doc,"",ee[at].from,ee[at].to,"+delete");ns(a)})}function xu(a,y,te){var ee=an(a.text,y+te,te);return ee<0||ee>a.text.length?null:ee}function yl(a,y,te){var ee=xu(a,y.ch,te);return ee==null?null:new Pt(y.line,ee,te<0?"after":"before")}function Au(a,y,te,ee,re){if(a){y.doc.direction=="rtl"&&(re=-re);var ye=fn(te,y.doc.direction);if(ye){var He=re<0?Bt(ye):ye[0],at=re<0==(He.level==1),ut=at?"after":"before",yt;if(He.level>0||y.doc.direction=="rtl"){var hn=Lo(y,te);yt=re<0?te.text.length-1:0;var bn=go(y,hn,yt).top;yt=Sn(function(tr){return go(y,hn,tr).top==bn},re<0==(He.level==1)?He.from:He.to-1,yt),ut=="before"&&(yt=xu(te,yt,1))}else yt=re<0?He.to:He.from;return new Pt(ee,yt,ut)}}return new Pt(ee,re<0?te.text.length:0,re<0?"before":"after")}function wc(a,y,te,ee){var re=fn(y,a.doc.direction);if(!re)return yl(y,te,ee);te.ch>=y.text.length?(te.ch=y.text.length,te.sticky="before"):te.ch<=0&&(te.ch=0,te.sticky="after");var ye=Lt(re,te.ch,te.sticky),He=re[ye];if(a.doc.direction=="ltr"&&He.level%2==0&&(ee>0?He.to>te.ch:He.from<te.ch))return yl(y,te,ee);var at=function(oa,da){return xu(y,oa instanceof Pt?oa.ch:oa,da)},ut,yt=function(oa){return a.options.lineWrapping?(ut=ut||Lo(a,y),Mi(a,y,ut,oa)):{begin:0,end:y.text.length}},hn=yt(te.sticky=="before"?at(te,-1):te.ch);if(a.doc.direction=="rtl"||He.level==1){var bn=He.level==1==ee<0,tr=at(te,bn?1:-1);if(tr!=null&&(bn?tr<=He.to&&tr<=hn.end:tr>=He.from&&tr>=hn.begin)){var Kn=bn?"before":"after";return new Pt(te.line,tr,Kn)}}var Nr=function(oa,da,ia){for(var Ca=function(Gi,Oo){return Oo?new Pt(te.line,at(Gi,1),"before"):new Pt(te.line,Gi,"after")};oa>=0&&oa<re.length;oa+=da){var Ka=re[oa],Ua=da>0==(Ka.level!=1),si=Ua?ia.begin:at(ia.end,-1);if(Ka.from<=si&&si<Ka.to||(si=Ua?Ka.from:at(Ka.to,-1),ia.begin<=si&&si<ia.end))return Ca(si,Ua)}},Mr=Nr(ye+ee,ee,hn);if(Mr)return Mr;var Yr=ee>0?hn.end:at(hn.begin,-1);return Yr!=null&&!(ee>0&&Yr==y.text.length)&&(Mr=Nr(ee>0?0:re.length-1,ee,yt(Yr)),Mr)?Mr:null}var $l={selectAll:Er,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),ot)},killLine:function(a){return Fl(a,function(y){if(y.empty()){var te=_n(a.doc,y.head.line).text.length;return y.head.ch==te&&y.head.line<a.lastLine()?{from:y.head,to:Pt(y.head.line+1,0)}:{from:y.head,to:Pt(y.head.line,te)}}else return{from:y.from(),to:y.to()}})},deleteLine:function(a){return Fl(a,function(y){return{from:Pt(y.from().line,0),to:ln(a.doc,Pt(y.to().line+1,0))}})},delLineLeft:function(a){return Fl(a,function(y){return{from:Pt(y.from().line,0),to:y.from()}})},delWrappedLineLeft:function(a){return Fl(a,function(y){var te=a.charCoords(y.head,"div").top+5,ee=a.coordsChar({left:0,top:te},"div");return{from:ee,to:y.from()}})},delWrappedLineRight:function(a){return Fl(a,function(y){var te=a.charCoords(y.head,"div").top+5,ee=a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:te},"div");return{from:y.from(),to:ee}})},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(Pt(a.firstLine(),0))},goDocEnd:function(a){return a.extendSelection(Pt(a.lastLine()))},goLineStart:function(a){return a.extendSelectionsBy(function(y){return Gu(a,y.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(a){return a.extendSelectionsBy(function(y){return Wu(a,y.head)},{origin:"+move",bias:1})},goLineEnd:function(a){return a.extendSelectionsBy(function(y){return Tu(a,y.head.line)},{origin:"+move",bias:-1})},goLineRight:function(a){return a.extendSelectionsBy(function(y){var te=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:te},"div")},Ut)},goLineLeft:function(a){return a.extendSelectionsBy(function(y){var te=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:0,top:te},"div")},Ut)},goLineLeftSmart:function(a){return a.extendSelectionsBy(function(y){var te=a.cursorCoords(y.head,"div").top+5,ee=a.coordsChar({left:0,top:te},"div");return ee.ch<a.getLine(ee.line).search(/\S/)?Wu(a,y.head):ee},Ut)},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=[],te=a.listSelections(),ee=a.options.tabSize,re=0;re<te.length;re++){var ye=te[re].from(),He=nt(a.getLine(ye.line),ye.ch,ee);y.push(Yt(ee-He%ee))}a.replaceSelections(y)},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):a.execCommand("insertTab")},transposeChars:function(a){return ko(a,function(){for(var y=a.listSelections(),te=[],ee=0;ee<y.length;ee++)if(y[ee].empty()){var re=y[ee].head,ye=_n(a.doc,re.line).text;if(ye){if(re.ch==ye.length&&(re=new Pt(re.line,re.ch-1)),re.ch>0)re=new Pt(re.line,re.ch+1),a.replaceRange(ye.charAt(re.ch-1)+ye.charAt(re.ch-2),Pt(re.line,re.ch-2),re,"+transpose");else if(re.line>a.doc.first){var He=_n(a.doc,re.line-1).text;He&&(re=new Pt(re.line,1),a.replaceRange(ye.charAt(0)+a.doc.lineSeparator()+He.charAt(He.length-1),Pt(re.line-1,He.length-1),re,"+transpose"))}}te.push(new ba(re,re))}a.setSelections(te)})},newlineAndIndent:function(a){return ko(a,function(){for(var y=a.listSelections(),te=y.length-1;te>=0;te--)a.replaceRange(a.doc.lineSeparator(),y[te].anchor,y[te].head,"+input");y=a.listSelections();for(var ee=0;ee<y.length;ee++)a.indentLine(y[ee].from().line,null,!0);ns(a)})},openLine:function(a){return a.replaceSelection(`
`,"start")},toggleOverwrite:function(a){return a.toggleOverwrite()}};function Gu(a,y){var te=_n(a.doc,y),ee=It(te);return ee!=te&&(y=rn(ee)),Au(!0,a,ee,y,1)}function Tu(a,y){var te=_n(a.doc,y),ee=Wt(te);return ee!=te&&(y=rn(ee)),Au(!0,a,te,y,-1)}function Wu(a,y){var te=Gu(a,y.line),ee=_n(a.doc,te.line),re=fn(ee,a.doc.direction);if(!re||re[0].level==0){var ye=Math.max(te.ch,ee.text.search(/\S/)),He=y.line==te.line&&y.ch<=ye&&y.ch;return Pt(te.line,He?0:ye,te.sticky)}return te}function fu(a,y,te){if(typeof y=="string"&&(y=$l[y],!y))return!1;a.display.input.ensurePolled();var ee=a.display.shift,re=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),te&&(a.display.shift=!1),re=y(a)!=Ot}finally{a.display.shift=ee,a.state.suppressEdits=!1}return re}function Ic(a,y,te){for(var ee=0;ee<a.state.keyMaps.length;ee++){var re=cl(y,a.state.keyMaps[ee],te,a);if(re)return re}return a.options.extraKeys&&cl(y,a.options.extraKeys,te,a)||cl(y,a.options.keyMap,te,a)}var Nc=new je;function eu(a,y,te,ee){var re=a.state.keySeq;if(re){if(Su(y))return"handled";if(/\'$/.test(y)?a.state.keySeq=null:Nc.set(50,function(){a.state.keySeq==re&&(a.state.keySeq=null,a.display.input.reset())}),Zu(a,re+" "+y,te,ee))return!0}return Zu(a,y,te,ee)}function Zu(a,y,te,ee){var re=Ic(a,y,ee);return re=="multi"&&(a.state.keySeq=y),re=="handled"&&gi(a,"keyHandled",a,y,te),(re=="handled"||re=="multi")&&(un(te),Ds(a)),!!re}function ju(a,y){var te=zu(y,!0);return te?y.shiftKey&&!a.state.keySeq?eu(a,"Shift-"+te,y,function(ee){return fu(a,ee,!0)})||eu(a,te,y,function(ee){if(typeof ee=="string"?/^go[A-Z]/.test(ee):ee.motion)return fu(a,ee)}):eu(a,te,y,function(ee){return fu(a,ee)}):!1}function Vu(a,y,te){return eu(a,"'"+te+"'",y,function(ee){return fu(a,ee,!0)})}var wu=null;function Ku(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&(y.curOp.focus=et(),!vt(y,a))){ge&&oe<11&&a.keyCode==27&&(a.returnValue=!1);var te=a.keyCode;y.display.shift=te==16||a.shiftKey;var ee=ju(y,a);he&&(wu=ee?te:null,!ee&&te==88&&!Gn&&(ze?a.metaKey:a.ctrlKey)&&y.replaceSelection("",null,"cut")),b&&!ze&&!ee&&te==46&&a.shiftKey&&!a.ctrlKey&&document.execCommand&&document.execCommand("cut"),te==18&&!/\bCodeMirror-crosshair\b/.test(y.display.lineDiv.className)&&kc(y)}}function kc(a){var y=a.display.lineDiv;rt(y,"CodeMirror-crosshair");function te(ee){(ee.keyCode==18||!ee.altKey)&&(Ye(y,"CodeMirror-crosshair"),Ct(document,"keyup",te),Ct(document,"mouseover",te))}mt(document,"keyup",te),mt(document,"mouseover",te)}function Yu(a){a.keyCode==16&&(this.doc.sel.shift=!1),vt(this,a)}function Iu(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&!(Oi(y.display,a)||vt(y,a)||a.ctrlKey&&!a.altKey||ze&&a.metaKey)){var te=a.keyCode,ee=a.charCode;if(he&&te==wu){wu=null,un(a);return}if(!(he&&(!a.which||a.which<10)&&ju(y,a))){var re=String.fromCharCode(ee==null?te:ee);re!="\b"&&(Vu(y,a,re)||y.display.input.onKeyPress(a))}}}var Rc=400,Nu=function(a,y,te){this.time=a,this.pos=y,this.button=te};Nu.prototype.compare=function(a,y,te){return this.time+Rc>a&&on(y,this.pos)==0&&te==this.button};var tu,nu;function Dc(a,y){var te=+new Date;return nu&&nu.compare(te,a,y)?(tu=nu=null,"triple"):tu&&tu.compare(te,a,y)?(nu=new Nu(te,a,y),tu=null,"double"):(tu=new Nu(te,a,y),nu=null,"single")}function Xu(a){var y=this,te=y.display;if(!(vt(y,a)||te.activeTouch&&te.input.supportsTouch())){if(te.input.ensurePolled(),te.shift=a.shiftKey,Oi(te,a)){xe||(te.scroller.draggable=!1,setTimeout(function(){return te.scroller.draggable=!0},100));return}if(!hu(y,a)){var ee=Ao(y,a),re=Hn(a),ye=ee?Dc(ee,re):"single";window.focus(),re==1&&y.state.selectingText&&y.state.selectingText(a),!(ee&&pu(y,re,ee,ye,a))&&(re==1?ee?Oc(y,ee,ye,a):ar(a)==te.scroller&&un(a):re==2?(ee&&As(y.doc,ee),setTimeout(function(){return te.input.focus()},20)):re==3&&(Re?y.display.input.onContextMenu(a):$s(y)))}}}function pu(a,y,te,ee,re){var ye="Click";return ee=="double"?ye="Double"+ye:ee=="triple"&&(ye="Triple"+ye),ye=(y==1?"Left":y==2?"Middle":"Right")+ye,eu(a,Cu(ye,re),re,function(He){if(typeof He=="string"&&(He=$l[He]),!He)return!1;var at=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),at=He(a,te)!=Ot}finally{a.state.suppressEdits=!1}return at})}function Qu(a,y,te){var ee=a.getOption("configureMouse"),re=ee?ee(a,y,te):{};if(re.unit==null){var ye=Ze?te.shiftKey&&te.metaKey:te.altKey;re.unit=ye?"rectangle":y=="single"?"char":y=="double"?"word":"line"}return(re.extend==null||a.doc.extend)&&(re.extend=a.doc.extend||te.shiftKey),re.addNew==null&&(re.addNew=ze?te.metaKey:te.ctrlKey),re.moveOnDrag==null&&(re.moveOnDrag=!(ze?te.altKey:te.ctrlKey)),re}function Oc(a,y,te,ee){ge?setTimeout(St(Os,a),0):a.curOp.focus=et();var re=Qu(a,te,ee),ye=a.doc.sel,He;a.options.dragDrop&&Vt&&!a.isReadOnly()&&te=="single"&&(He=ye.contains(y))>-1&&(on((He=ye.ranges[He]).from(),y)<0||y.xRel>0)&&(on(He.to(),y)>0||y.xRel<0)?Lc(a,ee,y,re):_c(a,ee,y,re)}function Lc(a,y,te,ee){var re=a.display,ye=!1,He=Ji(a,function(yt){xe&&(re.scroller.draggable=!1),a.state.draggingText=!1,Ct(re.wrapper.ownerDocument,"mouseup",He),Ct(re.wrapper.ownerDocument,"mousemove",at),Ct(re.scroller,"dragstart",ut),Ct(re.scroller,"drop",He),ye||(un(yt),ee.addNew||As(a.doc,te,null,null,ee.extend),xe&&!Ve||ge&&oe==9?setTimeout(function(){re.wrapper.ownerDocument.body.focus({preventScroll:!0}),re.input.focus()},20):re.input.focus())}),at=function(yt){ye=ye||Math.abs(y.clientX-yt.clientX)+Math.abs(y.clientY-yt.clientY)>=10},ut=function(){return ye=!0};xe&&(re.scroller.draggable=!0),a.state.draggingText=He,He.copy=!ee.moveOnDrag,re.scroller.dragDrop&&re.scroller.dragDrop(),mt(re.wrapper.ownerDocument,"mouseup",He),mt(re.wrapper.ownerDocument,"mousemove",at),mt(re.scroller,"dragstart",ut),mt(re.scroller,"drop",He),$s(a),setTimeout(function(){return re.input.focus()},20)}function Ju(a,y,te){if(te=="char")return new ba(y,y);if(te=="word")return a.findWordAt(y);if(te=="line")return new ba(Pt(y.line,0),ln(a.doc,Pt(y.line+1,0)));var ee=te(a,y);return new ba(ee.from,ee.to)}function _c(a,y,te,ee){var re=a.display,ye=a.doc;un(y);var He,at,ut=ye.sel,yt=ut.ranges;if(ee.addNew&&!ee.extend?(at=ye.sel.contains(te),at>-1?He=yt[at]:He=new ba(te,te)):(He=ye.sel.primary(),at=ye.sel.primIndex),ee.unit=="rectangle")ee.addNew||(He=new ba(te,te)),te=Ao(a,y,!0,!0),at=-1;else{var hn=Ju(a,te,ee.unit);ee.extend?He=xs(He,hn.anchor,hn.head,ee.extend):He=hn}ee.addNew?at==-1?(at=yt.length,z(ye,Na(a,yt.concat([He]),at),{scroll:!1,origin:"*mouse"})):yt.length>1&&yt[at].empty()&&ee.unit=="char"&&!ee.extend?(z(ye,Na(a,yt.slice(0,at).concat(yt.slice(at+1)),0),{scroll:!1,origin:"*mouse"}),ut=ye.sel):qo(ye,at,He,zt):(at=0,z(ye,new na([He],0),zt),ut=ye.sel);var bn=te;function tr(ia){if(on(bn,ia)!=0)if(bn=ia,ee.unit=="rectangle"){for(var Ca=[],Ka=a.options.tabSize,Ua=nt(_n(ye,te.line).text,te.ch,Ka),si=nt(_n(ye,ia.line).text,ia.ch,Ka),Gi=Math.min(Ua,si),Oo=Math.max(Ua,si),$i=Math.min(te.line,ia.line),bs=Math.min(a.lastLine(),Math.max(te.line,ia.line));$i<=bs;$i++){var us=_n(ye,$i).text,oo=pn(us,Gi,Ka);Gi==Oo?Ca.push(new ba(Pt($i,oo),Pt($i,oo))):us.length>oo&&Ca.push(new ba(Pt($i,oo),Pt($i,pn(us,Oo,Ka))))}Ca.length||Ca.push(new ba(te,te)),z(ye,Na(a,ut.ranges.slice(0,at).concat(Ca),at),{origin:"*mouse",scroll:!1}),a.scrollIntoView(ia)}else{var cs=He,Go=Ju(a,ia,ee.unit),so=cs.anchor,lo;on(Go.anchor,so)>0?(lo=Go.head,so=Cn(cs.from(),Go.anchor)):(lo=Go.anchor,so=be(cs.to(),Go.head));var ro=ut.ranges.slice(0);ro[at]=ru(a,new ba(ln(ye,so),lo)),z(ye,Na(a,ro,at),zt)}}var Kn=re.wrapper.getBoundingClientRect(),Nr=0;function Mr(ia){var Ca=++Nr,Ka=Ao(a,ia,!0,ee.unit=="rectangle");if(Ka)if(on(Ka,bn)!=0){a.curOp.focus=et(),tr(Ka);var Ua=Ss(re,ye);(Ka.line>=Ua.to||Ka.line<Ua.from)&&setTimeout(Ji(a,function(){Nr==Ca&&Mr(ia)}),150)}else{var si=ia.clientY<Kn.top?-20:ia.clientY>Kn.bottom?20:0;si&&setTimeout(Ji(a,function(){Nr==Ca&&(re.scroller.scrollTop+=si,Mr(ia))}),50)}}function Yr(ia){a.state.selectingText=!1,Nr=1/0,ia&&(un(ia),re.input.focus()),Ct(re.wrapper.ownerDocument,"mousemove",oa),Ct(re.wrapper.ownerDocument,"mouseup",da),ye.history.lastSelOrigin=null}var oa=Ji(a,function(ia){ia.buttons===0||!Hn(ia)?Yr(ia):Mr(ia)}),da=Ji(a,Yr);a.state.selectingText=da,mt(re.wrapper.ownerDocument,"mousemove",oa),mt(re.wrapper.ownerDocument,"mouseup",da)}function ru(a,y){var te=y.anchor,ee=y.head,re=_n(a.doc,te.line);if(on(te,ee)==0&&te.sticky==ee.sticky)return y;var ye=fn(re);if(!ye)return y;var He=Lt(ye,te.ch,te.sticky),at=ye[He];if(at.from!=te.ch&&at.to!=te.ch)return y;var ut=He+(at.from==te.ch==(at.level!=1)?0:1);if(ut==0||ut==ye.length)return y;var yt;if(ee.line!=te.line)yt=(ee.line-te.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var hn=Lt(ye,ee.ch,ee.sticky),bn=hn-He||(ee.ch-te.ch)*(at.level==1?-1:1);hn==ut-1||hn==ut?yt=bn<0:yt=bn>0}var tr=ye[ut+(yt?-1:0)],Kn=yt==(tr.level==1),Nr=Kn?tr.from:tr.to,Mr=Kn?"after":"before";return te.ch==Nr&&te.sticky==Mr?y:new ba(new Pt(te.line,Nr,Mr),ee)}function qu(a,y,te,ee){var re,ye;if(y.touches)re=y.touches[0].clientX,ye=y.touches[0].clientY;else try{re=y.clientX,ye=y.clientY}catch(tr){return!1}if(re>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;ee&&un(y);var He=a.display,at=He.lineDiv.getBoundingClientRect();if(ye>at.bottom||!At(a,te))return Et(y);ye-=at.top-He.viewOffset;for(var ut=0;ut<a.display.gutterSpecs.length;++ut){var yt=He.gutters.childNodes[ut];if(yt&&yt.getBoundingClientRect().right>=re){var hn=Qt(a.doc,ye),bn=a.display.gutterSpecs[ut];return Rt(a,te,a,hn,bn.className,y),Et(y)}}}function hu(a,y){return qu(a,y,"gutterClick",!0)}function $u(a,y){Oi(a.display,y)||Fc(a,y)||vt(a,y,"contextmenu")||Re||a.display.input.onContextMenu(y)}function Fc(a,y){return At(a,"gutterContextMenu")?qu(a,y,"gutterContextMenu",!1):!1}function Pc(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),hs(a)}var Pl={toString:function(){return"CodeMirror.Init"}},mu={},gu={};function Bc(a){var y=a.optionHandlers;function te(ee,re,ye,He){a.defaults[ee]=re,ye&&(y[ee]=He?function(at,ut,yt){yt!=Pl&&ye(at,ut,yt)}:ye)}a.defineOption=te,a.Init=Pl,te("value","",function(ee,re){return ee.setValue(re)},!0),te("mode",null,function(ee,re){ee.doc.modeOption=re,ki(ee)},!0),te("indentUnit",2,ki,!0),te("indentWithTabs",!1),te("smartIndent",!0),te("tabSize",4,function(ee){yo(ee),hs(ee),hi(ee)},!0),te("lineSeparator",null,function(ee,re){if(ee.doc.lineSep=re,!!re){var ye=[],He=ee.doc.first;ee.doc.iter(function(ut){for(var yt=0;;){var hn=ut.text.indexOf(re,yt);if(hn==-1)break;yt=hn+re.length,ye.push(Pt(He,hn))}He++});for(var at=ye.length-1;at>=0;at--)Bs(ee.doc,re,ye[at],Pt(ye[at].line,ye[at].ch+re.length))}}),te("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(ee,re,ye){ee.state.specialChars=new RegExp(re.source+(re.test(" ")?"":"| "),"g"),ye!=Pl&&ee.refresh()}),te("specialCharPlaceholder",La,function(ee){return ee.refresh()},!0),te("electricChars",!0),te("inputStyle",Me?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),te("spellcheck",!1,function(ee,re){return ee.getInputField().spellcheck=re},!0),te("autocorrect",!1,function(ee,re){return ee.getInputField().autocorrect=re},!0),te("autocapitalize",!1,function(ee,re){return ee.getInputField().autocapitalize=re},!0),te("rtlMoveVisually",!Le),te("wholeLineUpdateBefore",!0),te("theme","default",function(ee){Pc(ee),En(ee)},!0),te("keyMap","default",function(ee,re,ye){var He=ql(re),at=ye!=Pl&&ql(ye);at&&at.detach&&at.detach(ee,He),He.attach&&He.attach(ee,at||null)}),te("extraKeys",null),te("configureMouse",null),te("lineWrapping",!1,ec,!0),te("gutters",[],function(ee,re){ee.display.gutterSpecs=Wn(re,ee.options.lineNumbers),En(ee)},!0),te("fixedGutter",!0,function(ee,re){ee.display.gutters.style.left=re?zs(ee.display)+"px":"0",ee.refresh()},!0),te("coverGutterNextToScrollbar",!1,function(ee){return Vi(ee)},!0),te("scrollbarStyle","native",function(ee){Mo(ee),Vi(ee),ee.display.scrollbars.setScrollTop(ee.doc.scrollTop),ee.display.scrollbars.setScrollLeft(ee.doc.scrollLeft)},!0),te("lineNumbers",!1,function(ee,re){ee.display.gutterSpecs=Wn(ee.options.gutters,re),En(ee)},!0),te("firstLineNumber",1,En,!0),te("lineNumberFormatter",function(ee){return ee},En,!0),te("showCursorWhenSelecting",!1,ys,!0),te("resetSelectionOnContextMenu",!0),te("lineWiseCopyCut",!0),te("pasteLinesPerSelection",!0),te("selectionsMayTouch",!1),te("readOnly",!1,function(ee,re){re=="nocursor"&&(Ls(ee),ee.display.input.blur()),ee.display.input.readOnlyChanged(re)}),te("screenReaderLabel",null,function(ee,re){re=re===""?null:re,ee.display.input.screenReaderLabelChanged(re)}),te("disableInput",!1,function(ee,re){re||ee.display.input.reset()},!0),te("dragDrop",!0,Mc),te("allowDropFileTypes",null),te("cursorBlinkRate",530),te("cursorScrollMargin",0),te("cursorHeight",1,ys,!0),te("singleCursorHeightPerLine",!0,ys,!0),te("workTime",100),te("workDelay",100),te("flattenSpans",!0,yo,!0),te("addModeClass",!1,yo,!0),te("pollInterval",100),te("undoDepth",200,function(ee,re){return ee.doc.history.undoDepth=re}),te("historyEventDelay",1250),te("viewportMargin",10,function(ee){return ee.refresh()},!0),te("maxHighlightLength",1e4,yo,!0),te("moveInputWithCursor",!0,function(ee,re){re||ee.display.input.resetPosition()}),te("tabindex",null,function(ee,re){return ee.display.input.getField().tabIndex=re||""}),te("autofocus",null),te("direction","ltr",function(ee,re){return ee.doc.setDirection(re)},!0),te("phrases",null)}function Mc(a,y,te){var ee=te&&te!=Pl;if(!y!=!ee){var re=a.display.dragFunctions,ye=y?mt:Ct;ye(a.display.scroller,"dragstart",re.start),ye(a.display.scroller,"dragenter",re.enter),ye(a.display.scroller,"dragover",re.over),ye(a.display.scroller,"dragleave",re.leave),ye(a.display.scroller,"drop",re.drop)}}function ec(a){a.options.lineWrapping?(rt(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(Ye(a.display.wrapper,"CodeMirror-wrap"),br(a)),Gs(a),hi(a),hs(a),setTimeout(function(){return Vi(a)},100)}function Xi(a,y){var te=this;if(!(this instanceof Xi))return new Xi(a,y);this.options=y=y?Gt(y):{},Gt(mu,y,!1);var ee=y.value;typeof ee=="string"?ee=new ls(ee,y.mode,null,y.lineSeparator,y.direction):y.mode&&(ee.modeOption=y.mode),this.doc=ee;var re=new Xi.inputStyles[y.inputStyle](this),ye=this.display=new rr(a,ee,re,y);ye.wrapper.CodeMirror=this,Pc(this),y.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Mo(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 je,keySeq:null,specialChars:null},y.autofocus&&!Me&&ye.input.focus(),ge&&oe<11&&setTimeout(function(){return te.display.input.reset(!0)},20),tc(this),Cc(),No(this),this.curOp.forceUpdate=!0,ii(this,ee),y.autofocus&&!Me||this.hasFocus()?setTimeout(function(){te.hasFocus()&&!te.state.focused&&Po(te)},20):Ls(this);for(var He in gu)gu.hasOwnProperty(He)&&gu[He](this,y[He],Pl);Xt(this),y.finishInit&&y.finishInit(this);for(var at=0;at<ku.length;++at)ku[at](this);Xo(this),xe&&y.lineWrapping&&getComputedStyle(ye.lineDiv).textRendering=="optimizelegibility"&&(ye.lineDiv.style.textRendering="auto")}Xi.defaults=mu,Xi.optionHandlers=gu;function tc(a){var y=a.display;mt(y.scroller,"mousedown",Ji(a,Xu)),ge&&oe<11?mt(y.scroller,"dblclick",Ji(a,function(ut){if(!vt(a,ut)){var yt=Ao(a,ut);if(!(!yt||hu(a,ut)||Oi(a.display,ut))){un(ut);var hn=a.findWordAt(yt);As(a.doc,hn.anchor,hn.head)}}})):mt(y.scroller,"dblclick",function(ut){return vt(a,ut)||un(ut)}),mt(y.scroller,"contextmenu",function(ut){return $u(a,ut)}),mt(y.input.getField(),"contextmenu",function(ut){y.scroller.contains(ut.target)||$u(a,ut)});var te,ee={end:0};function re(){y.activeTouch&&(te=setTimeout(function(){return y.activeTouch=null},1e3),ee=y.activeTouch,ee.end=+new Date)}function ye(ut){if(ut.touches.length!=1)return!1;var yt=ut.touches[0];return yt.radiusX<=1&&yt.radiusY<=1}function He(ut,yt){if(yt.left==null)return!0;var hn=yt.left-ut.left,bn=yt.top-ut.top;return hn*hn+bn*bn>20*20}mt(y.scroller,"touchstart",function(ut){if(!vt(a,ut)&&!ye(ut)&&!hu(a,ut)){y.input.ensurePolled(),clearTimeout(te);var yt=+new Date;y.activeTouch={start:yt,moved:!1,prev:yt-ee.end<=300?ee:null},ut.touches.length==1&&(y.activeTouch.left=ut.touches[0].pageX,y.activeTouch.top=ut.touches[0].pageY)}}),mt(y.scroller,"touchmove",function(){y.activeTouch&&(y.activeTouch.moved=!0)}),mt(y.scroller,"touchend",function(ut){var yt=y.activeTouch;if(yt&&!Oi(y,ut)&&yt.left!=null&&!yt.moved&&new Date-yt.start<300){var hn=a.coordsChar(y.activeTouch,"page"),bn;!yt.prev||He(yt,yt.prev)?bn=new ba(hn,hn):!yt.prev.prev||He(yt,yt.prev.prev)?bn=a.findWordAt(hn):bn=new ba(Pt(hn.line,0),ln(a.doc,Pt(hn.line+1,0))),a.setSelection(bn.anchor,bn.head),a.focus(),un(ut)}re()}),mt(y.scroller,"touchcancel",re),mt(y.scroller,"scroll",function(){y.scroller.clientHeight&&(Bo(a,y.scroller.scrollTop),wo(a,y.scroller.scrollLeft,!0),Rt(a,"scroll",a))}),mt(y.scroller,"mousewheel",function(ut){return ci(a,ut)}),mt(y.scroller,"DOMMouseScroll",function(ut){return ci(a,ut)}),mt(y.wrapper,"scroll",function(){return y.wrapper.scrollTop=y.wrapper.scrollLeft=0}),y.dragFunctions={enter:function(ut){vt(a,ut)||Ln(ut)},over:function(ut){vt(a,ut)||(Sc(a,ut),Ln(ut))},start:function(ut){return yc(a,ut)},drop:Ji(a,Ec),leave:function(ut){vt(a,ut)||cu(a)}};var at=y.input.getField();mt(at,"keyup",function(ut){return Yu.call(a,ut)}),mt(at,"keydown",Ji(a,Ku)),mt(at,"keypress",Ji(a,Iu)),mt(at,"focus",function(ut){return Po(a,ut)}),mt(at,"blur",function(ut){return Ls(a,ut)})}var ku=[];Xi.defineInitHook=function(a){return ku.push(a)};function Bl(a,y,te,ee){var re=a.doc,ye;te==null&&(te="add"),te=="smart"&&(re.mode.indent?ye=Kr(a,y).state:te="prev");var He=a.options.tabSize,at=_n(re,y),ut=nt(at.text,null,He);at.stateAfter&&(at.stateAfter=null);var yt=at.text.match(/^\s*/)[0],hn;if(!ee&&!/\S/.test(at.text))hn=0,te="not";else if(te=="smart"&&(hn=re.mode.indent(ye,at.text.slice(yt.length),at.text),hn==Ot||hn>150)){if(!ee)return;te="prev"}te=="prev"?y>re.first?hn=nt(_n(re,y-1).text,null,He):hn=0:te=="add"?hn=ut+a.options.indentUnit:te=="subtract"?hn=ut-a.options.indentUnit:typeof te=="number"&&(hn=ut+te),hn=Math.max(0,hn);var bn="",tr=0;if(a.options.indentWithTabs)for(var Kn=Math.floor(hn/He);Kn;--Kn)tr+=He,bn+=" ";if(tr<hn&&(bn+=Yt(hn-tr)),bn!=yt)return Bs(re,bn,Pt(y,0),Pt(y,yt.length),"+input"),at.stateAfter=null,!0;for(var Nr=0;Nr<re.sel.ranges.length;Nr++){var Mr=re.sel.ranges[Nr];if(Mr.head.line==y&&Mr.head.ch<yt.length){var Yr=Pt(y,yt.length);qo(re,Nr,new ba(Yr,Yr));break}}}var nl=null;function Ml(a){nl=a}function Ru(a,y,te,ee,re){var ye=a.doc;a.display.shift=!1,ee||(ee=ye.sel);var He=+new Date-200,at=re=="paste"||a.state.pasteIncoming>He,ut=cr(y),yt=null;if(at&&ee.ranges.length>1)if(nl&&nl.text.join(`
`)==y){if(ee.ranges.length%nl.text.length==0){yt=[];for(var hn=0;hn<nl.text.length;hn++)yt.push(ye.splitLines(nl.text[hn]))}}else ut.length==ee.ranges.length&&a.options.pasteLinesPerSelection&&(yt=$t(ut,function(oa){return[oa]}));for(var bn=a.curOp.updateInput,tr=ee.ranges.length-1;tr>=0;tr--){var Kn=ee.ranges[tr],Nr=Kn.from(),Mr=Kn.to();Kn.empty()&&(te&&te>0?Nr=Pt(Nr.line,Nr.ch-te):a.state.overwrite&&!at?Mr=Pt(Mr.line,Math.min(_n(ye,Mr.line).text.length,Mr.ch+Bt(ut).length)):at&&nl&&nl.lineWise&&nl.text.join(`
`)==ut.join(`
`)&&(Nr=Mr=Pt(Nr.line,0)));var Yr={from:Nr,to:Mr,text:yt?yt[tr%yt.length]:ut,origin:re||(at?"paste":a.state.cutIncoming>He?"cut":"+input")};Va(a.doc,Yr),gi(a,"inputRead",a,Yr)}y&&!at&&rc(a,y),ns(a),a.curOp.updateInput<2&&(a.curOp.updateInput=bn),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function nc(a,y){var te=a.clipboardData&&a.clipboardData.getData("Text");if(te)return a.preventDefault(),!y.isReadOnly()&&!y.options.disableInput&&ko(y,function(){return Ru(y,te,0,null,"paste")}),!0}function rc(a,y){if(!(!a.options.electricChars||!a.options.smartIndent))for(var te=a.doc.sel,ee=te.ranges.length-1;ee>=0;ee--){var re=te.ranges[ee];if(!(re.head.ch>100||ee&&te.ranges[ee-1].head.line==re.head.line)){var ye=a.getModeAt(re.head),He=!1;if(ye.electricChars){for(var at=0;at<ye.electricChars.length;at++)if(y.indexOf(ye.electricChars.charAt(at))>-1){He=Bl(a,re.head.line,"smart");break}}else ye.electricInput&&ye.electricInput.test(_n(a.doc,re.head.line).text.slice(0,re.head.ch))&&(He=Bl(a,re.head.line,"smart"));He&&gi(a,"electricInput",a,re.head.line)}}}function ac(a){for(var y=[],te=[],ee=0;ee<a.doc.sel.ranges.length;ee++){var re=a.doc.sel.ranges[ee].head.line,ye={anchor:Pt(re,0),head:Pt(re+1,0)};te.push(ye),y.push(a.getRange(ye.anchor,ye.head))}return{text:y,ranges:te}}function ic(a,y,te,ee){a.setAttribute("autocorrect",te?"":"off"),a.setAttribute("autocapitalize",ee?"":"off"),a.setAttribute("spellcheck",!!y)}function oc(){var a=tt("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),y=tt("div",[a],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return xe?a.style.width="1000px":a.setAttribute("wrap","off"),Ke&&(a.style.border="1px solid black"),ic(a),y}function Uc(a){var y=a.optionHandlers,te=a.helpers={};a.prototype={constructor:a,focus:function(){window.focus(),this.display.input.focus()},setOption:function(ee,re){var ye=this.options,He=ye[ee];ye[ee]==re&&ee!="mode"||(ye[ee]=re,y.hasOwnProperty(ee)&&Ji(this,y[ee])(this,re,He),Rt(this,"optionChange",this,ee))},getOption:function(ee){return this.options[ee]},getDoc:function(){return this.doc},addKeyMap:function(ee,re){this.state.keyMaps[re?"push":"unshift"](ql(ee))},removeKeyMap:function(ee){for(var re=this.state.keyMaps,ye=0;ye<re.length;++ye)if(re[ye]==ee||re[ye].name==ee)return re.splice(ye,1),!0},addOverlay:Eo(function(ee,re){var ye=ee.token?ee:a.getMode(this.options,ee);if(ye.startState)throw new Error("Overlays may not be stateful.");cn(this.state.overlays,{mode:ye,modeSpec:ee,opaque:re&&re.opaque,priority:re&&re.priority||0},function(He){return He.priority}),this.state.modeGen++,hi(this)}),removeOverlay:Eo(function(ee){for(var re=this.state.overlays,ye=0;ye<re.length;++ye){var He=re[ye].modeSpec;if(He==ee||typeof ee=="string"&&He.name==ee){re.splice(ye,1),this.state.modeGen++,hi(this);return}}}),indentLine:Eo(function(ee,re,ye){typeof re!="string"&&typeof re!="number"&&(re==null?re=this.options.smartIndent?"smart":"prev":re=re?"add":"subtract"),hr(this.doc,ee)&&Bl(this,ee,re,ye)}),indentSelection:Eo(function(ee){for(var re=this.doc.sel.ranges,ye=-1,He=0;He<re.length;He++){var at=re[He];if(at.empty())at.head.line>ye&&(Bl(this,at.head.line,ee,!0),ye=at.head.line,He==this.doc.sel.primIndex&&ns(this));else{var ut=at.from(),yt=at.to(),hn=Math.max(ye,ut.line);ye=Math.min(this.lastLine(),yt.line-(yt.ch?0:1))+1;for(var bn=hn;bn<ye;++bn)Bl(this,bn,ee);var tr=this.doc.sel.ranges;ut.ch==0&&re.length==tr.length&&tr[He].from().ch>0&&qo(this.doc,He,new ba(ut,tr[He].to()),ot)}}}),getTokenAt:function(ee,re){return $r(this,ee,re)},getLineTokens:function(ee,re){return $r(this,Pt(ee),re,!0)},getTokenTypeAt:function(ee){ee=ln(this.doc,ee);var re=Rr(this,_n(this.doc,ee.line)),ye=0,He=(re.length-1)/2,at=ee.ch,ut;if(at==0)ut=re[2];else for(;;){var yt=ye+He>>1;if((yt?re[yt*2-1]:0)>=at)He=yt;else if(re[yt*2+1]<at)ye=yt+1;else{ut=re[yt*2+2];break}}var hn=ut?ut.indexOf("overlay "):-1;return hn<0?ut:hn==0?null:ut.slice(0,hn-1)},getModeAt:function(ee){var re=this.doc.mode;return re.innerMode?a.innerMode(re,this.getTokenAt(ee).state).mode:re},getHelper:function(ee,re){return this.getHelpers(ee,re)[0]},getHelpers:function(ee,re){var ye=[];if(!te.hasOwnProperty(re))return ye;var He=te[re],at=this.getModeAt(ee);if(typeof at[re]=="string")He[at[re]]&&ye.push(He[at[re]]);else if(at[re])for(var ut=0;ut<at[re].length;ut++){var yt=He[at[re][ut]];yt&&ye.push(yt)}else at.helperType&&He[at.helperType]?ye.push(He[at.helperType]):He[at.name]&&ye.push(He[at.name]);for(var hn=0;hn<He._global.length;hn++){var bn=He._global[hn];bn.pred(at,this)&&Be(ye,bn.val)==-1&&ye.push(bn.val)}return ye},getStateAfter:function(ee,re){var ye=this.doc;return ee=yr(ye,ee==null?ye.first+ye.size-1:ee),Kr(this,ee+1,re).state},cursorCoords:function(ee,re){var ye,He=this.doc.sel.primary();return ee==null?ye=He.head:typeof ee=="object"?ye=ln(this.doc,ee):ye=ee?He.from():He.to(),Fi(this,ye,re||"page")},charCoords:function(ee,re){return Qi(this,ln(this.doc,ee),re||"page")},coordsChar:function(ee,re){return ee=ms(this,ee,re||"page"),Pi(this,ee.left,ee.top)},lineAtHeight:function(ee,re){return ee=ms(this,{top:ee,left:0},re||"page").top,Qt(this.doc,ee+this.display.viewOffset)},heightAtLine:function(ee,re,ye){var He=!1,at;if(typeof ee=="number"){var ut=this.doc.first+this.doc.size-1;ee<this.doc.first?ee=this.doc.first:ee>ut&&(ee=ut,He=!0),at=_n(this.doc,ee)}else at=ee;return Es(this,at,{top:0,left:0},re||"page",ye||He).top+(He?this.doc.height-nr(at):0)},defaultTextHeight:function(){return Bi(this.display)},defaultCharWidth:function(){return xo(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(ee,re,ye,He,at){var ut=this.display;ee=Fi(this,ln(this.doc,ee));var yt=ee.bottom,hn=ee.left;if(re.style.position="absolute",re.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(re),ut.sizer.appendChild(re),He=="over")yt=ee.top;else if(He=="above"||He=="near"){var bn=Math.max(ut.wrapper.clientHeight,this.doc.height),tr=Math.max(ut.sizer.clientWidth,ut.lineSpace.clientWidth);(He=="above"||ee.bottom+re.offsetHeight>bn)&&ee.top>re.offsetHeight?yt=ee.top-re.offsetHeight:ee.bottom+re.offsetHeight<=bn&&(yt=ee.bottom),hn+re.offsetWidth>tr&&(hn=tr-re.offsetWidth)}re.style.top=yt+"px",re.style.left=re.style.right="",at=="right"?(hn=ut.sizer.clientWidth-re.offsetWidth,re.style.right="0px"):(at=="left"?hn=0:at=="middle"&&(hn=(ut.sizer.clientWidth-re.offsetWidth)/2),re.style.left=hn+"px"),ye&&Fs(this,{left:hn,top:yt,right:hn+re.offsetWidth,bottom:yt+re.offsetHeight})},triggerOnKeyDown:Eo(Ku),triggerOnKeyPress:Eo(Iu),triggerOnKeyUp:Yu,triggerOnMouseDown:Eo(Xu),execCommand:function(ee){if($l.hasOwnProperty(ee))return $l[ee].call(null,this)},triggerElectric:Eo(function(ee){rc(this,ee)}),findPosH:function(ee,re,ye,He){var at=1;re<0&&(at=-1,re=-re);for(var ut=ln(this.doc,ee),yt=0;yt<re&&(ut=vu(this.doc,ut,at,ye,He),!ut.hitSide);++yt);return ut},moveH:Eo(function(ee,re){var ye=this;this.extendSelectionsBy(function(He){return ye.display.shift||ye.doc.extend||He.empty()?vu(ye.doc,He.head,ee,re,ye.options.rtlMoveVisually):ee<0?He.from():He.to()},Ut)}),deleteH:Eo(function(ee,re){var ye=this.doc.sel,He=this.doc;ye.somethingSelected()?He.replaceSelection("",null,"+delete"):Fl(this,function(at){var ut=vu(He,at.head,ee,re,!1);return ee<0?{from:ut,to:at.head}:{from:at.head,to:ut}})}),findPosV:function(ee,re,ye,He){var at=1,ut=He;re<0&&(at=-1,re=-re);for(var yt=ln(this.doc,ee),hn=0;hn<re;++hn){var bn=Fi(this,yt,"div");if(ut==null?ut=bn.left:bn.left=ut,yt=au(this,bn,at,ye),yt.hitSide)break}return yt},moveV:Eo(function(ee,re){var ye=this,He=this.doc,at=[],ut=!this.display.shift&&!He.extend&&He.sel.somethingSelected();if(He.extendSelectionsBy(function(hn){if(ut)return ee<0?hn.from():hn.to();var bn=Fi(ye,hn.head,"div");hn.goalColumn!=null&&(bn.left=hn.goalColumn),at.push(bn.left);var tr=au(ye,bn,ee,re);return re=="page"&&hn==He.sel.primary()&&ol(ye,Qi(ye,tr,"div").top-bn.top),tr},Ut),at.length)for(var yt=0;yt<He.sel.ranges.length;yt++)He.sel.ranges[yt].goalColumn=at[yt]}),findWordAt:function(ee){var re=this.doc,ye=_n(re,ee.line).text,He=ee.ch,at=ee.ch;if(ye){var ut=this.getHelper(ee,"wordChars");(ee.sticky=="before"||at==ye.length)&&He?--He:++at;for(var yt=ye.charAt(He),hn=De(yt,ut)?function(bn){return De(bn,ut)}:/\s/.test(yt)?function(bn){return/\s/.test(bn)}:function(bn){return!/\s/.test(bn)&&!De(bn)};He>0&&hn(ye.charAt(He-1));)--He;for(;at<ye.length&&hn(ye.charAt(at));)++at}return new ba(Pt(ee.line,He),Pt(ee.line,at))},toggleOverwrite:function(ee){ee!=null&&ee==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?rt(this.display.cursorDiv,"CodeMirror-overwrite"):Ye(this.display.cursorDiv,"CodeMirror-overwrite"),Rt(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==et()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Eo(function(ee,re){Yo(this,ee,re)}),getScrollInfo:function(){var ee=this.display.scroller;return{left:ee.scrollLeft,top:ee.scrollTop,height:ee.scrollHeight-ti(this)-this.display.barHeight,width:ee.scrollWidth-ti(this)-this.display.barWidth,clientHeight:co(this),clientWidth:ao(this)}},scrollIntoView:Eo(function(ee,re){ee==null?(ee={from:this.doc.sel.primary().head,to:null},re==null&&(re=this.options.cursorScrollMargin)):typeof ee=="number"?ee={from:Pt(ee,0),to:null}:ee.from==null&&(ee={from:ee,to:null}),ee.to||(ee.to=ee.from),ee.margin=re||0,ee.from.line!=null?Ps(this,ee):rs(this,ee.from,ee.to,ee.margin)}),setSize:Eo(function(ee,re){var ye=this,He=function(ut){return typeof ut=="number"||/^\d+$/.test(String(ut))?ut+"px":ut};ee!=null&&(this.display.wrapper.style.width=He(ee)),re!=null&&(this.display.wrapper.style.height=He(re)),this.options.lineWrapping&&Ns(this);var at=this.display.viewFrom;this.doc.iter(at,this.display.viewTo,function(ut){if(ut.widgets){for(var yt=0;yt<ut.widgets.length;yt++)if(ut.widgets[yt].noHScroll){jo(ye,at,"widget");break}}++at}),this.curOp.forceUpdate=!0,Rt(this,"refresh",this)}),operation:function(ee){return ko(this,ee)},startOperation:function(){return No(this)},endOperation:function(){return Xo(this)},refresh:Eo(function(){var ee=this.display.cachedTextHeight;hi(this),this.curOp.forceUpdate=!0,hs(this),Yo(this,this.doc.scrollLeft,this.doc.scrollTop),dt(this.display),(ee==null||Math.abs(ee-Bi(this.display))>.5||this.options.lineWrapping)&&Gs(this),Rt(this,"refresh",this)}),swapDoc:Eo(function(ee){var re=this.doc;return re.cm=null,this.state.selectingText&&this.state.selectingText(),ii(this,ee),hs(this),this.display.input.reset(),Yo(this,ee.scrollLeft,ee.scrollTop),this.curOp.forceScroll=!0,gi(this,"swapDoc",this,re),re}),phrase:function(ee){var re=this.options.phrases;return re&&Object.prototype.hasOwnProperty.call(re,ee)?re[ee]:ee},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}},Je(a),a.registerHelper=function(ee,re,ye){te.hasOwnProperty(ee)||(te[ee]=a[ee]={_global:[]}),te[ee][re]=ye},a.registerGlobalHelper=function(ee,re,ye,He){a.registerHelper(ee,re,He),te[ee]._global.push({pred:ye,val:He})}}function vu(a,y,te,ee,re){var ye=y,He=te,at=_n(a,y.line),ut=re&&a.direction=="rtl"?-te:te;function yt(){var da=y.line+ut;return da<a.first||da>=a.first+a.size?!1:(y=new Pt(da,y.ch,y.sticky),at=_n(a,da))}function hn(da){var ia;if(ee=="codepoint"){var Ca=at.text.charCodeAt(y.ch+(ee>0?0:-1));isNaN(Ca)?ia=null:ia=new Pt(y.line,Math.max(0,Math.min(at.text.length,y.ch+te*(Ca>=55296&&Ca<56320?2:1))),-te)}else re?ia=wc(a.cm,at,y,te):ia=yl(at,y,te);if(ia==null)if(!da&&yt())y=Au(re,a.cm,at,y.line,ut);else return!1;else y=ia;return!0}if(ee=="char"||ee=="codepoint")hn();else if(ee=="column")hn(!0);else if(ee=="word"||ee=="group")for(var bn=null,tr=ee=="group",Kn=a.cm&&a.cm.getHelper(y,"wordChars"),Nr=!0;!(te<0&&!hn(!Nr));Nr=!1){var Mr=at.text.charAt(y.ch)||`
`,Yr=De(Mr,Kn)?"w":tr&&Mr==`
`?"n":!tr||/\s/.test(Mr)?null:"p";if(tr&&!Nr&&!Yr&&(Yr="s"),bn&&bn!=Yr){te<0&&(te=1,hn(),y.sticky="after");break}if(Yr&&(bn=Yr),te>0&&!hn(!Nr))break}var oa=Ea(a,y,ye,He,!0);return sr(ye,oa)&&(oa.hitSide=!0),oa}function au(a,y,te,ee){var re=a.doc,ye=y.left,He;if(ee=="page"){var at=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),ut=Math.max(at-.5*Bi(a.display),3);He=(te>0?y.bottom:y.top)+te*ut}else ee=="line"&&(He=te>0?y.bottom+3:y.top-3);for(var yt;yt=Pi(a,ye,He),!!yt.outside;){if(te<0?He<=0:He>=re.height){yt.hitSide=!0;break}He+=te*5}return yt}var wi=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new je,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};wi.prototype.init=function(a){var y=this,te=this,ee=te.cm,re=te.div=a.lineDiv;ic(re,ee.options.spellcheck,ee.options.autocorrect,ee.options.autocapitalize);function ye(at){for(var ut=at.target;ut;ut=ut.parentNode){if(ut==re)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(ut.className))break}return!1}mt(re,"paste",function(at){!ye(at)||vt(ee,at)||nc(at,ee)||oe<=11&&setTimeout(Ji(ee,function(){return y.updateFromDOM()}),20)}),mt(re,"compositionstart",function(at){y.composing={data:at.data,done:!1}}),mt(re,"compositionupdate",function(at){y.composing||(y.composing={data:at.data,done:!1})}),mt(re,"compositionend",function(at){y.composing&&(at.data!=y.composing.data&&y.readFromDOMSoon(),y.composing.done=!0)}),mt(re,"touchstart",function(){return te.forceCompositionEnd()}),mt(re,"input",function(){y.composing||y.readFromDOMSoon()});function He(at){if(!(!ye(at)||vt(ee,at))){if(ee.somethingSelected())Ml({lineWise:!1,text:ee.getSelections()}),at.type=="cut"&&ee.replaceSelection("",null,"cut");else if(ee.options.lineWiseCopyCut){var ut=ac(ee);Ml({lineWise:!0,text:ut.text}),at.type=="cut"&&ee.operation(function(){ee.setSelections(ut.ranges,0,ot),ee.replaceSelection("",null,"cut")})}else return;if(at.clipboardData){at.clipboardData.clearData();var yt=nl.text.join(`
`);if(at.clipboardData.setData("Text",yt),at.clipboardData.getData("Text")==yt){at.preventDefault();return}}var hn=oc(),bn=hn.firstChild;ee.display.lineSpace.insertBefore(hn,ee.display.lineSpace.firstChild),bn.value=nl.text.join(`
`);var tr=document.activeElement;kt(bn),setTimeout(function(){ee.display.lineSpace.removeChild(hn),tr.focus(),tr==re&&te.showPrimarySelection()},50)}}mt(re,"copy",He),mt(re,"cut",He)},wi.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")},wi.prototype.prepareSelection=function(){var a=al(this.cm,!1);return a.focus=document.activeElement==this.div,a},wi.prototype.showSelection=function(a,y){!a||!this.cm.display.view.length||((a.focus||y)&&this.showPrimarySelection(),this.showMultipleSelections(a))},wi.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},wi.prototype.showPrimarySelection=function(){var a=this.getSelection(),y=this.cm,te=y.doc.sel.primary(),ee=te.from(),re=te.to();if(y.display.viewTo==y.display.viewFrom||ee.line>=y.display.viewTo||re.line<y.display.viewFrom){a.removeAllRanges();return}var ye=bu(y,a.anchorNode,a.anchorOffset),He=bu(y,a.focusNode,a.focusOffset);if(!(ye&&!ye.bad&&He&&!He.bad&&on(Cn(ye,He),ee)==0&&on(be(ye,He),re)==0)){var at=y.display.view,ut=ee.line>=y.display.viewFrom&&sc(y,ee)||{node:at[0].measure.map[2],offset:0},yt=re.line<y.display.viewTo&&sc(y,re);if(!yt){var hn=at[at.length-1].measure,bn=hn.maps?hn.maps[hn.maps.length-1]:hn.map;yt={node:bn[bn.length-1],offset:bn[bn.length-2]-bn[bn.length-3]}}if(!ut||!yt){a.removeAllRanges();return}var tr=a.rangeCount&&a.getRangeAt(0),Kn;try{Kn=Ue(ut.node,ut.offset,yt.offset,yt.node)}catch(Nr){}Kn&&(!b&&y.state.focused?(a.collapse(ut.node,ut.offset),Kn.collapsed||(a.removeAllRanges(),a.addRange(Kn))):(a.removeAllRanges(),a.addRange(Kn)),tr&&a.anchorNode==null?a.addRange(tr):b&&this.startGracePeriod()),this.rememberSelection()}},wi.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)},wi.prototype.showMultipleSelections=function(a){Fe(this.cm.display.cursorDiv,a.cursors),Fe(this.cm.display.selectionDiv,a.selection)},wi.prototype.rememberSelection=function(){var a=this.getSelection();this.lastAnchorNode=a.anchorNode,this.lastAnchorOffset=a.anchorOffset,this.lastFocusNode=a.focusNode,this.lastFocusOffset=a.focusOffset},wi.prototype.selectionInEditor=function(){var a=this.getSelection();if(!a.rangeCount)return!1;var y=a.getRangeAt(0).commonAncestorContainer;return Xe(this.div,y)},wi.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},wi.prototype.blur=function(){this.div.blur()},wi.prototype.getField=function(){return this.div},wi.prototype.supportsTouch=function(){return!0},wi.prototype.receivedFocus=function(){var a=this;this.selectionInEditor()?this.pollSelection():ko(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)},wi.prototype.selectionChanged=function(){var a=this.getSelection();return a.anchorNode!=this.lastAnchorNode||a.anchorOffset!=this.lastAnchorOffset||a.focusNode!=this.lastFocusNode||a.focusOffset!=this.lastFocusOffset},wi.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var a=this.getSelection(),y=this.cm;if(qe&&Se&&this.cm.display.gutterSpecs.length&&Du(a.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var te=bu(y,a.anchorNode,a.anchorOffset),ee=bu(y,a.focusNode,a.focusOffset);te&&ee&&ko(y,function(){z(y.doc,Ai(te,ee),ot),(te.bad||ee.bad)&&(y.curOp.selectionChanged=!0)})}}},wi.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var a=this.cm,y=a.display,te=a.doc.sel.primary(),ee=te.from(),re=te.to();if(ee.ch==0&&ee.line>a.firstLine()&&(ee=Pt(ee.line-1,_n(a.doc,ee.line-1).length)),re.ch==_n(a.doc,re.line).text.length&&re.line<a.lastLine()&&(re=Pt(re.line+1,0)),ee.line<y.viewFrom||re.line>y.viewTo-1)return!1;var ye,He,at;ee.line==y.viewFrom||(ye=Fo(a,ee.line))==0?(He=rn(y.view[0].line),at=y.view[0].node):(He=rn(y.view[ye].line),at=y.view[ye-1].node.nextSibling);var ut=Fo(a,re.line),yt,hn;if(ut==y.view.length-1?(yt=y.viewTo-1,hn=y.lineDiv.lastChild):(yt=rn(y.view[ut+1].line)-1,hn=y.view[ut+1].node.previousSibling),!at)return!1;for(var bn=a.doc.splitLines(Hc(a,at,hn,He,yt)),tr=Sr(a.doc,Pt(He,0),Pt(yt,_n(a.doc,yt).text.length));bn.length>1&&tr.length>1;)if(Bt(bn)==Bt(tr))bn.pop(),tr.pop(),yt--;else if(bn[0]==tr[0])bn.shift(),tr.shift(),He++;else break;for(var Kn=0,Nr=0,Mr=bn[0],Yr=tr[0],oa=Math.min(Mr.length,Yr.length);Kn<oa&&Mr.charCodeAt(Kn)==Yr.charCodeAt(Kn);)++Kn;for(var da=Bt(bn),ia=Bt(tr),Ca=Math.min(da.length-(bn.length==1?Kn:0),ia.length-(tr.length==1?Kn:0));Nr<Ca&&da.charCodeAt(da.length-Nr-1)==ia.charCodeAt(ia.length-Nr-1);)++Nr;if(bn.length==1&&tr.length==1&&He==ee.line)for(;Kn&&Kn>ee.ch&&da.charCodeAt(da.length-Nr-1)==ia.charCodeAt(ia.length-Nr-1);)Kn--,Nr++;bn[bn.length-1]=da.slice(0,da.length-Nr).replace(/^\u200b+/,""),bn[0]=bn[0].slice(Kn).replace(/\u200b+$/,"");var Ka=Pt(He,Kn),Ua=Pt(yt,tr.length?Bt(tr).length-Nr:0);if(bn.length>1||bn[0]||on(Ka,Ua))return Bs(a.doc,bn,Ka,Ua,"+input"),!0},wi.prototype.ensurePolled=function(){this.forceCompositionEnd()},wi.prototype.reset=function(){this.forceCompositionEnd()},wi.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},wi.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))},wi.prototype.updateFromDOM=function(){var a=this;(this.cm.isReadOnly()||!this.pollContent())&&ko(this.cm,function(){return hi(a.cm)})},wi.prototype.setUneditable=function(a){a.contentEditable="false"},wi.prototype.onKeyPress=function(a){a.charCode==0||this.composing||(a.preventDefault(),this.cm.isReadOnly()||Ji(this.cm,Ru)(this.cm,String.fromCharCode(a.charCode==null?a.keyCode:a.charCode),0))},wi.prototype.readOnlyChanged=function(a){this.div.contentEditable=String(a!="nocursor")},wi.prototype.onContextMenu=function(){},wi.prototype.resetPosition=function(){},wi.prototype.needsContentAttribute=!0;function sc(a,y){var te=Ni(a,y.line);if(!te||te.hidden)return null;var ee=_n(a.doc,y.line),re=Ii(te,ee,y.line),ye=fn(ee,a.doc.direction),He="left";if(ye){var at=Lt(ye,y.ch);He=at%2?"right":"left"}var ut=Hs(re.map,y.ch,He);return ut.offset=ut.collapse=="right"?ut.end:ut.start,ut}function Du(a){for(var y=a;y;y=y.parentNode)if(/CodeMirror-gutter-wrapper/.test(y.className))return!0;return!1}function Dl(a,y){return y&&(a.bad=!0),a}function Hc(a,y,te,ee,re){var ye="",He=!1,at=a.doc.lineSeparator(),ut=!1;function yt(Kn){return function(Nr){return Nr.id==Kn}}function hn(){He&&(ye+=at,ut&&(ye+=at),He=ut=!1)}function bn(Kn){Kn&&(hn(),ye+=Kn)}function tr(Kn){if(Kn.nodeType==1){var Nr=Kn.getAttribute("cm-text");if(Nr){bn(Nr);return}var Mr=Kn.getAttribute("cm-marker"),Yr;if(Mr){var oa=a.findMarks(Pt(ee,0),Pt(re+1,0),yt(+Mr));oa.length&&(Yr=oa[0].find(0))&&bn(Sr(a.doc,Yr.from,Yr.to).join(at));return}if(Kn.getAttribute("contenteditable")=="false")return;var da=/^(pre|div|p|li|table|br)$/i.test(Kn.nodeName);if(!/^br$/i.test(Kn.nodeName)&&Kn.textContent.length==0)return;da&&hn();for(var ia=0;ia<Kn.childNodes.length;ia++)tr(Kn.childNodes[ia]);/^(pre|p)$/i.test(Kn.nodeName)&&(ut=!0),da&&(He=!0)}else Kn.nodeType==3&&bn(Kn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;tr(y),y!=te;)y=y.nextSibling,ut=!1;return ye}function bu(a,y,te){var ee;if(y==a.display.lineDiv){if(ee=a.display.lineDiv.childNodes[te],!ee)return Dl(a.clipPos(Pt(a.display.viewTo-1)),!0);y=null,te=0}else for(ee=y;;ee=ee.parentNode){if(!ee||ee==a.display.lineDiv)return null;if(ee.parentNode&&ee.parentNode==a.display.lineDiv)break}for(var re=0;re<a.display.view.length;re++){var ye=a.display.view[re];if(ye.node==ee)return zc(ye,y,te)}}function zc(a,y,te){var ee=a.text.firstChild,re=!1;if(!y||!Xe(ee,y))return Dl(Pt(rn(a.line),0),!0);if(y==ee&&(re=!0,y=ee.childNodes[te],te=0,!y)){var ye=a.rest?Bt(a.rest):a.line;return Dl(Pt(rn(ye),ye.text.length),re)}var He=y.nodeType==3?y:null,at=y;for(!He&&y.childNodes.length==1&&y.firstChild.nodeType==3&&(He=y.firstChild,te&&(te=He.nodeValue.length));at.parentNode!=ee;)at=at.parentNode;var ut=a.measure,yt=ut.maps;function hn(Yr,oa,da){for(var ia=-1;ia<(yt?yt.length:0);ia++)for(var Ca=ia<0?ut.map:yt[ia],Ka=0;Ka<Ca.length;Ka+=3){var Ua=Ca[Ka+2];if(Ua==Yr||Ua==oa){var si=rn(ia<0?a.line:a.rest[ia]),Gi=Ca[Ka]+da;return(da<0||Ua!=Yr)&&(Gi=Ca[Ka+(da?1:0)]),Pt(si,Gi)}}}var bn=hn(He,at,te);if(bn)return Dl(bn,re);for(var tr=at.nextSibling,Kn=He?He.nodeValue.length-te:0;tr;tr=tr.nextSibling){if(bn=hn(tr,tr.firstChild,0),bn)return Dl(Pt(bn.line,bn.ch-Kn),re);Kn+=tr.textContent.length}for(var Nr=at.previousSibling,Mr=te;Nr;Nr=Nr.previousSibling){if(bn=hn(Nr,Nr.firstChild,-1),bn)return Dl(Pt(bn.line,bn.ch+Mr),re);Mr+=Nr.textContent.length}}var io=function(a){this.cm=a,this.prevInput="",this.pollingFast=!1,this.polling=new je,this.hasSelection=!1,this.composing=null};io.prototype.init=function(a){var y=this,te=this,ee=this.cm;this.createField(a);var re=this.textarea;a.wrapper.insertBefore(this.wrapper,a.wrapper.firstChild),Ke&&(re.style.width="0px"),mt(re,"input",function(){ge&&oe>=9&&y.hasSelection&&(y.hasSelection=null),te.poll()}),mt(re,"paste",function(He){vt(ee,He)||nc(He,ee)||(ee.state.pasteIncoming=+new Date,te.fastPoll())});function ye(He){if(!vt(ee,He)){if(ee.somethingSelected())Ml({lineWise:!1,text:ee.getSelections()});else if(ee.options.lineWiseCopyCut){var at=ac(ee);Ml({lineWise:!0,text:at.text}),He.type=="cut"?ee.setSelections(at.ranges,null,ot):(te.prevInput="",re.value=at.text.join(`
`),kt(re))}else return;He.type=="cut"&&(ee.state.cutIncoming=+new Date)}}mt(re,"cut",ye),mt(re,"copy",ye),mt(a.scroller,"paste",function(He){if(!(Oi(a,He)||vt(ee,He))){if(!re.dispatchEvent){ee.state.pasteIncoming=+new Date,te.focus();return}var at=new Event("paste");at.clipboardData=He.clipboardData,re.dispatchEvent(at)}}),mt(a.lineSpace,"selectstart",function(He){Oi(a,He)||un(He)}),mt(re,"compositionstart",function(){var He=ee.getCursor("from");te.composing&&te.composing.range.clear(),te.composing={start:He,range:ee.markText(He,ee.getCursor("to"),{className:"CodeMirror-composing"})}}),mt(re,"compositionend",function(){te.composing&&(te.poll(),te.composing.range.clear(),te.composing=null)})},io.prototype.createField=function(a){this.wrapper=oc(),this.textarea=this.wrapper.firstChild},io.prototype.screenReaderLabelChanged=function(a){a?this.textarea.setAttribute("aria-label",a):this.textarea.removeAttribute("aria-label")},io.prototype.prepareSelection=function(){var a=this.cm,y=a.display,te=a.doc,ee=al(a);if(a.options.moveInputWithCursor){var re=Fi(a,te.sel.primary().head,"div"),ye=y.wrapper.getBoundingClientRect(),He=y.lineDiv.getBoundingClientRect();ee.teTop=Math.max(0,Math.min(y.wrapper.clientHeight-10,re.top+He.top-ye.top)),ee.teLeft=Math.max(0,Math.min(y.wrapper.clientWidth-10,re.left+He.left-ye.left))}return ee},io.prototype.showSelection=function(a){var y=this.cm,te=y.display;Fe(te.cursorDiv,a.cursors),Fe(te.selectionDiv,a.selection),a.teTop!=null&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},io.prototype.reset=function(a){if(!(this.contextMenuPending||this.composing)){var y=this.cm;if(y.somethingSelected()){this.prevInput="";var te=y.getSelection();this.textarea.value=te,y.state.focused&&kt(this.textarea),ge&&oe>=9&&(this.hasSelection=te)}else a||(this.prevInput=this.textarea.value="",ge&&oe>=9&&(this.hasSelection=null))}},io.prototype.getField=function(){return this.textarea},io.prototype.supportsTouch=function(){return!1},io.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!Me||et()!=this.textarea))try{this.textarea.focus()}catch(a){}},io.prototype.blur=function(){this.textarea.blur()},io.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},io.prototype.receivedFocus=function(){this.slowPoll()},io.prototype.slowPoll=function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},io.prototype.fastPoll=function(){var a=!1,y=this;y.pollingFast=!0;function te(){var ee=y.poll();!ee&&!a?(a=!0,y.polling.set(60,te)):(y.pollingFast=!1,y.slowPoll())}y.polling.set(20,te)},io.prototype.poll=function(){var a=this,y=this.cm,te=this.textarea,ee=this.prevInput;if(this.contextMenuPending||!y.state.focused||ir(te)&&!ee&&!this.composing||y.isReadOnly()||y.options.disableInput||y.state.keySeq)return!1;var re=te.value;if(re==ee&&!y.somethingSelected())return!1;if(ge&&oe>=9&&this.hasSelection===re||ze&&/[\uf700-\uf7ff]/.test(re))return y.display.input.reset(),!1;if(y.doc.sel==y.display.selForContextMenu){var ye=re.charCodeAt(0);if(ye==8203&&!ee&&(ee="\u200B"),ye==8666)return this.reset(),this.cm.execCommand("undo")}for(var He=0,at=Math.min(ee.length,re.length);He<at&&ee.charCodeAt(He)==re.charCodeAt(He);)++He;return ko(y,function(){Ru(y,re.slice(He),ee.length-He,null,a.composing?"*compose":null),re.length>1e3||re.indexOf(`
`)>-1?te.value=a.prevInput="":a.prevInput=re,a.composing&&(a.composing.range.clear(),a.composing.range=y.markText(a.composing.start,y.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},io.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},io.prototype.onKeyPress=function(){ge&&oe>=9&&(this.hasSelection=null),this.fastPoll()},io.prototype.onContextMenu=function(a){var y=this,te=y.cm,ee=te.display,re=y.textarea;y.contextMenuPending&&y.contextMenuPending();var ye=Ao(te,a),He=ee.scroller.scrollTop;if(!ye||he)return;var at=te.options.resetSelectionOnContextMenu;at&&te.doc.sel.contains(ye)==-1&&Ji(te,z)(te.doc,Ai(ye),ot);var ut=re.style.cssText,yt=y.wrapper.style.cssText,hn=y.wrapper.offsetParent.getBoundingClientRect();y.wrapper.style.cssText="position: static",re.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(a.clientY-hn.top-5)+"px; left: "+(a.clientX-hn.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 bn;xe&&(bn=window.scrollY),ee.input.focus(),xe&&window.scrollTo(null,bn),ee.input.reset(),te.somethingSelected()||(re.value=y.prevInput=" "),y.contextMenuPending=Kn,ee.selForContextMenu=te.doc.sel,clearTimeout(ee.detectingSelectAll);function tr(){if(re.selectionStart!=null){var Mr=te.somethingSelected(),Yr="\u200B"+(Mr?re.value:"");re.value="\u21DA",re.value=Yr,y.prevInput=Mr?"":"\u200B",re.selectionStart=1,re.selectionEnd=Yr.length,ee.selForContextMenu=te.doc.sel}}function Kn(){if(y.contextMenuPending==Kn&&(y.contextMenuPending=!1,y.wrapper.style.cssText=yt,re.style.cssText=ut,ge&&oe<9&&ee.scrollbars.setScrollTop(ee.scroller.scrollTop=He),re.selectionStart!=null)){(!ge||ge&&oe<9)&&tr();var Mr=0,Yr=function(){ee.selForContextMenu==te.doc.sel&&re.selectionStart==0&&re.selectionEnd>0&&y.prevInput=="\u200B"?Ji(te,Er)(te):Mr++<10?ee.detectingSelectAll=setTimeout(Yr,500):(ee.selForContextMenu=null,ee.input.reset())};ee.detectingSelectAll=setTimeout(Yr,200)}}if(ge&&oe>=9&&tr(),Re){Ln(a);var Nr=function(){Ct(window,"mouseup",Nr),setTimeout(Kn,20)};mt(window,"mouseup",Nr)}else setTimeout(Kn,50)},io.prototype.readOnlyChanged=function(a){a||this.reset(),this.textarea.disabled=a=="nocursor",this.textarea.readOnly=!!a},io.prototype.setUneditable=function(){},io.prototype.needsContentAttribute=!1;function Ou(a,y){if(y=y?Gt(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 te=et();y.autofocus=te==a||a.getAttribute("autofocus")!=null&&te==document.body}function ee(){a.value=at.getValue()}var re;if(a.form&&(mt(a.form,"submit",ee),!y.leaveSubmitMethodAlone)){var ye=a.form;re=ye.submit;try{var He=ye.submit=function(){ee(),ye.submit=re,ye.submit(),ye.submit=He}}catch(ut){}}y.finishInit=function(ut){ut.save=ee,ut.getTextArea=function(){return a},ut.toTextArea=function(){ut.toTextArea=isNaN,ee(),a.parentNode.removeChild(ut.getWrapperElement()),a.style.display="",a.form&&(Ct(a.form,"submit",ee),!y.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=re))}},a.style.display="none";var at=Xi(function(ut){return a.parentNode.insertBefore(ut,a.nextSibling)},y);return at}function lc(a){a.off=Ct,a.on=mt,a.wheelEventPixels=qa,a.Doc=ls,a.splitLines=cr,a.countColumn=nt,a.findColumn=pn,a.isWordChar=Ee,a.Pass=Ot,a.signal=Rt,a.Line=Tr,a.changeEnd=Ci,a.scrollbarModel=Io,a.Pos=Pt,a.cmpPos=on,a.modes=An,a.mimeModes=Nn,a.resolveMode=gr,a.getMode=or,a.modeExtensions=Lr,a.extendMode=Br,a.copyState=Pr,a.startState=Ir,a.innerMode=wr,a.commands=$l,a.keyMap=Ms,a.keyName=zu,a.isModifierKey=Su,a.lookupKey=cl,a.normalizeKeyMap=Hu,a.StringStream=lr,a.SharedTextMarker=Yl,a.TextMarker=bl,a.LineWidget=Kl,a.e_preventDefault=un,a.e_stopPropagation=gn,a.e_stop=Ln,a.addClass=rt,a.contains=Xe,a.rmClass=Ye,a.keyNames=El}Bc(Xi),Uc(Xi);var Lu="iter insert remove copy getEditor constructor".split(" ");for(var Ul in ls.prototype)ls.prototype.hasOwnProperty(Ul)&&Be(Lu,Ul)<0&&(Xi.prototype[Ul]=function(a){return function(){return a.apply(this.doc,arguments)}}(ls.prototype[Ul]));return Je(ls),Xi.inputStyles={textarea:io,contenteditable:wi},Xi.defineMode=function(a){!Xi.defaults.mode&&a!="null"&&(Xi.defaults.mode=a),In.apply(this,arguments)},Xi.defineMIME=xr,Xi.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),Xi.defineMIME("text/plain","null"),Xi.defineExtension=function(a,y){Xi.prototype[a]=y},Xi.defineDocExtension=function(a,y){ls.prototype[a]=y},Xi.fromTextArea=Ou,lc(Xi),Xi.version="5.58.2",Xi})},25419:function(me,ne,E){(function(b){b(E(89780),E(15525),E(98101))})(function(b){"use strict";b.defineMode("markdown",function(ue,le){var ce=b.getMode(ue,"text/html"),ge=ce.name=="null";function oe(nt){if(b.findModeByName){var je=b.findModeByName(nt);je&&(nt=je.mime||je.mimes[0])}var Be=b.getMode(ue,nt);return Be.name=="null"?null:Be}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 xe={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 Oe in xe)xe.hasOwnProperty(Oe)&&le.tokenTypeOverrides[Oe]&&(xe[Oe]=le.tokenTypeOverrides[Oe]);var Se=/^([*\-_])(?:\s*\1){2,}\s*$/,he=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Ve=/^\[(x| )\](?=\s)/i,Ae=le.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,ct=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Ke=/^[^#!\[\]*_\\<>` "'(~:]+/,qe=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,Me=/^\s*\[[^\]]+?\]:.*$/,ze=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,Ze=" ";function Le(nt,je,Be){return je.f=je.inline=Be,Be(nt,je)}function Pe(nt,je,Be){return je.f=je.block=Be,Be(nt,je)}function ke(nt){return!nt||!/\S/.test(nt.string)}function Re(nt){if(nt.linkTitle=!1,nt.linkHref=!1,nt.linkText=!1,nt.em=!1,nt.strong=!1,nt.strikethrough=!1,nt.quote=0,nt.indentedCode=!1,nt.f==Ye){var je=ge;if(!je){var Be=b.innerMode(ce,nt.htmlState);je=Be.mode.name=="xml"&&Be.state.tagStart===null&&!Be.state.context&&Be.state.tokenize.isInText}je&&(nt.f=$e,nt.block=Te,nt.htmlState=null)}return nt.trailingSpace=0,nt.trailingSpaceNewLine=!1,nt.prevLine=nt.thisLine,nt.thisLine={stream:null},null}function Te(nt,je){var Be=nt.column()===je.indentation,wt=ke(je.prevLine.stream),Ot=je.indentedCode,ot=je.prevLine.hr,zt=je.list!==!1,Ut=(je.listStack[je.listStack.length-1]||0)+3;je.indentedCode=!1;var pn=je.indentation;if(je.indentationDiff===null&&(je.indentationDiff=je.indentation,zt)){for(je.list=null;pn<je.listStack[je.listStack.length-1];)je.listStack.pop(),je.listStack.length?je.indentation=je.listStack[je.listStack.length-1]:je.list=!1;je.list!==!1&&(je.indentationDiff=pn-je.listStack[je.listStack.length-1])}var bt=!wt&&!ot&&!je.prevLine.header&&(!zt||!Ot)&&!je.prevLine.fencedCodeEnd,Yt=(je.list===!1||ot||wt)&&je.indentation<=Ut&&nt.match(Se),Bt=null;if(je.indentationDiff>=4&&(Ot||je.prevLine.fencedCodeEnd||je.prevLine.header||wt))return nt.skipToEnd(),je.indentedCode=!0,xe.code;if(nt.eatSpace())return null;if(Be&&je.indentation<=Ut&&(Bt=nt.match(Ae))&&Bt[1].length<=6)return je.quote=0,je.header=Bt[1].length,je.thisLine.header=!0,le.highlightFormatting&&(je.formatting="header"),je.f=je.inline,Fe(je);if(je.indentation<=Ut&&nt.eat(">"))return je.quote=Be?1:je.quote+1,le.highlightFormatting&&(je.formatting="quote"),nt.eatSpace(),Fe(je);if(!Yt&&!je.setext&&Be&&je.indentation<=Ut&&(Bt=nt.match(he))){var $t=Bt[1]?"ol":"ul";return je.indentation=pn+nt.current().length,je.list=!0,je.quote=0,je.listStack.push(je.indentation),je.em=!1,je.strong=!1,je.code=!1,je.strikethrough=!1,le.taskLists&&nt.match(Ve,!1)&&(je.taskList=!0),je.f=je.inline,le.highlightFormatting&&(je.formatting=["list","list-"+$t]),Fe(je)}else{if(Be&&je.indentation<=Ut&&(Bt=nt.match(qe,!0)))return je.quote=0,je.fencedEndRE=new RegExp(Bt[1]+"+ *$"),je.localMode=le.fencedCodeBlockHighlighting&&oe(Bt[2]||le.fencedCodeBlockDefaultMode),je.localMode&&(je.localState=b.startState(je.localMode)),je.f=je.block=lt,le.highlightFormatting&&(je.formatting="code-block"),je.code=-1,Fe(je);if(je.setext||(!bt||!zt)&&!je.quote&&je.list===!1&&!je.code&&!Yt&&!Me.test(nt.string)&&(Bt=nt.lookAhead(1))&&(Bt=Bt.match(ct)))return je.setext?(je.header=je.setext,je.setext=0,nt.skipToEnd(),le.highlightFormatting&&(je.formatting="header")):(je.header=Bt[0].charAt(0)=="="?1:2,je.setext=je.header),je.thisLine.header=!0,je.f=je.inline,Fe(je);if(Yt)return nt.skipToEnd(),je.hr=!0,je.thisLine.hr=!0,xe.hr;if(nt.peek()==="[")return Le(nt,je,ht)}return Le(nt,je,je.inline)}function Ye(nt,je){var Be=ce.token(nt,je.htmlState);if(!ge){var wt=b.innerMode(ce,je.htmlState);(wt.mode.name=="xml"&&wt.state.tagStart===null&&!wt.state.context&&wt.state.tokenize.isInText||je.md_inside&&nt.current().indexOf(">")>-1)&&(je.f=$e,je.block=Te,je.htmlState=null)}return Be}function lt(nt,je){var Be=je.listStack[je.listStack.length-1]||0,wt=je.indentation<Be,Ot=Be+3;if(je.fencedEndRE&&je.indentation<=Ot&&(wt||nt.match(je.fencedEndRE))){le.highlightFormatting&&(je.formatting="code-block");var ot;return wt||(ot=Fe(je)),je.localMode=je.localState=null,je.block=Te,je.f=$e,je.fencedEndRE=null,je.code=0,je.thisLine.fencedCodeEnd=!0,wt?Pe(nt,je,je.block):ot}else return je.localMode?je.localMode.token(nt,je.localState):(nt.skipToEnd(),xe.code)}function Fe(nt){var je=[];if(nt.formatting){je.push(xe.formatting),typeof nt.formatting=="string"&&(nt.formatting=[nt.formatting]);for(var Be=0;Be<nt.formatting.length;Be++)je.push(xe.formatting+"-"+nt.formatting[Be]),nt.formatting[Be]==="header"&&je.push(xe.formatting+"-"+nt.formatting[Be]+"-"+nt.header),nt.formatting[Be]==="quote"&&(!le.maxBlockquoteDepth||le.maxBlockquoteDepth>=nt.quote?je.push(xe.formatting+"-"+nt.formatting[Be]+"-"+nt.quote):je.push("error"))}if(nt.taskOpen)return je.push("meta"),je.length?je.join(" "):null;if(nt.taskClosed)return je.push("property"),je.length?je.join(" "):null;if(nt.linkHref?je.push(xe.linkHref,"url"):(nt.strong&&je.push(xe.strong),nt.em&&je.push(xe.em),nt.strikethrough&&je.push(xe.strikethrough),nt.emoji&&je.push(xe.emoji),nt.linkText&&je.push(xe.linkText),nt.code&&je.push(xe.code),nt.image&&je.push(xe.image),nt.imageAltText&&je.push(xe.imageAltText,"link"),nt.imageMarker&&je.push(xe.imageMarker)),nt.header&&je.push(xe.header,xe.header+"-"+nt.header),nt.quote&&(je.push(xe.quote),!le.maxBlockquoteDepth||le.maxBlockquoteDepth>=nt.quote?je.push(xe.quote+"-"+nt.quote):je.push(xe.quote+"-"+le.maxBlockquoteDepth)),nt.list!==!1){var wt=(nt.listStack.length-1)%3;wt?wt===1?je.push(xe.list2):je.push(xe.list3):je.push(xe.list1)}return nt.trailingSpaceNewLine?je.push("trailing-space-new-line"):nt.trailingSpace&&je.push("trailing-space-"+(nt.trailingSpace%2?"a":"b")),je.length?je.join(" "):null}function tt(nt,je){if(nt.match(Ke,!0))return Fe(je)}function $e(nt,je){var Be=je.text(nt,je);if(typeof Be!="undefined")return Be;if(je.list)return je.list=null,Fe(je);if(je.taskList){var wt=nt.match(Ve,!0)[1]===" ";return wt?je.taskOpen=!0:je.taskClosed=!0,le.highlightFormatting&&(je.formatting="task"),je.taskList=!1,Fe(je)}if(je.taskOpen=!1,je.taskClosed=!1,je.header&&nt.match(/^#+$/,!0))return le.highlightFormatting&&(je.formatting="header"),Fe(je);var Ot=nt.next();if(je.linkTitle){je.linkTitle=!1;var ot=Ot;Ot==="("&&(ot=")"),ot=(ot+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var zt="^\\s*(?:[^"+ot+"\\\\]+|\\\\\\\\|\\\\.)"+ot;if(nt.match(new RegExp(zt),!0))return xe.linkHref}if(Ot==="`"){var Ut=je.formatting;le.highlightFormatting&&(je.formatting="code"),nt.eatWhile("`");var pn=nt.current().length;if(je.code==0&&(!je.quote||pn==1))return je.code=pn,Fe(je);if(pn==je.code){var bt=Fe(je);return je.code=0,bt}else return je.formatting=Ut,Fe(je)}else if(je.code)return Fe(je);if(Ot==="\\"&&(nt.next(),le.highlightFormatting)){var Yt=Fe(je),Bt=xe.formatting+"-escape";return Yt?Yt+" "+Bt:Bt}if(Ot==="!"&&nt.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return je.imageMarker=!0,je.image=!0,le.highlightFormatting&&(je.formatting="image"),Fe(je);if(Ot==="["&&je.imageMarker&&nt.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return je.imageMarker=!1,je.imageAltText=!0,le.highlightFormatting&&(je.formatting="image"),Fe(je);if(Ot==="]"&&je.imageAltText){le.highlightFormatting&&(je.formatting="image");var Yt=Fe(je);return je.imageAltText=!1,je.image=!1,je.inline=je.f=Xe,Yt}if(Ot==="["&&!je.image)return je.linkText&&nt.match(/^.*?\]/)||(je.linkText=!0,le.highlightFormatting&&(je.formatting="link")),Fe(je);if(Ot==="]"&&je.linkText){le.highlightFormatting&&(je.formatting="link");var Yt=Fe(je);return je.linkText=!1,je.inline=je.f=nt.match(/\(.*?\)| ?\[.*?\]/,!1)?Xe:$e,Yt}if(Ot==="<"&&nt.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){je.f=je.inline=Ue,le.highlightFormatting&&(je.formatting="link");var Yt=Fe(je);return Yt?Yt+=" ":Yt="",Yt+xe.linkInline}if(Ot==="<"&&nt.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){je.f=je.inline=Ue,le.highlightFormatting&&(je.formatting="link");var Yt=Fe(je);return Yt?Yt+=" ":Yt="",Yt+xe.linkEmail}if(le.xml&&Ot==="<"&&nt.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var $t=nt.string.indexOf(">",nt.pos);if($t!=-1){var cn=nt.string.substring(nt.start,$t);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(cn)&&(je.md_inside=!0)}return nt.backUp(1),je.htmlState=b.startState(ce),Pe(nt,je,Ye)}if(le.xml&&Ot==="<"&&nt.match(/^\/\w*?>/))return je.md_inside=!1,"tag";if(Ot==="*"||Ot==="_"){for(var Ie=1,pe=nt.pos==1?" ":nt.string.charAt(nt.pos-2);Ie<3&&nt.eat(Ot);)Ie++;var de=nt.peek()||" ",Ee=!/\s/.test(de)&&(!ze.test(de)||/\s/.test(pe)||ze.test(pe)),De=!/\s/.test(pe)&&(!ze.test(pe)||/\s/.test(de)||ze.test(de)),fe=null,Qe=null;if(Ie%2&&(!je.em&&Ee&&(Ot==="*"||!De||ze.test(pe))?fe=!0:je.em==Ot&&De&&(Ot==="*"||!Ee||ze.test(de))&&(fe=!1)),Ie>1&&(!je.strong&&Ee&&(Ot==="*"||!De||ze.test(pe))?Qe=!0:je.strong==Ot&&De&&(Ot==="*"||!Ee||ze.test(de))&&(Qe=!1)),Qe!=null||fe!=null){le.highlightFormatting&&(je.formatting=fe==null?"strong":Qe==null?"em":"strong em"),fe===!0&&(je.em=Ot),Qe===!0&&(je.strong=Ot);var bt=Fe(je);return fe===!1&&(je.em=!1),Qe===!1&&(je.strong=!1),bt}}else if(Ot===" "&&(nt.eat("*")||nt.eat("_"))){if(nt.peek()===" ")return Fe(je);nt.backUp(1)}if(le.strikethrough){if(Ot==="~"&&nt.eatWhile(Ot)){if(je.strikethrough){le.highlightFormatting&&(je.formatting="strikethrough");var bt=Fe(je);return je.strikethrough=!1,bt}else if(nt.match(/^[^\s]/,!1))return je.strikethrough=!0,le.highlightFormatting&&(je.formatting="strikethrough"),Fe(je)}else if(Ot===" "&&nt.match(/^~~/,!0)){if(nt.peek()===" ")return Fe(je);nt.backUp(2)}}if(le.emoji&&Ot===":"&&nt.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){je.emoji=!0,le.highlightFormatting&&(je.formatting="emoji");var Mt=Fe(je);return je.emoji=!1,Mt}return Ot===" "&&(nt.match(/^ +$/,!1)?je.trailingSpace++:je.trailingSpace&&(je.trailingSpaceNewLine=!0)),Fe(je)}function Ue(nt,je){var Be=nt.next();if(Be===">"){je.f=je.inline=$e,le.highlightFormatting&&(je.formatting="link");var wt=Fe(je);return wt?wt+=" ":wt="",wt+xe.linkInline}return nt.match(/^[^>]+/,!0),xe.linkInline}function Xe(nt,je){if(nt.eatSpace())return null;var Be=nt.next();return Be==="("||Be==="["?(je.f=je.inline=rt(Be==="("?")":"]"),le.highlightFormatting&&(je.formatting="link-string"),je.linkHref=!0,Fe(je)):"error"}var et={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function rt(nt){return function(je,Be){var wt=je.next();if(wt===nt){Be.f=Be.inline=$e,le.highlightFormatting&&(Be.formatting="link-string");var Ot=Fe(Be);return Be.linkHref=!1,Ot}return je.match(et[nt]),Be.linkHref=!0,Fe(Be)}}function ht(nt,je){return nt.match(/^([^\]\\]|\\.)*\]:/,!1)?(je.f=kt,nt.next(),le.highlightFormatting&&(je.formatting="link"),je.linkText=!0,Fe(je)):Le(nt,je,$e)}function kt(nt,je){if(nt.match(/^\]:/,!0)){je.f=je.inline=St,le.highlightFormatting&&(je.formatting="link");var Be=Fe(je);return je.linkText=!1,Be}return nt.match(/^([^\]\\]|\\.)+/,!0),xe.linkText}function St(nt,je){return nt.eatSpace()?null:(nt.match(/^[^\s]+/,!0),nt.peek()===void 0?je.linkTitle=!0:nt.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),je.f=je.inline=$e,xe.linkHref+" url")}var Gt={startState:function(){return{f:Te,prevLine:{stream:null},thisLine:{stream:null},block:Te,htmlState:null,indentation:0,inline:$e,text:tt,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(nt){return{f:nt.f,prevLine:nt.prevLine,thisLine:nt.thisLine,block:nt.block,htmlState:nt.htmlState&&b.copyState(ce,nt.htmlState),indentation:nt.indentation,localMode:nt.localMode,localState:nt.localMode?b.copyState(nt.localMode,nt.localState):null,inline:nt.inline,text:nt.text,formatting:!1,linkText:nt.linkText,linkTitle:nt.linkTitle,linkHref:nt.linkHref,code:nt.code,em:nt.em,strong:nt.strong,strikethrough:nt.strikethrough,emoji:nt.emoji,header:nt.header,setext:nt.setext,hr:nt.hr,taskList:nt.taskList,list:nt.list,listStack:nt.listStack.slice(0),quote:nt.quote,indentedCode:nt.indentedCode,trailingSpace:nt.trailingSpace,trailingSpaceNewLine:nt.trailingSpaceNewLine,md_inside:nt.md_inside,fencedEndRE:nt.fencedEndRE}},token:function(nt,je){if(je.formatting=!1,nt!=je.thisLine.stream){if(je.header=0,je.hr=!1,nt.match(/^\s*$/,!0))return Re(je),null;if(je.prevLine=je.thisLine,je.thisLine={stream:nt},je.taskList=!1,je.trailingSpace=0,je.trailingSpaceNewLine=!1,!je.localState&&(je.f=je.block,je.f!=Ye)){var Be=nt.match(/^\s*/,!0)[0].replace(/\t/g,Ze).length;if(je.indentation=Be,je.indentationDiff=null,Be>0)return null}}return je.f(nt,je)},innerMode:function(nt){return nt.block==Ye?{state:nt.htmlState,mode:ce}:nt.localState?{state:nt.localState,mode:nt.localMode}:{state:nt,mode:Gt}},indent:function(nt,je,Be){return nt.block==Ye&&ce.indent?ce.indent(nt.htmlState,je,Be):nt.localState&&nt.localMode.indent?nt.localMode.indent(nt.localState,je,Be):b.Pass},blankLine:Re,getType:Fe,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Gt},"xml"),b.defineMIME("text/markdown","markdown"),b.defineMIME("text/x-markdown","markdown")})},98101:function(me,ne,E){(function(b){b(E(89780))})(function(b){"use strict";b.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 ue=0;ue<b.modeInfo.length;ue++){var le=b.modeInfo[ue];le.mimes&&(le.mime=le.mimes[0])}b.findModeByMIME=function(ce){ce=ce.toLowerCase();for(var ge=0;ge<b.modeInfo.length;ge++){var oe=b.modeInfo[ge];if(oe.mime==ce)return oe;if(oe.mimes){for(var xe=0;xe<oe.mimes.length;xe++)if(oe.mimes[xe]==ce)return oe}}if(/\+xml$/.test(ce))return b.findModeByMIME("application/xml");if(/\+json$/.test(ce))return b.findModeByMIME("application/json")},b.findModeByExtension=function(ce){ce=ce.toLowerCase();for(var ge=0;ge<b.modeInfo.length;ge++){var oe=b.modeInfo[ge];if(oe.ext){for(var xe=0;xe<oe.ext.length;xe++)if(oe.ext[xe]==ce)return oe}}},b.findModeByFileName=function(ce){for(var ge=0;ge<b.modeInfo.length;ge++){var oe=b.modeInfo[ge];if(oe.file&&oe.file.test(ce))return oe}var xe=ce.lastIndexOf("."),Oe=xe>-1&&ce.substring(xe+1,ce.length);if(Oe)return b.findModeByExtension(Oe)},b.findModeByName=function(ce){ce=ce.toLowerCase();for(var ge=0;ge<b.modeInfo.length;ge++){var oe=b.modeInfo[ge];if(oe.name.toLowerCase()==ce)return oe;if(oe.alias){for(var xe=0;xe<oe.alias.length;xe++)if(oe.alias[xe].toLowerCase()==ce)return oe}}}})},67549:function(me,ne,E){(function(b){b(E(89780))})(function(b){"use strict";b.defineMode("stex",function(ue,le){"use strict";function ce(Ke,qe){Ke.cmdState.push(qe)}function ge(Ke){return Ke.cmdState.length>0?Ke.cmdState[Ke.cmdState.length-1]:null}function oe(Ke){var qe=Ke.cmdState.pop();qe&&qe.closeBracket()}function xe(Ke){for(var qe=Ke.cmdState,Me=qe.length-1;Me>=0;Me--){var ze=qe[Me];if(ze.name!="DEFAULT")return ze}return{styleIdentifier:function(){return null}}}function Oe(Ke,qe,Me){return function(){this.name=Ke,this.bracketNo=0,this.style=qe,this.styles=Me,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Se={};Se.importmodule=Oe("importmodule","tag",["string","builtin"]),Se.documentclass=Oe("documentclass","tag",["","atom"]),Se.usepackage=Oe("usepackage","tag",["atom"]),Se.begin=Oe("begin","tag",["atom"]),Se.end=Oe("end","tag",["atom"]),Se.label=Oe("label","tag",["atom"]),Se.ref=Oe("ref","tag",["atom"]),Se.eqref=Oe("eqref","tag",["atom"]),Se.cite=Oe("cite","tag",["atom"]),Se.bibitem=Oe("bibitem","tag",["atom"]),Se.Bibitem=Oe("Bibitem","tag",["atom"]),Se.RBibitem=Oe("RBibitem","tag",["atom"]),Se.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function he(Ke,qe){Ke.f=qe}function Ve(Ke,qe){var Me;if(Ke.match(/^\\[a-zA-Z@]+/)){var ze=Ke.current().slice(1);return Me=Se.hasOwnProperty(ze)?Se[ze]:Se.DEFAULT,Me=new Me,ce(qe,Me),he(qe,ct),Me.style}if(Ke.match(/^\\[$&%#{}_]/)||Ke.match(/^\\[,;!\/\\]/))return"tag";if(Ke.match("\\["))return he(qe,function(Le,Pe){return Ae(Le,Pe,"\\]")}),"keyword";if(Ke.match("\\("))return he(qe,function(Le,Pe){return Ae(Le,Pe,"\\)")}),"keyword";if(Ke.match("$$"))return he(qe,function(Le,Pe){return Ae(Le,Pe,"$$")}),"keyword";if(Ke.match("$"))return he(qe,function(Le,Pe){return Ae(Le,Pe,"$")}),"keyword";var Ze=Ke.next();if(Ze=="%")return Ke.skipToEnd(),"comment";if(Ze=="}"||Ze=="]"){if(Me=ge(qe),Me)Me.closeBracket(Ze),he(qe,ct);else return"error";return"bracket"}else return Ze=="{"||Ze=="["?(Me=Se.DEFAULT,Me=new Me,ce(qe,Me),"bracket"):/\d/.test(Ze)?(Ke.eatWhile(/[\w.%]/),"atom"):(Ke.eatWhile(/[\w\-_]/),Me=xe(qe),Me.name=="begin"&&(Me.argument=Ke.current()),Me.styleIdentifier())}function Ae(Ke,qe,Me){if(Ke.eatSpace())return null;if(Me&&Ke.match(Me))return he(qe,Ve),"keyword";if(Ke.match(/^\\[a-zA-Z@]+/))return"tag";if(Ke.match(/^[a-zA-Z]+/))return"variable-2";if(Ke.match(/^\\[$&%#{}_]/)||Ke.match(/^\\[,;!\/]/)||Ke.match(/^[\^_&]/))return"tag";if(Ke.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Ke.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var ze=Ke.next();return ze=="{"||ze=="}"||ze=="["||ze=="]"||ze=="("||ze==")"?"bracket":ze=="%"?(Ke.skipToEnd(),"comment"):"error"}function ct(Ke,qe){var Me=Ke.peek(),ze;return Me=="{"||Me=="["?(ze=ge(qe),ze.openBracket(Me),Ke.eat(Me),he(qe,Ve),"bracket"):/[ \t\r]/.test(Me)?(Ke.eat(Me),null):(he(qe,Ve),oe(qe),Ve(Ke,qe))}return{startState:function(){var Ke=le.inMathMode?function(qe,Me){return Ae(qe,Me)}:Ve;return{cmdState:[],f:Ke}},copyState:function(Ke){return{cmdState:Ke.cmdState.slice(),f:Ke.f}},token:function(Ke,qe){return qe.f(Ke,qe)},blankLine:function(Ke){Ke.f=Ve,Ke.cmdState.length=0},lineComment:"%"}}),b.defineMIME("text/x-stex","stex"),b.defineMIME("text/x-latex","stex")})},15525:function(me,ne,E){(function(b){b(E(89780))})(function(b){"use strict";var ue={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};b.defineMode("xml",function(ce,ge){var oe=ce.indentUnit,xe={},Oe=ge.htmlMode?ue:le;for(var Se in Oe)xe[Se]=Oe[Se];for(var Se in ge)xe[Se]=ge[Se];var he,Ve;function Ae(Ue,Xe){function et(kt){return Xe.tokenize=kt,kt(Ue,Xe)}var rt=Ue.next();if(rt=="<")return Ue.eat("!")?Ue.eat("[")?Ue.match("CDATA[")?et(qe("atom","]]>")):null:Ue.match("--")?et(qe("comment","-->")):Ue.match("DOCTYPE",!0,!0)?(Ue.eatWhile(/[\w\._\-]/),et(Me(1))):null:Ue.eat("?")?(Ue.eatWhile(/[\w\._\-]/),Xe.tokenize=qe("meta","?>"),"meta"):(he=Ue.eat("/")?"closeTag":"openTag",Xe.tokenize=ct,"tag bracket");if(rt=="&"){var ht;return Ue.eat("#")?Ue.eat("x")?ht=Ue.eatWhile(/[a-fA-F\d]/)&&Ue.eat(";"):ht=Ue.eatWhile(/[\d]/)&&Ue.eat(";"):ht=Ue.eatWhile(/[\w\.\-:]/)&&Ue.eat(";"),ht?"atom":"error"}else return Ue.eatWhile(/[^&<]/),null}Ae.isInText=!0;function ct(Ue,Xe){var et=Ue.next();if(et==">"||et=="/"&&Ue.eat(">"))return Xe.tokenize=Ae,he=et==">"?"endTag":"selfcloseTag","tag bracket";if(et=="=")return he="equals",null;if(et=="<"){Xe.tokenize=Ae,Xe.state=Pe,Xe.tagName=Xe.tagStart=null;var rt=Xe.tokenize(Ue,Xe);return rt?rt+" tag error":"tag error"}else return/[\'\"]/.test(et)?(Xe.tokenize=Ke(et),Xe.stringStartCol=Ue.column(),Xe.tokenize(Ue,Xe)):(Ue.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Ke(Ue){var Xe=function(et,rt){for(;!et.eol();)if(et.next()==Ue){rt.tokenize=ct;break}return"string"};return Xe.isInAttribute=!0,Xe}function qe(Ue,Xe){return function(et,rt){for(;!et.eol();){if(et.match(Xe)){rt.tokenize=Ae;break}et.next()}return Ue}}function Me(Ue){return function(Xe,et){for(var rt;(rt=Xe.next())!=null;){if(rt=="<")return et.tokenize=Me(Ue+1),et.tokenize(Xe,et);if(rt==">")if(Ue==1){et.tokenize=Ae;break}else return et.tokenize=Me(Ue-1),et.tokenize(Xe,et)}return"meta"}}function ze(Ue,Xe,et){this.prev=Ue.context,this.tagName=Xe,this.indent=Ue.indented,this.startOfLine=et,(xe.doNotIndent.hasOwnProperty(Xe)||Ue.context&&Ue.context.noIndent)&&(this.noIndent=!0)}function Ze(Ue){Ue.context&&(Ue.context=Ue.context.prev)}function Le(Ue,Xe){for(var et;;){if(!Ue.context||(et=Ue.context.tagName,!xe.contextGrabbers.hasOwnProperty(et)||!xe.contextGrabbers[et].hasOwnProperty(Xe)))return;Ze(Ue)}}function Pe(Ue,Xe,et){return Ue=="openTag"?(et.tagStart=Xe.column(),ke):Ue=="closeTag"?Re:Pe}function ke(Ue,Xe,et){return Ue=="word"?(et.tagName=Xe.current(),Ve="tag",lt):xe.allowMissingTagName&&Ue=="endTag"?(Ve="tag bracket",lt(Ue,Xe,et)):(Ve="error",ke)}function Re(Ue,Xe,et){if(Ue=="word"){var rt=Xe.current();return et.context&&et.context.tagName!=rt&&xe.implicitlyClosed.hasOwnProperty(et.context.tagName)&&Ze(et),et.context&&et.context.tagName==rt||xe.matchClosing===!1?(Ve="tag",Te):(Ve="tag error",Ye)}else return xe.allowMissingTagName&&Ue=="endTag"?(Ve="tag bracket",Te(Ue,Xe,et)):(Ve="error",Ye)}function Te(Ue,Xe,et){return Ue!="endTag"?(Ve="error",Te):(Ze(et),Pe)}function Ye(Ue,Xe,et){return Ve="error",Te(Ue,Xe,et)}function lt(Ue,Xe,et){if(Ue=="word")return Ve="attribute",Fe;if(Ue=="endTag"||Ue=="selfcloseTag"){var rt=et.tagName,ht=et.tagStart;return et.tagName=et.tagStart=null,Ue=="selfcloseTag"||xe.autoSelfClosers.hasOwnProperty(rt)?Le(et,rt):(Le(et,rt),et.context=new ze(et,rt,ht==et.indented)),Pe}return Ve="error",lt}function Fe(Ue,Xe,et){return Ue=="equals"?tt:(xe.allowMissing||(Ve="error"),lt(Ue,Xe,et))}function tt(Ue,Xe,et){return Ue=="string"?$e:Ue=="word"&&xe.allowUnquoted?(Ve="string",lt):(Ve="error",lt(Ue,Xe,et))}function $e(Ue,Xe,et){return Ue=="string"?$e:lt(Ue,Xe,et)}return{startState:function(Ue){var Xe={tokenize:Ae,state:Pe,indented:Ue||0,tagName:null,tagStart:null,context:null};return Ue!=null&&(Xe.baseIndent=Ue),Xe},token:function(Ue,Xe){if(!Xe.tagName&&Ue.sol()&&(Xe.indented=Ue.indentation()),Ue.eatSpace())return null;he=null;var et=Xe.tokenize(Ue,Xe);return(et||he)&&et!="comment"&&(Ve=null,Xe.state=Xe.state(he||et,Ue,Xe),Ve&&(et=Ve=="error"?et+" error":Ve)),et},indent:function(Ue,Xe,et){var rt=Ue.context;if(Ue.tokenize.isInAttribute)return Ue.tagStart==Ue.indented?Ue.stringStartCol+1:Ue.indented+oe;if(rt&&rt.noIndent)return b.Pass;if(Ue.tokenize!=ct&&Ue.tokenize!=Ae)return et?et.match(/^(\s*)/)[0].length:0;if(Ue.tagName)return xe.multilineTagIndentPastTag!==!1?Ue.tagStart+Ue.tagName.length+2:Ue.tagStart+oe*(xe.multilineTagIndentFactor||1);if(xe.alignCDATA&&/<!\[CDATA\[/.test(Xe))return 0;var ht=Xe&&/^<(\/)?([\w_:\.-]*)/.exec(Xe);if(ht&&ht[1])for(;rt;)if(rt.tagName==ht[2]){rt=rt.prev;break}else if(xe.implicitlyClosed.hasOwnProperty(rt.tagName))rt=rt.prev;else break;else if(ht)for(;rt;){var kt=xe.contextGrabbers[rt.tagName];if(kt&&kt.hasOwnProperty(ht[2]))rt=rt.prev;else break}for(;rt&&rt.prev&&!rt.startOfLine;)rt=rt.prev;return rt?rt.indent+oe:Ue.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:xe.htmlMode?"html":"xml",helperType:xe.htmlMode?"html":"xml",skipAttribute:function(Ue){Ue.state==tt&&(Ue.state=lt)},xmlCurrentTag:function(Ue){return Ue.tagName?{name:Ue.tagName,close:Ue.type=="closeTag"}:null},xmlCurrentContext:function(Ue){for(var Xe=[],et=Ue.context;et;et=et.prev)et.tagName&&Xe.push(et.tagName);return Xe.reverse()}}}),b.defineMIME("text/xml","xml"),b.defineMIME("application/xml","xml"),b.mimeModes.hasOwnProperty("text/html")||b.defineMIME("text/html",{name:"xml",htmlMode:!0})})},58951:function(me,ne){"use strict";var E;ne.Q=ce,E=ge;var b=",",ue=" ",le="";function ce(oe){for(var xe=[],Oe=String(oe||le),Se=Oe.indexOf(b),he=0,Ve=!1,Ae;!Ve;)Se===-1&&(Se=Oe.length,Ve=!0),Ae=Oe.slice(he,Se).trim(),(Ae||!Ve)&&xe.push(Ae),he=Se+1,Se=Oe.indexOf(b,he);return xe}function ge(oe,xe){var Oe=xe||{},Se=Oe.padLeft===!1?le:ue,he=Oe.padRight?ue:le;return oe[oe.length-1]===le&&(oe=oe.concat(le)),oe.join(he+b+Se).trim()}},86204:function(me){"use strict";var ne=typeof Reflect=="object"?Reflect:null,E=ne&&typeof ne.apply=="function"?ne.apply:function(Pe,ke,Re){return Function.prototype.apply.call(Pe,ke,Re)},b;ne&&typeof ne.ownKeys=="function"?b=ne.ownKeys:Object.getOwnPropertySymbols?b=function(Pe){return Object.getOwnPropertyNames(Pe).concat(Object.getOwnPropertySymbols(Pe))}:b=function(Pe){return Object.getOwnPropertyNames(Pe)};function ue(Le){console&&console.warn&&console.warn(Le)}var le=Number.isNaN||function(Pe){return Pe!==Pe};function ce(){ce.init.call(this)}me.exports=ce,me.exports.once=Me,ce.EventEmitter=ce,ce.prototype._events=void 0,ce.prototype._eventsCount=0,ce.prototype._maxListeners=void 0;var ge=10;function oe(Le){if(typeof Le!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Le)}Object.defineProperty(ce,"defaultMaxListeners",{enumerable:!0,get:function(){return ge},set:function(Le){if(typeof Le!="number"||Le<0||le(Le))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Le+".");ge=Le}}),ce.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},ce.prototype.setMaxListeners=function(Pe){if(typeof Pe!="number"||Pe<0||le(Pe))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+Pe+".");return this._maxListeners=Pe,this};function xe(Le){return Le._maxListeners===void 0?ce.defaultMaxListeners:Le._maxListeners}ce.prototype.getMaxListeners=function(){return xe(this)},ce.prototype.emit=function(Pe){for(var ke=[],Re=1;Re<arguments.length;Re++)ke.push(arguments[Re]);var Te=Pe==="error",Ye=this._events;if(Ye!==void 0)Te=Te&&Ye.error===void 0;else if(!Te)return!1;if(Te){var lt;if(ke.length>0&&(lt=ke[0]),lt instanceof Error)throw lt;var Fe=new Error("Unhandled error."+(lt?" ("+lt.message+")":""));throw Fe.context=lt,Fe}var tt=Ye[Pe];if(tt===void 0)return!1;if(typeof tt=="function")E(tt,this,ke);else for(var $e=tt.length,Ue=ct(tt,$e),Re=0;Re<$e;++Re)E(Ue[Re],this,ke);return!0};function Oe(Le,Pe,ke,Re){var Te,Ye,lt;if(oe(ke),Ye=Le._events,Ye===void 0?(Ye=Le._events=Object.create(null),Le._eventsCount=0):(Ye.newListener!==void 0&&(Le.emit("newListener",Pe,ke.listener?ke.listener:ke),Ye=Le._events),lt=Ye[Pe]),lt===void 0)lt=Ye[Pe]=ke,++Le._eventsCount;else if(typeof lt=="function"?lt=Ye[Pe]=Re?[ke,lt]:[lt,ke]:Re?lt.unshift(ke):lt.push(ke),Te=xe(Le),Te>0&&lt.length>Te&&!lt.warned){lt.warned=!0;var Fe=new Error("Possible EventEmitter memory leak detected. "+lt.length+" "+String(Pe)+" listeners added. Use emitter.setMaxListeners() to increase limit");Fe.name="MaxListenersExceededWarning",Fe.emitter=Le,Fe.type=Pe,Fe.count=lt.length,ue(Fe)}return Le}ce.prototype.addListener=function(Pe,ke){return Oe(this,Pe,ke,!1)},ce.prototype.on=ce.prototype.addListener,ce.prototype.prependListener=function(Pe,ke){return Oe(this,Pe,ke,!0)};function Se(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function he(Le,Pe,ke){var Re={fired:!1,wrapFn:void 0,target:Le,type:Pe,listener:ke},Te=Se.bind(Re);return Te.listener=ke,Re.wrapFn=Te,Te}ce.prototype.once=function(Pe,ke){return oe(ke),this.on(Pe,he(this,Pe,ke)),this},ce.prototype.prependOnceListener=function(Pe,ke){return oe(ke),this.prependListener(Pe,he(this,Pe,ke)),this},ce.prototype.removeListener=function(Pe,ke){var Re,Te,Ye,lt,Fe;if(oe(ke),Te=this._events,Te===void 0)return this;if(Re=Te[Pe],Re===void 0)return this;if(Re===ke||Re.listener===ke)--this._eventsCount===0?this._events=Object.create(null):(delete Te[Pe],Te.removeListener&&this.emit("removeListener",Pe,Re.listener||ke));else if(typeof Re!="function"){for(Ye=-1,lt=Re.length-1;lt>=0;lt--)if(Re[lt]===ke||Re[lt].listener===ke){Fe=Re[lt].listener,Ye=lt;break}if(Ye<0)return this;Ye===0?Re.shift():Ke(Re,Ye),Re.length===1&&(Te[Pe]=Re[0]),Te.removeListener!==void 0&&this.emit("removeListener",Pe,Fe||ke)}return this},ce.prototype.off=ce.prototype.removeListener,ce.prototype.removeAllListeners=function(Pe){var ke,Re,Te;if(Re=this._events,Re===void 0)return this;if(Re.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):Re[Pe]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete Re[Pe]),this;if(arguments.length===0){var Ye=Object.keys(Re),lt;for(Te=0;Te<Ye.length;++Te)lt=Ye[Te],lt!=="removeListener"&&this.removeAllListeners(lt);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(ke=Re[Pe],typeof ke=="function")this.removeListener(Pe,ke);else if(ke!==void 0)for(Te=ke.length-1;Te>=0;Te--)this.removeListener(Pe,ke[Te]);return this};function Ve(Le,Pe,ke){var Re=Le._events;if(Re===void 0)return[];var Te=Re[Pe];return Te===void 0?[]:typeof Te=="function"?ke?[Te.listener||Te]:[Te]:ke?qe(Te):ct(Te,Te.length)}ce.prototype.listeners=function(Pe){return Ve(this,Pe,!0)},ce.prototype.rawListeners=function(Pe){return Ve(this,Pe,!1)},ce.listenerCount=function(Le,Pe){return typeof Le.listenerCount=="function"?Le.listenerCount(Pe):Ae.call(Le,Pe)},ce.prototype.listenerCount=Ae;function Ae(Le){var Pe=this._events;if(Pe!==void 0){var ke=Pe[Le];if(typeof ke=="function")return 1;if(ke!==void 0)return ke.length}return 0}ce.prototype.eventNames=function(){return this._eventsCount>0?b(this._events):[]};function ct(Le,Pe){for(var ke=new Array(Pe),Re=0;Re<Pe;++Re)ke[Re]=Le[Re];return ke}function Ke(Le,Pe){for(;Pe+1<Le.length;Pe++)Le[Pe]=Le[Pe+1];Le.pop()}function qe(Le){for(var Pe=new Array(Le.length),ke=0;ke<Pe.length;++ke)Pe[ke]=Le[ke].listener||Le[ke];return Pe}function Me(Le,Pe){return new Promise(function(ke,Re){function Te(lt){Le.removeListener(Pe,Ye),Re(lt)}function Ye(){typeof Le.removeListener=="function"&&Le.removeListener("error",Te),ke([].slice.call(arguments))}Ze(Le,Pe,Ye,{once:!0}),Pe!=="error"&&ze(Le,Te,{once:!0})})}function ze(Le,Pe,ke){typeof Le.on=="function"&&Ze(Le,"error",Pe,ke)}function Ze(Le,Pe,ke,Re){if(typeof Le.on=="function")Re.once?Le.once(Pe,ke):Le.on(Pe,ke);else if(typeof Le.addEventListener=="function")Le.addEventListener(Pe,function Te(Ye){Re.once&&Le.removeEventListener(Pe,Te),ke(Ye)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof Le)}},58847:function(me){"use strict";var ne=Object.prototype.hasOwnProperty,E=Object.prototype.toString,b=Object.defineProperty,ue=Object.getOwnPropertyDescriptor,le=function(Oe){return typeof Array.isArray=="function"?Array.isArray(Oe):E.call(Oe)==="[object Array]"},ce=function(Oe){if(!Oe||E.call(Oe)!=="[object Object]")return!1;var Se=ne.call(Oe,"constructor"),he=Oe.constructor&&Oe.constructor.prototype&&ne.call(Oe.constructor.prototype,"isPrototypeOf");if(Oe.constructor&&!Se&&!he)return!1;var Ve;for(Ve in Oe);return typeof Ve=="undefined"||ne.call(Oe,Ve)},ge=function(Oe,Se){b&&Se.name==="__proto__"?b(Oe,Se.name,{enumerable:!0,configurable:!0,value:Se.newValue,writable:!0}):Oe[Se.name]=Se.newValue},oe=function(Oe,Se){if(Se==="__proto__")if(ne.call(Oe,Se)){if(ue)return ue(Oe,Se).value}else return;return Oe[Se]};me.exports=function xe(){var Oe,Se,he,Ve,Ae,ct,Ke=arguments[0],qe=1,Me=arguments.length,ze=!1;for(typeof Ke=="boolean"&&(ze=Ke,Ke=arguments[1]||{},qe=2),(Ke==null||typeof Ke!="object"&&typeof Ke!="function")&&(Ke={});qe<Me;++qe)if(Oe=arguments[qe],Oe!=null)for(Se in Oe)he=oe(Ke,Se),Ve=oe(Oe,Se),Ke!==Ve&&(ze&&Ve&&(ce(Ve)||(Ae=le(Ve)))?(Ae?(Ae=!1,ct=he&&le(he)?he:[]):ct=he&&ce(he)?he:{},ge(Ke,{name:Se,newValue:xe(ze,ct,Ve)})):typeof Ve!="undefined"&&ge(Ke,{name:Se,newValue:Ve}));return Ke}},46963:function(me){"use strict";me.exports=E;var ne=/[#.]/g;function E(b,ue){for(var le=b||"",ce=ue||"div",ge={},oe=0,xe,Oe,Se;oe<le.length;)ne.lastIndex=oe,Se=ne.exec(le),xe=le.slice(oe,Se?Se.index:le.length),xe&&(Oe?Oe==="#"?ge.id=xe:ge.className?ge.className.push(xe):ge.className=[xe]:ce=xe,oe+=xe.length),Se&&(Oe=Se[0],oe++);return{type:"element",tagName:ce,properties:ge,children:[]}}},5641:function(me,ne,E){"use strict";var b=E(88914),ue=E(47178),le=E(46963),ce=E(92848).Q,ge=E(58951).Q;me.exports=xe;var oe={}.hasOwnProperty;function xe(qe,Me,ze){var Ze=ze?Ke(ze):null;return Le;function Le(ke,Re){var Te=le(ke,Me),Ye=Array.prototype.slice.call(arguments,2),lt=Te.tagName.toLowerCase(),Fe;if(Te.tagName=Ze&&oe.call(Ze,lt)?Ze[lt]:lt,Re&&Oe(Re,Te)&&(Ye.unshift(Re),Re=null),Re)for(Fe in Re)Pe(Te.properties,Fe,Re[Fe]);return he(Te.children,Ye),Te.tagName==="template"&&(Te.content={type:"root",children:Te.children},Te.children=[]),Te}function Pe(ke,Re,Te){var Ye,lt,Fe;Te==null||Te!==Te||(Ye=b(qe,Re),lt=Ye.property,Fe=Te,typeof Fe=="string"&&(Ye.spaceSeparated?Fe=ce(Fe):Ye.commaSeparated?Fe=ge(Fe):Ye.commaOrSpaceSeparated&&(Fe=ce(ge(Fe).join(" ")))),lt==="style"&&typeof Te!="string"&&(Fe=ct(Fe)),lt==="className"&&ke.className&&(Fe=ke.className.concat(Fe)),ke[lt]=Ve(Ye,lt,Fe))}}function Oe(qe,Me){return typeof qe=="string"||"length"in qe||Se(Me.tagName,qe)}function Se(qe,Me){var ze=Me.type;return qe==="input"||!ze||typeof ze!="string"?!1:typeof Me.children=="object"&&"length"in Me.children?!0:(ze=ze.toLowerCase(),qe==="button"?ze!=="menu"&&ze!=="submit"&&ze!=="reset"&&ze!=="button":"value"in Me)}function he(qe,Me){var ze,Ze;if(typeof Me=="string"||typeof Me=="number"){qe.push({type:"text",value:String(Me)});return}if(typeof Me=="object"&&"length"in Me){for(ze=-1,Ze=Me.length;++ze<Ze;)he(qe,Me[ze]);return}if(typeof Me!="object"||!("type"in Me))throw new Error("Expected node, nodes, or string, got `"+Me+"`");qe.push(Me)}function Ve(qe,Me,ze){var Ze,Le,Pe;if(typeof ze!="object"||!("length"in ze))return Ae(qe,Me,ze);for(Le=ze.length,Ze=-1,Pe=[];++Ze<Le;)Pe[Ze]=Ae(qe,Me,ze[Ze]);return Pe}function Ae(qe,Me,ze){var Ze=ze;return qe.number||qe.positiveNumber?!isNaN(Ze)&&Ze!==""&&(Ze=Number(Ze)):(qe.boolean||qe.overloadedBoolean)&&typeof Ze=="string"&&(Ze===""||ue(ze)===ue(Me))&&(Ze=!0),Ze}function ct(qe){var Me=[],ze;for(ze in qe)Me.push([ze,qe[ze]].join(": "));return Me.join("; ")}function Ke(qe){for(var Me=qe.length,ze=-1,Ze={},Le;++ze<Me;)Le=qe[ze],Ze[Le.toLowerCase()]=Le;return Ze}},82073:function(me,ne,E){"use strict";var b=E(18795),ue=E(5641),le=ue(b,"div");le.displayName="html",me.exports=le},43621:function(me,ne,E){"use strict";me.exports=E(82073)},93193:function(me){var ne=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,E=/\n/g,b=/^\s*/,ue=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,le=/^:\s*/,ce=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,ge=/^[;\s]*/,oe=/^\s+|\s+$/g,xe=`
`,Oe="/",Se="*",he="",Ve="comment",Ae="declaration";me.exports=function(Ke,qe){if(typeof Ke!="string")throw new TypeError("First argument must be a string");if(!Ke)return[];qe=qe||{};var Me=1,ze=1;function Ze(Ue){var Xe=Ue.match(E);Xe&&(Me+=Xe.length);var et=Ue.lastIndexOf(xe);ze=~et?Ue.length-et:ze+Ue.length}function Le(){var Ue={line:Me,column:ze};return function(Xe){return Xe.position=new Pe(Ue),Ye(),Xe}}function Pe(Ue){this.start=Ue,this.end={line:Me,column:ze},this.source=qe.source}Pe.prototype.content=Ke;var ke=[];function Re(Ue){var Xe=new Error(qe.source+":"+Me+":"+ze+": "+Ue);if(Xe.reason=Ue,Xe.filename=qe.source,Xe.line=Me,Xe.column=ze,Xe.source=Ke,qe.silent)ke.push(Xe);else throw Xe}function Te(Ue){var Xe=Ue.exec(Ke);if(Xe){var et=Xe[0];return Ze(et),Ke=Ke.slice(et.length),Xe}}function Ye(){Te(b)}function lt(Ue){var Xe;for(Ue=Ue||[];Xe=Fe();)Xe!==!1&&Ue.push(Xe);return Ue}function Fe(){var Ue=Le();if(!(Oe!=Ke.charAt(0)||Se!=Ke.charAt(1))){for(var Xe=2;he!=Ke.charAt(Xe)&&(Se!=Ke.charAt(Xe)||Oe!=Ke.charAt(Xe+1));)++Xe;if(Xe+=2,he===Ke.charAt(Xe-1))return Re("End of comment missing");var et=Ke.slice(2,Xe-2);return ze+=2,Ze(et),Ke=Ke.slice(Xe),ze+=2,Ue({type:Ve,comment:et})}}function tt(){var Ue=Le(),Xe=Te(ue);if(Xe){if(Fe(),!Te(le))return Re("property missing ':'");var et=Te(ce),rt=Ue({type:Ae,property:ct(Xe[0].replace(ne,he)),value:et?ct(et[0].replace(ne,he)):he});return Te(ge),rt}}function $e(){var Ue=[];lt(Ue);for(var Xe;Xe=tt();)Xe!==!1&&(Ue.push(Xe),lt(Ue));return Ue}return Ye(),$e()};function ct(Ke){return Ke?Ke.replace(oe,he):he}},91241:function(me){"use strict";me.exports=ne;function ne(E){var b=typeof E=="string"?E.charCodeAt(0):E;return b>=97&&b<=122||b>=65&&b<=90}},21127:function(me,ne,E){"use strict";var b=E(91241),ue=E(22347);me.exports=le;function le(ce){return b(ce)||ue(ce)}},22347:function(me){"use strict";me.exports=ne;function ne(E){var b=typeof E=="string"?E.charCodeAt(0):E;return b>=48&&b<=57}},65207:function(me){"use strict";me.exports=ne;function ne(E){var b=typeof E=="string"?E.charCodeAt(0):E;return b>=97&&b<=102||b>=65&&b<=70||b>=48&&b<=57}},24334:function(me,ne,E){var b,ue;(function(le,ce){me.exports=ce(le)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof E.g!="undefined"?E.g:this,function(le){"use strict";le=le||{};var ce=le.Base64,ge="2.6.4",oe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xe=function(et){for(var rt={},ht=0,kt=et.length;ht<kt;ht++)rt[et.charAt(ht)]=ht;return rt}(oe),Oe=String.fromCharCode,Se=function(et){if(et.length<2){var rt=et.charCodeAt(0);return rt<128?et:rt<2048?Oe(192|rt>>>6)+Oe(128|rt&63):Oe(224|rt>>>12&15)+Oe(128|rt>>>6&63)+Oe(128|rt&63)}else{var rt=65536+(et.charCodeAt(0)-55296)*1024+(et.charCodeAt(1)-56320);return Oe(240|rt>>>18&7)+Oe(128|rt>>>12&63)+Oe(128|rt>>>6&63)+Oe(128|rt&63)}},he=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Ve=function(et){return et.replace(he,Se)},Ae=function(et){var rt=[0,2,1][et.length%3],ht=et.charCodeAt(0)<<16|(et.length>1?et.charCodeAt(1):0)<<8|(et.length>2?et.charCodeAt(2):0),kt=[oe.charAt(ht>>>18),oe.charAt(ht>>>12&63),rt>=2?"=":oe.charAt(ht>>>6&63),rt>=1?"=":oe.charAt(ht&63)];return kt.join("")},ct=le.btoa&&typeof le.btoa=="function"?function(et){return le.btoa(et)}:function(et){if(et.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return et.replace(/[\s\S]{1,3}/g,Ae)},Ke=function(et){return ct(Ve(String(et)))},qe=function(et){return et.replace(/[+\/]/g,function(rt){return rt=="+"?"-":"_"}).replace(/=/g,"")},Me=function(et,rt){return rt?qe(Ke(et)):Ke(et)},ze=function(et){return Me(et,!0)},Ze;le.Uint8Array&&(Ze=function(et,rt){for(var ht="",kt=0,St=et.length;kt<St;kt+=3){var Gt=et[kt],nt=et[kt+1],je=et[kt+2],Be=Gt<<16|nt<<8|je;ht+=oe.charAt(Be>>>18)+oe.charAt(Be>>>12&63)+(typeof nt!="undefined"?oe.charAt(Be>>>6&63):"=")+(typeof je!="undefined"?oe.charAt(Be&63):"=")}return rt?qe(ht):ht});var Le=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Pe=function(et){switch(et.length){case 4:var rt=(7&et.charCodeAt(0))<<18|(63&et.charCodeAt(1))<<12|(63&et.charCodeAt(2))<<6|63&et.charCodeAt(3),ht=rt-65536;return Oe((ht>>>10)+55296)+Oe((ht&1023)+56320);case 3:return Oe((15&et.charCodeAt(0))<<12|(63&et.charCodeAt(1))<<6|63&et.charCodeAt(2));default:return Oe((31&et.charCodeAt(0))<<6|63&et.charCodeAt(1))}},ke=function(et){return et.replace(Le,Pe)},Re=function(et){var rt=et.length,ht=rt%4,kt=(rt>0?xe[et.charAt(0)]<<18:0)|(rt>1?xe[et.charAt(1)]<<12:0)|(rt>2?xe[et.charAt(2)]<<6:0)|(rt>3?xe[et.charAt(3)]:0),St=[Oe(kt>>>16),Oe(kt>>>8&255),Oe(kt&255)];return St.length-=[0,0,2,1][ht],St.join("")},Te=le.atob&&typeof le.atob=="function"?function(et){return le.atob(et)}:function(et){return et.replace(/\S{1,4}/g,Re)},Ye=function(et){return Te(String(et).replace(/[^A-Za-z0-9\+\/]/g,""))},lt=function(et){return ke(Te(et))},Fe=function(et){return String(et).replace(/[-_]/g,function(rt){return rt=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},tt=function(et){return lt(Fe(et))},$e;le.Uint8Array&&($e=function(et){return Uint8Array.from(Ye(Fe(et)),function(rt){return rt.charCodeAt(0)})});var Ue=function(){var et=le.Base64;return le.Base64=ce,et};if(le.Base64={VERSION:ge,atob:Ye,btoa:ct,fromBase64:tt,toBase64:Me,utob:Ve,encode:Me,encodeURI:ze,btou:ke,decode:tt,noConflict:Ue,fromUint8Array:Ze,toUint8Array:$e},typeof Object.defineProperty=="function"){var Xe=function(et){return{value:et,enumerable:!1,writable:!0,configurable:!0}};le.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Xe(function(){return tt(this)})),Object.defineProperty(String.prototype,"toBase64",Xe(function(et){return Me(this,et)})),Object.defineProperty(String.prototype,"toBase64URI",Xe(function(){return Me(this,!0)}))}}return le.Meteor&&(Base64=le.Base64),me.exports?me.exports.Base64=le.Base64:(b=[],ue=function(){return le.Base64}.apply(ne,b),ue!==void 0&&(me.exports=ue)),{Base64:le.Base64}})},2859:function(me,ne,E){"use strict";E.d(ne,{hP:function(){return cn}});var b=function(Ie,pe){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(de,Ee){de.__proto__=Ee}||function(de,Ee){for(var De in Ee)Object.prototype.hasOwnProperty.call(Ee,De)&&(de[De]=Ee[De])})(Ie,pe)};function ue(Ie,pe){function de(){this.constructor=Ie}b(Ie,pe),Ie.prototype=pe===null?Object.create(pe):(de.prototype=pe.prototype,new de)}function le(Ie,pe,de,Ee){return new(de||(de=Promise))(function(De,fe){function Qe(Sn){try{an(Ee.next(Sn))}catch(gt){fe(gt)}}function Mt(Sn){try{an(Ee.throw(Sn))}catch(gt){fe(gt)}}function an(Sn){var gt;Sn.done?De(Sn.value):(gt=Sn.value,gt instanceof de?gt:new de(function(Ft){Ft(gt)})).then(Qe,Mt)}an((Ee=Ee.apply(Ie,pe||[])).next())})}function ce(Ie,pe){var de,Ee,De,fe,Qe={label:0,sent:function(){if(1&De[0])throw De[1];return De[1]},trys:[],ops:[]};return fe={next:Mt(0),throw:Mt(1),return:Mt(2)},typeof Symbol=="function"&&(fe[Symbol.iterator]=function(){return this}),fe;function Mt(an){return function(Sn){return function(gt){if(de)throw new TypeError("Generator is already executing.");for(;Qe;)try{if(de=1,Ee&&(De=2&gt[0]?Ee.return:gt[0]?Ee.throw||((De=Ee.return)&&De.call(Ee),0):Ee.next)&&!(De=De.call(Ee,gt[1])).done)return De;switch(Ee=0,De&&(gt=[2&gt[0],De.value]),gt[0]){case 0:case 1:De=gt;break;case 4:return Qe.label++,{value:gt[1],done:!1};case 5:Qe.label++,Ee=gt[1],gt=[0];continue;case 7:gt=Qe.ops.pop(),Qe.trys.pop();continue;default:if(De=Qe.trys,!((De=De.length>0&&De[De.length-1])||gt[0]!==6&&gt[0]!==2)){Qe=0;continue}if(gt[0]===3&&(!De||gt[1]>De[0]&&gt[1]<De[3])){Qe.label=gt[1];break}if(gt[0]===6&&Qe.label<De[1]){Qe.label=De[1],De=gt;break}if(De&&Qe.label<De[2]){Qe.label=De[2],Qe.ops.push(gt);break}De[2]&&Qe.ops.pop(),Qe.trys.pop();continue}gt=pe.call(Ie,Qe)}catch(Ft){gt=[6,Ft],Ee=0}finally{de=De=0}if(5&gt[0])throw gt[1];return{value:gt[0]?gt[1]:void 0,done:!0}}([an,Sn])}}}function ge(){for(var Ie=0,pe=0,de=arguments.length;pe<de;pe++)Ie+=arguments[pe].length;var Ee=Array(Ie),De=0;for(pe=0;pe<de;pe++)for(var fe=arguments[pe],Qe=0,Mt=fe.length;Qe<Mt;Qe++,De++)Ee[De]=fe[Qe];return Ee}var oe=function(){function Ie(){}return Ie.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},Ie.setAttributes=function(pe,de){for(var Ee=0,De=de;Ee<De.length;Ee++){var fe=De[Ee],Qe=fe[0],Mt=fe[1];pe.setAttribute(Qe,Mt)}},Ie.createRect=function(pe,de,Ee){var De=document.createElementNS("http://www.w3.org/2000/svg","rect");return De.setAttribute("width",pe.toString()),De.setAttribute("height",de.toString()),Ee&&Ie.setAttributes(De,Ee),De},Ie.createLine=function(pe,de,Ee,De,fe){var Qe=document.createElementNS("http://www.w3.org/2000/svg","line");return Qe.setAttribute("x1",pe.toString()),Qe.setAttribute("y1",de.toString()),Qe.setAttribute("x2",Ee.toString()),Qe.setAttribute("y2",De.toString()),fe&&Ie.setAttributes(Qe,fe),Qe},Ie.createPolygon=function(pe,de){var Ee=document.createElementNS("http://www.w3.org/2000/svg","polygon");return Ee.setAttribute("points",pe),de&&Ie.setAttributes(Ee,de),Ee},Ie.createCircle=function(pe,de){var Ee=document.createElementNS("http://www.w3.org/2000/svg","circle");return Ee.setAttribute("cx",(pe/2).toString()),Ee.setAttribute("cy",(pe/2).toString()),Ee.setAttribute("r",pe.toString()),de&&Ie.setAttributes(Ee,de),Ee},Ie.createEllipse=function(pe,de,Ee){var De=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return De.setAttribute("cx",(pe/2).toString()),De.setAttribute("cy",(de/2).toString()),De.setAttribute("rx",(pe/2).toString()),De.setAttribute("ry",(de/2).toString()),Ee&&Ie.setAttributes(De,Ee),De},Ie.createGroup=function(pe){var de=document.createElementNS("http://www.w3.org/2000/svg","g");return pe&&Ie.setAttributes(de,pe),de},Ie.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},Ie.createMarker=function(pe,de,Ee,De,fe,Qe,Mt){var an=document.createElementNS("http://www.w3.org/2000/svg","marker");return Ie.setAttributes(an,[["id",pe],["orient",de],["markerWidth",Ee.toString()],["markerHeight",De.toString()],["refX",fe.toString()],["refY",Qe.toString()]]),an.appendChild(Mt),an},Ie.createText=function(pe){var de=document.createElementNS("http://www.w3.org/2000/svg","text");return de.setAttribute("x","0"),de.setAttribute("y","0"),pe&&Ie.setAttributes(de,pe),de},Ie.createTSpan=function(pe,de){var Ee=document.createElementNS("http://www.w3.org/2000/svg","tspan");return Ee.textContent=pe,de&&Ie.setAttributes(Ee,de),Ee},Ie.createImage=function(pe){var de=document.createElementNS("http://www.w3.org/2000/svg","image");return pe&&Ie.setAttributes(de,pe),de},Ie.createPoint=function(pe,de){var Ee=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return Ee.x=pe,Ee.y=de,Ee},Ie.createPath=function(pe,de){var Ee=document.createElementNS("http://www.w3.org/2000/svg","path");return Ee.setAttribute("d",pe),de&&Ie.setAttributes(Ee,de),Ee},Ie}(),xe=function(){function Ie(){}return Ie.addKey=function(pe){Ie.key=pe},Object.defineProperty(Ie,"isLicensed",{get:function(){return!!Ie.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(Ie.key)},enumerable:!1,configurable:!0}),Ie}(),Oe=function(){function Ie(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return Ie.prototype.rasterize=function(pe,de,Ee){var De=this;return new Promise(function(fe){var Qe=Ee!==void 0?Ee:document.createElement("canvas");pe===null&&(De.markersOnly=!0,De.naturalSize=!1);var Mt=document.createElementNS("http://www.w3.org/2000/svg","svg");Mt.setAttribute("xmlns","http://www.w3.org/2000/svg"),Mt.setAttribute("width",de.width.baseVal.valueAsString),Mt.setAttribute("height",de.height.baseVal.valueAsString),Mt.setAttribute("viewBox","0 0 "+de.viewBox.baseVal.width.toString()+" "+de.viewBox.baseVal.height.toString()),Mt.innerHTML=de.innerHTML,De.naturalSize===!0?(Mt.width.baseVal.value=pe.naturalWidth,Mt.height.baseVal.value=pe.naturalHeight):De.width!==void 0&&De.height!==void 0&&(Mt.width.baseVal.value=De.width,Mt.height.baseVal.value=De.height),Qe.width=Mt.width.baseVal.value,Qe.height=Mt.height.baseVal.value;var an=Mt.outerHTML,Sn=Qe.getContext("2d");De.markersOnly!==!0&&Sn.drawImage(pe,0,0,Qe.width,Qe.height);var gt=window.URL,Ft=new Image(Qe.width,Qe.height);Ft.setAttribute("crossOrigin","anonymous");var Lt=new Blob([an],{type:"image/svg+xml"}),Jt=gt.createObjectURL(Lt);Ft.onload=function(){Sn.drawImage(Ft,0,0),gt.revokeObjectURL(Jt);var fn=Qe.toDataURL(De.imageType,De.imageQuality);fe(fn)},Ft.src=Jt})},Ie}(),Se=function(){},he=function(){function Ie(pe){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+pe+"_"}return Object.defineProperty(Ie.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.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(Ie.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),Ie.prototype.addClass=function(pe){return this.styleSheet===void 0&&this.addStyleSheet(),pe.name=""+this.classNamePrefix+pe.localName,this.classes.push(pe),this.styleSheet.sheet.insertRule("."+pe.name+" {"+pe.style+"}",this.styleSheet.sheet.cssRules.length),pe},Ie.prototype.addRule=function(pe){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(pe),this.styleSheet.sheet.insertRule(pe.selector+" {"+pe.style+"}",this.styleSheet.sheet.cssRules.length)},Ie.prototype.addStyleSheet=function(){var pe;this.styleSheet=document.createElement("style"),((pe=this.styleSheetRoot)!==null&&pe!==void 0?pe:document.head).appendChild(this.styleSheet),this.addRule(new Ve("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new Ve("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
from {
opacity: 0;
}
to {
opacity: 1;
}
`)),this.addRule(new Ve("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
from {
opacity: 1;
}
to {
opacity: 0;
}
`)),this.addClass(new Ae("fade_in",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
`)),this.addClass(new Ae("fade_out",`
animation-duration: 0.3s;
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
`))},Ie.prototype.removeStyleSheet=function(){var pe;this.styleSheet&&(((pe=this.styleSheetRoot)!==null&&pe!==void 0?pe:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},Ie}(),Ve=function(Ie,pe){this.selector=Ie,this.style=pe},Ae=function(Ie,pe){this.localName=Ie,this.style=pe},ct=function(){function Ie(pe,de,Ee,De,fe){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=pe,this.displayMode=de,this.markerItems=Ee,this.uiStyleSettings=De,this.styles=fe,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return Ie.prototype.show=function(pe){var de=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=pe,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var Ee=document.createElement("div");Ee.className=this.toolbarBlockStyleClass.name,Ee.style.whiteSpace="nowrap",this.uiContainer.appendChild(Ee),this.addActionButton(Ee,'<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(Ee,'<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(Ee,'<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(Ee,'<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(Ee,'<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(Ee,'<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(Ee,'<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(Ee,'<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(fe){var Qe=document.createElement("div");Qe.className=""+de.toolbarButtonStyleClass.name,Qe.setAttribute("data-type-name",fe.typeName),Qe.innerHTML=fe.icon,Qe.addEventListener("click",function(){de.markerToolbarButtonClicked(Qe,fe)}),de.buttons.push(Qe),de.markerButtons.push(Qe)}),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 De=document.createElement("div");De.className=this.toolbarBlockStyleClass.name,De.style.whiteSpace="nowrap",De.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(De),this.addActionButton(De,'<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(De,'<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()},Ie.prototype.addButtonClickListener=function(pe){this.buttonClickListeners.push(pe)},Ie.prototype.removeButtonClickListener=function(pe){this.buttonClickListeners.indexOf(pe)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(pe),1)},Ie.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},Ie.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var pe=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var de=0;de<this.markerButtons.length;de++)de<pe||de===pe&&this.markerButtons.length-1===pe?this.markerButtonBlock.appendChild(this.markerButtons[de]):(de===pe&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[de]))}},Ie.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")},Ie.prototype.resetButtonStyles=function(){var pe=this;this.buttons.forEach(function(de){de.className=de.className.replace(pe.uiStyleSettings.toolbarButtonStyleColorsClassName?pe.uiStyleSettings.toolbarButtonStyleColorsClassName:pe.toolbarButtonStyleColorsClass.name,"").trim(),de.className=de.className.replace(pe.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?pe.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:pe.toolbarActiveButtonStyleColorsClass.name,"").trim(),de.className+=" "+(pe.uiStyleSettings.toolbarButtonStyleColorsClassName?pe.uiStyleSettings.toolbarButtonStyleColorsClassName:pe.toolbarButtonStyleColorsClass.name)})},Ie.prototype.addActionButton=function(pe,de,Ee){var De=this,fe=document.createElement("div");switch(fe.className=""+this.toolbarButtonStyleClass.name,fe.innerHTML=de,fe.setAttribute("data-action",Ee),fe.addEventListener("click",function(){De.actionToolbarButtonClicked(fe,Ee)}),Ee){case"select":fe.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":fe.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":fe.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":fe.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":fe.style.fill=this.uiStyleSettings.closeButtonColor}pe.appendChild(fe),this.buttons.push(fe)},Ie.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new Ae("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 Ae("toolbar_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
`)),this.toolbarBlockStyleClass=this.styles.addClass(new Ae("toolbar-block",`
display: inline-block;
box-sizing: content-box;
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new Ae("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 Ae("toolbar-overflow-block_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`));var pe=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new Ae("toolbar_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*pe)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*pe)+`px;
padding: `+pe+`px;
box-sizing: content-box;
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new Ae("toolbar_button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new Ae("toolbar_active_button",`
fill: `+this.uiStyleSettings.toolbarColor+`;
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new Ve("."+this.toolbarButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`)),this.styles.addRule(new Ve("."+this.toolbarButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`))},Ie.prototype.markerToolbarButtonClicked=function(pe,de){this.setActiveButton(pe),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(Ee){return Ee("marker",de)}),this.markerButtonOverflowBlock.style.display="none"},Ie.prototype.actionToolbarButtonClicked=function(pe,de){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(Ee){return Ee("action",de)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},Ie.prototype.setActiveButton=function(pe){this.resetButtonStyles(),pe.className=pe.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),pe.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},Ie.prototype.setActiveMarkerButton=function(pe){var de=this.markerButtons.find(function(Ee){return Ee.getAttribute("data-type-name")===pe});de&&this.setActiveButton(de)},Ie.prototype.setCurrentMarker=function(pe){var de=this;this.currentMarker=pe,this.buttons.filter(function(Ee){return/delete|notes/.test(Ee.getAttribute("data-action"))}).forEach(function(Ee){de.currentMarker===void 0?(Ee.style.fillOpacity="0.4",Ee.style.pointerEvents="none"):(Ee.style.fillOpacity="1",Ee.style.pointerEvents="all")})},Ie}(),Ke=function(){function Ie(pe,de,Ee,De){this.panels=[],this.panelButtons=[],this.markerjsContainer=pe,this.displayMode=de,this.uiStyleSettings=Ee,this.styles=De,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return Ie.prototype.addStyles=function(){var pe;this.toolboxStyleClass=this.styles.addClass(new Ae("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 Ae("toolbox_colors",`
color: `+this.uiStyleSettings.toolboxColor+`;
`));var de=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new Ae("toolbox-button-row",`
display: flex;
cursor: default;
box-sizing: content-box;
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new Ae("toolbox-button-row_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new Ae("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 Ae("toolbox-panel-row_colors",`
background-color: `+((pe=this.uiStyleSettings.toolboxBackgroundColor)!==null&&pe!==void 0?pe:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
`)),this.toolboxButtonStyleClass=this.styles.addClass(new Ae("toolbox_button",`
display: inline-block;
width: `+(this.uiStyleSettings.toolbarHeight-2*de)+`px;
height: `+(this.uiStyleSettings.toolbarHeight-2*de)+`px;
padding: `+de+`px;
box-sizing: content-box;
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new Ae("toolbox-button_colors",`
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new Ae("toolbox-active-button_colors",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
fill: `+this.uiStyleSettings.toolbarColor+`;
`)),this.styles.addRule(new Ve("."+this.toolboxButtonStyleColorsClass.name+":hover",`
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
`)),this.styles.addRule(new Ve("."+this.toolboxButtonStyleClass.name+" svg",`
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
`))},Ie.prototype.show=function(pe){var de;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=pe,this.uiContainer.className=this.toolboxStyleClass.name+" "+((de=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&de!==void 0?de:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},Ie.prototype.setPanelButtons=function(pe){var de,Ee,De=this;this.panels=pe,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((de=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&de!==void 0?de:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((Ee=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&Ee!==void 0?Ee:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(fe){var Qe;fe.uiStyleSettings=De.uiStyleSettings;var Mt=document.createElement("div");Mt.className=De.toolboxButtonStyleClass.name+" "+((Qe=De.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Qe!==void 0?Qe:De.toolboxButtonStyleColorsClass.name),Mt.innerHTML=fe.icon,Mt.title=fe.title,Mt.addEventListener("click",function(){De.panelButtonClick(fe)}),De.panelButtons.push(Mt),De.buttonRow.appendChild(Mt)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},Ie.prototype.panelButtonClick=function(pe){var de=this,Ee=-1;if(pe!==this.activePanel){Ee=this.panels.indexOf(pe),this.panelRow.innerHTML="";var De=pe.getUi();De.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(De),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=pe}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){de.displayMode==="inline"?de.panelRow.style.display="none":de.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(fe,Qe){var Mt,an;fe.className=de.toolboxButtonStyleClass.name+" "+(Qe===Ee?""+((Mt=de.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&Mt!==void 0?Mt:de.toolboxActiveButtonStyleColorsClass.name):""+((an=de.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&an!==void 0?an:de.toolboxButtonStyleColorsClass.name))})},Ie}(),qe=function(Ie,pe){this.title=Ie,this.icon=pe},Me=function(Ie){function pe(de,Ee,De,fe){var Qe=Ie.call(this,de,fe||'<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 Qe.colors=[],Qe.addTransparent=!1,Qe.colorBoxes=[],Qe.colors=Ee,Qe.currentColor=De,Qe.setCurrentColor=Qe.setCurrentColor.bind(Qe),Qe.getColorBox=Qe.getColorBox.bind(Qe),Qe}return ue(pe,Ie),pe.prototype.getUi=function(){var de=this,Ee=document.createElement("div");return Ee.style.overflow="hidden",Ee.style.whiteSpace="nowrap",this.colors.forEach(function(De){var fe=de.getColorBox(De);Ee.appendChild(fe),de.colorBoxes.push(fe)}),Ee},pe.prototype.getColorBox=function(de){var Ee=this,De=this.uiStyleSettings.toolbarHeight/4,fe=this.uiStyleSettings.toolbarHeight-De,Qe=document.createElement("div");Qe.style.display="inline-block",Qe.style.boxSizing="content-box",Qe.style.width=fe-2+"px",Qe.style.height=fe-2+"px",Qe.style.padding="1px",Qe.style.marginRight="2px",Qe.style.marginBottom="2px",Qe.style.borderWidth="2px",Qe.style.borderStyle="solid",Qe.style.borderRadius=(fe+2)/2+"px",Qe.style.borderColor=de===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",Qe.addEventListener("click",function(){Ee.setCurrentColor(de,Qe)});var Mt=document.createElement("div");return Mt.style.display="inline-block",Mt.style.width=fe-2+"px",Mt.style.height=fe-2+"px",Mt.style.backgroundColor=de,Mt.style.borderRadius=fe/2+"px",de==="transparent"&&(Mt.style.fill=this.uiStyleSettings.toolboxAccentColor,Mt.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>`),Qe.appendChild(Mt),Qe},pe.prototype.setCurrentColor=function(de,Ee){var De=this;this.currentColor=de,this.colorBoxes.forEach(function(fe){fe.style.borderColor=fe===Ee?De.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(de)},pe}(qe),ze=function(){function Ie(pe,de,Ee){this._state="new",this._isSelected=!1,this._container=pe,this._overlayContainer=de,this.globalSettings=Ee,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(Ie.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),Ie.prototype.ownsTarget=function(pe){return!1},Object.defineProperty(Ie.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),Ie.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},Ie.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},Ie.prototype.pointerDown=function(pe,de){},Ie.prototype.dblClick=function(pe,de){},Ie.prototype.manipulate=function(pe){},Ie.prototype.pointerUp=function(pe){this.stateChanged()},Ie.prototype.dispose=function(){},Ie.prototype.addMarkerVisualToContainer=function(pe){this.container.childNodes.length>0?this.container.insertBefore(pe,this.container.childNodes[0]):this.container.appendChild(pe)},Ie.prototype.getState=function(){return{typeName:Ie.typeName,state:this.state,notes:this.notes}},Ie.prototype.restoreState=function(pe){this._state=pe.state,this.notes=pe.notes},Ie.prototype.scale=function(pe,de){},Ie.prototype.colorChanged=function(pe){this.onColorChanged&&this.onColorChanged(pe),this.stateChanged()},Ie.prototype.fillColorChanged=function(pe){this.onFillColorChanged&&this.onFillColorChanged(pe),this.stateChanged()},Ie.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var pe=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),pe.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(pe)&&this.onStateChanged(this)}},Ie.typeName="MarkerBase",Ie}(),Ze=function(){function Ie(){this.findGripByVisual=this.findGripByVisual.bind(this)}return Ie.prototype.findGripByVisual=function(pe){return this.topLeft.ownsTarget(pe)?this.topLeft:this.topCenter.ownsTarget(pe)?this.topCenter:this.topRight.ownsTarget(pe)?this.topRight:this.centerLeft.ownsTarget(pe)?this.centerLeft:this.centerRight.ownsTarget(pe)?this.centerRight:this.bottomLeft.ownsTarget(pe)?this.bottomLeft:this.bottomCenter.ownsTarget(pe)?this.bottomCenter:this.bottomRight.ownsTarget(pe)?this.bottomRight:void 0},Ie}(),Le=function(){function Ie(){this.GRIP_SIZE=10,this.visual=oe.createGroup(),this.visual.appendChild(oe.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(oe.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return Ie.prototype.ownsTarget=function(pe){return pe===this.visual||pe===this.visual.childNodes[0]||pe===this.visual.childNodes[1]},Ie}(),Pe=function(){function Ie(){}return Ie.toITransformMatrix=function(pe){return{a:pe.a,b:pe.b,c:pe.c,d:pe.d,e:pe.e,f:pe.f}},Ie.toSVGMatrix=function(pe,de){return pe.a=de.a,pe.b=de.b,pe.c=de.c,pe.d=de.d,pe.e=de.e,pe.f=de.f,pe},Ie}(),ke=function(Ie){function pe(de,Ee,De){var fe=Ie.call(this,de,Ee,De)||this;return fe.left=0,fe.top=0,fe.width=0,fe.height=0,fe.defaultSize={x:50,y:20},fe.offsetX=0,fe.offsetY=0,fe.rotationAngle=0,fe.CB_DISTANCE=10,fe._suppressMarkerCreateEvent=!1,fe.container.transform.baseVal.appendItem(oe.createTransform()),fe.setupControlBox(),fe}return ue(pe,Ie),Object.defineProperty(pe.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(pe.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(pe.prototype,"visual",{get:function(){return this._visual},set:function(de){this._visual=de;var Ee=oe.createTransform();this._visual.transform.baseVal.appendItem(Ee)},enumerable:!1,configurable:!0}),pe.prototype.ownsTarget=function(de){return!!Ie.prototype.ownsTarget.call(this,de)||!!(this.controlGrips.findGripByVisual(de)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(de))},pe.prototype.pointerDown=function(de,Ee){Ie.prototype.pointerDown.call(this,de,Ee),this.state==="new"&&(this.left=de.x,this.top=de.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var De=this.unrotatePoint(de);if(this.manipulationStartX=De.x,this.manipulationStartY=De.y,this.offsetX=De.x-this.left,this.offsetY=De.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(Ee),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(Ee)){this.activeGrip=this.rotatorGrip;var fe=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=fe.x-this.width/2,this.top=fe.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var Qe=this.container.transform.baseVal.getItem(0);Qe.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(Qe,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},pe.prototype.pointerUp=function(de){var Ee=this.state;Ie.prototype.pointerUp.call(this,de),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(de),this._state="select",Ee==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},pe.prototype.moveVisual=function(de){this.visual.style.transform="translate("+de.x+"px, "+de.y+"px)"},pe.prototype.manipulate=function(de){var Ee=this.unrotatePoint(de);this.state==="creating"?this.resize(de):this.state==="move"?(this.left=this.manipulationStartLeft+(Ee.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(Ee.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(Ee):this.state==="rotate"&&this.rotate(de)},pe.prototype.resize=function(de){var Ee=this.manipulationStartLeft,De=this.manipulationStartWidth,fe=this.manipulationStartTop,Qe=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:Ee=this.manipulationStartLeft+de.x-this.manipulationStartX,De=this.manipulationStartWidth+this.manipulationStartLeft-Ee;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:De=this.manipulationStartWidth+de.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:fe=this.manipulationStartTop+de.y-this.manipulationStartY,Qe=this.manipulationStartHeight+this.manipulationStartTop-fe;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:Qe=this.manipulationStartHeight+de.y-this.manipulationStartY}De>=0?(this.left=Ee,this.width=De):(this.left=Ee+De,this.width=-De),Qe>=0?(this.top=fe,this.height=Qe):(this.top=fe+Qe,this.height=-Qe),this.setSize()},pe.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},pe.prototype.rotate=function(de){if(Math.abs(de.x-this.centerX)>.1){var Ee=Math.sign(de.x-this.centerX);this.rotationAngle=180*Math.atan((de.y-this.centerY)/(de.x-this.centerX))/Math.PI+90*Ee,this.applyRotation()}},pe.prototype.applyRotation=function(){var de=this.container.transform.baseVal.getItem(0);de.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(de,0)},pe.prototype.rotatePoint=function(de){if(this.rotationAngle===0)return de;var Ee=this.container.getCTM(),De=oe.createPoint(de.x,de.y);return{x:(De=De.matrixTransform(Ee)).x,y:De.y}},pe.prototype.unrotatePoint=function(de){if(this.rotationAngle===0)return de;var Ee=this.container.getCTM();Ee=Ee.inverse();var De=oe.createPoint(de.x,de.y);return{x:(De=De.matrixTransform(Ee)).x,y:De.y}},pe.prototype.select=function(){Ie.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},pe.prototype.deselect=function(){Ie.prototype.deselect.call(this),this.controlBox.style.display="none"},pe.prototype.setupControlBox=function(){this.controlBox=oe.createGroup();var de=oe.createTransform();de.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(de),this.container.appendChild(this.controlBox),this.controlRect=oe.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=oe.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 Ze,this.addControlGrips(),this.controlBox.style.display="none"},pe.prototype.adjustControlBox=function(){var de=this.controlBox.transform.baseVal.getItem(0);de.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(de,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()},pe.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()},pe.prototype.createGrip=function(){var de=new Le;return de.visual.transform.baseVal.appendItem(oe.createTransform()),this.controlBox.appendChild(de.visual),de},pe.prototype.positionGrips=function(){var de=this.controlGrips.topLeft.GRIP_SIZE,Ee=-de/2,De=Ee,fe=(this.width+this.CB_DISTANCE)/2-de/2,Qe=(this.height+this.CB_DISTANCE)/2-de/2,Mt=this.height+this.CB_DISTANCE-de/2,an=this.width+this.CB_DISTANCE-de/2;this.positionGrip(this.controlGrips.topLeft.visual,Ee,De),this.positionGrip(this.controlGrips.topCenter.visual,fe,De),this.positionGrip(this.controlGrips.topRight.visual,an,De),this.positionGrip(this.controlGrips.centerLeft.visual,Ee,Qe),this.positionGrip(this.controlGrips.centerRight.visual,an,Qe),this.positionGrip(this.controlGrips.bottomLeft.visual,Ee,Mt),this.positionGrip(this.controlGrips.bottomCenter.visual,fe,Mt),this.positionGrip(this.controlGrips.bottomRight.visual,an,Mt),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,fe,De-3*this.CB_DISTANCE)},pe.prototype.positionGrip=function(de,Ee,De){var fe=de.transform.baseVal.getItem(0);fe.setTranslate(Ee,De),de.transform.baseVal.replaceItem(fe,0)},pe.prototype.hideControlBox=function(){this.controlBox.style.display="none"},pe.prototype.showControlBox=function(){this.controlBox.style.display=""},pe.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:Pe.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:Pe.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},Ie.prototype.getState.call(this))},pe.prototype.restoreState=function(de){Ie.prototype.restoreState.call(this,de);var Ee=de;this.left=Ee.left,this.top=Ee.top,this.width=Ee.width,this.height=Ee.height,this.rotationAngle=Ee.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(Pe.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,Ee.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(Pe.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,Ee.containerTransformMatrix))},pe.prototype.scale=function(de,Ee){Ie.prototype.scale.call(this,de,Ee);var De=this.rotatePoint({x:this.left,y:this.top}),fe=this.unrotatePoint({x:De.x*de,y:De.y*Ee});this.left=fe.x,this.top=fe.y,this.width=this.width*de,this.height=this.height*Ee,this.adjustControlBox()},pe}(ze),Re=function(Ie){function pe(de,Ee,De){var fe=Ie.call(this,de,Ee,De)||this;return fe.fillColor="transparent",fe.strokeColor="transparent",fe.strokeWidth=0,fe.strokeDasharray="",fe.opacity=1,fe.setStrokeColor=fe.setStrokeColor.bind(fe),fe.setFillColor=fe.setFillColor.bind(fe),fe.setStrokeWidth=fe.setStrokeWidth.bind(fe),fe.setStrokeDasharray=fe.setStrokeDasharray.bind(fe),fe.createVisual=fe.createVisual.bind(fe),fe}return ue(pe,Ie),pe.prototype.ownsTarget=function(de){return!(!Ie.prototype.ownsTarget.call(this,de)&&de!==this.visual)},pe.prototype.createVisual=function(){this.visual=oe.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)},pe.prototype.pointerDown=function(de,Ee){Ie.prototype.pointerDown.call(this,de,Ee),this.state==="new"&&(this.createVisual(),this.moveVisual(de),this._state="creating")},pe.prototype.manipulate=function(de){Ie.prototype.manipulate.call(this,de)},pe.prototype.resize=function(de){Ie.prototype.resize.call(this,de),this.setSize()},pe.prototype.setSize=function(){Ie.prototype.setSize.call(this),oe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},pe.prototype.pointerUp=function(de){Ie.prototype.pointerUp.call(this,de),this.setSize()},pe.prototype.setStrokeColor=function(de){this.strokeColor=de,this.visual&&oe.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(de),this.stateChanged()},pe.prototype.setFillColor=function(de){this.fillColor=de,this.visual&&oe.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},pe.prototype.setStrokeWidth=function(de){this.strokeWidth=de,this.visual&&oe.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},pe.prototype.setStrokeDasharray=function(de){this.strokeDasharray=de,this.visual&&oe.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},pe.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Ie.prototype.getState.call(this))},pe.prototype.restoreState=function(de){var Ee=de;this.fillColor=Ee.fillColor,this.strokeColor=Ee.strokeColor,this.strokeWidth=Ee.strokeWidth,this.strokeDasharray=Ee.strokeDasharray,this.opacity=Ee.opacity,this.createVisual(),Ie.prototype.restoreState.call(this,de),this.setSize()},pe.prototype.scale=function(de,Ee){Ie.prototype.scale.call(this,de,Ee),this.setSize()},pe.title="Rectangle marker",pe}(ke),Te=function(Ie){function pe(de,Ee,De,fe){var Qe=Ie.call(this,de,fe||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return Qe.widths=[],Qe.widthBoxes=[],Qe.widths=Ee,Qe.currentWidth=De,Qe.setCurrentWidth=Qe.setCurrentWidth.bind(Qe),Qe}return ue(pe,Ie),pe.prototype.getUi=function(){var de=this,Ee=document.createElement("div");return Ee.style.display="flex",Ee.style.overflow="hidden",Ee.style.flexGrow="2",this.widths.forEach(function(De){var fe=document.createElement("div");fe.style.display="flex",fe.style.flexGrow="2",fe.style.alignItems="center",fe.style.justifyContent="space-between",fe.style.padding="5px",fe.style.borderWidth="2px",fe.style.borderStyle="solid",fe.style.borderColor=De===de.currentWidth?de.uiStyleSettings.toolboxAccentColor:"transparent",fe.addEventListener("click",function(){de.setCurrentWidth(De,fe)}),Ee.appendChild(fe);var Qe=document.createElement("div");Qe.innerText=De.toString(),Qe.style.marginRight="5px",fe.appendChild(Qe);var Mt=document.createElement("div");Mt.style.minHeight="20px",Mt.style.flexGrow="2",Mt.style.display="flex",Mt.style.alignItems="center";var an=document.createElement("hr");an.style.minWidth="20px",an.style.border="0px",an.style.borderTop=De+"px solid "+de.uiStyleSettings.toolboxColor,an.style.flexGrow="2",Mt.appendChild(an),fe.appendChild(Mt),de.widthBoxes.push(fe)}),Ee},pe.prototype.setCurrentWidth=function(de,Ee){var De=this;this.currentWidth=de,this.widthBoxes.forEach(function(fe){fe.style.borderColor=fe===Ee?De.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},pe}(qe),Ye=function(Ie){function pe(de,Ee,De,fe){var Qe=Ie.call(this,de,fe||'<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 Qe.styles=[],Qe.styleBoxes=[],Qe.styles=Ee,Qe.currentStyle=De,Qe.setCurrentStyle=Qe.setCurrentStyle.bind(Qe),Qe}return ue(pe,Ie),pe.prototype.getUi=function(){var de=this,Ee=document.createElement("div");return Ee.style.display="flex",Ee.style.overflow="hidden",Ee.style.flexGrow="2",this.styles.forEach(function(De){var fe=document.createElement("div");fe.style.display="flex",fe.style.alignItems="center",fe.style.justifyContent="space-between",fe.style.padding="5px",fe.style.borderWidth="2px",fe.style.borderStyle="solid",fe.style.overflow="hidden",fe.style.maxWidth=100/de.styles.length-5+"%",fe.style.borderColor=De===de.currentStyle?de.uiStyleSettings.toolboxAccentColor:"transparent",fe.addEventListener("click",function(){de.setCurrentStyle(De,fe)}),Ee.appendChild(fe);var Qe=document.createElement("div");Qe.style.minHeight="20px",Qe.style.flexGrow="2",Qe.style.overflow="hidden";var Mt=`<svg width="100" height="20">
<line x1="0" y1="10" x2="100" y2="10" stroke="`+de.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(De!==""?'stroke-dasharray="'+De+'"':"")+` />
</svg>`;Qe.innerHTML=Mt,fe.appendChild(Qe),de.styleBoxes.push(fe)}),Ee},pe.prototype.setCurrentStyle=function(de,Ee){var De=this;this.currentStyle=de,this.styleBoxes.forEach(function(fe){fe.style.borderColor=fe===Ee?De.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},pe}(qe),lt=function(Ie){function pe(de,Ee,De){var fe=Ie.call(this,de,Ee,De)||this;return fe.strokeColor=De.defaultColor,fe.strokeWidth=De.defaultStrokeWidth,fe.strokeDasharray=De.defaultStrokeDasharray,fe.strokePanel=new Me("Line color",De.defaultColorSet,De.defaultColor),fe.strokePanel.onColorChanged=fe.setStrokeColor,fe.strokeWidthPanel=new Te("Line width",De.defaultStrokeWidths,De.defaultStrokeWidth),fe.strokeWidthPanel.onWidthChanged=fe.setStrokeWidth,fe.strokeStylePanel=new Ye("Line style",De.defaultStrokeDasharrays,De.defaultStrokeDasharray),fe.strokeStylePanel.onStyleChanged=fe.setStrokeDasharray,fe}return ue(pe,Ie),Object.defineProperty(pe.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),pe.prototype.getState=function(){var de=Ie.prototype.getState.call(this);return de.typeName=pe.typeName,de},pe.typeName="FrameMarker",pe.title="Frame marker",pe.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',pe}(Re),Fe=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"},tt=function(Ie){function pe(de,Ee,De){var fe=Ie.call(this,de,Ee,De)||this;return fe.x1=0,fe.y1=0,fe.x2=0,fe.y2=0,fe.defaultLength=50,fe.manipulationStartX=0,fe.manipulationStartY=0,fe.manipulationStartX1=0,fe.manipulationStartY1=0,fe.manipulationStartX2=0,fe.manipulationStartY2=0,fe.setupControlBox(),fe}return ue(pe,Ie),pe.prototype.ownsTarget=function(de){return!!Ie.prototype.ownsTarget.call(this,de)||!(!this.grip1.ownsTarget(de)&&!this.grip2.ownsTarget(de))},pe.prototype.pointerDown=function(de,Ee){Ie.prototype.pointerDown.call(this,de,Ee),this.manipulationStartX=de.x,this.manipulationStartY=de.y,this.state==="new"&&(this.x1=de.x,this.y1=de.y,this.x2=de.x,this.y2=de.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(Ee)?this.activeGrip=this.grip1:this.grip2.ownsTarget(Ee)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},pe.prototype.pointerUp=function(de){var Ee=this.state;Ie.prototype.pointerUp.call(this,de),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(de),this._state="select",Ee==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},pe.prototype.adjustVisual=function(){},pe.prototype.manipulate=function(de){this.state==="creating"?this.resize(de):this.state==="move"?(this.x1=this.manipulationStartX1+de.x-this.manipulationStartX,this.y1=this.manipulationStartY1+de.y-this.manipulationStartY,this.x2=this.manipulationStartX2+de.x-this.manipulationStartX,this.y2=this.manipulationStartY2+de.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(de)},pe.prototype.resize=function(de){switch(this.activeGrip){case this.grip1:this.x1=de.x,this.y1=de.y;break;case this.grip2:case void 0:this.x2=de.x,this.y2=de.y}this.adjustVisual(),this.adjustControlBox()},pe.prototype.select=function(){Ie.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},pe.prototype.deselect=function(){Ie.prototype.deselect.call(this),this.controlBox.style.display="none"},pe.prototype.setupControlBox=function(){this.controlBox=oe.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},pe.prototype.adjustControlBox=function(){this.positionGrips()},pe.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},pe.prototype.createGrip=function(){var de=new Le;return de.visual.transform.baseVal.appendItem(oe.createTransform()),this.controlBox.appendChild(de.visual),de},pe.prototype.positionGrips=function(){var de=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-de/2,this.y1-de/2),this.positionGrip(this.grip2.visual,this.x2-de/2,this.y2-de/2)},pe.prototype.positionGrip=function(de,Ee,De){var fe=de.transform.baseVal.getItem(0);fe.setTranslate(Ee,De),de.transform.baseVal.replaceItem(fe,0)},pe.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},Ie.prototype.getState.call(this))},pe.prototype.restoreState=function(de){Ie.prototype.restoreState.call(this,de);var Ee=de;this.x1=Ee.x1,this.y1=Ee.y1,this.x2=Ee.x2,this.y2=Ee.y2},pe.prototype.scale=function(de,Ee){Ie.prototype.scale.call(this,de,Ee),this.x1=this.x1*de,this.y1=this.y1*Ee,this.x2=this.x2*de,this.y2=this.y2*Ee,this.adjustVisual(),this.adjustControlBox()},pe}(ze),$e=function(Ie){function pe(de,Ee,De){var fe=Ie.call(this,de,Ee,De)||this;return fe.strokeColor="transparent",fe.strokeWidth=0,fe.strokeDasharray="",fe.setStrokeColor=fe.setStrokeColor.bind(fe),fe.setStrokeWidth=fe.setStrokeWidth.bind(fe),fe.setStrokeDasharray=fe.setStrokeDasharray.bind(fe),fe.strokeColor=De.defaultColor,fe.strokeWidth=De.defaultStrokeWidth,fe.strokeDasharray=De.defaultStrokeDasharray,fe.strokePanel=new Me("Line color",De.defaultColorSet,De.defaultColor),fe.strokePanel.onColorChanged=fe.setStrokeColor,fe.strokeWidthPanel=new Te("Line width",De.defaultStrokeWidths,De.defaultStrokeWidth),fe.strokeWidthPanel.onWidthChanged=fe.setStrokeWidth,fe.strokeStylePanel=new Ye("Line style",De.defaultStrokeDasharrays,De.defaultStrokeDasharray),fe.strokeStylePanel.onStyleChanged=fe.setStrokeDasharray,fe}return ue(pe,Ie),pe.prototype.ownsTarget=function(de){return!(!Ie.prototype.ownsTarget.call(this,de)&&de!==this.visual&&de!==this.selectorLine&&de!==this.visibleLine)},pe.prototype.createVisual=function(){this.visual=oe.createGroup(),this.selectorLine=oe.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=oe.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)},pe.prototype.pointerDown=function(de,Ee){Ie.prototype.pointerDown.call(this,de,Ee),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},pe.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()),oe.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),oe.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),oe.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},pe.prototype.setStrokeColor=function(de){this.strokeColor=de,this.adjustVisual(),this.colorChanged(de)},pe.prototype.setStrokeWidth=function(de){this.strokeWidth=de,this.adjustVisual()},pe.prototype.setStrokeDasharray=function(de){this.strokeDasharray=de,this.adjustVisual(),this.stateChanged()},Object.defineProperty(pe.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),pe.prototype.getState=function(){var de=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},Ie.prototype.getState.call(this));return de.typeName=pe.typeName,de},pe.prototype.restoreState=function(de){Ie.prototype.restoreState.call(this,de);var Ee=de;this.strokeColor=Ee.strokeColor,this.strokeWidth=Ee.strokeWidth,this.strokeDasharray=Ee.strokeDasharray,this.createVisual(),this.adjustVisual()},pe.typeName="LineMarker",pe.title="Line marker",pe.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',pe}(tt),Ue=function(Ie){function pe(de,Ee,De,fe){var Qe=Ie.call(this,de,fe||'<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 Qe.fonts=[],Qe.fontBoxes=[],Qe.fonts=Ee,Qe.currentFont=De,Qe.setCurrentFont=Qe.setCurrentFont.bind(Qe),Qe}return ue(pe,Ie),pe.prototype.getUi=function(){var de=this,Ee=document.createElement("div");return Ee.style.overflow="hidden",Ee.style.flexGrow="2",this.fonts.forEach(function(De){var fe=document.createElement("div");fe.style.display="inline-block",fe.style.alignItems="center",fe.style.justifyContent="space-between",fe.style.padding="5px",fe.style.borderWidth="2px",fe.style.borderStyle="solid",fe.style.overflow="hidden",fe.style.maxWidth=100/de.fonts.length-5+"%",fe.style.borderColor=De===de.currentFont?de.uiStyleSettings.toolboxAccentColor:"transparent",fe.addEventListener("click",function(){de.setCurrentFont(De,fe)}),Ee.appendChild(fe);var Qe=document.createElement("div");Qe.style.display="flex",Qe.style.minHeight="20px",Qe.style.flexGrow="2",Qe.style.fontFamily=De,Qe.style.overflow="hidden";var Mt=document.createElement("div");Mt.style.whiteSpace="nowrap",Mt.style.overflow="hidden",Mt.style.textOverflow="ellipsis",Mt.innerHTML="The quick brown fox jumps over the lazy dog",Qe.appendChild(Mt),fe.appendChild(Qe),de.fontBoxes.push(fe)}),Ee},pe.prototype.setCurrentFont=function(de,Ee){var De=this;this.currentFont=de,this.fontBoxes.forEach(function(fe){fe.style.borderColor=fe===Ee?De.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},pe}(qe),Xe=function(Ie){function pe(de,Ee,De){var fe=Ie.call(this,de,Ee,De)||this;return fe.color="transparent",fe.padding=5,fe.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",fe.text=fe.DEFAULT_TEXT,fe.isMoved=!1,fe.color=De.defaultColor,fe.fontFamily=De.defaultFontFamily,fe.defaultSize={x:100,y:30},fe.setColor=fe.setColor.bind(fe),fe.setFont=fe.setFont.bind(fe),fe.renderText=fe.renderText.bind(fe),fe.sizeText=fe.sizeText.bind(fe),fe.textEditDivClicked=fe.textEditDivClicked.bind(fe),fe.showTextEditor=fe.showTextEditor.bind(fe),fe.setSize=fe.setSize.bind(fe),fe.positionTextEditor=fe.positionTextEditor.bind(fe),fe.colorPanel=new Me("Color",De.defaultColorSet,De.defaultColor),fe.colorPanel.onColorChanged=fe.setColor,fe.fontFamilyPanel=new Ue("Font",De.defaultFontFamilies,De.defaultFontFamily),fe.fontFamilyPanel.onFontChanged=fe.setFont,fe}return ue(pe,Ie),pe.prototype.ownsTarget=function(de){if(Ie.prototype.ownsTarget.call(this,de)||de===this.visual||de===this.textElement||de===this.bgRectangle)return!0;var Ee=!1;return this.textElement.childNodes.forEach(function(De){De===de&&(Ee=!0)}),Ee},pe.prototype.createVisual=function(){this.visual=oe.createGroup(),this.bgRectangle=oe.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=oe.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(oe.createTransform()),this.textElement.transform.baseVal.appendItem(oe.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},pe.prototype.pointerDown=function(de,Ee){Ie.prototype.pointerDown.call(this,de,Ee),this.isMoved=!1,this.pointerDownPoint=de,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(de),this._state="creating")},pe.prototype.renderText=function(){var de=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(Ee){de.textElement.appendChild(oe.createTSpan(Ee.trim()===""?" ":Ee.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},pe.prototype.getTextScale=function(){var de=this.textElement.getBBox(),Ee=1;if(de.width>0&&de.height>0){var De=(1*this.width-this.width*this.padding*2/100)/de.width,fe=(1*this.height-this.height*this.padding*2/100)/de.height;Ee=Math.min(De,fe)}return Ee},pe.prototype.getTextPosition=function(de){var Ee=this.textElement.getBBox(),De=0,fe=0;return Ee.width>0&&Ee.height>0&&(De=(this.width-Ee.width*de)/2,fe=this.height/2-Ee.height*de/2),{x:De,y:fe}},pe.prototype.sizeText=function(){var de=this.textElement.getBBox(),Ee=this.getTextScale(),De=this.getTextPosition(Ee);De.y-=de.y*Ee,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+De.x+"px, "+De.y+"px) scale("+Ee+", "+Ee+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(De.x,De.y),this.textElement.transform.baseVal.getItem(1).setScale(Ee,Ee))},pe.prototype.manipulate=function(de){Ie.prototype.manipulate.call(this,de),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(de.x-this.pointerDownPoint.x)>5||Math.abs(de.y-this.pointerDownPoint.y)>5)},pe.prototype.resize=function(de){Ie.prototype.resize.call(this,de),this.isMoved=!0,this.setSize(),this.sizeText()},pe.prototype.setSize=function(){Ie.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(oe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),oe.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},pe.prototype.pointerUp=function(de){var Ee=this.state;Ee==="creating"&&(this._suppressMarkerCreateEvent=!0),Ie.prototype.pointerUp.call(this,de),this.setSize(),(Ee==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},pe.prototype.showTextEditor=function(){var de=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(Ee){Ee.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var Ee=Number.parseFloat(de.textEditor.style.fontSize);de.textEditor.clientWidth>=Number.parseInt(de.textEditor.style.maxWidth)&&Ee>.9;)Ee-=.1,de.textEditor.style.fontSize=Math.max(Ee,.9)+"em"}),this.textEditor.addEventListener("keyup",function(Ee){Ee.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(Ee){if(Ee.clipboardData){var De=Ee.clipboardData.getData("text"),fe=window.getSelection();if(!fe.rangeCount)return!1;fe.deleteFromDocument(),fe.getRangeAt(0).insertNode(document.createTextNode(De)),Ee.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){de.textEditDivClicked(de.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},pe.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var de=this.getTextScale(),Ee=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),De=this.textElement.getBBox(),fe={x:De.width*de,y:De.height*de};Ee.x-=fe.x/2,Ee.y-=fe.y/2,this.textEditor.style.top=Ee.y+"px",this.textEditor.style.left=Ee.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-Ee.x+"px",this.textEditor.style.fontSize=Math.max(16*de,12)+"px",this.textElement.style.display="none"}},pe.prototype.textEditDivClicked=function(de){this.text=de.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},pe.prototype.select=function(){Ie.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},pe.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),Ie.prototype.deselect.call(this)},pe.prototype.dblClick=function(de,Ee){Ie.prototype.dblClick.call(this,de,Ee),this.showTextEditor()},pe.prototype.setColor=function(de){this.textElement&&oe.setAttributes(this.textElement,[["fill",de]]),this.color=de,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(de)},pe.prototype.setFont=function(de){this.textElement&&oe.setAttributes(this.textElement,[["font-family",de]]),this.fontFamily=de,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},pe.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},pe.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(pe.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),pe.prototype.getState=function(){var de=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},Ie.prototype.getState.call(this));return de.typeName=pe.typeName,de},pe.prototype.restoreState=function(de){var Ee=de;this.color=Ee.color,this.fontFamily=Ee.fontFamily,this.padding=Ee.padding,this.text=Ee.text,this.createVisual(),Ie.prototype.restoreState.call(this,de),this.setSize()},pe.prototype.scale=function(de,Ee){Ie.prototype.scale.call(this,de,Ee),this.setSize(),this.sizeText(),this.positionTextEditor()},pe.typeName="TextMarker",pe.title="Text marker",pe.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>',pe}(ke),et=function(Ie){function pe(de,Ee,De){var fe=Ie.call(this,de,Ee,De)||this;return fe.color="transparent",fe.lineWidth=3,fe.drawing=!1,fe.pixelRatio=1,fe.color=De.defaultColor,fe.lineWidth=De.defaultStrokeWidth,fe.pixelRatio=De.freehandPixelRatio,fe.setColor=fe.setColor.bind(fe),fe.addCanvas=fe.addCanvas.bind(fe),fe.finishCreation=fe.finishCreation.bind(fe),fe.setLineWidth=fe.setLineWidth.bind(fe),fe.colorPanel=new Me("Color",De.defaultColorSet,De.defaultColor),fe.colorPanel.onColorChanged=fe.setColor,fe.lineWidthPanel=new Te("Line width",De.defaultStrokeWidths,De.defaultStrokeWidth),fe.lineWidthPanel.onWidthChanged=fe.setLineWidth,fe}return ue(pe,Ie),pe.prototype.ownsTarget=function(de){return!(!Ie.prototype.ownsTarget.call(this,de)&&de!==this.visual&&de!==this.drawingImage)},pe.prototype.createVisual=function(){this.visual=oe.createGroup(),this.drawingImage=oe.createImage(),this.visual.appendChild(this.drawingImage);var de=oe.createTransform();this.visual.transform.baseVal.appendItem(de),this.addMarkerVisualToContainer(this.visual)},pe.prototype.pointerDown=function(de,Ee){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(de.x,de.y),this.drawing=!0):Ie.prototype.pointerDown.call(this,de,Ee)},pe.prototype.manipulate=function(de){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(de.x,de.y),this.canvasContext.stroke()):Ie.prototype.manipulate.call(this,de)},pe.prototype.resize=function(de){Ie.prototype.resize.call(this,de),oe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),oe.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},pe.prototype.pointerUp=function(de){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):Ie.prototype.pointerUp.call(this,de)},pe.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)},pe.prototype.select=function(){this.state==="creating"&&this.finishCreation(),Ie.prototype.select.call(this)},pe.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),Ie.prototype.deselect.call(this)},pe.prototype.finishCreation=function(){for(var de=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),Ee=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],De=Ee[0],fe=Ee[1],Qe=Ee[2],Mt=Ee[3],an=!1,Sn=0;Sn<this.canvasElement.height;Sn++)for(var gt=0;gt<this.canvasElement.width;gt++)de.data[Sn*this.canvasElement.width*4+4*gt+3]>0&&(an=!0,Sn<fe&&(fe=Sn),gt<De&&(De=gt),Sn>Mt&&(Mt=Sn),gt>Qe&&(Qe=gt));if(an){this.left=De/this.pixelRatio,this.top=fe/this.pixelRatio,this.width=(Qe-De)/this.pixelRatio,this.height=(Mt-fe)/this.pixelRatio;var Ft=document.createElement("canvas");Ft.width=Qe-De,Ft.height=Mt-fe,Ft.getContext("2d").putImageData(this.canvasContext.getImageData(De,fe,Qe-De,Mt-fe),0,0),this.drawingImgUrl=Ft.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},pe.prototype.setDrawingImage=function(){oe.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),oe.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},pe.prototype.setColor=function(de){this.color=de,this.colorChanged(de)},pe.prototype.setLineWidth=function(de){this.lineWidth=de},Object.defineProperty(pe.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),pe.prototype.getState=function(){var de=Object.assign({drawingImgUrl:this.drawingImgUrl},Ie.prototype.getState.call(this));return de.typeName=pe.typeName,de},pe.prototype.restoreState=function(de){this.createVisual(),Ie.prototype.restoreState.call(this,de),this.drawingImgUrl=de.drawingImgUrl,this.setDrawingImage()},pe.prototype.scale=function(de,Ee){Ie.prototype.scale.call(this,de,Ee),this.setDrawingImage()},pe.typeName="FreehandMarker",pe.title="Freehand marker",pe.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>',pe}(ke),rt=function(Ie){function pe(de,Ee,De){var fe=Ie.call(this,de,De||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return fe.typeBoxes=[],fe.currentType=Ee,fe.setCurrentType=fe.setCurrentType.bind(fe),fe}return ue(pe,Ie),pe.prototype.getUi=function(){var de=this,Ee=document.createElement("div");Ee.style.display="flex",Ee.style.overflow="hidden",Ee.style.flexGrow="2";for(var De=function(Mt){var an="both";switch(Mt){case 0:an="both";break;case 1:an="start";break;case 2:an="end";break;case 3:an="none"}var Sn=document.createElement("div");if(Sn.style.display="flex",Sn.style.flexGrow="2",Sn.style.alignItems="center",Sn.style.justifyContent="space-between",Sn.style.padding="5px",Sn.style.borderWidth="2px",Sn.style.borderStyle="solid",Sn.style.borderColor=an===fe.currentType?fe.uiStyleSettings.toolboxAccentColor:"transparent",Sn.addEventListener("click",function(){de.setCurrentType(an,Sn)}),Ee.appendChild(Sn),an==="both"||an==="start"){var gt=document.createElement("div");gt.style.display="flex",gt.style.alignItems="center",gt.style.minHeight="20px",gt.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="`+(fe.uiStyleSettings!==void 0?fe.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,gt.style.marginLeft="5px",Sn.appendChild(gt)}var Ft=document.createElement("div");Ft.style.display="flex",Ft.style.alignItems="center",Ft.style.minHeight="20px",Ft.style.flexGrow="2";var Lt=document.createElement("hr");if(Lt.style.minWidth="20px",Lt.style.border="0px",Lt.style.borderTop="3px solid "+(fe.uiStyleSettings!==void 0?fe.uiStyleSettings.toolboxColor:"#eeeeee"),Lt.style.flexGrow="2",Ft.appendChild(Lt),Sn.appendChild(Ft),an==="both"||an==="end"){var Jt=document.createElement("div");Jt.style.display="flex",Jt.style.alignItems="center",Jt.style.minHeight="20px",Jt.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="`+(fe.uiStyleSettings!==void 0?fe.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
</svg>`,Jt.style.marginRight="5px",Sn.appendChild(Jt)}fe.typeBoxes.push(Sn)},fe=this,Qe=0;Qe<4;Qe++)De(Qe);return Ee},pe.prototype.setCurrentType=function(de,Ee){var De=this;this.currentType=de,this.typeBoxes.forEach(function(fe){fe.style.borderColor=fe===Ee?De.uiStyleSettings!==void 0?De.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},pe}(qe),ht=function(Ie){function pe(de,Ee,De){var fe=Ie.call(this,de,Ee,De)||this;return fe.arrowType="end",fe.arrowBaseHeight=10,fe.arrowBaseWidth=10,fe.getArrowPoints=fe.getArrowPoints.bind(fe),fe.setArrowType=fe.setArrowType.bind(fe),fe.arrowTypePanel=new rt("Arrow type","end"),fe.arrowTypePanel.onArrowTypeChanged=fe.setArrowType,fe}return ue(pe,Ie),pe.prototype.ownsTarget=function(de){return!(!Ie.prototype.ownsTarget.call(this,de)&&de!==this.arrow1&&de!==this.arrow2)},pe.prototype.getArrowPoints=function(de,Ee){var De=this.arrowBaseWidth+2*this.strokeWidth,fe=this.arrowBaseHeight+2*this.strokeWidth;return de-De/2+","+(Ee+fe/2)+" "+de+","+(Ee-fe/2)+" "+(de+De/2)+","+(Ee+fe/2)},pe.prototype.createTips=function(){this.arrow1=oe.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(oe.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=oe.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(oe.createTransform()),this.visual.appendChild(this.arrow2)},pe.prototype.pointerDown=function(de,Ee){Ie.prototype.pointerDown.call(this,de,Ee),this.state==="creating"&&this.createTips()},pe.prototype.adjustVisual=function(){if(Ie.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",oe.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),oe.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var de=0;Math.abs(this.x1-this.x2)>.1&&(de=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var Ee=this.arrow1.transform.baseVal.getItem(0);Ee.setRotate(de,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(Ee,0);var De=this.arrow2.transform.baseVal.getItem(0);De.setRotate(de+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(De,0)}},pe.prototype.setArrowType=function(de){this.arrowType=de,this.adjustVisual(),this.stateChanged()},Object.defineProperty(pe.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),pe.prototype.getState=function(){var de=Object.assign({arrowType:this.arrowType},Ie.prototype.getState.call(this));return de.typeName=pe.typeName,de},pe.prototype.restoreState=function(de){Ie.prototype.restoreState.call(this,de);var Ee=de;this.arrowType=Ee.arrowType,this.createTips(),this.adjustVisual()},pe.typeName="ArrowMarker",pe.title="Arrow marker",pe.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',pe}($e),kt=function(Ie){function pe(de,Ee,De){var fe=Ie.call(this,de,Ee,De)||this;return fe.fillColor=De.defaultFillColor,fe.strokeWidth=0,fe.fillPanel=new Me("Color",De.defaultColorSet,De.defaultFillColor),fe.fillPanel.onColorChanged=fe.setFillColor,fe}return ue(pe,Ie),Object.defineProperty(pe.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),pe.prototype.getState=function(){var de=Ie.prototype.getState.call(this);return de.typeName=pe.typeName,de},pe.typeName="CoverMarker",pe.title="Cover marker",pe.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',pe}(Re),St=function(Ie){function pe(de,Ee,De,fe){var Qe=Ie.call(this,de,fe||'<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 Qe.opacities=[],Qe.opacityBoxes=[],Qe.opacities=Ee,Qe.currentOpacity=De,Qe.setCurrentOpacity=Qe.setCurrentOpacity.bind(Qe),Qe}return ue(pe,Ie),pe.prototype.getUi=function(){var de=this,Ee=document.createElement("div");return Ee.style.display="flex",Ee.style.overflow="hidden",Ee.style.flexGrow="2",Ee.style.justifyContent="space-between",this.opacities.forEach(function(De){var fe=document.createElement("div");fe.style.display="flex",fe.style.alignItems="center",fe.style.justifyContent="center",fe.style.padding="5px",fe.style.borderWidth="2px",fe.style.borderStyle="solid",fe.style.borderColor=De===de.currentOpacity?de.uiStyleSettings.toolboxAccentColor:"transparent",fe.addEventListener("click",function(){de.setCurrentOpacity(De,fe)}),Ee.appendChild(fe);var Qe=document.createElement("div");Qe.innerText=100*De+"%",fe.appendChild(Qe),de.opacityBoxes.push(fe)}),Ee},pe.prototype.setCurrentOpacity=function(de,Ee){var De=this;this.currentOpacity=de,this.opacityBoxes.forEach(function(fe){fe.style.borderColor=fe===Ee?De.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},pe}(qe),Gt=function(Ie){function pe(de,Ee,De){var fe=Ie.call(this,de,Ee,De)||this;return fe.setOpacity=fe.setOpacity.bind(fe),fe.fillColor=De.defaultHighlightColor,fe.strokeWidth=0,fe.opacity=De.defaultHighlightOpacity,fe.fillPanel=new Me("Color",De.defaultColorSet,fe.fillColor),fe.fillPanel.onColorChanged=fe.setFillColor,fe.opacityPanel=new St("Opacity",De.defaultOpacitySteps,fe.opacity),fe.opacityPanel.onOpacityChanged=fe.setOpacity,fe}return ue(pe,Ie),pe.prototype.setOpacity=function(de){this.opacity=de,this.visual&&oe.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(pe.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),pe.prototype.getState=function(){var de=Ie.prototype.getState.call(this);return de.typeName=pe.typeName,de},pe.typeName="HighlightMarker",pe.title="Highlight marker",pe.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>',pe}(kt),nt='<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>',je='<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>',Be=function(Ie){function pe(de,Ee,De){var fe=Ie.call(this,de,Ee,De)||this;return fe.bgColor="transparent",fe.tipPosition={x:0,y:0},fe.tipBase1Position={x:0,y:0},fe.tipBase2Position={x:0,y:0},fe.tipMoving=!1,fe.color=De.defaultStrokeColor,fe.bgColor=De.defaultFillColor,fe.fontFamily=De.defaultFontFamily,fe.defaultSize={x:100,y:30},fe.setBgColor=fe.setBgColor.bind(fe),fe.getTipPoints=fe.getTipPoints.bind(fe),fe.positionTip=fe.positionTip.bind(fe),fe.setTipPoints=fe.setTipPoints.bind(fe),fe.colorPanel=new Me("Text color",De.defaultColorSet,fe.color,nt),fe.colorPanel.onColorChanged=fe.setColor,fe.bgColorPanel=new Me("Fill color",De.defaultColorSet,fe.bgColor,je),fe.bgColorPanel.onColorChanged=fe.setBgColor,fe.fontFamilyPanel=new Ue("Font",De.defaultFontFamilies,De.defaultFontFamily),fe.fontFamilyPanel.onFontChanged=fe.setFont,fe.tipGrip=new Le,fe.tipGrip.visual.transform.baseVal.appendItem(oe.createTransform()),fe.controlBox.appendChild(fe.tipGrip.visual),fe}return ue(pe,Ie),pe.prototype.ownsTarget=function(de){return Ie.prototype.ownsTarget.call(this,de)||this.tipGrip.ownsTarget(de)||this.tip===de},pe.prototype.createTip=function(){oe.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=oe.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},pe.prototype.pointerDown=function(de,Ee){this.state==="new"&&Ie.prototype.pointerDown.call(this,de,Ee),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(Ee)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):Ie.prototype.pointerDown.call(this,de,Ee)},pe.prototype.pointerUp=function(de){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,Ie.prototype.pointerUp.call(this,de);else{var Ee=this.state==="creating";Ie.prototype.pointerUp.call(this,de),this.setTipPoints(Ee),this.positionTip()}},pe.prototype.manipulate=function(de){if(this.tipMoving){var Ee=this.unrotatePoint(de);this.tipPosition={x:Ee.x-this.manipulationStartLeft,y:Ee.y-this.manipulationStartTop},this.positionTip()}else Ie.prototype.manipulate.call(this,de)},pe.prototype.setBgColor=function(de){this.bgRectangle&&this.tip&&(oe.setAttributes(this.bgRectangle,[["fill",de]]),oe.setAttributes(this.tip,[["fill",de]])),this.bgColor=de,this.fillColorChanged(de)},pe.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},pe.prototype.setTipPoints=function(de){de===void 0&&(de=!1);var Ee=Math.min(this.height/2,15),De=this.height/5;de&&(this.tipPosition={x:Ee+De/2,y:this.height+20});var fe=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?fe<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(De=this.width/5,Ee=Math.min(this.width/2,15),this.tipBase1Position={x:Ee,y:0},this.tipBase2Position={x:Ee+De,y:0}):(this.tipBase1Position={x:0,y:Ee},this.tipBase2Position={x:0,y:Ee+De}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?fe<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(De=this.width/5,Ee=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-Ee-De,y:0},this.tipBase2Position={x:this.width-Ee,y:0}):(this.tipBase1Position={x:this.width,y:Ee},this.tipBase2Position={x:this.width,y:Ee+De}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?fe<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(De=this.width/5,Ee=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-Ee-De,y:this.height},this.tipBase2Position={x:this.width-Ee,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-Ee-De},this.tipBase2Position={x:this.width,y:this.height-Ee}):fe<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(De=this.width/5,Ee=Math.min(this.width/2,15),this.tipBase1Position={x:Ee,y:this.height},this.tipBase2Position={x:Ee+De,y:this.height}):(this.tipBase1Position={x:0,y:this.height-Ee},this.tipBase2Position={x:0,y:this.height-Ee-De})},pe.prototype.resize=function(de){Ie.prototype.resize.call(this,de),this.positionTip()},pe.prototype.positionTip=function(){oe.setAttributes(this.tip,[["points",this.getTipPoints()]]);var de=this.tipGrip.visual.transform.baseVal.getItem(0);de.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(de,0)},Object.defineProperty(pe.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),pe.prototype.select=function(){this.positionTip(),Ie.prototype.select.call(this)},pe.prototype.getState=function(){var de=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},Ie.prototype.getState.call(this));return de.typeName=pe.typeName,de},pe.prototype.restoreState=function(de){var Ee=de;this.bgColor=Ee.bgColor,this.tipPosition=Ee.tipPosition,Ie.prototype.restoreState.call(this,de),this.createTip(),this.setTipPoints()},pe.prototype.scale=function(de,Ee){Ie.prototype.scale.call(this,de,Ee),this.tipPosition={x:this.tipPosition.x*de,y:this.tipPosition.y*Ee},this.positionTip()},pe.typeName="CalloutMarker",pe.title="Callout marker",pe.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>',pe}(Xe),wt=function(Ie){function pe(de,Ee,De){var fe=Ie.call(this,de,Ee,De)||this;return fe.fillColor="transparent",fe.strokeColor="transparent",fe.strokeWidth=0,fe.strokeDasharray="",fe.opacity=1,fe.strokeColor=De.defaultColor,fe.strokeWidth=De.defaultStrokeWidth,fe.strokeDasharray=De.defaultStrokeDasharray,fe.fillColor=De.defaultFillColor,fe.setStrokeColor=fe.setStrokeColor.bind(fe),fe.setFillColor=fe.setFillColor.bind(fe),fe.setStrokeWidth=fe.setStrokeWidth.bind(fe),fe.setStrokeDasharray=fe.setStrokeDasharray.bind(fe),fe.setOpacity=fe.setOpacity.bind(fe),fe.createVisual=fe.createVisual.bind(fe),fe.strokePanel=new Me("Line color",ge(De.defaultColorSet,["transparent"]),De.defaultColor),fe.strokePanel.onColorChanged=fe.setStrokeColor,fe.fillPanel=new Me("Fill color",ge(De.defaultColorSet,["transparent"]),fe.fillColor,je),fe.fillPanel.onColorChanged=fe.setFillColor,fe.strokeWidthPanel=new Te("Line width",De.defaultStrokeWidths,De.defaultStrokeWidth),fe.strokeWidthPanel.onWidthChanged=fe.setStrokeWidth,fe.strokeStylePanel=new Ye("Line style",De.defaultStrokeDasharrays,De.defaultStrokeDasharray),fe.strokeStylePanel.onStyleChanged=fe.setStrokeDasharray,fe.opacityPanel=new St("Opacity",De.defaultOpacitySteps,fe.opacity),fe.opacityPanel.onOpacityChanged=fe.setOpacity,fe}return ue(pe,Ie),pe.prototype.ownsTarget=function(de){return!(!Ie.prototype.ownsTarget.call(this,de)&&de!==this.visual)},pe.prototype.createVisual=function(){this.visual=oe.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)},pe.prototype.pointerDown=function(de,Ee){Ie.prototype.pointerDown.call(this,de,Ee),this.state==="new"&&(this.createVisual(),this.moveVisual(de),this._state="creating")},pe.prototype.manipulate=function(de){Ie.prototype.manipulate.call(this,de)},pe.prototype.resize=function(de){Ie.prototype.resize.call(this,de),this.setSize()},pe.prototype.setSize=function(){Ie.prototype.setSize.call(this),oe.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},pe.prototype.pointerUp=function(de){Ie.prototype.pointerUp.call(this,de),this.setSize()},pe.prototype.setStrokeColor=function(de){this.strokeColor=de,this.visual&&oe.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(de),this.stateChanged()},pe.prototype.setFillColor=function(de){this.fillColor=de,this.visual&&oe.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(de),this.stateChanged()},pe.prototype.setStrokeWidth=function(de){this.strokeWidth=de,this.visual&&oe.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},pe.prototype.setStrokeDasharray=function(de){this.strokeDasharray=de,this.visual&&oe.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},pe.prototype.setOpacity=function(de){this.opacity=de,this.visual&&oe.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(pe.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),pe.prototype.getState=function(){var de=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Ie.prototype.getState.call(this));return de.typeName=pe.typeName,de},pe.prototype.restoreState=function(de){var Ee=de;this.fillColor=Ee.fillColor,this.strokeColor=Ee.strokeColor,this.strokeWidth=Ee.strokeWidth,this.strokeDasharray=Ee.strokeDasharray,this.opacity=Ee.opacity,this.createVisual(),Ie.prototype.restoreState.call(this,de),this.setSize()},pe.prototype.scale=function(de,Ee){Ie.prototype.scale.call(this,de,Ee),this.setSize()},pe.typeName="EllipseMarker",pe.title="Ellipse marker",pe.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>',pe}(ke),Ot=function(Ie){function pe(de,Ee,De){return Ie.call(this,de,Ee,De)||this}return ue(pe,Ie),Object.defineProperty(pe.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),pe.prototype.ownsTarget=function(de){return!(!Ie.prototype.ownsTarget.call(this,de)&&de!==this.tip1&&de!==this.tip2)},pe.prototype.createTips=function(){this.tip1=oe.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(oe.createTransform()),this.visual.appendChild(this.tip1),this.tip2=oe.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(oe.createTransform()),this.visual.appendChild(this.tip2)},pe.prototype.pointerDown=function(de,Ee){Ie.prototype.pointerDown.call(this,de,Ee),this.state==="creating"&&this.createTips()},pe.prototype.adjustVisual=function(){if(Ie.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(oe.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()]]),oe.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 de=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),Ee=this.tip1.transform.baseVal.getItem(0);Ee.setRotate(de,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(Ee,0);var De=this.tip2.transform.baseVal.getItem(0);De.setRotate(de+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(De,0)}},Object.defineProperty(pe.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),pe.prototype.getState=function(){var de=Ie.prototype.getState.call(this);return de.typeName=pe.typeName,de},pe.prototype.restoreState=function(de){Ie.prototype.restoreState.call(this,de),this.createTips(),this.adjustVisual()},pe.typeName="MeasurementMarker",pe.title="Measurement marker",pe.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>',pe}($e),ot=function(Ie){function pe(de,Ee,De){var fe=Ie.call(this,de,Ee,De)||this;return fe.strokePanel.colors=De.defaultColorSet,fe.fillColor="transparent",fe}return ue(pe,Ie),Object.defineProperty(pe.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),pe.prototype.getState=function(){var de=Ie.prototype.getState.call(this);return de.typeName=pe.typeName,de},pe.typeName="EllipseFrameMarker",pe.title="Ellipse frame marker",pe.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>',pe}(wt),zt=function(){function Ie(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(Ie.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),Ie.prototype.addUndoStep=function(pe){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(pe)||(this.undoStack.push(pe),JSON.stringify(this.lastRedoStep)!==JSON.stringify(pe)&&this.redoStack.splice(0,this.redoStack.length))},Ie.prototype.replaceLastUndoStep=function(pe){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=pe)},Ie.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},Ie.prototype.undo=function(){if(this.undoStack.length>1){var pe=this.undoStack.pop();return pe!==void 0&&this.redoStack.push(pe),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},Ie.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},Ie}(),Ut=function(Ie){function pe(de,Ee,De){var fe=Ie.call(this,de,Ee,De)||this;return fe.strokeColor="transparent",fe.strokeWidth=0,fe.strokeDasharray="",fe.curveX=0,fe.curveY=0,fe.manipulationStartCurveX=0,fe.manipulationStartCurveY=0,fe.setStrokeColor=fe.setStrokeColor.bind(fe),fe.setStrokeWidth=fe.setStrokeWidth.bind(fe),fe.setStrokeDasharray=fe.setStrokeDasharray.bind(fe),fe.positionGrips=fe.positionGrips.bind(fe),fe.addControlGrips=fe.addControlGrips.bind(fe),fe.adjustVisual=fe.adjustVisual.bind(fe),fe.setupControlBox=fe.setupControlBox.bind(fe),fe.resize=fe.resize.bind(fe),fe.strokeColor=De.defaultColor,fe.strokeWidth=De.defaultStrokeWidth,fe.strokeDasharray=De.defaultStrokeDasharray,fe.strokePanel=new Me("Line color",De.defaultColorSet,De.defaultColor),fe.strokePanel.onColorChanged=fe.setStrokeColor,fe.strokeWidthPanel=new Te("Line width",De.defaultStrokeWidths,De.defaultStrokeWidth),fe.strokeWidthPanel.onWidthChanged=fe.setStrokeWidth,fe.strokeStylePanel=new Ye("Line style",De.defaultStrokeDasharrays,De.defaultStrokeDasharray),fe.strokeStylePanel.onStyleChanged=fe.setStrokeDasharray,fe}return ue(pe,Ie),pe.prototype.ownsTarget=function(de){return!(!Ie.prototype.ownsTarget.call(this,de)&&de!==this.visual&&de!==this.selectorCurve&&de!==this.visibleCurve&&!this.curveGrip.ownsTarget(de))},pe.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},pe.prototype.createVisual=function(){this.visual=oe.createGroup(),this.selectorCurve=oe.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=oe.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)},pe.prototype.pointerDown=function(de,Ee){Ie.prototype.pointerDown.call(this,de,Ee),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=de.x,this.curveY=de.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(Ee)&&(this.activeGrip=this.curveGrip,this._state="resize")},pe.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),oe.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),oe.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),oe.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},pe.prototype.setupControlBox=function(){Ie.prototype.setupControlBox.call(this),this.curveControlLine1=oe.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=oe.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)},pe.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,Ie.prototype.addControlGrips.call(this)},pe.prototype.positionGrips=function(){Ie.prototype.positionGrips.call(this);var de=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-de/2,this.curveY-de/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()))},pe.prototype.manipulate=function(de){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+de.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+de.y-this.manipulationStartY),Ie.prototype.manipulate.call(this,de)},pe.prototype.resize=function(de){this.activeGrip===this.curveGrip&&(this.curveX=de.x,this.curveY=de.y),Ie.prototype.resize.call(this,de),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},pe.prototype.setStrokeColor=function(de){this.strokeColor=de,this.adjustVisual(),this.colorChanged(de)},pe.prototype.setStrokeWidth=function(de){this.strokeWidth=de,this.adjustVisual()},pe.prototype.setStrokeDasharray=function(de){this.strokeDasharray=de,this.adjustVisual()},pe.prototype.scale=function(de,Ee){this.curveX=this.curveX*de,this.curveY=this.curveY*Ee,Ie.prototype.scale.call(this,de,Ee)},Object.defineProperty(pe.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),pe.prototype.getState=function(){var de=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},Ie.prototype.getState.call(this));return de.typeName=pe.typeName,de},pe.prototype.restoreState=function(de){Ie.prototype.restoreState.call(this,de);var Ee=de;this.strokeColor=Ee.strokeColor,this.strokeWidth=Ee.strokeWidth,this.strokeDasharray=Ee.strokeDasharray,this.curveX=Ee.curveX,this.curveY=Ee.curveY,this.createVisual(),this.adjustVisual()},pe.typeName="CurveMarker",pe.title="Curve marker",pe.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>',pe}(tt),pn=function(Ie){function pe(de,Ee,De){var fe=Ie.call(this,de,Ee,De)||this;return fe.fillColor="transparent",fe.strokeColor="transparent",fe.strokeWidth=0,fe.strokeDasharray="",fe.textColor="transparent",fe.fontSize="1rem",fe.isMoved=!1,fe.captionText="Caption",fe.PADDING=5,fe.captionBoxWidth=0,fe.captionBoxHeight=0,fe.strokeColor=De.defaultColor,fe.strokeWidth=De.defaultStrokeWidth,fe.strokeDasharray=De.defaultStrokeDasharray,fe.fillColor=De.defaultFillColor,fe.textColor=De.defaultStrokeColor,fe.fontFamily=De.defaultFontFamily,fe.fontSize=De.defaultCaptionFontSize,fe.captionText=De.defaultCaptionText,fe.setStrokeColor=fe.setStrokeColor.bind(fe),fe.setFillColor=fe.setFillColor.bind(fe),fe.setStrokeWidth=fe.setStrokeWidth.bind(fe),fe.setStrokeDasharray=fe.setStrokeDasharray.bind(fe),fe.createVisual=fe.createVisual.bind(fe),fe.sizeCaption=fe.sizeCaption.bind(fe),fe.setCaptionText=fe.setCaptionText.bind(fe),fe.showTextEditor=fe.showTextEditor.bind(fe),fe.positionTextEditor=fe.positionTextEditor.bind(fe),fe.finishTextEditing=fe.finishTextEditing.bind(fe),fe.setFont=fe.setFont.bind(fe),fe.setTextColor=fe.setTextColor.bind(fe),fe.strokePanel=new Me("Line color",ge(De.defaultColorSet,["transparent"]),fe.strokeColor),fe.strokePanel.onColorChanged=fe.setStrokeColor,fe.fillPanel=new Me("Fill color",ge(De.defaultColorSet,["transparent"]),fe.fillColor,je),fe.fillPanel.onColorChanged=fe.setFillColor,fe.strokeWidthPanel=new Te("Line width",De.defaultStrokeWidths,De.defaultStrokeWidth),fe.strokeWidthPanel.onWidthChanged=fe.setStrokeWidth,fe.strokeStylePanel=new Ye("Line style",De.defaultStrokeDasharrays,De.defaultStrokeDasharray),fe.strokeStylePanel.onStyleChanged=fe.setStrokeDasharray,fe.fontFamilyPanel=new Ue("Font",De.defaultFontFamilies,De.defaultFontFamily),fe.fontFamilyPanel.onFontChanged=fe.setFont,fe.textColorPanel=new Me("Text color",De.defaultColorSet,fe.textColor,nt),fe.textColorPanel.onColorChanged=fe.setTextColor,fe}return ue(pe,Ie),pe.prototype.ownsTarget=function(de){return!(!Ie.prototype.ownsTarget.call(this,de)&&de!==this.visual&&de!==this.frame&&de!==this.captionBg&&de!==this.captionElement)},pe.prototype.createVisual=function(){this.visual=oe.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=oe.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=oe.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=oe.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()},pe.prototype.setCaptionText=function(de){this.captionText=de,this.captionElement.textContent=this.captionText,this.sizeCaption()},pe.prototype.pointerDown=function(de,Ee){Ie.prototype.pointerDown.call(this,de,Ee),this.isMoved=!1,this.pointerDownPoint=de,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(de),this._state="creating")},pe.prototype.manipulate=function(de){Ie.prototype.manipulate.call(this,de),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(de.x-this.pointerDownPoint.x)>5||Math.abs(de.y-this.pointerDownPoint.y)>5)},pe.prototype.resize=function(de){Ie.prototype.resize.call(this,de),this.setSize()},pe.prototype.sizeCaption=function(){var de=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=de.width+2*this.PADDING,this.captionBoxHeight=de.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),oe.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')"]]),oe.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')"]])},pe.prototype.showTextEditor=function(){var de=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(Ee){Ee.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(Ee){Ee.key==="Enter"&&de.finishTextEditing(de.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(Ee){Ee.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){de.finishTextEditing(de.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){de.finishTextEditing(de.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},pe.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"))},pe.prototype.finishTextEditing=function(de){this.setCaptionText(de.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},pe.prototype.setFont=function(de){this.captionElement&&oe.setAttributes(this.captionElement,[["font-family",de]]),this.fontFamily=de,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},pe.prototype.setTextColor=function(de){this.captionElement&&oe.setAttributes(this.captionElement,[["fill",de]]),this.textColor=de,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},pe.prototype.setSize=function(){Ie.prototype.setSize.call(this),oe.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},pe.prototype.pointerUp=function(de){Ie.prototype.pointerUp.call(this,de),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},pe.prototype.dblClick=function(de,Ee){Ie.prototype.dblClick.call(this,de,Ee),this.showTextEditor()},pe.prototype.setStrokeColor=function(de){this.strokeColor=de,this.frame&&oe.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(de),this.stateChanged()},pe.prototype.setFillColor=function(de){this.fillColor=de,this.captionBg&&oe.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(de),this.stateChanged()},pe.prototype.setStrokeWidth=function(de){this.strokeWidth=de,this.frame&&oe.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},pe.prototype.setStrokeDasharray=function(de){this.strokeDasharray=de,this.frame&&oe.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(pe.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),pe.prototype.getState=function(){var de=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},Ie.prototype.getState.call(this));return de.typeName=this.typeName,de},pe.prototype.restoreState=function(de){var Ee=de;this.fillColor=Ee.fillColor,this.strokeColor=Ee.strokeColor,this.strokeWidth=Ee.strokeWidth,this.strokeDasharray=Ee.strokeDasharray,this.textColor=Ee.textColor,this.fontFamily=Ee.fontFamily,this.captionText=Ee.captionText,this.fontSize=Ee.fontSize,this.createVisual(),Ie.prototype.restoreState.call(this,de),this.setSize()},pe.prototype.scale=function(de,Ee){Ie.prototype.scale.call(this,de,Ee),this.setSize()},pe.typeName="CaptionFrameMarker",pe.title="Caption frame marker",pe.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>',pe}(ke),bt=function(){function Ie(pe,de){de===void 0&&(de=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=pe,this.cancelable=de}return Object.defineProperty(Ie.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),Ie.prototype.preventDefault=function(){this._defaultPrevented=!0},Ie}(),Yt=function(Ie){function pe(de,Ee,De){var fe=Ie.call(this,de,!1)||this;return fe.dataUrl=Ee,fe.state=De,fe}return ue(pe,Ie),pe}(bt),Bt=function(Ie){function pe(de,Ee,De){De===void 0&&(De=!1);var fe=Ie.call(this,de,De)||this;return fe.marker=Ee,fe}return ue(pe,Ie),pe}(bt),$t=function(){function Ie(){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 Ie.prototype.addEventListener=function(pe,de){this[pe].push(de)},Ie.prototype.removeEventListener=function(pe,de){var Ee=this[pe].indexOf(de);Ee>-1&&this[pe].splice(Ee,1)},Ie}(),cn=function(){function Ie(pe){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new Fe,this._isOpen=!1,this.undoRedoManager=new zt,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 $t,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=Ie.instanceCounter++,this.styles=new he(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=pe,this.targetRoot=document.body,this.width=pe.clientWidth,this.height=pe.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(Ie.prototype,"ALL_MARKER_TYPES",{get:function(){return[lt,et,ht,Xe,ot,wt,Gt,Be,Ot,kt,$e,Ut,pn]},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[lt,et,ht,Xe,wt,Gt,Be]},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"BASIC_MARKER_TYPES",{get:function(){return[lt,et,ht,Xe,Gt]},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(pe){var de=this;this._availableMarkerTypes.splice(0),pe.forEach(function(Ee){if(typeof Ee=="string"){var De=de.ALL_MARKER_TYPES.find(function(fe){return fe.typeName===Ee});De!==void 0&&de._availableMarkerTypes.push(De)}else de._availableMarkerTypes.push(Ee)})},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(pe){this._zoomLevel=pe,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(Ie.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),Ie.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),xe.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},Ie.prototype.show=function(){var pe=this;this.styles.styleSheetRoot===void 0&&Se.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=Se.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(de){return de(new bt(pe))})},Ie.prototype.render=function(){return le(this,void 0,void 0,function(){var pe;return ce(this,function(de){switch(de.label){case 0:return this.setCurrentMarker(),(pe=new Oe).naturalSize=this.renderAtNaturalSize,pe.imageType=this.renderImageType,pe.imageQuality=this.renderImageQuality,pe.markersOnly=this.renderMarkersOnly,pe.width=this.renderWidth,pe.height=this.renderHeight,[4,pe.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return de.sent(),[4,pe.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,de.sent()]}})})},Ie.prototype.close=function(pe){var de=this;if(pe===void 0&&(pe=!1),this.isOpen){var Ee=!1;pe||this.eventListeners.beforeclose.forEach(function(De){var fe=new bt(de,!0);De(fe),fe.defaultPrevented&&(Ee=!0)}),Ee||(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(De){return De(new bt(de))}),this.detachEvents(),this._isOpen=!1)}},Ie.prototype.addMarkersToToolbar=function(){for(var pe,de=[],Ee=0;Ee<arguments.length;Ee++)de[Ee]=arguments[Ee];(pe=this._availableMarkerTypes).push.apply(pe,de)},Ie.prototype.addRenderEventListener=function(pe){this.addEventListener("render",function(de){pe(de.dataUrl,de.state)})},Ie.prototype.removeRenderEventListener=function(pe){},Ie.prototype.addCloseEventListener=function(pe){this.addEventListener("close",function(){pe()})},Ie.prototype.removeCloseEventListener=function(pe){},Ie.prototype.setupResizeObserver=function(){var pe=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){pe.resize(pe.target.clientWidth,pe.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return pe.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},Ie.prototype.onPopupTargetResize=function(){var pe=1*this.target.clientWidth/this.target.clientHeight,de=this.editorCanvas.clientWidth/pe>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*pe:this.editorCanvas.clientWidth,Ee=de<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/pe;this.resize(de,Ee)},Ie.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},Ie.prototype.resize=function(pe,de){this._isResizing=!0;var Ee=pe/this.imageWidth,De=de/this.imageHeight;this.imageWidth=Math.round(pe),this.imageHeight=Math.round(de),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(Ee,De),this._isResizing=!1},Ie.prototype.scaleMarkers=function(pe,de){var Ee,De=this;this._currentMarker&&this._currentMarker instanceof Xe?this._currentMarker.scale(pe,de):(Ee=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(fe){fe!==De._currentMarker&&fe.scale(pe,de)}),Ee!==void 0&&this.setCurrentMarker(Ee)},Ie.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"},Ie.prototype.setTopLeft=function(){var pe=this.editingTarget.getBoundingClientRect(),de=this.editorCanvas.getBoundingClientRect();this.left=pe.left-de.left,this.top=pe.top-de.top},Ie.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)},Ie.prototype.addDefs=function(){for(var pe,de=[],Ee=0;Ee<arguments.length;Ee++)de[Ee]=arguments[Ee];this.defs=oe.createDefs(),this.addDefsToImage(),(pe=this.defs).append.apply(pe,de)},Ie.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},Ie.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)},Ie.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},Ie.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},Ie.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)},Ie.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},Ie.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)},Ie.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 pe=document.createElement("a");pe.href="https://markerjs.com/",pe.target="_blank",pe.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>',pe.title="Powered by marker.js",pe.style.display="grid",pe.style.alignItems="center",pe.style.justifyItems="center",pe.style.padding="3px",pe.style.width="20px",pe.style.height="20px",this.logoUI.appendChild(pe),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},Ie.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")},Ie.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"},Ie.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},Ie.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 pe=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=pe+"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 ct(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 Ke(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},Ie.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},Ie.prototype.removeMarker=function(pe){this.markerImage.removeChild(pe.container),this.markers.indexOf(pe)>-1&&this.markers.splice(this.markers.indexOf(pe),1),pe.dispose()},Ie.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())},Ie.prototype.toolbarButtonClicked=function(pe,de){if(pe==="marker"&&de!==void 0)this.createNewMarker(de);else if(pe==="action")switch(de){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()}},Ie.prototype.deleteSelectedMarker=function(){var pe=this;if(this._currentMarker!==void 0){var de=!1;if(this.eventListeners.markerbeforedelete.forEach(function(De){var fe=new Bt(pe,pe._currentMarker,!0);De(fe),fe.defaultPrevented&&(de=!0)}),!de){var Ee=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(De){return De(new Bt(pe,Ee))})}}},Ie.prototype.clear=function(){var pe=this,de=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(Qe){var Mt=new Bt(pe,void 0,!0);Qe(Mt),Mt.defaultPrevented&&(de=!0)}),!de)){this.setCurrentMarker();for(var Ee=function(Qe){var Mt=De.markers[Qe];De.setCurrentMarker(De.markers[Qe]),De._currentMarker.dispose(),De.markerImage.removeChild(De._currentMarker.container),De.markers.splice(De.markers.indexOf(De._currentMarker),1),De.eventListeners.markerdelete.forEach(function(an){return an(new Bt(pe,Mt))})},De=this,fe=this.markers.length-1;fe>=0;fe--)Ee(fe);this.addUndoStep()}},Object.defineProperty(Ie.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),Ie.prototype.showNotesEditor=function(){var pe;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=(pe=this._currentMarker.notes)!==null&&pe!==void 0?pe:"",this.overlayContainer.appendChild(this.notesArea))},Ie.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)},Ie.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},Ie.prototype.addUndoStep=function(){var pe=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var de=this.getState(),Ee=this.undoRedoManager.getLastUndoStep();if(!Ee||Ee.width===de.width&&Ee.height===de.height){var De=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(de),De<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(fe){return fe(new bt(pe))})}else this.undoRedoManager.replaceLastUndoStep(de),this.eventListeners.statechange.forEach(function(fe){return fe(new bt(pe))})}},Ie.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},Ie.prototype.undoStep=function(){var pe=this,de=this.undoRedoManager.undo();de!==void 0&&(this.restoreState(de),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(Ee){return Ee(new bt(pe))}))},Ie.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},Ie.prototype.redoStep=function(){var pe=this,de=this.undoRedoManager.redo();de!==void 0&&(this.restoreState(de),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(Ee){return Ee(new bt(pe))}))},Ie.prototype.stepZoom=function(){var pe=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=pe<this.zoomSteps.length-1?this.zoomSteps[pe+1]:this.zoomSteps[0]},Ie.prototype.panTo=function(pe){this.contentDiv.scrollBy({left:this.prevPanPoint.x-pe.x,top:this.prevPanPoint.y-pe.y}),this.prevPanPoint=pe},Ie.prototype.startRenderAndClose=function(){return le(this,void 0,void 0,function(){var pe,de,Ee=this;return ce(this,function(De){switch(De.label){case 0:return[4,this.render()];case 1:return pe=De.sent(),de=this.getState(),this.eventListeners.render.forEach(function(fe){return fe(new Yt(Ee,pe,de))}),this.close(!0),[2]}})})},Ie.prototype.getState=function(pe){pe===!0&&this.setCurrentMarker();var de={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(Ee){return de.markers.push(Ee.getState())}),de},Ie.prototype.restoreState=function(pe){var de=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);pe.markers.forEach(function(Ee){var De=de._availableMarkerTypes.find(function(Qe){return Qe.typeName===Ee.typeName});if(De!==void 0){var fe=de.addNewMarker(De);fe.restoreState(Ee),de.markers.push(fe)}}),pe.width&&pe.height&&(pe.width!==this.imageWidth||pe.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/pe.width,this.imageHeight/pe.height),this.eventListeners.restorestate.forEach(function(Ee){return Ee(new bt(de))})},Ie.prototype.addNewMarker=function(pe){var de=oe.createGroup();return this.markerImage.appendChild(de),new pe(de,this.overlayContainer,this.settings)},Ie.prototype.createNewMarker=function(pe){var de,Ee=this;(de=typeof pe=="string"?this._availableMarkerTypes.find(function(De){return De.typeName===pe}):pe)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(de),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(de.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(De){return De(new Bt(Ee,Ee._currentMarker))}))},Ie.prototype.markerCreated=function(pe){var de=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(pe),this.setCurrentMarker(pe),pe instanceof et&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(et):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(Ee){return Ee(new Bt(de,de._currentMarker))})},Ie.prototype.colorChanged=function(pe){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=pe,this.settings.defaultStrokeColor=pe)},Ie.prototype.fillColorChanged=function(pe){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=pe)},Ie.prototype.markerStateChanged=function(pe){var de=this;this.eventListeners.markerchange.forEach(function(Ee){return Ee(new Bt(de,pe))})},Ie.prototype.setCurrentMarker=function(pe){var de=this;this._currentMarker!==pe&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(Ee){return Ee(new Bt(de,de._currentMarker))})),this._currentMarker=pe,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(Ee){return Ee(new Bt(de,de._currentMarker))}))},Ie.prototype.onPointerDown=function(pe){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||pe.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var de=this.markers.find(function(Ee){return Ee.ownsTarget(pe.target)});de!==void 0?(this.setCurrentMarker(de),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(pe.clientX,pe.clientY),pe.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:pe.clientX,y:pe.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(pe.clientX,pe.clientY))},Ie.prototype.onDblClick=function(pe){if(this._isFocused||this.focus(),this.mode==="select"){var de=this.markers.find(function(Ee){return Ee.ownsTarget(pe.target)});de!==void 0&&de!==this._currentMarker&&this.setCurrentMarker(de),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(pe.clientX,pe.clientY),pe.target):this.setCurrentMarker()}},Ie.prototype.onPointerMove=function(pe){this.touchPoints!==1&&pe.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||pe.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(pe.clientX,pe.clientY)):this.zoomLevel>1&&this.panTo({x:pe.clientX,y:pe.clientY}))},Ie.prototype.onPointerUp=function(pe){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(pe.clientX,pe.clientY)),this.isDragging=!1,this.addUndoStep()},Ie.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},Ie.prototype.onKeyUp=function(pe){this._currentMarker===void 0||this.notesArea!==void 0||pe.key!=="Delete"&&pe.key!=="Backspace"||this.deleteSelectedMarker()},Ie.prototype.clientToLocalCoordinates=function(pe,de){var Ee=this.markerImage.getBoundingClientRect();return{x:(pe-Ee.left)/this.zoomLevel,y:(de-Ee.top)/this.zoomLevel}},Ie.prototype.onWindowResize=function(){this.positionUI()},Ie.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var pe=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=pe+"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()},Ie.prototype.addLicenseKey=function(pe){xe.addKey(pe)},Ie.prototype.addEventListener=function(pe,de){this.eventListeners.addEventListener(pe,de)},Ie.prototype.removeEventListener=function(pe,de){this.eventListeners.removeEventListener(pe,de)},Ie.prototype.renderState=function(pe){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(pe),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(Ie.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),Ie.prototype.focus=function(){var pe=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(de){return de(new bt(pe))}))},Ie.prototype.blur=function(){var pe=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(de){return de(new bt(pe))}))},Ie.instanceCounter=0,Ie}()},67842:function(me){"use strict";var ne,E=59;me.exports=b;function b(ue){var le="&"+ue+";",ce;return ne=ne||document.createElement("i"),ne.innerHTML=le,ce=ne.textContent,ce.charCodeAt(ce.length-1)===E&&ue!=="semi"||ce===le?!1:ce}},12256:function(me,ne,E){"use strict";var b=E(47854),ue=E(80501),le=E(22347),ce=E(65207),ge=E(21127),oe=E(67842);me.exports=Gt;var xe={}.hasOwnProperty,Oe=String.fromCharCode,Se=Function.prototype,he={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},Ve=9,Ae=10,ct=12,Ke=32,qe=38,Me=59,ze=60,Ze=61,Le=35,Pe=88,ke=120,Re=65533,Te="named",Ye="hexadecimal",lt="decimal",Fe={};Fe[Ye]=16,Fe[lt]=10;var tt={};tt[Te]=ge,tt[lt]=le,tt[Ye]=ce;var $e=1,Ue=2,Xe=3,et=4,rt=5,ht=6,kt=7,St={};St[$e]="Named character references must be terminated by a semicolon",St[Ue]="Numeric character references must be terminated by a semicolon",St[Xe]="Named character references cannot be empty",St[et]="Numeric character references cannot be empty",St[rt]="Named character references must be known",St[ht]="Numeric character references cannot be disallowed",St[kt]="Numeric character references cannot be outside the permissible Unicode range";function Gt(wt,Ot){var ot={},zt,Ut;Ot||(Ot={});for(Ut in he)zt=Ot[Ut],ot[Ut]=zt==null?he[Ut]:zt;return(ot.position.indent||ot.position.start)&&(ot.indent=ot.position.indent||[],ot.position=ot.position.start),nt(wt,ot)}function nt(wt,Ot){var ot=Ot.additional,zt=Ot.nonTerminated,Ut=Ot.text,pn=Ot.reference,bt=Ot.warning,Yt=Ot.textContext,Bt=Ot.referenceContext,$t=Ot.warningContext,cn=Ot.position,Ie=Ot.indent||[],pe=wt.length,de=0,Ee=-1,De=cn.column||1,fe=cn.line||1,Qe="",Mt=[],an,Sn,gt,Ft,Lt,Jt,fn,Zt,mt,tn,Ct,Rt,vt,jt,At,Je,un,gn,Et;for(typeof ot=="string"&&(ot=ot.charCodeAt(0)),Je=Ln(),Zt=bt?ar:Se,de--,pe++;++de<pe;)if(Lt===Ae&&(De=Ie[Ee]||1),Lt=wt.charCodeAt(de),Lt===qe){if(fn=wt.charCodeAt(de+1),fn===Ve||fn===Ae||fn===ct||fn===Ke||fn===qe||fn===ze||fn!==fn||ot&&fn===ot){Qe+=Oe(Lt),De++;continue}for(vt=de+1,Rt=vt,Et=vt,fn===Le?(Et=++Rt,fn=wt.charCodeAt(Et),fn===Pe||fn===ke?(jt=Ye,Et=++Rt):jt=lt):jt=Te,an="",Ct="",Ft="",At=tt[jt],Et--;++Et<pe&&(fn=wt.charCodeAt(Et),!!At(fn));)Ft+=Oe(fn),jt===Te&&xe.call(b,Ft)&&(an=Ft,Ct=b[Ft]);gt=wt.charCodeAt(Et)===Me,gt&&(Et++,Sn=jt===Te?oe(Ft):!1,Sn&&(an=Ft,Ct=Sn)),gn=1+Et-vt,!gt&&!zt||(Ft?jt===Te?(gt&&!Ct?Zt(rt,1):(an!==Ft&&(Et=Rt+an.length,gn=1+Et-Rt,gt=!1),gt||(mt=an?$e:Xe,Ot.attribute?(fn=wt.charCodeAt(Et),fn===Ze?(Zt(mt,gn),Ct=null):ge(fn)?Ct=null:Zt(mt,gn)):Zt(mt,gn))),Jt=Ct):(gt||Zt(Ue,gn),Jt=parseInt(Ft,Fe[jt]),je(Jt)?(Zt(kt,gn),Jt=Oe(Re)):Jt in ue?(Zt(ht,gn),Jt=ue[Jt]):(tn="",Be(Jt)&&Zt(ht,gn),Jt>65535&&(Jt-=65536,tn+=Oe(Jt>>>10|55296),Jt=56320|Jt&1023),Jt=tn+Oe(Jt))):jt!==Te&&Zt(et,gn)),Jt?(Hn(),Je=Ln(),de=Et-1,De+=Et-vt+1,Mt.push(Jt),un=Ln(),un.offset++,pn&&pn.call(Bt,Jt,{start:Je,end:un},wt.slice(vt-1,Et)),Je=un):(Ft=wt.slice(vt-1,Et),Qe+=Ft,De+=Ft.length,de=Et-1)}else Lt===10&&(fe++,Ee++,De=0),Lt===Lt?(Qe+=Oe(Lt),De++):Hn();return Mt.join("");function Ln(){return{line:fe,column:De,offset:de+(cn.offset||0)}}function ar(Vt,dr){var qn=Ln();qn.column+=dr,qn.offset+=dr,bt.call($t,St[Vt],qn,Vt)}function Hn(){Qe&&(Mt.push(Qe),Ut&&Ut.call(Yt,Qe,{start:Je,end:Ln()}),Qe="")}}function je(wt){return wt>=55296&&wt<=57343||wt>1114111}function Be(wt){return wt>=1&&wt<=8||wt===11||wt>=13&&wt<=31||wt>=127&&wt<=159||wt>=64976&&wt<=65007||(wt&65535)===65535||(wt&65535)===65534}},68398:function(me,ne,E){var b=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{};var ue=function(le){var ce=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,ge=0,oe={},xe={manual:le.Prism&&le.Prism.manual,disableWorkerMessageHandler:le.Prism&&le.Prism.disableWorkerMessageHandler,util:{encode:function Ze(Le){return Le instanceof Oe?new Oe(Le.type,Ze(Le.content),Le.alias):Array.isArray(Le)?Le.map(Ze):Le.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(Ze){return Object.prototype.toString.call(Ze).slice(8,-1)},objId:function(Ze){return Ze.__id||Object.defineProperty(Ze,"__id",{value:++ge}),Ze.__id},clone:function Ze(Le,Pe){Pe=Pe||{};var ke,Re;switch(xe.util.type(Le)){case"Object":if(Re=xe.util.objId(Le),Pe[Re])return Pe[Re];ke={},Pe[Re]=ke;for(var Te in Le)Le.hasOwnProperty(Te)&&(ke[Te]=Ze(Le[Te],Pe));return ke;case"Array":return Re=xe.util.objId(Le),Pe[Re]?Pe[Re]:(ke=[],Pe[Re]=ke,Le.forEach(function(Ye,lt){ke[lt]=Ze(Ye,Pe)}),ke);default:return Le}},getLanguage:function(Ze){for(;Ze;){var Le=ce.exec(Ze.className);if(Le)return Le[1].toLowerCase();Ze=Ze.parentElement}return"none"},setLanguage:function(Ze,Le){Ze.className=Ze.className.replace(RegExp(ce,"gi"),""),Ze.classList.add("language-"+Le)},currentScript:function(){if(typeof document=="undefined")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(ke){var Ze=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(ke.stack)||[])[1];if(Ze){var Le=document.getElementsByTagName("script");for(var Pe in Le)if(Le[Pe].src==Ze)return Le[Pe]}return null}},isActive:function(Ze,Le,Pe){for(var ke="no-"+Le;Ze;){var Re=Ze.classList;if(Re.contains(Le))return!0;if(Re.contains(ke))return!1;Ze=Ze.parentElement}return!!Pe}},languages:{plain:oe,plaintext:oe,text:oe,txt:oe,extend:function(Ze,Le){var Pe=xe.util.clone(xe.languages[Ze]);for(var ke in Le)Pe[ke]=Le[ke];return Pe},insertBefore:function(Ze,Le,Pe,ke){ke=ke||xe.languages;var Re=ke[Ze],Te={};for(var Ye in Re)if(Re.hasOwnProperty(Ye)){if(Ye==Le)for(var lt in Pe)Pe.hasOwnProperty(lt)&&(Te[lt]=Pe[lt]);Pe.hasOwnProperty(Ye)||(Te[Ye]=Re[Ye])}var Fe=ke[Ze];return ke[Ze]=Te,xe.languages.DFS(xe.languages,function(tt,$e){$e===Fe&&tt!=Ze&&(this[tt]=Te)}),Te},DFS:function Ze(Le,Pe,ke,Re){Re=Re||{};var Te=xe.util.objId;for(var Ye in Le)if(Le.hasOwnProperty(Ye)){Pe.call(Le,Ye,Le[Ye],ke||Ye);var lt=Le[Ye],Fe=xe.util.type(lt);Fe==="Object"&&!Re[Te(lt)]?(Re[Te(lt)]=!0,Ze(lt,Pe,null,Re)):Fe==="Array"&&!Re[Te(lt)]&&(Re[Te(lt)]=!0,Ze(lt,Pe,Ye,Re))}}},plugins:{},highlightAll:function(Ze,Le){xe.highlightAllUnder(document,Ze,Le)},highlightAllUnder:function(Ze,Le,Pe){var ke={callback:Pe,container:Ze,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};xe.hooks.run("before-highlightall",ke),ke.elements=Array.prototype.slice.apply(ke.container.querySelectorAll(ke.selector)),xe.hooks.run("before-all-elements-highlight",ke);for(var Re=0,Te;Te=ke.elements[Re++];)xe.highlightElement(Te,Le===!0,ke.callback)},highlightElement:function(Ze,Le,Pe){var ke=xe.util.getLanguage(Ze),Re=xe.languages[ke];xe.util.setLanguage(Ze,ke);var Te=Ze.parentElement;Te&&Te.nodeName.toLowerCase()==="pre"&&xe.util.setLanguage(Te,ke);var Ye=Ze.textContent,lt={element:Ze,language:ke,grammar:Re,code:Ye};function Fe($e){lt.highlightedCode=$e,xe.hooks.run("before-insert",lt),lt.element.innerHTML=lt.highlightedCode,xe.hooks.run("after-highlight",lt),xe.hooks.run("complete",lt),Pe&&Pe.call(lt.element)}if(xe.hooks.run("before-sanity-check",lt),Te=lt.element.parentElement,Te&&Te.nodeName.toLowerCase()==="pre"&&!Te.hasAttribute("tabindex")&&Te.setAttribute("tabindex","0"),!lt.code){xe.hooks.run("complete",lt),Pe&&Pe.call(lt.element);return}if(xe.hooks.run("before-highlight",lt),!lt.grammar){Fe(xe.util.encode(lt.code));return}if(Le&&le.Worker){var tt=new Worker(xe.filename);tt.onmessage=function($e){Fe($e.data)},tt.postMessage(JSON.stringify({language:lt.language,code:lt.code,immediateClose:!0}))}else Fe(xe.highlight(lt.code,lt.grammar,lt.language))},highlight:function(Ze,Le,Pe){var ke={code:Ze,grammar:Le,language:Pe};if(xe.hooks.run("before-tokenize",ke),!ke.grammar)throw new Error('The language "'+ke.language+'" has no grammar.');return ke.tokens=xe.tokenize(ke.code,ke.grammar),xe.hooks.run("after-tokenize",ke),Oe.stringify(xe.util.encode(ke.tokens),ke.language)},tokenize:function(Ze,Le){var Pe=Le.rest;if(Pe){for(var ke in Pe)Le[ke]=Pe[ke];delete Le.rest}var Re=new Ve;return Ae(Re,Re.head,Ze),he(Ze,Re,Le,Re.head,0),Ke(Re)},hooks:{all:{},add:function(Ze,Le){var Pe=xe.hooks.all;Pe[Ze]=Pe[Ze]||[],Pe[Ze].push(Le)},run:function(Ze,Le){var Pe=xe.hooks.all[Ze];if(!(!Pe||!Pe.length))for(var ke=0,Re;Re=Pe[ke++];)Re(Le)}},Token:Oe};le.Prism=xe;function Oe(Ze,Le,Pe,ke){this.type=Ze,this.content=Le,this.alias=Pe,this.length=(ke||"").length|0}Oe.stringify=function Ze(Le,Pe){if(typeof Le=="string")return Le;if(Array.isArray(Le)){var ke="";return Le.forEach(function(Fe){ke+=Ze(Fe,Pe)}),ke}var Re={type:Le.type,content:Ze(Le.content,Pe),tag:"span",classes:["token",Le.type],attributes:{},language:Pe},Te=Le.alias;Te&&(Array.isArray(Te)?Array.prototype.push.apply(Re.classes,Te):Re.classes.push(Te)),xe.hooks.run("wrap",Re);var Ye="";for(var lt in Re.attributes)Ye+=" "+lt+'="'+(Re.attributes[lt]||"").replace(/"/g,"&quot;")+'"';return"<"+Re.tag+' class="'+Re.classes.join(" ")+'"'+Ye+">"+Re.content+"</"+Re.tag+">"};function Se(Ze,Le,Pe,ke){Ze.lastIndex=Le;var Re=Ze.exec(Pe);if(Re&&ke&&Re[1]){var Te=Re[1].length;Re.index+=Te,Re[0]=Re[0].slice(Te)}return Re}function he(Ze,Le,Pe,ke,Re,Te){for(var Ye in Pe)if(!(!Pe.hasOwnProperty(Ye)||!Pe[Ye])){var lt=Pe[Ye];lt=Array.isArray(lt)?lt:[lt];for(var Fe=0;Fe<lt.length;++Fe){if(Te&&Te.cause==Ye+","+Fe)return;var tt=lt[Fe],$e=tt.inside,Ue=!!tt.lookbehind,Xe=!!tt.greedy,et=tt.alias;if(Xe&&!tt.pattern.global){var rt=tt.pattern.toString().match(/[imsuy]*$/)[0];tt.pattern=RegExp(tt.pattern.source,rt+"g")}for(var ht=tt.pattern||tt,kt=ke.next,St=Re;kt!==Le.tail&&!(Te&&St>=Te.reach);St+=kt.value.length,kt=kt.next){var Gt=kt.value;if(Le.length>Ze.length)return;if(!(Gt instanceof Oe)){var nt=1,je;if(Xe){if(je=Se(ht,St,Ze,Ue),!je||je.index>=Ze.length)break;var ot=je.index,Be=je.index+je[0].length,wt=St;for(wt+=kt.value.length;ot>=wt;)kt=kt.next,wt+=kt.value.length;if(wt-=kt.value.length,St=wt,kt.value instanceof Oe)continue;for(var Ot=kt;Ot!==Le.tail&&(wt<Be||typeof Ot.value=="string");Ot=Ot.next)nt++,wt+=Ot.value.length;nt--,Gt=Ze.slice(St,wt),je.index-=St}else if(je=Se(ht,0,Gt,Ue),!je)continue;var ot=je.index,zt=je[0],Ut=Gt.slice(0,ot),pn=Gt.slice(ot+zt.length),bt=St+Gt.length;Te&&bt>Te.reach&&(Te.reach=bt);var Yt=kt.prev;Ut&&(Yt=Ae(Le,Yt,Ut),St+=Ut.length),ct(Le,Yt,nt);var Bt=new Oe(Ye,$e?xe.tokenize(zt,$e):zt,et,zt);if(kt=Ae(Le,Yt,Bt),pn&&Ae(Le,kt,pn),nt>1){var $t={cause:Ye+","+Fe,reach:bt};he(Ze,Le,Pe,kt.prev,St,$t),Te&&$t.reach>Te.reach&&(Te.reach=$t.reach)}}}}}}function Ve(){var Ze={value:null,prev:null,next:null},Le={value:null,prev:Ze,next:null};Ze.next=Le,this.head=Ze,this.tail=Le,this.length=0}function Ae(Ze,Le,Pe){var ke=Le.next,Re={value:Pe,prev:Le,next:ke};return Le.next=Re,ke.prev=Re,Ze.length++,Re}function ct(Ze,Le,Pe){for(var ke=Le.next,Re=0;Re<Pe&&ke!==Ze.tail;Re++)ke=ke.next;Le.next=ke,ke.prev=Le,Ze.length-=Re}function Ke(Ze){for(var Le=[],Pe=Ze.head.next;Pe!==Ze.tail;)Le.push(Pe.value),Pe=Pe.next;return Le}if(!le.document)return le.addEventListener&&(xe.disableWorkerMessageHandler||le.addEventListener("message",function(Ze){var Le=JSON.parse(Ze.data),Pe=Le.language,ke=Le.code,Re=Le.immediateClose;le.postMessage(xe.highlight(ke,xe.languages[Pe],Pe)),Re&&le.close()},!1)),xe;var qe=xe.util.currentScript();qe&&(xe.filename=qe.src,qe.hasAttribute("data-manual")&&(xe.manual=!0));function Me(){xe.manual||xe.highlightAll()}if(!xe.manual){var ze=document.readyState;ze==="loading"||ze==="interactive"&&qe&&qe.defer?document.addEventListener("DOMContentLoaded",Me):window.requestAnimationFrame?window.requestAnimationFrame(Me):window.setTimeout(Me,16)}return xe}(b);me.exports&&(me.exports=ue),typeof E.g!="undefined"&&(E.g.Prism=ue)},88914:function(me,ne,E){"use strict";var b=E(47178),ue=E(19095),le=E(1969),ce="data";me.exports=Oe;var ge=/^data[-\w.:]+$/i,oe=/-[a-z]/g,xe=/[A-Z]/g;function Oe(ct,Ke){var qe=b(Ke),Me=Ke,ze=le;return qe in ct.normal?ct.property[ct.normal[qe]]:(qe.length>4&&qe.slice(0,4)===ce&&ge.test(Ke)&&(Ke.charAt(4)==="-"?Me=Se(Ke):Ke=he(Ke),ze=ue),new ze(Me,Ke))}function Se(ct){var Ke=ct.slice(5).replace(oe,Ae);return ce+Ke.charAt(0).toUpperCase()+Ke.slice(1)}function he(ct){var Ke=ct.slice(4);return oe.test(Ke)?ct:(Ke=Ke.replace(xe,Ve),Ke.charAt(0)!=="-"&&(Ke="-"+Ke),ce+Ke)}function Ve(ct){return"-"+ct.toLowerCase()}function Ae(ct){return ct.charAt(1).toUpperCase()}},18795:function(me,ne,E){"use strict";var b=E(83576),ue=E(8179),le=E(59780),ce=E(68244),ge=E(20019),oe=E(38567);me.exports=b([le,ue,ce,ge,oe])},20019:function(me,ne,E){"use strict";var b=E(70167),ue=E(79318),le=b.booleanish,ce=b.number,ge=b.spaceSeparated;me.exports=ue({transform:oe,properties:{ariaActiveDescendant:null,ariaAtomic:le,ariaAutoComplete:null,ariaBusy:le,ariaChecked:le,ariaColCount:ce,ariaColIndex:ce,ariaColSpan:ce,ariaControls:ge,ariaCurrent:null,ariaDescribedBy:ge,ariaDetails:null,ariaDisabled:le,ariaDropEffect:ge,ariaErrorMessage:null,ariaExpanded:le,ariaFlowTo:ge,ariaGrabbed:le,ariaHasPopup:null,ariaHidden:le,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ge,ariaLevel:ce,ariaLive:null,ariaModal:le,ariaMultiLine:le,ariaMultiSelectable:le,ariaOrientation:null,ariaOwns:ge,ariaPlaceholder:null,ariaPosInSet:ce,ariaPressed:le,ariaReadOnly:le,ariaRelevant:null,ariaRequired:le,ariaRoleDescription:ge,ariaRowCount:ce,ariaRowIndex:ce,ariaRowSpan:ce,ariaSelected:le,ariaSetSize:ce,ariaSort:null,ariaValueMax:ce,ariaValueMin:ce,ariaValueNow:ce,ariaValueText:null,role:null}});function oe(xe,Oe){return Oe==="role"?Oe:"aria-"+Oe.slice(4).toLowerCase()}},38567:function(me,ne,E){"use strict";var b=E(70167),ue=E(79318),le=E(85804),ce=b.boolean,ge=b.overloadedBoolean,oe=b.booleanish,xe=b.number,Oe=b.spaceSeparated,Se=b.commaSeparated;me.exports=ue({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:le,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Se,acceptCharset:Oe,accessKey:Oe,action:null,allow:null,allowFullScreen:ce,allowPaymentRequest:ce,allowUserMedia:ce,alt:null,as:null,async:ce,autoCapitalize:null,autoComplete:Oe,autoFocus:ce,autoPlay:ce,capture:ce,charSet:null,checked:ce,cite:null,className:Oe,cols:xe,colSpan:null,content:null,contentEditable:oe,controls:ce,controlsList:Oe,coords:xe|Se,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ce,defer:ce,dir:null,dirName:null,disabled:ce,download:ge,draggable:oe,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ce,formTarget:null,headers:Oe,height:xe,hidden:ce,high:xe,href:null,hrefLang:null,htmlFor:Oe,httpEquiv:Oe,id:null,imageSizes:null,imageSrcSet:Se,inputMode:null,integrity:null,is:null,isMap:ce,itemId:null,itemProp:Oe,itemRef:Oe,itemScope:ce,itemType:Oe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ce,low:xe,manifest:null,max:null,maxLength:xe,media:null,method:null,min:null,minLength:xe,multiple:ce,muted:ce,name:null,nonce:null,noModule:ce,noValidate:ce,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ce,optimum:xe,pattern:null,ping:Oe,placeholder:null,playsInline:ce,poster:null,preload:null,readOnly:ce,referrerPolicy:null,rel:Oe,required:ce,reversed:ce,rows:xe,rowSpan:xe,sandbox:Oe,scope:null,scoped:ce,seamless:ce,selected:ce,shape:null,size:xe,sizes:null,slot:null,span:xe,spellCheck:oe,src:null,srcDoc:null,srcLang:null,srcSet:Se,start:xe,step:null,style:null,tabIndex:xe,target:null,title:null,translate:null,type:null,typeMustMatch:ce,useMap:null,value:oe,width:xe,wrap:null,align:null,aLink:null,archive:Oe,axis:null,background:null,bgColor:null,border:xe,borderColor:null,bottomMargin:xe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ce,declare:ce,event:null,face:null,frame:null,frameBorder:null,hSpace:xe,leftMargin:xe,link:null,longDesc:null,lowSrc:null,marginHeight:xe,marginWidth:xe,noResize:ce,noHref:ce,noShade:ce,noWrap:ce,object:null,profile:null,prompt:null,rev:null,rightMargin:xe,rules:null,scheme:null,scrolling:oe,standby:null,summary:null,text:null,topMargin:xe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:xe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ce,disableRemotePlayback:ce,prefix:null,property:null,results:xe,security:null,unselectable:null}})},85804:function(me,ne,E){"use strict";var b=E(56432);me.exports=ue;function ue(le,ce){return b(le,ce.toLowerCase())}},56432:function(me){"use strict";me.exports=ne;function ne(E,b){return b in E?E[b]:b}},79318:function(me,ne,E){"use strict";var b=E(47178),ue=E(44347),le=E(19095);me.exports=ce;function ce(ge){var oe=ge.space,xe=ge.mustUseProperty||[],Oe=ge.attributes||{},Se=ge.properties,he=ge.transform,Ve={},Ae={},ct,Ke;for(ct in Se)Ke=new le(ct,he(Oe,ct),Se[ct],oe),xe.indexOf(ct)!==-1&&(Ke.mustUseProperty=!0),Ve[ct]=Ke,Ae[b(ct)]=ct,Ae[b(Ke.attribute)]=ct;return new ue(Ve,Ae,oe)}},19095:function(me,ne,E){"use strict";var b=E(1969),ue=E(70167);me.exports=ge,ge.prototype=new b,ge.prototype.defined=!0;var le=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],ce=le.length;function ge(xe,Oe,Se,he){var Ve=-1,Ae;for(oe(this,"space",he),b.call(this,xe,Oe);++Ve<ce;)Ae=le[Ve],oe(this,Ae,(Se&ue[Ae])===ue[Ae])}function oe(xe,Oe,Se){Se&&(xe[Oe]=Se)}},1969:function(me){"use strict";me.exports=E;var ne=E.prototype;ne.space=null,ne.attribute=null,ne.property=null,ne.boolean=!1,ne.booleanish=!1,ne.overloadedBoolean=!1,ne.number=!1,ne.commaSeparated=!1,ne.spaceSeparated=!1,ne.commaOrSpaceSeparated=!1,ne.mustUseProperty=!1,ne.defined=!1;function E(b,ue){this.property=b,this.attribute=ue}},83576:function(me,ne,E){"use strict";var b=E(97270),ue=E(44347);me.exports=le;function le(ce){for(var ge=ce.length,oe=[],xe=[],Oe=-1,Se,he;++Oe<ge;)Se=ce[Oe],oe.push(Se.property),xe.push(Se.normal),he=Se.space;return new ue(b.apply(null,oe),b.apply(null,xe),he)}},44347:function(me){"use strict";me.exports=E;var ne=E.prototype;ne.space=null,ne.normal={},ne.property={};function E(b,ue,le){this.property=b,this.normal=ue,le&&(this.space=le)}},70167:function(me,ne){"use strict";var E=0;ne.boolean=b(),ne.booleanish=b(),ne.overloadedBoolean=b(),ne.number=b(),ne.spaceSeparated=b(),ne.commaSeparated=b(),ne.commaOrSpaceSeparated=b();function b(){return Math.pow(2,++E)}},8179:function(me,ne,E){"use strict";var b=E(79318);me.exports=b({space:"xlink",transform:ue,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function ue(le,ce){return"xlink:"+ce.slice(5).toLowerCase()}},59780:function(me,ne,E){"use strict";var b=E(79318);me.exports=b({space:"xml",transform:ue,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function ue(le,ce){return"xml:"+ce.slice(3).toLowerCase()}},68244:function(me,ne,E){"use strict";var b=E(79318),ue=E(85804);me.exports=b({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:ue,properties:{xmlns:null,xmlnsXLink:null}})},47178:function(me){"use strict";me.exports=ne;function ne(E){return E.toLowerCase()}},63727:function(me,ne,E){"use strict";E.d(ne,{s:function(){return gt},default:function(){return tn}});var b=E(32855),ue=E(27247),le=E(3300),ce=E(11913),ge=E(43079),oe=E(37463),xe=E(6551),Oe=E(6089),Se=E(18929),he=E(59301),Ve=he.createContext({}),Ae=Ve,ct=E(34666),Ke=E(74430),qe="__rc_cascader_search_mark__",Me=function(Rt,vt,jt){var At=jt.label,Je=At===void 0?"":At;return vt.some(function(un){return String(un[Je]).toLowerCase().includes(Rt.toLowerCase())})},ze=function(Rt,vt,jt,At){return vt.map(function(Je){return Je[At.label]}).join(" / ")},Ze=function(Rt,vt,jt,At,Je,un){var gn=Je.filter,Et=gn===void 0?Me:gn,Ln=Je.render,ar=Ln===void 0?ze:Ln,Hn=Je.limit,Vt=Hn===void 0?50:Hn,dr=Je.sort;return he.useMemo(function(){var qn=[];if(!Rt)return[];function xn(zn,cr){var ir=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;zn.forEach(function(Gn){if(!(!dr&&Vt!==!1&&Vt>0&&qn.length>=Vt)){var Yn=[].concat((0,le.Z)(cr),[Gn]),nn=Gn[jt.children],An=ir||Gn.disabled;if((!nn||nn.length===0||un)&&Et(Rt,Yn,{label:jt.label})){var Nn;qn.push((0,ue.Z)((0,ue.Z)({},Gn),{},(Nn={disabled:An},(0,Ke.Z)(Nn,jt.label,ar(Rt,Yn,At,jt)),(0,Ke.Z)(Nn,qe,Yn),(0,Ke.Z)(Nn,jt.children,void 0),Nn)))}nn&&xn(Gn[jt.children],Yn,An)}})}return xn(vt,[]),dr&&qn.sort(function(zn,cr){return dr(zn[qe],cr[qe],Rt,jt)}),Vt!==!1&&Vt>0?qn.slice(0,Vt):qn},[Rt,vt,jt,At,ar,un,Et,dr,Vt])},Le=Ze,Pe="__RC_CASCADER_SPLIT__",ke="SHOW_PARENT",Re="SHOW_CHILD";function Te(Ct){return Ct.join(Pe)}function Ye(Ct){return Ct.map(Te)}function lt(Ct){return Ct.split(Pe)}function Fe(Ct){var Rt=Ct||{},vt=Rt.label,jt=Rt.value,At=Rt.children,Je=jt||"value";return{label:vt||"label",value:Je,key:Je,children:At||"children"}}function tt(Ct,Rt){var vt,jt;return(vt=Ct.isLeaf)!==null&&vt!==void 0?vt:!((jt=Ct[Rt.children])!==null&&jt!==void 0&&jt.length)}function $e(Ct){var Rt=Ct.parentElement;if(Rt){var vt=Ct.offsetTop-Rt.offsetTop;vt-Rt.scrollTop<0?Rt.scrollTo({top:vt}):vt+Ct.offsetHeight-Rt.scrollTop>Rt.offsetHeight&&Rt.scrollTo({top:vt+Ct.offsetHeight-Rt.offsetHeight})}}function Ue(Ct,Rt){return Ct.map(function(vt){var jt;return(jt=vt[qe])===null||jt===void 0?void 0:jt.map(function(At){return At[Rt.value]})})}function Xe(Ct){return Array.isArray(Ct)&&Array.isArray(Ct[0])}function et(Ct){return Ct?Xe(Ct)?Ct:(Ct.length===0?[]:[Ct]).map(function(Rt){return Array.isArray(Rt)?Rt:[Rt]}):[]}function rt(Ct,Rt,vt){var jt=new Set(Ct),At=Rt();return Ct.filter(function(Je){var un=At[Je],gn=un?un.parent:null,Et=un?un.children:null;return un&&un.node.disabled?!0:vt===Re?!(Et&&Et.some(function(Ln){return Ln.key&&jt.has(Ln.key)})):!(gn&&!gn.node.disabled&&jt.has(gn.key))})}function ht(Ct,Rt,vt){for(var jt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,At=Rt,Je=[],un=function(){var Ln,ar,Hn,Vt=Ct[gn],dr=(Ln=At)===null||Ln===void 0?void 0:Ln.findIndex(function(xn){var zn=xn[vt.value];return jt?String(zn)===String(Vt):zn===Vt}),qn=dr!==-1?(ar=At)===null||ar===void 0?void 0:ar[dr]:null;Je.push({value:(Hn=qn==null?void 0:qn[vt.value])!==null&&Hn!==void 0?Hn:Vt,index:dr,option:qn}),At=qn==null?void 0:qn[vt.children]},gn=0;gn<Ct.length;gn+=1)un();return Je}var kt=function(Ct,Rt,vt,jt,At){return he.useMemo(function(){var Je=At||function(un){var gn=jt?un.slice(-1):un,Et=" / ";return gn.every(function(Ln){return["string","number"].includes((0,ct.Z)(Ln))})?gn.join(Et):gn.reduce(function(Ln,ar,Hn){var Vt=he.isValidElement(ar)?he.cloneElement(ar,{key:Hn}):ar;return Hn===0?[Vt]:[].concat((0,le.Z)(Ln),[Et,Vt])},[])};return Ct.map(function(un){var gn,Et=ht(un,Rt,vt),Ln=Je(Et.map(function(Hn){var Vt,dr=Hn.option,qn=Hn.value;return(Vt=dr==null?void 0:dr[vt.label])!==null&&Vt!==void 0?Vt:qn}),Et.map(function(Hn){var Vt=Hn.option;return Vt})),ar=Te(un);return{label:Ln,value:ar,key:ar,valueCells:un,disabled:(gn=Et[Et.length-1])===null||gn===void 0||(gn=gn.option)===null||gn===void 0?void 0:gn.disabled}})},[Ct,Rt,vt,At,jt])};function St(Ct,Rt){return he.useCallback(function(vt){var jt=[],At=[];return vt.forEach(function(Je){var un=ht(Je,Ct,Rt);un.every(function(gn){return gn.option})?At.push(Je):jt.push(Je)}),[At,jt]},[Ct,Rt])}var Gt=E(34061),nt=function(Ct,Rt){var vt=he.useRef({options:[],info:{keyEntities:{},pathKeyEntities:{}}}),jt=he.useCallback(function(){return vt.current.options!==Ct&&(vt.current.options=Ct,vt.current.info=(0,Gt.I8)(Ct,{fieldNames:Rt,initWrapper:function(Je){return(0,ue.Z)((0,ue.Z)({},Je),{},{pathKeyEntities:{}})},processEntity:function(Je,un){var gn=Je.nodes.map(function(Et){return Et[Rt.value]}).join(Pe);un.pathKeyEntities[gn]=Je,Je.key=gn}})),vt.current.info.pathKeyEntities},[Rt,Ct]);return jt};function je(Ct,Rt){var vt=he.useMemo(function(){return Rt||[]},[Rt]),jt=nt(vt,Ct),At=he.useCallback(function(Je){var un=jt();return Je.map(function(gn){var Et=un[gn].nodes;return Et.map(function(Ln){return Ln[Ct.value]})})},[jt,Ct]);return[vt,jt,At]}var Be=E(48736);function wt(Ct){return he.useMemo(function(){if(!Ct)return[!1,{}];var Rt={matchInputWidth:!0,limit:50};return Ct&&(0,ct.Z)(Ct)==="object"&&(Rt=(0,ue.Z)((0,ue.Z)({},Rt),Ct)),Rt.limit<=0&&(Rt.limit=!1),[!0,Rt]},[Ct])}var Ot=E(34643);function ot(Ct,Rt,vt,jt,At,Je,un,gn){return function(Et){if(!Ct)Rt(Et);else{var Ln=Te(Et),ar=Ye(vt),Hn=Ye(jt),Vt=ar.includes(Ln),dr=At.some(function(An){return Te(An)===Ln}),qn=vt,xn=At;if(dr&&!Vt)xn=At.filter(function(An){return Te(An)!==Ln});else{var zn=Vt?ar.filter(function(An){return An!==Ln}):[].concat((0,le.Z)(ar),[Ln]),cr=Je(),ir;if(Vt){var Gn=(0,Ot.S)(zn,{checked:!1,halfCheckedKeys:Hn},cr);ir=Gn.checkedKeys}else{var Yn=(0,Ot.S)(zn,!0,cr);ir=Yn.checkedKeys}var nn=rt(ir,Je,gn);qn=un(nn)}Rt([].concat((0,le.Z)(xn),(0,le.Z)(qn)))}}}function zt(Ct,Rt,vt,jt,At){return he.useMemo(function(){var Je=At(Rt),un=(0,ce.Z)(Je,2),gn=un[0],Et=un[1];if(!Ct||!Rt.length)return[gn,[],Et];var Ln=Ye(gn),ar=vt(),Hn=(0,Ot.S)(Ln,!0,ar),Vt=Hn.checkedKeys,dr=Hn.halfCheckedKeys;return[jt(Vt),jt(dr),Et]},[Ct,Rt,vt,jt,At])}var Ut=E(92310),pn=E.n(Ut),bt=he.memo(function(Ct){var Rt=Ct.children;return Rt},function(Ct,Rt){return!Rt.open}),Yt=bt;function Bt(Ct){var Rt,vt=Ct.prefixCls,jt=Ct.checked,At=Ct.halfChecked,Je=Ct.disabled,un=Ct.onClick,gn=Ct.disableCheckbox,Et=he.useContext(Ae),Ln=Et.checkable,ar=typeof Ln!="boolean"?Ln:null;return he.createElement("span",{className:pn()("".concat(vt),(Rt={},(0,Ke.Z)(Rt,"".concat(vt,"-checked"),jt),(0,Ke.Z)(Rt,"".concat(vt,"-indeterminate"),!jt&&At),(0,Ke.Z)(Rt,"".concat(vt,"-disabled"),Je||gn),Rt)),onClick:un},ar)}var $t="__cascader_fix_label__";function cn(Ct){var Rt=Ct.prefixCls,vt=Ct.multiple,jt=Ct.options,At=Ct.activeValue,Je=Ct.prevValuePath,un=Ct.onToggleOpen,gn=Ct.onSelect,Et=Ct.onActive,Ln=Ct.checkedSet,ar=Ct.halfCheckedSet,Hn=Ct.loadingKeys,Vt=Ct.isSelectable,dr=Ct.disabled,qn="".concat(Rt,"-menu"),xn="".concat(Rt,"-menu-item"),zn=he.useContext(Ae),cr=zn.fieldNames,ir=zn.changeOnSelect,Gn=zn.expandTrigger,Yn=zn.expandIcon,nn=zn.loadingIcon,An=zn.dropdownMenuColumnStyle,Nn=zn.optionRender,In=Gn==="hover",xr=function(Lr){return dr||Lr},gr=he.useMemo(function(){return jt.map(function(or){var Lr,Br=or.disabled,Pr=or.disableCheckbox,wr=or[qe],Ir=(Lr=or[$t])!==null&&Lr!==void 0?Lr:or[cr.label],lr=or[cr.value],_n=tt(or,cr),Sr=wr?wr.map(function(hr){return hr[cr.value]}):[].concat((0,le.Z)(Je),[lr]),kr=Te(Sr),Ur=Hn.includes(kr),rn=Ln.has(kr),Qt=ar.has(kr);return{disabled:Br,label:Ir,value:lr,isLeaf:_n,isLoading:Ur,checked:rn,halfChecked:Qt,option:or,disableCheckbox:Pr,fullPath:Sr,fullPathKey:kr}})},[jt,Ln,cr,ar,Hn,Je]);return he.createElement("ul",{className:qn,role:"menu"},gr.map(function(or){var Lr,Br=or.disabled,Pr=or.label,wr=or.value,Ir=or.isLeaf,lr=or.isLoading,_n=or.checked,Sr=or.halfChecked,kr=or.option,Ur=or.fullPath,rn=or.fullPathKey,Qt=or.disableCheckbox,hr=function(){if(!xr(Br)){var sr=(0,le.Z)(Ur);In&&Ir&&sr.pop(),Et(sr)}},$n=function(){Vt(kr)&&!xr(Br)&&gn(Ur,Ir)},Pt;return typeof kr.title=="string"?Pt=kr.title:typeof Pr=="string"&&(Pt=Pr),he.createElement("li",{key:rn,className:pn()(xn,(Lr={},(0,Ke.Z)(Lr,"".concat(xn,"-expand"),!Ir),(0,Ke.Z)(Lr,"".concat(xn,"-active"),At===wr||At===rn),(0,Ke.Z)(Lr,"".concat(xn,"-disabled"),xr(Br)),(0,Ke.Z)(Lr,"".concat(xn,"-loading"),lr),Lr)),style:An,role:"menuitemcheckbox",title:Pt,"aria-checked":_n,"data-path-key":rn,onClick:function(){hr(),!Qt&&(!vt||Ir)&&$n()},onDoubleClick:function(){ir&&un(!1)},onMouseEnter:function(){In&&hr()},onMouseDown:function(sr){sr.preventDefault()}},vt&&he.createElement(Bt,{prefixCls:"".concat(Rt,"-checkbox"),checked:_n,halfChecked:Sr,disabled:xr(Br)||Qt,disableCheckbox:Qt,onClick:function(sr){Qt||(sr.stopPropagation(),$n())}}),he.createElement("div",{className:"".concat(xn,"-content")},Nn?Nn(kr):Pr),!lr&&Yn&&!Ir&&he.createElement("div",{className:"".concat(xn,"-expand-icon")},Yn),lr&&nn&&he.createElement("div",{className:"".concat(xn,"-loading-icon")},nn))}))}var Ie=function(Rt,vt){var jt=he.useContext(Ae),At=jt.values,Je=At[0],un=he.useState([]),gn=(0,ce.Z)(un,2),Et=gn[0],Ln=gn[1];return he.useEffect(function(){Rt||Ln(Je||[])},[vt,Je]),[Et,Ln]},pe=Ie,de=E(10228),Ee=function(Ct,Rt,vt,jt,At,Je,un){var gn=un.direction,Et=un.searchValue,Ln=un.toggleOpen,ar=un.open,Hn=gn==="rtl",Vt=he.useMemo(function(){for(var An=-1,Nn=Rt,In=[],xr=[],gr=jt.length,or=Ue(Rt,vt),Lr=function(lr){var _n=Nn.findIndex(function(Sr,kr){return(or[kr]?Te(or[kr]):Sr[vt.value])===jt[lr]});if(_n===-1)return 1;An=_n,In.push(An),xr.push(jt[lr]),Nn=Nn[An][vt.children]},Br=0;Br<gr&&Nn&&!Lr(Br);Br+=1);for(var Pr=Rt,wr=0;wr<In.length-1;wr+=1)Pr=Pr[In[wr]][vt.children];return[xr,An,Pr,or]},[jt,vt,Rt]),dr=(0,ce.Z)(Vt,4),qn=dr[0],xn=dr[1],zn=dr[2],cr=dr[3],ir=function(Nn){At(Nn)},Gn=function(Nn){var In=zn.length,xr=xn;xr===-1&&Nn<0&&(xr=In);for(var gr=0;gr<In;gr+=1){xr=(xr+Nn+In)%In;var or=zn[xr];if(or&&!or.disabled){var Lr=qn.slice(0,-1).concat(cr[xr]?Te(cr[xr]):or[vt.value]);ir(Lr);return}}},Yn=function(){if(qn.length>1){var Nn=qn.slice(0,-1);ir(Nn)}else Ln(!1)},nn=function(){var Nn,In=((Nn=zn[xn])===null||Nn===void 0?void 0:Nn[vt.children])||[],xr=In.find(function(or){return!or.disabled});if(xr){var gr=[].concat((0,le.Z)(qn),[xr[vt.value]]);ir(gr)}};he.useImperativeHandle(Ct,function(){return{onKeyDown:function(Nn){var In=Nn.which;switch(In){case de.Z.UP:case de.Z.DOWN:{var xr=0;In===de.Z.UP?xr=-1:In===de.Z.DOWN&&(xr=1),xr!==0&&Gn(xr);break}case de.Z.LEFT:{if(Et)break;Hn?nn():Yn();break}case de.Z.RIGHT:{if(Et)break;Hn?Yn():nn();break}case de.Z.BACKSPACE:{Et||Yn();break}case de.Z.ENTER:{if(qn.length){var gr=zn[xn],or=(gr==null?void 0:gr[qe])||[];or.length?Je(or.map(function(Lr){return Lr[vt.value]}),or[or.length-1]):Je(qn,zn[xn])}break}case de.Z.ESC:Ln(!1),ar&&Nn.stopPropagation()}},onKeyUp:function(){}}})},De=he.forwardRef(function(Ct,Rt){var vt,jt,At,Je=Ct.prefixCls,un=Ct.multiple,gn=Ct.searchValue,Et=Ct.toggleOpen,Ln=Ct.notFoundContent,ar=Ct.direction,Hn=Ct.open,Vt=Ct.disabled,dr=he.useRef(null),qn=ar==="rtl",xn=he.useContext(Ae),zn=xn.options,cr=xn.values,ir=xn.halfValues,Gn=xn.fieldNames,Yn=xn.changeOnSelect,nn=xn.onSelect,An=xn.searchOptions,Nn=xn.dropdownPrefixCls,In=xn.loadData,xr=xn.expandTrigger,gr=Nn||Je,or=he.useState([]),Lr=(0,ce.Z)(or,2),Br=Lr[0],Pr=Lr[1],wr=function(Ar){if(!(!In||gn)){var Xn=ht(Ar,zn,Gn),Cr=Xn.map(function(Rr){var Kr=Rr.option;return Kr}),Dr=Cr[Cr.length-1];if(Dr&&!tt(Dr,Gn)){var _t=Te(Ar);Pr(function(Rr){return[].concat((0,le.Z)(Rr),[_t])}),In(Cr)}}};he.useEffect(function(){Br.length&&Br.forEach(function(ln){var Ar=lt(ln),Xn=ht(Ar,zn,Gn,!0).map(function(Dr){var _t=Dr.option;return _t}),Cr=Xn[Xn.length-1];(!Cr||Cr[Gn.children]||tt(Cr,Gn))&&Pr(function(Dr){return Dr.filter(function(_t){return _t!==ln})})})},[zn,Br,Gn]);var Ir=he.useMemo(function(){return new Set(Ye(cr))},[cr]),lr=he.useMemo(function(){return new Set(Ye(ir))},[ir]),_n=pe(un,Hn),Sr=(0,ce.Z)(_n,2),kr=Sr[0],Ur=Sr[1],rn=function(Ar){Ur(Ar),wr(Ar)},Qt=function(Ar){if(Vt)return!1;var Xn=Ar.disabled,Cr=tt(Ar,Gn);return!Xn&&(Cr||Yn||un)},hr=function(Ar,Xn){var Cr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;nn(Ar),!un&&(Xn||Yn&&(xr==="hover"||Cr))&&Et(!1)},$n=he.useMemo(function(){return gn?An:zn},[gn,An,zn]),Pt=he.useMemo(function(){for(var ln=[{options:$n}],Ar=$n,Xn=Ue(Ar,Gn),Cr=function(){var Rr=kr[Dr],Kr=Ar.find(function(ha,ma){return(Xn[ma]?Te(Xn[ma]):ha[Gn.value])===Rr}),qr=Kr==null?void 0:Kr[Gn.children];if(!(qr!=null&&qr.length))return 1;Ar=qr,ln.push({options:qr})},Dr=0;Dr<kr.length&&!Cr();Dr+=1);return ln},[$n,kr,Gn]),on=function(Ar,Xn){Qt(Xn)&&hr(Ar,tt(Xn,Gn),!0)};Ee(Rt,$n,Gn,kr,rn,on,{direction:ar,searchValue:gn,toggleOpen:Et,open:Hn}),he.useEffect(function(){if(!gn)for(var ln=0;ln<kr.length;ln+=1){var Ar,Xn=kr.slice(0,ln+1),Cr=Te(Xn),Dr=(Ar=dr.current)===null||Ar===void 0?void 0:Ar.querySelector('li[data-path-key="'.concat(Cr.replace(/\\{0,2}"/g,'\\"'),'"]'));Dr&&$e(Dr)}},[kr,gn]);var sr=!((vt=Pt[0])!==null&&vt!==void 0&&(vt=vt.options)!==null&&vt!==void 0&&vt.length),Kt=[(jt={},(0,Ke.Z)(jt,Gn.value,"__EMPTY__"),(0,Ke.Z)(jt,$t,Ln),(0,Ke.Z)(jt,"disabled",!0),jt)],be=(0,ue.Z)((0,ue.Z)({},Ct),{},{multiple:!sr&&un,onSelect:hr,onActive:rn,onToggleOpen:Et,checkedSet:Ir,halfCheckedSet:lr,loadingKeys:Br,isSelectable:Qt}),Cn=sr?[{options:Kt}]:Pt,yr=Cn.map(function(ln,Ar){var Xn=kr.slice(0,Ar),Cr=kr[Ar];return he.createElement(cn,(0,b.Z)({key:Ar},be,{prefixCls:gr,options:ln.options,prevValuePath:Xn,activeValue:Cr}))});return he.createElement(Yt,{open:Hn},he.createElement("div",{className:pn()("".concat(gr,"-menus"),(At={},(0,Ke.Z)(At,"".concat(gr,"-menu-empty"),sr),(0,Ke.Z)(At,"".concat(gr,"-rtl"),qn),At)),ref:dr},yr))}),fe=De,Qe=he.forwardRef(function(Ct,Rt){var vt=(0,oe.lk)();return he.createElement(fe,(0,b.Z)({},Ct,vt,{ref:Rt}))}),Mt=Qe,an=E(70425);function Sn(){}function gt(Ct){var Rt,vt=Ct,jt=vt.prefixCls,At=jt===void 0?"rc-cascader":jt,Je=vt.style,un=vt.className,gn=vt.options,Et=vt.checkable,Ln=vt.defaultValue,ar=vt.value,Hn=vt.fieldNames,Vt=vt.changeOnSelect,dr=vt.onChange,qn=vt.showCheckedStrategy,xn=vt.loadData,zn=vt.expandTrigger,cr=vt.expandIcon,ir=cr===void 0?">":cr,Gn=vt.loadingIcon,Yn=vt.direction,nn=vt.notFoundContent,An=nn===void 0?"Not Found":nn,Nn=vt.disabled,In=!!Et,xr=(0,an.C8)(Ln,{value:ar,postState:et}),gr=(0,ce.Z)(xr,2),or=gr[0],Lr=gr[1],Br=he.useMemo(function(){return Fe(Hn)},[JSON.stringify(Hn)]),Pr=je(Br,gn),wr=(0,ce.Z)(Pr,3),Ir=wr[0],lr=wr[1],_n=wr[2],Sr=St(Ir,Br),kr=zt(In,or,lr,_n,Sr),Ur=(0,ce.Z)(kr,3),rn=Ur[0],Qt=Ur[1],hr=Ur[2],$n=(0,an.zX)(function(Cn){if(Lr(Cn),dr){var yr=et(Cn),ln=yr.map(function(Cr){return ht(Cr,Ir,Br).map(function(Dr){return Dr.option})}),Ar=In?yr:yr[0],Xn=In?ln:ln[0];dr(Ar,Xn)}}),Pt=ot(In,$n,rn,Qt,hr,lr,_n,qn),on=(0,an.zX)(function(Cn){Pt(Cn)}),sr=he.useMemo(function(){return{options:Ir,fieldNames:Br,values:rn,halfValues:Qt,changeOnSelect:Vt,onSelect:on,checkable:Et,searchOptions:[],dropdownPrefixCls:void 0,loadData:xn,expandTrigger:zn,expandIcon:ir,loadingIcon:Gn,dropdownMenuColumnStyle:void 0}},[Ir,Br,rn,Qt,Vt,on,Et,xn,zn,ir,Gn]),Kt="".concat(At,"-panel"),be=!Ir.length;return he.createElement(Ae.Provider,{value:sr},he.createElement("div",{className:pn()(Kt,(Rt={},(0,Ke.Z)(Rt,"".concat(Kt,"-rtl"),Yn==="rtl"),(0,Ke.Z)(Rt,"".concat(Kt,"-empty"),be),Rt),un),style:Je},be?An:he.createElement(fe,{prefixCls:At,searchValue:"",multiple:In,toggleOpen:Sn,open:!0,direction:Yn,disabled:Nn})))}function Ft(Ct){var Rt=Ct.onPopupVisibleChange,vt=Ct.popupVisible,jt=Ct.popupClassName,At=Ct.popupPlacement;warning(!Rt,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(vt===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(jt===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(At===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function Lt(Ct,Rt){if(Ct){var vt=function jt(At){for(var Je=0;Je<At.length;Je++){var un=At[Je];if(un[Rt==null?void 0:Rt.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(un[Rt==null?void 0:Rt.children])&&jt(un[Rt==null?void 0:Rt.children]))return!0}};vt(Ct)}}var Jt=null,fn=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","autoClearSearchValue","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","dropdownStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy","optionRender"],Zt=he.forwardRef(function(Ct,Rt){var vt=Ct.id,jt=Ct.prefixCls,At=jt===void 0?"rc-cascader":jt,Je=Ct.fieldNames,un=Ct.defaultValue,gn=Ct.value,Et=Ct.changeOnSelect,Ln=Ct.onChange,ar=Ct.displayRender,Hn=Ct.checkable,Vt=Ct.autoClearSearchValue,dr=Vt===void 0?!0:Vt,qn=Ct.searchValue,xn=Ct.onSearch,zn=Ct.showSearch,cr=Ct.expandTrigger,ir=Ct.options,Gn=Ct.dropdownPrefixCls,Yn=Ct.loadData,nn=Ct.popupVisible,An=Ct.open,Nn=Ct.popupClassName,In=Ct.dropdownClassName,xr=Ct.dropdownMenuColumnStyle,gr=Ct.dropdownStyle,or=Ct.popupPlacement,Lr=Ct.placement,Br=Ct.onDropdownVisibleChange,Pr=Ct.onPopupVisibleChange,wr=Ct.expandIcon,Ir=wr===void 0?">":wr,lr=Ct.loadingIcon,_n=Ct.children,Sr=Ct.dropdownMatchSelectWidth,kr=Sr===void 0?!1:Sr,Ur=Ct.showCheckedStrategy,rn=Ur===void 0?ke:Ur,Qt=Ct.optionRender,hr=(0,ge.Z)(Ct,fn),$n=(0,xe.ZP)(vt),Pt=!!Hn,on=(0,Se.Z)(un,{value:gn,postState:et}),sr=(0,ce.Z)(on,2),Kt=sr[0],be=sr[1],Cn=he.useMemo(function(){return Fe(Je)},[JSON.stringify(Je)]),yr=je(Cn,ir),ln=(0,ce.Z)(yr,3),Ar=ln[0],Xn=ln[1],Cr=ln[2],Dr=(0,Se.Z)("",{value:qn,postState:function(vr){return vr||""}}),_t=(0,ce.Z)(Dr,2),Rr=_t[0],Kr=_t[1],qr=function(vr,mr){Kr(vr),mr.source!=="blur"&&xn&&xn(vr)},ha=wt(zn),ma=(0,ce.Z)(ha,2),la=ma[0],$r=ma[1],wa=Le(Rr,Ar,Cn,Gn||At,$r,Et||Pt),Ia=St(Ar,Cn),xa=zt(Pt,Kt,Xn,Cr,Ia),ga=(0,ce.Z)(xa,3),pa=ga[0],Gr=ga[1],ra=ga[2],ya=he.useMemo(function(){var er=Ye(pa),vr=rt(er,Xn,rn);return[].concat((0,le.Z)(ra),(0,le.Z)(Cr(vr)))},[pa,Xn,Cr,ra,rn]),_r=kt(ya,Ar,Cn,Pt,ar),Zr=(0,Oe.Z)(function(er){if(be(er),Ln){var vr=et(er),mr=vr.map(function(Ge){return ht(Ge,Ar,Cn).map(function(Tt){return Tt.option})}),pr=Pt?vr:vr[0],Rn=Pt?mr:mr[0];Ln(pr,Rn)}}),aa=ot(Pt,Zr,pa,Gr,ra,Xn,Cr,rn),ua=(0,Oe.Z)(function(er){(!Pt||dr)&&Kr(""),aa(er)}),Pa=function(vr,mr){if(mr.type==="clear"){Zr([]);return}var pr=mr.values[0],Rn=pr.valueCells;ua(Rn)},Ra=An!==void 0?An:nn,Xa=In||Nn,qt=Lr||or,Bn=function(vr){Br==null||Br(vr),Pr==null||Pr(vr)},Dn=he.useMemo(function(){return{options:Ar,fieldNames:Cn,values:pa,halfValues:Gr,changeOnSelect:Et,onSelect:ua,checkable:Hn,searchOptions:wa,dropdownPrefixCls:Gn,loadData:Yn,expandTrigger:cr,expandIcon:Ir,loadingIcon:lr,dropdownMenuColumnStyle:xr,optionRender:Qt}},[Ar,Cn,pa,Gr,Et,ua,Hn,wa,Gn,Yn,cr,Ir,lr,xr,Qt]),jn=!(Rr?wa:Ar).length,Qn=Rr&&$r.matchInputWidth||jn?{}:{minWidth:"auto"};return he.createElement(Ae.Provider,{value:Dn},he.createElement(oe.Ac,(0,b.Z)({},hr,{ref:Rt,id:$n,prefixCls:At,autoClearSearchValue:dr,dropdownMatchSelectWidth:kr,dropdownStyle:(0,ue.Z)((0,ue.Z)({},Qn),gr),displayValues:_r,onDisplayValuesChange:Pa,mode:Pt?"multiple":void 0,searchValue:Rr,onSearch:qr,showSearch:la,OptionList:Mt,emptyOptions:jn,open:Ra,dropdownClassName:Xa,placement:qt,onDropdownVisibleChange:Bn,getRawInputElement:function(){return _n}})))});Zt.SHOW_PARENT=ke,Zt.SHOW_CHILD=Re,Zt.Panel=gt;var mt=Zt,tn=mt},98535:function(me,ne,E){"use strict";E.r(ne),E.d(ne,{Panel:function(){return et},default:function(){return Xe}});var b=E(32855),ue=E(3300),le=E(11913),ce=E(34666),ge=E(92310),oe=E.n(ge),xe=E(18929),Oe=E(48736),Se=E(59301),he=E(43079),Ve=E(11592),Ae=E(27247),ct=E(74430),Ke=E(77900),qe=E(10228),Me=Se.forwardRef(function(rt,ht){var kt=rt.prefixCls,St=rt.forceRender,Gt=rt.className,nt=rt.style,je=rt.children,Be=rt.isActive,wt=rt.role,Ot=rt.classNames,ot=rt.styles,zt=Se.useState(Be||St),Ut=(0,le.Z)(zt,2),pn=Ut[0],bt=Ut[1];return Se.useEffect(function(){(St||Be)&&bt(!0)},[St,Be]),pn?Se.createElement("div",{ref:ht,className:oe()("".concat(kt,"-content"),(0,ct.Z)((0,ct.Z)({},"".concat(kt,"-content-active"),Be),"".concat(kt,"-content-inactive"),!Be),Gt),style:nt,role:wt},Se.createElement("div",{className:oe()("".concat(kt,"-content-box"),Ot==null?void 0:Ot.body),style:ot==null?void 0:ot.body},je)):null});Me.displayName="PanelContent";var ze=Me,Ze=["showArrow","headerClass","isActive","onItemClick","forceRender","className","classNames","styles","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],Le=Se.forwardRef(function(rt,ht){var kt=rt.showArrow,St=kt===void 0?!0:kt,Gt=rt.headerClass,nt=rt.isActive,je=rt.onItemClick,Be=rt.forceRender,wt=rt.className,Ot=rt.classNames,ot=Ot===void 0?{}:Ot,zt=rt.styles,Ut=zt===void 0?{}:zt,pn=rt.prefixCls,bt=rt.collapsible,Yt=rt.accordion,Bt=rt.panelKey,$t=rt.extra,cn=rt.header,Ie=rt.expandIcon,pe=rt.openMotion,de=rt.destroyInactivePanel,Ee=rt.children,De=(0,he.Z)(rt,Ze),fe=bt==="disabled",Qe=$t!=null&&typeof $t!="boolean",Mt=(0,ct.Z)((0,ct.Z)((0,ct.Z)({onClick:function(){je==null||je(Bt)},onKeyDown:function(fn){(fn.key==="Enter"||fn.keyCode===qe.Z.ENTER||fn.which===qe.Z.ENTER)&&(je==null||je(Bt))},role:Yt?"tab":"button"},"aria-expanded",nt),"aria-disabled",fe),"tabIndex",fe?-1:0),an=typeof Ie=="function"?Ie(rt):Se.createElement("i",{className:"arrow"}),Sn=an&&Se.createElement("div",(0,b.Z)({className:"".concat(pn,"-expand-icon")},["header","icon"].includes(bt)?Mt:{}),an),gt=oe()("".concat(pn,"-item"),(0,ct.Z)((0,ct.Z)({},"".concat(pn,"-item-active"),nt),"".concat(pn,"-item-disabled"),fe),wt),Ft=oe()(Gt,"".concat(pn,"-header"),(0,ct.Z)({},"".concat(pn,"-collapsible-").concat(bt),!!bt),ot.header),Lt=(0,Ae.Z)({className:Ft,style:Ut.header},["header","icon"].includes(bt)?{}:Mt);return Se.createElement("div",(0,b.Z)({},De,{ref:ht,className:gt}),Se.createElement("div",Lt,St&&Sn,Se.createElement("span",(0,b.Z)({className:"".concat(pn,"-header-text")},bt==="header"?Mt:{}),cn),Qe&&Se.createElement("div",{className:"".concat(pn,"-extra")},$t)),Se.createElement(Ke.default,(0,b.Z)({visible:nt,leavedClassName:"".concat(pn,"-content-hidden")},pe,{forceRender:Be,removeOnLeave:de}),function(Jt,fn){var Zt=Jt.className,mt=Jt.style;return Se.createElement(ze,{ref:fn,prefixCls:pn,className:Zt,classNames:ot,style:mt,styles:Ut,isActive:nt,forceRender:Be,role:Yt?"tabpanel":void 0},Ee)}))}),Pe=Le,ke=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],Re=function(ht,kt){var St=kt.prefixCls,Gt=kt.accordion,nt=kt.collapsible,je=kt.destroyInactivePanel,Be=kt.onItemClick,wt=kt.activeKey,Ot=kt.openMotion,ot=kt.expandIcon;return ht.map(function(zt,Ut){var pn=zt.children,bt=zt.label,Yt=zt.key,Bt=zt.collapsible,$t=zt.onItemClick,cn=zt.destroyInactivePanel,Ie=(0,he.Z)(zt,ke),pe=String(Yt!=null?Yt:Ut),de=Bt!=null?Bt:nt,Ee=cn!=null?cn:je,De=function(Mt){de!=="disabled"&&(Be(Mt),$t==null||$t(Mt))},fe=!1;return Gt?fe=wt[0]===pe:fe=wt.indexOf(pe)>-1,Se.createElement(Pe,(0,b.Z)({},Ie,{prefixCls:St,key:pe,panelKey:pe,isActive:fe,accordion:Gt,openMotion:Ot,expandIcon:ot,header:bt,collapsible:de,onItemClick:De,destroyInactivePanel:Ee}),pn)})},Te=function(ht,kt,St){if(!ht)return null;var Gt=St.prefixCls,nt=St.accordion,je=St.collapsible,Be=St.destroyInactivePanel,wt=St.onItemClick,Ot=St.activeKey,ot=St.openMotion,zt=St.expandIcon,Ut=ht.key||String(kt),pn=ht.props,bt=pn.header,Yt=pn.headerClass,Bt=pn.destroyInactivePanel,$t=pn.collapsible,cn=pn.onItemClick,Ie=!1;nt?Ie=Ot[0]===Ut:Ie=Ot.indexOf(Ut)>-1;var pe=$t!=null?$t:je,de=function(fe){pe!=="disabled"&&(wt(fe),cn==null||cn(fe))},Ee={key:Ut,panelKey:Ut,header:bt,headerClass:Yt,isActive:Ie,prefixCls:Gt,destroyInactivePanel:Bt!=null?Bt:Be,openMotion:ot,accordion:nt,children:ht.props.children,onItemClick:de,expandIcon:zt,collapsible:pe};return typeof ht.type=="string"?ht:(Object.keys(Ee).forEach(function(De){typeof Ee[De]=="undefined"&&delete Ee[De]}),Se.cloneElement(ht,Ee))};function Ye(rt,ht,kt){return Array.isArray(rt)?Re(rt,kt):(0,Ve.Z)(ht).map(function(St,Gt){return Te(St,Gt,kt)})}var lt=Ye,Fe=E(26112);function tt(rt){var ht=rt;if(!Array.isArray(ht)){var kt=(0,ce.Z)(ht);ht=kt==="number"||kt==="string"?[ht]:[]}return ht.map(function(St){return String(St)})}var $e=Se.forwardRef(function(rt,ht){var kt=rt.prefixCls,St=kt===void 0?"rc-collapse":kt,Gt=rt.destroyInactivePanel,nt=Gt===void 0?!1:Gt,je=rt.style,Be=rt.accordion,wt=rt.className,Ot=rt.children,ot=rt.collapsible,zt=rt.openMotion,Ut=rt.expandIcon,pn=rt.activeKey,bt=rt.defaultActiveKey,Yt=rt.onChange,Bt=rt.items,$t=oe()(St,wt),cn=(0,xe.Z)([],{value:pn,onChange:function(Qe){return Yt==null?void 0:Yt(Qe)},defaultValue:bt,postState:tt}),Ie=(0,le.Z)(cn,2),pe=Ie[0],de=Ie[1],Ee=function(Qe){return de(function(){if(Be)return pe[0]===Qe?[]:[Qe];var Mt=pe.indexOf(Qe),an=Mt>-1;return an?pe.filter(function(Sn){return Sn!==Qe}):[].concat((0,ue.Z)(pe),[Qe])})};(0,Oe.ZP)(!Ot,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var De=lt(Bt,Ot,{prefixCls:St,accordion:Be,openMotion:zt,expandIcon:Ut,collapsible:ot,destroyInactivePanel:nt,onItemClick:Ee,activeKey:pe});return Se.createElement("div",(0,b.Z)({ref:ht,className:$t,style:je,role:Be?"tablist":void 0},(0,Fe.Z)(rt,{aria:!0,data:!0})),De)}),Ue=Object.assign($e,{Panel:Pe}),Xe=Ue,et=Ue.Panel},66042:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return Xe}});var b=E(27247),ue=E(11913),le=E(43403),ce=E(34280),ge=E(59301),oe=ge.createContext(null),xe=ge.createContext({}),Oe=oe,Se=E(74430),he=E(32855),Ve=E(92310),Ae=E.n(Ve),ct=E(77900),Ke=E(10228),qe=E(26112),Me=E(43079),ze=E(8654),Ze=["prefixCls","className","containerRef"],Le=function(rt){var ht=rt.prefixCls,kt=rt.className,St=rt.containerRef,Gt=(0,Me.Z)(rt,Ze),nt=ge.useContext(xe),je=nt.panel,Be=(0,ze.x1)(je,St);return ge.createElement("div",(0,he.Z)({className:Ae()("".concat(ht,"-content"),kt),role:"dialog",ref:Be},(0,qe.Z)(rt,{aria:!0}),{"aria-modal":"true"},Gt))},Pe=Le,ke=E(48736);function Re(et){return typeof et=="string"&&String(Number(et))===et?((0,ke.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(et)):et}function Te(et){warning(!("wrapperClassName"in et),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!et.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Ye={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function lt(et,rt){var ht,kt,St,Gt=et.prefixCls,nt=et.open,je=et.placement,Be=et.inline,wt=et.push,Ot=et.forceRender,ot=et.autoFocus,zt=et.keyboard,Ut=et.classNames,pn=et.rootClassName,bt=et.rootStyle,Yt=et.zIndex,Bt=et.className,$t=et.id,cn=et.style,Ie=et.motion,pe=et.width,de=et.height,Ee=et.children,De=et.mask,fe=et.maskClosable,Qe=et.maskMotion,Mt=et.maskClassName,an=et.maskStyle,Sn=et.afterOpenChange,gt=et.onClose,Ft=et.onMouseEnter,Lt=et.onMouseOver,Jt=et.onMouseLeave,fn=et.onClick,Zt=et.onKeyDown,mt=et.onKeyUp,tn=et.styles,Ct=et.drawerRender,Rt=ge.useRef(),vt=ge.useRef(),jt=ge.useRef();ge.useImperativeHandle(rt,function(){return Rt.current});var At=function(Yn){var nn=Yn.keyCode,An=Yn.shiftKey;switch(nn){case Ke.Z.TAB:{if(nn===Ke.Z.TAB){if(!An&&document.activeElement===jt.current){var Nn;(Nn=vt.current)===null||Nn===void 0||Nn.focus({preventScroll:!0})}else if(An&&document.activeElement===vt.current){var In;(In=jt.current)===null||In===void 0||In.focus({preventScroll:!0})}}break}case Ke.Z.ESC:{gt&&zt&&(Yn.stopPropagation(),gt(Yn));break}}};ge.useEffect(function(){if(nt&&ot){var Gn;(Gn=Rt.current)===null||Gn===void 0||Gn.focus({preventScroll:!0})}},[nt]);var Je=ge.useState(!1),un=(0,ue.Z)(Je,2),gn=un[0],Et=un[1],Ln=ge.useContext(Oe),ar;typeof wt=="boolean"?ar=wt?{}:{distance:0}:ar=wt||{};var Hn=(ht=(kt=(St=ar)===null||St===void 0?void 0:St.distance)!==null&&kt!==void 0?kt:Ln==null?void 0:Ln.pushDistance)!==null&&ht!==void 0?ht:180,Vt=ge.useMemo(function(){return{pushDistance:Hn,push:function(){Et(!0)},pull:function(){Et(!1)}}},[Hn]);ge.useEffect(function(){if(nt){var Gn;Ln==null||(Gn=Ln.push)===null||Gn===void 0||Gn.call(Ln)}else{var Yn;Ln==null||(Yn=Ln.pull)===null||Yn===void 0||Yn.call(Ln)}},[nt]),ge.useEffect(function(){return function(){var Gn;Ln==null||(Gn=Ln.pull)===null||Gn===void 0||Gn.call(Ln)}},[]);var dr=De&&ge.createElement(ct.default,(0,he.Z)({key:"mask"},Qe,{visible:nt}),function(Gn,Yn){var nn=Gn.className,An=Gn.style;return ge.createElement("div",{className:Ae()("".concat(Gt,"-mask"),nn,Ut==null?void 0:Ut.mask,Mt),style:(0,b.Z)((0,b.Z)((0,b.Z)({},An),an),tn==null?void 0:tn.mask),onClick:fe&&nt?gt:void 0,ref:Yn})}),qn=typeof Ie=="function"?Ie(je):Ie,xn={};if(gn&&Hn)switch(je){case"top":xn.transform="translateY(".concat(Hn,"px)");break;case"bottom":xn.transform="translateY(".concat(-Hn,"px)");break;case"left":xn.transform="translateX(".concat(Hn,"px)");break;default:xn.transform="translateX(".concat(-Hn,"px)");break}je==="left"||je==="right"?xn.width=Re(pe):xn.height=Re(de);var zn={onMouseEnter:Ft,onMouseOver:Lt,onMouseLeave:Jt,onClick:fn,onKeyDown:Zt,onKeyUp:mt},cr=ge.createElement(ct.default,(0,he.Z)({key:"panel"},qn,{visible:nt,forceRender:Ot,onVisibleChanged:function(Yn){Sn==null||Sn(Yn)},removeOnLeave:!1,leavedClassName:"".concat(Gt,"-content-wrapper-hidden")}),function(Gn,Yn){var nn=Gn.className,An=Gn.style,Nn=ge.createElement(Pe,(0,he.Z)({id:$t,containerRef:Yn,prefixCls:Gt,className:Ae()(Bt,Ut==null?void 0:Ut.content),style:(0,b.Z)((0,b.Z)({},cn),tn==null?void 0:tn.content)},(0,qe.Z)(et,{aria:!0}),zn),Ee);return ge.createElement("div",(0,he.Z)({className:Ae()("".concat(Gt,"-content-wrapper"),Ut==null?void 0:Ut.wrapper,nn),style:(0,b.Z)((0,b.Z)((0,b.Z)({},xn),An),tn==null?void 0:tn.wrapper)},(0,qe.Z)(et,{data:!0})),Ct?Ct(Nn):Nn)}),ir=(0,b.Z)({},bt);return Yt&&(ir.zIndex=Yt),ge.createElement(Oe.Provider,{value:Vt},ge.createElement("div",{className:Ae()(Gt,"".concat(Gt,"-").concat(je),pn,(0,Se.Z)((0,Se.Z)({},"".concat(Gt,"-open"),nt),"".concat(Gt,"-inline"),Be)),style:ir,tabIndex:-1,ref:Rt,onKeyDown:At},dr,ge.createElement("div",{tabIndex:0,ref:vt,style:Ye,"aria-hidden":"true","data-sentinel":"start"}),cr,ge.createElement("div",{tabIndex:0,ref:jt,style:Ye,"aria-hidden":"true","data-sentinel":"end"})))}var Fe=ge.forwardRef(lt),tt=Fe,$e=function(rt){var ht=rt.open,kt=ht===void 0?!1:ht,St=rt.prefixCls,Gt=St===void 0?"rc-drawer":St,nt=rt.placement,je=nt===void 0?"right":nt,Be=rt.autoFocus,wt=Be===void 0?!0:Be,Ot=rt.keyboard,ot=Ot===void 0?!0:Ot,zt=rt.width,Ut=zt===void 0?378:zt,pn=rt.mask,bt=pn===void 0?!0:pn,Yt=rt.maskClosable,Bt=Yt===void 0?!0:Yt,$t=rt.getContainer,cn=rt.forceRender,Ie=rt.afterOpenChange,pe=rt.destroyOnClose,de=rt.onMouseEnter,Ee=rt.onMouseOver,De=rt.onMouseLeave,fe=rt.onClick,Qe=rt.onKeyDown,Mt=rt.onKeyUp,an=rt.panelRef,Sn=ge.useState(!1),gt=(0,ue.Z)(Sn,2),Ft=gt[0],Lt=gt[1],Jt=ge.useState(!1),fn=(0,ue.Z)(Jt,2),Zt=fn[0],mt=fn[1];(0,ce.Z)(function(){mt(!0)},[]);var tn=Zt?kt:!1,Ct=ge.useRef(),Rt=ge.useRef();(0,ce.Z)(function(){tn&&(Rt.current=document.activeElement)},[tn]);var vt=function(gn){var Et;if(Lt(gn),Ie==null||Ie(gn),!gn&&Rt.current&&!((Et=Ct.current)!==null&&Et!==void 0&&Et.contains(Rt.current))){var Ln;(Ln=Rt.current)===null||Ln===void 0||Ln.focus({preventScroll:!0})}},jt=ge.useMemo(function(){return{panel:an}},[an]);if(!cn&&!Ft&&!tn&&pe)return null;var At={onMouseEnter:de,onMouseOver:Ee,onMouseLeave:De,onClick:fe,onKeyDown:Qe,onKeyUp:Mt},Je=(0,b.Z)((0,b.Z)({},rt),{},{open:tn,prefixCls:Gt,placement:je,autoFocus:wt,keyboard:ot,width:Ut,mask:bt,maskClosable:Bt,inline:$t===!1,afterOpenChange:vt,ref:Ct},At);return ge.createElement(xe.Provider,{value:jt},ge.createElement(le.Z,{open:tn||cn||Ft,autoDestroy:!1,getContainer:$t,autoLock:bt&&(tn||Ft)},ge.createElement(tt,Je)))},Ue=$e,Xe=Ue},91574:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return fn}});var b=E(32855),ue=E(27247),le=E(74430),ce=E(11913),ge=E(34666),oe=E(43079),xe=E(92310),Oe=E.n(xe),Se=/margin|padding|width|height|max|min|offset/,he={left:!0,top:!0},Ve={cssFloat:1,styleFloat:1,float:1};function Ae(Zt){return Zt.nodeType===1?Zt.ownerDocument.defaultView.getComputedStyle(Zt,null):{}}function ct(Zt,mt,tn){if(mt=mt.toLowerCase(),tn==="auto"){if(mt==="height")return Zt.offsetHeight;if(mt==="width")return Zt.offsetWidth}return mt in he||(he[mt]=Se.test(mt)),he[mt]?parseFloat(tn)||0:tn}function Ke(Zt,mt){var tn=arguments.length,Ct=Ae(Zt);return mt=Ve[mt]?"cssFloat"in Zt.style?"cssFloat":"styleFloat":mt,tn===1?Ct:ct(Zt,mt,Ct[mt]||Zt.style[mt])}function qe(Zt,mt,tn){var Ct=arguments.length;if(mt=Ve[mt]?"cssFloat"in Zt.style?"cssFloat":"styleFloat":mt,Ct===3)return typeof tn=="number"&&Se.test(mt)&&(tn="".concat(tn,"px")),Zt.style[mt]=tn,tn;for(var Rt in mt)mt.hasOwnProperty(Rt)&&qe(Zt,Rt,mt[Rt]);return Ae(Zt)}function Me(Zt){return Zt===document.body?document.documentElement.clientWidth:Zt.offsetWidth}function ze(Zt){return Zt===document.body?window.innerHeight||document.documentElement.clientHeight:Zt.offsetHeight}function Ze(){var Zt=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),mt=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:Zt,height:mt}}function Le(){var Zt=document.documentElement.clientWidth,mt=window.innerHeight||document.documentElement.clientHeight;return{width:Zt,height:mt}}function Pe(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function ke(Zt){var mt=Zt.getBoundingClientRect(),tn=document.documentElement;return{left:mt.left+(window.pageXOffset||tn.scrollLeft)-(tn.clientLeft||document.body.clientLeft||0),top:mt.top+(window.pageYOffset||tn.scrollTop)-(tn.clientTop||document.body.clientTop||0)}}var Re=E(18929),Te=E(59301),Ye=E(55311),lt=E(8224),Fe=E(10228),tt=E(43403),$e=E(77900),Ue=Te.createContext(null),Xe=function(mt){var tn=mt.visible,Ct=mt.maskTransitionName,Rt=mt.getContainer,vt=mt.prefixCls,jt=mt.rootClassName,At=mt.icons,Je=mt.countRender,un=mt.showSwitch,gn=mt.showProgress,Et=mt.current,Ln=mt.transform,ar=mt.count,Hn=mt.scale,Vt=mt.minScale,dr=mt.maxScale,qn=mt.closeIcon,xn=mt.onActive,zn=mt.onClose,cr=mt.onZoomIn,ir=mt.onZoomOut,Gn=mt.onRotateRight,Yn=mt.onRotateLeft,nn=mt.onFlipX,An=mt.onFlipY,Nn=mt.onReset,In=mt.toolbarRender,xr=mt.zIndex,gr=mt.image,or=(0,Te.useContext)(Ue),Lr=At.rotateLeft,Br=At.rotateRight,Pr=At.zoomIn,wr=At.zoomOut,Ir=At.close,lr=At.left,_n=At.right,Sr=At.flipX,kr=At.flipY,Ur="".concat(vt,"-operations-operation");Te.useEffect(function(){var ln=function(Xn){Xn.keyCode===Fe.Z.ESC&&zn()};return tn&&window.addEventListener("keydown",ln),function(){window.removeEventListener("keydown",ln)}},[tn]);var rn=function(Ar,Xn){Ar.preventDefault(),Ar.stopPropagation(),xn(Xn)},Qt=Te.useCallback(function(ln){var Ar=ln.type,Xn=ln.disabled,Cr=ln.onClick,Dr=ln.icon;return Te.createElement("div",{key:Ar,className:Oe()(Ur,"".concat(vt,"-operations-operation-").concat(Ar),(0,le.Z)({},"".concat(vt,"-operations-operation-disabled"),!!Xn)),onClick:Cr},Dr)},[Ur,vt]),hr=un?Qt({icon:lr,onClick:function(Ar){return rn(Ar,-1)},type:"prev",disabled:Et===0}):void 0,$n=un?Qt({icon:_n,onClick:function(Ar){return rn(Ar,1)},type:"next",disabled:Et===ar-1}):void 0,Pt=Qt({icon:kr,onClick:An,type:"flipY"}),on=Qt({icon:Sr,onClick:nn,type:"flipX"}),sr=Qt({icon:Lr,onClick:Yn,type:"rotateLeft"}),Kt=Qt({icon:Br,onClick:Gn,type:"rotateRight"}),be=Qt({icon:wr,onClick:ir,type:"zoomOut",disabled:Hn<=Vt}),Cn=Qt({icon:Pr,onClick:cr,type:"zoomIn",disabled:Hn===dr}),yr=Te.createElement("div",{className:"".concat(vt,"-operations")},Pt,on,sr,Kt,be,Cn);return Te.createElement($e.default,{visible:tn,motionName:Ct},function(ln){var Ar=ln.className,Xn=ln.style;return Te.createElement(tt.Z,{open:!0,getContainer:Rt!=null?Rt:document.body},Te.createElement("div",{className:Oe()("".concat(vt,"-operations-wrapper"),Ar,jt),style:(0,ue.Z)((0,ue.Z)({},Xn),{},{zIndex:xr})},qn===null?null:Te.createElement("button",{className:"".concat(vt,"-close"),onClick:zn},qn||Ir),un&&Te.createElement(Te.Fragment,null,Te.createElement("div",{className:Oe()("".concat(vt,"-switch-left"),(0,le.Z)({},"".concat(vt,"-switch-left-disabled"),Et===0)),onClick:function(Dr){return rn(Dr,-1)}},lr),Te.createElement("div",{className:Oe()("".concat(vt,"-switch-right"),(0,le.Z)({},"".concat(vt,"-switch-right-disabled"),Et===ar-1)),onClick:function(Dr){return rn(Dr,1)}},_n)),Te.createElement("div",{className:"".concat(vt,"-footer")},gn&&Te.createElement("div",{className:"".concat(vt,"-progress")},Je?Je(Et+1,ar):"".concat(Et+1," / ").concat(ar)),In?In(yr,(0,ue.Z)((0,ue.Z)({icons:{prevIcon:hr,nextIcon:$n,flipYIcon:Pt,flipXIcon:on,rotateLeftIcon:sr,rotateRightIcon:Kt,zoomOutIcon:be,zoomInIcon:Cn},actions:{onActive:xn,onFlipY:An,onFlipX:nn,onRotateLeft:Yn,onRotateRight:Gn,onZoomOut:ir,onZoomIn:cr,onReset:Nn,onClose:zn},transform:Ln},or?{current:Et,total:ar}:{}),{},{image:gr})):yr)))})},et=Xe,rt=E(13697),ht=E(16089),kt={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function St(Zt,mt,tn,Ct){var Rt=(0,Te.useRef)(null),vt=(0,Te.useRef)([]),jt=(0,Te.useState)(kt),At=(0,ce.Z)(jt,2),Je=At[0],un=At[1],gn=function(Hn){un(kt),(0,rt.Z)(kt,Je)||Ct==null||Ct({transform:kt,action:Hn})},Et=function(Hn,Vt){Rt.current===null&&(vt.current=[],Rt.current=(0,ht.Z)(function(){un(function(dr){var qn=dr;return vt.current.forEach(function(xn){qn=(0,ue.Z)((0,ue.Z)({},qn),xn)}),Rt.current=null,Ct==null||Ct({transform:qn,action:Vt}),qn})})),vt.current.push((0,ue.Z)((0,ue.Z)({},Je),Hn))},Ln=function(Hn,Vt,dr,qn,xn){var zn=Zt.current,cr=zn.width,ir=zn.height,Gn=zn.offsetWidth,Yn=zn.offsetHeight,nn=zn.offsetLeft,An=zn.offsetTop,Nn=Hn,In=Je.scale*Hn;In>tn?(In=tn,Nn=tn/Je.scale):In<mt&&(In=xn?In:mt,Nn=In/Je.scale);var xr=dr!=null?dr:innerWidth/2,gr=qn!=null?qn:innerHeight/2,or=Nn-1,Lr=or*cr*.5,Br=or*ir*.5,Pr=or*(xr-Je.x-nn),wr=or*(gr-Je.y-An),Ir=Je.x-(Pr-Lr),lr=Je.y-(wr-Br);if(Hn<1&&In===1){var _n=Gn*In,Sr=Yn*In,kr=Le(),Ur=kr.width,rn=kr.height;_n<=Ur&&Sr<=rn&&(Ir=0,lr=0)}Et({x:Ir,y:lr,scale:In},Vt)};return{transform:Je,resetTransform:gn,updateTransform:Et,dispatchZoomChange:Ln}}var Gt=E(48736);function nt(Zt,mt,tn,Ct){var Rt=mt+tn,vt=(tn-Ct)/2;if(tn>Ct){if(mt>0)return(0,le.Z)({},Zt,vt);if(mt<0&&Rt<Ct)return(0,le.Z)({},Zt,-vt)}else if(mt<0||Rt>Ct)return(0,le.Z)({},Zt,mt<0?vt:-vt);return{}}function je(Zt,mt,tn,Ct){var Rt=Le(),vt=Rt.width,jt=Rt.height,At=null;return Zt<=vt&&mt<=jt?At={x:0,y:0}:(Zt>vt||mt>jt)&&(At=(0,ue.Z)((0,ue.Z)({},nt("x",tn,Zt,vt)),nt("y",Ct,mt,jt))),At}var Be=1,wt=1;function Ot(Zt,mt,tn,Ct,Rt,vt,jt){var At=Rt.rotate,Je=Rt.scale,un=Rt.x,gn=Rt.y,Et=(0,Te.useState)(!1),Ln=(0,ce.Z)(Et,2),ar=Ln[0],Hn=Ln[1],Vt=(0,Te.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),dr=function(ir){!mt||ir.button!==0||(ir.preventDefault(),ir.stopPropagation(),Vt.current={diffX:ir.pageX-un,diffY:ir.pageY-gn,transformX:un,transformY:gn},Hn(!0))},qn=function(ir){tn&&ar&&vt({x:ir.pageX-Vt.current.diffX,y:ir.pageY-Vt.current.diffY},"move")},xn=function(){if(tn&&ar){Hn(!1);var ir=Vt.current,Gn=ir.transformX,Yn=ir.transformY,nn=un!==Gn&&gn!==Yn;if(!nn)return;var An=Zt.current.offsetWidth*Je,Nn=Zt.current.offsetHeight*Je,In=Zt.current.getBoundingClientRect(),xr=In.left,gr=In.top,or=At%180!==0,Lr=je(or?Nn:An,or?An:Nn,xr,gr);Lr&&vt((0,ue.Z)({},Lr),"dragRebound")}},zn=function(ir){if(!(!tn||ir.deltaY==0)){var Gn=Math.abs(ir.deltaY/100),Yn=Math.min(Gn,wt),nn=Be+Yn*Ct;ir.deltaY>0&&(nn=Be/nn),jt(nn,"wheel",ir.clientX,ir.clientY)}};return(0,Te.useEffect)(function(){var cr,ir,Gn,Yn;if(mt){Gn=(0,lt.Z)(window,"mouseup",xn,!1),Yn=(0,lt.Z)(window,"mousemove",qn,!1);try{window.top!==window.self&&(cr=(0,lt.Z)(window.top,"mouseup",xn,!1),ir=(0,lt.Z)(window.top,"mousemove",qn,!1))}catch(nn){(0,Gt.Kp)(!1,"[rc-image] ".concat(nn))}}return function(){var nn,An,Nn,In;(nn=Gn)===null||nn===void 0||nn.remove(),(An=Yn)===null||An===void 0||An.remove(),(Nn=cr)===null||Nn===void 0||Nn.remove(),(In=ir)===null||In===void 0||In.remove()}},[tn,ar,un,gn,At,mt]),{isMoving:ar,onMouseDown:dr,onMouseMove:qn,onMouseUp:xn,onWheel:zn}}function ot(Zt){return new Promise(function(mt){if(!Zt){mt(!1);return}var tn=document.createElement("img");tn.onerror=function(){return mt(!1)},tn.onload=function(){return mt(!0)},tn.src=Zt})}function zt(Zt){var mt=Zt.src,tn=Zt.isCustomPlaceholder,Ct=Zt.fallback,Rt=(0,Te.useState)(tn?"loading":"normal"),vt=(0,ce.Z)(Rt,2),jt=vt[0],At=vt[1],Je=(0,Te.useRef)(!1),un=jt==="error";(0,Te.useEffect)(function(){var ar=!0;return ot(mt).then(function(Hn){!Hn&&ar&&At("error")}),function(){ar=!1}},[mt]),(0,Te.useEffect)(function(){tn&&!Je.current?At("loading"):un&&At("normal")},[mt]);var gn=function(){At("normal")},Et=function(Hn){Je.current=!1,jt==="loading"&&Hn!==null&&Hn!==void 0&&Hn.complete&&(Hn.naturalWidth||Hn.naturalHeight)&&(Je.current=!0,gn())},Ln=un&&Ct?{src:Ct}:{onLoad:gn,src:mt};return[Et,Ln,jt]}function Ut(Zt,mt){var tn=Zt.x-mt.x,Ct=Zt.y-mt.y;return Math.hypot(tn,Ct)}function pn(Zt,mt,tn,Ct){var Rt=Ut(Zt,tn),vt=Ut(mt,Ct);if(Rt===0&&vt===0)return[Zt.x,Zt.y];var jt=Rt/(Rt+vt),At=Zt.x+jt*(mt.x-Zt.x),Je=Zt.y+jt*(mt.y-Zt.y);return[At,Je]}function bt(Zt,mt,tn,Ct,Rt,vt,jt){var At=Rt.rotate,Je=Rt.scale,un=Rt.x,gn=Rt.y,Et=(0,Te.useState)(!1),Ln=(0,ce.Z)(Et,2),ar=Ln[0],Hn=Ln[1],Vt=(0,Te.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),dr=function(ir){Vt.current=(0,ue.Z)((0,ue.Z)({},Vt.current),ir)},qn=function(ir){if(mt){ir.stopPropagation(),Hn(!0);var Gn=ir.touches,Yn=Gn===void 0?[]:Gn;Yn.length>1?dr({point1:{x:Yn[0].clientX,y:Yn[0].clientY},point2:{x:Yn[1].clientX,y:Yn[1].clientY},eventType:"touchZoom"}):dr({point1:{x:Yn[0].clientX-un,y:Yn[0].clientY-gn},eventType:"move"})}},xn=function(ir){var Gn=ir.touches,Yn=Gn===void 0?[]:Gn,nn=Vt.current,An=nn.point1,Nn=nn.point2,In=nn.eventType;if(Yn.length>1&&In==="touchZoom"){var xr={x:Yn[0].clientX,y:Yn[0].clientY},gr={x:Yn[1].clientX,y:Yn[1].clientY},or=pn(An,Nn,xr,gr),Lr=(0,ce.Z)(or,2),Br=Lr[0],Pr=Lr[1],wr=Ut(xr,gr)/Ut(An,Nn);jt(wr,"touchZoom",Br,Pr,!0),dr({point1:xr,point2:gr,eventType:"touchZoom"})}else In==="move"&&(vt({x:Yn[0].clientX-An.x,y:Yn[0].clientY-An.y},"move"),dr({eventType:"move"}))},zn=function(){if(tn){if(ar&&Hn(!1),dr({eventType:"none"}),Ct>Je)return vt({x:0,y:0,scale:Ct},"touchZoom");var ir=Zt.current.offsetWidth*Je,Gn=Zt.current.offsetHeight*Je,Yn=Zt.current.getBoundingClientRect(),nn=Yn.left,An=Yn.top,Nn=At%180!==0,In=je(Nn?Gn:ir,Nn?ir:Gn,nn,An);In&&vt((0,ue.Z)({},In),"dragRebound")}};return(0,Te.useEffect)(function(){var cr;return tn&&mt&&(cr=(0,lt.Z)(window,"touchmove",function(ir){return ir.preventDefault()},{passive:!1})),function(){var ir;(ir=cr)===null||ir===void 0||ir.remove()}},[tn,mt]),{isTouching:ar,onTouchStart:qn,onTouchMove:xn,onTouchEnd:zn}}var Yt=["fallback","src","imgRef"],Bt=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],$t=function(mt){var tn=mt.fallback,Ct=mt.src,Rt=mt.imgRef,vt=(0,oe.Z)(mt,Yt),jt=zt({src:Ct,fallback:tn}),At=(0,ce.Z)(jt,2),Je=At[0],un=At[1];return Te.createElement("img",(0,b.Z)({ref:function(Et){Rt.current=Et,Je(Et)}},vt,un))},cn=function(mt){var tn=mt.prefixCls,Ct=mt.src,Rt=mt.alt,vt=mt.imageInfo,jt=mt.fallback,At=mt.movable,Je=At===void 0?!0:At,un=mt.onClose,gn=mt.visible,Et=mt.icons,Ln=Et===void 0?{}:Et,ar=mt.rootClassName,Hn=mt.closeIcon,Vt=mt.getContainer,dr=mt.current,qn=dr===void 0?0:dr,xn=mt.count,zn=xn===void 0?1:xn,cr=mt.countRender,ir=mt.scaleStep,Gn=ir===void 0?.5:ir,Yn=mt.minScale,nn=Yn===void 0?1:Yn,An=mt.maxScale,Nn=An===void 0?50:An,In=mt.transitionName,xr=In===void 0?"zoom":In,gr=mt.maskTransitionName,or=gr===void 0?"fade":gr,Lr=mt.imageRender,Br=mt.imgCommonProps,Pr=mt.toolbarRender,wr=mt.onTransform,Ir=mt.onChange,lr=(0,oe.Z)(mt,Bt),_n=(0,Te.useRef)(),Sr=(0,Te.useContext)(Ue),kr=Sr&&zn>1,Ur=Sr&&zn>=1,rn=(0,Te.useState)(!0),Qt=(0,ce.Z)(rn,2),hr=Qt[0],$n=Qt[1],Pt=St(_n,nn,Nn,wr),on=Pt.transform,sr=Pt.resetTransform,Kt=Pt.updateTransform,be=Pt.dispatchZoomChange,Cn=Ot(_n,Je,gn,Gn,on,Kt,be),yr=Cn.isMoving,ln=Cn.onMouseDown,Ar=Cn.onWheel,Xn=bt(_n,Je,gn,nn,on,Kt,be),Cr=Xn.isTouching,Dr=Xn.onTouchStart,_t=Xn.onTouchMove,Rr=Xn.onTouchEnd,Kr=on.rotate,qr=on.scale,ha=Oe()((0,le.Z)({},"".concat(tn,"-moving"),yr));(0,Te.useEffect)(function(){hr||$n(!0)},[hr]);var ma=function(){sr("close")},la=function(){be(Be+Gn,"zoomIn")},$r=function(){be(Be/(Be+Gn),"zoomOut")},wa=function(){Kt({rotate:Kr+90},"rotateRight")},Ia=function(){Kt({rotate:Kr-90},"rotateLeft")},xa=function(){Kt({flipX:!on.flipX},"flipX")},ga=function(){Kt({flipY:!on.flipY},"flipY")},pa=function(){sr("reset")},Gr=function(ua){var Pa=qn+ua;!Number.isInteger(Pa)||Pa<0||Pa>zn-1||($n(!1),sr(ua<0?"prev":"next"),Ir==null||Ir(Pa,qn))},ra=function(ua){!gn||!kr||(ua.keyCode===Fe.Z.LEFT?Gr(-1):ua.keyCode===Fe.Z.RIGHT&&Gr(1))},ya=function(ua){gn&&(qr!==1?Kt({x:0,y:0,scale:1},"doubleClick"):be(Be+Gn,"doubleClick",ua.clientX,ua.clientY))};(0,Te.useEffect)(function(){var aa=(0,lt.Z)(window,"keydown",ra,!1);return function(){aa.remove()}},[gn,kr,qn]);var _r=Te.createElement($t,(0,b.Z)({},Br,{width:mt.width,height:mt.height,imgRef:_n,className:"".concat(tn,"-img"),alt:Rt,style:{transform:"translate3d(".concat(on.x,"px, ").concat(on.y,"px, 0) scale3d(").concat(on.flipX?"-":"").concat(qr,", ").concat(on.flipY?"-":"").concat(qr,", 1) rotate(").concat(Kr,"deg)"),transitionDuration:(!hr||Cr)&&"0s"},fallback:jt,src:Ct,onWheel:Ar,onMouseDown:ln,onDoubleClick:ya,onTouchStart:Dr,onTouchMove:_t,onTouchEnd:Rr,onTouchCancel:Rr})),Zr=(0,ue.Z)({url:Ct,alt:Rt},vt);return Te.createElement(Te.Fragment,null,Te.createElement(Ye.Z,(0,b.Z)({transitionName:xr,maskTransitionName:or,closable:!1,keyboard:!0,prefixCls:tn,onClose:un,visible:gn,classNames:{wrapper:ha},rootClassName:ar,getContainer:Vt},lr,{afterClose:ma}),Te.createElement("div",{className:"".concat(tn,"-img-wrapper")},Lr?Lr(_r,(0,ue.Z)({transform:on,image:Zr},Sr?{current:qn}:{})):_r)),Te.createElement(et,{visible:gn,transform:on,maskTransitionName:or,closeIcon:Hn,getContainer:Vt,prefixCls:tn,rootClassName:ar,icons:Ln,countRender:cr,showSwitch:kr,showProgress:Ur,current:qn,count:zn,scale:qr,minScale:nn,maxScale:Nn,toolbarRender:Pr,onActive:Gr,onZoomIn:la,onZoomOut:$r,onRotateRight:wa,onRotateLeft:Ia,onFlipX:xa,onFlipY:ga,onClose:un,onReset:pa,zIndex:lr.zIndex!==void 0?lr.zIndex+1:void 0,image:Zr}))},Ie=cn,pe=E(3300),de=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];function Ee(Zt){var mt=Te.useState({}),tn=(0,ce.Z)(mt,2),Ct=tn[0],Rt=tn[1],vt=Te.useCallback(function(At,Je){return Rt(function(un){return(0,ue.Z)((0,ue.Z)({},un),{},(0,le.Z)({},At,Je))}),function(){Rt(function(un){var gn=(0,ue.Z)({},un);return delete gn[At],gn})}},[]),jt=Te.useMemo(function(){return Zt?Zt.map(function(At){if(typeof At=="string")return{data:{src:At}};var Je={};return Object.keys(At).forEach(function(un){["src"].concat((0,pe.Z)(de)).includes(un)&&(Je[un]=At[un])}),{data:Je}}):Object.keys(Ct).reduce(function(At,Je){var un=Ct[Je],gn=un.canPreview,Et=un.data;return gn&&At.push({data:Et,id:Je}),At},[])},[Zt,Ct]);return[jt,vt,!!Zt]}var De=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],fe=["src"],Qe=function(mt){var tn,Ct=mt.previewPrefixCls,Rt=Ct===void 0?"rc-image-preview":Ct,vt=mt.children,jt=mt.icons,At=jt===void 0?{}:jt,Je=mt.items,un=mt.preview,gn=mt.fallback,Et=(0,ge.Z)(un)==="object"?un:{},Ln=Et.visible,ar=Et.onVisibleChange,Hn=Et.getContainer,Vt=Et.current,dr=Et.movable,qn=Et.minScale,xn=Et.maxScale,zn=Et.countRender,cr=Et.closeIcon,ir=Et.onChange,Gn=Et.onTransform,Yn=Et.toolbarRender,nn=Et.imageRender,An=(0,oe.Z)(Et,De),Nn=Ee(Je),In=(0,ce.Z)(Nn,3),xr=In[0],gr=In[1],or=In[2],Lr=(0,Re.Z)(0,{value:Vt}),Br=(0,ce.Z)(Lr,2),Pr=Br[0],wr=Br[1],Ir=(0,Te.useState)(!1),lr=(0,ce.Z)(Ir,2),_n=lr[0],Sr=lr[1],kr=((tn=xr[Pr])===null||tn===void 0?void 0:tn.data)||{},Ur=kr.src,rn=(0,oe.Z)(kr,fe),Qt=(0,Re.Z)(!!Ln,{value:Ln,onChange:function(Cr,Dr){ar==null||ar(Cr,Dr,Pr)}}),hr=(0,ce.Z)(Qt,2),$n=hr[0],Pt=hr[1],on=(0,Te.useState)(null),sr=(0,ce.Z)(on,2),Kt=sr[0],be=sr[1],Cn=Te.useCallback(function(Xn,Cr,Dr,_t){var Rr=or?xr.findIndex(function(Kr){return Kr.data.src===Cr}):xr.findIndex(function(Kr){return Kr.id===Xn});wr(Rr<0?0:Rr),Pt(!0),be({x:Dr,y:_t}),Sr(!0)},[xr,or]);Te.useEffect(function(){$n?_n||wr(0):Sr(!1)},[$n]);var yr=function(Cr,Dr){wr(Cr),ir==null||ir(Cr,Dr)},ln=function(){Pt(!1),be(null)},Ar=Te.useMemo(function(){return{register:gr,onPreview:Cn}},[gr,Cn]);return Te.createElement(Ue.Provider,{value:Ar},vt,Te.createElement(Ie,(0,b.Z)({"aria-hidden":!$n,movable:dr,visible:$n,prefixCls:Rt,closeIcon:cr,onClose:ln,mousePosition:Kt,imgCommonProps:rn,src:Ur,fallback:gn,icons:At,minScale:qn,maxScale:xn,getContainer:Hn,current:Pr,count:xr.length,countRender:zn,onTransform:Gn,toolbarRender:Yn,imageRender:nn,onChange:yr},An)))},Mt=Qe,an=0;function Sn(Zt,mt){var tn=Te.useState(function(){return an+=1,String(an)}),Ct=(0,ce.Z)(tn,1),Rt=Ct[0],vt=Te.useContext(Ue),jt={data:mt,canPreview:Zt};return Te.useEffect(function(){if(vt)return vt.register(Rt,jt)},[]),Te.useEffect(function(){vt&&vt.register(Rt,jt)},[Zt,mt]),Rt}var gt=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Ft=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Lt=function(mt){var tn=mt.src,Ct=mt.alt,Rt=mt.onPreviewClose,vt=mt.prefixCls,jt=vt===void 0?"rc-image":vt,At=mt.previewPrefixCls,Je=At===void 0?"".concat(jt,"-preview"):At,un=mt.placeholder,gn=mt.fallback,Et=mt.width,Ln=mt.height,ar=mt.style,Hn=mt.preview,Vt=Hn===void 0?!0:Hn,dr=mt.className,qn=mt.onClick,xn=mt.onError,zn=mt.wrapperClassName,cr=mt.wrapperStyle,ir=mt.rootClassName,Gn=(0,oe.Z)(mt,gt),Yn=un&&un!==!0,nn=(0,ge.Z)(Vt)==="object"?Vt:{},An=nn.src,Nn=nn.visible,In=Nn===void 0?void 0:Nn,xr=nn.onVisibleChange,gr=xr===void 0?Rt:xr,or=nn.getContainer,Lr=or===void 0?void 0:or,Br=nn.mask,Pr=nn.maskClassName,wr=nn.movable,Ir=nn.icons,lr=nn.scaleStep,_n=nn.minScale,Sr=nn.maxScale,kr=nn.imageRender,Ur=nn.toolbarRender,rn=(0,oe.Z)(nn,Ft),Qt=An!=null?An:tn,hr=(0,Re.Z)(!!In,{value:In,onChange:gr}),$n=(0,ce.Z)(hr,2),Pt=$n[0],on=$n[1],sr=zt({src:tn,isCustomPlaceholder:Yn,fallback:gn}),Kt=(0,ce.Z)(sr,3),be=Kt[0],Cn=Kt[1],yr=Kt[2],ln=(0,Te.useState)(null),Ar=(0,ce.Z)(ln,2),Xn=Ar[0],Cr=Ar[1],Dr=(0,Te.useContext)(Ue),_t=!!Vt,Rr=function(){on(!1),Cr(null)},Kr=Oe()(jt,zn,ir,(0,le.Z)({},"".concat(jt,"-error"),yr==="error")),qr=(0,Te.useMemo)(function(){var $r={};return de.forEach(function(wa){mt[wa]!==void 0&&($r[wa]=mt[wa])}),$r},de.map(function($r){return mt[$r]})),ha=(0,Te.useMemo)(function(){return(0,ue.Z)((0,ue.Z)({},qr),{},{src:Qt})},[Qt,qr]),ma=Sn(_t,ha),la=function(wa){var Ia=ke(wa.target),xa=Ia.left,ga=Ia.top;Dr?Dr.onPreview(ma,Qt,xa,ga):(Cr({x:xa,y:ga}),on(!0)),qn==null||qn(wa)};return Te.createElement(Te.Fragment,null,Te.createElement("div",(0,b.Z)({},Gn,{className:Kr,onClick:_t?la:qn,style:(0,ue.Z)({width:Et,height:Ln},cr)}),Te.createElement("img",(0,b.Z)({},qr,{className:Oe()("".concat(jt,"-img"),(0,le.Z)({},"".concat(jt,"-img-placeholder"),un===!0),dr),style:(0,ue.Z)({height:Ln},ar),ref:be},Cn,{width:Et,height:Ln,onError:xn})),yr==="loading"&&Te.createElement("div",{"aria-hidden":"true",className:"".concat(jt,"-placeholder")},un),Br&&_t&&Te.createElement("div",{className:Oe()("".concat(jt,"-mask"),Pr),style:{display:(ar==null?void 0:ar.display)==="none"?"none":void 0}},Br)),!Dr&&_t&&Te.createElement(Ie,(0,b.Z)({"aria-hidden":!Pt,visible:Pt,prefixCls:Je,onClose:Rr,mousePosition:Xn,src:Qt,alt:Ct,imageInfo:{width:Et,height:Ln},fallback:gn,getContainer:Lr,icons:Ir,movable:wr,scaleStep:lr,minScale:_n,maxScale:Sr,rootClassName:ir,imageRender:kr,imgCommonProps:qr,toolbarRender:Ur},rn)))};Lt.PreviewGroup=Mt;var Jt=Lt,fn=Jt},23425:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return Ye}});var b=E(74430),ue=E(32855),le=E(34666),ce=E(27247),ge=E(11913),oe=E(92310),xe=E.n(oe),Oe=E(18929),Se=E(10228),he=E(26112),Ve=E(48736),Ae=E(59301),ct=E(17119),Ke=[10,20,50,100],qe=function(Fe){var tt=Fe.pageSizeOptions,$e=tt===void 0?Ke:tt,Ue=Fe.locale,Xe=Fe.changeSize,et=Fe.pageSize,rt=Fe.goButton,ht=Fe.quickGo,kt=Fe.rootPrefixCls,St=Fe.disabled,Gt=Fe.buildOptionText,nt=Fe.showSizeChanger,je=Fe.sizeChangerRender,Be=Ae.useState(""),wt=(0,ge.Z)(Be,2),Ot=wt[0],ot=wt[1],zt=function(){return!Ot||Number.isNaN(Ot)?void 0:Number(Ot)},Ut=typeof Gt=="function"?Gt:function(de){return"".concat(de," ").concat(Ue.items_per_page)},pn=function(Ee){ot(Ee.target.value)},bt=function(Ee){rt||Ot===""||(ot(""),!(Ee.relatedTarget&&(Ee.relatedTarget.className.indexOf("".concat(kt,"-item-link"))>=0||Ee.relatedTarget.className.indexOf("".concat(kt,"-item"))>=0))&&(ht==null||ht(zt())))},Yt=function(Ee){Ot!==""&&(Ee.keyCode===Se.Z.ENTER||Ee.type==="click")&&(ot(""),ht==null||ht(zt()))},Bt=function(){return $e.some(function(Ee){return Ee.toString()===et.toString()})?$e:$e.concat([et]).sort(function(Ee,De){var fe=Number.isNaN(Number(Ee))?0:Number(Ee),Qe=Number.isNaN(Number(De))?0:Number(De);return fe-Qe})},$t="".concat(kt,"-options");if(!nt&&!ht)return null;var cn=null,Ie=null,pe=null;return nt&&je&&(cn=je({disabled:St,size:et,onSizeChange:function(Ee){Xe==null||Xe(Number(Ee))},"aria-label":Ue.page_size,className:"".concat($t,"-size-changer"),options:Bt().map(function(de){return{label:Ut(de),value:de}})})),ht&&(rt&&(pe=typeof rt=="boolean"?Ae.createElement("button",{type:"button",onClick:Yt,onKeyUp:Yt,disabled:St,className:"".concat($t,"-quick-jumper-button")},Ue.jump_to_confirm):Ae.createElement("span",{onClick:Yt,onKeyUp:Yt},rt)),Ie=Ae.createElement("div",{className:"".concat($t,"-quick-jumper")},Ue.jump_to,Ae.createElement("input",{disabled:St,type:"text",value:Ot,onChange:pn,onKeyUp:Yt,onBlur:bt,"aria-label":Ue.page}),Ue.page,pe)),Ae.createElement("li",{className:$t},cn,Ie)},Me=qe,ze=function(Fe){var tt=Fe.rootPrefixCls,$e=Fe.page,Ue=Fe.active,Xe=Fe.className,et=Fe.showTitle,rt=Fe.onClick,ht=Fe.onKeyPress,kt=Fe.itemRender,St="".concat(tt,"-item"),Gt=xe()(St,"".concat(St,"-").concat($e),(0,b.Z)((0,b.Z)({},"".concat(St,"-active"),Ue),"".concat(St,"-disabled"),!$e),Xe),nt=function(){rt($e)},je=function(Ot){ht(Ot,rt,$e)},Be=kt($e,"page",Ae.createElement("a",{rel:"nofollow"},$e));return Be?Ae.createElement("li",{title:et?String($e):null,className:Gt,onClick:nt,onKeyDown:je,tabIndex:0},Be):null},Ze=ze,Le=function(Fe,tt,$e){return $e};function Pe(){}function ke(lt){var Fe=Number(lt);return typeof Fe=="number"&&!Number.isNaN(Fe)&&isFinite(Fe)&&Math.floor(Fe)===Fe}function Re(lt,Fe,tt){var $e=typeof lt=="undefined"?Fe:lt;return Math.floor((tt-1)/$e)+1}var Te=function(Fe){var tt=Fe.prefixCls,$e=tt===void 0?"rc-pagination":tt,Ue=Fe.selectPrefixCls,Xe=Ue===void 0?"rc-select":Ue,et=Fe.className,rt=Fe.current,ht=Fe.defaultCurrent,kt=ht===void 0?1:ht,St=Fe.total,Gt=St===void 0?0:St,nt=Fe.pageSize,je=Fe.defaultPageSize,Be=je===void 0?10:je,wt=Fe.onChange,Ot=wt===void 0?Pe:wt,ot=Fe.hideOnSinglePage,zt=Fe.align,Ut=Fe.showPrevNextJumpers,pn=Ut===void 0?!0:Ut,bt=Fe.showQuickJumper,Yt=Fe.showLessItems,Bt=Fe.showTitle,$t=Bt===void 0?!0:Bt,cn=Fe.onShowSizeChange,Ie=cn===void 0?Pe:cn,pe=Fe.locale,de=pe===void 0?ct.Z:pe,Ee=Fe.style,De=Fe.totalBoundaryShowSizeChanger,fe=De===void 0?50:De,Qe=Fe.disabled,Mt=Fe.simple,an=Fe.showTotal,Sn=Fe.showSizeChanger,gt=Sn===void 0?Gt>fe:Sn,Ft=Fe.sizeChangerRender,Lt=Fe.pageSizeOptions,Jt=Fe.itemRender,fn=Jt===void 0?Le:Jt,Zt=Fe.jumpPrevIcon,mt=Fe.jumpNextIcon,tn=Fe.prevIcon,Ct=Fe.nextIcon,Rt=Ae.useRef(null),vt=(0,Oe.Z)(10,{value:nt,defaultValue:Be}),jt=(0,ge.Z)(vt,2),At=jt[0],Je=jt[1],un=(0,Oe.Z)(1,{value:rt,defaultValue:kt,postState:function(Zr){return Math.max(1,Math.min(Zr,Re(void 0,At,Gt)))}}),gn=(0,ge.Z)(un,2),Et=gn[0],Ln=gn[1],ar=Ae.useState(Et),Hn=(0,ge.Z)(ar,2),Vt=Hn[0],dr=Hn[1];(0,Ae.useEffect)(function(){dr(Et)},[Et]);var qn=Ot!==Pe,xn="current"in Fe,zn=Math.max(1,Et-(Yt?3:5)),cr=Math.min(Re(void 0,At,Gt),Et+(Yt?3:5));function ir(_r,Zr){var aa=_r||Ae.createElement("button",{type:"button","aria-label":Zr,className:"".concat($e,"-item-link")});return typeof _r=="function"&&(aa=Ae.createElement(_r,(0,ce.Z)({},Fe))),aa}function Gn(_r){var Zr=_r.target.value,aa=Re(void 0,At,Gt),ua;return Zr===""?ua=Zr:Number.isNaN(Number(Zr))?ua=Vt:Zr>=aa?ua=aa:ua=Number(Zr),ua}function Yn(_r){return ke(_r)&&_r!==Et&&ke(Gt)&&Gt>0}var nn=Gt>At?bt:!1;function An(_r){(_r.keyCode===Se.Z.UP||_r.keyCode===Se.Z.DOWN)&&_r.preventDefault()}function Nn(_r){var Zr=Gn(_r);switch(Zr!==Vt&&dr(Zr),_r.keyCode){case Se.Z.ENTER:gr(Zr);break;case Se.Z.UP:gr(Zr-1);break;case Se.Z.DOWN:gr(Zr+1);break;default:break}}function In(_r){gr(Gn(_r))}function xr(_r){var Zr=Re(_r,At,Gt),aa=Et>Zr&&Zr!==0?Zr:Et;Je(_r),dr(aa),Ie==null||Ie(Et,_r),Ln(aa),Ot==null||Ot(aa,_r)}function gr(_r){if(Yn(_r)&&!Qe){var Zr=Re(void 0,At,Gt),aa=_r;return _r>Zr?aa=Zr:_r<1&&(aa=1),aa!==Vt&&dr(aa),Ln(aa),Ot==null||Ot(aa,At),aa}return Et}var or=Et>1,Lr=Et<Re(void 0,At,Gt);function Br(){or&&gr(Et-1)}function Pr(){Lr&&gr(Et+1)}function wr(){gr(zn)}function Ir(){gr(cr)}function lr(_r,Zr){if(_r.key==="Enter"||_r.charCode===Se.Z.ENTER||_r.keyCode===Se.Z.ENTER){for(var aa=arguments.length,ua=new Array(aa>2?aa-2:0),Pa=2;Pa<aa;Pa++)ua[Pa-2]=arguments[Pa];Zr.apply(void 0,ua)}}function _n(_r){lr(_r,Br)}function Sr(_r){lr(_r,Pr)}function kr(_r){lr(_r,wr)}function Ur(_r){lr(_r,Ir)}function rn(_r){var Zr=fn(_r,"prev",ir(tn,"prev page"));return Ae.isValidElement(Zr)?Ae.cloneElement(Zr,{disabled:!or}):Zr}function Qt(_r){var Zr=fn(_r,"next",ir(Ct,"next page"));return Ae.isValidElement(Zr)?Ae.cloneElement(Zr,{disabled:!Lr}):Zr}function hr(_r){(_r.type==="click"||_r.keyCode===Se.Z.ENTER)&&gr(Vt)}var $n=null,Pt=(0,he.Z)(Fe,{aria:!0,data:!0}),on=an&&Ae.createElement("li",{className:"".concat($e,"-total-text")},an(Gt,[Gt===0?0:(Et-1)*At+1,Et*At>Gt?Gt:Et*At])),sr=null,Kt=Re(void 0,At,Gt);if(ot&&Gt<=At)return null;var be=[],Cn={rootPrefixCls:$e,onClick:gr,onKeyPress:lr,showTitle:$t,itemRender:fn,page:-1},yr=Et-1>0?Et-1:0,ln=Et+1<Kt?Et+1:Kt,Ar=bt&&bt.goButton,Xn=(0,le.Z)(Mt)==="object"?Mt.readOnly:!Mt,Cr=Ar,Dr=null;Mt&&(Ar&&(typeof Ar=="boolean"?Cr=Ae.createElement("button",{type:"button",onClick:hr,onKeyUp:hr},de.jump_to_confirm):Cr=Ae.createElement("span",{onClick:hr,onKeyUp:hr},Ar),Cr=Ae.createElement("li",{title:$t?"".concat(de.jump_to).concat(Et,"/").concat(Kt):null,className:"".concat($e,"-simple-pager")},Cr)),Dr=Ae.createElement("li",{title:$t?"".concat(Et,"/").concat(Kt):null,className:"".concat($e,"-simple-pager")},Xn?Vt:Ae.createElement("input",{type:"text","aria-label":de.jump_to,value:Vt,disabled:Qe,onKeyDown:An,onKeyUp:Nn,onChange:Nn,onBlur:In,size:3}),Ae.createElement("span",{className:"".concat($e,"-slash")},"/"),Kt));var _t=Yt?1:2;if(Kt<=3+_t*2){Kt||be.push(Ae.createElement(Ze,(0,ue.Z)({},Cn,{key:"noPager",page:1,className:"".concat($e,"-item-disabled")})));for(var Rr=1;Rr<=Kt;Rr+=1)be.push(Ae.createElement(Ze,(0,ue.Z)({},Cn,{key:Rr,page:Rr,active:Et===Rr})))}else{var Kr=Yt?de.prev_3:de.prev_5,qr=Yt?de.next_3:de.next_5,ha=fn(zn,"jump-prev",ir(Zt,"prev page")),ma=fn(cr,"jump-next",ir(mt,"next page"));pn&&($n=ha?Ae.createElement("li",{title:$t?Kr:null,key:"prev",onClick:wr,tabIndex:0,onKeyDown:kr,className:xe()("".concat($e,"-jump-prev"),(0,b.Z)({},"".concat($e,"-jump-prev-custom-icon"),!!Zt))},ha):null,sr=ma?Ae.createElement("li",{title:$t?qr:null,key:"next",onClick:Ir,tabIndex:0,onKeyDown:Ur,className:xe()("".concat($e,"-jump-next"),(0,b.Z)({},"".concat($e,"-jump-next-custom-icon"),!!mt))},ma):null);var la=Math.max(1,Et-_t),$r=Math.min(Et+_t,Kt);Et-1<=_t&&($r=1+_t*2),Kt-Et<=_t&&(la=Kt-_t*2);for(var wa=la;wa<=$r;wa+=1)be.push(Ae.createElement(Ze,(0,ue.Z)({},Cn,{key:wa,page:wa,active:Et===wa})));if(Et-1>=_t*2&&Et!==3&&(be[0]=Ae.cloneElement(be[0],{className:xe()("".concat($e,"-item-after-jump-prev"),be[0].props.className)}),be.unshift($n)),Kt-Et>=_t*2&&Et!==Kt-2){var Ia=be[be.length-1];be[be.length-1]=Ae.cloneElement(Ia,{className:xe()("".concat($e,"-item-before-jump-next"),Ia.props.className)}),be.push(sr)}la!==1&&be.unshift(Ae.createElement(Ze,(0,ue.Z)({},Cn,{key:1,page:1}))),$r!==Kt&&be.push(Ae.createElement(Ze,(0,ue.Z)({},Cn,{key:Kt,page:Kt})))}var xa=rn(yr);if(xa){var ga=!or||!Kt;xa=Ae.createElement("li",{title:$t?de.prev_page:null,onClick:Br,tabIndex:ga?null:0,onKeyDown:_n,className:xe()("".concat($e,"-prev"),(0,b.Z)({},"".concat($e,"-disabled"),ga)),"aria-disabled":ga},xa)}var pa=Qt(ln);if(pa){var Gr,ra;Mt?(Gr=!Lr,ra=or?0:null):(Gr=!Lr||!Kt,ra=Gr?null:0),pa=Ae.createElement("li",{title:$t?de.next_page:null,onClick:Pr,tabIndex:ra,onKeyDown:Sr,className:xe()("".concat($e,"-next"),(0,b.Z)({},"".concat($e,"-disabled"),Gr)),"aria-disabled":Gr},pa)}var ya=xe()($e,et,(0,b.Z)((0,b.Z)((0,b.Z)((0,b.Z)((0,b.Z)({},"".concat($e,"-start"),zt==="start"),"".concat($e,"-center"),zt==="center"),"".concat($e,"-end"),zt==="end"),"".concat($e,"-simple"),Mt),"".concat($e,"-disabled"),Qe));return Ae.createElement("ul",(0,ue.Z)({className:ya,style:Ee,ref:Rt},Pt),on,xa,Mt?Dr:be,pa,Ae.createElement(Me,{locale:de,rootPrefixCls:$e,disabled:Qe,selectPrefixCls:Xe,changeSize:xr,pageSize:At,pageSizeOptions:Lt,quickGo:nn?gr:null,goButton:Cr,showSizeChanger:gt,sizeChangerRender:Ft}))},Ye=Te},25930:function(me,ne,E){"use strict";E.d(ne,{Cd:function(){return $e}});var b=E(32855),ue=E(27247),le=E(43079),ce=E(59301),ge=E(92310),oe=E.n(ge),xe={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},Oe=function(){var et=(0,ce.useRef)([]),rt=(0,ce.useRef)(null);return(0,ce.useEffect)(function(){var ht=Date.now(),kt=!1;et.current.forEach(function(St){if(St){kt=!0;var Gt=St.style;Gt.transitionDuration=".3s, .3s, .3s, .06s",rt.current&&ht-rt.current<100&&(Gt.transitionDuration="0s, 0s")}}),kt&&(rt.current=Date.now())}),et.current},Se=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],he=function(et){var rt=(0,ue.Z)((0,ue.Z)({},xe),et),ht=rt.className,kt=rt.percent,St=rt.prefixCls,Gt=rt.strokeColor,nt=rt.strokeLinecap,je=rt.strokeWidth,Be=rt.style,wt=rt.trailColor,Ot=rt.trailWidth,ot=rt.transition,zt=(0,le.Z)(rt,Se);delete zt.gapPosition;var Ut=Array.isArray(kt)?kt:[kt],pn=Array.isArray(Gt)?Gt:[Gt],bt=Oe(),Yt=je/2,Bt=100-je/2,$t="M ".concat(nt==="round"?Yt:0,",").concat(Yt,`
L `).concat(nt==="round"?Bt:100,",").concat(Yt),cn="0 0 100 ".concat(je),Ie=0;return ce.createElement("svg",(0,b.Z)({className:oe()("".concat(St,"-line"),ht),viewBox:cn,preserveAspectRatio:"none",style:Be},zt),ce.createElement("path",{className:"".concat(St,"-line-trail"),d:$t,strokeLinecap:nt,stroke:wt,strokeWidth:Ot||je,fillOpacity:"0"}),Ut.map(function(pe,de){var Ee=1;switch(nt){case"round":Ee=1-je/100;break;case"square":Ee=1-je/2/100;break;default:Ee=1;break}var De={strokeDasharray:"".concat(pe*Ee,"px, 100px"),strokeDashoffset:"-".concat(Ie,"px"),transition:ot||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},fe=pn[de]||pn[pn.length-1];return Ie+=pe,ce.createElement("path",{key:de,className:"".concat(St,"-line-path"),d:$t,strokeLinecap:nt,stroke:fe,strokeWidth:je,fillOpacity:"0",ref:function(Mt){bt[de]=Mt},style:De})}))},Ve=he,Ae=E(34666),ct=E(11913),Ke=E(47273),qe=0,Me=(0,Ke.Z)();function ze(){var Xe;return Me?(Xe=qe,qe+=1):Xe="TEST_OR_SSR",Xe}var Ze=function(Xe){var et=ce.useState(),rt=(0,ct.Z)(et,2),ht=rt[0],kt=rt[1];return ce.useEffect(function(){kt("rc_progress_".concat(ze()))},[]),Xe||ht},Le=function(et){var rt=et.bg,ht=et.children;return ce.createElement("div",{style:{width:"100%",height:"100%",background:rt}},ht)};function Pe(Xe,et){return Object.keys(Xe).map(function(rt){var ht=parseFloat(rt),kt="".concat(Math.floor(ht*et),"%");return"".concat(Xe[rt]," ").concat(kt)})}var ke=ce.forwardRef(function(Xe,et){var rt=Xe.prefixCls,ht=Xe.color,kt=Xe.gradientId,St=Xe.radius,Gt=Xe.style,nt=Xe.ptg,je=Xe.strokeLinecap,Be=Xe.strokeWidth,wt=Xe.size,Ot=Xe.gapDegree,ot=ht&&(0,Ae.Z)(ht)==="object",zt=ot?"#FFF":void 0,Ut=wt/2,pn=ce.createElement("circle",{className:"".concat(rt,"-circle-path"),r:St,cx:Ut,cy:Ut,stroke:zt,strokeLinecap:je,strokeWidth:Be,opacity:nt===0?0:1,style:Gt,ref:et});if(!ot)return pn;var bt="".concat(kt,"-conic"),Yt=Ot?"".concat(180+Ot/2,"deg"):"0deg",Bt=Pe(ht,(360-Ot)/360),$t=Pe(ht,1),cn="conic-gradient(from ".concat(Yt,", ").concat(Bt.join(", "),")"),Ie="linear-gradient(to ".concat(Ot?"bottom":"top",", ").concat($t.join(", "),")");return ce.createElement(ce.Fragment,null,ce.createElement("mask",{id:bt},pn),ce.createElement("foreignObject",{x:0,y:0,width:wt,height:wt,mask:"url(#".concat(bt,")")},ce.createElement(Le,{bg:Ie},ce.createElement(Le,{bg:cn}))))}),Re=ke,Te=100,Ye=function(et,rt,ht,kt,St,Gt,nt,je,Be,wt){var Ot=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,ot=ht/100*360*((360-Gt)/360),zt=Gt===0?0:{bottom:0,top:180,left:90,right:-90}[nt],Ut=(100-kt)/100*rt;Be==="round"&&kt!==100&&(Ut+=wt/2,Ut>=rt&&(Ut=rt-.01));var pn=Te/2;return{stroke:typeof je=="string"?je:void 0,strokeDasharray:"".concat(rt,"px ").concat(et),strokeDashoffset:Ut+Ot,transform:"rotate(".concat(St+ot+zt,"deg)"),transformOrigin:"".concat(pn,"px ").concat(pn,"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 Fe(Xe){var et=Xe!=null?Xe:[];return Array.isArray(et)?et:[et]}var tt=function(et){var rt=(0,ue.Z)((0,ue.Z)({},xe),et),ht=rt.id,kt=rt.prefixCls,St=rt.steps,Gt=rt.strokeWidth,nt=rt.trailWidth,je=rt.gapDegree,Be=je===void 0?0:je,wt=rt.gapPosition,Ot=rt.trailColor,ot=rt.strokeLinecap,zt=rt.style,Ut=rt.className,pn=rt.strokeColor,bt=rt.percent,Yt=(0,le.Z)(rt,lt),Bt=Te/2,$t=Ze(ht),cn="".concat($t,"-gradient"),Ie=Bt-Gt/2,pe=Math.PI*2*Ie,de=Be>0?90+Be/2:-90,Ee=pe*((360-Be)/360),De=(0,Ae.Z)(St)==="object"?St:{count:St,gap:2},fe=De.count,Qe=De.gap,Mt=Fe(bt),an=Fe(pn),Sn=an.find(function(mt){return mt&&(0,Ae.Z)(mt)==="object"}),gt=Sn&&(0,Ae.Z)(Sn)==="object",Ft=gt?"butt":ot,Lt=Ye(pe,Ee,0,100,de,Be,wt,Ot,Ft,Gt),Jt=Oe(),fn=function(){var tn=0;return Mt.map(function(Ct,Rt){var vt=an[Rt]||an[an.length-1],jt=Ye(pe,Ee,tn,Ct,de,Be,wt,vt,Ft,Gt);return tn+=Ct,ce.createElement(Re,{key:Rt,color:vt,ptg:Ct,radius:Ie,prefixCls:kt,gradientId:cn,style:jt,strokeLinecap:Ft,strokeWidth:Gt,gapDegree:Be,ref:function(Je){Jt[Rt]=Je},size:Te})}).reverse()},Zt=function(){var tn=Math.round(fe*(Mt[0]/100)),Ct=100/fe,Rt=0;return new Array(fe).fill(null).map(function(vt,jt){var At=jt<=tn-1?an[0]:Ot,Je=At&&(0,Ae.Z)(At)==="object"?"url(#".concat(cn,")"):void 0,un=Ye(pe,Ee,Rt,Ct,de,Be,wt,At,"butt",Gt,Qe);return Rt+=(Ee-un.strokeDashoffset+Qe)*100/Ee,ce.createElement("circle",{key:jt,className:"".concat(kt,"-circle-path"),r:Ie,cx:Bt,cy:Bt,stroke:Je,strokeWidth:Gt,opacity:1,style:un,ref:function(Et){Jt[jt]=Et}})})};return ce.createElement("svg",(0,b.Z)({className:oe()("".concat(kt,"-circle"),Ut),viewBox:"0 0 ".concat(Te," ").concat(Te),style:zt,id:ht,role:"presentation"},Yt),!fe&&ce.createElement("circle",{className:"".concat(kt,"-circle-trail"),r:Ie,cx:Bt,cy:Bt,stroke:Ot,strokeLinecap:Ft,strokeWidth:nt||Gt,style:Lt}),fe?Zt():fn())},$e=tt,Ue={Line:Ve,Circle:$e}},738:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return Pe}});var b=E(32855),ue=E(74430),le=E(11913),ce=E(43079),ge=E(92310),oe=E.n(ge),xe=E(18929),Oe=E(10228),Se=E(26112),he=E(59301);function Ve(ke,Re){var Te=ke.disabled,Ye=ke.prefixCls,lt=ke.character,Fe=ke.characterRender,tt=ke.index,$e=ke.count,Ue=ke.value,Xe=ke.allowHalf,et=ke.focused,rt=ke.onHover,ht=ke.onClick,kt=function(ot){rt(ot,tt)},St=function(ot){ht(ot,tt)},Gt=function(ot){ot.keyCode===Oe.Z.ENTER&&ht(ot,tt)},nt=tt+1,je=new Set([Ye]);Ue===0&&tt===0&&et?je.add("".concat(Ye,"-focused")):Xe&&Ue+.5>=nt&&Ue<nt?(je.add("".concat(Ye,"-half")),je.add("".concat(Ye,"-active")),et&&je.add("".concat(Ye,"-focused"))):(nt<=Ue?je.add("".concat(Ye,"-full")):je.add("".concat(Ye,"-zero")),nt===Ue&&et&&je.add("".concat(Ye,"-focused")));var Be=typeof lt=="function"?lt(ke):lt,wt=he.createElement("li",{className:oe()(Array.from(je)),ref:Re},he.createElement("div",{onClick:Te?null:St,onKeyDown:Te?null:Gt,onMouseMove:Te?null:kt,role:"radio","aria-checked":Ue>tt?"true":"false","aria-posinset":tt+1,"aria-setsize":$e,tabIndex:Te?-1:0},he.createElement("div",{className:"".concat(Ye,"-first")},Be),he.createElement("div",{className:"".concat(Ye,"-second")},Be)));return Fe&&(wt=Fe(wt,ke)),wt}var Ae=he.forwardRef(Ve);function ct(){var ke=he.useRef({});function Re(Ye){return ke.current[Ye]}function Te(Ye){return function(lt){ke.current[Ye]=lt}}return[Re,Te]}function Ke(ke){var Re=ke.pageXOffset,Te="scrollLeft";if(typeof Re!="number"){var Ye=ke.document;Re=Ye.documentElement[Te],typeof Re!="number"&&(Re=Ye.body[Te])}return Re}function qe(ke){var Re,Te,Ye=ke.ownerDocument,lt=Ye.body,Fe=Ye&&Ye.documentElement,tt=ke.getBoundingClientRect();return Re=tt.left,Te=tt.top,Re-=Fe.clientLeft||lt.clientLeft||0,Te-=Fe.clientTop||lt.clientTop||0,{left:Re,top:Te}}function Me(ke){var Re=qe(ke),Te=ke.ownerDocument,Ye=Te.defaultView||Te.parentWindow;return Re.left+=Ke(Ye),Re.left}var ze=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Ze(ke,Re){var Te=ke.prefixCls,Ye=Te===void 0?"rc-rate":Te,lt=ke.className,Fe=ke.defaultValue,tt=ke.value,$e=ke.count,Ue=$e===void 0?5:$e,Xe=ke.allowHalf,et=Xe===void 0?!1:Xe,rt=ke.allowClear,ht=rt===void 0?!0:rt,kt=ke.keyboard,St=kt===void 0?!0:kt,Gt=ke.character,nt=Gt===void 0?"\u2605":Gt,je=ke.characterRender,Be=ke.disabled,wt=ke.direction,Ot=wt===void 0?"ltr":wt,ot=ke.tabIndex,zt=ot===void 0?0:ot,Ut=ke.autoFocus,pn=ke.onHoverChange,bt=ke.onChange,Yt=ke.onFocus,Bt=ke.onBlur,$t=ke.onKeyDown,cn=ke.onMouseLeave,Ie=(0,ce.Z)(ke,ze),pe=ct(),de=(0,le.Z)(pe,2),Ee=de[0],De=de[1],fe=he.useRef(null),Qe=function(){if(!Be){var zn;(zn=fe.current)===null||zn===void 0||zn.focus()}};he.useImperativeHandle(Re,function(){return{focus:Qe,blur:function(){if(!Be){var zn;(zn=fe.current)===null||zn===void 0||zn.blur()}}}});var Mt=(0,xe.Z)(Fe||0,{value:tt}),an=(0,le.Z)(Mt,2),Sn=an[0],gt=an[1],Ft=(0,xe.Z)(null),Lt=(0,le.Z)(Ft,2),Jt=Lt[0],fn=Lt[1],Zt=function(zn,cr){var ir=Ot==="rtl",Gn=zn+1;if(et){var Yn=Ee(zn),nn=Me(Yn),An=Yn.clientWidth;(ir&&cr-nn>An/2||!ir&&cr-nn<An/2)&&(Gn-=.5)}return Gn},mt=function(zn){gt(zn),bt==null||bt(zn)},tn=he.useState(!1),Ct=(0,le.Z)(tn,2),Rt=Ct[0],vt=Ct[1],jt=function(){vt(!0),Yt==null||Yt()},At=function(){vt(!1),Bt==null||Bt()},Je=he.useState(null),un=(0,le.Z)(Je,2),gn=un[0],Et=un[1],Ln=function(zn,cr){var ir=Zt(cr,zn.pageX);ir!==Jt&&(Et(ir),fn(null)),pn==null||pn(ir)},ar=function(zn){Be||(Et(null),fn(null),pn==null||pn(void 0)),zn&&(cn==null||cn(zn))},Hn=function(zn,cr){var ir=Zt(cr,zn.pageX),Gn=!1;ht&&(Gn=ir===Sn),ar(),mt(Gn?0:ir),fn(Gn?ir:null)},Vt=function(zn){var cr=zn.keyCode,ir=Ot==="rtl",Gn=et?.5:1;St&&(cr===Oe.Z.RIGHT&&Sn<Ue&&!ir?(mt(Sn+Gn),zn.preventDefault()):cr===Oe.Z.LEFT&&Sn>0&&!ir||cr===Oe.Z.RIGHT&&Sn>0&&ir?(mt(Sn-Gn),zn.preventDefault()):cr===Oe.Z.LEFT&&Sn<Ue&&ir&&(mt(Sn+Gn),zn.preventDefault())),$t==null||$t(zn)};he.useEffect(function(){Ut&&!Be&&Qe()},[]);var dr=new Array(Ue).fill(0).map(function(xn,zn){return he.createElement(Ae,{ref:De(zn),index:zn,count:Ue,disabled:Be,prefixCls:"".concat(Ye,"-star"),allowHalf:et,value:gn===null?Sn:gn,onClick:Hn,onHover:Ln,key:xn||zn,character:nt,characterRender:je,focused:Rt})}),qn=oe()(Ye,lt,(0,ue.Z)((0,ue.Z)({},"".concat(Ye,"-disabled"),Be),"".concat(Ye,"-rtl"),Ot==="rtl"));return he.createElement("ul",(0,b.Z)({className:qn,onMouseLeave:ar,tabIndex:Be?-1:zt,onFocus:Be?null:jt,onBlur:Be?null:At,onKeyDown:Be?null:Vt,ref:fe},(0,Se.Z)(Ie,{aria:!0,data:!0,attr:!0})),dr)}var Le=he.forwardRef(Ze),Pe=Le},6551:function(me,ne,E){"use strict";E.d(ne,{ZP:function(){return xe}});var b=E(11913),ue=E(59301),le=E(47273),ce=0,ge=(0,le.Z)();function oe(){var Oe;return ge?(Oe=ce,ce+=1):Oe="TEST_OR_SSR",Oe}function xe(Oe){var Se=ue.useState(),he=(0,b.Z)(Se,2),Ve=he[0],Ae=he[1];return ue.useEffect(function(){Ae("rc_select_".concat(oe()))},[]),Oe||Ve}},37463:function(me,ne,E){"use strict";E.d(ne,{Ac:function(){return vt},Xo:function(){return At},Wx:function(){return un},ZP:function(){return Ur},lk:function(){return Pe}});var b=E(32855),ue=E(3300),le=E(74430),ce=E(27247),ge=E(11913),oe=E(43079),xe=E(34666),Oe=E(18929),Se=E(48736),he=E(59301),Ve=E(92310),Ae=E.n(Ve),ct=E(34280),Ke=E(49658),qe=E(8654),Me=function(Qt){var hr=Qt.className,$n=Qt.customizeIcon,Pt=Qt.customizeIconProps,on=Qt.children,sr=Qt.onMouseDown,Kt=Qt.onClick,be=typeof $n=="function"?$n(Pt):$n;return he.createElement("span",{className:hr,onMouseDown:function(yr){yr.preventDefault(),sr==null||sr(yr)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Kt,"aria-hidden":!0},be!==void 0?be:he.createElement("span",{className:Ae()(hr.split(/\s+/).map(function(Cn){return"".concat(Cn,"-icon")}))},on))},ze=Me,Ze=function(Qt,hr,$n,Pt,on){var sr=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Kt=arguments.length>6?arguments[6]:void 0,be=arguments.length>7?arguments[7]:void 0,Cn=he.useMemo(function(){if((0,xe.Z)(Pt)==="object")return Pt.clearIcon;if(on)return on},[Pt,on]),yr=he.useMemo(function(){return!!(!sr&&Pt&&($n.length||Kt)&&!(be==="combobox"&&Kt===""))},[Pt,sr,$n.length,Kt,be]);return{allowClear:yr,clearIcon:he.createElement(ze,{className:"".concat(Qt,"-clear"),onMouseDown:hr,customizeIcon:Cn},"\xD7")}},Le=he.createContext(null);function Pe(){return he.useContext(Le)}function ke(){var rn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Qt=he.useState(!1),hr=(0,ge.Z)(Qt,2),$n=hr[0],Pt=hr[1],on=he.useRef(null),sr=function(){window.clearTimeout(on.current)};he.useEffect(function(){return sr},[]);var Kt=function(Cn,yr){sr(),on.current=window.setTimeout(function(){Pt(Cn),yr&&yr()},rn)};return[$n,Kt,sr]}function Re(){var rn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Qt=he.useRef(null),hr=he.useRef(null);he.useEffect(function(){return function(){window.clearTimeout(hr.current)}},[]);function $n(Pt){(Pt||Qt.current===null)&&(Qt.current=Pt),window.clearTimeout(hr.current),hr.current=window.setTimeout(function(){Qt.current=null},rn)}return[function(){return Qt.current},$n]}function Te(rn,Qt,hr,$n){var Pt=he.useRef(null);Pt.current={open:Qt,triggerOpen:hr,customizedTrigger:$n},he.useEffect(function(){function on(sr){var Kt;if(!((Kt=Pt.current)!==null&&Kt!==void 0&&Kt.customizedTrigger)){var be=sr.target;be.shadowRoot&&sr.composed&&(be=sr.composedPath()[0]||be),Pt.current.open&&rn().filter(function(Cn){return Cn}).every(function(Cn){return!Cn.contains(be)&&Cn!==be})&&Pt.current.triggerOpen(!1)}}return window.addEventListener("mousedown",on),function(){return window.removeEventListener("mousedown",on)}},[])}var Ye=E(10228);function lt(rn){return rn&&![Ye.Z.ESC,Ye.Z.SHIFT,Ye.Z.BACKSPACE,Ye.Z.TAB,Ye.Z.WIN_KEY,Ye.Z.ALT,Ye.Z.META,Ye.Z.WIN_KEY_RIGHT,Ye.Z.CTRL,Ye.Z.SEMICOLON,Ye.Z.EQUALS,Ye.Z.CAPS_LOCK,Ye.Z.CONTEXT_MENU,Ye.Z.F1,Ye.Z.F2,Ye.Z.F3,Ye.Z.F4,Ye.Z.F5,Ye.Z.F6,Ye.Z.F7,Ye.Z.F8,Ye.Z.F9,Ye.Z.F10,Ye.Z.F11,Ye.Z.F12].includes(rn)}var Fe=E(26112),tt=E(11780);function $e(rn,Qt,hr){var $n=(0,ce.Z)((0,ce.Z)({},rn),hr?Qt:{});return Object.keys(Qt).forEach(function(Pt){var on=Qt[Pt];typeof on=="function"&&($n[Pt]=function(){for(var sr,Kt=arguments.length,be=new Array(Kt),Cn=0;Cn<Kt;Cn++)be[Cn]=arguments[Cn];return on.apply(void 0,be),(sr=rn[Pt])===null||sr===void 0?void 0:sr.call.apply(sr,[rn].concat(be))})}),$n}var Ue=$e,Xe=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],et=function(Qt,hr){var $n=Qt.prefixCls,Pt=Qt.id,on=Qt.inputElement,sr=Qt.autoFocus,Kt=Qt.autoComplete,be=Qt.editable,Cn=Qt.activeDescendantId,yr=Qt.value,ln=Qt.open,Ar=Qt.attrs,Xn=(0,oe.Z)(Qt,Xe),Cr=on||he.createElement("input",null),Dr=Cr,_t=Dr.ref,Rr=Dr.props;return(0,Se.Kp)(!("maxLength"in Cr.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Cr=he.cloneElement(Cr,(0,ce.Z)((0,ce.Z)((0,ce.Z)({type:"search"},Ue(Xn,Rr,!0)),{},{id:Pt,ref:(0,qe.sQ)(hr,_t),autoComplete:Kt||"off",autoFocus:sr,className:Ae()("".concat($n,"-selection-search-input"),Rr==null?void 0:Rr.className),role:"combobox","aria-expanded":ln||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Pt,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Pt,"_list"),"aria-activedescendant":ln?Cn:void 0},Ar),{},{value:be?yr:"",readOnly:!be,unselectable:be?null:"on",style:(0,ce.Z)((0,ce.Z)({},Rr.style),{},{opacity:be?null:0})})),Cr},rt=he.forwardRef(et),ht=rt;function kt(rn){return Array.isArray(rn)?rn:rn!==void 0?[rn]:[]}var St=typeof window!="undefined"&&window.document&&window.document.documentElement,Gt=St;function nt(rn){return rn!=null}function je(rn){return!rn&&rn!==0}function Be(rn){return["string","number"].includes((0,xe.Z)(rn))}function wt(rn){var Qt=void 0;return rn&&(Be(rn.title)?Qt=rn.title.toString():Be(rn.label)&&(Qt=rn.label.toString())),Qt}function Ot(rn,Qt){Gt?he.useLayoutEffect(rn,Qt):he.useEffect(rn,Qt)}function ot(rn){var Qt;return(Qt=rn.key)!==null&&Qt!==void 0?Qt:rn.value}var zt=function(Qt){Qt.preventDefault(),Qt.stopPropagation()},Ut=function(Qt){var hr=Qt.id,$n=Qt.prefixCls,Pt=Qt.values,on=Qt.open,sr=Qt.searchValue,Kt=Qt.autoClearSearchValue,be=Qt.inputRef,Cn=Qt.placeholder,yr=Qt.disabled,ln=Qt.mode,Ar=Qt.showSearch,Xn=Qt.autoFocus,Cr=Qt.autoComplete,Dr=Qt.activeDescendantId,_t=Qt.tabIndex,Rr=Qt.removeIcon,Kr=Qt.maxTagCount,qr=Qt.maxTagTextLength,ha=Qt.maxTagPlaceholder,ma=ha===void 0?function(Tt){return"+ ".concat(Tt.length," ...")}:ha,la=Qt.tagRender,$r=Qt.onToggleOpen,wa=Qt.onRemove,Ia=Qt.onInputChange,xa=Qt.onInputPaste,ga=Qt.onInputKeyDown,pa=Qt.onInputMouseDown,Gr=Qt.onInputCompositionStart,ra=Qt.onInputCompositionEnd,ya=Qt.onInputBlur,_r=he.useRef(null),Zr=(0,he.useState)(0),aa=(0,ge.Z)(Zr,2),ua=aa[0],Pa=aa[1],Ra=(0,he.useState)(!1),Xa=(0,ge.Z)(Ra,2),qt=Xa[0],Bn=Xa[1],Dn="".concat($n,"-selection"),jn=on||ln==="multiple"&&Kt===!1||ln==="tags"?sr:"",Qn=ln==="tags"||ln==="multiple"&&Kt===!1||Ar&&(on||qt);Ot(function(){Pa(_r.current.scrollWidth)},[jn]);var er=function(It,Wt,Ht,Mn,Tn){return he.createElement("span",{title:wt(It),className:Ae()("".concat(Dn,"-item"),(0,le.Z)({},"".concat(Dn,"-item-disabled"),Ht))},he.createElement("span",{className:"".concat(Dn,"-item-content")},Wt),Mn&&he.createElement(ze,{className:"".concat(Dn,"-item-remove"),onMouseDown:zt,onClick:Tn,customizeIcon:Rr},"\xD7"))},vr=function(It,Wt,Ht,Mn,Tn,wn){var Fn=function(Or){zt(Or),$r(!on)};return he.createElement("span",{onMouseDown:Fn},la({label:Wt,value:It,disabled:Ht,closable:Mn,onClose:Tn,isMaxTag:!!wn}))},mr=function(It){var Wt=It.disabled,Ht=It.label,Mn=It.value,Tn=!yr&&!Wt,wn=Ht;if(typeof qr=="number"&&(typeof Ht=="string"||typeof Ht=="number")){var Fn=String(wn);Fn.length>qr&&(wn="".concat(Fn.slice(0,qr),"..."))}var nr=function(br){br&&br.stopPropagation(),wa(It)};return typeof la=="function"?vr(Mn,wn,Wt,Tn,nr):er(It,wn,Wt,Tn,nr)},pr=function(It){if(!Pt.length)return null;var Wt=typeof ma=="function"?ma(It):ma;return typeof la=="function"?vr(void 0,Wt,!1,!1,void 0,!0):er({title:Wt},Wt,!1)},Rn=he.createElement("div",{className:"".concat(Dn,"-search"),style:{width:ua},onFocus:function(){Bn(!0)},onBlur:function(){Bn(!1)}},he.createElement(ht,{ref:be,open:on,prefixCls:$n,id:hr,inputElement:null,disabled:yr,autoFocus:Xn,autoComplete:Cr,editable:Qn,activeDescendantId:Dr,value:jn,onKeyDown:ga,onMouseDown:pa,onChange:Ia,onPaste:xa,onCompositionStart:Gr,onCompositionEnd:ra,onBlur:ya,tabIndex:_t,attrs:(0,Fe.Z)(Qt,!0)}),he.createElement("span",{ref:_r,className:"".concat(Dn,"-search-mirror"),"aria-hidden":!0},jn,"\xA0")),Ge=he.createElement(tt.Z,{prefixCls:"".concat(Dn,"-overflow"),data:Pt,renderItem:mr,renderRest:pr,suffix:Rn,itemKey:ot,maxCount:Kr});return he.createElement("span",{className:"".concat(Dn,"-wrap")},Ge,!Pt.length&&!jn&&he.createElement("span",{className:"".concat(Dn,"-placeholder")},Cn))},pn=Ut,bt=function(Qt){var hr=Qt.inputElement,$n=Qt.prefixCls,Pt=Qt.id,on=Qt.inputRef,sr=Qt.disabled,Kt=Qt.autoFocus,be=Qt.autoComplete,Cn=Qt.activeDescendantId,yr=Qt.mode,ln=Qt.open,Ar=Qt.values,Xn=Qt.placeholder,Cr=Qt.tabIndex,Dr=Qt.showSearch,_t=Qt.searchValue,Rr=Qt.activeValue,Kr=Qt.maxLength,qr=Qt.onInputKeyDown,ha=Qt.onInputMouseDown,ma=Qt.onInputChange,la=Qt.onInputPaste,$r=Qt.onInputCompositionStart,wa=Qt.onInputCompositionEnd,Ia=Qt.onInputBlur,xa=Qt.title,ga=he.useState(!1),pa=(0,ge.Z)(ga,2),Gr=pa[0],ra=pa[1],ya=yr==="combobox",_r=ya||Dr,Zr=Ar[0],aa=_t||"";ya&&Rr&&!Gr&&(aa=Rr),he.useEffect(function(){ya&&ra(!1)},[ya,Rr]);var ua=yr!=="combobox"&&!ln&&!Dr?!1:!!aa,Pa=xa===void 0?wt(Zr):xa,Ra=he.useMemo(function(){return Zr?null:he.createElement("span",{className:"".concat($n,"-selection-placeholder"),style:ua?{visibility:"hidden"}:void 0},Xn)},[Zr,ua,Xn,$n]);return he.createElement("span",{className:"".concat($n,"-selection-wrap")},he.createElement("span",{className:"".concat($n,"-selection-search")},he.createElement(ht,{ref:on,prefixCls:$n,id:Pt,open:ln,inputElement:hr,disabled:sr,autoFocus:Kt,autoComplete:be,editable:_r,activeDescendantId:Cn,value:aa,onKeyDown:qr,onMouseDown:ha,onChange:function(qt){ra(!0),ma(qt)},onPaste:la,onCompositionStart:$r,onCompositionEnd:wa,onBlur:Ia,tabIndex:Cr,attrs:(0,Fe.Z)(Qt,!0),maxLength:ya?Kr:void 0})),!ya&&Zr?he.createElement("span",{className:"".concat($n,"-selection-item"),title:Pa,style:ua?{visibility:"hidden"}:void 0},Zr.label):null,Ra)},Yt=bt,Bt=function(Qt,hr){var $n=(0,he.useRef)(null),Pt=(0,he.useRef)(!1),on=Qt.prefixCls,sr=Qt.open,Kt=Qt.mode,be=Qt.showSearch,Cn=Qt.tokenWithEnter,yr=Qt.disabled,ln=Qt.prefix,Ar=Qt.autoClearSearchValue,Xn=Qt.onSearch,Cr=Qt.onSearchSubmit,Dr=Qt.onToggleOpen,_t=Qt.onInputKeyDown,Rr=Qt.onInputBlur,Kr=Qt.domRef;he.useImperativeHandle(hr,function(){return{focus:function(Pa){$n.current.focus(Pa)},blur:function(){$n.current.blur()}}});var qr=Re(0),ha=(0,ge.Z)(qr,2),ma=ha[0],la=ha[1],$r=function(Pa){var Ra=Pa.which,Xa=$n.current instanceof HTMLTextAreaElement;!Xa&&sr&&(Ra===Ye.Z.UP||Ra===Ye.Z.DOWN)&&Pa.preventDefault(),_t&&_t(Pa),Ra===Ye.Z.ENTER&&Kt==="tags"&&!Pt.current&&!sr&&(Cr==null||Cr(Pa.target.value)),!(Xa&&!sr&&~[Ye.Z.UP,Ye.Z.DOWN,Ye.Z.LEFT,Ye.Z.RIGHT].indexOf(Ra))&&lt(Ra)&&Dr(!0)},wa=function(){la(!0)},Ia=(0,he.useRef)(null),xa=function(Pa){Xn(Pa,!0,Pt.current)!==!1&&Dr(!0)},ga=function(){Pt.current=!0},pa=function(Pa){Pt.current=!1,Kt!=="combobox"&&xa(Pa.target.value)},Gr=function(Pa){var Ra=Pa.target.value;if(Cn&&Ia.current&&/[\r\n]/.test(Ia.current)){var Xa=Ia.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Ra=Ra.replace(Xa,Ia.current)}Ia.current=null,xa(Ra)},ra=function(Pa){var Ra=Pa.clipboardData,Xa=Ra==null?void 0:Ra.getData("text");Ia.current=Xa||""},ya=function(Pa){var Ra=Pa.target;if(Ra!==$n.current){var Xa=document.body.style.msTouchAction!==void 0;Xa?setTimeout(function(){$n.current.focus()}):$n.current.focus()}},_r=function(Pa){var Ra=ma();Pa.target!==$n.current&&!Ra&&!(Kt==="combobox"&&yr)&&Pa.preventDefault(),(Kt!=="combobox"&&(!be||!Ra)||!sr)&&(sr&&Ar!==!1&&Xn("",!0,!1),Dr())},Zr={inputRef:$n,onInputKeyDown:$r,onInputMouseDown:wa,onInputChange:Gr,onInputPaste:ra,onInputCompositionStart:ga,onInputCompositionEnd:pa,onInputBlur:Rr},aa=Kt==="multiple"||Kt==="tags"?he.createElement(pn,(0,b.Z)({},Qt,Zr)):he.createElement(Yt,(0,b.Z)({},Qt,Zr));return he.createElement("div",{ref:Kr,className:"".concat(on,"-selector"),onClick:ya,onMouseDown:_r},ln&&he.createElement("div",{className:"".concat(on,"-prefix")},ln),aa)},$t=he.forwardRef(Bt),cn=$t,Ie=E(65030),pe=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],de=function(Qt){var hr=Qt===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:hr,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:hr,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:hr,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:hr,adjustY:1},htmlRegion:"scroll"}}},Ee=function(Qt,hr){var $n=Qt.prefixCls,Pt=Qt.disabled,on=Qt.visible,sr=Qt.children,Kt=Qt.popupElement,be=Qt.animation,Cn=Qt.transitionName,yr=Qt.dropdownStyle,ln=Qt.dropdownClassName,Ar=Qt.direction,Xn=Ar===void 0?"ltr":Ar,Cr=Qt.placement,Dr=Qt.builtinPlacements,_t=Qt.dropdownMatchSelectWidth,Rr=Qt.dropdownRender,Kr=Qt.dropdownAlign,qr=Qt.getPopupContainer,ha=Qt.empty,ma=Qt.getTriggerDOMNode,la=Qt.onPopupVisibleChange,$r=Qt.onPopupMouseEnter,wa=(0,oe.Z)(Qt,pe),Ia="".concat($n,"-dropdown"),xa=Kt;Rr&&(xa=Rr(Kt));var ga=he.useMemo(function(){return Dr||de(_t)},[Dr,_t]),pa=be?"".concat(Ia,"-").concat(be):Cn,Gr=typeof _t=="number",ra=he.useMemo(function(){return Gr?null:_t===!1?"minWidth":"width"},[_t,Gr]),ya=yr;Gr&&(ya=(0,ce.Z)((0,ce.Z)({},ya),{},{width:_t}));var _r=he.useRef(null);return he.useImperativeHandle(hr,function(){return{getPopupElement:function(){var aa;return(aa=_r.current)===null||aa===void 0?void 0:aa.popupElement}}}),he.createElement(Ie.Z,(0,b.Z)({},wa,{showAction:la?["click"]:[],hideAction:la?["click"]:[],popupPlacement:Cr||(Xn==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:ga,prefixCls:Ia,popupTransitionName:pa,popup:he.createElement("div",{onMouseEnter:$r},xa),ref:_r,stretch:ra,popupAlign:Kr,popupVisible:on,getPopupContainer:qr,popupClassName:Ae()(ln,(0,le.Z)({},"".concat(Ia,"-empty"),ha)),popupStyle:ya,getTriggerDOMNode:ma,onPopupVisibleChange:la}),sr)},De=he.forwardRef(Ee),fe=De,Qe=E(40954);function Mt(rn,Qt){var hr=rn.key,$n;return"value"in rn&&($n=rn.value),hr!=null?hr:$n!==void 0?$n:"rc-index-key-".concat(Qt)}function an(rn){return typeof rn!="undefined"&&!Number.isNaN(rn)}function Sn(rn,Qt){var hr=rn||{},$n=hr.label,Pt=hr.value,on=hr.options,sr=hr.groupLabel,Kt=$n||(Qt?"children":"label");return{label:Kt,value:Pt||"value",options:on||"options",groupLabel:sr||Kt}}function gt(rn){var Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},hr=Qt.fieldNames,$n=Qt.childrenAsData,Pt=[],on=Sn(hr,!1),sr=on.label,Kt=on.value,be=on.options,Cn=on.groupLabel;function yr(ln,Ar){Array.isArray(ln)&&ln.forEach(function(Xn){if(Ar||!(be in Xn)){var Cr=Xn[Kt];Pt.push({key:Mt(Xn,Pt.length),groupOption:Ar,data:Xn,label:Xn[sr],value:Cr})}else{var Dr=Xn[Cn];Dr===void 0&&$n&&(Dr=Xn.label),Pt.push({key:Mt(Xn,Pt.length),group:!0,data:Xn,label:Dr}),yr(Xn[be],!0)}})}return yr(rn,!1),Pt}function Ft(rn){var Qt=(0,ce.Z)({},rn);return"props"in Qt||Object.defineProperty(Qt,"props",{get:function(){return(0,Se.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Qt}}),Qt}var Lt=function(Qt,hr,$n){if(!hr||!hr.length)return null;var Pt=!1,on=function Kt(be,Cn){var yr=(0,Qe.Z)(Cn),ln=yr[0],Ar=yr.slice(1);if(!ln)return[be];var Xn=be.split(ln);return Pt=Pt||Xn.length>1,Xn.reduce(function(Cr,Dr){return[].concat((0,ue.Z)(Cr),(0,ue.Z)(Kt(Dr,Ar)))},[]).filter(Boolean)},sr=on(Qt,hr);return Pt?typeof $n!="undefined"?sr.slice(0,$n):sr:null},Jt=he.createContext(null),fn=Jt;function Zt(rn){var Qt=rn.visible,hr=rn.values;if(!Qt)return null;var $n=50;return he.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(hr.slice(0,$n).map(function(Pt){var on=Pt.label,sr=Pt.value;return["number","string"].includes((0,xe.Z)(on))?on:sr}).join(", ")),hr.length>$n?", ...":null)}var mt=["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"],tn=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Ct=function(Qt){return Qt==="tags"||Qt==="multiple"},Rt=he.forwardRef(function(rn,Qt){var hr,$n=rn.id,Pt=rn.prefixCls,on=rn.className,sr=rn.showSearch,Kt=rn.tagRender,be=rn.direction,Cn=rn.omitDomProps,yr=rn.displayValues,ln=rn.onDisplayValuesChange,Ar=rn.emptyOptions,Xn=rn.notFoundContent,Cr=Xn===void 0?"Not Found":Xn,Dr=rn.onClear,_t=rn.mode,Rr=rn.disabled,Kr=rn.loading,qr=rn.getInputElement,ha=rn.getRawInputElement,ma=rn.open,la=rn.defaultOpen,$r=rn.onDropdownVisibleChange,wa=rn.activeValue,Ia=rn.onActiveValueChange,xa=rn.activeDescendantId,ga=rn.searchValue,pa=rn.autoClearSearchValue,Gr=rn.onSearch,ra=rn.onSearchSplit,ya=rn.tokenSeparators,_r=rn.allowClear,Zr=rn.prefix,aa=rn.suffixIcon,ua=rn.clearIcon,Pa=rn.OptionList,Ra=rn.animation,Xa=rn.transitionName,qt=rn.dropdownStyle,Bn=rn.dropdownClassName,Dn=rn.dropdownMatchSelectWidth,jn=rn.dropdownRender,Qn=rn.dropdownAlign,er=rn.placement,vr=rn.builtinPlacements,mr=rn.getPopupContainer,pr=rn.showAction,Rn=pr===void 0?[]:pr,Ge=rn.onFocus,Tt=rn.onBlur,It=rn.onKeyUp,Wt=rn.onKeyDown,Ht=rn.onMouseDown,Mn=(0,oe.Z)(rn,mt),Tn=Ct(_t),wn=(sr!==void 0?sr:Tn)||_t==="combobox",Fn=(0,ce.Z)({},Mn);tn.forEach(function(ei){delete Fn[ei]}),Cn==null||Cn.forEach(function(ei){delete Fn[ei]});var nr=he.useState(!1),Or=(0,ge.Z)(nr,2),br=Or[0],Tr=Or[1];he.useEffect(function(){Tr((0,Ke.Z)())},[]);var Hr=he.useRef(null),jr=he.useRef(null),sa=he.useRef(null),va=he.useRef(null),Aa=he.useRef(null),Sa=he.useRef(!1),La=ke(),Xr=(0,ge.Z)(La,3),Wr=Xr[0],ea=Xr[1],ka=Xr[2];he.useImperativeHandle(Qt,function(){var ei,Ha;return{focus:(ei=va.current)===null||ei===void 0?void 0:ei.focus,blur:(Ha=va.current)===null||Ha===void 0?void 0:Ha.blur,scrollTo:function(Li){var Mi;return(Mi=Aa.current)===null||Mi===void 0?void 0:Mi.scrollTo(Li)},nativeElement:Hr.current||jr.current}});var za=he.useMemo(function(){var ei;if(_t!=="combobox")return ga;var Ha=(ei=yr[0])===null||ei===void 0?void 0:ei.value;return typeof Ha=="string"||typeof Ha=="number"?String(Ha):""},[ga,_t,yr]),sn=_t==="combobox"&&typeof qr=="function"&&qr()||null,Ba=typeof ha=="function"&&ha(),li=(0,qe.x1)(jr,Ba==null||(hr=Ba.props)===null||hr===void 0?void 0:hr.ref),Ui=he.useState(!1),Wi=(0,ge.Z)(Ui,2),So=Wi[0],eo=Wi[1];(0,ct.Z)(function(){eo(!0)},[]);var gi=(0,Oe.Z)(!1,{defaultValue:la,value:ma}),fi=(0,ge.Z)(gi,2),pi=fi[0],Hi=fi[1],vi=So?pi:!1,bi=!Cr&&Ar;(Rr||bi&&vi&&_t==="combobox")&&(vi=!1);var yi=bi?!1:vi,ca=he.useCallback(function(ei){var Ha=ei!==void 0?ei:!vi;Rr||(Hi(Ha),vi!==Ha&&($r==null||$r(Ha)))},[Rr,vi,Hi,$r]),_a=he.useMemo(function(){return(ya||[]).some(function(ei){return[`
`,`\r
`].includes(ei)})},[ya]),Ma=he.useContext(fn)||{},Da=Ma.maxCount,Ja=Ma.rawValues,ui=function(Ha,Pi,Li){if(!(Tn&&an(Da)&&(Ja==null?void 0:Ja.size)>=Da)){var Mi=!0,Zi=Ha;Ia==null||Ia(null);var Zo=Lt(Ha,ya,an(Da)?Da-Ja.size:void 0),Co=Li?null:Zo;return _t!=="combobox"&&Co&&(Zi="",ra==null||ra(Co),ca(!1),Mi=!1),Gr&&za!==Zi&&Gr(Zi,{source:Pi?"typing":"effect"}),Mi}},Ki=function(Ha){!Ha||!Ha.trim()||Gr(Ha,{source:"submit"})};he.useEffect(function(){!vi&&!Tn&&_t!=="combobox"&&ui("",!1,!1)},[vi]),he.useEffect(function(){pi&&Rr&&Hi(!1),Rr&&!Sa.current&&ea(!1)},[Rr]);var ri=Re(),Oi=(0,ge.Z)(ri,2),Ga=Oi[0],ai=Oi[1],uo=he.useRef(!1),ti=function(Ha){var Pi=Ga(),Li=Ha.key,Mi=Li==="Enter";if(Mi&&(_t!=="combobox"&&Ha.preventDefault(),vi||ca(!0)),ai(!!za),Li==="Backspace"&&!Pi&&Tn&&!za&&yr.length){for(var Zi=(0,ue.Z)(yr),Zo=null,Co=Zi.length-1;Co>=0;Co-=1){var ts=Zi[Co];if(!ts.disabled){Zi.splice(Co,1),Zo=ts;break}}Zo&&ln(Zi,{type:"remove",values:[Zo]})}for(var Si=arguments.length,Bi=new Array(Si>1?Si-1:0),xo=1;xo<Si;xo++)Bi[xo-1]=arguments[xo];if(vi&&(!Mi||!uo.current)){var _o;Mi&&(uo.current=!0),(_o=Aa.current)===null||_o===void 0||_o.onKeyDown.apply(_o,[Ha].concat(Bi))}Wt==null||Wt.apply(void 0,[Ha].concat(Bi))},ao=function(Ha){for(var Pi=arguments.length,Li=new Array(Pi>1?Pi-1:0),Mi=1;Mi<Pi;Mi++)Li[Mi-1]=arguments[Mi];if(vi){var Zi;(Zi=Aa.current)===null||Zi===void 0||Zi.onKeyUp.apply(Zi,[Ha].concat(Li))}Ha.key==="Enter"&&(uo.current=!1),It==null||It.apply(void 0,[Ha].concat(Li))},co=function(Ha){var Pi=yr.filter(function(Li){return Li!==Ha});ln(Pi,{type:"remove",values:[Ha]})},to=function(){uo.current=!1},Ii=he.useRef(!1),Ko=function(){ea(!0),Rr||(Ge&&!Ii.current&&Ge.apply(void 0,arguments),Rn.includes("focus")&&ca(!0)),Ii.current=!0},Us=function(){Sa.current=!0,ea(!1,function(){Ii.current=!1,Sa.current=!1,ca(!1)}),!Rr&&(za&&(_t==="tags"?Gr(za,{source:"submit"}):_t==="multiple"&&Gr("",{source:"blur"})),Tt&&Tt.apply(void 0,arguments))},Ni=[];he.useEffect(function(){return function(){Ni.forEach(function(ei){return clearTimeout(ei)}),Ni.splice(0,Ni.length)}},[]);var Lo=function(Ha){var Pi,Li=Ha.target,Mi=(Pi=sa.current)===null||Pi===void 0?void 0:Pi.getPopupElement();if(Mi&&Mi.contains(Li)){var Zi=setTimeout(function(){var Si=Ni.indexOf(Zi);if(Si!==-1&&Ni.splice(Si,1),ka(),!br&&!Mi.contains(document.activeElement)){var Bi;(Bi=va.current)===null||Bi===void 0||Bi.focus()}});Ni.push(Zi)}for(var Zo=arguments.length,Co=new Array(Zo>1?Zo-1:0),ts=1;ts<Zo;ts++)Co[ts-1]=arguments[ts];Ht==null||Ht.apply(void 0,[Ha].concat(Co))},go=he.useState({}),vo=(0,ge.Z)(go,2),Hs=vo[1];function Xs(){Hs({})}var Qs;Ba&&(Qs=function(Ha){ca(Ha)}),Te(function(){var ei;return[Hr.current,(ei=sa.current)===null||ei===void 0?void 0:ei.getPopupElement()]},yi,ca,!!Ba);var ws=he.useMemo(function(){return(0,ce.Z)((0,ce.Z)({},rn),{},{notFoundContent:Cr,open:vi,triggerOpen:yi,id:$n,showSearch:wn,multiple:Tn,toggleOpen:ca})},[rn,Cr,yi,vi,$n,wn,Tn,ca]),Is=!!aa||Kr,Ns;Is&&(Ns=he.createElement(ze,{className:Ae()("".concat(Pt,"-arrow"),(0,le.Z)({},"".concat(Pt,"-arrow-loading"),Kr)),customizeIcon:aa,customizeIconProps:{loading:Kr,searchValue:za,open:vi,focused:Wr,showSearch:wn}}));var hs=function(){var Ha;Dr==null||Dr(),(Ha=va.current)===null||Ha===void 0||Ha.focus(),ln([],{type:"clear",values:yr}),ui("",!1,!1)},ks=Ze(Pt,hs,yr,_r,ua,Rr,za,_t),Js=ks.allowClear,Rs=ks.clearIcon,Es=he.createElement(Pa,{ref:Aa}),ms=Ae()(Pt,on,(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(Pt,"-focused"),Wr),"".concat(Pt,"-multiple"),Tn),"".concat(Pt,"-single"),!Tn),"".concat(Pt,"-allow-clear"),_r),"".concat(Pt,"-show-arrow"),Is),"".concat(Pt,"-disabled"),Rr),"".concat(Pt,"-loading"),Kr),"".concat(Pt,"-open"),vi),"".concat(Pt,"-customize-input"),sn),"".concat(Pt,"-show-search"),wn)),Qi=he.createElement(fe,{ref:sa,disabled:Rr,prefixCls:Pt,visible:yi,popupElement:Es,animation:Ra,transitionName:Xa,dropdownStyle:qt,dropdownClassName:Bn,direction:be,dropdownMatchSelectWidth:Dn,dropdownRender:jn,dropdownAlign:Qn,placement:er,builtinPlacements:vr,getPopupContainer:mr,empty:Ar,getTriggerDOMNode:function(Ha){return jr.current||Ha},onPopupVisibleChange:Qs,onPopupMouseEnter:Xs},Ba?he.cloneElement(Ba,{ref:li}):he.createElement(cn,(0,b.Z)({},rn,{domRef:jr,prefixCls:Pt,inputElement:sn,ref:va,id:$n,prefix:Zr,showSearch:wn,autoClearSearchValue:pa,mode:_t,activeDescendantId:xa,tagRender:Kt,values:yr,open:vi,onToggleOpen:ca,activeValue:wa,searchValue:za,onSearch:ui,onSearchSubmit:Ki,onRemove:co,tokenWithEnter:_a,onInputBlur:to}))),Fi;return Ba?Fi=Qi:Fi=he.createElement("div",(0,b.Z)({className:ms},Fn,{ref:Hr,onMouseDown:Lo,onKeyDown:ti,onKeyUp:ao,onFocus:Ko,onBlur:Us}),he.createElement(Zt,{visible:Wr&&!vi,values:yr}),Qi,Ns,Js&&Rs),he.createElement(Le.Provider,{value:ws},Fi)}),vt=Rt,jt=function(){return null};jt.isSelectOptGroup=!0;var At=jt,Je=function(){return null};Je.isSelectOption=!0;var un=Je,gn=E(80547),Et=E(2738),Ln=E(6790);function ar(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Hn=["disabled","title","children","style","className"];function Vt(rn){return typeof rn=="string"||typeof rn=="number"}var dr=function(Qt,hr){var $n=Pe(),Pt=$n.prefixCls,on=$n.id,sr=$n.open,Kt=$n.multiple,be=$n.mode,Cn=$n.searchValue,yr=$n.toggleOpen,ln=$n.notFoundContent,Ar=$n.onPopupScroll,Xn=he.useContext(fn),Cr=Xn.maxCount,Dr=Xn.flattenOptions,_t=Xn.onActiveValue,Rr=Xn.defaultActiveFirstOption,Kr=Xn.onSelect,qr=Xn.menuItemSelectedIcon,ha=Xn.rawValues,ma=Xn.fieldNames,la=Xn.virtual,$r=Xn.direction,wa=Xn.listHeight,Ia=Xn.listItemHeight,xa=Xn.optionRender,ga="".concat(Pt,"-item"),pa=(0,gn.Z)(function(){return Dr},[sr,Dr],function(pr,Rn){return Rn[0]&&pr[1]!==Rn[1]}),Gr=he.useRef(null),ra=he.useMemo(function(){return Kt&&an(Cr)&&(ha==null?void 0:ha.size)>=Cr},[Kt,Cr,ha==null?void 0:ha.size]),ya=function(Rn){Rn.preventDefault()},_r=function(Rn){var Ge;(Ge=Gr.current)===null||Ge===void 0||Ge.scrollTo(typeof Rn=="number"?{index:Rn}:Rn)},Zr=he.useCallback(function(pr){return be==="combobox"?!1:ha.has(pr)},[be,(0,ue.Z)(ha).toString(),ha.size]),aa=function(Rn){for(var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Tt=pa.length,It=0;It<Tt;It+=1){var Wt=(Rn+It*Ge+Tt)%Tt,Ht=pa[Wt]||{},Mn=Ht.group,Tn=Ht.data;if(!Mn&&!(Tn!=null&&Tn.disabled)&&(Zr(Tn.value)||!ra))return Wt}return-1},ua=he.useState(function(){return aa(0)}),Pa=(0,ge.Z)(ua,2),Ra=Pa[0],Xa=Pa[1],qt=function(Rn){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Xa(Rn);var Tt={source:Ge?"keyboard":"mouse"},It=pa[Rn];if(!It){_t(null,-1,Tt);return}_t(It.value,Rn,Tt)};(0,he.useEffect)(function(){qt(Rr!==!1?aa(0):-1)},[pa.length,Cn]);var Bn=he.useCallback(function(pr){return be==="combobox"?String(pr).toLowerCase()===Cn.toLowerCase():ha.has(pr)},[be,Cn,(0,ue.Z)(ha).toString(),ha.size]);(0,he.useEffect)(function(){var pr=setTimeout(function(){if(!Kt&&sr&&ha.size===1){var Ge=Array.from(ha)[0],Tt=pa.findIndex(function(It){var Wt=It.data;return Cn?String(Wt.value).startsWith(Cn):Wt.value===Ge});Tt!==-1&&(qt(Tt),_r(Tt))}});if(sr){var Rn;(Rn=Gr.current)===null||Rn===void 0||Rn.scrollTo(void 0)}return function(){return clearTimeout(pr)}},[sr,Cn]);var Dn=function(Rn){Rn!==void 0&&Kr(Rn,{selected:!ha.has(Rn)}),Kt||yr(!1)};if(he.useImperativeHandle(hr,function(){return{onKeyDown:function(Rn){var Ge=Rn.which,Tt=Rn.ctrlKey;switch(Ge){case Ye.Z.N:case Ye.Z.P:case Ye.Z.UP:case Ye.Z.DOWN:{var It=0;if(Ge===Ye.Z.UP?It=-1:Ge===Ye.Z.DOWN?It=1:ar()&&Tt&&(Ge===Ye.Z.N?It=1:Ge===Ye.Z.P&&(It=-1)),It!==0){var Wt=aa(Ra+It,It);_r(Wt),qt(Wt,!0)}break}case Ye.Z.TAB:case Ye.Z.ENTER:{var Ht,Mn=pa[Ra];Mn&&!(Mn!=null&&(Ht=Mn.data)!==null&&Ht!==void 0&&Ht.disabled)&&!ra?Dn(Mn.value):Dn(void 0),sr&&Rn.preventDefault();break}case Ye.Z.ESC:yr(!1),sr&&Rn.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Rn){_r(Rn)}}}),pa.length===0)return he.createElement("div",{role:"listbox",id:"".concat(on,"_list"),className:"".concat(ga,"-empty"),onMouseDown:ya},ln);var jn=Object.keys(ma).map(function(pr){return ma[pr]}),Qn=function(Rn){return Rn.label};function er(pr,Rn){var Ge=pr.group;return{role:Ge?"presentation":"option",id:"".concat(on,"_list_").concat(Rn)}}var vr=function(Rn){var Ge=pa[Rn];if(!Ge)return null;var Tt=Ge.data||{},It=Tt.value,Wt=Ge.group,Ht=(0,Fe.Z)(Tt,!0),Mn=Qn(Ge);return Ge?he.createElement("div",(0,b.Z)({"aria-label":typeof Mn=="string"&&!Wt?Mn:null},Ht,{key:Rn},er(Ge,Rn),{"aria-selected":Bn(It)}),It):null},mr={role:"listbox",id:"".concat(on,"_list")};return he.createElement(he.Fragment,null,la&&he.createElement("div",(0,b.Z)({},mr,{style:{height:0,width:0,overflow:"hidden"}}),vr(Ra-1),vr(Ra),vr(Ra+1)),he.createElement(Ln.Z,{itemKey:"key",ref:Gr,data:pa,height:wa,itemHeight:Ia,fullHeight:!1,onMouseDown:ya,onScroll:Ar,virtual:la,direction:$r,innerProps:la?null:mr},function(pr,Rn){var Ge=pr.group,Tt=pr.groupOption,It=pr.data,Wt=pr.label,Ht=pr.value,Mn=It.key;if(Ge){var Tn,wn=(Tn=It.title)!==null&&Tn!==void 0?Tn:Vt(Wt)?Wt.toString():void 0;return he.createElement("div",{className:Ae()(ga,"".concat(ga,"-group"),It.className),title:wn},Wt!==void 0?Wt:Mn)}var Fn=It.disabled,nr=It.title,Or=It.children,br=It.style,Tr=It.className,Hr=(0,oe.Z)(It,Hn),jr=(0,Et.Z)(Hr,jn),sa=Zr(Ht),va=Fn||!sa&&ra,Aa="".concat(ga,"-option"),Sa=Ae()(ga,Aa,Tr,(0,le.Z)((0,le.Z)((0,le.Z)((0,le.Z)({},"".concat(Aa,"-grouped"),Tt),"".concat(Aa,"-active"),Ra===Rn&&!va),"".concat(Aa,"-disabled"),va),"".concat(Aa,"-selected"),sa)),La=Qn(pr),Xr=!qr||typeof qr=="function"||sa,Wr=typeof La=="number"?La:La||Ht,ea=Vt(Wr)?Wr.toString():void 0;return nr!==void 0&&(ea=nr),he.createElement("div",(0,b.Z)({},(0,Fe.Z)(jr),la?{}:er(pr,Rn),{"aria-selected":Bn(Ht),className:Sa,title:ea,onMouseMove:function(){Ra===Rn||va||qt(Rn)},onClick:function(){va||Dn(Ht)},style:br}),he.createElement("div",{className:"".concat(Aa,"-content")},typeof xa=="function"?xa(pr,{index:Rn}):Wr),he.isValidElement(qr)||sa,Xr&&he.createElement(ze,{className:"".concat(ga,"-option-state"),customizeIcon:qr,customizeIconProps:{value:Ht,disabled:va,isSelected:sa}},sa?"\u2713":null))}))},qn=he.forwardRef(dr),xn=qn,zn=function(rn,Qt){var hr=he.useRef({values:new Map,options:new Map}),$n=he.useMemo(function(){var on=hr.current,sr=on.values,Kt=on.options,be=rn.map(function(ln){if(ln.label===void 0){var Ar;return(0,ce.Z)((0,ce.Z)({},ln),{},{label:(Ar=sr.get(ln.value))===null||Ar===void 0?void 0:Ar.label})}return ln}),Cn=new Map,yr=new Map;return be.forEach(function(ln){Cn.set(ln.value,ln),yr.set(ln.value,Qt.get(ln.value)||Kt.get(ln.value))}),hr.current.values=Cn,hr.current.options=yr,be},[rn,Qt]),Pt=he.useCallback(function(on){return Qt.get(on)||hr.current.options.get(on)},[Qt]);return[$n,Pt]};function cr(rn,Qt){return kt(rn).join("").toUpperCase().includes(Qt)}var ir=function(rn,Qt,hr,$n,Pt){return he.useMemo(function(){if(!hr||$n===!1)return rn;var on=Qt.options,sr=Qt.label,Kt=Qt.value,be=[],Cn=typeof $n=="function",yr=hr.toUpperCase(),ln=Cn?$n:function(Xn,Cr){return Pt?cr(Cr[Pt],yr):Cr[on]?cr(Cr[sr!=="children"?sr:"label"],yr):cr(Cr[Kt],yr)},Ar=Cn?function(Xn){return Ft(Xn)}:function(Xn){return Xn};return rn.forEach(function(Xn){if(Xn[on]){var Cr=ln(hr,Ar(Xn));if(Cr)be.push(Xn);else{var Dr=Xn[on].filter(function(_t){return ln(hr,Ar(_t))});Dr.length&&be.push((0,ce.Z)((0,ce.Z)({},Xn),{},(0,le.Z)({},on,Dr)))}return}ln(hr,Ar(Xn))&&be.push(Xn)}),be},[rn,$n,Pt,hr,Qt])},Gn=E(6551),Yn=E(11592),nn=["children","value"],An=["children"];function Nn(rn){var Qt=rn,hr=Qt.key,$n=Qt.props,Pt=$n.children,on=$n.value,sr=(0,oe.Z)($n,nn);return(0,ce.Z)({key:hr,value:on!==void 0?on:hr,children:Pt},sr)}function In(rn){var Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Yn.Z)(rn).map(function(hr,$n){if(!he.isValidElement(hr)||!hr.type)return null;var Pt=hr,on=Pt.type.isSelectOptGroup,sr=Pt.key,Kt=Pt.props,be=Kt.children,Cn=(0,oe.Z)(Kt,An);return Qt||!on?Nn(hr):(0,ce.Z)((0,ce.Z)({key:"__RC_SELECT_GRP__".concat(sr===null?$n:sr,"__"),label:sr},Cn),{},{options:In(be)})}).filter(function(hr){return hr})}var xr=function(Qt,hr,$n,Pt,on){return he.useMemo(function(){var sr=Qt,Kt=!Qt;Kt&&(sr=In(hr));var be=new Map,Cn=new Map,yr=function(Xn,Cr,Dr){Dr&&typeof Dr=="string"&&Xn.set(Cr[Dr],Cr)},ln=function Ar(Xn){for(var Cr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Dr=0;Dr<Xn.length;Dr+=1){var _t=Xn[Dr];!_t[$n.options]||Cr?(be.set(_t[$n.value],_t),yr(Cn,_t,$n.label),yr(Cn,_t,Pt),yr(Cn,_t,on)):Ar(_t[$n.options],!0)}};return ln(sr),{options:sr,valueOptions:be,labelOptions:Cn}},[Qt,hr,$n,Pt,on])},gr=xr;function or(rn){var Qt=he.useRef();Qt.current=rn;var hr=he.useCallback(function(){return Qt.current.apply(Qt,arguments)},[]);return hr}function Lr(rn){var Qt=rn.mode,hr=rn.options,$n=rn.children,Pt=rn.backfill,on=rn.allowClear,sr=rn.placeholder,Kt=rn.getInputElement,be=rn.showSearch,Cn=rn.onSearch,yr=rn.defaultOpen,ln=rn.autoFocus,Ar=rn.labelInValue,Xn=rn.value,Cr=rn.inputValue,Dr=rn.optionLabelProp,_t=isMultiple(Qt),Rr=be!==void 0?be:_t||Qt==="combobox",Kr=hr||convertChildrenToData($n);if(warning(Qt!=="tags"||Kr.every(function(la){return!la.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Qt==="tags"||Qt==="combobox"){var qr=Kr.some(function(la){return la.options?la.options.some(function($r){return typeof("value"in $r?$r.value:$r.key)=="number"}):typeof("value"in la?la.value:la.key)=="number"});warning(!qr,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Qt!=="combobox"||!Dr,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Qt==="combobox"||!Pt,"`backfill` only works with `combobox` mode."),warning(Qt==="combobox"||!Kt,"`getInputElement` only work with `combobox` mode."),noteOnce(Qt!=="combobox"||!Kt||!on||!sr,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Cn&&!Rr&&Qt!=="combobox"&&Qt!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!yr||ln,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Xn!=null){var ha=toArray(Xn);warning(!Ar||ha.every(function(la){return _typeof(la)==="object"&&("key"in la||"value"in la)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!_t||Array.isArray(Xn),"`value` should be array when `mode` is `multiple` or `tags`")}if($n){var ma=null;toNodeArray($n).some(function(la){if(!React.isValidElement(la)||!la.type)return!1;var $r=la,wa=$r.type;if(wa.isSelectOption)return!1;if(wa.isSelectOptGroup){var Ia=toNodeArray(la.props.children).every(function(xa){return!React.isValidElement(xa)||!la.type||xa.type.isSelectOption?!0:(ma=xa.type,!1)});return!Ia}return ma=wa,!0}),ma&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(ma.displayName||ma.name||ma,"`.")),warning(Cr===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Br(rn,Qt){if(rn){var hr=function $n(Pt){for(var on=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,sr=0;sr<Pt.length;sr++){var Kt=Pt[sr];if(Kt[Qt==null?void 0:Qt.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!on&&Array.isArray(Kt[Qt==null?void 0:Qt.options])&&$n(Kt[Qt==null?void 0:Qt.options],!0))break}};hr(rn)}}var Pr=null,wr=["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"],Ir=["inputValue"];function lr(rn){return!rn||(0,xe.Z)(rn)!=="object"}var _n=he.forwardRef(function(rn,Qt){var hr=rn.id,$n=rn.mode,Pt=rn.prefixCls,on=Pt===void 0?"rc-select":Pt,sr=rn.backfill,Kt=rn.fieldNames,be=rn.inputValue,Cn=rn.searchValue,yr=rn.onSearch,ln=rn.autoClearSearchValue,Ar=ln===void 0?!0:ln,Xn=rn.onSelect,Cr=rn.onDeselect,Dr=rn.dropdownMatchSelectWidth,_t=Dr===void 0?!0:Dr,Rr=rn.filterOption,Kr=rn.filterSort,qr=rn.optionFilterProp,ha=rn.optionLabelProp,ma=rn.options,la=rn.optionRender,$r=rn.children,wa=rn.defaultActiveFirstOption,Ia=rn.menuItemSelectedIcon,xa=rn.virtual,ga=rn.direction,pa=rn.listHeight,Gr=pa===void 0?200:pa,ra=rn.listItemHeight,ya=ra===void 0?20:ra,_r=rn.labelRender,Zr=rn.value,aa=rn.defaultValue,ua=rn.labelInValue,Pa=rn.onChange,Ra=rn.maxCount,Xa=(0,oe.Z)(rn,wr),qt=(0,Gn.ZP)(hr),Bn=Ct($n),Dn=!!(!ma&&$r),jn=he.useMemo(function(){return Rr===void 0&&$n==="combobox"?!1:Rr},[Rr,$n]),Qn=he.useMemo(function(){return Sn(Kt,Dn)},[JSON.stringify(Kt),Dn]),er=(0,Oe.Z)("",{value:Cn!==void 0?Cn:be,postState:function(_a){return _a||""}}),vr=(0,ge.Z)(er,2),mr=vr[0],pr=vr[1],Rn=gr(ma,$r,Qn,qr,ha),Ge=Rn.valueOptions,Tt=Rn.labelOptions,It=Rn.options,Wt=he.useCallback(function(ca){var _a=kt(ca);return _a.map(function(Ma){var Da,Ja,ui,Ki,ri;if(lr(Ma))Da=Ma;else{var Oi;ui=Ma.key,Ja=Ma.label,Da=(Oi=Ma.value)!==null&&Oi!==void 0?Oi:ui}var Ga=Ge.get(Da);if(Ga){var ai;if(Ja===void 0&&(Ja=Ga==null?void 0:Ga[ha||Qn.label]),ui===void 0&&(ui=(ai=Ga==null?void 0:Ga.key)!==null&&ai!==void 0?ai:Da),Ki=Ga==null?void 0:Ga.disabled,ri=Ga==null?void 0:Ga.title,0)var uo}return{label:Ja,value:Da,key:ui,disabled:Ki,title:ri}})},[Qn,ha,Ge]),Ht=(0,Oe.Z)(aa,{value:Zr}),Mn=(0,ge.Z)(Ht,2),Tn=Mn[0],wn=Mn[1],Fn=he.useMemo(function(){var ca,_a=Bn&&Tn===null?[]:Tn,Ma=Wt(_a);return $n==="combobox"&&je((ca=Ma[0])===null||ca===void 0?void 0:ca.value)?[]:Ma},[Tn,Wt,$n,Bn]),nr=zn(Fn,Ge),Or=(0,ge.Z)(nr,2),br=Or[0],Tr=Or[1],Hr=he.useMemo(function(){if(!$n&&br.length===1){var ca=br[0];if(ca.value===null&&(ca.label===null||ca.label===void 0))return[]}return br.map(function(_a){var Ma;return(0,ce.Z)((0,ce.Z)({},_a),{},{label:(Ma=typeof _r=="function"?_r(_a):_a.label)!==null&&Ma!==void 0?Ma:_a.value})})},[$n,br,_r]),jr=he.useMemo(function(){return new Set(br.map(function(ca){return ca.value}))},[br]);he.useEffect(function(){if($n==="combobox"){var ca,_a=(ca=br[0])===null||ca===void 0?void 0:ca.value;pr(nt(_a)?String(_a):"")}},[br]);var sa=or(function(ca,_a){var Ma=_a!=null?_a:ca;return(0,le.Z)((0,le.Z)({},Qn.value,ca),Qn.label,Ma)}),va=he.useMemo(function(){if($n!=="tags")return It;var ca=(0,ue.Z)(It),_a=function(Da){return Ge.has(Da)};return(0,ue.Z)(br).sort(function(Ma,Da){return Ma.value<Da.value?-1:1}).forEach(function(Ma){var Da=Ma.value;_a(Da)||ca.push(sa(Da,Ma.label))}),ca},[sa,It,Ge,br,$n]),Aa=ir(va,Qn,mr,jn,qr),Sa=he.useMemo(function(){return $n!=="tags"||!mr||Aa.some(function(ca){return ca[qr||"value"]===mr})||Aa.some(function(ca){return ca[Qn.value]===mr})?Aa:[sa(mr)].concat((0,ue.Z)(Aa))},[sa,qr,$n,Aa,mr,Qn]),La=function ca(_a){var Ma=(0,ue.Z)(_a).sort(function(Da,Ja){return Kr(Da,Ja,{searchValue:mr})});return Ma.map(function(Da){return Array.isArray(Da.options)?(0,ce.Z)((0,ce.Z)({},Da),{},{options:Da.options.length>0?ca(Da.options):Da.options}):Da})},Xr=he.useMemo(function(){return Kr?La(Sa):Sa},[Sa,Kr,mr]),Wr=he.useMemo(function(){return gt(Xr,{fieldNames:Qn,childrenAsData:Dn})},[Xr,Qn,Dn]),ea=function(_a){var Ma=Wt(_a);if(wn(Ma),Pa&&(Ma.length!==br.length||Ma.some(function(ui,Ki){var ri;return((ri=br[Ki])===null||ri===void 0?void 0:ri.value)!==(ui==null?void 0:ui.value)}))){var Da=ua?Ma:Ma.map(function(ui){return ui.value}),Ja=Ma.map(function(ui){return Ft(Tr(ui.value))});Pa(Bn?Da:Da[0],Bn?Ja:Ja[0])}},ka=he.useState(null),za=(0,ge.Z)(ka,2),sn=za[0],Ba=za[1],li=he.useState(0),Ui=(0,ge.Z)(li,2),Wi=Ui[0],So=Ui[1],eo=wa!==void 0?wa:$n!=="combobox",gi=he.useCallback(function(ca,_a){var Ma=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Da=Ma.source,Ja=Da===void 0?"keyboard":Da;So(_a),sr&&$n==="combobox"&&ca!==null&&Ja==="keyboard"&&Ba(String(ca))},[sr,$n]),fi=function(_a,Ma,Da){var Ja=function(){var co,to=Tr(_a);return[ua?{label:to==null?void 0:to[Qn.label],value:_a,key:(co=to==null?void 0:to.key)!==null&&co!==void 0?co:_a}:_a,Ft(to)]};if(Ma&&Xn){var ui=Ja(),Ki=(0,ge.Z)(ui,2),ri=Ki[0],Oi=Ki[1];Xn(ri,Oi)}else if(!Ma&&Cr&&Da!=="clear"){var Ga=Ja(),ai=(0,ge.Z)(Ga,2),uo=ai[0],ti=ai[1];Cr(uo,ti)}},pi=or(function(ca,_a){var Ma,Da=Bn?_a.selected:!0;Da?Ma=Bn?[].concat((0,ue.Z)(br),[ca]):[ca]:Ma=br.filter(function(Ja){return Ja.value!==ca}),ea(Ma),fi(ca,Da),$n==="combobox"?Ba(""):(!Ct||Ar)&&(pr(""),Ba(""))}),Hi=function(_a,Ma){ea(_a);var Da=Ma.type,Ja=Ma.values;(Da==="remove"||Da==="clear")&&Ja.forEach(function(ui){fi(ui.value,!1,Da)})},vi=function(_a,Ma){if(pr(_a),Ba(null),Ma.source==="submit"){var Da=(_a||"").trim();if(Da){var Ja=Array.from(new Set([].concat((0,ue.Z)(jr),[Da])));ea(Ja),fi(Da,!0),pr("")}return}Ma.source!=="blur"&&($n==="combobox"&&ea(_a),yr==null||yr(_a))},bi=function(_a){var Ma=_a;$n!=="tags"&&(Ma=_a.map(function(Ja){var ui=Tt.get(Ja);return ui==null?void 0:ui.value}).filter(function(Ja){return Ja!==void 0}));var Da=Array.from(new Set([].concat((0,ue.Z)(jr),(0,ue.Z)(Ma))));ea(Da),Da.forEach(function(Ja){fi(Ja,!0)})},yi=he.useMemo(function(){var ca=xa!==!1&&_t!==!1;return(0,ce.Z)((0,ce.Z)({},Rn),{},{flattenOptions:Wr,onActiveValue:gi,defaultActiveFirstOption:eo,onSelect:pi,menuItemSelectedIcon:Ia,rawValues:jr,fieldNames:Qn,virtual:ca,direction:ga,listHeight:Gr,listItemHeight:ya,childrenAsData:Dn,maxCount:Ra,optionRender:la})},[Ra,Rn,Wr,gi,eo,pi,Ia,jr,Qn,xa,_t,ga,Gr,ya,Dn,la]);return he.createElement(fn.Provider,{value:yi},he.createElement(vt,(0,b.Z)({},Xa,{id:qt,prefixCls:on,ref:Qt,omitDomProps:Ir,mode:$n,displayValues:Hr,onDisplayValuesChange:Hi,direction:ga,searchValue:mr,onSearch:vi,autoClearSearchValue:Ar,onSearchSplit:bi,dropdownMatchSelectWidth:_t,OptionList:xn,emptyOptions:!Wr.length,activeValue:sn,activeDescendantId:"".concat(qt,"_list_").concat(Wi)})))}),Sr=_n;Sr.Option=un,Sr.OptGroup=At;var kr=Sr,Ur=kr},63158:function(me,ne,E){"use strict";var b=E(32855),ue=E(74430),le=E(11913),ce=E(43079),ge=E(59301),oe=E(92310),xe=E.n(oe),Oe=E(18929),Se=E(10228),he=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Ve=ge.forwardRef(function(Ae,ct){var Ke,qe=Ae.prefixCls,Me=qe===void 0?"rc-switch":qe,ze=Ae.className,Ze=Ae.checked,Le=Ae.defaultChecked,Pe=Ae.disabled,ke=Ae.loadingIcon,Re=Ae.checkedChildren,Te=Ae.unCheckedChildren,Ye=Ae.onClick,lt=Ae.onChange,Fe=Ae.onKeyDown,tt=(0,ce.Z)(Ae,he),$e=(0,Oe.Z)(!1,{value:Ze,defaultValue:Le}),Ue=(0,le.Z)($e,2),Xe=Ue[0],et=Ue[1];function rt(Gt,nt){var je=Xe;return Pe||(je=Gt,et(je),lt==null||lt(je,nt)),je}function ht(Gt){Gt.which===Se.Z.LEFT?rt(!1,Gt):Gt.which===Se.Z.RIGHT&&rt(!0,Gt),Fe==null||Fe(Gt)}function kt(Gt){var nt=rt(!Xe,Gt);Ye==null||Ye(nt,Gt)}var St=xe()(Me,ze,(Ke={},(0,ue.Z)(Ke,"".concat(Me,"-checked"),Xe),(0,ue.Z)(Ke,"".concat(Me,"-disabled"),Pe),Ke));return ge.createElement("button",(0,b.Z)({},tt,{type:"button",role:"switch","aria-checked":Xe,disabled:Pe,className:St,ref:ct,onKeyDown:ht,onClick:kt}),ke,ge.createElement("span",{className:"".concat(Me,"-inner")},ge.createElement("span",{className:"".concat(Me,"-inner-checked")},Re),ge.createElement("span",{className:"".concat(Me,"-inner-unchecked")},Te)))});Ve.displayName="Switch",ne.Z=Ve},86351:function(me,ne,E){"use strict";E.d(ne,{R:function(){return ue},w:function(){return b}});var b={},ue="rc-table-internal-hook"},97347:function(me,ne,E){"use strict";E.d(ne,{L:function(){return Me},Z:function(){return ke}});var b=E(11913),ue=E(74430),le=E(3300),ce=E(34666),ge=E(27247),oe=E(43079),xe=E(11592),Oe=E(48736),Se=E(59301),he=E(86351),Ve=E(54451);function Ae(Re){var Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof Te=="number"?Te:Te.endsWith("%")?Re*parseFloat(Te)/100:null}function ct(Re,Te,Ye){return Se.useMemo(function(){if(Te&&Te>0){var lt=0,Fe=0;Re.forEach(function(kt){var St=Ae(Te,kt.width);St?lt+=St:Fe+=1});var tt=Math.max(Te,Ye),$e=Math.max(tt-lt,Fe),Ue=Fe,Xe=$e/Fe,et=0,rt=Re.map(function(kt){var St=(0,ge.Z)({},kt),Gt=Ae(Te,St.width);if(Gt)St.width=Gt;else{var nt=Math.floor(Xe);St.width=Ue===1?$e:nt,$e-=nt,Ue-=1}return et+=St.width,St});if(et<tt){var ht=tt/et;$e=tt,rt.forEach(function(kt,St){var Gt=Math.floor(kt.width*ht);kt.width=St===rt.length-1?$e:Gt,$e-=Gt})}return[rt,Math.max(et,tt)]}return[Re,Te]},[Re,Te,Ye])}var Ke=["children"],qe=["fixed"];function Me(Re){return(0,xe.Z)(Re).filter(function(Te){return Se.isValidElement(Te)}).map(function(Te){var Ye=Te.key,lt=Te.props,Fe=lt.children,tt=(0,oe.Z)(lt,Ke),$e=(0,ge.Z)({key:Ye},tt);return Fe&&($e.children=Me(Fe)),$e})}function ze(Re){return Re.filter(function(Te){return Te&&(0,ce.Z)(Te)==="object"&&!Te.hidden}).map(function(Te){var Ye=Te.children;return Ye&&Ye.length>0?(0,ge.Z)((0,ge.Z)({},Te),{},{children:ze(Ye)}):Te})}function Ze(Re){var Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Re.filter(function(Ye){return Ye&&(0,ce.Z)(Ye)==="object"}).reduce(function(Ye,lt,Fe){var tt=lt.fixed,$e=tt===!0?"left":tt,Ue="".concat(Te,"-").concat(Fe),Xe=lt.children;return Xe&&Xe.length>0?[].concat((0,le.Z)(Ye),(0,le.Z)(Ze(Xe,Ue).map(function(et){return(0,ge.Z)({fixed:$e},et)}))):[].concat((0,le.Z)(Ye),[(0,ge.Z)((0,ge.Z)({key:Ue},lt),{},{fixed:$e})])},[])}function Le(Re){return Re.map(function(Te){var Ye=Te.fixed,lt=(0,oe.Z)(Te,qe),Fe=Ye;return Ye==="left"?Fe="right":Ye==="right"&&(Fe="left"),(0,ge.Z)({fixed:Fe},lt)})}function Pe(Re,Te){var Ye=Re.prefixCls,lt=Re.columns,Fe=Re.children,tt=Re.expandable,$e=Re.expandedKeys,Ue=Re.columnTitle,Xe=Re.getRowKey,et=Re.onTriggerExpand,rt=Re.expandIcon,ht=Re.rowExpandable,kt=Re.expandIconColumnIndex,St=Re.direction,Gt=Re.expandRowByClick,nt=Re.columnWidth,je=Re.fixed,Be=Re.scrollWidth,wt=Re.clientWidth,Ot=Se.useMemo(function(){var cn=lt||Me(Fe)||[];return ze(cn.slice())},[lt,Fe]),ot=Se.useMemo(function(){if(tt){var cn=Ot.slice();if(!cn.includes(he.w)){var Ie=kt||0;Ie>=0&&(Ie||je==="left"||!je)&&cn.splice(Ie,0,he.w),je==="right"&&cn.splice(Ot.length,0,he.w)}var pe=cn.indexOf(he.w);cn=cn.filter(function(fe,Qe){return fe!==he.w||Qe===pe});var de=Ot[pe],Ee;je?Ee=je:Ee=de?de.fixed:null;var De=(0,ue.Z)((0,ue.Z)((0,ue.Z)((0,ue.Z)((0,ue.Z)((0,ue.Z)({},Ve.v,{className:"".concat(Ye,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",Ue),"fixed",Ee),"className","".concat(Ye,"-row-expand-icon-cell")),"width",nt),"render",function(Qe,Mt,an){var Sn=Xe(Mt,an),gt=$e.has(Sn),Ft=ht?ht(Mt):!0,Lt=rt({prefixCls:Ye,expanded:gt,expandable:Ft,record:Mt,onExpand:et});return Gt?Se.createElement("span",{onClick:function(fn){return fn.stopPropagation()}},Lt):Lt});return cn.map(function(fe){return fe===he.w?De:fe})}return Ot.filter(function(fe){return fe!==he.w})},[tt,Ot,Xe,$e,rt,St]),zt=Se.useMemo(function(){var cn=ot;return Te&&(cn=Te(cn)),cn.length||(cn=[{render:function(){return null}}]),cn},[Te,ot,St]),Ut=Se.useMemo(function(){return St==="rtl"?Le(Ze(zt)):Ze(zt)},[zt,St,Be]),pn=Se.useMemo(function(){for(var cn=-1,Ie=Ut.length-1;Ie>=0;Ie-=1){var pe=Ut[Ie].fixed;if(pe==="left"||pe===!0){cn=Ie;break}}if(cn>=0)for(var de=0;de<=cn;de+=1){var Ee=Ut[de].fixed;if(Ee!=="left"&&Ee!==!0)return!0}var De=Ut.findIndex(function(Mt){var an=Mt.fixed;return an==="right"});if(De>=0)for(var fe=De;fe<Ut.length;fe+=1){var Qe=Ut[fe].fixed;if(Qe!=="right")return!0}return!1},[Ut]),bt=ct(Ut,Be,wt),Yt=(0,b.Z)(bt,2),Bt=Yt[0],$t=Yt[1];return[zt,Bt,$t,pn]}var ke=Pe},4030:function(me,ne,E){"use strict";E.d(ne,{w2:function(){return b.w},vP:function(){return Vt.v},RQ:function(){return b.R},ER:function(){return Sn},Q$:function(){return Rr},TN:function(){return Pa}});var b=E(86351),ue=E(11913),le=E(6089),ce=E(34280),ge=E(13697),oe=E(59301),xe=E(4676);function Oe(qt){var Bn=oe.createContext(void 0),Dn=function(Qn){var er=Qn.value,vr=Qn.children,mr=oe.useRef(er);mr.current=er;var pr=oe.useState(function(){return{getValue:function(){return mr.current},listeners:new Set}}),Rn=(0,ue.Z)(pr,1),Ge=Rn[0];return(0,ce.Z)(function(){(0,xe.unstable_batchedUpdates)(function(){Ge.listeners.forEach(function(Tt){Tt(er)})})},[er]),oe.createElement(Bn.Provider,{value:Ge},vr)};return{Context:Bn,Provider:Dn,defaultValue:qt}}function Se(qt,Bn){var Dn=(0,le.Z)(typeof Bn=="function"?Bn:function(Tt){if(Bn===void 0)return Tt;if(!Array.isArray(Bn))return Tt[Bn];var It={};return Bn.forEach(function(Wt){It[Wt]=Tt[Wt]}),It}),jn=oe.useContext(qt==null?void 0:qt.Context),Qn=jn||{},er=Qn.listeners,vr=Qn.getValue,mr=oe.useRef();mr.current=Dn(jn?vr():qt==null?void 0:qt.defaultValue);var pr=oe.useState({}),Rn=(0,ue.Z)(pr,2),Ge=Rn[1];return(0,ce.Z)(function(){if(!jn)return;function Tt(It){var Wt=Dn(It);(0,ge.Z)(mr.current,Wt,!0)||Ge({})}return er.add(Tt),function(){er.delete(Tt)}},[jn]),mr.current}var he=E(32855),Ve=E(8654);function Ae(){var qt=oe.createContext(null);function Bn(){return oe.useContext(qt)}function Dn(Qn,er){var vr=(0,Ve.Yr)(Qn),mr=function(Rn,Ge){var Tt=vr?{ref:Ge}:{},It=oe.useRef(0),Wt=oe.useRef(Rn),Ht=Bn();return Ht!==null?oe.createElement(Qn,(0,he.Z)({},Rn,Tt)):((!er||er(Wt.current,Rn))&&(It.current+=1),Wt.current=Rn,oe.createElement(qt.Provider,{value:It.current},oe.createElement(Qn,(0,he.Z)({},Rn,Tt))))};return vr?oe.forwardRef(mr):mr}function jn(Qn,er){var vr=(0,Ve.Yr)(Qn),mr=function(Rn,Ge){var Tt=vr?{ref:Ge}:{};return Bn(),oe.createElement(Qn,(0,he.Z)({},Rn,Tt))};return vr?oe.memo(oe.forwardRef(mr),er):oe.memo(mr,er)}return{makeImmutable:Dn,responseImmutable:jn,useImmutableMark:Bn}}var ct=Ae(),Ke=ct.makeImmutable,qe=ct.responseImmutable,Me=ct.useImmutableMark,ze=Ae(),Ze=ze.makeImmutable,Le=ze.responseImmutable,Pe=ze.useImmutableMark,ke=Oe(),Re=ke;function Te(qt,Bn){var Dn=React.useRef(0);Dn.current+=1;var jn=React.useRef(qt),Qn=[];Object.keys(qt||{}).map(function(vr){var mr;(qt==null?void 0:qt[vr])!==((mr=jn.current)===null||mr===void 0?void 0:mr[vr])&&Qn.push(vr)}),jn.current=qt;var er=React.useRef([]);return Qn.length&&(er.current=Qn),React.useDebugValue(Dn.current),React.useDebugValue(er.current.join(", ")),Bn&&console.log("".concat(Bn,":"),Dn.current,er.current),Dn.current}var Ye=null,lt=null,Fe=E(34666),tt=E(27247),$e=E(74430),Ue=E(92310),Xe=E.n(Ue),et=E(80547),rt=E(97938),ht=E(48736),kt=oe.createContext({renderWithProps:!1}),St=kt,Gt="RC_TABLE_KEY";function nt(qt){return qt==null?[]:Array.isArray(qt)?qt:[qt]}function je(qt){var Bn=[],Dn={};return qt.forEach(function(jn){for(var Qn=jn||{},er=Qn.key,vr=Qn.dataIndex,mr=er||nt(vr).join("-")||Gt;Dn[mr];)mr="".concat(mr,"_next");Dn[mr]=!0,Bn.push(mr)}),Bn}function Be(qt){return qt!=null}function wt(qt){return typeof qt=="number"&&!Number.isNaN(qt)}function Ot(qt){return qt&&(0,Fe.Z)(qt)==="object"&&!Array.isArray(qt)&&!oe.isValidElement(qt)}function ot(qt,Bn,Dn,jn,Qn,er){var vr=oe.useContext(St),mr=Pe(),pr=(0,et.Z)(function(){if(Be(jn))return[jn];var Rn=Bn==null||Bn===""?[]:Array.isArray(Bn)?Bn:[Bn],Ge=(0,rt.Z)(qt,Rn),Tt=Ge,It=void 0;if(Qn){var Wt=Qn(Ge,qt,Dn);Ot(Wt)?(Tt=Wt.children,It=Wt.props,vr.renderWithProps=!0):Tt=Wt}return[Tt,It]},[mr,qt,jn,Bn,Qn,Dn],function(Rn,Ge){if(er){var Tt=(0,ue.Z)(Rn,2),It=Tt[1],Wt=(0,ue.Z)(Ge,2),Ht=Wt[1];return er(Ht,It)}return vr.renderWithProps?!0:!(0,ge.Z)(Rn,Ge,!0)});return pr}function zt(qt,Bn,Dn,jn){var Qn=qt+Bn-1;return qt<=jn&&Qn>=Dn}function Ut(qt,Bn){return Se(Re,function(Dn){var jn=zt(qt,Bn||1,Dn.hoverStartRow,Dn.hoverEndRow);return[jn,Dn.onHover]})}var pn=E(70425),bt=function(Bn){var Dn=Bn.ellipsis,jn=Bn.rowType,Qn=Bn.children,er,vr=Dn===!0?{showTitle:!0}:Dn;return vr&&(vr.showTitle||jn==="header")&&(typeof Qn=="string"||typeof Qn=="number"?er=Qn.toString():oe.isValidElement(Qn)&&typeof Qn.props.children=="string"&&(er=Qn.props.children)),er};function Yt(qt){var Bn,Dn,jn,Qn,er,vr,mr,pr,Rn=qt.component,Ge=qt.children,Tt=qt.ellipsis,It=qt.scope,Wt=qt.prefixCls,Ht=qt.className,Mn=qt.align,Tn=qt.record,wn=qt.render,Fn=qt.dataIndex,nr=qt.renderIndex,Or=qt.shouldCellUpdate,br=qt.index,Tr=qt.rowType,Hr=qt.colSpan,jr=qt.rowSpan,sa=qt.fixLeft,va=qt.fixRight,Aa=qt.firstFixLeft,Sa=qt.lastFixLeft,La=qt.firstFixRight,Xr=qt.lastFixRight,Wr=qt.appendNode,ea=qt.additionalProps,ka=ea===void 0?{}:ea,za=qt.isSticky,sn="".concat(Wt,"-cell"),Ba=Se(Re,["supportSticky","allColumnsFixedLeft","rowHoverable"]),li=Ba.supportSticky,Ui=Ba.allColumnsFixedLeft,Wi=Ba.rowHoverable,So=ot(Tn,Fn,nr,Ge,wn,Or),eo=(0,ue.Z)(So,2),gi=eo[0],fi=eo[1],pi={},Hi=typeof sa=="number"&&li,vi=typeof va=="number"&&li;Hi&&(pi.position="sticky",pi.left=sa),vi&&(pi.position="sticky",pi.right=va);var bi=(Bn=(Dn=(jn=fi==null?void 0:fi.colSpan)!==null&&jn!==void 0?jn:ka.colSpan)!==null&&Dn!==void 0?Dn:Hr)!==null&&Bn!==void 0?Bn:1,yi=(Qn=(er=(vr=fi==null?void 0:fi.rowSpan)!==null&&vr!==void 0?vr:ka.rowSpan)!==null&&er!==void 0?er:jr)!==null&&Qn!==void 0?Qn:1,ca=Ut(br,yi),_a=(0,ue.Z)(ca,2),Ma=_a[0],Da=_a[1],Ja=(0,pn.zX)(function(uo){var ti;Tn&&Da(br,br+yi-1),ka==null||(ti=ka.onMouseEnter)===null||ti===void 0||ti.call(ka,uo)}),ui=(0,pn.zX)(function(uo){var ti;Tn&&Da(-1,-1),ka==null||(ti=ka.onMouseLeave)===null||ti===void 0||ti.call(ka,uo)});if(bi===0||yi===0)return null;var Ki=(mr=ka.title)!==null&&mr!==void 0?mr:bt({rowType:Tr,ellipsis:Tt,children:gi}),ri=Xe()(sn,Ht,(pr={},(0,$e.Z)((0,$e.Z)((0,$e.Z)((0,$e.Z)((0,$e.Z)((0,$e.Z)((0,$e.Z)((0,$e.Z)((0,$e.Z)((0,$e.Z)(pr,"".concat(sn,"-fix-left"),Hi&&li),"".concat(sn,"-fix-left-first"),Aa&&li),"".concat(sn,"-fix-left-last"),Sa&&li),"".concat(sn,"-fix-left-all"),Sa&&Ui&&li),"".concat(sn,"-fix-right"),vi&&li),"".concat(sn,"-fix-right-first"),La&&li),"".concat(sn,"-fix-right-last"),Xr&&li),"".concat(sn,"-ellipsis"),Tt),"".concat(sn,"-with-append"),Wr),"".concat(sn,"-fix-sticky"),(Hi||vi)&&za&&li),(0,$e.Z)(pr,"".concat(sn,"-row-hover"),!fi&&Ma)),ka.className,fi==null?void 0:fi.className),Oi={};Mn&&(Oi.textAlign=Mn);var Ga=(0,tt.Z)((0,tt.Z)((0,tt.Z)((0,tt.Z)({},fi==null?void 0:fi.style),pi),Oi),ka.style),ai=gi;return(0,Fe.Z)(ai)==="object"&&!Array.isArray(ai)&&!oe.isValidElement(ai)&&(ai=null),Tt&&(Sa||La)&&(ai=oe.createElement("span",{className:"".concat(sn,"-content")},ai)),oe.createElement(Rn,(0,he.Z)({},fi,ka,{className:ri,style:Ga,title:Ki,scope:It,onMouseEnter:Wi?Ja:void 0,onMouseLeave:Wi?ui:void 0,colSpan:bi!==1?bi:null,rowSpan:yi!==1?yi:null}),Wr,ai)}var Bt=oe.memo(Yt);function $t(qt,Bn,Dn,jn,Qn){var er=Dn[qt]||{},vr=Dn[Bn]||{},mr,pr;er.fixed==="left"?mr=jn.left[Qn==="rtl"?Bn:qt]:vr.fixed==="right"&&(pr=jn.right[Qn==="rtl"?qt:Bn]);var Rn=!1,Ge=!1,Tt=!1,It=!1,Wt=Dn[Bn+1],Ht=Dn[qt-1],Mn=Wt&&!Wt.fixed||Ht&&!Ht.fixed||Dn.every(function(Or){return Or.fixed==="left"});if(Qn==="rtl"){if(mr!==void 0){var Tn=Ht&&Ht.fixed==="left";It=!Tn&&Mn}else if(pr!==void 0){var wn=Wt&&Wt.fixed==="right";Tt=!wn&&Mn}}else if(mr!==void 0){var Fn=Wt&&Wt.fixed==="left";Rn=!Fn&&Mn}else if(pr!==void 0){var nr=Ht&&Ht.fixed==="right";Ge=!nr&&Mn}return{fixLeft:mr,fixRight:pr,lastFixLeft:Rn,firstFixRight:Ge,lastFixRight:Tt,firstFixLeft:It,isSticky:jn.isSticky}}var cn=oe.createContext({}),Ie=cn;function pe(qt){var Bn=qt.className,Dn=qt.index,jn=qt.children,Qn=qt.colSpan,er=Qn===void 0?1:Qn,vr=qt.rowSpan,mr=qt.align,pr=Se(Re,["prefixCls","direction"]),Rn=pr.prefixCls,Ge=pr.direction,Tt=oe.useContext(Ie),It=Tt.scrollColumnIndex,Wt=Tt.stickyOffsets,Ht=Tt.flattenColumns,Mn=Dn+er-1,Tn=Mn+1===It?er+1:er,wn=$t(Dn,Dn+Tn-1,Ht,Wt,Ge);return oe.createElement(Bt,(0,he.Z)({className:Bn,index:Dn,component:"td",prefixCls:Rn,record:null,dataIndex:null,align:mr,colSpan:Tn,rowSpan:vr,render:function(){return jn}},wn))}var de=E(43079),Ee=["children"];function De(qt){var Bn=qt.children,Dn=(0,de.Z)(qt,Ee);return oe.createElement("tr",Dn,Bn)}function fe(qt){var Bn=qt.children;return Bn}fe.Row=De,fe.Cell=pe;var Qe=fe;function Mt(qt){var Bn=qt.children,Dn=qt.stickyOffsets,jn=qt.flattenColumns,Qn=Se(Re,"prefixCls"),er=jn.length-1,vr=jn[er],mr=oe.useMemo(function(){return{stickyOffsets:Dn,flattenColumns:jn,scrollColumnIndex:vr!=null&&vr.scrollbar?er:null}},[vr,jn,er,Dn]);return oe.createElement(Ie.Provider,{value:mr},oe.createElement("tfoot",{className:"".concat(Qn,"-summary")},Bn))}var an=Le(Mt),Sn=Qe,gt=E(29301),Ft=E(24514),Lt=E(75152),Jt=E(26112);function fn(qt,Bn,Dn,jn,Qn,er,vr){qt.push({record:Bn,indent:Dn,index:vr});var mr=er(Bn),pr=Qn==null?void 0:Qn.has(mr);if(Bn&&Array.isArray(Bn[jn])&&pr)for(var Rn=0;Rn<Bn[jn].length;Rn+=1)fn(qt,Bn[jn][Rn],Dn+1,jn,Qn,er,Rn)}function Zt(qt,Bn,Dn,jn){var Qn=oe.useMemo(function(){if(Dn!=null&&Dn.size){for(var er=[],vr=0;vr<(qt==null?void 0:qt.length);vr+=1){var mr=qt[vr];fn(er,mr,0,Bn,Dn,jn,vr)}return er}return qt==null?void 0:qt.map(function(pr,Rn){return{record:pr,indent:0,index:Rn}})},[qt,Bn,Dn,jn]);return Qn}function mt(qt,Bn,Dn,jn){var Qn=Se(Re,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),er=Qn.flattenColumns,vr=Qn.expandableType,mr=Qn.expandedKeys,pr=Qn.childrenColumnName,Rn=Qn.onTriggerExpand,Ge=Qn.rowExpandable,Tt=Qn.onRow,It=Qn.expandRowByClick,Wt=Qn.rowClassName,Ht=vr==="nest",Mn=vr==="row"&&(!Ge||Ge(qt)),Tn=Mn||Ht,wn=mr&&mr.has(Bn),Fn=pr&&qt&&qt[pr],nr=(0,pn.zX)(Rn),Or=Tt==null?void 0:Tt(qt,Dn),br=Or==null?void 0:Or.onClick,Tr=function(va){It&&Tn&&Rn(qt,va);for(var Aa=arguments.length,Sa=new Array(Aa>1?Aa-1:0),La=1;La<Aa;La++)Sa[La-1]=arguments[La];br==null||br.apply(void 0,[va].concat(Sa))},Hr;typeof Wt=="string"?Hr=Wt:typeof Wt=="function"&&(Hr=Wt(qt,Dn,jn));var jr=je(er);return(0,tt.Z)((0,tt.Z)({},Qn),{},{columnsKey:jr,nestExpandable:Ht,expanded:wn,hasNestChildren:Fn,record:qt,onTriggerExpand:nr,rowSupportExpand:Mn,expandable:Tn,rowProps:(0,tt.Z)((0,tt.Z)({},Or),{},{className:Xe()(Hr,Or==null?void 0:Or.className),onClick:Tr})})}function tn(qt){var Bn=qt.prefixCls,Dn=qt.children,jn=qt.component,Qn=qt.cellComponent,er=qt.className,vr=qt.expanded,mr=qt.colSpan,pr=qt.isEmpty,Rn=Se(Re,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Ge=Rn.scrollbarSize,Tt=Rn.fixHeader,It=Rn.fixColumn,Wt=Rn.componentWidth,Ht=Rn.horizonScroll,Mn=Dn;return(pr?Ht&&Wt:It)&&(Mn=oe.createElement("div",{style:{width:Wt-(Tt&&!pr?Ge:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Bn,"-expanded-row-fixed")},Mn)),oe.createElement(jn,{className:er,style:{display:vr?null:"none"}},oe.createElement(Bt,{component:Qn,prefixCls:Bn,colSpan:mr},Mn))}var Ct=tn;function Rt(qt){var Bn=qt.prefixCls,Dn=qt.record,jn=qt.onExpand,Qn=qt.expanded,er=qt.expandable,vr="".concat(Bn,"-row-expand-icon");if(!er)return oe.createElement("span",{className:Xe()(vr,"".concat(Bn,"-row-spaced"))});var mr=function(Rn){jn(Dn,Rn),Rn.stopPropagation()};return oe.createElement("span",{className:Xe()(vr,(0,$e.Z)((0,$e.Z)({},"".concat(Bn,"-row-expanded"),Qn),"".concat(Bn,"-row-collapsed"),!Qn)),onClick:mr})}function vt(qt,Bn,Dn){var jn=[];function Qn(er){(er||[]).forEach(function(vr,mr){jn.push(Bn(vr,mr)),Qn(vr[Dn])})}return Qn(qt),jn}function jt(qt,Bn,Dn,jn){return typeof qt=="string"?qt:typeof qt=="function"?qt(Bn,Dn,jn):""}function At(qt,Bn,Dn,jn,Qn){var er=qt.record,vr=qt.prefixCls,mr=qt.columnsKey,pr=qt.fixedInfoList,Rn=qt.expandIconColumnIndex,Ge=qt.nestExpandable,Tt=qt.indentSize,It=qt.expandIcon,Wt=qt.expanded,Ht=qt.hasNestChildren,Mn=qt.onTriggerExpand,Tn=mr[Dn],wn=pr[Dn],Fn;Dn===(Rn||0)&&Ge&&(Fn=oe.createElement(oe.Fragment,null,oe.createElement("span",{style:{paddingLeft:"".concat(Tt*jn,"px")},className:"".concat(vr,"-row-indent indent-level-").concat(jn)}),It({prefixCls:vr,expanded:Wt,expandable:Ht,record:er,onExpand:Mn})));var nr;return Bn.onCell&&(nr=Bn.onCell(er,Qn)),{key:Tn,fixedInfo:wn,appendCellNode:Fn,additionalCellProps:nr||{}}}function Je(qt){var Bn=qt.className,Dn=qt.style,jn=qt.record,Qn=qt.index,er=qt.renderIndex,vr=qt.rowKey,mr=qt.indent,pr=mr===void 0?0:mr,Rn=qt.rowComponent,Ge=qt.cellComponent,Tt=qt.scopeCellComponent,It=mt(jn,vr,Qn,pr),Wt=It.prefixCls,Ht=It.flattenColumns,Mn=It.expandedRowClassName,Tn=It.expandedRowRender,wn=It.rowProps,Fn=It.expanded,nr=It.rowSupportExpand,Or=oe.useRef(!1);Or.current||(Or.current=Fn);var br=jt(Mn,jn,Qn,pr),Tr=oe.createElement(Rn,(0,he.Z)({},wn,{"data-row-key":vr,className:Xe()(Bn,"".concat(Wt,"-row"),"".concat(Wt,"-row-level-").concat(pr),wn==null?void 0:wn.className,(0,$e.Z)({},br,pr>=1)),style:(0,tt.Z)((0,tt.Z)({},Dn),wn==null?void 0:wn.style)}),Ht.map(function(sa,va){var Aa=sa.render,Sa=sa.dataIndex,La=sa.className,Xr=At(It,sa,va,pr,Qn),Wr=Xr.key,ea=Xr.fixedInfo,ka=Xr.appendCellNode,za=Xr.additionalCellProps;return oe.createElement(Bt,(0,he.Z)({className:La,ellipsis:sa.ellipsis,align:sa.align,scope:sa.rowScope,component:sa.rowScope?Tt:Ge,prefixCls:Wt,key:Wr,record:jn,index:Qn,renderIndex:er,dataIndex:Sa,render:Aa,shouldCellUpdate:sa.shouldCellUpdate},ea,{appendNode:ka,additionalProps:za}))})),Hr;if(nr&&(Or.current||Fn)){var jr=Tn(jn,Qn,pr+1,Fn);Hr=oe.createElement(Ct,{expanded:Fn,className:Xe()("".concat(Wt,"-expanded-row"),"".concat(Wt,"-expanded-row-level-").concat(pr+1),br),prefixCls:Wt,component:Rn,cellComponent:Ge,colSpan:Ht.length,isEmpty:!1},jr)}return oe.createElement(oe.Fragment,null,Tr,Hr)}var un=Le(Je);function gn(qt){var Bn=qt.columnKey,Dn=qt.onColumnResize,jn=oe.useRef();return(0,ce.Z)(function(){jn.current&&Dn(Bn,jn.current.offsetWidth)},[]),oe.createElement(gt.Z,{data:Bn},oe.createElement("td",{ref:jn,style:{padding:0,border:0,height:0}},oe.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var Et=E(29194);function Ln(qt){var Bn=qt.prefixCls,Dn=qt.columnsKey,jn=qt.onColumnResize,Qn=oe.useRef(null);return oe.createElement("tr",{"aria-hidden":"true",className:"".concat(Bn,"-measure-row"),style:{height:0,fontSize:0},ref:Qn},oe.createElement(gt.Z.Collection,{onBatchResize:function(vr){(0,Et.Z)(Qn.current)&&vr.forEach(function(mr){var pr=mr.data,Rn=mr.size;jn(pr,Rn.offsetWidth)})}},Dn.map(function(er){return oe.createElement(gn,{key:er,columnKey:er,onColumnResize:jn})})))}function ar(qt){var Bn=qt.data,Dn=qt.measureColumnWidth,jn=Se(Re,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Qn=jn.prefixCls,er=jn.getComponent,vr=jn.onColumnResize,mr=jn.flattenColumns,pr=jn.getRowKey,Rn=jn.expandedKeys,Ge=jn.childrenColumnName,Tt=jn.emptyNode,It=Zt(Bn,Ge,Rn,pr),Wt=oe.useRef({renderWithProps:!1}),Ht=er(["body","wrapper"],"tbody"),Mn=er(["body","row"],"tr"),Tn=er(["body","cell"],"td"),wn=er(["body","cell"],"th"),Fn;Bn.length?Fn=It.map(function(Or,br){var Tr=Or.record,Hr=Or.indent,jr=Or.index,sa=pr(Tr,br);return oe.createElement(un,{key:sa,rowKey:sa,record:Tr,index:br,renderIndex:jr,rowComponent:Mn,cellComponent:Tn,scopeCellComponent:wn,indent:Hr})}):Fn=oe.createElement(Ct,{expanded:!0,className:"".concat(Qn,"-placeholder"),prefixCls:Qn,component:Mn,cellComponent:Tn,colSpan:mr.length,isEmpty:!0},Tt);var nr=je(mr);return oe.createElement(St.Provider,{value:Wt.current},oe.createElement(Ht,{className:"".concat(Qn,"-tbody")},Dn&&oe.createElement(Ln,{prefixCls:Qn,columnsKey:nr,onColumnResize:vr}),Fn))}var Hn=Le(ar),Vt=E(54451),dr=["columnType"];function qn(qt){for(var Bn=qt.colWidths,Dn=qt.columns,jn=qt.columCount,Qn=Se(Re,["tableLayout"]),er=Qn.tableLayout,vr=[],mr=jn||Dn.length,pr=!1,Rn=mr-1;Rn>=0;Rn-=1){var Ge=Bn[Rn],Tt=Dn&&Dn[Rn],It=void 0,Wt=void 0;if(Tt&&(It=Tt[Vt.v],er==="auto"&&(Wt=Tt.minWidth)),Ge||Wt||It||pr){var Ht=It||{},Mn=Ht.columnType,Tn=(0,de.Z)(Ht,dr);vr.unshift(oe.createElement("col",(0,he.Z)({key:Rn,style:{width:Ge,minWidth:Wt}},Tn))),pr=!0}}return oe.createElement("colgroup",null,vr)}var xn=qn,zn=E(3300),cr=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function ir(qt,Bn){return(0,oe.useMemo)(function(){for(var Dn=[],jn=0;jn<Bn;jn+=1){var Qn=qt[jn];if(Qn!==void 0)Dn[jn]=Qn;else return null}return Dn},[qt.join("_"),Bn])}var Gn=oe.forwardRef(function(qt,Bn){var Dn=qt.className,jn=qt.noData,Qn=qt.columns,er=qt.flattenColumns,vr=qt.colWidths,mr=qt.columCount,pr=qt.stickyOffsets,Rn=qt.direction,Ge=qt.fixHeader,Tt=qt.stickyTopOffset,It=qt.stickyBottomOffset,Wt=qt.stickyClassName,Ht=qt.onScroll,Mn=qt.maxContentScroll,Tn=qt.children,wn=(0,de.Z)(qt,cr),Fn=Se(Re,["prefixCls","scrollbarSize","isSticky","getComponent"]),nr=Fn.prefixCls,Or=Fn.scrollbarSize,br=Fn.isSticky,Tr=Fn.getComponent,Hr=Tr(["header","table"],"table"),jr=br&&!Ge?0:Or,sa=oe.useRef(null),va=oe.useCallback(function(za){(0,Ve.mH)(Bn,za),(0,Ve.mH)(sa,za)},[]);oe.useEffect(function(){var za;function sn(Ba){var li=Ba,Ui=li.currentTarget,Wi=li.deltaX;Wi&&(Ht({currentTarget:Ui,scrollLeft:Ui.scrollLeft+Wi}),Ba.preventDefault())}return(za=sa.current)===null||za===void 0||za.addEventListener("wheel",sn,{passive:!1}),function(){var Ba;(Ba=sa.current)===null||Ba===void 0||Ba.removeEventListener("wheel",sn)}},[]);var Aa=oe.useMemo(function(){return er.every(function(za){return za.width})},[er]),Sa=er[er.length-1],La={fixed:Sa?Sa.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(nr,"-cell-scrollbar")}}},Xr=(0,oe.useMemo)(function(){return jr?[].concat((0,zn.Z)(Qn),[La]):Qn},[jr,Qn]),Wr=(0,oe.useMemo)(function(){return jr?[].concat((0,zn.Z)(er),[La]):er},[jr,er]),ea=(0,oe.useMemo)(function(){var za=pr.right,sn=pr.left;return(0,tt.Z)((0,tt.Z)({},pr),{},{left:Rn==="rtl"?[].concat((0,zn.Z)(sn.map(function(Ba){return Ba+jr})),[0]):sn,right:Rn==="rtl"?za:[].concat((0,zn.Z)(za.map(function(Ba){return Ba+jr})),[0]),isSticky:br})},[jr,pr,br]),ka=ir(vr,mr);return oe.createElement("div",{style:(0,tt.Z)({overflow:"hidden"},br?{top:Tt,bottom:It}:{}),ref:va,className:Xe()(Dn,(0,$e.Z)({},Wt,!!Wt))},oe.createElement(Hr,{style:{tableLayout:"fixed",visibility:jn||ka?null:"hidden"}},(!jn||!Mn||Aa)&&oe.createElement(xn,{colWidths:ka?[].concat((0,zn.Z)(ka),[jr]):[],columCount:mr+1,columns:Wr}),Tn((0,tt.Z)((0,tt.Z)({},wn),{},{stickyOffsets:ea,columns:Xr,flattenColumns:Wr}))))}),Yn=oe.memo(Gn),nn=function(Bn){var Dn=Bn.cells,jn=Bn.stickyOffsets,Qn=Bn.flattenColumns,er=Bn.rowComponent,vr=Bn.cellComponent,mr=Bn.onHeaderRow,pr=Bn.index,Rn=Se(Re,["prefixCls","direction"]),Ge=Rn.prefixCls,Tt=Rn.direction,It;mr&&(It=mr(Dn.map(function(Ht){return Ht.column}),pr));var Wt=je(Dn.map(function(Ht){return Ht.column}));return oe.createElement(er,It,Dn.map(function(Ht,Mn){var Tn=Ht.column,wn=$t(Ht.colStart,Ht.colEnd,Qn,jn,Tt),Fn;return Tn&&Tn.onHeaderCell&&(Fn=Ht.column.onHeaderCell(Tn)),oe.createElement(Bt,(0,he.Z)({},Ht,{scope:Tn.title?Ht.colSpan>1?"colgroup":"col":null,ellipsis:Tn.ellipsis,align:Tn.align,component:vr,prefixCls:Ge,key:Wt[Mn]},wn,{additionalProps:Fn,rowType:"header"}))}))},An=nn;function Nn(qt){var Bn=[];function Dn(vr,mr){var pr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Bn[pr]=Bn[pr]||[];var Rn=mr,Ge=vr.filter(Boolean).map(function(Tt){var It={key:Tt.key,className:Tt.className||"",children:Tt.title,column:Tt,colStart:Rn},Wt=1,Ht=Tt.children;return Ht&&Ht.length>0&&(Wt=Dn(Ht,Rn,pr+1).reduce(function(Mn,Tn){return Mn+Tn},0),It.hasSubColumns=!0),"colSpan"in Tt&&(Wt=Tt.colSpan),"rowSpan"in Tt&&(It.rowSpan=Tt.rowSpan),It.colSpan=Wt,It.colEnd=It.colStart+Wt-1,Bn[pr].push(It),Rn+=Wt,Wt});return Ge}Dn(qt,0);for(var jn=Bn.length,Qn=function(mr){Bn[mr].forEach(function(pr){!("rowSpan"in pr)&&!pr.hasSubColumns&&(pr.rowSpan=jn-mr)})},er=0;er<jn;er+=1)Qn(er);return Bn}var In=function(Bn){var Dn=Bn.stickyOffsets,jn=Bn.columns,Qn=Bn.flattenColumns,er=Bn.onHeaderRow,vr=Se(Re,["prefixCls","getComponent"]),mr=vr.prefixCls,pr=vr.getComponent,Rn=oe.useMemo(function(){return Nn(jn)},[jn]),Ge=pr(["header","wrapper"],"thead"),Tt=pr(["header","row"],"tr"),It=pr(["header","cell"],"th");return oe.createElement(Ge,{className:"".concat(mr,"-thead")},Rn.map(function(Wt,Ht){var Mn=oe.createElement(An,{key:Ht,flattenColumns:Qn,cells:Wt,stickyOffsets:Dn,rowComponent:Tt,cellComponent:It,onHeaderRow:er,index:Ht});return Mn}))},xr=Le(In),gr=E(97347);function or(qt,Bn,Dn){var jn=(0,Vt.g)(qt),Qn=jn.expandIcon,er=jn.expandedRowKeys,vr=jn.defaultExpandedRowKeys,mr=jn.defaultExpandAllRows,pr=jn.expandedRowRender,Rn=jn.onExpand,Ge=jn.onExpandedRowsChange,Tt=jn.childrenColumnName,It=Qn||Rt,Wt=Tt||"children",Ht=oe.useMemo(function(){return pr?"row":qt.expandable&&qt.internalHooks===b.R&&qt.expandable.__PARENT_RENDER_ICON__||Bn.some(function(br){return br&&(0,Fe.Z)(br)==="object"&&br[Wt]})?"nest":!1},[!!pr,Bn]),Mn=oe.useState(function(){return vr||(mr?vt(Bn,Dn,Wt):[])}),Tn=(0,ue.Z)(Mn,2),wn=Tn[0],Fn=Tn[1],nr=oe.useMemo(function(){return new Set(er||wn||[])},[er,wn]),Or=oe.useCallback(function(br){var Tr=Dn(br,Bn.indexOf(br)),Hr,jr=nr.has(Tr);jr?(nr.delete(Tr),Hr=(0,zn.Z)(nr)):Hr=[].concat((0,zn.Z)(nr),[Tr]),Fn(Hr),Rn&&Rn(!jr,br),Ge&&Ge(Hr)},[Dn,nr,Bn,Rn,Ge]);return[jn,Ht,nr,It,Wt,Or]}function Lr(qt,Bn,Dn){var jn=qt.map(function(Qn,er){return $t(er,er,qt,Bn,Dn)});return(0,et.Z)(function(){return jn},[jn],function(Qn,er){return!(0,ge.Z)(Qn,er)})}function Br(qt){var Bn=(0,oe.useRef)(qt),Dn=(0,oe.useState)({}),jn=(0,ue.Z)(Dn,2),Qn=jn[1],er=(0,oe.useRef)(null),vr=(0,oe.useRef)([]);function mr(pr){vr.current.push(pr);var Rn=Promise.resolve();er.current=Rn,Rn.then(function(){if(er.current===Rn){var Ge=vr.current,Tt=Bn.current;vr.current=[],Ge.forEach(function(It){Bn.current=It(Bn.current)}),er.current=null,Tt!==Bn.current&&Qn({})}})}return(0,oe.useEffect)(function(){return function(){er.current=null}},[]),[Bn.current,mr]}function Pr(qt){var Bn=(0,oe.useRef)(qt||null),Dn=(0,oe.useRef)();function jn(){window.clearTimeout(Dn.current)}function Qn(vr){Bn.current=vr,jn(),Dn.current=window.setTimeout(function(){Bn.current=null,Dn.current=void 0},100)}function er(){return Bn.current}return(0,oe.useEffect)(function(){return jn},[]),[Qn,er]}function wr(){var qt=oe.useState(-1),Bn=(0,ue.Z)(qt,2),Dn=Bn[0],jn=Bn[1],Qn=oe.useState(-1),er=(0,ue.Z)(Qn,2),vr=er[0],mr=er[1],pr=oe.useCallback(function(Rn,Ge){jn(Rn),mr(Ge)},[]);return[Dn,vr,pr]}var Ir=E(47273),lr=(0,Ir.Z)()?window:null;function _n(qt,Bn){var Dn=(0,Fe.Z)(qt)==="object"?qt:{},jn=Dn.offsetHeader,Qn=jn===void 0?0:jn,er=Dn.offsetSummary,vr=er===void 0?0:er,mr=Dn.offsetScroll,pr=mr===void 0?0:mr,Rn=Dn.getContainer,Ge=Rn===void 0?function(){return lr}:Rn,Tt=Ge()||lr,It=!!qt;return oe.useMemo(function(){return{isSticky:It,stickyClassName:It?"".concat(Bn,"-sticky-holder"):"",offsetHeader:Qn,offsetSummary:vr,offsetScroll:pr,container:Tt}},[It,pr,Qn,vr,Bn,Tt])}function Sr(qt,Bn,Dn){var jn=(0,oe.useMemo)(function(){var Qn=Bn.length,er=function(Rn,Ge,Tt){for(var It=[],Wt=0,Ht=Rn;Ht!==Ge;Ht+=Tt)It.push(Wt),Bn[Ht].fixed&&(Wt+=qt[Ht]||0);return It},vr=er(0,Qn,1),mr=er(Qn-1,-1,-1).reverse();return Dn==="rtl"?{left:mr,right:vr}:{left:vr,right:mr}},[qt,Bn,Dn]);return jn}var kr=Sr;function Ur(qt){var Bn=qt.className,Dn=qt.children;return oe.createElement("div",{className:Bn},Dn)}var rn=Ur,Qt=E(8224),hr=E(16089),$n=E(76846);function Pt(qt){var Bn=(0,$n.bn)(qt),Dn=Bn.getBoundingClientRect(),jn=document.documentElement;return{left:Dn.left+(window.pageXOffset||jn.scrollLeft)-(jn.clientLeft||document.body.clientLeft||0),top:Dn.top+(window.pageYOffset||jn.scrollTop)-(jn.clientTop||document.body.clientTop||0)}}var on=function(Bn,Dn){var jn,Qn,er=Bn.scrollBodyRef,vr=Bn.onScroll,mr=Bn.offsetScroll,pr=Bn.container,Rn=Bn.direction,Ge=Se(Re,"prefixCls"),Tt=((jn=er.current)===null||jn===void 0?void 0:jn.scrollWidth)||0,It=((Qn=er.current)===null||Qn===void 0?void 0:Qn.clientWidth)||0,Wt=Tt&&It*(It/Tt),Ht=oe.useRef(),Mn=Br({scrollLeft:0,isHiddenScrollBar:!0}),Tn=(0,ue.Z)(Mn,2),wn=Tn[0],Fn=Tn[1],nr=oe.useRef({delta:0,x:0}),Or=oe.useState(!1),br=(0,ue.Z)(Or,2),Tr=br[0],Hr=br[1],jr=oe.useRef(null);oe.useEffect(function(){return function(){hr.Z.cancel(jr.current)}},[]);var sa=function(){Hr(!1)},va=function(Wr){Wr.persist(),nr.current.delta=Wr.pageX-wn.scrollLeft,nr.current.x=0,Hr(!0),Wr.preventDefault()},Aa=function(Wr){var ea,ka=Wr||((ea=window)===null||ea===void 0?void 0:ea.event),za=ka.buttons;if(!Tr||za===0){Tr&&Hr(!1);return}var sn=nr.current.x+Wr.pageX-nr.current.x-nr.current.delta,Ba=Rn==="rtl";sn=Math.max(Ba?Wt-It:0,Math.min(Ba?0:It-Wt,sn));var li=!Ba||Math.abs(sn)+Math.abs(Wt)<It;li&&(vr({scrollLeft:sn/It*(Tt+2)}),nr.current.x=Wr.pageX)},Sa=function(){hr.Z.cancel(jr.current),jr.current=(0,hr.Z)(function(){if(er.current){var Wr=Pt(er.current).top,ea=Wr+er.current.offsetHeight,ka=pr===window?document.documentElement.scrollTop+window.innerHeight:Pt(pr).top+pr.clientHeight;ea-(0,Lt.Z)()<=ka||Wr>=ka-mr?Fn(function(za){return(0,tt.Z)((0,tt.Z)({},za),{},{isHiddenScrollBar:!0})}):Fn(function(za){return(0,tt.Z)((0,tt.Z)({},za),{},{isHiddenScrollBar:!1})})}})},La=function(Wr){Fn(function(ea){return(0,tt.Z)((0,tt.Z)({},ea),{},{scrollLeft:Wr/Tt*It||0})})};return oe.useImperativeHandle(Dn,function(){return{setScrollLeft:La,checkScrollBarVisible:Sa}}),oe.useEffect(function(){var Xr=(0,Qt.Z)(document.body,"mouseup",sa,!1),Wr=(0,Qt.Z)(document.body,"mousemove",Aa,!1);return Sa(),function(){Xr.remove(),Wr.remove()}},[Wt,Tr]),oe.useEffect(function(){if(er.current){for(var Xr=[],Wr=(0,$n.bn)(er.current);Wr;)Xr.push(Wr),Wr=Wr.parentElement;return Xr.forEach(function(ea){return ea.addEventListener("scroll",Sa,!1)}),window.addEventListener("resize",Sa,!1),window.addEventListener("scroll",Sa,!1),pr.addEventListener("scroll",Sa,!1),function(){Xr.forEach(function(ea){return ea.removeEventListener("scroll",Sa)}),window.removeEventListener("resize",Sa),window.removeEventListener("scroll",Sa),pr.removeEventListener("scroll",Sa)}}},[pr]),oe.useEffect(function(){wn.isHiddenScrollBar||Fn(function(Xr){var Wr=er.current;return Wr?(0,tt.Z)((0,tt.Z)({},Xr),{},{scrollLeft:Wr.scrollLeft/Wr.scrollWidth*Wr.clientWidth}):Xr})},[wn.isHiddenScrollBar]),Tt<=It||!Wt||wn.isHiddenScrollBar?null:oe.createElement("div",{style:{height:(0,Lt.Z)(),width:It,bottom:mr},className:"".concat(Ge,"-sticky-scroll")},oe.createElement("div",{onMouseDown:va,ref:Ht,className:Xe()("".concat(Ge,"-sticky-scroll-bar"),(0,$e.Z)({},"".concat(Ge,"-sticky-scroll-bar-active"),Tr)),style:{width:"".concat(Wt,"px"),transform:"translate3d(".concat(wn.scrollLeft,"px, 0, 0)")}}))},sr=oe.forwardRef(on);function Kt(qt){return null}var be=Kt;function Cn(qt){return null}var yr=Cn,ln="rc-table",Ar=[],Xn={};function Cr(){return"No Data"}function Dr(qt,Bn){var Dn=(0,tt.Z)({rowKey:"key",prefixCls:ln,emptyText:Cr},qt),jn=Dn.prefixCls,Qn=Dn.className,er=Dn.rowClassName,vr=Dn.style,mr=Dn.data,pr=Dn.rowKey,Rn=Dn.scroll,Ge=Dn.tableLayout,Tt=Dn.direction,It=Dn.title,Wt=Dn.footer,Ht=Dn.summary,Mn=Dn.caption,Tn=Dn.id,wn=Dn.showHeader,Fn=Dn.components,nr=Dn.emptyText,Or=Dn.onRow,br=Dn.onHeaderRow,Tr=Dn.onScroll,Hr=Dn.internalHooks,jr=Dn.transformColumns,sa=Dn.internalRefs,va=Dn.tailor,Aa=Dn.getContainerWidth,Sa=Dn.sticky,La=Dn.rowHoverable,Xr=La===void 0?!0:La,Wr=mr||Ar,ea=!!Wr.length,ka=Hr===b.R,za=oe.useCallback(function(Qa,Ya){return(0,rt.Z)(Fn,Qa)||Ya},[Fn]),sn=oe.useMemo(function(){return typeof pr=="function"?pr:function(Qa){var Ya=Qa&&Qa[pr];return Ya}},[pr]),Ba=za(["body"]),li=wr(),Ui=(0,ue.Z)(li,3),Wi=Ui[0],So=Ui[1],eo=Ui[2],gi=or(Dn,Wr,sn),fi=(0,ue.Z)(gi,6),pi=fi[0],Hi=fi[1],vi=fi[2],bi=fi[3],yi=fi[4],ca=fi[5],_a=Rn==null?void 0:Rn.x,Ma=oe.useState(0),Da=(0,ue.Z)(Ma,2),Ja=Da[0],ui=Da[1],Ki=(0,gr.Z)((0,tt.Z)((0,tt.Z)((0,tt.Z)({},Dn),pi),{},{expandable:!!pi.expandedRowRender,columnTitle:pi.columnTitle,expandedKeys:vi,getRowKey:sn,onTriggerExpand:ca,expandIcon:bi,expandIconColumnIndex:pi.expandIconColumnIndex,direction:Tt,scrollWidth:ka&&va&&typeof _a=="number"?_a:null,clientWidth:Ja}),ka?jr:null),ri=(0,ue.Z)(Ki,4),Oi=ri[0],Ga=ri[1],ai=ri[2],uo=ri[3],ti=ai!=null?ai:_a,ao=oe.useMemo(function(){return{columns:Oi,flattenColumns:Ga}},[Oi,Ga]),co=oe.useRef(),to=oe.useRef(),Ii=oe.useRef(),Ko=oe.useRef();oe.useImperativeHandle(Bn,function(){return{nativeElement:co.current,scrollTo:function(Ya){var _i;if(Ii.current instanceof HTMLElement){var Vi=Ya.index,ji=Ya.top,Io=Ya.key;if(wt(ji)){var Mo;(Mo=Ii.current)===null||Mo===void 0||Mo.scrollTo({top:ji})}else{var Uo,No=Io!=null?Io:sn(Wr[Vi]);(Uo=Ii.current.querySelector('[data-row-key="'.concat(No,'"]')))===null||Uo===void 0||Uo.scrollIntoView()}}else(_i=Ii.current)!==null&&_i!==void 0&&_i.scrollTo&&Ii.current.scrollTo(Ya)}}});var Us=oe.useRef(),Ni=oe.useState(!1),Lo=(0,ue.Z)(Ni,2),go=Lo[0],vo=Lo[1],Hs=oe.useState(!1),Xs=(0,ue.Z)(Hs,2),Qs=Xs[0],ws=Xs[1],Is=oe.useState(new Map),Ns=(0,ue.Z)(Is,2),hs=Ns[0],ks=Ns[1],Js=je(Ga),Rs=Js.map(function(Qa){return hs.get(Qa)}),Es=oe.useMemo(function(){return Rs},[Rs.join("_")]),ms=kr(Es,Ga,Tt),Qi=Rn&&Be(Rn.y),Fi=Rn&&Be(ti)||!!pi.fixed,ei=Fi&&Ga.some(function(Qa){var Ya=Qa.fixed;return Ya}),Ha=oe.useRef(),Pi=_n(Sa,jn),Li=Pi.isSticky,Mi=Pi.offsetHeader,Zi=Pi.offsetSummary,Zo=Pi.offsetScroll,Co=Pi.stickyClassName,ts=Pi.container,Si=oe.useMemo(function(){return Ht==null?void 0:Ht(Wr)},[Ht,Wr]),Bi=(Qi||Li)&&oe.isValidElement(Si)&&Si.type===Qe&&Si.props.fixed,xo,_o,zs;Qi&&(_o={overflowY:ea?"scroll":"auto",maxHeight:Rn.y}),Fi&&(xo={overflowX:"auto"},Qi||(_o={overflowY:"hidden"}),zs={width:ti===!0?"auto":ti,minWidth:"100%"});var rl=oe.useCallback(function(Qa,Ya){ks(function(_i){if(_i.get(Qa)!==Ya){var Vi=new Map(_i);return Vi.set(Qa,Ya),Vi}return _i})},[]),Gs=Pr(null),Ao=(0,ue.Z)(Gs,2),Fo=Ao[0],hi=Ao[1];function jo(Qa,Ya){Ya&&(typeof Ya=="function"?Ya(Qa):Ya.scrollLeft!==Qa&&(Ya.scrollLeft=Qa,Ya.scrollLeft!==Qa&&setTimeout(function(){Ya.scrollLeft=Qa},0)))}var To=(0,le.Z)(function(Qa){var Ya=Qa.currentTarget,_i=Qa.scrollLeft,Vi=Tt==="rtl",ji=typeof _i=="number"?_i:Ya.scrollLeft,Io=Ya||Xn;if(!hi()||hi()===Io){var Mo;Fo(Io),jo(ji,to.current),jo(ji,Ii.current),jo(ji,Us.current),jo(ji,(Mo=Ha.current)===null||Mo===void 0?void 0:Mo.setScrollLeft)}var Uo=Ya||to.current;if(Uo){var No=ka&&va&&typeof ti=="number"?ti:Uo.scrollWidth,Xo=Uo.clientWidth;if(No===Xo){vo(!1),ws(!1);return}Vi?(vo(-ji<No-Xo),ws(-ji>0)):(vo(ji>0),ws(ji<No-Xo))}}),qs=(0,le.Z)(function(Qa){To(Qa),Tr==null||Tr(Qa)}),fl=function(){if(Fi&&Ii.current){var Ya;To({currentTarget:(0,$n.bn)(Ii.current),scrollLeft:(Ya=Ii.current)===null||Ya===void 0?void 0:Ya.scrollLeft})}else vo(!1),ws(!1)},pl=function(Ya){var _i,Vi=Ya.width;(_i=Ha.current)===null||_i===void 0||_i.checkScrollBarVisible();var ji=co.current?co.current.offsetWidth:Vi;ka&&Aa&&co.current&&(ji=Aa(co.current,ji)||ji),ji!==Ja&&(fl(),ui(ji))},ys=oe.useRef(!1);oe.useEffect(function(){ys.current&&fl()},[Fi,mr,Oi.length]),oe.useEffect(function(){ys.current=!0},[]);var al=oe.useState(0),il=(0,ue.Z)(al,2),gs=il[0],Ws=il[1],Ds=oe.useState(!0),Os=(0,ue.Z)(Ds,2),$s=Os[0],Po=Os[1];(0,ce.Z)(function(){(!va||!ka)&&(Ii.current instanceof Element?Ws((0,Lt.o)(Ii.current).width):Ws((0,Lt.o)(Ko.current).width)),Po((0,Ft.G)("position","sticky"))},[]),oe.useEffect(function(){ka&&sa&&(sa.body.current=Ii.current)});var Ls=oe.useCallback(function(Qa){return oe.createElement(oe.Fragment,null,oe.createElement(xr,Qa),Bi==="top"&&oe.createElement(an,Qa,Si))},[Bi,Si]),_s=oe.useCallback(function(Qa){return oe.createElement(an,Qa,Si)},[Si]),Zs=za(["table"],"table"),Ss=oe.useMemo(function(){return Ge||(ei?ti==="max-content"?"auto":"fixed":Qi||Li||Ga.some(function(Qa){var Ya=Qa.ellipsis;return Ya})?"fixed":"auto")},[Qi,ei,Ga,Ge,Li]),js,el={colWidths:Es,columCount:Ga.length,stickyOffsets:ms,onHeaderRow:br,fixHeader:Qi,scroll:Rn},Fs=oe.useMemo(function(){return ea?null:typeof nr=="function"?nr():nr},[ea,nr]),Vs=oe.createElement(Hn,{data:Wr,measureColumnWidth:Qi||Fi||Li}),ol=oe.createElement(xn,{colWidths:Ga.map(function(Qa){var Ya=Qa.width;return Ya}),columns:Ga}),ns=Mn!=null?oe.createElement("caption",{className:"".concat(jn,"-caption")},Mn):void 0,Yo=(0,Jt.Z)(Dn,{data:!0}),Ps=(0,Jt.Z)(Dn,{aria:!0});if(Qi||Li){var bo;typeof Ba=="function"?(bo=Ba(Wr,{scrollbarSize:gs,ref:Ii,onScroll:To}),el.colWidths=Ga.map(function(Qa,Ya){var _i=Qa.width,Vi=Ya===Ga.length-1?_i-gs:_i;return typeof Vi=="number"&&!Number.isNaN(Vi)?Vi:0})):bo=oe.createElement("div",{style:(0,tt.Z)((0,tt.Z)({},xo),_o),onScroll:qs,ref:Ii,className:Xe()("".concat(jn,"-body"))},oe.createElement(Zs,(0,he.Z)({style:(0,tt.Z)((0,tt.Z)({},zs),{},{tableLayout:Ss})},Ps),ns,ol,Vs,!Bi&&Si&&oe.createElement(an,{stickyOffsets:ms,flattenColumns:Ga},Si)));var rs=(0,tt.Z)((0,tt.Z)((0,tt.Z)({noData:!Wr.length,maxContentScroll:Fi&&ti==="max-content"},el),ao),{},{direction:Tt,stickyClassName:Co,onScroll:To});js=oe.createElement(oe.Fragment,null,wn!==!1&&oe.createElement(Yn,(0,he.Z)({},rs,{stickyTopOffset:Mi,className:"".concat(jn,"-header"),ref:to}),Ls),bo,Bi&&Bi!=="top"&&oe.createElement(Yn,(0,he.Z)({},rs,{stickyBottomOffset:Zi,className:"".concat(jn,"-summary"),ref:Us}),_s),Li&&Ii.current&&Ii.current instanceof Element&&oe.createElement(sr,{ref:Ha,offsetScroll:Zo,scrollBodyRef:Ii,onScroll:To,container:ts,direction:Tt}))}else js=oe.createElement("div",{style:(0,tt.Z)((0,tt.Z)({},xo),_o),className:Xe()("".concat(jn,"-content")),onScroll:To,ref:Ii},oe.createElement(Zs,(0,he.Z)({style:(0,tt.Z)((0,tt.Z)({},zs),{},{tableLayout:Ss})},Ps),ns,ol,wn!==!1&&oe.createElement(xr,(0,he.Z)({},el,ao)),Vs,Si&&oe.createElement(an,{stickyOffsets:ms,flattenColumns:Ga},Si)));var Bo=oe.createElement("div",(0,he.Z)({className:Xe()(jn,Qn,(0,$e.Z)((0,$e.Z)((0,$e.Z)((0,$e.Z)((0,$e.Z)((0,$e.Z)((0,$e.Z)((0,$e.Z)((0,$e.Z)((0,$e.Z)({},"".concat(jn,"-rtl"),Tt==="rtl"),"".concat(jn,"-ping-left"),go),"".concat(jn,"-ping-right"),Qs),"".concat(jn,"-layout-fixed"),Ge==="fixed"),"".concat(jn,"-fixed-header"),Qi),"".concat(jn,"-fixed-column"),ei),"".concat(jn,"-fixed-column-gapped"),ei&&uo),"".concat(jn,"-scroll-horizontal"),Fi),"".concat(jn,"-has-fix-left"),Ga[0]&&Ga[0].fixed),"".concat(jn,"-has-fix-right"),Ga[Ga.length-1]&&Ga[Ga.length-1].fixed==="right")),style:vr,id:Tn,ref:co},Yo),It&&oe.createElement(rn,{className:"".concat(jn,"-title")},It(Wr)),oe.createElement("div",{ref:Ko,className:"".concat(jn,"-container")},js),Wt&&oe.createElement(rn,{className:"".concat(jn,"-footer")},Wt(Wr)));Fi&&(Bo=oe.createElement(gt.Z,{onResize:pl},Bo));var fo=Lr(Ga,ms,Tt),wo=oe.useMemo(function(){return{scrollX:ti,prefixCls:jn,getComponent:za,scrollbarSize:gs,direction:Tt,fixedInfoList:fo,isSticky:Li,supportSticky:$s,componentWidth:Ja,fixHeader:Qi,fixColumn:ei,horizonScroll:Fi,tableLayout:Ss,rowClassName:er,expandedRowClassName:pi.expandedRowClassName,expandIcon:bi,expandableType:Hi,expandRowByClick:pi.expandRowByClick,expandedRowRender:pi.expandedRowRender,onTriggerExpand:ca,expandIconColumnIndex:pi.expandIconColumnIndex,indentSize:pi.indentSize,allColumnsFixedLeft:Ga.every(function(Qa){return Qa.fixed==="left"}),emptyNode:Fs,columns:Oi,flattenColumns:Ga,onColumnResize:rl,hoverStartRow:Wi,hoverEndRow:So,onHover:eo,rowExpandable:pi.rowExpandable,onRow:Or,getRowKey:sn,expandedKeys:vi,childrenColumnName:yi,rowHoverable:Xr}},[ti,jn,za,gs,Tt,fo,Li,$s,Ja,Qi,ei,Fi,Ss,er,pi.expandedRowClassName,bi,Hi,pi.expandRowByClick,pi.expandedRowRender,ca,pi.expandIconColumnIndex,pi.indentSize,Fs,Oi,Ga,rl,Wi,So,eo,pi.rowExpandable,Or,sn,vi,yi,Xr]);return oe.createElement(Re.Provider,{value:wo},Bo)}var _t=oe.forwardRef(Dr);function Rr(qt){return Ze(_t,qt)}var Kr=Rr();Kr.EXPAND_COLUMN=b.w,Kr.INTERNAL_HOOKS=b.R,Kr.Column=be,Kr.ColumnGroup=yr,Kr.Summary=Sn;var qr=Kr,ha=E(6790),ma=Oe(null),la=Oe(null);function $r(qt,Bn,Dn){var jn=Bn||1;return Dn[qt+jn]-(Dn[qt]||0)}function wa(qt){var Bn=qt.rowInfo,Dn=qt.column,jn=qt.colIndex,Qn=qt.indent,er=qt.index,vr=qt.component,mr=qt.renderIndex,pr=qt.record,Rn=qt.style,Ge=qt.className,Tt=qt.inverse,It=qt.getHeight,Wt=Dn.render,Ht=Dn.dataIndex,Mn=Dn.className,Tn=Dn.width,wn=Se(la,["columnsOffset"]),Fn=wn.columnsOffset,nr=At(Bn,Dn,jn,Qn,er),Or=nr.key,br=nr.fixedInfo,Tr=nr.appendCellNode,Hr=nr.additionalCellProps,jr=Hr.style,sa=Hr.colSpan,va=sa===void 0?1:sa,Aa=Hr.rowSpan,Sa=Aa===void 0?1:Aa,La=jn-1,Xr=$r(La,va,Fn),Wr=va>1?Tn-Xr:0,ea=(0,tt.Z)((0,tt.Z)((0,tt.Z)({},jr),Rn),{},{flex:"0 0 ".concat(Xr,"px"),width:"".concat(Xr,"px"),marginRight:Wr,pointerEvents:"auto"}),ka=oe.useMemo(function(){return Tt?Sa<=1:va===0||Sa===0||Sa>1},[Sa,va,Tt]);ka?ea.visibility="hidden":Tt&&(ea.height=It==null?void 0:It(Sa));var za=ka?function(){return null}:Wt,sn={};return(Sa===0||va===0)&&(sn.rowSpan=1,sn.colSpan=1),oe.createElement(Bt,(0,he.Z)({className:Xe()(Mn,Ge),ellipsis:Dn.ellipsis,align:Dn.align,scope:Dn.rowScope,component:vr,prefixCls:Bn.prefixCls,key:Or,record:pr,index:er,renderIndex:mr,dataIndex:Ht,render:za,shouldCellUpdate:Dn.shouldCellUpdate},br,{appendNode:Tr,additionalProps:(0,tt.Z)((0,tt.Z)({},Hr),{},{style:ea},sn)}))}var Ia=wa,xa=["data","index","className","rowKey","style","extra","getHeight"],ga=oe.forwardRef(function(qt,Bn){var Dn=qt.data,jn=qt.index,Qn=qt.className,er=qt.rowKey,vr=qt.style,mr=qt.extra,pr=qt.getHeight,Rn=(0,de.Z)(qt,xa),Ge=Dn.record,Tt=Dn.indent,It=Dn.index,Wt=Se(Re,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Ht=Wt.scrollX,Mn=Wt.flattenColumns,Tn=Wt.prefixCls,wn=Wt.fixColumn,Fn=Wt.componentWidth,nr=Se(ma,["getComponent"]),Or=nr.getComponent,br=mt(Ge,er,jn,Tt),Tr=Or(["body","row"],"div"),Hr=Or(["body","cell"],"div"),jr=br.rowSupportExpand,sa=br.expanded,va=br.rowProps,Aa=br.expandedRowRender,Sa=br.expandedRowClassName,La;if(jr&&sa){var Xr=Aa(Ge,jn,Tt+1,sa),Wr=jt(Sa,Ge,jn,Tt),ea={};wn&&(ea={style:(0,$e.Z)({},"--virtual-width","".concat(Fn,"px"))});var ka="".concat(Tn,"-expanded-row-cell");La=oe.createElement(Tr,{className:Xe()("".concat(Tn,"-expanded-row"),"".concat(Tn,"-expanded-row-level-").concat(Tt+1),Wr)},oe.createElement(Bt,{component:Hr,prefixCls:Tn,className:Xe()(ka,(0,$e.Z)({},"".concat(ka,"-fixed"),wn)),additionalProps:ea},Xr))}var za=(0,tt.Z)((0,tt.Z)({},vr),{},{width:Ht});mr&&(za.position="absolute",za.pointerEvents="none");var sn=oe.createElement(Tr,(0,he.Z)({},va,Rn,{"data-row-key":er,ref:jr?null:Bn,className:Xe()(Qn,"".concat(Tn,"-row"),va==null?void 0:va.className,(0,$e.Z)({},"".concat(Tn,"-row-extra"),mr)),style:(0,tt.Z)((0,tt.Z)({},za),va==null?void 0:va.style)}),Mn.map(function(Ba,li){return oe.createElement(Ia,{key:li,component:Hr,rowInfo:br,column:Ba,colIndex:li,indent:Tt,index:jn,renderIndex:It,record:Ge,inverse:mr,getHeight:pr})}));return jr?oe.createElement("div",{ref:Bn},sn,La):sn}),pa=Le(ga),Gr=pa,ra=oe.forwardRef(function(qt,Bn){var Dn=qt.data,jn=qt.onScroll,Qn=Se(Re,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),er=Qn.flattenColumns,vr=Qn.onColumnResize,mr=Qn.getRowKey,pr=Qn.expandedKeys,Rn=Qn.prefixCls,Ge=Qn.childrenColumnName,Tt=Qn.scrollX,It=Qn.direction,Wt=Se(ma),Ht=Wt.sticky,Mn=Wt.scrollY,Tn=Wt.listItemHeight,wn=Wt.getComponent,Fn=Wt.onScroll,nr=oe.useRef(),Or=Zt(Dn,Ge,pr,mr),br=oe.useMemo(function(){var La=0;return er.map(function(Xr){var Wr=Xr.width,ea=Xr.key;return La+=Wr,[ea,Wr,La]})},[er]),Tr=oe.useMemo(function(){return br.map(function(La){return La[2]})},[br]);oe.useEffect(function(){br.forEach(function(La){var Xr=(0,ue.Z)(La,2),Wr=Xr[0],ea=Xr[1];vr(Wr,ea)})},[br]),oe.useImperativeHandle(Bn,function(){var La,Xr={scrollTo:function(ea){var ka;(ka=nr.current)===null||ka===void 0||ka.scrollTo(ea)},nativeElement:(La=nr.current)===null||La===void 0?void 0:La.nativeElement};return Object.defineProperty(Xr,"scrollLeft",{get:function(){var ea;return((ea=nr.current)===null||ea===void 0?void 0:ea.getScrollInfo().x)||0},set:function(ea){var ka;(ka=nr.current)===null||ka===void 0||ka.scrollTo({left:ea})}}),Xr});var Hr=function(Xr,Wr){var ea,ka=(ea=Or[Wr])===null||ea===void 0?void 0:ea.record,za=Xr.onCell;if(za){var sn,Ba=za(ka,Wr);return(sn=Ba==null?void 0:Ba.rowSpan)!==null&&sn!==void 0?sn:1}return 1},jr=function(Xr){var Wr=Xr.start,ea=Xr.end,ka=Xr.getSize,za=Xr.offsetY;if(ea<0)return null;for(var sn=er.filter(function(bi){return Hr(bi,Wr)===0}),Ba=Wr,li=function(yi){if(sn=sn.filter(function(ca){return Hr(ca,yi)===0}),!sn.length)return Ba=yi,1},Ui=Wr;Ui>=0&&!li(Ui);Ui-=1);for(var Wi=er.filter(function(bi){return Hr(bi,ea)!==1}),So=ea,eo=function(yi){if(Wi=Wi.filter(function(ca){return Hr(ca,yi)!==1}),!Wi.length)return So=Math.max(yi-1,ea),1},gi=ea;gi<Or.length&&!eo(gi);gi+=1);for(var fi=[],pi=function(yi){var ca=Or[yi];if(!ca)return 1;er.some(function(_a){return Hr(_a,yi)>1})&&fi.push(yi)},Hi=Ba;Hi<=So;Hi+=1)pi(Hi);var vi=fi.map(function(bi){var yi=Or[bi],ca=mr(yi.record,bi),_a=function(Ja){var ui=bi+Ja-1,Ki=mr(Or[ui].record,ui),ri=ka(ca,Ki);return ri.bottom-ri.top},Ma=ka(ca);return oe.createElement(Gr,{key:bi,data:yi,rowKey:ca,index:bi,style:{top:-za+Ma.top},extra:!0,getHeight:_a})});return vi},sa=oe.useMemo(function(){return{columnsOffset:Tr}},[Tr]),va="".concat(Rn,"-tbody"),Aa=wn(["body","wrapper"]),Sa={};return Ht&&(Sa.position="sticky",Sa.bottom=0,(0,Fe.Z)(Ht)==="object"&&Ht.offsetScroll&&(Sa.bottom=Ht.offsetScroll)),oe.createElement(la.Provider,{value:sa},oe.createElement(ha.Z,{fullHeight:!1,ref:nr,prefixCls:"".concat(va,"-virtual"),styles:{horizontalScrollBar:Sa},className:va,height:Mn,itemHeight:Tn||24,data:Or,itemKey:function(Xr){return mr(Xr.record)},component:Aa,scrollWidth:Tt,direction:It,onVirtualScroll:function(Xr){var Wr,ea=Xr.x;jn({currentTarget:(Wr=nr.current)===null||Wr===void 0?void 0:Wr.nativeElement,scrollLeft:ea})},onScroll:Fn,extraRender:jr},function(La,Xr,Wr){var ea=mr(La.record,Xr);return oe.createElement(Gr,{data:La,rowKey:ea,index:Xr,style:Wr.style})}))}),ya=Le(ra),_r=ya,Zr=function(Bn,Dn){var jn=Dn.ref,Qn=Dn.onScroll;return oe.createElement(_r,{ref:jn,data:Bn,onScroll:Qn})};function aa(qt,Bn){var Dn=qt.data,jn=qt.columns,Qn=qt.scroll,er=qt.sticky,vr=qt.prefixCls,mr=vr===void 0?ln:vr,pr=qt.className,Rn=qt.listItemHeight,Ge=qt.components,Tt=qt.onScroll,It=Qn||{},Wt=It.x,Ht=It.y;typeof Wt!="number"&&(Wt=1),typeof Ht!="number"&&(Ht=500);var Mn=(0,pn.zX)(function(Fn,nr){return(0,rt.Z)(Ge,Fn)||nr}),Tn=(0,pn.zX)(Tt),wn=oe.useMemo(function(){return{sticky:er,scrollY:Ht,listItemHeight:Rn,getComponent:Mn,onScroll:Tn}},[er,Ht,Rn,Mn,Tn]);return oe.createElement(ma.Provider,{value:wn},oe.createElement(qr,(0,he.Z)({},qt,{className:Xe()(pr,"".concat(mr,"-virtual")),scroll:(0,tt.Z)((0,tt.Z)({},Qn),{},{x:Wt}),components:(0,tt.Z)((0,tt.Z)({},Ge),{},{body:Dn!=null&&Dn.length?Zr:void 0}),columns:jn,internalHooks:b.R,tailor:!0,ref:Bn})))}var ua=oe.forwardRef(aa);function Pa(qt){return Ze(ua,qt)}var Ra=Pa(),Xa=null},54451:function(me,ne,E){"use strict";E.d(ne,{g:function(){return oe},v:function(){return ge}});var b=E(27247),ue=E(43079),le=E(48736),ce=["expandable"],ge="RC_TABLE_INTERNAL_COL_DEFINE";function oe(xe){var Oe=xe.expandable,Se=(0,ue.Z)(xe,ce),he;return"expandable"in xe?he=(0,b.Z)((0,b.Z)({},Se),Oe):he=Se,he.showExpandColumn===!1&&(he.expandIconColumnIndex=-1),he}},22711:function(me,ne,E){"use strict";E.r(ne),E.d(ne,{ResizableTextArea:function(){return Ue},default:function(){return ht}});var b=E(32855),ue=E(74430),le=E(27247),ce=E(3300),ge=E(11913),oe=E(43079),xe=E(92310),Oe=E.n(xe),Se=E(36901),he=E(66003),Ve=E(30292),Ae=E(18929),ct=E(59301),Ke=E(34666),qe=E(29301),Me=E(34280),ze=E(16089),Ze=`
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;
`,Le=["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"],Pe={},ke;function Re(kt){var St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Gt=kt.getAttribute("id")||kt.getAttribute("data-reactid")||kt.getAttribute("name");if(St&&Pe[Gt])return Pe[Gt];var nt=window.getComputedStyle(kt),je=nt.getPropertyValue("box-sizing")||nt.getPropertyValue("-moz-box-sizing")||nt.getPropertyValue("-webkit-box-sizing"),Be=parseFloat(nt.getPropertyValue("padding-bottom"))+parseFloat(nt.getPropertyValue("padding-top")),wt=parseFloat(nt.getPropertyValue("border-bottom-width"))+parseFloat(nt.getPropertyValue("border-top-width")),Ot=Le.map(function(zt){return"".concat(zt,":").concat(nt.getPropertyValue(zt))}).join(";"),ot={sizingStyle:Ot,paddingSize:Be,borderSize:wt,boxSizing:je};return St&&Gt&&(Pe[Gt]=ot),ot}function Te(kt){var St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Gt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,nt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;ke||(ke=document.createElement("textarea"),ke.setAttribute("tab-index","-1"),ke.setAttribute("aria-hidden","true"),ke.setAttribute("name","hiddenTextarea"),document.body.appendChild(ke)),kt.getAttribute("wrap")?ke.setAttribute("wrap",kt.getAttribute("wrap")):ke.removeAttribute("wrap");var je=Re(kt,St),Be=je.paddingSize,wt=je.borderSize,Ot=je.boxSizing,ot=je.sizingStyle;ke.setAttribute("style","".concat(ot,";").concat(Ze)),ke.value=kt.value||kt.placeholder||"";var zt=void 0,Ut=void 0,pn,bt=ke.scrollHeight;if(Ot==="border-box"?bt+=wt:Ot==="content-box"&&(bt-=Be),Gt!==null||nt!==null){ke.value=" ";var Yt=ke.scrollHeight-Be;Gt!==null&&(zt=Yt*Gt,Ot==="border-box"&&(zt=zt+Be+wt),bt=Math.max(zt,bt)),nt!==null&&(Ut=Yt*nt,Ot==="border-box"&&(Ut=Ut+Be+wt),pn=bt>Ut?"":"hidden",bt=Math.min(Ut,bt))}var Bt={height:bt,overflowY:pn,resize:"none"};return zt&&(Bt.minHeight=zt),Ut&&(Bt.maxHeight=Ut),Bt}var Ye=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],lt=0,Fe=1,tt=2,$e=ct.forwardRef(function(kt,St){var Gt=kt,nt=Gt.prefixCls,je=Gt.defaultValue,Be=Gt.value,wt=Gt.autoSize,Ot=Gt.onResize,ot=Gt.className,zt=Gt.style,Ut=Gt.disabled,pn=Gt.onChange,bt=Gt.onInternalAutoSize,Yt=(0,oe.Z)(Gt,Ye),Bt=(0,Ae.Z)(je,{value:Be,postState:function(un){return un!=null?un:""}}),$t=(0,ge.Z)(Bt,2),cn=$t[0],Ie=$t[1],pe=function(un){Ie(un.target.value),pn==null||pn(un)},de=ct.useRef();ct.useImperativeHandle(St,function(){return{textArea:de.current}});var Ee=ct.useMemo(function(){return wt&&(0,Ke.Z)(wt)==="object"?[wt.minRows,wt.maxRows]:[]},[wt]),De=(0,ge.Z)(Ee,2),fe=De[0],Qe=De[1],Mt=!!wt,an=function(){try{if(document.activeElement===de.current){var un=de.current,gn=un.selectionStart,Et=un.selectionEnd,Ln=un.scrollTop;de.current.setSelectionRange(gn,Et),de.current.scrollTop=Ln}}catch(ar){}},Sn=ct.useState(tt),gt=(0,ge.Z)(Sn,2),Ft=gt[0],Lt=gt[1],Jt=ct.useState(),fn=(0,ge.Z)(Jt,2),Zt=fn[0],mt=fn[1],tn=function(){Lt(lt)};(0,Me.Z)(function(){Mt&&tn()},[Be,fe,Qe,Mt]),(0,Me.Z)(function(){if(Ft===lt)Lt(Fe);else if(Ft===Fe){var Je=Te(de.current,!1,fe,Qe);Lt(tt),mt(Je)}else an()},[Ft]);var Ct=ct.useRef(),Rt=function(){ze.Z.cancel(Ct.current)},vt=function(un){Ft===tt&&(Ot==null||Ot(un),wt&&(Rt(),Ct.current=(0,ze.Z)(function(){tn()})))};ct.useEffect(function(){return Rt},[]);var jt=Mt?Zt:null,At=(0,le.Z)((0,le.Z)({},zt),jt);return(Ft===lt||Ft===Fe)&&(At.overflowY="hidden",At.overflowX="hidden"),ct.createElement(qe.Z,{onResize:vt,disabled:!(wt||Ot)},ct.createElement("textarea",(0,b.Z)({},Yt,{ref:de,style:At,className:Oe()(nt,ot,(0,ue.Z)({},"".concat(nt,"-disabled"),Ut)),disabled:Ut,value:cn,onChange:pe})))}),Ue=$e,Xe=["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"],et=ct.forwardRef(function(kt,St){var Gt,nt=kt.defaultValue,je=kt.value,Be=kt.onFocus,wt=kt.onBlur,Ot=kt.onChange,ot=kt.allowClear,zt=kt.maxLength,Ut=kt.onCompositionStart,pn=kt.onCompositionEnd,bt=kt.suffix,Yt=kt.prefixCls,Bt=Yt===void 0?"rc-textarea":Yt,$t=kt.showCount,cn=kt.count,Ie=kt.className,pe=kt.style,de=kt.disabled,Ee=kt.hidden,De=kt.classNames,fe=kt.styles,Qe=kt.onResize,Mt=kt.onClear,an=kt.onPressEnter,Sn=kt.readOnly,gt=kt.autoSize,Ft=kt.onKeyDown,Lt=(0,oe.Z)(kt,Xe),Jt=(0,Ae.Z)(nt,{value:je,defaultValue:nt}),fn=(0,ge.Z)(Jt,2),Zt=fn[0],mt=fn[1],tn=Zt==null?"":String(Zt),Ct=ct.useState(!1),Rt=(0,ge.Z)(Ct,2),vt=Rt[0],jt=Rt[1],At=ct.useRef(!1),Je=ct.useState(null),un=(0,ge.Z)(Je,2),gn=un[0],Et=un[1],Ln=(0,ct.useRef)(null),ar=(0,ct.useRef)(null),Hn=function(){var Sr;return(Sr=ar.current)===null||Sr===void 0?void 0:Sr.textArea},Vt=function(){Hn().focus()};(0,ct.useImperativeHandle)(St,function(){var _n;return{resizableTextArea:ar.current,focus:Vt,blur:function(){Hn().blur()},nativeElement:((_n=Ln.current)===null||_n===void 0?void 0:_n.nativeElement)||Hn()}}),(0,ct.useEffect)(function(){jt(function(_n){return!de&&_n})},[de]);var dr=ct.useState(null),qn=(0,ge.Z)(dr,2),xn=qn[0],zn=qn[1];ct.useEffect(function(){if(xn){var _n;(_n=Hn()).setSelectionRange.apply(_n,(0,ce.Z)(xn))}},[xn]);var cr=(0,he.Z)(cn,$t),ir=(Gt=cr.max)!==null&&Gt!==void 0?Gt:zt,Gn=Number(ir)>0,Yn=cr.strategy(tn),nn=!!ir&&Yn>ir,An=function(Sr,kr){var Ur=kr;!At.current&&cr.exceedFormatter&&cr.max&&cr.strategy(kr)>cr.max&&(Ur=cr.exceedFormatter(kr,{max:cr.max}),kr!==Ur&&zn([Hn().selectionStart||0,Hn().selectionEnd||0])),mt(Ur),(0,Ve.rJ)(Sr.currentTarget,Sr,Ot,Ur)},Nn=function(Sr){At.current=!0,Ut==null||Ut(Sr)},In=function(Sr){At.current=!1,An(Sr,Sr.currentTarget.value),pn==null||pn(Sr)},xr=function(Sr){An(Sr,Sr.target.value)},gr=function(Sr){Sr.key==="Enter"&&an&&an(Sr),Ft==null||Ft(Sr)},or=function(Sr){jt(!0),Be==null||Be(Sr)},Lr=function(Sr){jt(!1),wt==null||wt(Sr)},Br=function(Sr){mt(""),Vt(),(0,Ve.rJ)(Hn(),Sr,Ot)},Pr=bt,wr;cr.show&&(cr.showFormatter?wr=cr.showFormatter({value:tn,count:Yn,maxLength:ir}):wr="".concat(Yn).concat(Gn?" / ".concat(ir):""),Pr=ct.createElement(ct.Fragment,null,Pr,ct.createElement("span",{className:Oe()("".concat(Bt,"-data-count"),De==null?void 0:De.count),style:fe==null?void 0:fe.count},wr)));var Ir=function(Sr){var kr;Qe==null||Qe(Sr),(kr=Hn())!==null&&kr!==void 0&&kr.style.height&&Et(!0)},lr=!gt&&!$t&&!ot;return ct.createElement(Se.BaseInput,{ref:Ln,value:tn,allowClear:ot,handleReset:Br,suffix:Pr,prefixCls:Bt,classNames:(0,le.Z)((0,le.Z)({},De),{},{affixWrapper:Oe()(De==null?void 0:De.affixWrapper,(0,ue.Z)((0,ue.Z)({},"".concat(Bt,"-show-count"),$t),"".concat(Bt,"-textarea-allow-clear"),ot))}),disabled:de,focused:vt,className:Oe()(Ie,nn&&"".concat(Bt,"-out-of-range")),style:(0,le.Z)((0,le.Z)({},pe),gn&&!lr?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof wr=="string"?wr:void 0}},hidden:Ee,readOnly:Sn,onClear:Mt},ct.createElement(Ue,(0,b.Z)({},Lt,{autoSize:gt,maxLength:zt,onKeyDown:gr,onChange:xr,onFocus:or,onBlur:Lr,onCompositionStart:Nn,onCompositionEnd:In,className:Oe()(De==null?void 0:De.textarea),style:(0,le.Z)((0,le.Z)({},fe==null?void 0:fe.textarea),{},{resize:pe==null?void 0:pe.resize}),disabled:de,prefixCls:Bt,onResize:Ir,ref:ar,readOnly:Sn})))}),rt=et,ht=rt},9940:function(me,ne,E){"use strict";E.d(ne,{Qw:function(){return $t},FJ:function(){return Ie},hT:function(){return cn},OF:function(){return ke},ZP:function(){return Sn}});var b=E(32855),ue=E(3300),le=E(27247),ce=E(11913),ge=E(43079),oe=E(34666),xe=E(37463),Oe=E(6551),Se=E(34643),he=E(18929),Ve=E(48736),Ae=E(59301),ct=function(gt){var Ft=Ae.useRef({valueLabels:new Map});return Ae.useMemo(function(){var Lt=Ft.current.valueLabels,Jt=new Map,fn=gt.map(function(Zt){var mt=Zt.value,tn=Zt.label,Ct=tn!=null?tn:Lt.get(mt);return Jt.set(mt,Ct),(0,le.Z)((0,le.Z)({},Zt),{},{label:Ct})});return Ft.current.valueLabels=Jt,[fn]},[gt])},Ke=function(Ft,Lt,Jt,fn){return Ae.useMemo(function(){var Zt=function(Je){return Je.map(function(un){var gn=un.value;return gn})},mt=Zt(Ft),tn=Zt(Lt),Ct=mt.filter(function(At){return!fn[At]}),Rt=mt,vt=tn;if(Jt){var jt=(0,Se.S)(mt,!0,fn);Rt=jt.checkedKeys,vt=jt.halfCheckedKeys}return[Array.from(new Set([].concat((0,ue.Z)(Ct),(0,ue.Z)(Rt)))),vt]},[Ft,Lt,Jt,fn])},qe=Ke,Me=E(34061),ze=function(gt,Ft){return Ae.useMemo(function(){var Lt=(0,Me.I8)(gt,{fieldNames:Ft,initWrapper:function(fn){return(0,le.Z)((0,le.Z)({},fn),{},{valueEntities:new Map})},processEntity:function(fn,Zt){var mt=fn.node[Ft.value];if(0)var tn;Zt.valueEntities.set(mt,fn)}});return Lt},[gt,Ft])},Ze=E(74430),Le=E(11592),Pe=function(){return null},ke=Pe,Re=["children","value"];function Te(gt){return(0,Le.Z)(gt).map(function(Ft){if(!Ae.isValidElement(Ft)||!Ft.type)return null;var Lt=Ft,Jt=Lt.key,fn=Lt.props,Zt=fn.children,mt=fn.value,tn=(0,ge.Z)(fn,Re),Ct=(0,le.Z)({key:Jt,value:mt},tn),Rt=Te(Zt);return Rt.length&&(Ct.children=Rt),Ct}).filter(function(Ft){return Ft})}function Ye(gt){if(!gt)return gt;var Ft=(0,le.Z)({},gt);return"props"in Ft||Object.defineProperty(Ft,"props",{get:function(){return(0,Ve.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),Ft}}),Ft}function lt(gt,Ft,Lt,Jt,fn,Zt){var mt=null,tn=null;function Ct(){function Rt(vt){var jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",At=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return vt.map(function(Je,un){var gn="".concat(jt,"-").concat(un),Et=Je[Zt.value],Ln=Lt.includes(Et),ar=Rt(Je[Zt.children]||[],gn,Ln),Hn=Ae.createElement(ke,Je,ar.map(function(dr){return dr.node}));if(Ft===Et&&(mt=Hn),Ln){var Vt={pos:gn,node:Hn,children:ar};return At||tn.push(Vt),Vt}return null}).filter(function(Je){return Je})}tn||(tn=[],Rt(Jt),tn.sort(function(vt,jt){var At=vt.node.props.value,Je=jt.node.props.value,un=Lt.indexOf(At),gn=Lt.indexOf(Je);return un-gn}))}Object.defineProperty(gt,"triggerNode",{get:function(){return(0,Ve.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),Ct(),mt}}),Object.defineProperty(gt,"allCheckedNodes",{get:function(){return(0,Ve.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),Ct(),fn?tn:tn.map(function(vt){var jt=vt.node;return jt})}})}var Fe=function(Ft,Lt,Jt){var fn=Jt.fieldNames,Zt=Jt.treeNodeFilterProp,mt=Jt.filterTreeNode,tn=fn.children;return Ae.useMemo(function(){if(!Lt||mt===!1)return Ft;var Ct=typeof mt=="function"?mt:function(vt,jt){return String(jt[Zt]).toUpperCase().includes(Lt.toUpperCase())},Rt=function vt(jt){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return jt.reduce(function(Je,un){var gn=un[tn],Et=At||Ct(Lt,Ye(un)),Ln=vt(gn||[],Et);return(Et||Ln.length)&&Je.push((0,le.Z)((0,le.Z)({},un),{},(0,Ze.Z)({isLeaf:void 0},tn,Ln))),Je},[])};return Rt(Ft)},[Ft,Lt,tn,Zt,mt])},tt=Fe;function $e(gt){var Ft=Ae.useRef();Ft.current=gt;var Lt=Ae.useCallback(function(){return Ft.current.apply(Ft,arguments)},[]);return Lt}function Ue(gt,Ft){var Lt=Ft.id,Jt=Ft.pId,fn=Ft.rootPId,Zt=new Map,mt=[];return gt.forEach(function(tn){var Ct=tn[Lt],Rt=(0,le.Z)((0,le.Z)({},tn),{},{key:tn.key||Ct});Zt.set(Ct,Rt)}),Zt.forEach(function(tn){var Ct=tn[Jt],Rt=Zt.get(Ct);Rt?(Rt.children=Rt.children||[],Rt.children.push(tn)):(Ct===fn||fn===null)&&mt.push(tn)}),mt}function Xe(gt,Ft,Lt){return Ae.useMemo(function(){if(gt){if(Lt){var Jt=(0,le.Z)({id:"id",pId:"pId",rootPId:null},(0,oe.Z)(Lt)==="object"?Lt:{});return Ue(gt,Jt)}return gt}return Te(Ft)},[Ft,Lt,gt])}var et=Ae.createContext(null),rt=et,ht=E(93162),kt=E(89149),St=E(10228),Gt=E(80547),nt=Ae.createContext(null),je=nt,Be=function(Ft){return Array.isArray(Ft)?Ft:Ft!==void 0?[Ft]:[]},wt=function(Ft){var Lt=Ft||{},Jt=Lt.label,fn=Lt.value,Zt=Lt.children;return{_title:Jt?[Jt]:["title","label"],value:fn||"value",key:fn||"value",children:Zt||"children"}},Ot=function(Ft){return!Ft||Ft.disabled||Ft.disableCheckbox||Ft.checkable===!1},ot=function(Ft,Lt){var Jt=[],fn=function Zt(mt){mt.forEach(function(tn){var Ct=tn[Lt.children];Ct&&(Jt.push(tn[Lt.value]),Zt(Ct))})};return fn(Ft),Jt},zt=function(Ft){return Ft==null},Ut=E(70425),pn={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},bt=function(Ft,Lt){var Jt=(0,xe.lk)(),fn=Jt.prefixCls,Zt=Jt.multiple,mt=Jt.searchValue,tn=Jt.toggleOpen,Ct=Jt.open,Rt=Jt.notFoundContent,vt=Ae.useContext(je),jt=vt.virtual,At=vt.listHeight,Je=vt.listItemHeight,un=vt.listItemScrollOffset,gn=vt.treeData,Et=vt.fieldNames,Ln=vt.onSelect,ar=vt.dropdownMatchSelectWidth,Hn=vt.treeExpandAction,Vt=vt.treeTitleRender,dr=vt.onPopupScroll,qn=vt.leftMaxCount,xn=vt.leafCountOnly,zn=vt.valueEntities,cr=Ae.useContext(rt),ir=cr.checkable,Gn=cr.checkedKeys,Yn=cr.halfCheckedKeys,nn=cr.treeExpandedKeys,An=cr.treeDefaultExpandAll,Nn=cr.treeDefaultExpandedKeys,In=cr.onTreeExpand,xr=cr.treeIcon,gr=cr.showTreeIcon,or=cr.switcherIcon,Lr=cr.treeLine,Br=cr.treeNodeFilterProp,Pr=cr.loadData,wr=cr.treeLoadedKeys,Ir=cr.treeMotion,lr=cr.onTreeLoad,_n=cr.keyEntities,Sr=Ae.useRef(),kr=(0,Gt.Z)(function(){return gn},[Ct,gn],function(Gr,ra){return ra[0]&&Gr[1]!==ra[1]}),Ur=Ae.useMemo(function(){return ir?{checked:Gn,halfChecked:Yn}:null},[ir,Gn,Yn]);Ae.useEffect(function(){if(Ct&&!Zt&&Gn.length){var Gr;(Gr=Sr.current)===null||Gr===void 0||Gr.scrollTo({key:Gn[0]})}},[Ct]);var rn=function(ra){ra.preventDefault()},Qt=function(ra,ya){var _r=ya.node;ir&&Ot(_r)||(Ln(_r.key,{selected:!Gn.includes(_r.key)}),Zt||tn(!1))},hr=Ae.useState(Nn),$n=(0,ce.Z)(hr,2),Pt=$n[0],on=$n[1],sr=Ae.useState(null),Kt=(0,ce.Z)(sr,2),be=Kt[0],Cn=Kt[1],yr=Ae.useMemo(function(){return nn?(0,ue.Z)(nn):mt?be:Pt},[Pt,be,nn,mt]),ln=function(ra){on(ra),Cn(ra),In&&In(ra)},Ar=String(mt).toLowerCase(),Xn=function(ra){return Ar?String(ra[Br]).toLowerCase().includes(Ar):!1};Ae.useEffect(function(){mt&&Cn(ot(gn,Et))},[mt]);var Cr=Ae.useState(function(){return new Map}),Dr=(0,ce.Z)(Cr,2),_t=Dr[0],Rr=Dr[1];Ae.useEffect(function(){qn&&Rr(new Map)},[qn]);function Kr(Gr){var ra=Gr[Et.value];if(!_t.has(ra)){var ya=zn.get(ra),_r=(ya.children||[]).length===0;if(_r)_t.set(ra,!1);else{var Zr=ya.children.filter(function(ua){return!ua.node.disabled&&!ua.node.disableCheckbox&&!Gn.includes(ua.node[Et.value])}),aa=Zr.length;_t.set(ra,aa>qn)}}return _t.get(ra)}var qr=(0,Ut.zX)(function(Gr){var ra=Gr[Et.value];return Gn.includes(ra)||qn===null?!1:qn<=0?!0:xn&&qn?Kr(Gr):!1}),ha=function Gr(ra){var ya=(0,ht.Z)(ra),_r;try{for(ya.s();!(_r=ya.n()).done;){var Zr=_r.value;if(!(Zr.disabled||Zr.selectable===!1)){if(mt){if(Xn(Zr))return Zr}else return Zr;if(Zr[Et.children]){var aa=Gr(Zr[Et.children]);if(aa)return aa}}}}catch(ua){ya.e(ua)}finally{ya.f()}return null},ma=Ae.useState(null),la=(0,ce.Z)(ma,2),$r=la[0],wa=la[1],Ia=_n[$r];Ae.useEffect(function(){if(Ct){var Gr=null,ra=function(){var _r=ha(kr);return _r?_r[Et.value]:null};!Zt&&Gn.length&&!mt?Gr=Gn[0]:Gr=ra(),wa(Gr)}},[Ct,mt]),Ae.useImperativeHandle(Lt,function(){var Gr;return{scrollTo:(Gr=Sr.current)===null||Gr===void 0?void 0:Gr.scrollTo,onKeyDown:function(ya){var _r,Zr=ya.which;switch(Zr){case St.Z.UP:case St.Z.DOWN:case St.Z.LEFT:case St.Z.RIGHT:(_r=Sr.current)===null||_r===void 0||_r.onKeyDown(ya);break;case St.Z.ENTER:{if(Ia){var aa=qr(Ia.node),ua=(Ia==null?void 0:Ia.node)||{},Pa=ua.selectable,Ra=ua.value,Xa=ua.disabled;Pa!==!1&&!Xa&&!aa&&Qt(null,{node:{key:$r},selected:!Gn.includes(Ra)})}break}case St.Z.ESC:tn(!1)}},onKeyUp:function(){}}});var xa=(0,Gt.Z)(function(){return!mt},[mt,nn||Pt],function(Gr,ra){var ya=(0,ce.Z)(Gr,1),_r=ya[0],Zr=(0,ce.Z)(ra,2),aa=Zr[0],ua=Zr[1];return _r!==aa&&!!(aa||ua)}),ga=xa?Pr:null;if(kr.length===0)return Ae.createElement("div",{role:"listbox",className:"".concat(fn,"-empty"),onMouseDown:rn},Rt);var pa={fieldNames:Et};return wr&&(pa.loadedKeys=wr),yr&&(pa.expandedKeys=yr),Ae.createElement("div",{onMouseDown:rn},Ia&&Ct&&Ae.createElement("span",{style:pn,"aria-live":"assertive"},Ia.node.value),Ae.createElement(kt.y6.Provider,{value:{nodeDisabled:qr}},Ae.createElement(kt.ZP,(0,b.Z)({ref:Sr,focusable:!1,prefixCls:"".concat(fn,"-tree"),treeData:kr,height:At,itemHeight:Je,itemScrollOffset:un,virtual:jt!==!1&&ar!==!1,multiple:Zt,icon:xr,showIcon:gr,switcherIcon:or,showLine:Lr,loadData:ga,motion:Ir,activeKey:$r,checkable:ir,checkStrictly:!0,checkedKeys:Ur,selectedKeys:ir?[]:Gn,defaultExpandAll:An,titleRender:Vt},pa,{onActiveChange:wa,onSelect:Qt,onCheck:Qt,onExpand:ln,onLoad:lr,filterTreeNode:Xn,expandAction:Hn,onScroll:dr}))))},Yt=Ae.forwardRef(bt),Bt=Yt,$t="SHOW_ALL",cn="SHOW_PARENT",Ie="SHOW_CHILD";function pe(gt,Ft,Lt,Jt){var fn=new Set(gt);return Ft===Ie?gt.filter(function(Zt){var mt=Lt[Zt];return!mt||!mt.children||!mt.children.some(function(tn){var Ct=tn.node;return fn.has(Ct[Jt.value])})||!mt.children.every(function(tn){var Ct=tn.node;return Ot(Ct)||fn.has(Ct[Jt.value])})}):Ft===cn?gt.filter(function(Zt){var mt=Lt[Zt],tn=mt?mt.parent:null;return!tn||Ot(tn.node)||!fn.has(tn.key)}):gt}function de(gt){var Ft=gt.searchPlaceholder,Lt=gt.treeCheckStrictly,Jt=gt.treeCheckable,fn=gt.labelInValue,Zt=gt.value,mt=gt.multiple,tn=gt.showCheckedStrategy,Ct=gt.maxCount;warning(!Ft,"`searchPlaceholder` has been removed."),Lt&&fn===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(fn||Lt)&&warning(toArray(Zt).every(function(Rt){return Rt&&_typeof(Rt)==="object"&&"value"in Rt}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),Lt||mt||Jt?warning(!Zt||Array.isArray(Zt),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(Zt),"`value` should not be array when `TreeSelect` is single mode."),Ct&&(tn==="SHOW_ALL"&&!Lt||tn==="SHOW_PARENT")&&warning(!1,"`maxCount` not work with `showCheckedStrategy=SHOW_ALL` (when `treeCheckStrictly=false`) or `showCheckedStrategy=SHOW_PARENT`.")}var Ee=null,De=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","maxCount","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","listItemScrollOffset","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion","treeTitleRender","onPopupScroll"];function fe(gt){return!gt||(0,oe.Z)(gt)!=="object"}var Qe=Ae.forwardRef(function(gt,Ft){var Lt=gt.id,Jt=gt.prefixCls,fn=Jt===void 0?"rc-tree-select":Jt,Zt=gt.value,mt=gt.defaultValue,tn=gt.onChange,Ct=gt.onSelect,Rt=gt.onDeselect,vt=gt.searchValue,jt=gt.inputValue,At=gt.onSearch,Je=gt.autoClearSearchValue,un=Je===void 0?!0:Je,gn=gt.filterTreeNode,Et=gt.treeNodeFilterProp,Ln=Et===void 0?"value":Et,ar=gt.showCheckedStrategy,Hn=gt.treeNodeLabelProp,Vt=gt.multiple,dr=gt.treeCheckable,qn=gt.treeCheckStrictly,xn=gt.labelInValue,zn=gt.maxCount,cr=gt.fieldNames,ir=gt.treeDataSimpleMode,Gn=gt.treeData,Yn=gt.children,nn=gt.loadData,An=gt.treeLoadedKeys,Nn=gt.onTreeLoad,In=gt.treeDefaultExpandAll,xr=gt.treeExpandedKeys,gr=gt.treeDefaultExpandedKeys,or=gt.onTreeExpand,Lr=gt.treeExpandAction,Br=gt.virtual,Pr=gt.listHeight,wr=Pr===void 0?200:Pr,Ir=gt.listItemHeight,lr=Ir===void 0?20:Ir,_n=gt.listItemScrollOffset,Sr=_n===void 0?0:_n,kr=gt.onDropdownVisibleChange,Ur=gt.dropdownMatchSelectWidth,rn=Ur===void 0?!0:Ur,Qt=gt.treeLine,hr=gt.treeIcon,$n=gt.showTreeIcon,Pt=gt.switcherIcon,on=gt.treeMotion,sr=gt.treeTitleRender,Kt=gt.onPopupScroll,be=(0,ge.Z)(gt,De),Cn=(0,Oe.ZP)(Lt),yr=dr&&!qn,ln=dr||qn,Ar=qn||xn,Xn=ln||Vt,Cr=(0,he.Z)(mt,{value:Zt}),Dr=(0,ce.Z)(Cr,2),_t=Dr[0],Rr=Dr[1],Kr=Ae.useMemo(function(){return dr?ar||Ie:$t},[ar,dr]),qr=Ae.useMemo(function(){return wt(cr)},[JSON.stringify(cr)]),ha=(0,he.Z)("",{value:vt!==void 0?vt:jt,postState:function(wn){return wn||""}}),ma=(0,ce.Z)(ha,2),la=ma[0],$r=ma[1],wa=function(wn){$r(wn),At==null||At(wn)},Ia=Xe(Gn,Yn,ir),xa=ze(Ia,qr),ga=xa.keyEntities,pa=xa.valueEntities,Gr=Ae.useCallback(function(Tn){var wn=[],Fn=[];return Tn.forEach(function(nr){pa.has(nr)?Fn.push(nr):wn.push(nr)}),{missingRawValues:wn,existRawValues:Fn}},[pa]),ra=tt(Ia,la,{fieldNames:qr,treeNodeFilterProp:Ln,filterTreeNode:gn}),ya=Ae.useCallback(function(Tn){if(Tn){if(Hn)return Tn[Hn];for(var wn=qr._title,Fn=0;Fn<wn.length;Fn+=1){var nr=Tn[wn[Fn]];if(nr!==void 0)return nr}}},[qr,Hn]),_r=Ae.useCallback(function(Tn){var wn=Be(Tn);return wn.map(function(Fn){return fe(Fn)?{value:Fn}:Fn})},[]),Zr=Ae.useCallback(function(Tn){var wn=_r(Tn);return wn.map(function(Fn){var nr=Fn.label,Or=Fn.value,br=Fn.halfChecked,Tr,Hr=pa.get(Or);if(Hr){var jr;nr=sr?sr(Hr.node):(jr=nr)!==null&&jr!==void 0?jr:ya(Hr.node),Tr=Hr.node.disabled}else if(nr===void 0){var sa=_r(_t).find(function(va){return va.value===Or});nr=sa.label}return{label:nr,value:Or,halfChecked:br,disabled:Tr}})},[pa,ya,_r,_t]),aa=Ae.useMemo(function(){return _r(_t===null?[]:_t)},[_r,_t]),ua=Ae.useMemo(function(){var Tn=[],wn=[];return aa.forEach(function(Fn){Fn.halfChecked?wn.push(Fn):Tn.push(Fn)}),[Tn,wn]},[aa]),Pa=(0,ce.Z)(ua,2),Ra=Pa[0],Xa=Pa[1],qt=Ae.useMemo(function(){return Ra.map(function(Tn){return Tn.value})},[Ra]),Bn=qe(Ra,Xa,yr,ga),Dn=(0,ce.Z)(Bn,2),jn=Dn[0],Qn=Dn[1],er=Ae.useMemo(function(){var Tn=pe(jn,Kr,ga,qr),wn=Tn.map(function(br){var Tr,Hr;return(Tr=(Hr=ga[br])===null||Hr===void 0||(Hr=Hr.node)===null||Hr===void 0?void 0:Hr[qr.value])!==null&&Tr!==void 0?Tr:br}),Fn=wn.map(function(br){var Tr=Ra.find(function(jr){return jr.value===br}),Hr=xn?Tr==null?void 0:Tr.label:sr==null?void 0:sr(Tr);return{value:br,label:Hr}}),nr=Zr(Fn),Or=nr[0];return!Xn&&Or&&zt(Or.value)&&zt(Or.label)?[]:nr.map(function(br){var Tr;return(0,le.Z)((0,le.Z)({},br),{},{label:(Tr=br.label)!==null&&Tr!==void 0?Tr:br.value})})},[qr,Xn,jn,Ra,Zr,Kr,ga]),vr=ct(er),mr=(0,ce.Z)(vr,1),pr=mr[0],Rn=Ae.useMemo(function(){return Xn&&(Kr==="SHOW_CHILD"||qn||!dr)?zn:null},[zn,Xn,qn,Kr,dr]),Ge=$e(function(Tn,wn,Fn){var nr=pe(Tn,Kr,ga,qr);if(!(Rn&&nr.length>Rn)){var Or=Zr(Tn);if(Rr(Or),un&&$r(""),tn){var br=Tn;yr&&(br=nr.map(function(Wr){var ea=pa.get(Wr);return ea?ea.node[qr.value]:Wr}));var Tr=wn||{triggerValue:void 0,selected:void 0},Hr=Tr.triggerValue,jr=Tr.selected,sa=br;if(qn){var va=Xa.filter(function(Wr){return!br.includes(Wr.value)});sa=[].concat((0,ue.Z)(sa),(0,ue.Z)(va))}var Aa=Zr(sa),Sa={preValue:Ra,triggerValue:Hr},La=!0;(qn||Fn==="selection"&&!jr)&&(La=!1),lt(Sa,Hr,Tn,Ia,La,qr),ln?Sa.checked=jr:Sa.selected=jr;var Xr=Ar?Aa:Aa.map(function(Wr){return Wr.value});tn(Xn?Xr:Xr[0],Ar?null:Aa.map(function(Wr){return Wr.label}),Sa)}}}),Tt=Ae.useCallback(function(Tn,wn){var Fn,nr=wn.selected,Or=wn.source,br=ga[Tn],Tr=br==null?void 0:br.node,Hr=(Fn=Tr==null?void 0:Tr[qr.value])!==null&&Fn!==void 0?Fn:Tn;if(!Xn)Ge([Hr],{selected:!0,triggerValue:Hr},"option");else{var jr=nr?[].concat((0,ue.Z)(qt),[Hr]):jn.filter(function(ea){return ea!==Hr});if(yr){var sa=Gr(jr),va=sa.missingRawValues,Aa=sa.existRawValues,Sa=Aa.map(function(ea){return pa.get(ea).key}),La;if(nr){var Xr=(0,Se.S)(Sa,!0,ga);La=Xr.checkedKeys}else{var Wr=(0,Se.S)(Sa,{checked:!1,halfCheckedKeys:Qn},ga);La=Wr.checkedKeys}jr=[].concat((0,ue.Z)(va),(0,ue.Z)(La.map(function(ea){return ga[ea].node[qr.value]})))}Ge(jr,{selected:nr,triggerValue:Hr},Or||"option")}nr||!Xn?Ct==null||Ct(Hr,Ye(Tr)):Rt==null||Rt(Hr,Ye(Tr))},[Gr,pa,ga,qr,Xn,qt,Ge,yr,Ct,Rt,jn,Qn,zn]),It=Ae.useCallback(function(Tn){if(kr){var wn={};Object.defineProperty(wn,"documentClickClose",{get:function(){return(0,Ve.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),kr(Tn,wn)}},[kr]),Wt=$e(function(Tn,wn){var Fn=Tn.map(function(nr){return nr.value});if(wn.type==="clear"){Ge(Fn,{},"selection");return}wn.values.length&&Tt(wn.values[0].value,{selected:!1,source:"selection"})}),Ht=Ae.useMemo(function(){return{virtual:Br,dropdownMatchSelectWidth:rn,listHeight:wr,listItemHeight:lr,listItemScrollOffset:Sr,treeData:ra,fieldNames:qr,onSelect:Tt,treeExpandAction:Lr,treeTitleRender:sr,onPopupScroll:Kt,leftMaxCount:zn===void 0?null:zn-pr.length,leafCountOnly:Kr==="SHOW_CHILD"&&!qn&&!!dr,valueEntities:pa}},[Br,rn,wr,lr,Sr,ra,qr,Tt,Lr,sr,Kt,zn,pr.length,Kr,qn,dr,pa]),Mn=Ae.useMemo(function(){return{checkable:ln,loadData:nn,treeLoadedKeys:An,onTreeLoad:Nn,checkedKeys:jn,halfCheckedKeys:Qn,treeDefaultExpandAll:In,treeExpandedKeys:xr,treeDefaultExpandedKeys:gr,onTreeExpand:or,treeIcon:hr,treeMotion:on,showTreeIcon:$n,switcherIcon:Pt,treeLine:Qt,treeNodeFilterProp:Ln,keyEntities:ga}},[ln,nn,An,Nn,jn,Qn,In,xr,gr,or,hr,on,$n,Pt,Qt,Ln,ga]);return Ae.createElement(je.Provider,{value:Ht},Ae.createElement(rt.Provider,{value:Mn},Ae.createElement(xe.Ac,(0,b.Z)({ref:Ft},be,{id:Cn,prefixCls:fn,mode:Xn?"multiple":void 0,displayValues:pr,onDisplayValuesChange:Wt,searchValue:la,onSearch:wa,OptionList:Bt,emptyOptions:!Ia.length,onDropdownVisibleChange:It,dropdownMatchSelectWidth:rn}))))}),Mt=Qe;Mt.TreeNode=ke,Mt.SHOW_ALL=$t,Mt.SHOW_PARENT=cn,Mt.SHOW_CHILD=Ie;var an=Mt,Sn=an},639:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return Pe}});var b=E(32855),ue=E(74430),le=E(27247),ce=E(11913),ge=E(43079),oe=E(59301),xe=E(92310),Oe=E.n(xe),Se=E(26112),he=E(30699),Ve=function(Re){for(var Te=Re.prefixCls,Ye=Re.level,lt=Re.isStart,Fe=Re.isEnd,tt="".concat(Te,"-indent-unit"),$e=[],Ue=0;Ue<Ye;Ue+=1)$e.push(oe.createElement("span",{key:Ue,className:Oe()(tt,(0,ue.Z)((0,ue.Z)({},"".concat(tt,"-start"),lt[Ue]),"".concat(tt,"-end"),Fe[Ue]))}));return oe.createElement("span",{"aria-hidden":"true",className:"".concat(Te,"-indent")},$e)},Ae=oe.memo(Ve),ct=E(65065),Ke=E(34061),qe=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],Me="open",ze="close",Ze="---",Le=function(Re){var Te,Ye,lt,Fe=Re.eventKey,tt=Re.className,$e=Re.style,Ue=Re.dragOver,Xe=Re.dragOverGapTop,et=Re.dragOverGapBottom,rt=Re.isLeaf,ht=Re.isStart,kt=Re.isEnd,St=Re.expanded,Gt=Re.selected,nt=Re.checked,je=Re.halfChecked,Be=Re.loading,wt=Re.domRef,Ot=Re.active,ot=Re.data,zt=Re.onMouseMove,Ut=Re.selectable,pn=(0,ge.Z)(Re,qe),bt=oe.useContext(he.k),Yt=oe.useContext(he.y),Bt=oe.useRef(null),$t=oe.useState(!1),cn=(0,ce.Z)($t,2),Ie=cn[0],pe=cn[1],de=!!(bt.disabled||Re.disabled||(Te=Yt.nodeDisabled)!==null&&Te!==void 0&&Te.call(Yt,ot)),Ee=oe.useMemo(function(){return!bt.checkable||Re.checkable===!1?!1:bt.checkable},[bt.checkable,Re.checkable]),De=function(Yn){de||bt.onNodeSelect(Yn,(0,Ke.F)(Re))},fe=function(Yn){de||!Ee||Re.disableCheckbox||bt.onNodeCheck(Yn,(0,Ke.F)(Re),!nt)},Qe=oe.useMemo(function(){return typeof Ut=="boolean"?Ut:bt.selectable},[Ut,bt.selectable]),Mt=function(Yn){bt.onNodeClick(Yn,(0,Ke.F)(Re)),Qe?De(Yn):fe(Yn)},an=function(Yn){bt.onNodeDoubleClick(Yn,(0,Ke.F)(Re))},Sn=function(Yn){bt.onNodeMouseEnter(Yn,(0,Ke.F)(Re))},gt=function(Yn){bt.onNodeMouseLeave(Yn,(0,Ke.F)(Re))},Ft=function(Yn){bt.onNodeContextMenu(Yn,(0,Ke.F)(Re))},Lt=oe.useMemo(function(){return!!(bt.draggable&&(!bt.draggable.nodeDraggable||bt.draggable.nodeDraggable(ot)))},[bt.draggable,ot]),Jt=function(Yn){Yn.stopPropagation(),pe(!0),bt.onNodeDragStart(Yn,Re);try{Yn.dataTransfer.setData("text/plain","")}catch(nn){}},fn=function(Yn){Yn.preventDefault(),Yn.stopPropagation(),bt.onNodeDragEnter(Yn,Re)},Zt=function(Yn){Yn.preventDefault(),Yn.stopPropagation(),bt.onNodeDragOver(Yn,Re)},mt=function(Yn){Yn.stopPropagation(),bt.onNodeDragLeave(Yn,Re)},tn=function(Yn){Yn.stopPropagation(),pe(!1),bt.onNodeDragEnd(Yn,Re)},Ct=function(Yn){Yn.preventDefault(),Yn.stopPropagation(),pe(!1),bt.onNodeDrop(Yn,Re)},Rt=function(Yn){Be||bt.onNodeExpand(Yn,(0,Ke.F)(Re))},vt=oe.useMemo(function(){var Gn=(0,ct.Z)(bt.keyEntities,Fe)||{},Yn=Gn.children;return!!(Yn||[]).length},[bt.keyEntities,Fe]),jt=oe.useMemo(function(){return rt===!1?!1:rt||!bt.loadData&&!vt||bt.loadData&&Re.loaded&&!vt},[rt,bt.loadData,vt,Re.loaded]);oe.useEffect(function(){Be||typeof bt.loadData=="function"&&St&&!jt&&!Re.loaded&&bt.onNodeLoad((0,Ke.F)(Re))},[Be,bt.loadData,bt.onNodeLoad,St,jt,Re]);var At=oe.useMemo(function(){var Gn;return(Gn=bt.draggable)!==null&&Gn!==void 0&&Gn.icon?oe.createElement("span",{className:"".concat(bt.prefixCls,"-draggable-icon")},bt.draggable.icon):null},[bt.draggable]),Je=function(Yn){var nn=Re.switcherIcon||bt.switcherIcon;return typeof nn=="function"?nn((0,le.Z)((0,le.Z)({},Re),{},{isLeaf:Yn})):nn},un=function(){if(jt){var Yn=Je(!0);return Yn!==!1?oe.createElement("span",{className:Oe()("".concat(bt.prefixCls,"-switcher"),"".concat(bt.prefixCls,"-switcher-noop"))},Yn):null}var nn=Je(!1);return nn!==!1?oe.createElement("span",{onClick:Rt,className:Oe()("".concat(bt.prefixCls,"-switcher"),"".concat(bt.prefixCls,"-switcher_").concat(St?Me:ze))},nn):null},gn=oe.useMemo(function(){if(!Ee)return null;var Gn=typeof Ee!="boolean"?Ee:null;return oe.createElement("span",{className:Oe()("".concat(bt.prefixCls,"-checkbox"),(0,ue.Z)((0,ue.Z)((0,ue.Z)({},"".concat(bt.prefixCls,"-checkbox-checked"),nt),"".concat(bt.prefixCls,"-checkbox-indeterminate"),!nt&&je),"".concat(bt.prefixCls,"-checkbox-disabled"),de||Re.disableCheckbox)),onClick:fe,role:"checkbox","aria-checked":je?"mixed":nt,"aria-disabled":de||Re.disableCheckbox,"aria-label":"Select ".concat(typeof Re.title=="string"?Re.title:"tree node")},Gn)},[Ee,nt,je,de,Re.disableCheckbox,Re.title]),Et=oe.useMemo(function(){return jt?null:St?Me:ze},[jt,St]),Ln=oe.useMemo(function(){return oe.createElement("span",{className:Oe()("".concat(bt.prefixCls,"-iconEle"),"".concat(bt.prefixCls,"-icon__").concat(Et||"docu"),(0,ue.Z)({},"".concat(bt.prefixCls,"-icon_loading"),Be))})},[bt.prefixCls,Et,Be]),ar=oe.useMemo(function(){var Gn=!!bt.draggable,Yn=!Re.disabled&&Gn&&bt.dragOverNodeKey===Fe;return Yn?bt.dropIndicatorRender({dropPosition:bt.dropPosition,dropLevelOffset:bt.dropLevelOffset,indent:bt.indent,prefixCls:bt.prefixCls,direction:bt.direction}):null},[bt.dropPosition,bt.dropLevelOffset,bt.indent,bt.prefixCls,bt.direction,bt.draggable,bt.dragOverNodeKey,bt.dropIndicatorRender]),Hn=oe.useMemo(function(){var Gn=Re.title,Yn=Gn===void 0?Ze:Gn,nn="".concat(bt.prefixCls,"-node-content-wrapper"),An;if(bt.showIcon){var Nn=Re.icon||bt.icon;An=Nn?oe.createElement("span",{className:Oe()("".concat(bt.prefixCls,"-iconEle"),"".concat(bt.prefixCls,"-icon__customize"))},typeof Nn=="function"?Nn(Re):Nn):Ln}else bt.loadData&&Be&&(An=Ln);var In;return typeof Yn=="function"?In=Yn(ot):bt.titleRender?In=bt.titleRender(ot):In=Yn,oe.createElement("span",{ref:Bt,title:typeof Yn=="string"?Yn:"",className:Oe()(nn,"".concat(nn,"-").concat(Et||"normal"),(0,ue.Z)({},"".concat(bt.prefixCls,"-node-selected"),!de&&(Gt||Ie))),onMouseEnter:Sn,onMouseLeave:gt,onContextMenu:Ft,onClick:Mt,onDoubleClick:an},An,oe.createElement("span",{className:"".concat(bt.prefixCls,"-title")},In),ar)},[bt.prefixCls,bt.showIcon,Re,bt.icon,Ln,bt.titleRender,ot,Et,Sn,gt,Ft,Mt,an]),Vt=(0,Se.Z)(pn,{aria:!0,data:!0}),dr=(0,ct.Z)(bt.keyEntities,Fe)||{},qn=dr.level,xn=kt[kt.length-1],zn=!de&&Lt,cr=bt.draggingNodeKey===Fe,ir=Ut!==void 0?{"aria-selected":!!Ut}:void 0;return oe.createElement("div",(0,b.Z)({ref:wt,role:"treeitem","aria-expanded":rt?void 0:St,className:Oe()(tt,"".concat(bt.prefixCls,"-treenode"),(lt={},(0,ue.Z)((0,ue.Z)((0,ue.Z)((0,ue.Z)((0,ue.Z)((0,ue.Z)((0,ue.Z)((0,ue.Z)((0,ue.Z)((0,ue.Z)(lt,"".concat(bt.prefixCls,"-treenode-disabled"),de),"".concat(bt.prefixCls,"-treenode-switcher-").concat(St?"open":"close"),!rt),"".concat(bt.prefixCls,"-treenode-checkbox-checked"),nt),"".concat(bt.prefixCls,"-treenode-checkbox-indeterminate"),je),"".concat(bt.prefixCls,"-treenode-selected"),Gt),"".concat(bt.prefixCls,"-treenode-loading"),Be),"".concat(bt.prefixCls,"-treenode-active"),Ot),"".concat(bt.prefixCls,"-treenode-leaf-last"),xn),"".concat(bt.prefixCls,"-treenode-draggable"),Lt),"dragging",cr),(0,ue.Z)((0,ue.Z)((0,ue.Z)((0,ue.Z)((0,ue.Z)((0,ue.Z)((0,ue.Z)(lt,"drop-target",bt.dropTargetKey===Fe),"drop-container",bt.dropContainerKey===Fe),"drag-over",!de&&Ue),"drag-over-gap-top",!de&&Xe),"drag-over-gap-bottom",!de&&et),"filter-node",(Ye=bt.filterTreeNode)===null||Ye===void 0?void 0:Ye.call(bt,(0,Ke.F)(Re))),"".concat(bt.prefixCls,"-treenode-leaf"),jt))),style:$e,draggable:zn,onDragStart:zn?Jt:void 0,onDragEnter:Lt?fn:void 0,onDragOver:Lt?Zt:void 0,onDragLeave:Lt?mt:void 0,onDrop:Lt?Ct:void 0,onDragEnd:Lt?tn:void 0,onMouseMove:zt},ir,Vt),oe.createElement(Ae,{prefixCls:bt.prefixCls,level:qn,isStart:ht,isEnd:kt}),At,un(),gn,Hn)};Le.isTreeNode=1;var Pe=Le},30699:function(me,ne,E){"use strict";E.d(ne,{k:function(){return ue},y:function(){return le}});var b=E(59301),ue=b.createContext(null),le=b.createContext({})},89149:function(me,ne,E){"use strict";E.d(ne,{OF:function(){return Fe.Z},y6:function(){return ze.y},ZP:function(){return de}});var b=E(32855),ue=E(34666),le=E(27247),ce=E(3300),ge=E(33377),oe=E(93912),xe=E(83383),Oe=E(18881),Se=E(85461),he=E(74430),Ve=E(92310),Ae=E.n(Ve),ct=E(10228),Ke=E(26112),qe=E(48736),Me=E(59301),ze=E(30699),Ze=function(De){var fe=De.dropPosition,Qe=De.dropLevelOffset,Mt=De.indent,an={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(fe){case-1:an.top=0,an.left=-Qe*Mt;break;case 1:an.bottom=0,an.left=-Qe*Mt;break;case 0:an.bottom=0,an.left=Mt;break}return Me.createElement("div",{style:an})},Le=Ze;function Pe(Ee){if(Ee==null)throw new TypeError("Cannot destructure "+Ee)}var ke=E(11913),Re=E(43079),Te=E(34280),Ye=E(6790),lt=E(77900),Fe=E(639);function tt(Ee,De){var fe=Me.useState(!1),Qe=(0,ke.Z)(fe,2),Mt=Qe[0],an=Qe[1];(0,Te.Z)(function(){if(Mt)return Ee(),function(){De()}},[Mt]),(0,Te.Z)(function(){return an(!0),function(){an(!1)}},[])}var $e=tt,Ue=E(34061),Xe=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],et=Me.forwardRef(function(Ee,De){var fe=Ee.className,Qe=Ee.style,Mt=Ee.motion,an=Ee.motionNodes,Sn=Ee.motionType,gt=Ee.onMotionStart,Ft=Ee.onMotionEnd,Lt=Ee.active,Jt=Ee.treeNodeRequiredProps,fn=(0,Re.Z)(Ee,Xe),Zt=Me.useState(!0),mt=(0,ke.Z)(Zt,2),tn=mt[0],Ct=mt[1],Rt=Me.useContext(ze.k),vt=Rt.prefixCls,jt=an&&Sn!=="hide";(0,Te.Z)(function(){an&&jt!==tn&&Ct(jt)},[an]);var At=function(){an&&gt()},Je=Me.useRef(!1),un=function(){an&&!Je.current&&(Je.current=!0,Ft())};$e(At,un);var gn=function(Ln){jt===Ln&&un()};return an?Me.createElement(lt.default,(0,b.Z)({ref:De,visible:tn},Mt,{motionAppear:Sn==="show",onVisibleChanged:gn}),function(Et,Ln){var ar=Et.className,Hn=Et.style;return Me.createElement("div",{ref:Ln,className:Ae()("".concat(vt,"-treenode-motion"),ar),style:Hn},an.map(function(Vt){var dr=Object.assign({},(Pe(Vt.data),Vt.data)),qn=Vt.title,xn=Vt.key,zn=Vt.isStart,cr=Vt.isEnd;delete dr.children;var ir=(0,Ue.H8)(xn,Jt);return Me.createElement(Fe.Z,(0,b.Z)({},dr,ir,{title:qn,active:Lt,data:Vt.data,key:xn,isStart:zn,isEnd:cr}))}))}):Me.createElement(Fe.Z,(0,b.Z)({domRef:De,className:fe,style:Qe},fn,{active:Lt}))}),rt=et;function ht(){var Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],fe=Ee.length,Qe=De.length;if(Math.abs(fe-Qe)!==1)return{add:!1,key:null};function Mt(an,Sn){var gt=new Map;an.forEach(function(Lt){gt.set(Lt,!0)});var Ft=Sn.filter(function(Lt){return!gt.has(Lt)});return Ft.length===1?Ft[0]:null}return fe<Qe?{add:!0,key:Mt(Ee,De)}:{add:!1,key:Mt(De,Ee)}}function kt(Ee,De,fe){var Qe=Ee.findIndex(function(gt){return gt.key===fe}),Mt=Ee[Qe+1],an=De.findIndex(function(gt){return gt.key===fe});if(Mt){var Sn=De.findIndex(function(gt){return gt.key===Mt.key});return De.slice(an+1,Sn)}return De.slice(an+1)}var St=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],Gt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},nt=function(){},je="RC_TREE_MOTION_".concat(Math.random()),Be={key:je},wt={key:je,level:0,index:0,pos:"0",node:Be,nodes:[Be]},Ot={parent:null,children:[],pos:wt.pos,data:Be,title:null,key:je,isStart:[],isEnd:[]};function ot(Ee,De,fe,Qe){return De===!1||!fe?Ee:Ee.slice(0,Math.ceil(fe/Qe)+1)}function zt(Ee){var De=Ee.key,fe=Ee.pos;return(0,Ue.km)(De,fe)}function Ut(Ee){for(var De=String(Ee.data.key),fe=Ee;fe.parent;)fe=fe.parent,De="".concat(fe.data.key," > ").concat(De);return De}var pn=Me.forwardRef(function(Ee,De){var fe=Ee.prefixCls,Qe=Ee.data,Mt=Ee.selectable,an=Ee.checkable,Sn=Ee.expandedKeys,gt=Ee.selectedKeys,Ft=Ee.checkedKeys,Lt=Ee.loadedKeys,Jt=Ee.loadingKeys,fn=Ee.halfCheckedKeys,Zt=Ee.keyEntities,mt=Ee.disabled,tn=Ee.dragging,Ct=Ee.dragOverNodeKey,Rt=Ee.dropPosition,vt=Ee.motion,jt=Ee.height,At=Ee.itemHeight,Je=Ee.virtual,un=Ee.scrollWidth,gn=Ee.focusable,Et=Ee.activeItem,Ln=Ee.focused,ar=Ee.tabIndex,Hn=Ee.onKeyDown,Vt=Ee.onFocus,dr=Ee.onBlur,qn=Ee.onActiveChange,xn=Ee.onListChangeStart,zn=Ee.onListChangeEnd,cr=(0,Re.Z)(Ee,St),ir=Me.useRef(null),Gn=Me.useRef(null);Me.useImperativeHandle(De,function(){return{scrollTo:function(Kt){ir.current.scrollTo(Kt)},getIndentWidth:function(){return Gn.current.offsetWidth}}});var Yn=Me.useState(Sn),nn=(0,ke.Z)(Yn,2),An=nn[0],Nn=nn[1],In=Me.useState(Qe),xr=(0,ke.Z)(In,2),gr=xr[0],or=xr[1],Lr=Me.useState(Qe),Br=(0,ke.Z)(Lr,2),Pr=Br[0],wr=Br[1],Ir=Me.useState([]),lr=(0,ke.Z)(Ir,2),_n=lr[0],Sr=lr[1],kr=Me.useState(null),Ur=(0,ke.Z)(kr,2),rn=Ur[0],Qt=Ur[1],hr=Me.useRef(Qe);hr.current=Qe;function $n(){var sr=hr.current;or(sr),wr(sr),Sr([]),Qt(null),zn()}(0,Te.Z)(function(){Nn(Sn);var sr=ht(An,Sn);if(sr.key!==null)if(sr.add){var Kt=gr.findIndex(function(Xn){var Cr=Xn.key;return Cr===sr.key}),be=ot(kt(gr,Qe,sr.key),Je,jt,At),Cn=gr.slice();Cn.splice(Kt+1,0,Ot),wr(Cn),Sr(be),Qt("show")}else{var yr=Qe.findIndex(function(Xn){var Cr=Xn.key;return Cr===sr.key}),ln=ot(kt(Qe,gr,sr.key),Je,jt,At),Ar=Qe.slice();Ar.splice(yr+1,0,Ot),wr(Ar),Sr(ln),Qt("hide")}else gr!==Qe&&(or(Qe),wr(Qe))},[Sn,Qe]),Me.useEffect(function(){tn||$n()},[tn]);var Pt=vt?Pr:Qe,on={expandedKeys:Sn,selectedKeys:gt,loadedKeys:Lt,loadingKeys:Jt,checkedKeys:Ft,halfCheckedKeys:fn,dragOverNodeKey:Ct,dropPosition:Rt,keyEntities:Zt};return Me.createElement(Me.Fragment,null,Ln&&Et&&Me.createElement("span",{style:Gt,"aria-live":"assertive"},Ut(Et)),Me.createElement("div",null,Me.createElement("input",{style:Gt,disabled:gn===!1||mt,tabIndex:gn!==!1?ar:null,onKeyDown:Hn,onFocus:Vt,onBlur:dr,value:"",onChange:nt,"aria-label":"for screen reader"})),Me.createElement("div",{className:"".concat(fe,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},Me.createElement("div",{className:"".concat(fe,"-indent")},Me.createElement("div",{ref:Gn,className:"".concat(fe,"-indent-unit")}))),Me.createElement(Ye.Z,(0,b.Z)({},cr,{data:Pt,itemKey:zt,height:jt,fullHeight:!1,virtual:Je,itemHeight:At,scrollWidth:un,prefixCls:"".concat(fe,"-list"),ref:ir,role:"tree",onVisibleChange:function(Kt){Kt.every(function(be){return zt(be)!==je})&&$n()}}),function(sr){var Kt=sr.pos,be=Object.assign({},(Pe(sr.data),sr.data)),Cn=sr.title,yr=sr.key,ln=sr.isStart,Ar=sr.isEnd,Xn=(0,Ue.km)(yr,Kt);delete be.key,delete be.children;var Cr=(0,Ue.H8)(Xn,on);return Me.createElement(rt,(0,b.Z)({},be,Cr,{title:Cn,active:!!Et&&yr===Et.key,pos:Kt,data:sr.data,isStart:ln,isEnd:Ar,motion:vt,motionNodes:yr===je?_n:null,motionType:rn,onMotionStart:xn,onMotionEnd:$n,treeNodeRequiredProps:on,onMouseMove:function(){qn(null)}}))}))}),bt=pn,Yt=E(82661),Bt=E(34643),$t=E(65065),cn=10,Ie=function(Ee){(0,Oe.Z)(fe,Ee);var De=(0,Se.Z)(fe);function fe(){var Qe;(0,ge.Z)(this,fe);for(var Mt=arguments.length,an=new Array(Mt),Sn=0;Sn<Mt;Sn++)an[Sn]=arguments[Sn];return Qe=De.call.apply(De,[this].concat(an)),(0,he.Z)((0,xe.Z)(Qe),"destroyed",!1),(0,he.Z)((0,xe.Z)(Qe),"delayedDragEnterLogic",void 0),(0,he.Z)((0,xe.Z)(Qe),"loadingRetryTimes",{}),(0,he.Z)((0,xe.Z)(Qe),"state",{keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,Ue.w$)()}),(0,he.Z)((0,xe.Z)(Qe),"dragStartMousePosition",null),(0,he.Z)((0,xe.Z)(Qe),"dragNodeProps",null),(0,he.Z)((0,xe.Z)(Qe),"currentMouseOverDroppableNodeKey",null),(0,he.Z)((0,xe.Z)(Qe),"listRef",Me.createRef()),(0,he.Z)((0,xe.Z)(Qe),"onNodeDragStart",function(gt,Ft){var Lt=Qe.state,Jt=Lt.expandedKeys,fn=Lt.keyEntities,Zt=Qe.props.onDragStart,mt=Ft.eventKey;Qe.dragNodeProps=Ft,Qe.dragStartMousePosition={x:gt.clientX,y:gt.clientY};var tn=(0,Yt._5)(Jt,mt);Qe.setState({draggingNodeKey:mt,dragChildrenKeys:(0,Yt.wA)(mt,fn),indent:Qe.listRef.current.getIndentWidth()}),Qe.setExpandedKeys(tn),window.addEventListener("dragend",Qe.onWindowDragEnd),Zt==null||Zt({event:gt,node:(0,Ue.F)(Ft)})}),(0,he.Z)((0,xe.Z)(Qe),"onNodeDragEnter",function(gt,Ft){var Lt=Qe.state,Jt=Lt.expandedKeys,fn=Lt.keyEntities,Zt=Lt.dragChildrenKeys,mt=Lt.flattenNodes,tn=Lt.indent,Ct=Qe.props,Rt=Ct.onDragEnter,vt=Ct.onExpand,jt=Ct.allowDrop,At=Ct.direction,Je=Ft.pos,un=Ft.eventKey;if(Qe.currentMouseOverDroppableNodeKey!==un&&(Qe.currentMouseOverDroppableNodeKey=un),!Qe.dragNodeProps){Qe.resetDragState();return}var gn=(0,Yt.OM)(gt,Qe.dragNodeProps,Ft,tn,Qe.dragStartMousePosition,jt,mt,fn,Jt,At),Et=gn.dropPosition,Ln=gn.dropLevelOffset,ar=gn.dropTargetKey,Hn=gn.dropContainerKey,Vt=gn.dropTargetPos,dr=gn.dropAllowed,qn=gn.dragOverNodeKey;if(Zt.includes(ar)||!dr){Qe.resetDragState();return}if(Qe.delayedDragEnterLogic||(Qe.delayedDragEnterLogic={}),Object.keys(Qe.delayedDragEnterLogic).forEach(function(xn){clearTimeout(Qe.delayedDragEnterLogic[xn])}),Qe.dragNodeProps.eventKey!==Ft.eventKey&&(gt.persist(),Qe.delayedDragEnterLogic[Je]=window.setTimeout(function(){if(Qe.state.draggingNodeKey!==null){var xn=(0,ce.Z)(Jt),zn=(0,$t.Z)(fn,Ft.eventKey);zn&&(zn.children||[]).length&&(xn=(0,Yt.L0)(Jt,Ft.eventKey)),Qe.props.hasOwnProperty("expandedKeys")||Qe.setExpandedKeys(xn),vt==null||vt(xn,{node:(0,Ue.F)(Ft),expanded:!0,nativeEvent:gt.nativeEvent})}},800)),Qe.dragNodeProps.eventKey===ar&&Ln===0){Qe.resetDragState();return}Qe.setState({dragOverNodeKey:qn,dropPosition:Et,dropLevelOffset:Ln,dropTargetKey:ar,dropContainerKey:Hn,dropTargetPos:Vt,dropAllowed:dr}),Rt==null||Rt({event:gt,node:(0,Ue.F)(Ft),expandedKeys:Jt})}),(0,he.Z)((0,xe.Z)(Qe),"onNodeDragOver",function(gt,Ft){var Lt=Qe.state,Jt=Lt.dragChildrenKeys,fn=Lt.flattenNodes,Zt=Lt.keyEntities,mt=Lt.expandedKeys,tn=Lt.indent,Ct=Qe.props,Rt=Ct.onDragOver,vt=Ct.allowDrop,jt=Ct.direction;if(Qe.dragNodeProps){var At=(0,Yt.OM)(gt,Qe.dragNodeProps,Ft,tn,Qe.dragStartMousePosition,vt,fn,Zt,mt,jt),Je=At.dropPosition,un=At.dropLevelOffset,gn=At.dropTargetKey,Et=At.dropContainerKey,Ln=At.dropTargetPos,ar=At.dropAllowed,Hn=At.dragOverNodeKey;Jt.includes(gn)||!ar||(Qe.dragNodeProps.eventKey===gn&&un===0?Qe.state.dropPosition===null&&Qe.state.dropLevelOffset===null&&Qe.state.dropTargetKey===null&&Qe.state.dropContainerKey===null&&Qe.state.dropTargetPos===null&&Qe.state.dropAllowed===!1&&Qe.state.dragOverNodeKey===null||Qe.resetDragState():Je===Qe.state.dropPosition&&un===Qe.state.dropLevelOffset&&gn===Qe.state.dropTargetKey&&Et===Qe.state.dropContainerKey&&Ln===Qe.state.dropTargetPos&&ar===Qe.state.dropAllowed&&Hn===Qe.state.dragOverNodeKey||Qe.setState({dropPosition:Je,dropLevelOffset:un,dropTargetKey:gn,dropContainerKey:Et,dropTargetPos:Ln,dropAllowed:ar,dragOverNodeKey:Hn}),Rt==null||Rt({event:gt,node:(0,Ue.F)(Ft)}))}}),(0,he.Z)((0,xe.Z)(Qe),"onNodeDragLeave",function(gt,Ft){Qe.currentMouseOverDroppableNodeKey===Ft.eventKey&&!gt.currentTarget.contains(gt.relatedTarget)&&(Qe.resetDragState(),Qe.currentMouseOverDroppableNodeKey=null);var Lt=Qe.props.onDragLeave;Lt==null||Lt({event:gt,node:(0,Ue.F)(Ft)})}),(0,he.Z)((0,xe.Z)(Qe),"onWindowDragEnd",function(gt){Qe.onNodeDragEnd(gt,null,!0),window.removeEventListener("dragend",Qe.onWindowDragEnd)}),(0,he.Z)((0,xe.Z)(Qe),"onNodeDragEnd",function(gt,Ft){var Lt=Qe.props.onDragEnd;Qe.setState({dragOverNodeKey:null}),Qe.cleanDragState(),Lt==null||Lt({event:gt,node:(0,Ue.F)(Ft)}),Qe.dragNodeProps=null,window.removeEventListener("dragend",Qe.onWindowDragEnd)}),(0,he.Z)((0,xe.Z)(Qe),"onNodeDrop",function(gt,Ft){var Lt,Jt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,fn=Qe.state,Zt=fn.dragChildrenKeys,mt=fn.dropPosition,tn=fn.dropTargetKey,Ct=fn.dropTargetPos,Rt=fn.dropAllowed;if(Rt){var vt=Qe.props.onDrop;if(Qe.setState({dragOverNodeKey:null}),Qe.cleanDragState(),tn!==null){var jt=(0,le.Z)((0,le.Z)({},(0,Ue.H8)(tn,Qe.getTreeNodeRequiredProps())),{},{active:((Lt=Qe.getActiveItem())===null||Lt===void 0?void 0:Lt.key)===tn,data:(0,$t.Z)(Qe.state.keyEntities,tn).node}),At=Zt.includes(tn);(0,qe.ZP)(!At,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Je=(0,Yt.yx)(Ct),un={event:gt,node:(0,Ue.F)(jt),dragNode:Qe.dragNodeProps?(0,Ue.F)(Qe.dragNodeProps):null,dragNodesKeys:[Qe.dragNodeProps.eventKey].concat(Zt),dropToGap:mt!==0,dropPosition:mt+Number(Je[Je.length-1])};Jt||vt==null||vt(un),Qe.dragNodeProps=null}}}),(0,he.Z)((0,xe.Z)(Qe),"cleanDragState",function(){var gt=Qe.state.draggingNodeKey;gt!==null&&Qe.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Qe.dragStartMousePosition=null,Qe.currentMouseOverDroppableNodeKey=null}),(0,he.Z)((0,xe.Z)(Qe),"triggerExpandActionExpand",function(gt,Ft){var Lt=Qe.state,Jt=Lt.expandedKeys,fn=Lt.flattenNodes,Zt=Ft.expanded,mt=Ft.key,tn=Ft.isLeaf;if(!(tn||gt.shiftKey||gt.metaKey||gt.ctrlKey)){var Ct=fn.filter(function(vt){return vt.key===mt})[0],Rt=(0,Ue.F)((0,le.Z)((0,le.Z)({},(0,Ue.H8)(mt,Qe.getTreeNodeRequiredProps())),{},{data:Ct.data}));Qe.setExpandedKeys(Zt?(0,Yt._5)(Jt,mt):(0,Yt.L0)(Jt,mt)),Qe.onNodeExpand(gt,Rt)}}),(0,he.Z)((0,xe.Z)(Qe),"onNodeClick",function(gt,Ft){var Lt=Qe.props,Jt=Lt.onClick,fn=Lt.expandAction;fn==="click"&&Qe.triggerExpandActionExpand(gt,Ft),Jt==null||Jt(gt,Ft)}),(0,he.Z)((0,xe.Z)(Qe),"onNodeDoubleClick",function(gt,Ft){var Lt=Qe.props,Jt=Lt.onDoubleClick,fn=Lt.expandAction;fn==="doubleClick"&&Qe.triggerExpandActionExpand(gt,Ft),Jt==null||Jt(gt,Ft)}),(0,he.Z)((0,xe.Z)(Qe),"onNodeSelect",function(gt,Ft){var Lt=Qe.state.selectedKeys,Jt=Qe.state,fn=Jt.keyEntities,Zt=Jt.fieldNames,mt=Qe.props,tn=mt.onSelect,Ct=mt.multiple,Rt=Ft.selected,vt=Ft[Zt.key],jt=!Rt;jt?Ct?Lt=(0,Yt.L0)(Lt,vt):Lt=[vt]:Lt=(0,Yt._5)(Lt,vt);var At=Lt.map(function(Je){var un=(0,$t.Z)(fn,Je);return un?un.node:null}).filter(Boolean);Qe.setUncontrolledState({selectedKeys:Lt}),tn==null||tn(Lt,{event:"select",selected:jt,node:Ft,selectedNodes:At,nativeEvent:gt.nativeEvent})}),(0,he.Z)((0,xe.Z)(Qe),"onNodeCheck",function(gt,Ft,Lt){var Jt=Qe.state,fn=Jt.keyEntities,Zt=Jt.checkedKeys,mt=Jt.halfCheckedKeys,tn=Qe.props,Ct=tn.checkStrictly,Rt=tn.onCheck,vt=Ft.key,jt,At={event:"check",node:Ft,checked:Lt,nativeEvent:gt.nativeEvent};if(Ct){var Je=Lt?(0,Yt.L0)(Zt,vt):(0,Yt._5)(Zt,vt),un=(0,Yt._5)(mt,vt);jt={checked:Je,halfChecked:un},At.checkedNodes=Je.map(function(Vt){return(0,$t.Z)(fn,Vt)}).filter(Boolean).map(function(Vt){return Vt.node}),Qe.setUncontrolledState({checkedKeys:Je})}else{var gn=(0,Bt.S)([].concat((0,ce.Z)(Zt),[vt]),!0,fn),Et=gn.checkedKeys,Ln=gn.halfCheckedKeys;if(!Lt){var ar=new Set(Et);ar.delete(vt);var Hn=(0,Bt.S)(Array.from(ar),{checked:!1,halfCheckedKeys:Ln},fn);Et=Hn.checkedKeys,Ln=Hn.halfCheckedKeys}jt=Et,At.checkedNodes=[],At.checkedNodesPositions=[],At.halfCheckedKeys=Ln,Et.forEach(function(Vt){var dr=(0,$t.Z)(fn,Vt);if(dr){var qn=dr.node,xn=dr.pos;At.checkedNodes.push(qn),At.checkedNodesPositions.push({node:qn,pos:xn})}}),Qe.setUncontrolledState({checkedKeys:Et},!1,{halfCheckedKeys:Ln})}Rt==null||Rt(jt,At)}),(0,he.Z)((0,xe.Z)(Qe),"onNodeLoad",function(gt){var Ft,Lt=gt.key,Jt=Qe.state.keyEntities,fn=(0,$t.Z)(Jt,Lt);if(!(fn!=null&&(Ft=fn.children)!==null&&Ft!==void 0&&Ft.length)){var Zt=new Promise(function(mt,tn){Qe.setState(function(Ct){var Rt=Ct.loadedKeys,vt=Rt===void 0?[]:Rt,jt=Ct.loadingKeys,At=jt===void 0?[]:jt,Je=Qe.props,un=Je.loadData,gn=Je.onLoad;if(!un||vt.includes(Lt)||At.includes(Lt))return null;var Et=un(gt);return Et.then(function(){var Ln=Qe.state.loadedKeys,ar=(0,Yt.L0)(Ln,Lt);gn==null||gn(ar,{event:"load",node:gt}),Qe.setUncontrolledState({loadedKeys:ar}),Qe.setState(function(Hn){return{loadingKeys:(0,Yt._5)(Hn.loadingKeys,Lt)}}),mt()}).catch(function(Ln){if(Qe.setState(function(Hn){return{loadingKeys:(0,Yt._5)(Hn.loadingKeys,Lt)}}),Qe.loadingRetryTimes[Lt]=(Qe.loadingRetryTimes[Lt]||0)+1,Qe.loadingRetryTimes[Lt]>=cn){var ar=Qe.state.loadedKeys;(0,qe.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Qe.setUncontrolledState({loadedKeys:(0,Yt.L0)(ar,Lt)}),mt()}tn(Ln)}),{loadingKeys:(0,Yt.L0)(At,Lt)}})});return Zt.catch(function(){}),Zt}}),(0,he.Z)((0,xe.Z)(Qe),"onNodeMouseEnter",function(gt,Ft){var Lt=Qe.props.onMouseEnter;Lt==null||Lt({event:gt,node:Ft})}),(0,he.Z)((0,xe.Z)(Qe),"onNodeMouseLeave",function(gt,Ft){var Lt=Qe.props.onMouseLeave;Lt==null||Lt({event:gt,node:Ft})}),(0,he.Z)((0,xe.Z)(Qe),"onNodeContextMenu",function(gt,Ft){var Lt=Qe.props.onRightClick;Lt&&(gt.preventDefault(),Lt({event:gt,node:Ft}))}),(0,he.Z)((0,xe.Z)(Qe),"onFocus",function(){var gt=Qe.props.onFocus;Qe.setState({focused:!0});for(var Ft=arguments.length,Lt=new Array(Ft),Jt=0;Jt<Ft;Jt++)Lt[Jt]=arguments[Jt];gt==null||gt.apply(void 0,Lt)}),(0,he.Z)((0,xe.Z)(Qe),"onBlur",function(){var gt=Qe.props.onBlur;Qe.setState({focused:!1}),Qe.onActiveChange(null);for(var Ft=arguments.length,Lt=new Array(Ft),Jt=0;Jt<Ft;Jt++)Lt[Jt]=arguments[Jt];gt==null||gt.apply(void 0,Lt)}),(0,he.Z)((0,xe.Z)(Qe),"getTreeNodeRequiredProps",function(){var gt=Qe.state,Ft=gt.expandedKeys,Lt=gt.selectedKeys,Jt=gt.loadedKeys,fn=gt.loadingKeys,Zt=gt.checkedKeys,mt=gt.halfCheckedKeys,tn=gt.dragOverNodeKey,Ct=gt.dropPosition,Rt=gt.keyEntities;return{expandedKeys:Ft||[],selectedKeys:Lt||[],loadedKeys:Jt||[],loadingKeys:fn||[],checkedKeys:Zt||[],halfCheckedKeys:mt||[],dragOverNodeKey:tn,dropPosition:Ct,keyEntities:Rt}}),(0,he.Z)((0,xe.Z)(Qe),"setExpandedKeys",function(gt){var Ft=Qe.state,Lt=Ft.treeData,Jt=Ft.fieldNames,fn=(0,Ue.oH)(Lt,gt,Jt);Qe.setUncontrolledState({expandedKeys:gt,flattenNodes:fn},!0)}),(0,he.Z)((0,xe.Z)(Qe),"onNodeExpand",function(gt,Ft){var Lt=Qe.state.expandedKeys,Jt=Qe.state,fn=Jt.listChanging,Zt=Jt.fieldNames,mt=Qe.props,tn=mt.onExpand,Ct=mt.loadData,Rt=Ft.expanded,vt=Ft[Zt.key];if(!fn){var jt=Lt.includes(vt),At=!Rt;if((0,qe.ZP)(Rt&&jt||!Rt&&!jt,"Expand state not sync with index check"),Lt=At?(0,Yt.L0)(Lt,vt):(0,Yt._5)(Lt,vt),Qe.setExpandedKeys(Lt),tn==null||tn(Lt,{node:Ft,expanded:At,nativeEvent:gt.nativeEvent}),At&&Ct){var Je=Qe.onNodeLoad(Ft);Je&&Je.then(function(){var un=(0,Ue.oH)(Qe.state.treeData,Lt,Zt);Qe.setUncontrolledState({flattenNodes:un})}).catch(function(){var un=Qe.state.expandedKeys,gn=(0,Yt._5)(un,vt);Qe.setExpandedKeys(gn)})}}}),(0,he.Z)((0,xe.Z)(Qe),"onListChangeStart",function(){Qe.setUncontrolledState({listChanging:!0})}),(0,he.Z)((0,xe.Z)(Qe),"onListChangeEnd",function(){setTimeout(function(){Qe.setUncontrolledState({listChanging:!1})})}),(0,he.Z)((0,xe.Z)(Qe),"onActiveChange",function(gt){var Ft=Qe.state.activeKey,Lt=Qe.props,Jt=Lt.onActiveChange,fn=Lt.itemScrollOffset,Zt=fn===void 0?0:fn;Ft!==gt&&(Qe.setState({activeKey:gt}),gt!==null&&Qe.scrollTo({key:gt,offset:Zt}),Jt==null||Jt(gt))}),(0,he.Z)((0,xe.Z)(Qe),"getActiveItem",function(){var gt=Qe.state,Ft=gt.activeKey,Lt=gt.flattenNodes;return Ft===null?null:Lt.find(function(Jt){var fn=Jt.key;return fn===Ft})||null}),(0,he.Z)((0,xe.Z)(Qe),"offsetActiveKey",function(gt){var Ft=Qe.state,Lt=Ft.flattenNodes,Jt=Ft.activeKey,fn=Lt.findIndex(function(tn){var Ct=tn.key;return Ct===Jt});fn===-1&&gt<0&&(fn=Lt.length),fn=(fn+gt+Lt.length)%Lt.length;var Zt=Lt[fn];if(Zt){var mt=Zt.key;Qe.onActiveChange(mt)}else Qe.onActiveChange(null)}),(0,he.Z)((0,xe.Z)(Qe),"onKeyDown",function(gt){var Ft=Qe.state,Lt=Ft.activeKey,Jt=Ft.expandedKeys,fn=Ft.checkedKeys,Zt=Ft.fieldNames,mt=Qe.props,tn=mt.onKeyDown,Ct=mt.checkable,Rt=mt.selectable;switch(gt.which){case ct.Z.UP:{Qe.offsetActiveKey(-1),gt.preventDefault();break}case ct.Z.DOWN:{Qe.offsetActiveKey(1),gt.preventDefault();break}}var vt=Qe.getActiveItem();if(vt&&vt.data){var jt=Qe.getTreeNodeRequiredProps(),At=vt.data.isLeaf===!1||!!(vt.data[Zt.children]||[]).length,Je=(0,Ue.F)((0,le.Z)((0,le.Z)({},(0,Ue.H8)(Lt,jt)),{},{data:vt.data,active:!0}));switch(gt.which){case ct.Z.LEFT:{At&&Jt.includes(Lt)?Qe.onNodeExpand({},Je):vt.parent&&Qe.onActiveChange(vt.parent.key),gt.preventDefault();break}case ct.Z.RIGHT:{At&&!Jt.includes(Lt)?Qe.onNodeExpand({},Je):vt.children&&vt.children.length&&Qe.onActiveChange(vt.children[0].key),gt.preventDefault();break}case ct.Z.ENTER:case ct.Z.SPACE:{Ct&&!Je.disabled&&Je.checkable!==!1&&!Je.disableCheckbox?Qe.onNodeCheck({},Je,!fn.includes(Lt)):!Ct&&Rt&&!Je.disabled&&Je.selectable!==!1&&Qe.onNodeSelect({},Je);break}}}tn==null||tn(gt)}),(0,he.Z)((0,xe.Z)(Qe),"setUncontrolledState",function(gt){var Ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Qe.destroyed){var Jt=!1,fn=!0,Zt={};Object.keys(gt).forEach(function(mt){if(Qe.props.hasOwnProperty(mt)){fn=!1;return}Jt=!0,Zt[mt]=gt[mt]}),Jt&&(!Ft||fn)&&Qe.setState((0,le.Z)((0,le.Z)({},Zt),Lt))}}),(0,he.Z)((0,xe.Z)(Qe),"scrollTo",function(gt){Qe.listRef.current.scrollTo(gt)}),Qe}return(0,oe.Z)(fe,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Mt=this.props,an=Mt.activeKey,Sn=Mt.itemScrollOffset,gt=Sn===void 0?0:Sn;an!==void 0&&an!==this.state.activeKey&&(this.setState({activeKey:an}),an!==null&&this.scrollTo({key:an,offset:gt}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var Mt=this.state,an=Mt.focused,Sn=Mt.flattenNodes,gt=Mt.keyEntities,Ft=Mt.draggingNodeKey,Lt=Mt.activeKey,Jt=Mt.dropLevelOffset,fn=Mt.dropContainerKey,Zt=Mt.dropTargetKey,mt=Mt.dropPosition,tn=Mt.dragOverNodeKey,Ct=Mt.indent,Rt=this.props,vt=Rt.prefixCls,jt=Rt.className,At=Rt.style,Je=Rt.showLine,un=Rt.focusable,gn=Rt.tabIndex,Et=gn===void 0?0:gn,Ln=Rt.selectable,ar=Rt.showIcon,Hn=Rt.icon,Vt=Rt.switcherIcon,dr=Rt.draggable,qn=Rt.checkable,xn=Rt.checkStrictly,zn=Rt.disabled,cr=Rt.motion,ir=Rt.loadData,Gn=Rt.filterTreeNode,Yn=Rt.height,nn=Rt.itemHeight,An=Rt.scrollWidth,Nn=Rt.virtual,In=Rt.titleRender,xr=Rt.dropIndicatorRender,gr=Rt.onContextMenu,or=Rt.onScroll,Lr=Rt.direction,Br=Rt.rootClassName,Pr=Rt.rootStyle,wr=(0,Ke.Z)(this.props,{aria:!0,data:!0}),Ir;dr&&((0,ue.Z)(dr)==="object"?Ir=dr:typeof dr=="function"?Ir={nodeDraggable:dr}:Ir={});var lr={prefixCls:vt,selectable:Ln,showIcon:ar,icon:Hn,switcherIcon:Vt,draggable:Ir,draggingNodeKey:Ft,checkable:qn,checkStrictly:xn,disabled:zn,keyEntities:gt,dropLevelOffset:Jt,dropContainerKey:fn,dropTargetKey:Zt,dropPosition:mt,dragOverNodeKey:tn,indent:Ct,direction:Lr,dropIndicatorRender:xr,loadData:ir,filterTreeNode:Gn,titleRender:In,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return Me.createElement(ze.k.Provider,{value:lr},Me.createElement("div",{className:Ae()(vt,jt,Br,(0,he.Z)((0,he.Z)((0,he.Z)({},"".concat(vt,"-show-line"),Je),"".concat(vt,"-focused"),an),"".concat(vt,"-active-focused"),Lt!==null)),style:Pr},Me.createElement(bt,(0,b.Z)({ref:this.listRef,prefixCls:vt,style:At,data:Sn,disabled:zn,selectable:Ln,checkable:!!qn,motion:cr,dragging:Ft!==null,height:Yn,itemHeight:nn,virtual:Nn,focusable:un,focused:an,tabIndex:Et,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:gr,onScroll:or,scrollWidth:An},this.getTreeNodeRequiredProps(),wr))))}}],[{key:"getDerivedStateFromProps",value:function(Mt,an){var Sn=an.prevProps,gt={prevProps:Mt};function Ft(Et){return!Sn&&Mt.hasOwnProperty(Et)||Sn&&Sn[Et]!==Mt[Et]}var Lt,Jt=an.fieldNames;if(Ft("fieldNames")&&(Jt=(0,Ue.w$)(Mt.fieldNames),gt.fieldNames=Jt),Ft("treeData")?Lt=Mt.treeData:Ft("children")&&((0,qe.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Lt=(0,Ue.zn)(Mt.children)),Lt){gt.treeData=Lt;var fn=(0,Ue.I8)(Lt,{fieldNames:Jt});gt.keyEntities=(0,le.Z)((0,he.Z)({},je,wt),fn.keyEntities)}var Zt=gt.keyEntities||an.keyEntities;if(Ft("expandedKeys")||Sn&&Ft("autoExpandParent"))gt.expandedKeys=Mt.autoExpandParent||!Sn&&Mt.defaultExpandParent?(0,Yt.r7)(Mt.expandedKeys,Zt):Mt.expandedKeys;else if(!Sn&&Mt.defaultExpandAll){var mt=(0,le.Z)({},Zt);delete mt[je];var tn=[];Object.keys(mt).forEach(function(Et){var Ln=mt[Et];Ln.children&&Ln.children.length&&tn.push(Ln.key)}),gt.expandedKeys=tn}else!Sn&&Mt.defaultExpandedKeys&&(gt.expandedKeys=Mt.autoExpandParent||Mt.defaultExpandParent?(0,Yt.r7)(Mt.defaultExpandedKeys,Zt):Mt.defaultExpandedKeys);if(gt.expandedKeys||delete gt.expandedKeys,Lt||gt.expandedKeys){var Ct=(0,Ue.oH)(Lt||an.treeData,gt.expandedKeys||an.expandedKeys,Jt);gt.flattenNodes=Ct}if(Mt.selectable&&(Ft("selectedKeys")?gt.selectedKeys=(0,Yt.BT)(Mt.selectedKeys,Mt):!Sn&&Mt.defaultSelectedKeys&&(gt.selectedKeys=(0,Yt.BT)(Mt.defaultSelectedKeys,Mt))),Mt.checkable){var Rt;if(Ft("checkedKeys")?Rt=(0,Yt.E6)(Mt.checkedKeys)||{}:!Sn&&Mt.defaultCheckedKeys?Rt=(0,Yt.E6)(Mt.defaultCheckedKeys)||{}:Lt&&(Rt=(0,Yt.E6)(Mt.checkedKeys)||{checkedKeys:an.checkedKeys,halfCheckedKeys:an.halfCheckedKeys}),Rt){var vt=Rt,jt=vt.checkedKeys,At=jt===void 0?[]:jt,Je=vt.halfCheckedKeys,un=Je===void 0?[]:Je;if(!Mt.checkStrictly){var gn=(0,Bt.S)(At,!0,Zt);At=gn.checkedKeys,un=gn.halfCheckedKeys}gt.checkedKeys=At,gt.halfCheckedKeys=un}}return Ft("loadedKeys")&&(gt.loadedKeys=Mt.loadedKeys),gt}}]),fe}(Me.Component);(0,he.Z)(Ie,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:Le,allowDrop:function(){return!0},expandAction:!1}),(0,he.Z)(Ie,"TreeNode",Fe.Z);var pe=Ie,de=pe},82661:function(me,ne,E){"use strict";E.d(ne,{BT:function(){return Me},E6:function(){return Le},L0:function(){return he},OM:function(){return qe},_5:function(){return Se},r7:function(){return Pe},wA:function(){return Ae},yx:function(){return Ve}});var b=E(3300),ue=E(34666),le=E(48736),ce=E(59301),ge=E(639),oe=E(65065),xe=E(34061),Oe=null;function Se(ke,Re){if(!ke)return[];var Te=ke.slice(),Ye=Te.indexOf(Re);return Ye>=0&&Te.splice(Ye,1),Te}function he(ke,Re){var Te=(ke||[]).slice();return Te.indexOf(Re)===-1&&Te.push(Re),Te}function Ve(ke){return ke.split("-")}function Ae(ke,Re){var Te=[],Ye=(0,oe.Z)(Re,ke);function lt(){var Fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Fe.forEach(function(tt){var $e=tt.key,Ue=tt.children;Te.push($e),lt(Ue)})}return lt(Ye.children),Te}function ct(ke){if(ke.parent){var Re=Ve(ke.pos);return Number(Re[Re.length-1])===ke.parent.children.length-1}return!1}function Ke(ke){var Re=Ve(ke.pos);return Number(Re[Re.length-1])===0}function qe(ke,Re,Te,Ye,lt,Fe,tt,$e,Ue,Xe){var et,rt=ke.clientX,ht=ke.clientY,kt=ke.target.getBoundingClientRect(),St=kt.top,Gt=kt.height,nt=(Xe==="rtl"?-1:1)*(((lt==null?void 0:lt.x)||0)-rt),je=(nt-12)/Ye,Be=Ue.filter(function(de){var Ee;return(Ee=$e[de])===null||Ee===void 0||(Ee=Ee.children)===null||Ee===void 0?void 0:Ee.length}),wt=(0,oe.Z)($e,Te.eventKey);if(ht<St+Gt/2){var Ot=tt.findIndex(function(de){return de.key===wt.key}),ot=Ot<=0?0:Ot-1,zt=tt[ot].key;wt=(0,oe.Z)($e,zt)}var Ut=wt.key,pn=wt,bt=wt.key,Yt=0,Bt=0;if(!Be.includes(Ut))for(var $t=0;$t<je&&ct(wt);$t+=1)wt=wt.parent,Bt+=1;var cn=Re.data,Ie=wt.node,pe=!0;return Ke(wt)&&wt.level===0&&ht<St+Gt/2&&Fe({dragNode:cn,dropNode:Ie,dropPosition:-1})&&wt.key===Te.eventKey?Yt=-1:(pn.children||[]).length&&Be.includes(bt)?Fe({dragNode:cn,dropNode:Ie,dropPosition:0})?Yt=0:pe=!1:Bt===0?je>-1.5?Fe({dragNode:cn,dropNode:Ie,dropPosition:1})?Yt=1:pe=!1:Fe({dragNode:cn,dropNode:Ie,dropPosition:0})?Yt=0:Fe({dragNode:cn,dropNode:Ie,dropPosition:1})?Yt=1:pe=!1:Fe({dragNode:cn,dropNode:Ie,dropPosition:1})?Yt=1:pe=!1,{dropPosition:Yt,dropLevelOffset:Bt,dropTargetKey:wt.key,dropTargetPos:wt.pos,dragOverNodeKey:bt,dropContainerKey:Yt===0?null:((et=wt.parent)===null||et===void 0?void 0:et.key)||null,dropAllowed:pe}}function Me(ke,Re){if(ke){var Te=Re.multiple;return Te?ke.slice():ke.length?[ke[0]]:ke}}var ze=function(Re){return Re};function Ze(ke,Re){if(!ke)return[];var Te=Re||{},Ye=Te.processProps,lt=Ye===void 0?ze:Ye,Fe=Array.isArray(ke)?ke:[ke];return Fe.map(function(tt){var $e=tt.children,Ue=_objectWithoutProperties(tt,Oe),Xe=Ze($e,Re);return React.createElement(TreeNode,_extends({key:Ue.key},lt(Ue)),Xe)})}function Le(ke){if(!ke)return null;var Re;if(Array.isArray(ke))Re={checkedKeys:ke,halfCheckedKeys:void 0};else if((0,ue.Z)(ke)==="object")Re={checkedKeys:ke.checked||void 0,halfCheckedKeys:ke.halfChecked||void 0};else return(0,le.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return Re}function Pe(ke,Re){var Te=new Set;function Ye(lt){if(!Te.has(lt)){var Fe=(0,oe.Z)(Re,lt);if(Fe){Te.add(lt);var tt=Fe.parent,$e=Fe.node;$e.disabled||tt&&Ye(tt.key)}}}return(ke||[]).forEach(function(lt){Ye(lt)}),(0,b.Z)(Te)}},34643:function(me,ne,E){"use strict";E.d(ne,{S:function(){return xe}});var b=E(48736),ue=E(65065);function le(Oe,Se){var he=new Set;return Oe.forEach(function(Ve){Se.has(Ve)||he.add(Ve)}),he}function ce(Oe){var Se=Oe||{},he=Se.disabled,Ve=Se.disableCheckbox,Ae=Se.checkable;return!!(he||Ve)||Ae===!1}function ge(Oe,Se,he,Ve){for(var Ae=new Set(Oe),ct=new Set,Ke=0;Ke<=he;Ke+=1){var qe=Se.get(Ke)||new Set;qe.forEach(function(Le){var Pe=Le.key,ke=Le.node,Re=Le.children,Te=Re===void 0?[]:Re;Ae.has(Pe)&&!Ve(ke)&&Te.filter(function(Ye){return!Ve(Ye.node)}).forEach(function(Ye){Ae.add(Ye.key)})})}for(var Me=new Set,ze=he;ze>=0;ze-=1){var Ze=Se.get(ze)||new Set;Ze.forEach(function(Le){var Pe=Le.parent,ke=Le.node;if(!(Ve(ke)||!Le.parent||Me.has(Le.parent.key))){if(Ve(Le.parent.node)){Me.add(Pe.key);return}var Re=!0,Te=!1;(Pe.children||[]).filter(function(Ye){return!Ve(Ye.node)}).forEach(function(Ye){var lt=Ye.key,Fe=Ae.has(lt);Re&&!Fe&&(Re=!1),!Te&&(Fe||ct.has(lt))&&(Te=!0)}),Re&&Ae.add(Pe.key),Te&&ct.add(Pe.key),Me.add(Pe.key)}})}return{checkedKeys:Array.from(Ae),halfCheckedKeys:Array.from(le(ct,Ae))}}function oe(Oe,Se,he,Ve,Ae){for(var ct=new Set(Oe),Ke=new Set(Se),qe=0;qe<=Ve;qe+=1){var Me=he.get(qe)||new Set;Me.forEach(function(Pe){var ke=Pe.key,Re=Pe.node,Te=Pe.children,Ye=Te===void 0?[]:Te;!ct.has(ke)&&!Ke.has(ke)&&!Ae(Re)&&Ye.filter(function(lt){return!Ae(lt.node)}).forEach(function(lt){ct.delete(lt.key)})})}Ke=new Set;for(var ze=new Set,Ze=Ve;Ze>=0;Ze-=1){var Le=he.get(Ze)||new Set;Le.forEach(function(Pe){var ke=Pe.parent,Re=Pe.node;if(!(Ae(Re)||!Pe.parent||ze.has(Pe.parent.key))){if(Ae(Pe.parent.node)){ze.add(ke.key);return}var Te=!0,Ye=!1;(ke.children||[]).filter(function(lt){return!Ae(lt.node)}).forEach(function(lt){var Fe=lt.key,tt=ct.has(Fe);Te&&!tt&&(Te=!1),!Ye&&(tt||Ke.has(Fe))&&(Ye=!0)}),Te||ct.delete(ke.key),Ye&&Ke.add(ke.key),ze.add(ke.key)}})}return{checkedKeys:Array.from(ct),halfCheckedKeys:Array.from(le(Ke,ct))}}function xe(Oe,Se,he,Ve){var Ae=[],ct;Ve?ct=Ve:ct=ce;var Ke=new Set(Oe.filter(function(Ze){var Le=!!(0,ue.Z)(he,Ze);return Le||Ae.push(Ze),Le})),qe=new Map,Me=0;Object.keys(he).forEach(function(Ze){var Le=he[Ze],Pe=Le.level,ke=qe.get(Pe);ke||(ke=new Set,qe.set(Pe,ke)),ke.add(Le),Me=Math.max(Me,Pe)}),(0,b.ZP)(!Ae.length,"Tree missing follow keys: ".concat(Ae.slice(0,100).map(function(Ze){return"'".concat(Ze,"'")}).join(", ")));var ze;return Se===!0?ze=ge(Ke,qe,Me,ct):ze=oe(Ke,Se.halfCheckedKeys,qe,Me,ct),ze}},65065:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return b}});function b(ue,le){return ue[le]}},34061:function(me,ne,E){"use strict";E.d(ne,{F:function(){return Pe},H8:function(){return Le},I8:function(){return Ze},km:function(){return Ae},oH:function(){return Me},w$:function(){return ct},zn:function(){return qe}});var b=E(34666),ue=E(3300),le=E(27247),ce=E(43079),ge=E(11592),oe=E(2738),xe=E(48736),Oe=E(65065),Se=["children"];function he(ke,Re){return"".concat(ke,"-").concat(Re)}function Ve(ke){return ke&&ke.type&&ke.type.isTreeNode}function Ae(ke,Re){return ke!=null?ke:Re}function ct(ke){var Re=ke||{},Te=Re.title,Ye=Re._title,lt=Re.key,Fe=Re.children,tt=Te||"title";return{title:tt,_title:Ye||[tt],key:lt||"key",children:Fe||"children"}}function Ke(ke,Re){var Te=new Map;function Ye(lt){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(lt||[]).forEach(function(tt){var $e=tt[Re.key],Ue=tt[Re.children];warning($e!=null,"Tree node must have a certain key: [".concat(Fe).concat($e,"]"));var Xe=String($e);warning(!Te.has(Xe)||$e===null||$e===void 0,"Same 'key' exist in the Tree: ".concat(Xe)),Te.set(Xe,!0),Ye(Ue,"".concat(Fe).concat(Xe," > "))})}Ye(ke)}function qe(ke){function Re(Te){var Ye=(0,ge.Z)(Te);return Ye.map(function(lt){if(!Ve(lt))return(0,xe.ZP)(!lt,"Tree/TreeNode can only accept TreeNode as children."),null;var Fe=lt.key,tt=lt.props,$e=tt.children,Ue=(0,ce.Z)(tt,Se),Xe=(0,le.Z)({key:Fe},Ue),et=Re($e);return et.length&&(Xe.children=et),Xe}).filter(function(lt){return lt})}return Re(ke)}function Me(ke,Re,Te){var Ye=ct(Te),lt=Ye._title,Fe=Ye.key,tt=Ye.children,$e=new Set(Re===!0?[]:Re),Ue=[];function Xe(et){var rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return et.map(function(ht,kt){for(var St=he(rt?rt.pos:"0",kt),Gt=Ae(ht[Fe],St),nt,je=0;je<lt.length;je+=1){var Be=lt[je];if(ht[Be]!==void 0){nt=ht[Be];break}}var wt=Object.assign((0,oe.Z)(ht,[].concat((0,ue.Z)(lt),[Fe,tt])),{title:nt,key:Gt,parent:rt,pos:St,children:null,data:ht,isStart:[].concat((0,ue.Z)(rt?rt.isStart:[]),[kt===0]),isEnd:[].concat((0,ue.Z)(rt?rt.isEnd:[]),[kt===et.length-1])});return Ue.push(wt),Re===!0||$e.has(Gt)?wt.children=Xe(ht[tt]||[],wt):wt.children=[],wt})}return Xe(ke),Ue}function ze(ke,Re,Te){var Ye={};(0,b.Z)(Te)==="object"?Ye=Te:Ye={externalGetKey:Te},Ye=Ye||{};var lt=Ye,Fe=lt.childrenPropName,tt=lt.externalGetKey,$e=lt.fieldNames,Ue=ct($e),Xe=Ue.key,et=Ue.children,rt=Fe||et,ht;tt?typeof tt=="string"?ht=function(Gt){return Gt[tt]}:typeof tt=="function"&&(ht=function(Gt){return tt(Gt)}):ht=function(Gt,nt){return Ae(Gt[Xe],nt)};function kt(St,Gt,nt,je){var Be=St?St[rt]:ke,wt=St?he(nt.pos,Gt):"0",Ot=St?[].concat((0,ue.Z)(je),[St]):[];if(St){var ot=ht(St,wt),zt={node:St,index:Gt,pos:wt,key:ot,parentPos:nt.node?nt.pos:null,level:nt.level+1,nodes:Ot};Re(zt)}Be&&Be.forEach(function(Ut,pn){kt(Ut,pn,{node:St,pos:wt,level:nt?nt.level+1:-1},Ot)})}kt(null)}function Ze(ke){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Te=Re.initWrapper,Ye=Re.processEntity,lt=Re.onProcessFinished,Fe=Re.externalGetKey,tt=Re.childrenPropName,$e=Re.fieldNames,Ue=arguments.length>2?arguments[2]:void 0,Xe=Fe||Ue,et={},rt={},ht={posEntities:et,keyEntities:rt};return Te&&(ht=Te(ht)||ht),ze(ke,function(kt){var St=kt.node,Gt=kt.index,nt=kt.pos,je=kt.key,Be=kt.parentPos,wt=kt.level,Ot=kt.nodes,ot={node:St,nodes:Ot,index:Gt,key:je,pos:nt,level:wt},zt=Ae(je,nt);et[nt]=ot,rt[zt]=ot,ot.parent=et[Be],ot.parent&&(ot.parent.children=ot.parent.children||[],ot.parent.children.push(ot)),Ye&&Ye(ot,ht)},{externalGetKey:Xe,childrenPropName:tt,fieldNames:$e}),lt&&lt(ht),ht}function Le(ke,Re){var Te=Re.expandedKeys,Ye=Re.selectedKeys,lt=Re.loadedKeys,Fe=Re.loadingKeys,tt=Re.checkedKeys,$e=Re.halfCheckedKeys,Ue=Re.dragOverNodeKey,Xe=Re.dropPosition,et=Re.keyEntities,rt=(0,Oe.Z)(et,ke),ht={eventKey:ke,expanded:Te.indexOf(ke)!==-1,selected:Ye.indexOf(ke)!==-1,loaded:lt.indexOf(ke)!==-1,loading:Fe.indexOf(ke)!==-1,checked:tt.indexOf(ke)!==-1,halfChecked:$e.indexOf(ke)!==-1,pos:String(rt?rt.pos:""),dragOver:Ue===ke&&Xe===0,dragOverGapTop:Ue===ke&&Xe===-1,dragOverGapBottom:Ue===ke&&Xe===1};return ht}function Pe(ke){var Re=ke.data,Te=ke.expanded,Ye=ke.selected,lt=ke.checked,Fe=ke.loaded,tt=ke.loading,$e=ke.halfChecked,Ue=ke.dragOver,Xe=ke.dragOverGapTop,et=ke.dragOverGapBottom,rt=ke.pos,ht=ke.active,kt=ke.eventKey,St=(0,le.Z)((0,le.Z)({},Re),{},{expanded:Te,selected:Ye,checked:lt,loaded:Fe,loading:tt,halfChecked:$e,dragOver:Ue,dragOverGapTop:Xe,dragOverGapBottom:et,pos:rt,active:ht,key:kt});return"props"in St||Object.defineProperty(St,"props",{get:function(){return(0,xe.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ke}}),St}},90472:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return kt}});var b=E(32855),ue=E(33377),le=E(93912),ce=E(83383),ge=E(18881),oe=E(85461),xe=E(74430),Oe=E(59301),Se=E(27247),he=E(43079),Ve=E(34666),Ae=E(13932),ct=E(68702),Ke=E(3300),qe=E(92310),Me=E.n(qe),ze=E(26112),Ze=E(48736),Le=function(St,Gt){if(St&&Gt){var nt=Array.isArray(Gt)?Gt:Gt.split(","),je=St.name||"",Be=St.type||"",wt=Be.replace(/\/.*$/,"");return nt.some(function(Ot){var ot=Ot.trim();if(/^\*(\/\*)?$/.test(Ot))return!0;if(ot.charAt(0)==="."){var zt=je.toLowerCase(),Ut=ot.toLowerCase(),pn=[Ut];return(Ut===".jpg"||Ut===".jpeg")&&(pn=[".jpg",".jpeg"]),pn.some(function(bt){return zt.endsWith(bt)})}return/\/\*$/.test(ot)?wt===ot.replace(/\/.*$/,""):Be===ot?!0:/^\w+$/.test(ot)?((0,Ze.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(ot,"'.Skip for check.")),!0):!1})}return!0};function Pe(St,Gt){var nt="cannot ".concat(St.method," ").concat(St.action," ").concat(Gt.status,"'"),je=new Error(nt);return je.status=Gt.status,je.method=St.method,je.url=St.action,je}function ke(St){var Gt=St.responseText||St.response;if(!Gt)return Gt;try{return JSON.parse(Gt)}catch(nt){return Gt}}function Re(St){var Gt=new XMLHttpRequest;St.onProgress&&Gt.upload&&(Gt.upload.onprogress=function(wt){wt.total>0&&(wt.percent=wt.loaded/wt.total*100),St.onProgress(wt)});var nt=new FormData;St.data&&Object.keys(St.data).forEach(function(Be){var wt=St.data[Be];if(Array.isArray(wt)){wt.forEach(function(Ot){nt.append("".concat(Be,"[]"),Ot)});return}nt.append(Be,wt)}),St.file instanceof Blob?nt.append(St.filename,St.file,St.file.name):nt.append(St.filename,St.file),Gt.onerror=function(wt){St.onError(wt)},Gt.onload=function(){return Gt.status<200||Gt.status>=300?St.onError(Pe(St,Gt),ke(Gt)):St.onSuccess(ke(Gt),Gt)},Gt.open(St.method,St.action,!0),St.withCredentials&&"withCredentials"in Gt&&(Gt.withCredentials=!0);var je=St.headers||{};return je["X-Requested-With"]!==null&&Gt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(je).forEach(function(Be){je[Be]!==null&&Gt.setRequestHeader(Be,je[Be])}),Gt.send(nt),{abort:function(){Gt.abort()}}}var Te=function(){var St=(0,ct.Z)((0,Ae.Z)().mark(function Gt(nt,je){var Be,wt,Ot,ot,zt,Ut,pn,bt;return(0,Ae.Z)().wrap(function(Bt){for(;;)switch(Bt.prev=Bt.next){case 0:Ut=function(){return Ut=(0,ct.Z)((0,Ae.Z)().mark(function cn(Ie){return(0,Ae.Z)().wrap(function(de){for(;;)switch(de.prev=de.next){case 0:return de.abrupt("return",new Promise(function(Ee){Ie.file(function(De){je(De)?(Ie.fullPath&&!De.webkitRelativePath&&(Object.defineProperties(De,{webkitRelativePath:{writable:!0}}),De.webkitRelativePath=Ie.fullPath.replace(/^\//,""),Object.defineProperties(De,{webkitRelativePath:{writable:!1}})),Ee(De)):Ee(null)})}));case 1:case"end":return de.stop()}},cn)})),Ut.apply(this,arguments)},zt=function(cn){return Ut.apply(this,arguments)},ot=function(){return ot=(0,ct.Z)((0,Ae.Z)().mark(function cn(Ie){var pe,de,Ee,De,fe;return(0,Ae.Z)().wrap(function(Mt){for(;;)switch(Mt.prev=Mt.next){case 0:pe=Ie.createReader(),de=[];case 2:return Mt.next=5,new Promise(function(an){pe.readEntries(an,function(){return an([])})});case 5:if(Ee=Mt.sent,De=Ee.length,De){Mt.next=9;break}return Mt.abrupt("break",12);case 9:for(fe=0;fe<De;fe++)de.push(Ee[fe]);Mt.next=2;break;case 12:return Mt.abrupt("return",de);case 13:case"end":return Mt.stop()}},cn)})),ot.apply(this,arguments)},Ot=function(cn){return ot.apply(this,arguments)},Be=[],wt=[],nt.forEach(function($t){return wt.push($t.webkitGetAsEntry())}),pn=function(){var $t=(0,ct.Z)((0,Ae.Z)().mark(function cn(Ie,pe){var de,Ee;return(0,Ae.Z)().wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:if(Ie){fe.next=2;break}return fe.abrupt("return");case 2:if(Ie.path=pe||"",!Ie.isFile){fe.next=10;break}return fe.next=6,zt(Ie);case 6:de=fe.sent,de&&Be.push(de),fe.next=15;break;case 10:if(!Ie.isDirectory){fe.next=15;break}return fe.next=13,Ot(Ie);case 13:Ee=fe.sent,wt.push.apply(wt,(0,Ke.Z)(Ee));case 15:case"end":return fe.stop()}},cn)}));return function(Ie,pe){return $t.apply(this,arguments)}}(),bt=0;case 9:if(!(bt<wt.length)){Bt.next=15;break}return Bt.next=12,pn(wt[bt]);case 12:bt++,Bt.next=9;break;case 15:return Bt.abrupt("return",Be);case 16:case"end":return Bt.stop()}},Gt)}));return function(nt,je){return St.apply(this,arguments)}}(),Ye=Te,lt=+new Date,Fe=0;function tt(){return"rc-upload-".concat(lt,"-").concat(++Fe)}var $e=["component","prefixCls","className","classNames","disabled","id","name","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","hasControlInside"],Ue=function(St){(0,ge.Z)(nt,St);var Gt=(0,oe.Z)(nt);function nt(){var je;(0,ue.Z)(this,nt);for(var Be=arguments.length,wt=new Array(Be),Ot=0;Ot<Be;Ot++)wt[Ot]=arguments[Ot];return je=Gt.call.apply(Gt,[this].concat(wt)),(0,xe.Z)((0,ce.Z)(je),"state",{uid:tt()}),(0,xe.Z)((0,ce.Z)(je),"reqs",{}),(0,xe.Z)((0,ce.Z)(je),"fileInput",void 0),(0,xe.Z)((0,ce.Z)(je),"_isMounted",void 0),(0,xe.Z)((0,ce.Z)(je),"onChange",function(ot){var zt=je.props,Ut=zt.accept,pn=zt.directory,bt=ot.target.files,Yt=(0,Ke.Z)(bt).filter(function(Bt){return!pn||Le(Bt,Ut)});je.uploadFiles(Yt),je.reset()}),(0,xe.Z)((0,ce.Z)(je),"onClick",function(ot){var zt=je.fileInput;if(zt){var Ut=ot.target,pn=je.props.onClick;if(Ut&&Ut.tagName==="BUTTON"){var bt=zt.parentNode;bt.focus(),Ut.blur()}zt.click(),pn&&pn(ot)}}),(0,xe.Z)((0,ce.Z)(je),"onKeyDown",function(ot){ot.key==="Enter"&&je.onClick(ot)}),(0,xe.Z)((0,ce.Z)(je),"onFileDrop",function(){var ot=(0,ct.Z)((0,Ae.Z)().mark(function zt(Ut){var pn,bt,Yt;return(0,Ae.Z)().wrap(function($t){for(;;)switch($t.prev=$t.next){case 0:if(pn=je.props.multiple,Ut.preventDefault(),Ut.type!=="dragover"){$t.next=4;break}return $t.abrupt("return");case 4:if(!je.props.directory){$t.next=11;break}return $t.next=7,Ye(Array.prototype.slice.call(Ut.dataTransfer.items),function(cn){return Le(cn,je.props.accept)});case 7:bt=$t.sent,je.uploadFiles(bt),$t.next=14;break;case 11:Yt=(0,Ke.Z)(Ut.dataTransfer.files).filter(function(cn){return Le(cn,je.props.accept)}),pn===!1&&(Yt=Yt.slice(0,1)),je.uploadFiles(Yt);case 14:case"end":return $t.stop()}},zt)}));return function(zt){return ot.apply(this,arguments)}}()),(0,xe.Z)((0,ce.Z)(je),"uploadFiles",function(ot){var zt=(0,Ke.Z)(ot),Ut=zt.map(function(pn){return pn.uid=tt(),je.processFile(pn,zt)});Promise.all(Ut).then(function(pn){var bt=je.props.onBatchStart;bt==null||bt(pn.map(function(Yt){var Bt=Yt.origin,$t=Yt.parsedFile;return{file:Bt,parsedFile:$t}})),pn.filter(function(Yt){return Yt.parsedFile!==null}).forEach(function(Yt){je.post(Yt)})})}),(0,xe.Z)((0,ce.Z)(je),"processFile",function(){var ot=(0,ct.Z)((0,Ae.Z)().mark(function zt(Ut,pn){var bt,Yt,Bt,$t,cn,Ie,pe,de,Ee;return(0,Ae.Z)().wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:if(bt=je.props.beforeUpload,Yt=Ut,!bt){fe.next=14;break}return fe.prev=3,fe.next=6,bt(Ut,pn);case 6:Yt=fe.sent,fe.next=12;break;case 9:fe.prev=9,fe.t0=fe.catch(3),Yt=!1;case 12:if(Yt!==!1){fe.next=14;break}return fe.abrupt("return",{origin:Ut,parsedFile:null,action:null,data:null});case 14:if(Bt=je.props.action,typeof Bt!="function"){fe.next=21;break}return fe.next=18,Bt(Ut);case 18:$t=fe.sent,fe.next=22;break;case 21:$t=Bt;case 22:if(cn=je.props.data,typeof cn!="function"){fe.next=29;break}return fe.next=26,cn(Ut);case 26:Ie=fe.sent,fe.next=30;break;case 29:Ie=cn;case 30:return pe=((0,Ve.Z)(Yt)==="object"||typeof Yt=="string")&&Yt?Yt:Ut,pe instanceof File?de=pe:de=new File([pe],Ut.name,{type:Ut.type}),Ee=de,Ee.uid=Ut.uid,fe.abrupt("return",{origin:Ut,data:Ie,parsedFile:Ee,action:$t});case 35:case"end":return fe.stop()}},zt,null,[[3,9]])}));return function(zt,Ut){return ot.apply(this,arguments)}}()),(0,xe.Z)((0,ce.Z)(je),"saveFileInput",function(ot){je.fileInput=ot}),je}return(0,le.Z)(nt,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Be){var wt=this,Ot=Be.data,ot=Be.origin,zt=Be.action,Ut=Be.parsedFile;if(this._isMounted){var pn=this.props,bt=pn.onStart,Yt=pn.customRequest,Bt=pn.name,$t=pn.headers,cn=pn.withCredentials,Ie=pn.method,pe=ot.uid,de=Yt||Re,Ee={action:zt,filename:Bt,data:Ot,file:Ut,headers:$t,withCredentials:cn,method:Ie||"post",onProgress:function(fe){var Qe=wt.props.onProgress;Qe==null||Qe(fe,Ut)},onSuccess:function(fe,Qe){var Mt=wt.props.onSuccess;Mt==null||Mt(fe,Ut,Qe),delete wt.reqs[pe]},onError:function(fe,Qe){var Mt=wt.props.onError;Mt==null||Mt(fe,Qe,Ut),delete wt.reqs[pe]}};bt(ot),this.reqs[pe]=de(Ee)}}},{key:"reset",value:function(){this.setState({uid:tt()})}},{key:"abort",value:function(Be){var wt=this.reqs;if(Be){var Ot=Be.uid?Be.uid:Be;wt[Ot]&&wt[Ot].abort&&wt[Ot].abort(),delete wt[Ot]}else Object.keys(wt).forEach(function(ot){wt[ot]&&wt[ot].abort&&wt[ot].abort(),delete wt[ot]})}},{key:"render",value:function(){var Be=this.props,wt=Be.component,Ot=Be.prefixCls,ot=Be.className,zt=Be.classNames,Ut=zt===void 0?{}:zt,pn=Be.disabled,bt=Be.id,Yt=Be.name,Bt=Be.style,$t=Be.styles,cn=$t===void 0?{}:$t,Ie=Be.multiple,pe=Be.accept,de=Be.capture,Ee=Be.children,De=Be.directory,fe=Be.openFileDialogOnClick,Qe=Be.onMouseEnter,Mt=Be.onMouseLeave,an=Be.hasControlInside,Sn=(0,he.Z)(Be,$e),gt=Me()((0,xe.Z)((0,xe.Z)((0,xe.Z)({},Ot,!0),"".concat(Ot,"-disabled"),pn),ot,ot)),Ft=De?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},Lt=pn?{}:{onClick:fe?this.onClick:function(){},onKeyDown:fe?this.onKeyDown:function(){},onMouseEnter:Qe,onMouseLeave:Mt,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:an?void 0:"0"};return Oe.createElement(wt,(0,b.Z)({},Lt,{className:gt,role:an?void 0:"button",style:Bt}),Oe.createElement("input",(0,b.Z)({},(0,ze.Z)(Sn,{aria:!0,data:!0}),{id:bt,name:Yt,disabled:pn,type:"file",ref:this.saveFileInput,onClick:function(fn){return fn.stopPropagation()},key:this.state.uid,style:(0,Se.Z)({display:"none"},cn.input),className:Ut.input,accept:pe},Ft,{multiple:Ie,onChange:this.onChange},de!=null?{capture:de}:{})),Ee)}}]),nt}(Oe.Component),Xe=Ue;function et(){}var rt=function(St){(0,ge.Z)(nt,St);var Gt=(0,oe.Z)(nt);function nt(){var je;(0,ue.Z)(this,nt);for(var Be=arguments.length,wt=new Array(Be),Ot=0;Ot<Be;Ot++)wt[Ot]=arguments[Ot];return je=Gt.call.apply(Gt,[this].concat(wt)),(0,xe.Z)((0,ce.Z)(je),"uploader",void 0),(0,xe.Z)((0,ce.Z)(je),"saveUploader",function(ot){je.uploader=ot}),je}return(0,le.Z)(nt,[{key:"abort",value:function(Be){this.uploader.abort(Be)}},{key:"render",value:function(){return Oe.createElement(Xe,(0,b.Z)({},this.props,{ref:this.saveUploader}))}}]),nt}(Oe.Component);(0,xe.Z)(rt,"defaultProps",{component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:et,onError:et,onSuccess:et,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0,hasControlInside:!1});var ht=rt,kt=ht},8224:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return ue}});var b=E(4676);function ue(le,ce,ge,oe){var xe=b.unstable_batchedUpdates?function(Se){b.unstable_batchedUpdates(ge,Se)}:ge;return le!=null&&le.addEventListener&&le.addEventListener(ce,xe,oe),{remove:function(){le!=null&&le.removeEventListener&&le.removeEventListener(ce,xe,oe)}}}},24514:function(me,ne,E){"use strict";E.d(ne,{G:function(){return ce}});var b=E(47273),ue=function(oe){if((0,b.Z)()&&window.document.documentElement){var xe=Array.isArray(oe)?oe:[oe],Oe=window.document.documentElement;return xe.some(function(Se){return Se in Oe.style})}return!1},le=function(oe,xe){if(!ue(oe))return!1;var Oe=document.createElement("div"),Se=Oe.style[oe];return Oe.style[oe]=xe,Oe.style[oe]!==Se};function ce(ge,oe){return!Array.isArray(ge)&&oe!==void 0?le(ge,oe):ue(ge)}},6790:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return cn}});var b=E(32855),ue=E(34666),le=E(27247),ce=E(74430),ge=E(11913),oe=E(43079),xe=E(92310),Oe=E.n(xe),Se=E(29301),he=E(70425),Ve=E(34280),Ae=E(59301),ct=E(4676),Ke=Ae.forwardRef(function(Ie,pe){var de=Ie.height,Ee=Ie.offsetY,De=Ie.offsetX,fe=Ie.children,Qe=Ie.prefixCls,Mt=Ie.onInnerResize,an=Ie.innerProps,Sn=Ie.rtl,gt=Ie.extra,Ft={},Lt={display:"flex",flexDirection:"column"};return Ee!==void 0&&(Ft={height:de,position:"relative",overflow:"hidden"},Lt=(0,le.Z)((0,le.Z)({},Lt),{},(0,ce.Z)((0,ce.Z)((0,ce.Z)((0,ce.Z)((0,ce.Z)({transform:"translateY(".concat(Ee,"px)")},Sn?"marginRight":"marginLeft",-De),"position","absolute"),"left",0),"right",0),"top",0))),Ae.createElement("div",{style:Ft},Ae.createElement(Se.Z,{onResize:function(fn){var Zt=fn.offsetHeight;Zt&&Mt&&Mt()}},Ae.createElement("div",(0,b.Z)({style:Lt,className:Oe()((0,ce.Z)({},"".concat(Qe,"-holder-inner"),Qe)),ref:pe},an),fe,gt)))});Ke.displayName="Filler";var qe=Ke;function Me(Ie){var pe=Ie.children,de=Ie.setRef,Ee=Ae.useCallback(function(De){de(De)},[]);return Ae.cloneElement(pe,{ref:Ee})}function ze(Ie,pe,de,Ee,De,fe,Qe,Mt){var an=Mt.getKey;return Ie.slice(pe,de+1).map(function(Sn,gt){var Ft=pe+gt,Lt=Qe(Sn,Ft,{style:{width:Ee},offsetX:De}),Jt=an(Sn);return Ae.createElement(Me,{key:Jt,setRef:function(Zt){return fe(Sn,Zt)}},Lt)})}function Ze(Ie,pe,de,Ee){var De=de-Ie,fe=pe-de,Qe=Math.min(De,fe)*2;if(Ee<=Qe){var Mt=Math.floor(Ee/2);return Ee%2?de+Mt+1:de-Mt}return De>fe?de-(Ee-fe):de+(Ee-De)}function Le(Ie,pe,de){var Ee=Ie.length,De=pe.length,fe,Qe;if(Ee===0&&De===0)return null;Ee<De?(fe=Ie,Qe=pe):(fe=pe,Qe=Ie);var Mt={__EMPTY_ITEM__:!0};function an(fn){return fn!==void 0?de(fn):Mt}for(var Sn=null,gt=Math.abs(Ee-De)!==1,Ft=0;Ft<Qe.length;Ft+=1){var Lt=an(fe[Ft]),Jt=an(Qe[Ft]);if(Lt!==Jt){Sn=Ft,gt=gt||Lt!==an(Qe[Ft+1]);break}}return Sn===null?null:{index:Sn,multiple:gt}}function Pe(Ie,pe,de){var Ee=Ae.useState(Ie),De=(0,ge.Z)(Ee,2),fe=De[0],Qe=De[1],Mt=Ae.useState(null),an=(0,ge.Z)(Mt,2),Sn=an[0],gt=an[1];return Ae.useEffect(function(){var Ft=Le(fe||[],Ie||[],pe);(Ft==null?void 0:Ft.index)!==void 0&&(de==null||de(Ft.index),gt(Ie[Ft.index])),Qe(Ie)},[Ie]),[Sn]}var ke=E(16089),Re=(typeof navigator=="undefined"?"undefined":(0,ue.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),Te=Re,Ye=function(Ie,pe,de,Ee){var De=(0,Ae.useRef)(!1),fe=(0,Ae.useRef)(null);function Qe(){clearTimeout(fe.current),De.current=!0,fe.current=setTimeout(function(){De.current=!1},50)}var Mt=(0,Ae.useRef)({top:Ie,bottom:pe,left:de,right:Ee});return Mt.current.top=Ie,Mt.current.bottom=pe,Mt.current.left=de,Mt.current.right=Ee,function(an,Sn){var gt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ft=an?Sn<0&&Mt.current.left||Sn>0&&Mt.current.right:Sn<0&&Mt.current.top||Sn>0&&Mt.current.bottom;return gt&&Ft?(clearTimeout(fe.current),De.current=!1):(!Ft||De.current)&&Qe(),!De.current&&Ft}};function lt(Ie,pe,de,Ee,De,fe,Qe){var Mt=(0,Ae.useRef)(0),an=(0,Ae.useRef)(null),Sn=(0,Ae.useRef)(null),gt=(0,Ae.useRef)(!1),Ft=Ye(pe,de,Ee,De);function Lt(Ct,Rt){if(ke.Z.cancel(an.current),!Ft(!1,Rt)){var vt=Ct;if(!vt._virtualHandled)vt._virtualHandled=!0;else return;Mt.current+=Rt,Sn.current=Rt,Te||vt.preventDefault(),an.current=(0,ke.Z)(function(){var jt=gt.current?10:1;Qe(Mt.current*jt,!1),Mt.current=0})}}function Jt(Ct,Rt){Qe(Rt,!0),Te||Ct.preventDefault()}var fn=(0,Ae.useRef)(null),Zt=(0,Ae.useRef)(null);function mt(Ct){if(Ie){ke.Z.cancel(Zt.current),Zt.current=(0,ke.Z)(function(){fn.current=null},2);var Rt=Ct.deltaX,vt=Ct.deltaY,jt=Ct.shiftKey,At=Rt,Je=vt;(fn.current==="sx"||!fn.current&&jt&&vt&&!Rt)&&(At=vt,Je=0,fn.current="sx");var un=Math.abs(At),gn=Math.abs(Je);fn.current===null&&(fn.current=fe&&un>gn?"x":"y"),fn.current==="y"?Lt(Ct,Je):Jt(Ct,At)}}function tn(Ct){Ie&&(gt.current=Ct.detail===Sn.current)}return[mt,tn]}function Fe(Ie,pe,de,Ee){var De=Ae.useMemo(function(){return[new Map,[]]},[Ie,de.id,Ee]),fe=(0,ge.Z)(De,2),Qe=fe[0],Mt=fe[1],an=function(gt){var Ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:gt,Lt=Qe.get(gt),Jt=Qe.get(Ft);if(Lt===void 0||Jt===void 0)for(var fn=Ie.length,Zt=Mt.length;Zt<fn;Zt+=1){var mt,tn=Ie[Zt],Ct=pe(tn);Qe.set(Ct,Zt);var Rt=(mt=de.get(Ct))!==null&&mt!==void 0?mt:Ee;if(Mt[Zt]=(Mt[Zt-1]||0)+Rt,Ct===gt&&(Lt=Zt),Ct===Ft&&(Jt=Zt),Lt!==void 0&&Jt!==void 0)break}return{top:Mt[Lt-1]||0,bottom:Mt[Jt]}};return an}var tt=E(33377),$e=E(93912),Ue=function(){function Ie(){(0,tt.Z)(this,Ie),(0,ce.Z)(this,"maps",void 0),(0,ce.Z)(this,"id",0),(0,ce.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,$e.Z)(Ie,[{key:"set",value:function(de,Ee){this.diffRecords.set(de,this.maps[de]),this.maps[de]=Ee,this.id+=1}},{key:"get",value:function(de){return this.maps[de]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),Ie}(),Xe=Ue;function et(Ie){var pe=parseFloat(Ie);return isNaN(pe)?0:pe}function rt(Ie,pe,de){var Ee=Ae.useState(0),De=(0,ge.Z)(Ee,2),fe=De[0],Qe=De[1],Mt=(0,Ae.useRef)(new Map),an=(0,Ae.useRef)(new Xe),Sn=(0,Ae.useRef)(0);function gt(){Sn.current+=1}function Ft(){var Jt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;gt();var fn=function(){var tn=!1;Mt.current.forEach(function(Ct,Rt){if(Ct&&Ct.offsetParent){var vt=Ct.offsetHeight,jt=getComputedStyle(Ct),At=jt.marginTop,Je=jt.marginBottom,un=et(At),gn=et(Je),Et=vt+un+gn;an.current.get(Rt)!==Et&&(an.current.set(Rt,Et),tn=!0)}}),tn&&Qe(function(Ct){return Ct+1})};if(Jt)fn();else{Sn.current+=1;var Zt=Sn.current;Promise.resolve().then(function(){Zt===Sn.current&&fn()})}}function Lt(Jt,fn){var Zt=Ie(Jt),mt=Mt.current.get(Zt);fn?(Mt.current.set(Zt,fn),Ft()):Mt.current.delete(Zt),!mt!=!fn&&(fn?pe==null||pe(Jt):de==null||de(Jt))}return(0,Ae.useEffect)(function(){return gt},[]),[Lt,Ft,an.current,fe]}var ht=14/15;function kt(Ie,pe,de){var Ee=(0,Ae.useRef)(!1),De=(0,Ae.useRef)(0),fe=(0,Ae.useRef)(0),Qe=(0,Ae.useRef)(null),Mt=(0,Ae.useRef)(null),an,Sn=function(Jt){if(Ee.current){var fn=Math.ceil(Jt.touches[0].pageX),Zt=Math.ceil(Jt.touches[0].pageY),mt=De.current-fn,tn=fe.current-Zt,Ct=Math.abs(mt)>Math.abs(tn);Ct?De.current=fn:fe.current=Zt;var Rt=de(Ct,Ct?mt:tn,!1,Jt);Rt&&Jt.preventDefault(),clearInterval(Mt.current),Rt&&(Mt.current=setInterval(function(){Ct?mt*=ht:tn*=ht;var vt=Math.floor(Ct?mt:tn);(!de(Ct,vt,!0)||Math.abs(vt)<=.1)&&clearInterval(Mt.current)},16))}},gt=function(){Ee.current=!1,an()},Ft=function(Jt){an(),Jt.touches.length===1&&!Ee.current&&(Ee.current=!0,De.current=Math.ceil(Jt.touches[0].pageX),fe.current=Math.ceil(Jt.touches[0].pageY),Qe.current=Jt.target,Qe.current.addEventListener("touchmove",Sn,{passive:!1}),Qe.current.addEventListener("touchend",gt,{passive:!0}))};an=function(){Qe.current&&(Qe.current.removeEventListener("touchmove",Sn),Qe.current.removeEventListener("touchend",gt))},(0,Ve.Z)(function(){return Ie&&pe.current.addEventListener("touchstart",Ft,{passive:!0}),function(){var Lt;(Lt=pe.current)===null||Lt===void 0||Lt.removeEventListener("touchstart",Ft),an(),clearInterval(Mt.current)}},[Ie])}function St(Ie){return Math.floor(Math.pow(Ie,.5))}function Gt(Ie,pe){var de="touches"in Ie?Ie.touches[0]:Ie;return de[pe?"pageX":"pageY"]-window[pe?"scrollX":"scrollY"]}function nt(Ie,pe,de){Ae.useEffect(function(){var Ee=pe.current;if(Ie&&Ee){var De=!1,fe,Qe,Mt=function(){ke.Z.cancel(fe)},an=function Lt(){Mt(),fe=(0,ke.Z)(function(){de(Qe),Lt()})},Sn=function(Jt){if(!(Jt.target.draggable||Jt.button!==0)){var fn=Jt;fn._virtualHandled||(fn._virtualHandled=!0,De=!0)}},gt=function(){De=!1,Mt()},Ft=function(Jt){if(De){var fn=Gt(Jt,!1),Zt=Ee.getBoundingClientRect(),mt=Zt.top,tn=Zt.bottom;if(fn<=mt){var Ct=mt-fn;Qe=-St(Ct),an()}else if(fn>=tn){var Rt=fn-tn;Qe=St(Rt),an()}else Mt()}};return Ee.addEventListener("mousedown",Sn),Ee.ownerDocument.addEventListener("mouseup",gt),Ee.ownerDocument.addEventListener("mousemove",Ft),function(){Ee.removeEventListener("mousedown",Sn),Ee.ownerDocument.removeEventListener("mouseup",gt),Ee.ownerDocument.removeEventListener("mousemove",Ft),Mt()}}},[Ie])}var je=10;function Be(Ie,pe,de,Ee,De,fe,Qe,Mt){var an=Ae.useRef(),Sn=Ae.useState(null),gt=(0,ge.Z)(Sn,2),Ft=gt[0],Lt=gt[1];return(0,Ve.Z)(function(){if(Ft&&Ft.times<je){if(!Ie.current){Lt(function(cr){return(0,le.Z)({},cr)});return}fe();var Jt=Ft.targetAlign,fn=Ft.originAlign,Zt=Ft.index,mt=Ft.offset,tn=Ie.current.clientHeight,Ct=!1,Rt=Jt,vt=null;if(tn){for(var jt=Jt||fn,At=0,Je=0,un=0,gn=Math.min(pe.length-1,Zt),Et=0;Et<=gn;Et+=1){var Ln=De(pe[Et]);Je=At;var ar=de.get(Ln);un=Je+(ar===void 0?Ee:ar),At=un}for(var Hn=jt==="top"?mt:tn-mt,Vt=gn;Vt>=0;Vt-=1){var dr=De(pe[Vt]),qn=de.get(dr);if(qn===void 0){Ct=!0;break}if(Hn-=qn,Hn<=0)break}switch(jt){case"top":vt=Je-mt;break;case"bottom":vt=un-tn+mt;break;default:{var xn=Ie.current.scrollTop,zn=xn+tn;Je<xn?Rt="top":un>zn&&(Rt="bottom")}}vt!==null&&Qe(vt),vt!==Ft.lastTop&&(Ct=!0)}Ct&&Lt((0,le.Z)((0,le.Z)({},Ft),{},{times:Ft.times+1,targetAlign:Rt,lastTop:vt}))}},[Ft,Ie.current]),function(Jt){if(Jt==null){Mt();return}if(ke.Z.cancel(an.current),typeof Jt=="number")Qe(Jt);else if(Jt&&(0,ue.Z)(Jt)==="object"){var fn,Zt=Jt.align;"index"in Jt?fn=Jt.index:fn=pe.findIndex(function(Ct){return De(Ct)===Jt.key});var mt=Jt.offset,tn=mt===void 0?0:mt;Lt({times:0,index:fn,offset:tn,originAlign:Zt})}}}var wt=Ae.forwardRef(function(Ie,pe){var de=Ie.prefixCls,Ee=Ie.rtl,De=Ie.scrollOffset,fe=Ie.scrollRange,Qe=Ie.onStartMove,Mt=Ie.onStopMove,an=Ie.onScroll,Sn=Ie.horizontal,gt=Ie.spinSize,Ft=Ie.containerSize,Lt=Ie.style,Jt=Ie.thumbStyle,fn=Ie.showScrollBar,Zt=Ae.useState(!1),mt=(0,ge.Z)(Zt,2),tn=mt[0],Ct=mt[1],Rt=Ae.useState(null),vt=(0,ge.Z)(Rt,2),jt=vt[0],At=vt[1],Je=Ae.useState(null),un=(0,ge.Z)(Je,2),gn=un[0],Et=un[1],Ln=!Ee,ar=Ae.useRef(),Hn=Ae.useRef(),Vt=Ae.useState(fn),dr=(0,ge.Z)(Vt,2),qn=dr[0],xn=dr[1],zn=Ae.useRef(),cr=function(){fn===!0||fn===!1||(clearTimeout(zn.current),xn(!0),zn.current=setTimeout(function(){xn(!1)},3e3))},ir=fe-Ft||0,Gn=Ft-gt||0,Yn=Ae.useMemo(function(){if(De===0||ir===0)return 0;var Br=De/ir;return Br*Gn},[De,ir,Gn]),nn=function(Pr){Pr.stopPropagation(),Pr.preventDefault()},An=Ae.useRef({top:Yn,dragging:tn,pageY:jt,startTop:gn});An.current={top:Yn,dragging:tn,pageY:jt,startTop:gn};var Nn=function(Pr){Ct(!0),At(Gt(Pr,Sn)),Et(An.current.top),Qe(),Pr.stopPropagation(),Pr.preventDefault()};Ae.useEffect(function(){var Br=function(lr){lr.preventDefault()},Pr=ar.current,wr=Hn.current;return Pr.addEventListener("touchstart",Br,{passive:!1}),wr.addEventListener("touchstart",Nn,{passive:!1}),function(){Pr.removeEventListener("touchstart",Br),wr.removeEventListener("touchstart",Nn)}},[]);var In=Ae.useRef();In.current=ir;var xr=Ae.useRef();xr.current=Gn,Ae.useEffect(function(){if(tn){var Br,Pr=function(lr){var _n=An.current,Sr=_n.dragging,kr=_n.pageY,Ur=_n.startTop;ke.Z.cancel(Br);var rn=ar.current.getBoundingClientRect(),Qt=Ft/(Sn?rn.width:rn.height);if(Sr){var hr=(Gt(lr,Sn)-kr)*Qt,$n=Ur;!Ln&&Sn?$n-=hr:$n+=hr;var Pt=In.current,on=xr.current,sr=on?$n/on:0,Kt=Math.ceil(sr*Pt);Kt=Math.max(Kt,0),Kt=Math.min(Kt,Pt),Br=(0,ke.Z)(function(){an(Kt,Sn)})}},wr=function(){Ct(!1),Mt()};return window.addEventListener("mousemove",Pr,{passive:!0}),window.addEventListener("touchmove",Pr,{passive:!0}),window.addEventListener("mouseup",wr,{passive:!0}),window.addEventListener("touchend",wr,{passive:!0}),function(){window.removeEventListener("mousemove",Pr),window.removeEventListener("touchmove",Pr),window.removeEventListener("mouseup",wr),window.removeEventListener("touchend",wr),ke.Z.cancel(Br)}}},[tn]),Ae.useEffect(function(){return cr(),function(){clearTimeout(zn.current)}},[De]),Ae.useImperativeHandle(pe,function(){return{delayHidden:cr}});var gr="".concat(de,"-scrollbar"),or={position:"absolute",visibility:qn?null:"hidden"},Lr={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return Sn?(Object.assign(or,{height:8,left:0,right:0,bottom:0}),Object.assign(Lr,(0,ce.Z)({height:"100%",width:gt},Ln?"left":"right",Yn))):(Object.assign(or,(0,ce.Z)({width:8,top:0,bottom:0},Ln?"right":"left",0)),Object.assign(Lr,{width:"100%",height:gt,top:Yn})),Ae.createElement("div",{ref:ar,className:Oe()(gr,(0,ce.Z)((0,ce.Z)((0,ce.Z)({},"".concat(gr,"-horizontal"),Sn),"".concat(gr,"-vertical"),!Sn),"".concat(gr,"-visible"),qn)),style:(0,le.Z)((0,le.Z)({},or),Lt),onMouseDown:nn,onMouseMove:cr},Ae.createElement("div",{ref:Hn,className:Oe()("".concat(gr,"-thumb"),(0,ce.Z)({},"".concat(gr,"-thumb-moving"),tn)),style:(0,le.Z)((0,le.Z)({},Lr),Jt),onMouseDown:Nn}))}),Ot=wt,ot=20;function zt(){var Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,de=Ie/pe*Ie;return isNaN(de)&&(de=0),de=Math.max(de,ot),Math.floor(de)}var Ut=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],pn=[],bt={overflowY:"auto",overflowAnchor:"none"};function Yt(Ie,pe){var de=Ie.prefixCls,Ee=de===void 0?"rc-virtual-list":de,De=Ie.className,fe=Ie.height,Qe=Ie.itemHeight,Mt=Ie.fullHeight,an=Mt===void 0?!0:Mt,Sn=Ie.style,gt=Ie.data,Ft=Ie.children,Lt=Ie.itemKey,Jt=Ie.virtual,fn=Ie.direction,Zt=Ie.scrollWidth,mt=Ie.component,tn=mt===void 0?"div":mt,Ct=Ie.onScroll,Rt=Ie.onVirtualScroll,vt=Ie.onVisibleChange,jt=Ie.innerProps,At=Ie.extraRender,Je=Ie.styles,un=Ie.showScrollBar,gn=un===void 0?"optional":un,Et=(0,oe.Z)(Ie,Ut),Ln=Ae.useCallback(function(Rn){return typeof Lt=="function"?Lt(Rn):Rn==null?void 0:Rn[Lt]},[Lt]),ar=rt(Ln,null,null),Hn=(0,ge.Z)(ar,4),Vt=Hn[0],dr=Hn[1],qn=Hn[2],xn=Hn[3],zn=!!(Jt!==!1&&fe&&Qe),cr=Ae.useMemo(function(){return Object.values(qn.maps).reduce(function(Rn,Ge){return Rn+Ge},0)},[qn.id,qn.maps]),ir=zn&&gt&&(Math.max(Qe*gt.length,cr)>fe||!!Zt),Gn=fn==="rtl",Yn=Oe()(Ee,(0,ce.Z)({},"".concat(Ee,"-rtl"),Gn),De),nn=gt||pn,An=(0,Ae.useRef)(),Nn=(0,Ae.useRef)(),In=(0,Ae.useRef)(),xr=(0,Ae.useState)(0),gr=(0,ge.Z)(xr,2),or=gr[0],Lr=gr[1],Br=(0,Ae.useState)(0),Pr=(0,ge.Z)(Br,2),wr=Pr[0],Ir=Pr[1],lr=(0,Ae.useState)(!1),_n=(0,ge.Z)(lr,2),Sr=_n[0],kr=_n[1],Ur=function(){kr(!0)},rn=function(){kr(!1)},Qt={getKey:Ln};function hr(Rn){Lr(function(Ge){var Tt;typeof Rn=="function"?Tt=Rn(Ge):Tt=Rn;var It=wa(Tt);return An.current.scrollTop=It,It})}var $n=(0,Ae.useRef)({start:0,end:nn.length}),Pt=(0,Ae.useRef)(),on=Pe(nn,Ln),sr=(0,ge.Z)(on,1),Kt=sr[0];Pt.current=Kt;var be=Ae.useMemo(function(){if(!zn)return{scrollHeight:void 0,start:0,end:nn.length-1,offset:void 0};if(!ir){var Rn;return{scrollHeight:((Rn=Nn.current)===null||Rn===void 0?void 0:Rn.offsetHeight)||0,start:0,end:nn.length-1,offset:void 0}}for(var Ge=0,Tt,It,Wt,Ht=nn.length,Mn=0;Mn<Ht;Mn+=1){var Tn=nn[Mn],wn=Ln(Tn),Fn=qn.get(wn),nr=Ge+(Fn===void 0?Qe:Fn);nr>=or&&Tt===void 0&&(Tt=Mn,It=Ge),nr>or+fe&&Wt===void 0&&(Wt=Mn),Ge=nr}return Tt===void 0&&(Tt=0,It=0,Wt=Math.ceil(fe/Qe)),Wt===void 0&&(Wt=nn.length-1),Wt=Math.min(Wt+1,nn.length-1),{scrollHeight:Ge,start:Tt,end:Wt,offset:It}},[ir,zn,or,nn,xn,fe]),Cn=be.scrollHeight,yr=be.start,ln=be.end,Ar=be.offset;$n.current.start=yr,$n.current.end=ln,Ae.useLayoutEffect(function(){var Rn=qn.getRecord();if(Rn.size===1){var Ge=Array.from(Rn.keys())[0],Tt=Rn.get(Ge),It=nn[yr];if(It&&Tt===void 0){var Wt=Ln(It);if(Wt===Ge){var Ht=qn.get(Ge),Mn=Ht-Qe;hr(function(Tn){return Tn+Mn})}}}qn.resetRecord()},[Cn]);var Xn=Ae.useState({width:0,height:fe}),Cr=(0,ge.Z)(Xn,2),Dr=Cr[0],_t=Cr[1],Rr=function(Ge){_t({width:Ge.offsetWidth,height:Ge.offsetHeight})},Kr=(0,Ae.useRef)(),qr=(0,Ae.useRef)(),ha=Ae.useMemo(function(){return zt(Dr.width,Zt)},[Dr.width,Zt]),ma=Ae.useMemo(function(){return zt(Dr.height,Cn)},[Dr.height,Cn]),la=Cn-fe,$r=(0,Ae.useRef)(la);$r.current=la;function wa(Rn){var Ge=Rn;return Number.isNaN($r.current)||(Ge=Math.min(Ge,$r.current)),Ge=Math.max(Ge,0),Ge}var Ia=or<=0,xa=or>=la,ga=wr<=0,pa=wr>=Zt,Gr=Ye(Ia,xa,ga,pa),ra=function(){return{x:Gn?-wr:wr,y:or}},ya=(0,Ae.useRef)(ra()),_r=(0,he.zX)(function(Rn){if(Rt){var Ge=(0,le.Z)((0,le.Z)({},ra()),Rn);(ya.current.x!==Ge.x||ya.current.y!==Ge.y)&&(Rt(Ge),ya.current=Ge)}});function Zr(Rn,Ge){var Tt=Rn;Ge?((0,ct.flushSync)(function(){Ir(Tt)}),_r()):hr(Tt)}function aa(Rn){var Ge=Rn.currentTarget.scrollTop;Ge!==or&&hr(Ge),Ct==null||Ct(Rn),_r()}var ua=function(Ge){var Tt=Ge,It=Zt?Zt-Dr.width:0;return Tt=Math.max(Tt,0),Tt=Math.min(Tt,It),Tt},Pa=(0,he.zX)(function(Rn,Ge){Ge?((0,ct.flushSync)(function(){Ir(function(Tt){var It=Tt+(Gn?-Rn:Rn);return ua(It)})}),_r()):hr(function(Tt){var It=Tt+Rn;return It})}),Ra=lt(zn,Ia,xa,ga,pa,!!Zt,Pa),Xa=(0,ge.Z)(Ra,2),qt=Xa[0],Bn=Xa[1];kt(zn,An,function(Rn,Ge,Tt,It){var Wt=It;return Gr(Rn,Ge,Tt)?!1:!Wt||!Wt._virtualHandled?(Wt&&(Wt._virtualHandled=!0),qt({preventDefault:function(){},deltaX:Rn?Ge:0,deltaY:Rn?0:Ge}),!0):!1}),nt(ir,An,function(Rn){hr(function(Ge){return Ge+Rn})}),(0,Ve.Z)(function(){function Rn(Tt){var It=Ia&&Tt.detail<0,Wt=xa&&Tt.detail>0;zn&&!It&&!Wt&&Tt.preventDefault()}var Ge=An.current;return Ge.addEventListener("wheel",qt,{passive:!1}),Ge.addEventListener("DOMMouseScroll",Bn,{passive:!0}),Ge.addEventListener("MozMousePixelScroll",Rn,{passive:!1}),function(){Ge.removeEventListener("wheel",qt),Ge.removeEventListener("DOMMouseScroll",Bn),Ge.removeEventListener("MozMousePixelScroll",Rn)}},[zn,Ia,xa]),(0,Ve.Z)(function(){if(Zt){var Rn=ua(wr);Ir(Rn),_r({x:Rn})}},[Dr.width,Zt]);var Dn=function(){var Ge,Tt;(Ge=Kr.current)===null||Ge===void 0||Ge.delayHidden(),(Tt=qr.current)===null||Tt===void 0||Tt.delayHidden()},jn=Be(An,nn,qn,Qe,Ln,function(){return dr(!0)},hr,Dn);Ae.useImperativeHandle(pe,function(){return{nativeElement:In.current,getScrollInfo:ra,scrollTo:function(Ge){function Tt(It){return It&&(0,ue.Z)(It)==="object"&&("left"in It||"top"in It)}Tt(Ge)?(Ge.left!==void 0&&Ir(ua(Ge.left)),jn(Ge.top)):jn(Ge)}}}),(0,Ve.Z)(function(){if(vt){var Rn=nn.slice(yr,ln+1);vt(Rn,nn)}},[yr,ln,nn]);var Qn=Fe(nn,Ln,qn,Qe),er=At==null?void 0:At({start:yr,end:ln,virtual:ir,offsetX:wr,offsetY:Ar,rtl:Gn,getSize:Qn}),vr=ze(nn,yr,ln,Zt,wr,Vt,Ft,Qt),mr=null;fe&&(mr=(0,le.Z)((0,ce.Z)({},an?"height":"maxHeight",fe),bt),zn&&(mr.overflowY="hidden",Zt&&(mr.overflowX="hidden"),Sr&&(mr.pointerEvents="none")));var pr={};return Gn&&(pr.dir="rtl"),Ae.createElement("div",(0,b.Z)({ref:In,style:(0,le.Z)((0,le.Z)({},Sn),{},{position:"relative"}),className:Yn},pr,Et),Ae.createElement(Se.Z,{onResize:Rr},Ae.createElement(tn,{className:"".concat(Ee,"-holder"),style:mr,ref:An,onScroll:aa,onMouseEnter:Dn},Ae.createElement(qe,{prefixCls:Ee,height:Cn,offsetX:wr,offsetY:Ar,scrollWidth:Zt,onInnerResize:dr,ref:Nn,innerProps:jt,rtl:Gn,extra:er},vr))),ir&&Cn>fe&&Ae.createElement(Ot,{ref:Kr,prefixCls:Ee,scrollOffset:or,scrollRange:Cn,rtl:Gn,onScroll:Zr,onStartMove:Ur,onStopMove:rn,spinSize:ma,containerSize:Dr.height,style:Je==null?void 0:Je.verticalScrollBar,thumbStyle:Je==null?void 0:Je.verticalScrollBarThumb,showScrollBar:gn}),ir&&Zt>Dr.width&&Ae.createElement(Ot,{ref:qr,prefixCls:Ee,scrollOffset:wr,scrollRange:Zt,rtl:Gn,onScroll:Zr,onStartMove:Ur,onStopMove:rn,spinSize:ha,containerSize:Dr.width,horizontal:!0,style:Je==null?void 0:Je.horizontalScrollBar,thumbStyle:Je==null?void 0:Je.horizontalScrollBarThumb,showScrollBar:gn}))}var Bt=Ae.forwardRef(Yt);Bt.displayName="List";var $t=Bt,cn=$t},22061:function(me,ne,E){"use strict";E.d(ne,{Z5:function(){return Pl},_l:function(){return cs},bK:function(){return Wo}});var b=E(59301),ue=E(97755),le=E(32855),ce=E(59781),ge=b.createContext(null),oe=null;function xe(ae){ae()}var Oe=xe,Se=function(se){return Oe=se},he=function(){return Oe};function Ve(){var ae=he(),se=null,ve=null;return{clear:function(){se=null,ve=null},notify:function(){ae(function(){for(var it=se;it;)it.callback(),it=it.next})},get:function(){for(var it=[],st=se;st;)it.push(st),st=st.next;return it},subscribe:function(it){var st=!0,pt=ve={callback:it,next:null,prev:ve};return pt.prev?pt.prev.next=pt:se=pt,function(){!st||se===null||(st=!1,pt.next?pt.next.prev=pt.prev:ve=pt.prev,pt.prev?pt.prev.next=pt.next:se=pt.next)}}}}var Ae={notify:function(){},get:function(){return[]}};function ct(ae,se){var ve,_e=Ae;function it(dn){return en(),_e.subscribe(dn)}function st(){_e.notify()}function pt(){vn.onStateChange&&vn.onStateChange()}function xt(){return!!ve}function en(){ve||(ve=se?se.addNestedSub(pt):ae.subscribe(pt),_e=Ve())}function yn(){ve&&(ve(),ve=void 0,_e.clear(),_e=Ae)}var vn={addNestedSub:it,notifyNestedSubs:st,handleChangeWrapper:pt,isSubscribed:xt,trySubscribe:en,tryUnsubscribe:yn,getListeners:function(){return _e}};return vn}var Ke=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect;function qe(ae){var se=ae.store,ve=ae.context,_e=ae.children,it=(0,b.useMemo)(function(){var xt=ct(se);return{store:se,subscription:xt}},[se]),st=(0,b.useMemo)(function(){return se.getState()},[se]);Ke(function(){var xt=it.subscription;return xt.onStateChange=xt.notifyNestedSubs,xt.trySubscribe(),st!==se.getState()&&xt.notifyNestedSubs(),function(){xt.tryUnsubscribe(),xt.onStateChange=null}},[it,st]);var pt=ve||ge;return b.createElement(pt.Provider,{value:it},_e)}var Me=qe,ze=E(12687),Ze=E(94266),Le=E.n(Ze),Pe=E(53410),ke=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],Re=["reactReduxForwardedRef"],Te=[],Ye=[null,null],lt=function(se){try{return JSON.stringify(se)}catch(ve){return String(se)}};function Fe(ae,se){var ve=ae[1];return[se.payload,ve+1]}function tt(ae,se,ve){Ke(function(){return ae.apply(void 0,se)},ve)}function $e(ae,se,ve,_e,it,st,pt){ae.current=_e,se.current=it,ve.current=!1,st.current&&(st.current=null,pt())}function Ue(ae,se,ve,_e,it,st,pt,xt,en,yn){if(ae){var vn=!1,dn=null,mn=function(){if(!vn){var zr=se.getState(),Jr,ta;try{Jr=_e(zr,it.current)}catch(fa){ta=fa,dn=fa}ta||(dn=null),Jr===st.current?pt.current||en():(st.current=Jr,xt.current=Jr,pt.current=!0,yn({type:"STORE_UPDATED",payload:{error:ta}}))}};ve.onStateChange=mn,ve.trySubscribe(),mn();var On=function(){if(vn=!0,ve.tryUnsubscribe(),ve.onStateChange=null,dn)throw dn};return On}}var Xe=function(){return[null,0]};function et(ae,se){se===void 0&&(se={});var ve=se,_e=ve.getDisplayName,it=_e===void 0?function(ni){return"ConnectAdvanced("+ni+")"}:_e,st=ve.methodName,pt=st===void 0?"connectAdvanced":st,xt=ve.renderCountProp,en=xt===void 0?void 0:xt,yn=ve.shouldHandleStateChanges,vn=yn===void 0?!0:yn,dn=ve.storeKey,mn=dn===void 0?"store":dn,On=ve.withRef,fr=On===void 0?!1:On,zr=ve.forwardRef,Jr=zr===void 0?!1:zr,ta=ve.context,fa=ta===void 0?ge:ta,Ta=(0,ze.Z)(ve,ke);if(0)var Fa;var oi=fa;return function(Ei){var ho=Ei.displayName||Ei.name||"Component",xi=it(ho),mo=(0,le.Z)({},Ta,{getDisplayName:it,methodName:pt,renderCountProp:en,shouldHandleStateChanges:vn,storeKey:mn,displayName:xi,wrappedComponentName:ho,WrappedComponent:Ei}),es=Ta.pure;function fs(ps){return ae(ps.dispatch,mo)}var Cl=es?b.useMemo:function(ps){return ps()};function dl(ps){var zl=(0,b.useMemo)(function(){var Pu=ps.reactReduxForwardedRef,jc=(0,ze.Z)(ps,Re);return[ps.context,Pu,jc]},[ps]),Al=zl[0],_u=zl[1],iu=zl[2],Gl=(0,b.useMemo)(function(){return Al&&Al.Consumer&&(0,Pe.isContextConsumer)(b.createElement(Al.Consumer,null))?Al:oi},[Al,oi]),Tl=(0,b.useContext)(Gl),ou=!!ps.store&&!!ps.store.getState&&!!ps.store.dispatch,uc=!!Tl&&!!Tl.store,wl=ou?ps.store:Tl.store,Fu=(0,b.useMemo)(function(){return fs(wl)},[wl]),cc=(0,b.useMemo)(function(){if(!vn)return Ye;var Pu=ct(wl,ou?null:Tl.subscription),jc=Pu.notifyNestedSubs.bind(Pu);return[Pu,jc]},[wl,ou,Tl]),Eu=cc[0],dc=cc[1],fc=(0,b.useMemo)(function(){return ou?Tl:(0,le.Z)({},Tl,{subscription:Eu})},[ou,Tl,Eu]),Xc=(0,b.useReducer)(Fe,Te,Xe),rd=Xc[0],pc=rd[0],ad=Xc[1];if(pc&&pc.error)throw pc.error;var Qc=(0,b.useRef)(),Gc=(0,b.useRef)(iu),hc=(0,b.useRef)(),Jc=(0,b.useRef)(!1),Wc=Cl(function(){return hc.current&&iu===Gc.current?hc.current:Fu(wl.getState(),iu)},[wl,pc,iu]);tt($e,[Gc,Qc,Jc,iu,Wc,hc,dc]),tt(Ue,[vn,wl,Eu,Fu,Gc,Qc,Jc,hc,dc,ad],[wl,Eu,Fu]);var Zc=(0,b.useMemo)(function(){return b.createElement(Ei,(0,le.Z)({},Wc,{ref:_u}))},[_u,Ei,Wc]),id=(0,b.useMemo)(function(){return vn?b.createElement(Gl.Provider,{value:fc},Zc):Zc},[Gl,Zc,fc]);return id}var Ys=es?b.memo(dl):dl;if(Ys.WrappedComponent=Ei,Ys.displayName=dl.displayName=xi,Jr){var xl=b.forwardRef(function(zl,Al){return b.createElement(Ys,(0,le.Z)({},zl,{reactReduxForwardedRef:Al}))});return xl.displayName=xi,xl.WrappedComponent=Ei,Le()(xl,Ei)}return Le()(Ys,Ei)}}function rt(ae,se){return ae===se?ae!==0||se!==0||1/ae===1/se:ae!==ae&&se!==se}function ht(ae,se){if(rt(ae,se))return!0;if(typeof ae!="object"||ae===null||typeof se!="object"||se===null)return!1;var ve=Object.keys(ae),_e=Object.keys(se);if(ve.length!==_e.length)return!1;for(var it=0;it<ve.length;it++)if(!Object.prototype.hasOwnProperty.call(se,ve[it])||!rt(ae[ve[it]],se[ve[it]]))return!1;return!0}function kt(ae,se){var ve={},_e=function(pt){var xt=ae[pt];typeof xt=="function"&&(ve[pt]=function(){return se(xt.apply(void 0,arguments))})};for(var it in ae)_e(it);return ve}function St(ae){return function(ve,_e){var it=ae(ve,_e);function st(){return it}return st.dependsOnOwnProps=!1,st}}function Gt(ae){return ae.dependsOnOwnProps!==null&&ae.dependsOnOwnProps!==void 0?!!ae.dependsOnOwnProps:ae.length!==1}function nt(ae,se){return function(_e,it){var st=it.displayName,pt=function(en,yn){return pt.dependsOnOwnProps?pt.mapToProps(en,yn):pt.mapToProps(en)};return pt.dependsOnOwnProps=!0,pt.mapToProps=function(en,yn){pt.mapToProps=ae,pt.dependsOnOwnProps=Gt(ae);var vn=pt(en,yn);return typeof vn=="function"&&(pt.mapToProps=vn,pt.dependsOnOwnProps=Gt(vn),vn=pt(en,yn)),vn},pt}}function je(ae){return typeof ae=="function"?nt(ae,"mapDispatchToProps"):void 0}function Be(ae){return ae?void 0:St(function(se){return{dispatch:se}})}function wt(ae){return ae&&typeof ae=="object"?St(function(se){return kt(ae,se)}):void 0}var Ot=[je,Be,wt];function ot(ae){return typeof ae=="function"?nt(ae,"mapStateToProps"):void 0}function zt(ae){return ae?void 0:St(function(){return{}})}var Ut=[ot,zt];function pn(ae,se,ve){return(0,le.Z)({},ve,ae,se)}function bt(ae){return function(ve,_e){var it=_e.displayName,st=_e.pure,pt=_e.areMergedPropsEqual,xt=!1,en;return function(vn,dn,mn){var On=ae(vn,dn,mn);return xt?(!st||!pt(On,en))&&(en=On):(xt=!0,en=On),en}}}function Yt(ae){return typeof ae=="function"?bt(ae):void 0}function Bt(ae){return ae?void 0:function(){return pn}}var $t=[Yt,Bt],cn=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Ie(ae,se,ve,_e){return function(st,pt){return ve(ae(st,pt),se(_e,pt),pt)}}function pe(ae,se,ve,_e,it){var st=it.areStatesEqual,pt=it.areOwnPropsEqual,xt=it.areStatePropsEqual,en=!1,yn,vn,dn,mn,On;function fr(Ta,Fa){return yn=Ta,vn=Fa,dn=ae(yn,vn),mn=se(_e,vn),On=ve(dn,mn,vn),en=!0,On}function zr(){return dn=ae(yn,vn),se.dependsOnOwnProps&&(mn=se(_e,vn)),On=ve(dn,mn,vn),On}function Jr(){return ae.dependsOnOwnProps&&(dn=ae(yn,vn)),se.dependsOnOwnProps&&(mn=se(_e,vn)),On=ve(dn,mn,vn),On}function ta(){var Ta=ae(yn,vn),Fa=!xt(Ta,dn);return dn=Ta,Fa&&(On=ve(dn,mn,vn)),On}function fa(Ta,Fa){var oi=!pt(Fa,vn),ni=!st(Ta,yn,Fa,vn);return yn=Ta,vn=Fa,oi&&ni?zr():oi?Jr():ni?ta():On}return function(Fa,oi){return en?fa(Fa,oi):fr(Fa,oi)}}function de(ae,se){var ve=se.initMapStateToProps,_e=se.initMapDispatchToProps,it=se.initMergeProps,st=(0,ze.Z)(se,cn),pt=ve(ae,st),xt=_e(ae,st),en=it(ae,st),yn=st.pure?pe:Ie;return yn(pt,xt,en,ae,st)}var Ee=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function De(ae,se,ve){for(var _e=se.length-1;_e>=0;_e--){var it=se[_e](ae);if(it)return it}return function(st,pt){throw new Error("Invalid value of type "+typeof ae+" for "+ve+" argument when connecting component "+pt.wrappedComponentName+".")}}function fe(ae,se){return ae===se}function Qe(ae){var se=ae===void 0?{}:ae,ve=se.connectHOC,_e=ve===void 0?et:ve,it=se.mapStateToPropsFactories,st=it===void 0?Ut:it,pt=se.mapDispatchToPropsFactories,xt=pt===void 0?Ot:pt,en=se.mergePropsFactories,yn=en===void 0?$t:en,vn=se.selectorFactory,dn=vn===void 0?de:vn;return function(On,fr,zr,Jr){Jr===void 0&&(Jr={});var ta=Jr,fa=ta.pure,Ta=fa===void 0?!0:fa,Fa=ta.areStatesEqual,oi=Fa===void 0?fe:Fa,ni=ta.areOwnPropsEqual,Ei=ni===void 0?ht:ni,ho=ta.areStatePropsEqual,xi=ho===void 0?ht:ho,mo=ta.areMergedPropsEqual,es=mo===void 0?ht:mo,fs=(0,ze.Z)(ta,Ee),Cl=De(On,st,"mapStateToProps"),dl=De(fr,xt,"mapDispatchToProps"),Ys=De(zr,yn,"mergeProps");return _e(dn,(0,le.Z)({methodName:"connect",getDisplayName:function(ps){return"Connect("+ps+")"},shouldHandleStateChanges:!!On,initMapStateToProps:Cl,initMapDispatchToProps:dl,initMergeProps:Ys,pure:Ta,areStatesEqual:oi,areOwnPropsEqual:Ei,areStatePropsEqual:xi,areMergedPropsEqual:es},fs))}}var Mt=Qe();function an(){var ae=useContext(ReactReduxContext);return ae}function Sn(ae){ae===void 0&&(ae=ReactReduxContext);var se=ae===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ae)};return function(){var _e=se(),it=_e.store;return it}}var gt=null;function Ft(ae){ae===void 0&&(ae=ReactReduxContext);var se=ae===ReactReduxContext?useDefaultStore:createStoreHook(ae);return function(){var _e=se();return _e.dispatch}}var Lt=null,Jt=function(se,ve){return se===ve};function fn(ae,se,ve,_e){var it=useReducer(function(fr){return fr+1},0),st=it[1],pt=useMemo(function(){return createSubscription(ve,_e)},[ve,_e]),xt=useRef(),en=useRef(),yn=useRef(),vn=useRef(),dn=ve.getState(),mn;try{if(ae!==en.current||dn!==yn.current||xt.current){var On=ae(dn);vn.current===void 0||!se(On,vn.current)?mn=On:mn=vn.current}else mn=vn.current}catch(fr){throw xt.current&&(fr.message+=`
The error may be correlated with this previous error:
`+xt.current.stack+`
`),fr}return useIsomorphicLayoutEffect(function(){en.current=ae,yn.current=dn,vn.current=mn,xt.current=void 0}),useIsomorphicLayoutEffect(function(){function fr(){try{var zr=ve.getState();if(zr===yn.current)return;var Jr=en.current(zr);if(se(Jr,vn.current))return;vn.current=Jr,yn.current=zr}catch(ta){xt.current=ta}st()}return pt.onStateChange=fr,pt.trySubscribe(),fr(),function(){return pt.tryUnsubscribe()}},[ve,pt]),mn}function Zt(ae){ae===void 0&&(ae=ReactReduxContext);var se=ae===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ae)};return function(_e,it){it===void 0&&(it=Jt);var st=se(),pt=st.store,xt=st.subscription,en=fn(_e,it,pt,xt);return useDebugValue(en),en}}var mt=null,tn=E(4676);Se(tn.unstable_batchedUpdates);function Ct(ae,se){if(ae.length!==se.length)return!1;for(var ve=0;ve<ae.length;ve++)if(ae[ve]!==se[ve])return!1;return!0}function Rt(ae,se){var ve=(0,b.useState)(function(){return{inputs:se,result:ae()}})[0],_e=(0,b.useRef)(!0),it=(0,b.useRef)(ve),st=_e.current||!!(se&&it.current.inputs&&Ct(se,it.current.inputs)),pt=st?it.current:{inputs:se,result:ae()};return(0,b.useEffect)(function(){_e.current=!1,it.current=pt},[pt]),pt.result}function vt(ae,se){return Rt(function(){return ae},se)}var jt=Rt,At=vt,Je=!0,un="Invariant failed";function gn(ae,se){if(!ae){if(Je)throw new Error(un);var ve=typeof se=="function"?se():se,_e=ve?"".concat(un,": ").concat(ve):un;throw new Error(_e)}}var Et=function(se){var ve=se.top,_e=se.right,it=se.bottom,st=se.left,pt=_e-st,xt=it-ve,en={top:ve,right:_e,bottom:it,left:st,width:pt,height:xt,x:st,y:ve,center:{x:(_e+st)/2,y:(it+ve)/2}};return en},Ln=function(se,ve){return{top:se.top-ve.top,left:se.left-ve.left,bottom:se.bottom+ve.bottom,right:se.right+ve.right}},ar=function(se,ve){return{top:se.top+ve.top,left:se.left+ve.left,bottom:se.bottom-ve.bottom,right:se.right-ve.right}},Hn=function(se,ve){return{top:se.top+ve.y,left:se.left+ve.x,bottom:se.bottom+ve.y,right:se.right+ve.x}},Vt={top:0,right:0,bottom:0,left:0},dr=function(se){var ve=se.borderBox,_e=se.margin,it=_e===void 0?Vt:_e,st=se.border,pt=st===void 0?Vt:st,xt=se.padding,en=xt===void 0?Vt:xt,yn=Et(Ln(ve,it)),vn=Et(ar(ve,pt)),dn=Et(ar(vn,en));return{marginBox:yn,borderBox:Et(ve),paddingBox:vn,contentBox:dn,margin:it,border:pt,padding:en}},qn=function(se){var ve=se.slice(0,-2),_e=se.slice(-2);if(_e!=="px")return 0;var it=Number(ve);return isNaN(it)&&gn(!1),it},xn=function(){return{x:window.pageXOffset,y:window.pageYOffset}},zn=function(se,ve){var _e=se.borderBox,it=se.border,st=se.margin,pt=se.padding,xt=Hn(_e,ve);return dr({borderBox:xt,border:it,margin:st,padding:pt})},cr=function(se,ve){return ve===void 0&&(ve=xn()),zn(se,ve)},ir=function(se,ve){var _e={top:qn(ve.marginTop),right:qn(ve.marginRight),bottom:qn(ve.marginBottom),left:qn(ve.marginLeft)},it={top:qn(ve.paddingTop),right:qn(ve.paddingRight),bottom:qn(ve.paddingBottom),left:qn(ve.paddingLeft)},st={top:qn(ve.borderTopWidth),right:qn(ve.borderRightWidth),bottom:qn(ve.borderBottomWidth),left:qn(ve.borderLeftWidth)};return dr({borderBox:se,margin:_e,padding:it,border:st})},Gn=function(se){var ve=se.getBoundingClientRect(),_e=window.getComputedStyle(se);return ir(ve,_e)},Yn=Number.isNaN||function(se){return typeof se=="number"&&se!==se};function nn(ae,se){return!!(ae===se||Yn(ae)&&Yn(se))}function An(ae,se){if(ae.length!==se.length)return!1;for(var ve=0;ve<ae.length;ve++)if(!nn(ae[ve],se[ve]))return!1;return!0}function Nn(ae,se){se===void 0&&(se=An);var ve,_e=[],it,st=!1;function pt(){for(var xt=[],en=0;en<arguments.length;en++)xt[en]=arguments[en];return st&&ve===this&&se(xt,_e)||(it=ae.apply(this,xt),st=!0,ve=this,_e=xt),it}return pt}var In=Nn,xr=function(se){var ve=[],_e=null,it=function(){for(var pt=arguments.length,xt=new Array(pt),en=0;en<pt;en++)xt[en]=arguments[en];ve=xt,!_e&&(_e=requestAnimationFrame(function(){_e=null,se.apply(void 0,ve)}))};return it.cancel=function(){_e&&(cancelAnimationFrame(_e),_e=null)},it},gr=xr,or=!0,Lr=/[ \t]{2,}/g,Br=/^[ \t]*/gm,Pr=function(se){return se.replace(Lr," ").replace(Br,"").trim()},wr=function(se){return Pr(`
%creact-beautiful-dnd
%c`+Pr(se)+`
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
`)},Ir=function(se){return[wr(se),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},lr="__react-beautiful-dnd-disable-dev-warnings";function _n(ae,se){var ve;or||typeof window!="undefined"&&window[lr]||(ve=console)[ae].apply(ve,Ir(se))}var Sr=_n.bind(null,"warn"),kr=_n.bind(null,"error");function Ur(){}function rn(ae,se){return(0,le.Z)({},ae,{},se)}function Qt(ae,se,ve){var _e=se.map(function(it){var st=rn(ve,it.options);return ae.addEventListener(it.eventName,it.fn,st),function(){ae.removeEventListener(it.eventName,it.fn,st)}});return function(){_e.forEach(function(st){st()})}}var hr=!0,$n="Invariant failed";function Pt(ae){this.message=ae}Pt.prototype.toString=function(){return this.message};function on(ae,se){if(!ae)throw hr?new Pt($n):new Pt($n+": "+(se||""))}var sr=function(ae){(0,ue.Z)(se,ae);function se(){for(var _e,it=arguments.length,st=new Array(it),pt=0;pt<it;pt++)st[pt]=arguments[pt];return _e=ae.call.apply(ae,[this].concat(st))||this,_e.callbacks=null,_e.unbind=Ur,_e.onWindowError=function(xt){var en=_e.getCallbacks();en.isDragging()&&en.tryAbort();var yn=xt.error;yn instanceof Pt&&xt.preventDefault()},_e.getCallbacks=function(){if(!_e.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return _e.callbacks},_e.setCallbacks=function(xt){_e.callbacks=xt},_e}var ve=se.prototype;return ve.componentDidMount=function(){this.unbind=Qt(window,[{eventName:"error",fn:this.onWindowError}])},ve.componentWillUnmount=function(){this.unbind()},ve.componentDidCatch=function(it){if(it instanceof Pt){this.setState({});return}throw it},ve.render=function(){return this.props.children(this.setCallbacks)},se}(b.Component),Kt=`
Press space bar to start a drag.
When dragging you can use the arrow keys to move the item around and escape to cancel.
Some screen readers may require you to be in focus mode or to use your pass through key
`,be=function(se){return se+1},Cn=function(se){return`
You have lifted an item in position `+be(se.source.index)+`
`},yr=function(se,ve){var _e=se.droppableId===ve.droppableId,it=be(se.index),st=be(ve.index);return _e?`
You have moved the item from position `+it+`
to position `+st+`
`:`
You have moved the item from position `+it+`
in list `+se.droppableId+`
to list `+ve.droppableId+`
in position `+st+`
`},ln=function(se,ve,_e){var it=ve.droppableId===_e.droppableId;return it?`
The item `+se+`
has been combined with `+_e.draggableId:`
The item `+se+`
in list `+ve.droppableId+`
has been combined with `+_e.draggableId+`
in list `+_e.droppableId+`
`},Ar=function(se){var ve=se.destination;if(ve)return yr(se.source,ve);var _e=se.combine;return _e?ln(se.draggableId,se.source,_e):"You are over an area that cannot be dropped on"},Xn=function(se){return`
The item has returned to its starting position
of `+be(se.index)+`
`},Cr=function(se){if(se.reason==="CANCEL")return`
Movement cancelled.
`+Xn(se.source)+`
`;var ve=se.destination,_e=se.combine;return ve?`
You have dropped the item.
`+yr(se.source,ve)+`
`:_e?`
You have dropped the item.
`+ln(se.draggableId,se.source,_e)+`
`:`
The item has been dropped while not over a drop area.
`+Xn(se.source)+`
`},Dr={dragHandleUsageInstructions:Kt,onDragStart:Cn,onDragUpdate:Ar,onDragEnd:Cr},_t={x:0,y:0},Rr=function(se,ve){return{x:se.x+ve.x,y:se.y+ve.y}},Kr=function(se,ve){return{x:se.x-ve.x,y:se.y-ve.y}},qr=function(se,ve){return se.x===ve.x&&se.y===ve.y},ha=function(se){return{x:se.x!==0?-se.x:0,y:se.y!==0?-se.y:0}},ma=function(se,ve,_e){var it;return _e===void 0&&(_e=0),it={},it[se]=ve,it[se==="x"?"y":"x"]=_e,it},la=function(se,ve){return Math.sqrt(Math.pow(ve.x-se.x,2)+Math.pow(ve.y-se.y,2))},$r=function(se,ve){return Math.min.apply(Math,ve.map(function(_e){return la(se,_e)}))},wa=function(se){return function(ve){return{x:se(ve.x),y:se(ve.y)}}},Ia=function(ae,se){var ve=Et({top:Math.max(se.top,ae.top),right:Math.min(se.right,ae.right),bottom:Math.min(se.bottom,ae.bottom),left:Math.max(se.left,ae.left)});return ve.width<=0||ve.height<=0?null:ve},xa=function(se,ve){return{top:se.top+ve.y,left:se.left+ve.x,bottom:se.bottom+ve.y,right:se.right+ve.x}},ga=function(se){return[{x:se.left,y:se.top},{x:se.right,y:se.top},{x:se.left,y:se.bottom},{x:se.right,y:se.bottom}]},pa={top:0,right:0,bottom:0,left:0},Gr=function(se,ve){return ve?xa(se,ve.scroll.diff.displacement):se},ra=function(se,ve,_e){if(_e&&_e.increasedBy){var it;return(0,le.Z)({},se,(it={},it[ve.end]=se[ve.end]+_e.increasedBy[ve.line],it))}return se},ya=function(se,ve){return ve&&ve.shouldClipSubject?Ia(ve.pageMarginBox,se):Et(se)},_r=function(ae){var se=ae.page,ve=ae.withPlaceholder,_e=ae.axis,it=ae.frame,st=Gr(se.marginBox,it),pt=ra(st,_e,ve),xt=ya(pt,it);return{page:se,withPlaceholder:ve,active:xt}},Zr=function(ae,se){ae.frame||on(!1);var ve=ae.frame,_e=Kr(se,ve.scroll.initial),it=ha(_e),st=(0,le.Z)({},ve,{scroll:{initial:ve.scroll.initial,current:se,diff:{value:_e,displacement:it},max:ve.scroll.max}}),pt=_r({page:ae.subject.page,withPlaceholder:ae.subject.withPlaceholder,axis:ae.axis,frame:st}),xt=(0,le.Z)({},ae,{frame:st,subject:pt});return xt};function aa(ae){return Number.isInteger?Number.isInteger(ae):typeof ae=="number"&&isFinite(ae)&&Math.floor(ae)===ae}function ua(ae){return Object.values?Object.values(ae):Object.keys(ae).map(function(se){return ae[se]})}function Pa(ae,se){if(ae.findIndex)return ae.findIndex(se);for(var ve=0;ve<ae.length;ve++)if(se(ae[ve]))return ve;return-1}function Ra(ae,se){if(ae.find)return ae.find(se);var ve=Pa(ae,se);if(ve!==-1)return ae[ve]}function Xa(ae){return Array.prototype.slice.call(ae)}var qt=In(function(ae){return ae.reduce(function(se,ve){return se[ve.descriptor.id]=ve,se},{})}),Bn=In(function(ae){return ae.reduce(function(se,ve){return se[ve.descriptor.id]=ve,se},{})}),Dn=In(function(ae){return ua(ae)}),jn=In(function(ae){return ua(ae)}),Qn=In(function(ae,se){var ve=jn(se).filter(function(_e){return ae===_e.descriptor.droppableId}).sort(function(_e,it){return _e.descriptor.index-it.descriptor.index});return ve});function er(ae){return ae.at&&ae.at.type==="REORDER"?ae.at.destination:null}function vr(ae){return ae.at&&ae.at.type==="COMBINE"?ae.at.combine:null}var mr=In(function(ae,se){return se.filter(function(ve){return ve.descriptor.id!==ae.descriptor.id})}),pr=function(ae){var se=ae.isMovingForward,ve=ae.draggable,_e=ae.destination,it=ae.insideDestination,st=ae.previousImpact;if(!_e.isCombineEnabled)return null;var pt=er(st);if(!pt)return null;function xt(zr){var Jr={type:"COMBINE",combine:{draggableId:zr,droppableId:_e.descriptor.id}};return(0,le.Z)({},st,{at:Jr})}var en=st.displaced.all,yn=en.length?en[0]:null;if(se)return yn?xt(yn):null;var vn=mr(ve,it);if(!yn){if(!vn.length)return null;var dn=vn[vn.length-1];return xt(dn.descriptor.id)}var mn=Pa(vn,function(zr){return zr.descriptor.id===yn});mn===-1&&on(!1);var On=mn-1;if(On<0)return null;var fr=vn[On];return xt(fr.descriptor.id)},Rn=function(ae,se){return ae.descriptor.droppableId===se.descriptor.id},Ge={point:_t,value:0},Tt={invisible:{},visible:{},all:[]},It={displaced:Tt,displacedBy:Ge,at:null},Wt=function(ae,se){return function(ve){return ae<=ve&&ve<=se}},Ht=function(ae){var se=Wt(ae.top,ae.bottom),ve=Wt(ae.left,ae.right);return function(_e){var it=se(_e.top)&&se(_e.bottom)&&ve(_e.left)&&ve(_e.right);if(it)return!0;var st=se(_e.top)||se(_e.bottom),pt=ve(_e.left)||ve(_e.right),xt=st&&pt;if(xt)return!0;var en=_e.top<ae.top&&_e.bottom>ae.bottom,yn=_e.left<ae.left&&_e.right>ae.right,vn=en&&yn;if(vn)return!0;var dn=en&&pt||yn&&st;return dn}},Mn=function(ae){var se=Wt(ae.top,ae.bottom),ve=Wt(ae.left,ae.right);return function(_e){var it=se(_e.top)&&se(_e.bottom)&&ve(_e.left)&&ve(_e.right);return it}},Tn={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},wn={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Fn=function(ae){return function(se){var ve=Wt(se.top,se.bottom),_e=Wt(se.left,se.right);return function(it){return ae===Tn?ve(it.top)&&ve(it.bottom):_e(it.left)&&_e(it.right)}}},nr=function(se,ve){var _e=ve.frame?ve.frame.scroll.diff.displacement:_t;return xa(se,_e)},Or=function(se,ve,_e){return ve.subject.active?_e(ve.subject.active)(se):!1},br=function(se,ve,_e){return _e(ve)(se)},Tr=function(se){var ve=se.target,_e=se.destination,it=se.viewport,st=se.withDroppableDisplacement,pt=se.isVisibleThroughFrameFn,xt=st?nr(ve,_e):ve;return Or(xt,_e,pt)&&br(xt,it,pt)},Hr=function(se){return Tr((0,le.Z)({},se,{isVisibleThroughFrameFn:Ht}))},jr=function(se){return Tr((0,le.Z)({},se,{isVisibleThroughFrameFn:Mn}))},sa=function(se){return Tr((0,le.Z)({},se,{isVisibleThroughFrameFn:Fn(se.destination.axis)}))},va=function(se,ve,_e){if(typeof _e=="boolean")return _e;if(!ve)return!0;var it=ve.invisible,st=ve.visible;if(it[se])return!1;var pt=st[se];return pt?pt.shouldAnimate:!0};function Aa(ae,se){var ve=ae.page.marginBox,_e={top:se.point.y,right:0,bottom:0,left:se.point.x};return Et(Ln(ve,_e))}function Sa(ae){var se=ae.afterDragging,ve=ae.destination,_e=ae.displacedBy,it=ae.viewport,st=ae.forceShouldAnimate,pt=ae.last;return se.reduce(function(en,yn){var vn=Aa(yn,_e),dn=yn.descriptor.id;en.all.push(dn);var mn=Hr({target:vn,destination:ve,viewport:it,withDroppableDisplacement:!0});if(!mn)return en.invisible[yn.descriptor.id]=!0,en;var On=va(dn,pt,st),fr={draggableId:dn,shouldAnimate:On};return en.visible[dn]=fr,en},{all:[],visible:{},invisible:{}})}function La(ae,se){if(!ae.length)return 0;var ve=ae[ae.length-1].descriptor.index;return se.inHomeList?ve:ve+1}function Xr(ae){var se=ae.insideDestination,ve=ae.inHomeList,_e=ae.displacedBy,it=ae.destination,st=La(se,{inHomeList:ve});return{displaced:Tt,displacedBy:_e,at:{type:"REORDER",destination:{droppableId:it.descriptor.id,index:st}}}}function Wr(ae){var se=ae.draggable,ve=ae.insideDestination,_e=ae.destination,it=ae.viewport,st=ae.displacedBy,pt=ae.last,xt=ae.index,en=ae.forceShouldAnimate,yn=Rn(se,_e);if(xt==null)return Xr({insideDestination:ve,inHomeList:yn,displacedBy:st,destination:_e});var vn=Ra(ve,function(zr){return zr.descriptor.index===xt});if(!vn)return Xr({insideDestination:ve,inHomeList:yn,displacedBy:st,destination:_e});var dn=mr(se,ve),mn=ve.indexOf(vn),On=dn.slice(mn),fr=Sa({afterDragging:On,destination:_e,displacedBy:st,last:pt,viewport:it.frame,forceShouldAnimate:en});return{displaced:fr,displacedBy:st,at:{type:"REORDER",destination:{droppableId:_e.descriptor.id,index:xt}}}}function ea(ae,se){return!!se.effected[ae]}var ka=function(ae){var se=ae.isMovingForward,ve=ae.destination,_e=ae.draggables,it=ae.combine,st=ae.afterCritical;if(!ve.isCombineEnabled)return null;var pt=it.draggableId,xt=_e[pt],en=xt.descriptor.index,yn=ea(pt,st);return yn?se?en:en-1:se?en+1:en},za=function(ae){var se=ae.isMovingForward,ve=ae.isInHomeList,_e=ae.insideDestination,it=ae.location;if(!_e.length)return null;var st=it.index,pt=se?st+1:st-1,xt=_e[0].descriptor.index,en=_e[_e.length-1].descriptor.index,yn=ve?en:en+1;return pt<xt||pt>yn?null:pt},sn=function(ae){var se=ae.isMovingForward,ve=ae.isInHomeList,_e=ae.draggable,it=ae.draggables,st=ae.destination,pt=ae.insideDestination,xt=ae.previousImpact,en=ae.viewport,yn=ae.afterCritical,vn=xt.at;if(vn||on(!1),vn.type==="REORDER"){var dn=za({isMovingForward:se,isInHomeList:ve,location:vn.destination,insideDestination:pt});return dn==null?null:Wr({draggable:_e,insideDestination:pt,destination:st,viewport:en,last:xt.displaced,displacedBy:xt.displacedBy,index:dn})}var mn=ka({isMovingForward:se,destination:st,displaced:xt.displaced,draggables:it,combine:vn.combine,afterCritical:yn});return mn==null?null:Wr({draggable:_e,insideDestination:pt,destination:st,viewport:en,last:xt.displaced,displacedBy:xt.displacedBy,index:mn})},Ba=function(ae){var se=ae.displaced,ve=ae.afterCritical,_e=ae.combineWith,it=ae.displacedBy,st=!!(se.visible[_e]||se.invisible[_e]);return ea(_e,ve)?st?_t:ha(it.point):st?it.point:_t},li=function(ae){var se=ae.afterCritical,ve=ae.impact,_e=ae.draggables,it=vr(ve);it||on(!1);var st=it.draggableId,pt=_e[st].page.borderBox.center,xt=Ba({displaced:ve.displaced,afterCritical:se,combineWith:st,displacedBy:ve.displacedBy});return Rr(pt,xt)},Ui=function(se,ve){return ve.margin[se.start]+ve.borderBox[se.size]/2},Wi=function(se,ve){return ve.margin[se.end]+ve.borderBox[se.size]/2},So=function(se,ve,_e){return ve[se.crossAxisStart]+_e.margin[se.crossAxisStart]+_e.borderBox[se.crossAxisSize]/2},eo=function(se){var ve=se.axis,_e=se.moveRelativeTo,it=se.isMoving;return ma(ve.line,_e.marginBox[ve.end]+Ui(ve,it),So(ve,_e.marginBox,it))},gi=function(se){var ve=se.axis,_e=se.moveRelativeTo,it=se.isMoving;return ma(ve.line,_e.marginBox[ve.start]-Wi(ve,it),So(ve,_e.marginBox,it))},fi=function(se){var ve=se.axis,_e=se.moveInto,it=se.isMoving;return ma(ve.line,_e.contentBox[ve.start]+Ui(ve,it),So(ve,_e.contentBox,it))},pi=function(ae){var se=ae.impact,ve=ae.draggable,_e=ae.draggables,it=ae.droppable,st=ae.afterCritical,pt=Qn(it.descriptor.id,_e),xt=ve.page,en=it.axis;if(!pt.length)return fi({axis:en,moveInto:it.page,isMoving:xt});var yn=se.displaced,vn=se.displacedBy,dn=yn.all[0];if(dn){var mn=_e[dn];if(ea(dn,st))return gi({axis:en,moveRelativeTo:mn.page,isMoving:xt});var On=zn(mn.page,vn.point);return gi({axis:en,moveRelativeTo:On,isMoving:xt})}var fr=pt[pt.length-1];if(fr.descriptor.id===ve.descriptor.id)return xt.borderBox.center;if(ea(fr.descriptor.id,st)){var zr=zn(fr.page,ha(st.displacedBy.point));return eo({axis:en,moveRelativeTo:zr,isMoving:xt})}return eo({axis:en,moveRelativeTo:fr.page,isMoving:xt})},Hi=function(ae,se){var ve=ae.frame;return ve?Rr(se,ve.scroll.diff.displacement):se},vi=function(se){var ve=se.impact,_e=se.draggable,it=se.droppable,st=se.draggables,pt=se.afterCritical,xt=_e.page.borderBox.center,en=ve.at;return!it||!en?xt:en.type==="REORDER"?pi({impact:ve,draggable:_e,draggables:st,droppable:it,afterCritical:pt}):li({impact:ve,draggables:st,afterCritical:pt})},bi=function(ae){var se=vi(ae),ve=ae.droppable,_e=ve?Hi(ve,se):se;return _e},yi=function(ae,se){var ve=Kr(se,ae.scroll.initial),_e=ha(ve),it=Et({top:se.y,bottom:se.y+ae.frame.height,left:se.x,right:se.x+ae.frame.width}),st={frame:it,scroll:{initial:ae.scroll.initial,max:ae.scroll.max,current:se,diff:{value:ve,displacement:_e}}};return st};function ca(ae,se){return ae.map(function(ve){return se[ve]})}function _a(ae,se){for(var ve=0;ve<se.length;ve++){var _e=se[ve].visible[ae];if(_e)return _e}return null}var Ma=function(ae){var se=ae.impact,ve=ae.viewport,_e=ae.destination,it=ae.draggables,st=ae.maxScrollChange,pt=yi(ve,Rr(ve.scroll.current,st)),xt=_e.frame?Zr(_e,Rr(_e.frame.scroll.current,st)):_e,en=se.displaced,yn=Sa({afterDragging:ca(en.all,it),destination:_e,displacedBy:se.displacedBy,viewport:pt.frame,last:en,forceShouldAnimate:!1}),vn=Sa({afterDragging:ca(en.all,it),destination:xt,displacedBy:se.displacedBy,viewport:ve.frame,last:en,forceShouldAnimate:!1}),dn={},mn={},On=[en,yn,vn];en.all.forEach(function(zr){var Jr=_a(zr,On);if(Jr){mn[zr]=Jr;return}dn[zr]=!0});var fr=(0,le.Z)({},se,{displaced:{all:en.all,invisible:dn,visible:mn}});return fr},Da=function(ae,se){return Rr(ae.scroll.diff.displacement,se)},Ja=function(ae){var se=ae.pageBorderBoxCenter,ve=ae.draggable,_e=ae.viewport,it=Da(_e,se),st=Kr(it,ve.page.borderBox.center);return Rr(ve.client.borderBox.center,st)},ui=function(ae){var se=ae.draggable,ve=ae.destination,_e=ae.newPageBorderBoxCenter,it=ae.viewport,st=ae.withDroppableDisplacement,pt=ae.onlyOnMainAxis,xt=pt===void 0?!1:pt,en=Kr(_e,se.page.borderBox.center),yn=xa(se.page.borderBox,en),vn={target:yn,destination:ve,withDroppableDisplacement:st,viewport:it};return xt?sa(vn):jr(vn)},Ki=function(ae){var se=ae.isMovingForward,ve=ae.draggable,_e=ae.destination,it=ae.draggables,st=ae.previousImpact,pt=ae.viewport,xt=ae.previousPageBorderBoxCenter,en=ae.previousClientSelection,yn=ae.afterCritical;if(!_e.isEnabled)return null;var vn=Qn(_e.descriptor.id,it),dn=Rn(ve,_e),mn=pr({isMovingForward:se,draggable:ve,destination:_e,insideDestination:vn,previousImpact:st})||sn({isMovingForward:se,isInHomeList:dn,draggable:ve,draggables:it,destination:_e,insideDestination:vn,previousImpact:st,viewport:pt,afterCritical:yn});if(!mn)return null;var On=bi({impact:mn,draggable:ve,droppable:_e,draggables:it,afterCritical:yn}),fr=ui({draggable:ve,destination:_e,newPageBorderBoxCenter:On,viewport:pt.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(fr){var zr=Ja({pageBorderBoxCenter:On,draggable:ve,viewport:pt});return{clientSelection:zr,impact:mn,scrollJumpRequest:null}}var Jr=Kr(On,xt),ta=Ma({impact:mn,viewport:pt,destination:_e,draggables:it,maxScrollChange:Jr});return{clientSelection:en,impact:ta,scrollJumpRequest:Jr}},ri=function(se){var ve=se.subject.active;return ve||on(!1),ve},Oi=function(ae){var se=ae.isMovingForward,ve=ae.pageBorderBoxCenter,_e=ae.source,it=ae.droppables,st=ae.viewport,pt=_e.subject.active;if(!pt)return null;var xt=_e.axis,en=Wt(pt[xt.start],pt[xt.end]),yn=Dn(it).filter(function(dn){return dn!==_e}).filter(function(dn){return dn.isEnabled}).filter(function(dn){return!!dn.subject.active}).filter(function(dn){return Ht(st.frame)(ri(dn))}).filter(function(dn){var mn=ri(dn);return se?pt[xt.crossAxisEnd]<mn[xt.crossAxisEnd]:mn[xt.crossAxisStart]<pt[xt.crossAxisStart]}).filter(function(dn){var mn=ri(dn),On=Wt(mn[xt.start],mn[xt.end]);return en(mn[xt.start])||en(mn[xt.end])||On(pt[xt.start])||On(pt[xt.end])}).sort(function(dn,mn){var On=ri(dn)[xt.crossAxisStart],fr=ri(mn)[xt.crossAxisStart];return se?On-fr:fr-On}).filter(function(dn,mn,On){return ri(dn)[xt.crossAxisStart]===ri(On[0])[xt.crossAxisStart]});if(!yn.length)return null;if(yn.length===1)return yn[0];var vn=yn.filter(function(dn){var mn=Wt(ri(dn)[xt.start],ri(dn)[xt.end]);return mn(ve[xt.line])});return vn.length===1?vn[0]:vn.length>1?vn.sort(function(dn,mn){return ri(dn)[xt.start]-ri(mn)[xt.start]})[0]:yn.sort(function(dn,mn){var On=$r(ve,ga(ri(dn))),fr=$r(ve,ga(ri(mn)));return On!==fr?On-fr:ri(dn)[xt.start]-ri(mn)[xt.start]})[0]},Ga=function(se,ve){var _e=se.page.borderBox.center;return ea(se.descriptor.id,ve)?Kr(_e,ve.displacedBy.point):_e},ai=function(se,ve){var _e=se.page.borderBox;return ea(se.descriptor.id,ve)?xa(_e,ha(ve.displacedBy.point)):_e},uo=function(ae){var se=ae.pageBorderBoxCenter,ve=ae.viewport,_e=ae.destination,it=ae.insideDestination,st=ae.afterCritical,pt=it.filter(function(xt){return jr({target:ai(xt,st),destination:_e,viewport:ve.frame,withDroppableDisplacement:!0})}).sort(function(xt,en){var yn=la(se,Hi(_e,Ga(xt,st))),vn=la(se,Hi(_e,Ga(en,st)));return yn<vn?-1:vn<yn?1:xt.descriptor.index-en.descriptor.index});return pt[0]||null},ti=In(function(se,ve){var _e=ve[se.line];return{value:_e,point:ma(se.line,_e)}}),ao=function(se,ve,_e){var it=se.axis;if(se.descriptor.mode==="virtual")return ma(it.line,ve[it.line]);var st=se.subject.page.contentBox[it.size],pt=Qn(se.descriptor.id,_e),xt=pt.reduce(function(vn,dn){return vn+dn.client.marginBox[it.size]},0),en=xt+ve[it.line],yn=en-st;return yn<=0?null:ma(it.line,yn)},co=function(se,ve){return(0,le.Z)({},se,{scroll:(0,le.Z)({},se.scroll,{max:ve})})},to=function(se,ve,_e){var it=se.frame;Rn(ve,se)&&on(!1),se.subject.withPlaceholder&&on(!1);var st=ti(se.axis,ve.displaceBy).point,pt=ao(se,st,_e),xt={placeholderSize:st,increasedBy:pt,oldFrameMaxScroll:se.frame?se.frame.scroll.max:null};if(!it){var en=_r({page:se.subject.page,withPlaceholder:xt,axis:se.axis,frame:se.frame});return(0,le.Z)({},se,{subject:en})}var yn=pt?Rr(it.scroll.max,pt):it.scroll.max,vn=co(it,yn),dn=_r({page:se.subject.page,withPlaceholder:xt,axis:se.axis,frame:vn});return(0,le.Z)({},se,{subject:dn,frame:vn})},Ii=function(se){var ve=se.subject.withPlaceholder;ve||on(!1);var _e=se.frame;if(!_e){var it=_r({page:se.subject.page,axis:se.axis,frame:null,withPlaceholder:null});return(0,le.Z)({},se,{subject:it})}var st=ve.oldFrameMaxScroll;st||on(!1);var pt=co(_e,st),xt=_r({page:se.subject.page,axis:se.axis,frame:pt,withPlaceholder:null});return(0,le.Z)({},se,{subject:xt,frame:pt})},Ko=function(ae){var se=ae.previousPageBorderBoxCenter,ve=ae.moveRelativeTo,_e=ae.insideDestination,it=ae.draggable,st=ae.draggables,pt=ae.destination,xt=ae.viewport,en=ae.afterCritical;if(!ve){if(_e.length)return null;var yn={displaced:Tt,displacedBy:Ge,at:{type:"REORDER",destination:{droppableId:pt.descriptor.id,index:0}}},vn=bi({impact:yn,draggable:it,droppable:pt,draggables:st,afterCritical:en}),dn=Rn(it,pt)?pt:to(pt,it,st),mn=ui({draggable:it,destination:dn,newPageBorderBoxCenter:vn,viewport:xt.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return mn?yn:null}var On=se[pt.axis.line]<=ve.page.borderBox.center[pt.axis.line],fr=function(){var Jr=ve.descriptor.index;return ve.descriptor.id===it.descriptor.id||On?Jr:Jr+1}(),zr=ti(pt.axis,it.displaceBy);return Wr({draggable:it,insideDestination:_e,destination:pt,viewport:xt,displacedBy:zr,last:Tt,index:fr})},Us=function(ae){var se=ae.isMovingForward,ve=ae.previousPageBorderBoxCenter,_e=ae.draggable,it=ae.isOver,st=ae.draggables,pt=ae.droppables,xt=ae.viewport,en=ae.afterCritical,yn=Oi({isMovingForward:se,pageBorderBoxCenter:ve,source:it,droppables:pt,viewport:xt});if(!yn)return null;var vn=Qn(yn.descriptor.id,st),dn=uo({pageBorderBoxCenter:ve,viewport:xt,destination:yn,insideDestination:vn,afterCritical:en}),mn=Ko({previousPageBorderBoxCenter:ve,destination:yn,draggable:_e,draggables:st,moveRelativeTo:dn,insideDestination:vn,viewport:xt,afterCritical:en});if(!mn)return null;var On=bi({impact:mn,draggable:_e,droppable:yn,draggables:st,afterCritical:en}),fr=Ja({pageBorderBoxCenter:On,draggable:_e,viewport:xt});return{clientSelection:fr,impact:mn,scrollJumpRequest:null}},Ni=function(ae){var se=ae.at;return se?se.type==="REORDER"?se.destination.droppableId:se.combine.droppableId:null},Lo=function(se,ve){var _e=Ni(se);return _e?ve[_e]:null},go=function(ae){var se=ae.state,ve=ae.type,_e=Lo(se.impact,se.dimensions.droppables),it=!!_e,st=se.dimensions.droppables[se.critical.droppable.id],pt=_e||st,xt=pt.axis.direction,en=xt==="vertical"&&(ve==="MOVE_UP"||ve==="MOVE_DOWN")||xt==="horizontal"&&(ve==="MOVE_LEFT"||ve==="MOVE_RIGHT");if(en&&!it)return null;var yn=ve==="MOVE_DOWN"||ve==="MOVE_RIGHT",vn=se.dimensions.draggables[se.critical.draggable.id],dn=se.current.page.borderBoxCenter,mn=se.dimensions,On=mn.draggables,fr=mn.droppables;return en?Ki({isMovingForward:yn,previousPageBorderBoxCenter:dn,draggable:vn,destination:pt,draggables:On,viewport:se.viewport,previousClientSelection:se.current.client.selection,previousImpact:se.impact,afterCritical:se.afterCritical}):Us({isMovingForward:yn,previousPageBorderBoxCenter:dn,draggable:vn,isOver:pt,draggables:On,droppables:fr,viewport:se.viewport,afterCritical:se.afterCritical})};function vo(ae){return ae.phase==="DRAGGING"||ae.phase==="COLLECTING"}function Hs(ae){var se=Wt(ae.top,ae.bottom),ve=Wt(ae.left,ae.right);return function(it){return se(it.y)&&ve(it.x)}}function Xs(ae,se){return ae.left<se.right&&ae.right>se.left&&ae.top<se.bottom&&ae.bottom>se.top}function Qs(ae){var se=ae.pageBorderBox,ve=ae.draggable,_e=ae.candidates,it=ve.page.borderBox.center,st=_e.map(function(pt){var xt=pt.axis,en=ma(pt.axis.line,se.center[xt.line],pt.page.borderBox.center[xt.crossAxisLine]);return{id:pt.descriptor.id,distance:la(it,en)}}).sort(function(pt,xt){return xt.distance-pt.distance});return st[0]?st[0].id:null}function ws(ae){var se=ae.pageBorderBox,ve=ae.draggable,_e=ae.droppables,it=Dn(_e).filter(function(st){if(!st.isEnabled)return!1;var pt=st.subject.active;if(!pt||!Xs(se,pt))return!1;if(Hs(pt)(se.center))return!0;var xt=st.axis,en=pt.center[xt.crossAxisLine],yn=se[xt.crossAxisStart],vn=se[xt.crossAxisEnd],dn=Wt(pt[xt.crossAxisStart],pt[xt.crossAxisEnd]),mn=dn(yn),On=dn(vn);return!mn&&!On?!0:mn?yn<en:vn>en});return it.length?it.length===1?it[0].descriptor.id:Qs({pageBorderBox:se,draggable:ve,candidates:it}):null}var Is=function(se,ve){return Et(xa(se,ve))},Ns=function(ae,se){var ve=ae.frame;return ve?Is(se,ve.scroll.diff.value):se};function hs(ae){var se=ae.displaced,ve=ae.id;return!!(se.visible[ve]||se.invisible[ve])}function ks(ae){var se=ae.draggable,ve=ae.closest,_e=ae.inHomeList;return ve?_e&&ve.descriptor.index>se.descriptor.index?ve.descriptor.index-1:ve.descriptor.index:null}var Js=function(ae){var se=ae.pageBorderBoxWithDroppableScroll,ve=ae.draggable,_e=ae.destination,it=ae.insideDestination,st=ae.last,pt=ae.viewport,xt=ae.afterCritical,en=_e.axis,yn=ti(_e.axis,ve.displaceBy),vn=yn.value,dn=se[en.start],mn=se[en.end],On=mr(ve,it),fr=Ra(On,function(Jr){var ta=Jr.descriptor.id,fa=Jr.page.borderBox.center[en.line],Ta=ea(ta,xt),Fa=hs({displaced:st,id:ta});return Ta?Fa?mn<=fa:dn<fa-vn:Fa?mn<=fa+vn:dn<fa}),zr=ks({draggable:ve,closest:fr,inHomeList:Rn(ve,_e)});return Wr({draggable:ve,insideDestination:it,destination:_e,viewport:pt,last:st,displacedBy:yn,index:zr})},Rs=4,Es=function(ae){var se=ae.draggable,ve=ae.pageBorderBoxWithDroppableScroll,_e=ae.previousImpact,it=ae.destination,st=ae.insideDestination,pt=ae.afterCritical;if(!it.isCombineEnabled)return null;var xt=it.axis,en=ti(it.axis,se.displaceBy),yn=en.value,vn=ve[xt.start],dn=ve[xt.end],mn=mr(se,st),On=Ra(mn,function(zr){var Jr=zr.descriptor.id,ta=zr.page.borderBox,fa=ta[xt.size],Ta=fa/Rs,Fa=ea(Jr,pt),oi=hs({displaced:_e.displaced,id:Jr});return Fa?oi?dn>ta[xt.start]+Ta&&dn<ta[xt.end]-Ta:vn>ta[xt.start]-yn+Ta&&vn<ta[xt.end]-yn-Ta:oi?dn>ta[xt.start]+yn+Ta&&dn<ta[xt.end]+yn-Ta:vn>ta[xt.start]+Ta&&vn<ta[xt.end]-Ta});if(!On)return null;var fr={displacedBy:en,displaced:_e.displaced,at:{type:"COMBINE",combine:{draggableId:On.descriptor.id,droppableId:it.descriptor.id}}};return fr},ms=function(ae){var se=ae.pageOffset,ve=ae.draggable,_e=ae.draggables,it=ae.droppables,st=ae.previousImpact,pt=ae.viewport,xt=ae.afterCritical,en=Is(ve.page.borderBox,se),yn=ws({pageBorderBox:en,draggable:ve,droppables:it});if(!yn)return It;var vn=it[yn],dn=Qn(vn.descriptor.id,_e),mn=Ns(vn,en);return Es({pageBorderBoxWithDroppableScroll:mn,draggable:ve,previousImpact:st,destination:vn,insideDestination:dn,afterCritical:xt})||Js({pageBorderBoxWithDroppableScroll:mn,draggable:ve,destination:vn,insideDestination:dn,last:st.displaced,viewport:pt,afterCritical:xt})},Qi=function(ae,se){var ve;return(0,le.Z)({},ae,(ve={},ve[se.descriptor.id]=se,ve))},Fi=function(se){var ve=se.previousImpact,_e=se.impact,it=se.droppables,st=Ni(ve),pt=Ni(_e);if(!st||st===pt)return it;var xt=it[st];if(!xt.subject.withPlaceholder)return it;var en=Ii(xt);return Qi(it,en)},ei=function(ae){var se=ae.draggable,ve=ae.draggables,_e=ae.droppables,it=ae.previousImpact,st=ae.impact,pt=Fi({previousImpact:it,impact:st,droppables:_e}),xt=Ni(st);if(!xt)return pt;var en=_e[xt];if(Rn(se,en)||en.subject.withPlaceholder)return pt;var yn=to(en,se,ve);return Qi(pt,yn)},Ha=function(ae){var se=ae.state,ve=ae.clientSelection,_e=ae.dimensions,it=ae.viewport,st=ae.impact,pt=ae.scrollJumpRequest,xt=it||se.viewport,en=_e||se.dimensions,yn=ve||se.current.client.selection,vn=Kr(yn,se.initial.client.selection),dn={offset:vn,selection:yn,borderBoxCenter:Rr(se.initial.client.borderBoxCenter,vn)},mn={selection:Rr(dn.selection,xt.scroll.current),borderBoxCenter:Rr(dn.borderBoxCenter,xt.scroll.current),offset:Rr(dn.offset,xt.scroll.diff.value)},On={client:dn,page:mn};if(se.phase==="COLLECTING")return(0,le.Z)({phase:"COLLECTING"},se,{dimensions:en,viewport:xt,current:On});var fr=en.draggables[se.critical.draggable.id],zr=st||ms({pageOffset:mn.offset,draggable:fr,draggables:en.draggables,droppables:en.droppables,previousImpact:se.impact,viewport:xt,afterCritical:se.afterCritical}),Jr=ei({draggable:fr,impact:zr,previousImpact:se.impact,draggables:en.draggables,droppables:en.droppables}),ta=(0,le.Z)({},se,{current:On,dimensions:{draggables:en.draggables,droppables:Jr},impact:zr,viewport:xt,scrollJumpRequest:pt||null,forceShouldAnimate:pt?!1:null});return ta};function Pi(ae,se){return ae.map(function(ve){return se[ve]})}var Li=function(ae){var se=ae.impact,ve=ae.viewport,_e=ae.draggables,it=ae.destination,st=ae.forceShouldAnimate,pt=se.displaced,xt=Pi(pt.all,_e),en=Sa({afterDragging:xt,destination:it,displacedBy:se.displacedBy,viewport:ve.frame,forceShouldAnimate:st,last:pt});return(0,le.Z)({},se,{displaced:en})},Mi=function(ae){var se=ae.impact,ve=ae.draggable,_e=ae.droppable,it=ae.draggables,st=ae.viewport,pt=ae.afterCritical,xt=bi({impact:se,draggable:ve,draggables:it,droppable:_e,afterCritical:pt});return Ja({pageBorderBoxCenter:xt,draggable:ve,viewport:st})},Zi=function(ae){var se=ae.state,ve=ae.dimensions,_e=ae.viewport;se.movementMode!=="SNAP"&&on(!1);var it=se.impact,st=_e||se.viewport,pt=ve||se.dimensions,xt=pt.draggables,en=pt.droppables,yn=xt[se.critical.draggable.id],vn=Ni(it);vn||on(!1);var dn=en[vn],mn=Li({impact:it,viewport:st,destination:dn,draggables:xt}),On=Mi({impact:mn,draggable:yn,droppable:dn,draggables:xt,viewport:st,afterCritical:se.afterCritical});return Ha({impact:mn,clientSelection:On,state:se,dimensions:pt,viewport:st})},Zo=function(ae){return{index:ae.index,droppableId:ae.droppableId}},Co=function(ae){var se=ae.draggable,ve=ae.home,_e=ae.draggables,it=ae.viewport,st=ti(ve.axis,se.displaceBy),pt=Qn(ve.descriptor.id,_e),xt=pt.indexOf(se);xt===-1&&on(!1);var en=pt.slice(xt+1),yn=en.reduce(function(On,fr){return On[fr.descriptor.id]=!0,On},{}),vn={inVirtualList:ve.descriptor.mode==="virtual",displacedBy:st,effected:yn},dn=Sa({afterDragging:en,destination:ve,displacedBy:st,last:null,viewport:it.frame,forceShouldAnimate:!1}),mn={displaced:dn,displacedBy:st,at:{type:"REORDER",destination:Zo(se.descriptor)}};return{impact:mn,afterCritical:vn}},ts=function(ae,se){return{draggables:ae.draggables,droppables:Qi(ae.droppables,se)}},Si=function(se){},Bi=function(se){},xo=function(ae){var se=ae.draggable,ve=ae.offset,_e=ae.initialWindowScroll,it=zn(se.client,ve),st=cr(it,_e),pt=(0,le.Z)({},se,{placeholder:(0,le.Z)({},se.placeholder,{client:it}),client:it,page:st});return pt},_o=function(ae){var se=ae.frame;return se||on(!1),se},zs=function(ae){var se=ae.additions,ve=ae.updatedDroppables,_e=ae.viewport,it=_e.scroll.diff.value;return se.map(function(st){var pt=st.descriptor.droppableId,xt=ve[pt],en=_o(xt),yn=en.scroll.diff.value,vn=Rr(it,yn),dn=xo({draggable:st,offset:vn,initialWindowScroll:_e.scroll.initial});return dn})},rl=function(ae){var se=ae.state,ve=ae.published;Si();var _e=ve.modified.map(function(Ta){var Fa=se.dimensions.droppables[Ta.droppableId],oi=Zr(Fa,Ta.scroll);return oi}),it=(0,le.Z)({},se.dimensions.droppables,{},qt(_e)),st=Bn(zs({additions:ve.additions,updatedDroppables:it,viewport:se.viewport})),pt=(0,le.Z)({},se.dimensions.draggables,{},st);ve.removals.forEach(function(Ta){delete pt[Ta]});var xt={droppables:it,draggables:pt},en=Ni(se.impact),yn=en?xt.droppables[en]:null,vn=xt.draggables[se.critical.draggable.id],dn=xt.droppables[se.critical.droppable.id],mn=Co({draggable:vn,home:dn,draggables:pt,viewport:se.viewport}),On=mn.impact,fr=mn.afterCritical,zr=yn&&yn.isCombineEnabled?se.impact:On,Jr=ms({pageOffset:se.current.page.offset,draggable:xt.draggables[se.critical.draggable.id],draggables:xt.draggables,droppables:xt.droppables,previousImpact:zr,viewport:se.viewport,afterCritical:fr});Bi();var ta=(0,le.Z)({phase:"DRAGGING"},se,{phase:"DRAGGING",impact:Jr,onLiftImpact:On,dimensions:xt,afterCritical:fr,forceShouldAnimate:!1});if(se.phase==="COLLECTING")return ta;var fa=(0,le.Z)({phase:"DROP_PENDING"},ta,{phase:"DROP_PENDING",reason:se.reason,isWaiting:!1});return fa},Gs=function(se){return se.movementMode==="SNAP"},Ao=function(se,ve,_e){var it=ts(se.dimensions,ve);return!Gs(se)||_e?Ha({state:se,dimensions:it}):Zi({state:se,dimensions:it})};function Fo(ae){return ae.isDragging&&ae.movementMode==="SNAP"?(0,le.Z)({phase:"DRAGGING"},ae,{scrollJumpRequest:null}):ae}var hi={phase:"IDLE",completed:null,shouldFlush:!1},jo=function(ae,se){if(ae===void 0&&(ae=hi),se.type==="FLUSH")return(0,le.Z)({},hi,{shouldFlush:!0});if(se.type==="INITIAL_PUBLISH"){ae.phase!=="IDLE"&&on(!1);var ve=se.payload,_e=ve.critical,it=ve.clientSelection,st=ve.viewport,pt=ve.dimensions,xt=ve.movementMode,en=pt.draggables[_e.draggable.id],yn=pt.droppables[_e.droppable.id],vn={selection:it,borderBoxCenter:en.client.borderBox.center,offset:_t},dn={client:vn,page:{selection:Rr(vn.selection,st.scroll.initial),borderBoxCenter:Rr(vn.selection,st.scroll.initial),offset:Rr(vn.selection,st.scroll.diff.value)}},mn=Dn(pt.droppables).every(function(fc){return!fc.isFixedOnPage}),On=Co({draggable:en,home:yn,draggables:pt.draggables,viewport:st}),fr=On.impact,zr=On.afterCritical,Jr={phase:"DRAGGING",isDragging:!0,critical:_e,movementMode:xt,dimensions:pt,initial:dn,current:dn,isWindowScrollAllowed:mn,impact:fr,afterCritical:zr,onLiftImpact:fr,viewport:st,scrollJumpRequest:null,forceShouldAnimate:null};return Jr}if(se.type==="COLLECTION_STARTING"){if(ae.phase==="COLLECTING"||ae.phase==="DROP_PENDING")return ae;ae.phase!=="DRAGGING"&&on(!1);var ta=(0,le.Z)({phase:"COLLECTING"},ae,{phase:"COLLECTING"});return ta}if(se.type==="PUBLISH_WHILE_DRAGGING")return ae.phase==="COLLECTING"||ae.phase==="DROP_PENDING"||on(!1),rl({state:ae,published:se.payload});if(se.type==="MOVE"){if(ae.phase==="DROP_PENDING")return ae;vo(ae)||on(!1);var fa=se.payload.client;return qr(fa,ae.current.client.selection)?ae:Ha({state:ae,clientSelection:fa,impact:Gs(ae)?ae.impact:null})}if(se.type==="UPDATE_DROPPABLE_SCROLL"){if(ae.phase==="DROP_PENDING"||ae.phase==="COLLECTING")return Fo(ae);vo(ae)||on(!1);var Ta=se.payload,Fa=Ta.id,oi=Ta.newScroll,ni=ae.dimensions.droppables[Fa];if(!ni)return ae;var Ei=Zr(ni,oi);return Ao(ae,Ei,!1)}if(se.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(ae.phase==="DROP_PENDING")return ae;vo(ae)||on(!1);var ho=se.payload,xi=ho.id,mo=ho.isEnabled,es=ae.dimensions.droppables[xi];es||on(!1),es.isEnabled===mo&&on(!1);var fs=(0,le.Z)({},es,{isEnabled:mo});return Ao(ae,fs,!0)}if(se.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(ae.phase==="DROP_PENDING")return ae;vo(ae)||on(!1);var Cl=se.payload,dl=Cl.id,Ys=Cl.isCombineEnabled,xl=ae.dimensions.droppables[dl];xl||on(!1),xl.isCombineEnabled===Ys&&on(!1);var ps=(0,le.Z)({},xl,{isCombineEnabled:Ys});return Ao(ae,ps,!0)}if(se.type==="MOVE_BY_WINDOW_SCROLL"){if(ae.phase==="DROP_PENDING"||ae.phase==="DROP_ANIMATING")return ae;vo(ae)||on(!1),ae.isWindowScrollAllowed||on(!1);var zl=se.payload.newScroll;if(qr(ae.viewport.scroll.current,zl))return Fo(ae);var Al=yi(ae.viewport,zl);return Gs(ae)?Zi({state:ae,viewport:Al}):Ha({state:ae,viewport:Al})}if(se.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!vo(ae))return ae;var _u=se.payload.maxScroll;if(qr(_u,ae.viewport.scroll.max))return ae;var iu=(0,le.Z)({},ae.viewport,{scroll:(0,le.Z)({},ae.viewport.scroll,{max:_u})});return(0,le.Z)({phase:"DRAGGING"},ae,{viewport:iu})}if(se.type==="MOVE_UP"||se.type==="MOVE_DOWN"||se.type==="MOVE_LEFT"||se.type==="MOVE_RIGHT"){if(ae.phase==="COLLECTING"||ae.phase==="DROP_PENDING")return ae;ae.phase!=="DRAGGING"&&on(!1);var Gl=go({state:ae,type:se.type});return Gl?Ha({state:ae,impact:Gl.impact,clientSelection:Gl.clientSelection,scrollJumpRequest:Gl.scrollJumpRequest}):ae}if(se.type==="DROP_PENDING"){var Tl=se.payload.reason;ae.phase!=="COLLECTING"&&on(!1);var ou=(0,le.Z)({phase:"DROP_PENDING"},ae,{phase:"DROP_PENDING",isWaiting:!0,reason:Tl});return ou}if(se.type==="DROP_ANIMATE"){var uc=se.payload,wl=uc.completed,Fu=uc.dropDuration,cc=uc.newHomeClientOffset;ae.phase==="DRAGGING"||ae.phase==="DROP_PENDING"||on(!1);var Eu={phase:"DROP_ANIMATING",completed:wl,dropDuration:Fu,newHomeClientOffset:cc,dimensions:ae.dimensions};return Eu}if(se.type==="DROP_COMPLETE"){var dc=se.payload.completed;return{phase:"IDLE",completed:dc,shouldFlush:!1}}return ae},To=function(se){return{type:"BEFORE_INITIAL_CAPTURE",payload:se}},qs=function(se){return{type:"LIFT",payload:se}},fl=function(se){return{type:"INITIAL_PUBLISH",payload:se}},pl=function(se){return{type:"PUBLISH_WHILE_DRAGGING",payload:se}},ys=function(){return{type:"COLLECTION_STARTING",payload:null}},al=function(se){return{type:"UPDATE_DROPPABLE_SCROLL",payload:se}},il=function(se){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:se}},gs=function(se){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:se}},Ws=function(se){return{type:"MOVE",payload:se}},Ds=function(se){return{type:"MOVE_BY_WINDOW_SCROLL",payload:se}},Os=function(se){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:se}},$s=function(){return{type:"MOVE_UP",payload:null}},Po=function(){return{type:"MOVE_DOWN",payload:null}},Ls=function(){return{type:"MOVE_RIGHT",payload:null}},_s=function(){return{type:"MOVE_LEFT",payload:null}},Zs=function(){return{type:"FLUSH",payload:null}},Ss=function(se){return{type:"DROP_ANIMATE",payload:se}},js=function(se){return{type:"DROP_COMPLETE",payload:se}},el=function(se){return{type:"DROP",payload:se}},Fs=function(se){return{type:"DROP_PENDING",payload:se}},Vs=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function ol(ae){if(!(ae.length<=1)){for(var se=ae.map(function(xt){return xt.descriptor.index}),ve={},_e=1;_e<se.length;_e++){var it=se[_e],st=se[_e-1];it!==st+1&&(ve[it]=!0)}if(Object.keys(ve).length)var pt=se.map(function(xt){var en=!!ve[xt];return en?"[\u{1F525}"+xt+"]":""+xt}).join(", ")}}function ns(ae,se){if(0)var ve}var Yo=function(ae){return function(se){var ve=se.getState,_e=se.dispatch;return function(it){return function(st){if(st.type!=="LIFT"){it(st);return}var pt=st.payload,xt=pt.id,en=pt.clientSelection,yn=pt.movementMode,vn=ve();vn.phase==="DROP_ANIMATING"&&_e(js({completed:vn.completed})),ve().phase!=="IDLE"&&on(!1),_e(Zs()),_e(To({draggableId:xt,movementMode:yn}));var dn={shouldPublishImmediately:yn==="SNAP"},mn={draggableId:xt,scrollOptions:dn},On=ae.startPublishing(mn),fr=On.critical,zr=On.dimensions,Jr=On.viewport;ns(fr,zr),_e(fl({critical:fr,dimensions:zr,clientSelection:en,movementMode:yn,viewport:Jr}))}}}},Ps=function(ae){return function(){return function(se){return function(ve){ve.type==="INITIAL_PUBLISH"&&ae.dragging(),ve.type==="DROP_ANIMATE"&&ae.dropping(ve.payload.completed.result.reason),(ve.type==="FLUSH"||ve.type==="DROP_COMPLETE")&&ae.resting(),se(ve)}}}},bo={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},rs={opacity:{drop:0,combining:.7},scale:{drop:.75}},Bo={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},fo=Bo.outOfTheWay+"s "+bo.outOfTheWay,wo={fluid:"opacity "+fo,snap:"transform "+fo+", opacity "+fo,drop:function(se){var ve=se+"s "+bo.drop;return"transform "+ve+", opacity "+ve},outOfTheWay:"transform "+fo,placeholder:"height "+fo+", width "+fo+", margin "+fo},Qa=function(se){return qr(se,_t)?null:"translate("+se.x+"px, "+se.y+"px)"},Ya={moveTo:Qa,drop:function(se,ve){var _e=Qa(se);return _e?ve?_e+" scale("+rs.scale.drop+")":_e:null}},_i=Bo.minDropTime,Vi=Bo.maxDropTime,ji=Vi-_i,Io=1500,Mo=.6,Uo=function(ae){var se=ae.current,ve=ae.destination,_e=ae.reason,it=la(se,ve);if(it<=0)return _i;if(it>=Io)return Vi;var st=it/Io,pt=_i+ji*st,xt=_e==="CANCEL"?pt*Mo:pt;return Number(xt.toFixed(2))},No=function(ae){var se=ae.impact,ve=ae.draggable,_e=ae.dimensions,it=ae.viewport,st=ae.afterCritical,pt=_e.draggables,xt=_e.droppables,en=Ni(se),yn=en?xt[en]:null,vn=xt[ve.descriptor.droppableId],dn=Mi({impact:se,draggable:ve,draggables:pt,afterCritical:st,droppable:yn||vn,viewport:it}),mn=Kr(dn,ve.client.borderBox.center);return mn},Xo=function(ae){var se=ae.draggables,ve=ae.reason,_e=ae.lastImpact,it=ae.home,st=ae.viewport,pt=ae.onLiftImpact;if(!_e.at||ve!=="DROP"){var xt=Li({draggables:se,impact:pt,destination:it,viewport:st,forceShouldAnimate:!0});return{impact:xt,didDropInsideDroppable:!1}}if(_e.at.type==="REORDER")return{impact:_e,didDropInsideDroppable:!0};var en=(0,le.Z)({},_e,{displaced:Tt});return{impact:en,didDropInsideDroppable:!0}},hl=function(ae){var se=ae.getState,ve=ae.dispatch;return function(_e){return function(it){if(it.type!=="DROP"){_e(it);return}var st=se(),pt=it.payload.reason;if(st.phase==="COLLECTING"){ve(Fs({reason:pt}));return}if(st.phase!=="IDLE"){var xt=st.phase==="DROP_PENDING"&&st.isWaiting;xt&&on(!1),st.phase==="DRAGGING"||st.phase==="DROP_PENDING"||on(!1);var en=st.critical,yn=st.dimensions,vn=yn.draggables[st.critical.draggable.id],dn=Xo({reason:pt,lastImpact:st.impact,afterCritical:st.afterCritical,onLiftImpact:st.onLiftImpact,home:st.dimensions.droppables[st.critical.droppable.id],viewport:st.viewport,draggables:st.dimensions.draggables}),mn=dn.impact,On=dn.didDropInsideDroppable,fr=On?er(mn):null,zr=On?vr(mn):null,Jr={index:en.draggable.index,droppableId:en.droppable.id},ta={draggableId:vn.descriptor.id,type:vn.descriptor.type,source:Jr,reason:pt,mode:st.movementMode,destination:fr,combine:zr},fa=No({impact:mn,draggable:vn,dimensions:yn,viewport:st.viewport,afterCritical:st.afterCritical}),Ta={critical:st.critical,afterCritical:st.afterCritical,result:ta,impact:mn},Fa=!qr(st.current.client.offset,fa)||!!ta.combine;if(!Fa){ve(js({completed:Ta}));return}var oi=Uo({current:st.current.client.offset,destination:fa,reason:pt}),ni={newHomeClientOffset:fa,dropDuration:oi,completed:Ta};ve(Ss(ni))}}}},Il=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Ol(ae){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(ve){ve.target!==window&&ve.target!==window.document||ae()}}}function Wl(ae){var se=ae.onWindowScroll;function ve(){se(Il())}var _e=gr(ve),it=Ol(_e),st=Ur;function pt(){return st!==Ur}function xt(){pt()&&on(!1),st=Qt(window,[it])}function en(){pt()||on(!1),_e.cancel(),st(),st=Ur}return{start:xt,stop:en,isActive:pt}}var Zl=function(se){return se.type==="DROP_COMPLETE"||se.type==="DROP_ANIMATE"||se.type==="FLUSH"},Ll=function(ae){var se=Wl({onWindowScroll:function(_e){ae.dispatch(Ds({newScroll:_e}))}});return function(ve){return function(_e){!se.isActive()&&_e.type==="INITIAL_PUBLISH"&&se.start(),se.isActive()&&Zl(_e)&&se.stop(),ve(_e)}}},ko=function(ae){var se=!1,ve=!1,_e=setTimeout(function(){ve=!0}),it=function(pt){se||ve||(se=!0,ae(pt),clearTimeout(_e))};return it.wasCalled=function(){return se},it},Ji=function(){var ae=[],se=function(st){var pt=Pa(ae,function(yn){return yn.timerId===st});pt===-1&&on(!1);var xt=ae.splice(pt,1),en=xt[0];en.callback()},ve=function(st){var pt=setTimeout(function(){return se(pt)}),xt={timerId:pt,callback:st};ae.push(xt)},_e=function(){if(ae.length){var st=[].concat(ae);ae.length=0,st.forEach(function(pt){clearTimeout(pt.timerId),pt.callback()})}};return{add:ve,flush:_e}},Eo=function(se,ve){return se==null&&ve==null?!0:se==null||ve==null?!1:se.droppableId===ve.droppableId&&se.index===ve.index},qi=function(se,ve){return se==null&&ve==null?!0:se==null||ve==null?!1:se.draggableId===ve.draggableId&&se.droppableId===ve.droppableId},Ks=function(se,ve){if(se===ve)return!0;var _e=se.draggable.id===ve.draggable.id&&se.draggable.droppableId===ve.draggable.droppableId&&se.draggable.type===ve.draggable.type&&se.draggable.index===ve.draggable.index,it=se.droppable.id===ve.droppable.id&&se.droppable.type===ve.droppable.type;return _e&&it},ml=function(se,ve){Si(),ve(),Bi()},Cs=function(se,ve){return{draggableId:se.draggable.id,type:se.droppable.type,source:{droppableId:se.droppable.id,index:se.draggable.index},mode:ve}},sl=function(se,ve,_e,it){if(!se){_e(it(ve));return}var st=ko(_e),pt={announce:st};se(ve,pt),st.wasCalled()||_e(it(ve))},Nl=function(ae,se){var ve=Ji(),_e=null,it=function(mn,On){_e&&on(!1),ml("onBeforeCapture",function(){var fr=ae().onBeforeCapture;if(fr){var zr={draggableId:mn,mode:On};fr(zr)}})},st=function(mn,On){_e&&on(!1),ml("onBeforeDragStart",function(){var fr=ae().onBeforeDragStart;fr&&fr(Cs(mn,On))})},pt=function(mn,On){_e&&on(!1);var fr=Cs(mn,On);_e={mode:On,lastCritical:mn,lastLocation:fr.source,lastCombine:null},ve.add(function(){ml("onDragStart",function(){return sl(ae().onDragStart,fr,se,Dr.onDragStart)})})},xt=function(mn,On){var fr=er(On),zr=vr(On);_e||on(!1);var Jr=!Ks(mn,_e.lastCritical);Jr&&(_e.lastCritical=mn);var ta=!Eo(_e.lastLocation,fr);ta&&(_e.lastLocation=fr);var fa=!qi(_e.lastCombine,zr);if(fa&&(_e.lastCombine=zr),!(!Jr&&!ta&&!fa)){var Ta=(0,le.Z)({},Cs(mn,_e.mode),{combine:zr,destination:fr});ve.add(function(){ml("onDragUpdate",function(){return sl(ae().onDragUpdate,Ta,se,Dr.onDragUpdate)})})}},en=function(){_e||on(!1),ve.flush()},yn=function(mn){_e||on(!1),_e=null,ml("onDragEnd",function(){return sl(ae().onDragEnd,mn,se,Dr.onDragEnd)})},vn=function(){if(_e){var mn=(0,le.Z)({},Cs(_e.lastCritical,_e.mode),{combine:null,destination:null,reason:"CANCEL"});yn(mn)}};return{beforeCapture:it,beforeStart:st,start:pt,update:xt,flush:en,drop:yn,abort:vn}},jl=function(ae,se){var ve=Nl(ae,se);return function(_e){return function(it){return function(st){if(st.type==="BEFORE_INITIAL_CAPTURE"){ve.beforeCapture(st.payload.draggableId,st.payload.movementMode);return}if(st.type==="INITIAL_PUBLISH"){var pt=st.payload.critical;ve.beforeStart(pt,st.payload.movementMode),it(st),ve.start(pt,st.payload.movementMode);return}if(st.type==="DROP_COMPLETE"){var xt=st.payload.completed.result;ve.flush(),it(st),ve.drop(xt);return}if(it(st),st.type==="FLUSH"){ve.abort();return}var en=_e.getState();en.phase==="DRAGGING"&&ve.update(en.critical,en.impact)}}}},ie=function(ae){return function(se){return function(ve){if(ve.type!=="DROP_ANIMATION_FINISHED"){se(ve);return}var _e=ae.getState();_e.phase!=="DROP_ANIMATING"&&on(!1),ae.dispatch(js({completed:_e.completed}))}}},Ce=function(ae){var se=null,ve=null;function _e(){ve&&(cancelAnimationFrame(ve),ve=null),se&&(se(),se=null)}return function(it){return function(st){if((st.type==="FLUSH"||st.type==="DROP_COMPLETE"||st.type==="DROP_ANIMATION_FINISHED")&&_e(),it(st),st.type==="DROP_ANIMATE"){var pt={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var en=ae.getState();en.phase==="DROP_ANIMATING"&&ae.dispatch(Vs())}};ve=requestAnimationFrame(function(){ve=null,se=Qt(window,[pt])})}}}},Ne=function(ae){return function(){return function(se){return function(ve){(ve.type==="DROP_COMPLETE"||ve.type==="FLUSH"||ve.type==="DROP_ANIMATE")&&ae.stopPublishing(),se(ve)}}}},We=function(ae){var se=!1;return function(){return function(ve){return function(_e){if(_e.type==="INITIAL_PUBLISH"){se=!0,ae.tryRecordFocus(_e.payload.critical.draggable.id),ve(_e),ae.tryRestoreFocusRecorded();return}if(ve(_e),!!se){if(_e.type==="FLUSH"){se=!1,ae.tryRestoreFocusRecorded();return}if(_e.type==="DROP_COMPLETE"){se=!1;var it=_e.payload.completed.result;it.combine&&ae.tryShiftRecord(it.draggableId,it.combine.draggableId),ae.tryRestoreFocusRecorded()}}}}}},dt=function(se){return se.type==="DROP_COMPLETE"||se.type==="DROP_ANIMATE"||se.type==="FLUSH"},ft=function(ae){return function(se){return function(ve){return function(_e){if(dt(_e)){ae.stop(),ve(_e);return}if(_e.type==="INITIAL_PUBLISH"){ve(_e);var it=se.getState();it.phase!=="DRAGGING"&&on(!1),ae.start(it);return}ve(_e),ae.scroll(se.getState())}}}},Dt=function(ae){return function(se){return function(ve){if(se(ve),ve.type==="PUBLISH_WHILE_DRAGGING"){var _e=ae.getState();_e.phase==="DROP_PENDING"&&(_e.isWaiting||ae.dispatch(el({reason:_e.reason})))}}}},Xt=ce.qC,Wn=function(ae){var se=ae.dimensionMarshal,ve=ae.focusMarshal,_e=ae.styleMarshal,it=ae.getResponders,st=ae.announce,pt=ae.autoScroller;return(0,ce.MT)(jo,Xt((0,ce.md)(Ps(_e),Ne(se),Yo(se),hl,ie,Ce,Dt,ft(pt),Ll,We(ve),jl(it,st))))},Un=function(){return{additions:{},removals:{},modified:{}}};function En(ae){var se=ae.registry,ve=ae.callbacks,_e=Un(),it=null,st=function(){it||(ve.collectionStarting(),it=requestAnimationFrame(function(){it=null,Si();var vn=_e,dn=vn.additions,mn=vn.removals,On=vn.modified,fr=Object.keys(dn).map(function(ta){return se.draggable.getById(ta).getDimension(_t)}).sort(function(ta,fa){return ta.descriptor.index-fa.descriptor.index}),zr=Object.keys(On).map(function(ta){var fa=se.droppable.getById(ta),Ta=fa.callbacks.getScrollWhileDragging();return{droppableId:ta,scroll:Ta}}),Jr={additions:fr,removals:Object.keys(mn),modified:zr};_e=Un(),Bi(),ve.publish(Jr)}))},pt=function(vn){var dn=vn.descriptor.id;_e.additions[dn]=vn,_e.modified[vn.descriptor.droppableId]=!0,_e.removals[dn]&&delete _e.removals[dn],st()},xt=function(vn){var dn=vn.descriptor;_e.removals[dn.id]=!0,_e.modified[dn.droppableId]=!0,_e.additions[dn.id]&&delete _e.additions[dn.id],st()},en=function(){it&&(cancelAnimationFrame(it),it=null,_e=Un())};return{add:pt,remove:xt,stop:en}}var rr=function(ae){var se=ae.scrollHeight,ve=ae.scrollWidth,_e=ae.height,it=ae.width,st=Kr({x:ve,y:se},{x:it,y:_e}),pt={x:Math.max(0,st.x),y:Math.max(0,st.y)};return pt},Jn=function(){var ae=document.documentElement;return ae||on(!1),ae},kn=function(){var ae=Jn(),se=rr({scrollHeight:ae.scrollHeight,scrollWidth:ae.scrollWidth,width:ae.clientWidth,height:ae.clientHeight});return se},Oa=function(){var ae=Il(),se=kn(),ve=ae.y,_e=ae.x,it=Jn(),st=it.clientWidth,pt=it.clientHeight,xt=_e+st,en=ve+pt,yn=Et({top:ve,left:_e,right:xt,bottom:en}),vn={frame:yn,scroll:{initial:ae,current:ae,max:se,diff:{value:_t,displacement:_t}}};return vn},qa=function(ae){var se=ae.critical,ve=ae.scrollOptions,_e=ae.registry;Si();var it=Oa(),st=it.scroll.current,pt=se.droppable,xt=_e.droppable.getAllByType(pt.type).map(function(dn){return dn.callbacks.getDimensionAndWatchScroll(st,ve)}),en=_e.draggable.getAllByType(se.draggable.type).map(function(dn){return dn.getDimension(st)}),yn={draggables:Bn(en),droppables:qt(xt)};Bi();var vn={dimensions:yn,critical:se,viewport:it};return vn};function ci(ae,se,ve){if(ve.descriptor.id===se.id||ve.descriptor.type!==se.type)return!1;var _e=ae.droppable.getById(ve.descriptor.droppableId);return _e.descriptor.mode==="virtual"}var na=function(ae,se){var ve=null,_e=En({callbacks:{publish:se.publishWhileDragging,collectionStarting:se.collectionStarting},registry:ae}),it=function(On,fr){ae.droppable.exists(On)||on(!1),ve&&se.updateDroppableIsEnabled({id:On,isEnabled:fr})},st=function(On,fr){ve&&(ae.droppable.exists(On)||on(!1),se.updateDroppableIsCombineEnabled({id:On,isCombineEnabled:fr}))},pt=function(On,fr){ve&&(ae.droppable.exists(On)||on(!1),se.updateDroppableScroll({id:On,newScroll:fr}))},xt=function(On,fr){ve&&ae.droppable.getById(On).callbacks.scroll(fr)},en=function(){if(ve){_e.stop();var On=ve.critical.droppable;ae.droppable.getAllByType(On.type).forEach(function(fr){return fr.callbacks.dragStopped()}),ve.unsubscribe(),ve=null}},yn=function(On){ve||on(!1);var fr=ve.critical.draggable;On.type==="ADDITION"&&ci(ae,fr,On.value)&&_e.add(On.value),On.type==="REMOVAL"&&ci(ae,fr,On.value)&&_e.remove(On.value)},vn=function(On){ve&&on(!1);var fr=ae.draggable.getById(On.draggableId),zr=ae.droppable.getById(fr.descriptor.droppableId),Jr={draggable:fr.descriptor,droppable:zr.descriptor},ta=ae.subscribe(yn);return ve={critical:Jr,unsubscribe:ta},qa({critical:Jr,registry:ae,scrollOptions:On.scrollOptions})},dn={updateDroppableIsEnabled:it,updateDroppableIsCombineEnabled:st,scrollDroppable:xt,updateDroppableScroll:pt,startPublishing:vn,stopPublishing:en};return dn},ba=function(ae,se){return ae.phase==="IDLE"?!0:ae.phase!=="DROP_ANIMATING"||ae.completed.result.draggableId===se?!1:ae.completed.result.reason==="DROP"},Na=function(ae){window.scrollBy(ae.x,ae.y)},Ai=In(function(ae){return Dn(ae).filter(function(se){return!(!se.isEnabled||!se.frame)})}),Ci=function(se,ve){var _e=Ra(Ai(ve),function(it){return it.frame||on(!1),Hs(it.frame.pageMarginBox)(se)});return _e},Vr=function(ae){var se=ae.center,ve=ae.destination,_e=ae.droppables;if(ve){var it=_e[ve];return it.frame?it:null}var st=Ci(se,_e);return st},di={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(se){return Math.pow(se,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},Yi=function(ae,se){var ve=ae[se.size]*di.startFromPercentage,_e=ae[se.size]*di.maxScrollAtPercentage,it={startScrollingFrom:ve,maxScrollValueAt:_e};return it},Ti=function(ae){var se=ae.startOfRange,ve=ae.endOfRange,_e=ae.current,it=ve-se;if(it===0)return 0;var st=_e-se,pt=st/it;return pt},ki=1,yo=function(ae,se){if(ae>se.startScrollingFrom)return 0;if(ae<=se.maxScrollValueAt)return di.maxPixelScroll;if(ae===se.startScrollingFrom)return ki;var ve=Ti({startOfRange:se.maxScrollValueAt,endOfRange:se.startScrollingFrom,current:ae}),_e=1-ve,it=di.maxPixelScroll*di.ease(_e);return Math.ceil(it)},Ri=di.durationDampening.accelerateAt,Wa=di.durationDampening.stopDampeningAt,ja=function(ae,se){var ve=se,_e=Wa,it=Date.now(),st=it-ve;if(st>=Wa)return ae;if(st<Ri)return ki;var pt=Ti({startOfRange:Ri,endOfRange:_e,current:st}),xt=ae*di.ease(pt);return Math.ceil(xt)},ii=function(ae){var se=ae.distanceToEdge,ve=ae.thresholds,_e=ae.dragStartTime,it=ae.shouldUseTimeDampening,st=yo(se,ve);return st===0?0:it?Math.max(ja(st,_e),ki):st},zi=function(ae){var se=ae.container,ve=ae.distanceToEdges,_e=ae.dragStartTime,it=ae.axis,st=ae.shouldUseTimeDampening,pt=Yi(se,it),xt=ve[it.end]<ve[it.start];return xt?ii({distanceToEdge:ve[it.end],thresholds:pt,dragStartTime:_e,shouldUseTimeDampening:st}):-1*ii({distanceToEdge:ve[it.start],thresholds:pt,dragStartTime:_e,shouldUseTimeDampening:st})},no=function(ae){var se=ae.container,ve=ae.subject,_e=ae.proposedScroll,it=ve.height>se.height,st=ve.width>se.width;return!st&&!it?_e:st&&it?null:{x:st?0:_e.x,y:it?0:_e.y}},Ro=wa(function(ae){return ae===0?0:ae}),Ho=function(ae){var se=ae.dragStartTime,ve=ae.container,_e=ae.subject,it=ae.center,st=ae.shouldUseTimeDampening,pt={top:it.y-ve.top,right:ve.right-it.x,bottom:ve.bottom-it.y,left:it.x-ve.left},xt=zi({container:ve,distanceToEdges:pt,dragStartTime:se,axis:Tn,shouldUseTimeDampening:st}),en=zi({container:ve,distanceToEdges:pt,dragStartTime:se,axis:wn,shouldUseTimeDampening:st}),yn=Ro({x:en,y:xt});if(qr(yn,_t))return null;var vn=no({container:ve,subject:_e,proposedScroll:yn});return vn?qr(vn,_t)?null:vn:null},Zn=wa(function(ae){return ae===0?0:ae>0?1:-1}),zo=function(){var ae=function(ve,_e){return ve<0?ve:ve>_e?ve-_e:0};return function(se){var ve=se.current,_e=se.max,it=se.change,st=Rr(ve,it),pt={x:ae(st.x,_e.x),y:ae(st.y,_e.y)};return qr(pt,_t)?null:pt}}(),as=function(se){var ve=se.max,_e=se.current,it=se.change,st={x:Math.max(_e.x,ve.x),y:Math.max(_e.y,ve.y)},pt=Zn(it),xt=zo({max:st,current:_e,change:pt});return!xt||pt.x!==0&&xt.x===0||pt.y!==0&&xt.y===0},Vn=function(se,ve){return as({current:se.scroll.current,max:se.scroll.max,change:ve})},Vo=function(se,ve){if(!Vn(se,ve))return null;var _e=se.scroll.max,it=se.scroll.current;return zo({current:it,max:_e,change:ve})},Qo=function(se,ve){var _e=se.frame;return _e?as({current:_e.scroll.current,max:_e.scroll.max,change:ve}):!1},ll=function(se,ve){var _e=se.frame;return!_e||!Qo(se,ve)?null:zo({current:_e.scroll.current,max:_e.scroll.max,change:ve})},gl=function(ae){var se=ae.viewport,ve=ae.subject,_e=ae.center,it=ae.dragStartTime,st=ae.shouldUseTimeDampening,pt=Ho({dragStartTime:it,container:se.frame,subject:ve,center:_e,shouldUseTimeDampening:st});return pt&&Vn(se,pt)?pt:null},po=function(ae){var se=ae.droppable,ve=ae.subject,_e=ae.center,it=ae.dragStartTime,st=ae.shouldUseTimeDampening,pt=se.frame;if(!pt)return null;var xt=Ho({dragStartTime:it,container:pt.pageMarginBox,subject:ve,center:_e,shouldUseTimeDampening:st});return xt&&Qo(se,xt)?xt:null},Jo=function(ae){var se=ae.state,ve=ae.dragStartTime,_e=ae.shouldUseTimeDampening,it=ae.scrollWindow,st=ae.scrollDroppable,pt=se.current.page.borderBoxCenter,xt=se.dimensions.draggables[se.critical.draggable.id],en=xt.page.marginBox;if(se.isWindowScrollAllowed){var yn=se.viewport,vn=gl({dragStartTime:ve,viewport:yn,subject:en,center:pt,shouldUseTimeDampening:_e});if(vn){it(vn);return}}var dn=Vr({center:pt,destination:Ni(se.impact),droppables:se.dimensions.droppables});if(dn){var mn=po({dragStartTime:ve,droppable:dn,subject:en,center:pt,shouldUseTimeDampening:_e});mn&&st(dn.descriptor.id,mn)}},Do=function(ae){var se=ae.scrollWindow,ve=ae.scrollDroppable,_e=gr(se),it=gr(ve),st=null,pt=function(vn){st||on(!1);var dn=st,mn=dn.shouldUseTimeDampening,On=dn.dragStartTime;Jo({state:vn,scrollWindow:_e,scrollDroppable:it,dragStartTime:On,shouldUseTimeDampening:mn})},xt=function(vn){Si(),st&&on(!1);var dn=Date.now(),mn=!1,On=function(){mn=!0};Jo({state:vn,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:On,scrollDroppable:On}),st={dragStartTime:dn,shouldUseTimeDampening:mn},Bi(),mn&&pt(vn)},en=function(){st&&(_e.cancel(),it.cancel(),st=null)};return{start:xt,stop:en,scroll:pt}},xs=function(ae){var se=ae.move,ve=ae.scrollDroppable,_e=ae.scrollWindow,it=function(yn,vn){var dn=Rr(yn.current.client.selection,vn);se({client:dn})},st=function(yn,vn){if(!Qo(yn,vn))return vn;var dn=ll(yn,vn);if(!dn)return ve(yn.descriptor.id,vn),null;var mn=Kr(vn,dn);ve(yn.descriptor.id,mn);var On=Kr(vn,mn);return On},pt=function(yn,vn,dn){if(!yn||!Vn(vn,dn))return dn;var mn=Vo(vn,dn);if(!mn)return _e(dn),null;var On=Kr(dn,mn);_e(On);var fr=Kr(dn,On);return fr},xt=function(yn){var vn=yn.scrollJumpRequest;if(vn){var dn=Ni(yn.impact);dn||on(!1);var mn=st(yn.dimensions.droppables[dn],vn);if(mn){var On=yn.viewport,fr=pt(yn.isWindowScrollAllowed,On,mn);fr&&it(yn,fr)}}};return xt},As=function(ae){var se=ae.scrollDroppable,ve=ae.scrollWindow,_e=ae.move,it=Do({scrollWindow:ve,scrollDroppable:se}),st=xs({move:_e,scrollWindow:ve,scrollDroppable:se}),pt=function(yn){if(yn.phase==="DRAGGING"){if(yn.movementMode==="FLUID"){it.scroll(yn);return}yn.scrollJumpRequest&&st(yn)}},xt={scroll:pt,start:it.start,stop:it.stop};return xt},Ts="data-rbd",qo=function(){var ae=Ts+"-drag-handle";return{base:ae,draggableId:ae+"-draggable-id",contextId:ae+"-context-id"}}(),ul=function(){var ae=Ts+"-draggable";return{base:ae,contextId:ae+"-context-id",id:ae+"-id"}}(),_l=function(){var ae=Ts+"-droppable";return{base:ae,contextId:ae+"-context-id",id:ae+"-id"}}(),x={contextId:Ts+"-scroll-container-context-id"},z=function(se){return function(ve){return"["+ve+'="'+se+'"]'}},we=function(se,ve){return se.map(function(_e){var it=_e.styles[ve];return it?_e.selector+" { "+it+" }":""}).join(" ")},Nt="pointer-events: none;",Pn=function(ae){var se=z(ae),ve=function(){var xt=`
cursor: -webkit-grab;
cursor: grab;
`;return{selector:se(qo.contextId),styles:{always:`
-webkit-touch-callout: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
touch-action: manipulation;
`,resting:xt,dragging:Nt,dropAnimating:xt}}}(),_e=function(){var xt=`
transition: `+wo.outOfTheWay+`;
`;return{selector:se(ul.contextId),styles:{dragging:xt,dropAnimating:xt,userCancel:xt}}}(),it={selector:se(_l.contextId),styles:{always:"overflow-anchor: none;"}},st={selector:"body",styles:{dragging:`
cursor: grabbing;
cursor: -webkit-grabbing;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
overflow-anchor: none;
`}},pt=[_e,ve,it,st];return{always:we(pt,"always"),resting:we(pt,"resting"),dragging:we(pt,"dragging"),dropAnimating:we(pt,"dropAnimating"),userCancel:we(pt,"userCancel")}},ur=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect,Fr=function(){var se=document.querySelector("head");return se||on(!1),se},Ea=function(se){var ve=document.createElement("style");return se&&ve.setAttribute("nonce",se),ve.type="text/css",ve};function Za(ae,se){var ve=jt(function(){return Pn(ae)},[ae]),_e=(0,b.useRef)(null),it=(0,b.useRef)(null),st=At(In(function(dn){var mn=it.current;mn||on(!1),mn.textContent=dn}),[]),pt=At(function(dn){var mn=_e.current;mn||on(!1),mn.textContent=dn},[]);ur(function(){!_e.current&&!it.current||on(!1);var dn=Ea(se),mn=Ea(se);return _e.current=dn,it.current=mn,dn.setAttribute(Ts+"-always",ae),mn.setAttribute(Ts+"-dynamic",ae),Fr().appendChild(dn),Fr().appendChild(mn),pt(ve.always),st(ve.resting),function(){var On=function(zr){var Jr=zr.current;Jr||on(!1),Fr().removeChild(Jr),zr.current=null};On(_e),On(it)}},[se,pt,st,ve.always,ve.resting,ae]);var xt=At(function(){return st(ve.dragging)},[st,ve.dragging]),en=At(function(dn){if(dn==="DROP"){st(ve.dropAnimating);return}st(ve.userCancel)},[st,ve.dropAnimating,ve.userCancel]),yn=At(function(){it.current&&st(ve.resting)},[st,ve.resting]),vn=jt(function(){return{dragging:xt,dropping:en,resting:yn}},[xt,en,yn]);return vn}var Er=function(ae){return ae&&ae.ownerDocument?ae.ownerDocument.defaultView:window};function Qr(ae){return ae instanceof Er(ae).HTMLElement}function Va(ae,se){var ve="["+qo.contextId+'="'+ae+'"]',_e=Xa(document.querySelectorAll(ve));if(!_e.length)return null;var it=Ra(_e,function(st){return st.getAttribute(qo.draggableId)===se});return!it||!Qr(it)?null:it}function mi(ae){var se=(0,b.useRef)({}),ve=(0,b.useRef)(null),_e=(0,b.useRef)(null),it=(0,b.useRef)(!1),st=At(function(mn,On){var fr={id:mn,focus:On};return se.current[mn]=fr,function(){var Jr=se.current,ta=Jr[mn];ta!==fr&&delete Jr[mn]}},[]),pt=At(function(mn){var On=Va(ae,mn);On&&On!==document.activeElement&&On.focus()},[ae]),xt=At(function(mn,On){ve.current===mn&&(ve.current=On)},[]),en=At(function(){_e.current||it.current&&(_e.current=requestAnimationFrame(function(){_e.current=null;var mn=ve.current;mn&&pt(mn)}))},[pt]),yn=At(function(mn){ve.current=null;var On=document.activeElement;On&&On.getAttribute(qo.draggableId)===mn&&(ve.current=mn)},[]);ur(function(){return it.current=!0,function(){it.current=!1;var mn=_e.current;mn&&cancelAnimationFrame(mn)}},[]);var vn=jt(function(){return{register:st,tryRecordFocus:yn,tryRestoreFocusRecorded:en,tryShiftRecord:xt}},[st,yn,en,xt]);return vn}function Di(){var ae={draggables:{},droppables:{}},se=[];function ve(dn){return se.push(dn),function(){var On=se.indexOf(dn);On!==-1&&se.splice(On,1)}}function _e(dn){se.length&&se.forEach(function(mn){return mn(dn)})}function it(dn){return ae.draggables[dn]||null}function st(dn){var mn=it(dn);return mn||on(!1),mn}var pt={register:function(mn){ae.draggables[mn.descriptor.id]=mn,_e({type:"ADDITION",value:mn})},update:function(mn,On){var fr=ae.draggables[On.descriptor.id];fr&&fr.uniqueId===mn.uniqueId&&(delete ae.draggables[On.descriptor.id],ae.draggables[mn.descriptor.id]=mn)},unregister:function(mn){var On=mn.descriptor.id,fr=it(On);fr&&mn.uniqueId===fr.uniqueId&&(delete ae.draggables[On],_e({type:"REMOVAL",value:mn}))},getById:st,findById:it,exists:function(mn){return!!it(mn)},getAllByType:function(mn){return ua(ae.draggables).filter(function(On){return On.descriptor.type===mn})}};function xt(dn){return ae.droppables[dn]||null}function en(dn){var mn=xt(dn);return mn||on(!1),mn}var yn={register:function(mn){ae.droppables[mn.descriptor.id]=mn},unregister:function(mn){var On=xt(mn.descriptor.id);On&&mn.uniqueId===On.uniqueId&&delete ae.droppables[mn.descriptor.id]},getById:en,findById:xt,exists:function(mn){return!!xt(mn)},getAllByType:function(mn){return ua(ae.droppables).filter(function(On){return On.descriptor.type===mn})}};function vn(){ae.draggables={},ae.droppables={},se.length=0}return{draggable:pt,droppable:yn,subscribe:ve,clean:vn}}function vs(){var ae=jt(Di,[]);return(0,b.useEffect)(function(){return function(){requestAnimationFrame(ae.clean)}},[ae]),ae}var is=b.createContext(null),os=function(){var ae=document.body;return ae||on(!1),ae},Bs={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},vl=function(se){return"rbd-announcement-"+se};function $o(ae){var se=jt(function(){return vl(ae)},[ae]),ve=(0,b.useRef)(null);(0,b.useEffect)(function(){var st=document.createElement("div");return ve.current=st,st.id=se,st.setAttribute("aria-live","assertive"),st.setAttribute("aria-atomic","true"),(0,le.Z)(st.style,Bs),os().appendChild(st),function(){setTimeout(function(){var en=os();en.contains(st)&&en.removeChild(st),st===ve.current&&(ve.current=null)})}},[se]);var _e=At(function(it){var st=ve.current;if(st){st.textContent=it;return}},[]);return _e}var tl=0,ss={separator:"::"};function Vl(){tl=0}function kl(ae,se){return se===void 0&&(se=ss),jt(function(){return""+ae+se.separator+tl++},[se.separator,ae])}function Kl(ae){var se=ae.contextId,ve=ae.uniqueId;return"rbd-hidden-text-"+se+"-"+ve}function Bu(ae){var se=ae.contextId,ve=ae.text,_e=kl("hidden-text",{separator:"-"}),it=jt(function(){return Kl({contextId:se,uniqueId:_e})},[_e,se]);return(0,b.useEffect)(function(){var pt=document.createElement("div");return pt.id=it,pt.textContent=ve,pt.style.display="none",os().appendChild(pt),function(){var en=os();en.contains(pt)&&en.removeChild(pt)}},[it,ve]),it}var lu=b.createContext(null),Mu={react:"^16.8.5","react-dom":"^16.8.5"},bl=/(\d+)\.(\d+)\.(\d+)/,Rl=function(se){var ve=bl.exec(se);ve==null&&on(!1);var _e=Number(ve[1]),it=Number(ve[2]),st=Number(ve[3]);return{major:_e,minor:it,patch:st,raw:se}},Yl=function(se,ve){return ve.major>se.major?!0:ve.major<se.major?!1:ve.minor>se.minor?!0:ve.minor<se.minor?!1:ve.patch>=se.patch},gc=function(ae,se){var ve=Rl(ae),_e=Rl(se);Yl(ve,_e)},vc=`
We expect a html5 doctype: <!doctype html>
This is to ensure consistent browser layout and measurement
More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md
`,bc=function(ae){var se=ae.doctype;se&&(se.name.toLowerCase(),se.publicId)};function Yc(ae){}function Xl(ae,se){}function ls(){Xl(function(){gc(Mu.react,b.version),bc(document)},[])}function uu(ae){var se=(0,b.useRef)(ae);return(0,b.useEffect)(function(){se.current=ae}),se}function Ec(){var ae=null;function se(){return!!ae}function ve(pt){return pt===ae}function _e(pt){ae&&on(!1);var xt={abandon:pt};return ae=xt,xt}function it(){ae||on(!1),ae=null}function st(){ae&&(ae.abandon(),it())}return{isClaimed:se,isActive:ve,claim:_e,release:it,tryAbandon:st}}var yc=9,Sc=13,cu=27,yu=32,Uu=33,Cc=34,xc=35,Ac=36,El=37,Ql=38,du=39,Jl=40,Ms,Tc=(Ms={},Ms[Sc]=!0,Ms[yc]=!0,Ms),Hu=function(ae){Tc[ae.keyCode]&&ae.preventDefault()},cl=function(){var ae="visibilitychange";if(typeof document=="undefined")return ae;var se=[ae,"ms"+ae,"webkit"+ae,"moz"+ae,"o"+ae],ve=Ra(se,function(_e){return"on"+_e in document});return ve||ae}(),Su=0,Cu=5;function zu(ae,se){return Math.abs(se.x-ae.x)>=Cu||Math.abs(se.y-ae.y)>=Cu}var ql={type:"IDLE"};function Fl(ae){var se=ae.cancel,ve=ae.completed,_e=ae.getPhase,it=ae.setPhase;return[{eventName:"mousemove",fn:function(pt){var xt=pt.button,en=pt.clientX,yn=pt.clientY;if(xt===Su){var vn={x:en,y:yn},dn=_e();if(dn.type==="DRAGGING"){pt.preventDefault(),dn.actions.move(vn);return}dn.type!=="PENDING"&&on(!1);var mn=dn.point;if(zu(mn,vn)){pt.preventDefault();var On=dn.actions.fluidLift(vn);it({type:"DRAGGING",actions:On})}}}},{eventName:"mouseup",fn:function(pt){var xt=_e();if(xt.type!=="DRAGGING"){se();return}pt.preventDefault(),xt.actions.drop({shouldBlockNextClick:!0}),ve()}},{eventName:"mousedown",fn:function(pt){_e().type==="DRAGGING"&&pt.preventDefault(),se()}},{eventName:"keydown",fn:function(pt){var xt=_e();if(xt.type==="PENDING"){se();return}if(pt.keyCode===cu){pt.preventDefault(),se();return}Hu(pt)}},{eventName:"resize",fn:se},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){_e().type==="PENDING"&&se()}},{eventName:"webkitmouseforcedown",fn:function(pt){var xt=_e();if(xt.type==="IDLE"&&on(!1),xt.actions.shouldRespectForcePress()){se();return}pt.preventDefault()}},{eventName:cl,fn:se}]}function xu(ae){var se=(0,b.useRef)(ql),ve=(0,b.useRef)(Ur),_e=jt(function(){return{eventName:"mousedown",fn:function(dn){if(!dn.defaultPrevented&&dn.button===Su&&!(dn.ctrlKey||dn.metaKey||dn.shiftKey||dn.altKey)){var mn=ae.findClosestDraggableId(dn);if(mn){var On=ae.tryGetLock(mn,pt,{sourceEvent:dn});if(On){dn.preventDefault();var fr={x:dn.clientX,y:dn.clientY};ve.current(),yn(On,fr)}}}}}},[ae]),it=jt(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(dn){if(!dn.defaultPrevented){var mn=ae.findClosestDraggableId(dn);if(mn){var On=ae.findOptionsForDraggable(mn);On&&(On.shouldRespectForcePress||ae.canGetLock(mn)&&dn.preventDefault())}}}}},[ae]),st=At(function(){var dn={passive:!1,capture:!0};ve.current=Qt(window,[it,_e],dn)},[it,_e]),pt=At(function(){var vn=se.current;vn.type!=="IDLE"&&(se.current=ql,ve.current(),st())},[st]),xt=At(function(){var vn=se.current;pt(),vn.type==="DRAGGING"&&vn.actions.cancel({shouldBlockNextClick:!0}),vn.type==="PENDING"&&vn.actions.abort()},[pt]),en=At(function(){var dn={capture:!0,passive:!1},mn=Fl({cancel:xt,completed:pt,getPhase:function(){return se.current},setPhase:function(fr){se.current=fr}});ve.current=Qt(window,mn,dn)},[xt,pt]),yn=At(function(dn,mn){se.current.type!=="IDLE"&&on(!1),se.current={type:"PENDING",point:mn,actions:dn},en()},[en]);ur(function(){return st(),function(){ve.current()}},[st])}var yl;function Au(){}var wc=(yl={},yl[Cc]=!0,yl[Uu]=!0,yl[Ac]=!0,yl[xc]=!0,yl);function $l(ae,se){function ve(){se(),ae.cancel()}function _e(){se(),ae.drop()}return[{eventName:"keydown",fn:function(st){if(st.keyCode===cu){st.preventDefault(),ve();return}if(st.keyCode===yu){st.preventDefault(),_e();return}if(st.keyCode===Jl){st.preventDefault(),ae.moveDown();return}if(st.keyCode===Ql){st.preventDefault(),ae.moveUp();return}if(st.keyCode===du){st.preventDefault(),ae.moveRight();return}if(st.keyCode===El){st.preventDefault(),ae.moveLeft();return}if(wc[st.keyCode]){st.preventDefault();return}Hu(st)}},{eventName:"mousedown",fn:ve},{eventName:"mouseup",fn:ve},{eventName:"click",fn:ve},{eventName:"touchstart",fn:ve},{eventName:"resize",fn:ve},{eventName:"wheel",fn:ve,options:{passive:!0}},{eventName:cl,fn:ve}]}function Gu(ae){var se=(0,b.useRef)(Au),ve=jt(function(){return{eventName:"keydown",fn:function(st){if(st.defaultPrevented||st.keyCode!==yu)return;var pt=ae.findClosestDraggableId(st);if(!pt)return;var xt=ae.tryGetLock(pt,vn,{sourceEvent:st});if(!xt)return;st.preventDefault();var en=!0,yn=xt.snapLift();se.current();function vn(){en||on(!1),en=!1,se.current(),_e()}se.current=Qt(window,$l(yn,vn),{capture:!0,passive:!1})}}},[ae]),_e=At(function(){var st={passive:!1,capture:!0};se.current=Qt(window,[ve],st)},[ve]);ur(function(){return _e(),function(){se.current()}},[_e])}var Tu={type:"IDLE"},Wu=120,fu=.15;function Ic(ae){var se=ae.cancel,ve=ae.getPhase;return[{eventName:"orientationchange",fn:se},{eventName:"resize",fn:se},{eventName:"contextmenu",fn:function(it){it.preventDefault()}},{eventName:"keydown",fn:function(it){if(ve().type!=="DRAGGING"){se();return}it.keyCode===cu&&it.preventDefault(),se()}},{eventName:cl,fn:se}]}function Nc(ae){var se=ae.cancel,ve=ae.completed,_e=ae.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(st){var pt=_e();if(pt.type!=="DRAGGING"){se();return}pt.hasMoved=!0;var xt=st.touches[0],en=xt.clientX,yn=xt.clientY,vn={x:en,y:yn};st.preventDefault(),pt.actions.move(vn)}},{eventName:"touchend",fn:function(st){var pt=_e();if(pt.type!=="DRAGGING"){se();return}st.preventDefault(),pt.actions.drop({shouldBlockNextClick:!0}),ve()}},{eventName:"touchcancel",fn:function(st){if(_e().type!=="DRAGGING"){se();return}st.preventDefault(),se()}},{eventName:"touchforcechange",fn:function(st){var pt=_e();pt.type==="IDLE"&&on(!1);var xt=st.touches[0];if(xt){var en=xt.force>=fu;if(en){var yn=pt.actions.shouldRespectForcePress();if(pt.type==="PENDING"){yn&&se();return}if(yn){if(pt.hasMoved){st.preventDefault();return}se();return}st.preventDefault()}}}},{eventName:cl,fn:se}]}function eu(ae){var se=(0,b.useRef)(Tu),ve=(0,b.useRef)(Ur),_e=At(function(){return se.current},[]),it=At(function(On){se.current=On},[]),st=jt(function(){return{eventName:"touchstart",fn:function(On){if(!On.defaultPrevented){var fr=ae.findClosestDraggableId(On);if(fr){var zr=ae.tryGetLock(fr,xt,{sourceEvent:On});if(zr){var Jr=On.touches[0],ta=Jr.clientX,fa=Jr.clientY,Ta={x:ta,y:fa};ve.current(),dn(zr,Ta)}}}}}},[ae]),pt=At(function(){var On={capture:!0,passive:!1};ve.current=Qt(window,[st],On)},[st]),xt=At(function(){var mn=se.current;mn.type!=="IDLE"&&(mn.type==="PENDING"&&clearTimeout(mn.longPressTimerId),it(Tu),ve.current(),pt())},[pt,it]),en=At(function(){var mn=se.current;xt(),mn.type==="DRAGGING"&&mn.actions.cancel({shouldBlockNextClick:!0}),mn.type==="PENDING"&&mn.actions.abort()},[xt]),yn=At(function(){var On={capture:!0,passive:!1},fr={cancel:en,completed:xt,getPhase:_e},zr=Qt(window,Nc(fr),On),Jr=Qt(window,Ic(fr),On);ve.current=function(){zr(),Jr()}},[en,_e,xt]),vn=At(function(){var On=_e();On.type!=="PENDING"&&on(!1);var fr=On.actions.fluidLift(On.point);it({type:"DRAGGING",actions:fr,hasMoved:!1})},[_e,it]),dn=At(function(On,fr){_e().type!=="IDLE"&&on(!1);var zr=setTimeout(vn,Wu);it({type:"PENDING",point:fr,actions:On,longPressTimerId:zr}),yn()},[yn,_e,it,vn]);ur(function(){return pt(),function(){ve.current();var fr=_e();fr.type==="PENDING"&&(clearTimeout(fr.longPressTimerId),it(Tu))}},[_e,pt,it]),ur(function(){var On=Qt(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return On},[])}function Zu(ae){}var ju={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Vu(ae,se){if(se==null)return!1;var ve=!!ju[se.tagName.toLowerCase()];if(ve)return!0;var _e=se.getAttribute("contenteditable");return _e==="true"||_e===""?!0:se===ae?!1:Vu(ae,se.parentElement)}function wu(ae,se){var ve=se.target;return Qr(ve)?Vu(ae,ve):!1}var Ku=function(ae){return Et(ae.getBoundingClientRect()).center};function kc(ae){return ae instanceof Er(ae).Element}var Yu=function(){var ae="matches";if(typeof document=="undefined")return ae;var se=[ae,"msMatchesSelector","webkitMatchesSelector"],ve=Ra(se,function(_e){return _e in Element.prototype});return ve||ae}();function Iu(ae,se){return ae==null?null:ae[Yu](se)?ae:Iu(ae.parentElement,se)}function Rc(ae,se){return ae.closest?ae.closest(se):Iu(ae,se)}function Nu(ae){return"["+qo.contextId+'="'+ae+'"]'}function tu(ae,se){var ve=se.target;if(!kc(ve))return null;var _e=Nu(ae),it=Rc(ve,_e);return!it||!Qr(it)?null:it}function nu(ae,se){var ve=tu(ae,se);return ve?ve.getAttribute(qo.draggableId):null}function Dc(ae,se){var ve="["+ul.contextId+'="'+ae+'"]',_e=Xa(document.querySelectorAll(ve)),it=Ra(_e,function(st){return st.getAttribute(ul.id)===se});return!it||!Qr(it)?null:it}function Xu(ae){ae.preventDefault()}function pu(ae){var se=ae.expected,ve=ae.phase,_e=ae.isLockActive,it=ae.shouldWarn;return!(!_e()||se!==ve)}function Qu(ae){var se=ae.lockAPI,ve=ae.store,_e=ae.registry,it=ae.draggableId;if(se.isClaimed())return!1;var st=_e.draggable.findById(it);return!(!st||!st.options.isEnabled||!ba(ve.getState(),it))}function Oc(ae){var se=ae.lockAPI,ve=ae.contextId,_e=ae.store,it=ae.registry,st=ae.draggableId,pt=ae.forceSensorStop,xt=ae.sourceEvent,en=Qu({lockAPI:se,store:_e,registry:it,draggableId:st});if(!en)return null;var yn=it.draggable.getById(st),vn=Dc(ve,yn.descriptor.id);if(!vn||xt&&!yn.options.canDragInteractiveElements&&wu(vn,xt))return null;var dn=se.claim(pt||Ur),mn="PRE_DRAG";function On(){return yn.options.shouldRespectForcePress}function fr(){return se.isActive(dn)}function zr(ni,Ei){pu({expected:ni,phase:mn,isLockActive:fr,shouldWarn:!0})&&_e.dispatch(Ei())}var Jr=zr.bind(null,"DRAGGING");function ta(ni){function Ei(){se.release(),mn="COMPLETED"}mn!=="PRE_DRAG"&&(Ei(),mn!=="PRE_DRAG"&&on(!1)),_e.dispatch(qs(ni.liftActionArgs)),mn="DRAGGING";function ho(xi,mo){if(mo===void 0&&(mo={shouldBlockNextClick:!1}),ni.cleanup(),mo.shouldBlockNextClick){var es=Qt(window,[{eventName:"click",fn:Xu,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(es)}Ei(),_e.dispatch(el({reason:xi}))}return(0,le.Z)({isActive:function(){return pu({expected:"DRAGGING",phase:mn,isLockActive:fr,shouldWarn:!1})},shouldRespectForcePress:On,drop:function(mo){return ho("DROP",mo)},cancel:function(mo){return ho("CANCEL",mo)}},ni.actions)}function fa(ni){var Ei=gr(function(xi){Jr(function(){return Ws({client:xi})})}),ho=ta({liftActionArgs:{id:st,clientSelection:ni,movementMode:"FLUID"},cleanup:function(){return Ei.cancel()},actions:{move:Ei}});return(0,le.Z)({},ho,{move:Ei})}function Ta(){var ni={moveUp:function(){return Jr($s)},moveRight:function(){return Jr(Ls)},moveDown:function(){return Jr(Po)},moveLeft:function(){return Jr(_s)}};return ta({liftActionArgs:{id:st,clientSelection:Ku(vn),movementMode:"SNAP"},cleanup:Ur,actions:ni})}function Fa(){var ni=pu({expected:"PRE_DRAG",phase:mn,isLockActive:fr,shouldWarn:!0});ni&&se.release()}var oi={isActive:function(){return pu({expected:"PRE_DRAG",phase:mn,isLockActive:fr,shouldWarn:!1})},shouldRespectForcePress:On,fluidLift:fa,snapLift:Ta,abort:Fa};return oi}var Lc=[xu,Gu,eu];function Ju(ae){var se=ae.contextId,ve=ae.store,_e=ae.registry,it=ae.customSensors,st=ae.enableDefaultSensors,pt=[].concat(st?Lc:[],it||[]),xt=(0,b.useState)(function(){return Ec()})[0],en=At(function(fa,Ta){fa.isDragging&&!Ta.isDragging&&xt.tryAbandon()},[xt]);ur(function(){var fa=ve.getState(),Ta=ve.subscribe(function(){var Fa=ve.getState();en(fa,Fa),fa=Fa});return Ta},[xt,ve,en]),ur(function(){return xt.tryAbandon},[xt.tryAbandon]);var yn=At(function(ta){return Qu({lockAPI:xt,registry:_e,store:ve,draggableId:ta})},[xt,_e,ve]),vn=At(function(ta,fa,Ta){return Oc({lockAPI:xt,registry:_e,contextId:se,store:ve,draggableId:ta,forceSensorStop:fa,sourceEvent:Ta&&Ta.sourceEvent?Ta.sourceEvent:null})},[se,xt,_e,ve]),dn=At(function(ta){return nu(se,ta)},[se]),mn=At(function(ta){var fa=_e.draggable.findById(ta);return fa?fa.options:null},[_e.draggable]),On=At(function(){xt.isClaimed()&&(xt.tryAbandon(),ve.getState().phase!=="IDLE"&&ve.dispatch(Zs()))},[xt,ve]),fr=At(xt.isClaimed,[xt]),zr=jt(function(){return{canGetLock:yn,tryGetLock:vn,findClosestDraggableId:dn,findOptionsForDraggable:mn,tryReleaseLock:On,isLockClaimed:fr}},[yn,vn,dn,mn,On,fr]);Zu(pt);for(var Jr=0;Jr<pt.length;Jr++)pt[Jr](zr)}var _c=function(se){return{onBeforeCapture:se.onBeforeCapture,onBeforeDragStart:se.onBeforeDragStart,onDragStart:se.onDragStart,onDragEnd:se.onDragEnd,onDragUpdate:se.onDragUpdate}};function ru(ae){return ae.current||on(!1),ae.current}function qu(ae){var se=ae.contextId,ve=ae.setCallbacks,_e=ae.sensors,it=ae.nonce,st=ae.dragHandleUsageInstructions,pt=(0,b.useRef)(null);ls();var xt=uu(ae),en=At(function(){return _c(xt.current)},[xt]),yn=$o(se),vn=Bu({contextId:se,text:st}),dn=Za(se,it),mn=At(function(xi){ru(pt).dispatch(xi)},[]),On=jt(function(){return(0,ce.DE)({publishWhileDragging:pl,updateDroppableScroll:al,updateDroppableIsEnabled:il,updateDroppableIsCombineEnabled:gs,collectionStarting:ys},mn)},[mn]),fr=vs(),zr=jt(function(){return na(fr,On)},[fr,On]),Jr=jt(function(){return As((0,le.Z)({scrollWindow:Na,scrollDroppable:zr.scrollDroppable},(0,ce.DE)({move:Ws},mn)))},[zr.scrollDroppable,mn]),ta=mi(se),fa=jt(function(){return Wn({announce:yn,autoScroller:Jr,dimensionMarshal:zr,focusMarshal:ta,getResponders:en,styleMarshal:dn})},[yn,Jr,zr,ta,en,dn]);pt.current=fa;var Ta=At(function(){var xi=ru(pt),mo=xi.getState();mo.phase!=="IDLE"&&xi.dispatch(Zs())},[]),Fa=At(function(){var xi=ru(pt).getState();return xi.isDragging||xi.phase==="DROP_ANIMATING"},[]),oi=jt(function(){return{isDragging:Fa,tryAbort:Ta}},[Fa,Ta]);ve(oi);var ni=At(function(xi){return ba(ru(pt).getState(),xi)},[]),Ei=At(function(){return vo(ru(pt).getState())},[]),ho=jt(function(){return{marshal:zr,focus:ta,contextId:se,canLift:ni,isMovementAllowed:Ei,dragHandleUsageInstructionsId:vn,registry:fr}},[se,zr,vn,ta,ni,Ei,fr]);return Ju({contextId:se,store:fa,registry:fr,customSensors:_e,enableDefaultSensors:ae.enableDefaultSensors!==!1}),(0,b.useEffect)(function(){return Ta},[Ta]),b.createElement(lu.Provider,{value:ho},b.createElement(Me,{context:is,store:fa},ae.children))}var hu=0;function $u(){hu=0}function Fc(){return jt(function(){return""+hu++},[])}function Pc(){$u(),Vl()}function Pl(ae){var se=Fc(),ve=ae.dragHandleUsageInstructions||Dr.dragHandleUsageInstructions;return b.createElement(sr,null,function(_e){return b.createElement(qu,{nonce:ae.nonce,contextId:se,setCallbacks:_e,dragHandleUsageInstructions:ve,enableDefaultSensors:ae.enableDefaultSensors,sensors:ae.sensors,onBeforeCapture:ae.onBeforeCapture,onBeforeDragStart:ae.onBeforeDragStart,onDragStart:ae.onDragStart,onDragUpdate:ae.onDragUpdate,onDragEnd:ae.onDragEnd},ae.children)})}var mu=function(se){return function(ve){return se===ve}},gu=mu("scroll"),Bc=mu("auto"),Mc=mu("visible"),ec=function(se,ve){return ve(se.overflowX)||ve(se.overflowY)},Xi=function(se,ve){return ve(se.overflowX)&&ve(se.overflowY)},tc=function(se){var ve=window.getComputedStyle(se),_e={overflowX:ve.overflowX,overflowY:ve.overflowY};return ec(_e,gu)||ec(_e,Bc)},ku=function(){return!1;var se,ve,_e,it},Bl=function ae(se){return se==null?null:se===document.body?ku()?se:null:se===document.documentElement?null:tc(se)?se:ae(se.parentElement)},nl=function(ae){if(ae)var se=Bl(ae.parentElement)},Ml=function(ae){return{x:ae.scrollLeft,y:ae.scrollTop}},Ru=function ae(se){if(!se)return!1;var ve=window.getComputedStyle(se);return ve.position==="fixed"?!0:ae(se.parentElement)},nc=function(ae){var se=Bl(ae),ve=Ru(ae);return{closestScrollable:se,isFixedOnPage:ve}},rc=function(ae){var se=ae.descriptor,ve=ae.isEnabled,_e=ae.isCombineEnabled,it=ae.isFixedOnPage,st=ae.direction,pt=ae.client,xt=ae.page,en=ae.closest,yn=function(){if(!en)return null;var On=en.scrollSize,fr=en.client,zr=rr({scrollHeight:On.scrollHeight,scrollWidth:On.scrollWidth,height:fr.paddingBox.height,width:fr.paddingBox.width});return{pageMarginBox:en.page.marginBox,frameClient:fr,scrollSize:On,shouldClipSubject:en.shouldClipSubject,scroll:{initial:en.scroll,current:en.scroll,max:zr,diff:{value:_t,displacement:_t}}}}(),vn=st==="vertical"?Tn:wn,dn=_r({page:xt,withPlaceholder:null,axis:vn,frame:yn}),mn={descriptor:se,isCombineEnabled:_e,isFixedOnPage:it,axis:vn,isEnabled:ve,client:pt,page:xt,frame:yn,subject:dn};return mn},ac=function(se,ve){var _e=Gn(se);if(!ve||se!==ve)return _e;var it=_e.paddingBox.top-ve.scrollTop,st=_e.paddingBox.left-ve.scrollLeft,pt=it+ve.scrollHeight,xt=st+ve.scrollWidth,en={top:it,right:xt,bottom:pt,left:st},yn=Ln(en,_e.border),vn=dr({borderBox:yn,margin:_e.margin,border:_e.border,padding:_e.padding});return vn},ic=function(ae){var se=ae.ref,ve=ae.descriptor,_e=ae.env,it=ae.windowScroll,st=ae.direction,pt=ae.isDropDisabled,xt=ae.isCombineEnabled,en=ae.shouldClipSubject,yn=_e.closestScrollable,vn=ac(se,yn),dn=cr(vn,it),mn=function(){if(!yn)return null;var fr=Gn(yn),zr={scrollHeight:yn.scrollHeight,scrollWidth:yn.scrollWidth};return{client:fr,page:cr(fr,it),scroll:Ml(yn),scrollSize:zr,shouldClipSubject:en}}(),On=rc({descriptor:ve,isEnabled:!pt,isCombineEnabled:xt,isFixedOnPage:_e.isFixedOnPage,direction:st,client:vn,page:dn,closest:mn});return On},oc={passive:!1},Uc={passive:!0},vu=function(ae){return ae.shouldPublishImmediately?oc:Uc};function au(ae){var se=(0,b.useContext)(ae);return se||on(!1),se}var wi=function(se){return se&&se.env.closestScrollable||null};function sc(ae){var se=(0,b.useRef)(null),ve=au(lu),_e=kl("droppable"),it=ve.registry,st=ve.marshal,pt=uu(ae),xt=jt(function(){return{id:ae.droppableId,type:ae.type,mode:ae.mode}},[ae.droppableId,ae.mode,ae.type]),en=(0,b.useRef)(xt),yn=jt(function(){return In(function(Fa,oi){se.current||on(!1);var ni={x:Fa,y:oi};st.updateDroppableScroll(xt.id,ni)})},[xt.id,st]),vn=At(function(){var Fa=se.current;return!Fa||!Fa.env.closestScrollable?_t:Ml(Fa.env.closestScrollable)},[]),dn=At(function(){var Fa=vn();yn(Fa.x,Fa.y)},[vn,yn]),mn=jt(function(){return gr(dn)},[dn]),On=At(function(){var Fa=se.current,oi=wi(Fa);Fa&&oi||on(!1);var ni=Fa.scrollOptions;if(ni.shouldPublishImmediately){dn();return}mn()},[mn,dn]),fr=At(function(Fa,oi){se.current&&on(!1);var ni=pt.current,Ei=ni.getDroppableRef();Ei||on(!1);var ho=nc(Ei),xi={ref:Ei,descriptor:xt,env:ho,scrollOptions:oi};se.current=xi;var mo=ic({ref:Ei,descriptor:xt,env:ho,windowScroll:Fa,direction:ni.direction,isDropDisabled:ni.isDropDisabled,isCombineEnabled:ni.isCombineEnabled,shouldClipSubject:!ni.ignoreContainerClipping}),es=ho.closestScrollable;return es&&(es.setAttribute(x.contextId,ve.contextId),es.addEventListener("scroll",On,vu(xi.scrollOptions))),mo},[ve.contextId,xt,On,pt]),zr=At(function(){var Fa=se.current,oi=wi(Fa);return Fa&&oi||on(!1),Ml(oi)},[]),Jr=At(function(){var Fa=se.current;Fa||on(!1);var oi=wi(Fa);se.current=null,oi&&(mn.cancel(),oi.removeAttribute(x.contextId),oi.removeEventListener("scroll",On,vu(Fa.scrollOptions)))},[On,mn]),ta=At(function(Fa){var oi=se.current;oi||on(!1);var ni=wi(oi);ni||on(!1),ni.scrollTop+=Fa.y,ni.scrollLeft+=Fa.x},[]),fa=jt(function(){return{getDimensionAndWatchScroll:fr,getScrollWhileDragging:zr,dragStopped:Jr,scroll:ta}},[Jr,fr,zr,ta]),Ta=jt(function(){return{uniqueId:_e,descriptor:xt,callbacks:fa}},[fa,xt,_e]);ur(function(){return en.current=Ta.descriptor,it.droppable.register(Ta),function(){se.current&&Jr(),it.droppable.unregister(Ta)}},[fa,xt,Jr,Ta,st,it.droppable]),ur(function(){se.current&&st.updateDroppableIsEnabled(en.current.id,!ae.isDropDisabled)},[ae.isDropDisabled,st]),ur(function(){se.current&&st.updateDroppableIsCombineEnabled(en.current.id,ae.isCombineEnabled)},[ae.isCombineEnabled,st])}function Du(){}var Dl={width:0,height:0,margin:pa},Hc=function(se){var ve=se.isAnimatingOpenOnMount,_e=se.placeholder,it=se.animate;return ve||it==="close"?Dl:{height:_e.client.borderBox.height,width:_e.client.borderBox.width,margin:_e.client.margin}},bu=function(se){var ve=se.isAnimatingOpenOnMount,_e=se.placeholder,it=se.animate,st=Hc({isAnimatingOpenOnMount:ve,placeholder:_e,animate:it});return{display:_e.display,boxSizing:"border-box",width:st.width,height:st.height,marginTop:st.margin.top,marginRight:st.margin.right,marginBottom:st.margin.bottom,marginLeft:st.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:it!=="none"?wo.placeholder:null}};function zc(ae){var se=(0,b.useRef)(null),ve=At(function(){se.current&&(clearTimeout(se.current),se.current=null)},[]),_e=ae.animate,it=ae.onTransitionEnd,st=ae.onClose,pt=ae.contextId,xt=(0,b.useState)(ae.animate==="open"),en=xt[0],yn=xt[1];(0,b.useEffect)(function(){return en?_e!=="open"?(ve(),yn(!1),Du):se.current?Du:(se.current=setTimeout(function(){se.current=null,yn(!1)}),ve):Du},[_e,en,ve]);var vn=At(function(mn){mn.propertyName==="height"&&(it(),_e==="close"&&st())},[_e,st,it]),dn=bu({isAnimatingOpenOnMount:en,animate:ae.animate,placeholder:ae.placeholder});return b.createElement(ae.placeholder.tagName,{style:dn,"data-rbd-placeholder-context-id":pt,onTransitionEnd:vn,ref:ae.innerRef})}var io=b.memo(zc),Ou=b.createContext(null);function lc(ae){ae&&Qr(ae)||on(!1)}function Lu(ae){return typeof ae=="boolean"}function Ul(ae,se){se.forEach(function(ve){return ve(ae)})}var a=[function(se){var ve=se.props;ve.droppableId||on(!1),typeof ve.droppableId!="string"&&on(!1)},function(se){var ve=se.props;Lu(ve.isDropDisabled)||on(!1),Lu(ve.isCombineEnabled)||on(!1),Lu(ve.ignoreContainerClipping)||on(!1)},function(se){var ve=se.getDroppableRef;lc(ve())}],y=[function(se){var ve=se.props,_e=se.getPlaceholderRef;if(ve.placeholder)var it=_e()}],te=[function(se){var ve=se.props;ve.renderClone||on(!1)},function(se){var ve=se.getPlaceholderRef;ve()&&on(!1)}];function ee(ae){Xl(function(){Ul(ae,a),ae.props.mode==="standard"&&Ul(ae,y),ae.props.mode==="virtual"&&Ul(ae,te)})}var re=function(ae){(0,ue.Z)(se,ae);function se(){for(var _e,it=arguments.length,st=new Array(it),pt=0;pt<it;pt++)st[pt]=arguments[pt];return _e=ae.call.apply(ae,[this].concat(st))||this,_e.state={isVisible:!!_e.props.on,data:_e.props.on,animate:_e.props.shouldAnimate&&_e.props.on?"open":"none"},_e.onClose=function(){_e.state.animate==="close"&&_e.setState({isVisible:!1})},_e}se.getDerivedStateFromProps=function(it,st){return it.shouldAnimate?it.on?{isVisible:!0,data:it.on,animate:"open"}:st.isVisible?{isVisible:!0,data:st.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:!!it.on,data:it.on,animate:"none"}};var ve=se.prototype;return ve.render=function(){if(!this.state.isVisible)return null;var it={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(it)},se}(b.PureComponent),ye={dragging:5e3,dropAnimating:4500},He=function(se,ve){return ve?wo.drop(ve.duration):se?wo.snap:wo.fluid},at=function(se,ve){return se?ve?rs.opacity.drop:rs.opacity.combining:null},ut=function(se){return se.forceShouldAnimate!=null?se.forceShouldAnimate:se.mode==="SNAP"};function yt(ae){var se=ae.dimension,ve=se.client,_e=ae.offset,it=ae.combineWith,st=ae.dropping,pt=!!it,xt=ut(ae),en=!!st,yn=en?Ya.drop(_e,pt):Ya.moveTo(_e),vn={position:"fixed",top:ve.marginBox.top,left:ve.marginBox.left,boxSizing:"border-box",width:ve.borderBox.width,height:ve.borderBox.height,transition:He(xt,st),transform:yn,opacity:at(pt,en),zIndex:en?ye.dropAnimating:ye.dragging,pointerEvents:"none"};return vn}function hn(ae){return{transform:Ya.moveTo(ae.offset),transition:ae.shouldAnimateDisplacement?null:"none"}}function bn(ae){return ae.type==="DRAGGING"?yt(ae):hn(ae)}function tr(ae,se,ve){ve===void 0&&(ve=_t);var _e=window.getComputedStyle(se),it=se.getBoundingClientRect(),st=ir(it,_e),pt=cr(st,ve),xt={client:st,tagName:se.tagName.toLowerCase(),display:_e.display},en={x:st.marginBox.width,y:st.marginBox.height},yn={descriptor:ae,placeholder:xt,displaceBy:en,client:st,page:pt};return yn}function Kn(ae){var se=kl("draggable"),ve=ae.descriptor,_e=ae.registry,it=ae.getDraggableRef,st=ae.canDragInteractiveElements,pt=ae.shouldRespectForcePress,xt=ae.isEnabled,en=jt(function(){return{canDragInteractiveElements:st,shouldRespectForcePress:pt,isEnabled:xt}},[st,xt,pt]),yn=At(function(On){var fr=it();return fr||on(!1),tr(ve,fr,On)},[ve,it]),vn=jt(function(){return{uniqueId:se,descriptor:ve,options:en,getDimension:yn}},[ve,yn,en,se]),dn=(0,b.useRef)(vn),mn=(0,b.useRef)(!0);ur(function(){return _e.draggable.register(dn.current),function(){return _e.draggable.unregister(dn.current)}},[_e.draggable]),ur(function(){if(mn.current){mn.current=!1;return}var On=dn.current;dn.current=vn,_e.draggable.update(vn,On)},[vn,_e.draggable])}function Nr(ae,se,ve){Xl(function(){function _e(st){return"Draggable[id: "+st+"]: "}var it=ae.draggableId;it||on(!1),typeof it!="string"&&on(!1),aa(ae.index)||on(!1),ae.mapped.type!=="DRAGGING"&&(lc(ve()),ae.isEnabled&&(Va(se,it)||on(!1)))})}function Mr(ae){}function Yr(ae){ae.preventDefault()}function oa(ae){var se=(0,b.useRef)(null),ve=At(function(xi){se.current=xi},[]),_e=At(function(){return se.current},[]),it=au(lu),st=it.contextId,pt=it.dragHandleUsageInstructionsId,xt=it.registry,en=au(Ou),yn=en.type,vn=en.droppableId,dn=jt(function(){return{id:ae.draggableId,index:ae.index,type:yn,droppableId:vn}},[ae.draggableId,ae.index,yn,vn]),mn=ae.children,On=ae.draggableId,fr=ae.isEnabled,zr=ae.shouldRespectForcePress,Jr=ae.canDragInteractiveElements,ta=ae.isClone,fa=ae.mapped,Ta=ae.dropAnimationFinished;if(Nr(ae,st,_e),Mr(ta),!ta){var Fa=jt(function(){return{descriptor:dn,registry:xt,getDraggableRef:_e,canDragInteractiveElements:Jr,shouldRespectForcePress:zr,isEnabled:fr}},[dn,xt,_e,Jr,zr,fr]);Kn(Fa)}var oi=jt(function(){return fr?{tabIndex:0,role:"button","aria-describedby":pt,"data-rbd-drag-handle-draggable-id":On,"data-rbd-drag-handle-context-id":st,draggable:!1,onDragStart:Yr}:null},[st,pt,On,fr]),ni=At(function(xi){fa.type==="DRAGGING"&&fa.dropping&&xi.propertyName==="transform"&&Ta()},[Ta,fa]),Ei=jt(function(){var xi=bn(fa),mo=fa.type==="DRAGGING"&&fa.dropping?ni:null,es={innerRef:ve,draggableProps:{"data-rbd-draggable-context-id":st,"data-rbd-draggable-id":On,style:xi,onTransitionEnd:mo},dragHandleProps:oi};return es},[st,oi,On,fa,ni,ve]),ho=jt(function(){return{draggableId:dn.id,type:dn.type,source:{index:dn.index,droppableId:dn.droppableId}}},[dn.droppableId,dn.id,dn.index,dn.type]);return mn(Ei,fa.snapshot,ho)}var da=function(ae,se){return ae===se},ia=function(ae){var se=ae.combine,ve=ae.destination;return ve?ve.droppableId:se?se.droppableId:null},Ca=function(se){return se.combine?se.combine.draggableId:null},Ka=function(se){return se.at&&se.at.type==="COMBINE"?se.at.combine.draggableId:null};function Ua(){var ae=In(function(it,st){return{x:it,y:st}}),se=In(function(it,st,pt,xt,en){return{isDragging:!0,isClone:st,isDropAnimating:!!en,dropAnimation:en,mode:it,draggingOver:pt,combineWith:xt,combineTargetFor:null}}),ve=In(function(it,st,pt,xt,en,yn,vn){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:en,combineWith:yn,mode:st,offset:it,dimension:pt,forceShouldAnimate:vn,snapshot:se(st,xt,en,yn,null)}}}),_e=function(st,pt){if(st.isDragging){if(st.critical.draggable.id!==pt.draggableId)return null;var xt=st.current.client.offset,en=st.dimensions.draggables[pt.draggableId],yn=Ni(st.impact),vn=Ka(st.impact),dn=st.forceShouldAnimate;return ve(ae(xt.x,xt.y),st.movementMode,en,pt.isClone,yn,vn,dn)}if(st.phase==="DROP_ANIMATING"){var mn=st.completed;if(mn.result.draggableId!==pt.draggableId)return null;var On=pt.isClone,fr=st.dimensions.draggables[pt.draggableId],zr=mn.result,Jr=zr.mode,ta=ia(zr),fa=Ca(zr),Ta=st.dropDuration,Fa={duration:Ta,curve:bo.drop,moveTo:st.newHomeClientOffset,opacity:fa?rs.opacity.drop:null,scale:fa?rs.scale.drop:null};return{mapped:{type:"DRAGGING",offset:st.newHomeClientOffset,dimension:fr,dropping:Fa,draggingOver:ta,combineWith:fa,mode:Jr,forceShouldAnimate:null,snapshot:se(Jr,On,ta,fa,Fa)}}}return null};return _e}function si(ae){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:ae,combineWith:null}}var Gi={mapped:{type:"SECONDARY",offset:_t,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:si(null)}};function Oo(){var ae=In(function(pt,xt){return{x:pt,y:xt}}),se=In(si),ve=In(function(pt,xt,en){return xt===void 0&&(xt=null),{mapped:{type:"SECONDARY",offset:pt,combineTargetFor:xt,shouldAnimateDisplacement:en,snapshot:se(xt)}}}),_e=function(xt){return xt?ve(_t,xt,!0):null},it=function(xt,en,yn,vn){var dn=yn.displaced.visible[xt],mn=!!(vn.inVirtualList&&vn.effected[xt]),On=vr(yn),fr=On&&On.draggableId===xt?en:null;if(!dn){if(!mn)return _e(fr);if(yn.displaced.invisible[xt])return null;var zr=ha(vn.displacedBy.point),Jr=ae(zr.x,zr.y);return ve(Jr,fr,!0)}if(mn)return _e(fr);var ta=yn.displacedBy.point,fa=ae(ta.x,ta.y);return ve(fa,fr,dn.shouldAnimate)},st=function(xt,en){if(xt.isDragging)return xt.critical.draggable.id===en.draggableId?null:it(en.draggableId,xt.critical.draggable.id,xt.impact,xt.afterCritical);if(xt.phase==="DROP_ANIMATING"){var yn=xt.completed;return yn.result.draggableId===en.draggableId?null:it(en.draggableId,yn.result.draggableId,yn.impact,yn.afterCritical)}return null};return st}var $i=function(){var se=Ua(),ve=Oo(),_e=function(st,pt){return se(st,pt)||ve(st,pt)||Gi};return _e},bs={dropAnimationFinished:Vs},us=Mt($i,bs,null,{context:is,pure:!0,areStatePropsEqual:da})(oa);function oo(ae){var se=au(Ou),ve=se.isUsingCloneFor;return ve===ae.draggableId&&!ae.isClone?null:b.createElement(us,ae)}function cs(ae){var se=typeof ae.isDragDisabled=="boolean"?!ae.isDragDisabled:!0,ve=!!ae.disableInteractiveElementBlocking,_e=!!ae.shouldRespectForcePress;return b.createElement(oo,(0,le.Z)({},ae,{isClone:!1,isEnabled:se,canDragInteractiveElements:ve,shouldRespectForcePress:_e}))}function Go(ae){var se=(0,b.useContext)(lu);se||on(!1);var ve=se.contextId,_e=se.isMovementAllowed,it=(0,b.useRef)(null),st=(0,b.useRef)(null),pt=ae.children,xt=ae.droppableId,en=ae.type,yn=ae.mode,vn=ae.direction,dn=ae.ignoreContainerClipping,mn=ae.isDropDisabled,On=ae.isCombineEnabled,fr=ae.snapshot,zr=ae.useClone,Jr=ae.updateViewportMaxScroll,ta=ae.getContainerForClone,fa=At(function(){return it.current},[]),Ta=At(function(fs){it.current=fs},[]),Fa=At(function(){return st.current},[]),oi=At(function(fs){st.current=fs},[]);ee({props:ae,getDroppableRef:fa,getPlaceholderRef:Fa});var ni=At(function(){_e()&&Jr({maxScroll:kn()})},[_e,Jr]);sc({droppableId:xt,type:en,mode:yn,direction:vn,isDropDisabled:mn,isCombineEnabled:On,ignoreContainerClipping:dn,getDroppableRef:fa});var Ei=b.createElement(re,{on:ae.placeholder,shouldAnimate:ae.shouldAnimatePlaceholder},function(fs){var Cl=fs.onClose,dl=fs.data,Ys=fs.animate;return b.createElement(io,{placeholder:dl,onClose:Cl,innerRef:oi,animate:Ys,contextId:ve,onTransitionEnd:ni})}),ho=jt(function(){return{innerRef:Ta,placeholder:Ei,droppableProps:{"data-rbd-droppable-id":xt,"data-rbd-droppable-context-id":ve}}},[ve,xt,Ei,Ta]),xi=zr?zr.dragging.draggableId:null,mo=jt(function(){return{droppableId:xt,type:en,isUsingCloneFor:xi}},[xt,xi,en]);function es(){if(!zr)return null;var fs=zr.dragging,Cl=zr.render,dl=b.createElement(oo,{draggableId:fs.draggableId,index:fs.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(Ys,xl){return Cl(Ys,xl,fs)});return tn.createPortal(dl,ta())}return b.createElement(Ou.Provider,{value:mo},pt(ho,fr),es())}var so=function(se,ve){return se===ve.droppable.type},lo=function(se,ve){return ve.draggables[se.draggable.id]},ro=function(){var se={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},ve=(0,le.Z)({},se,{shouldAnimatePlaceholder:!1}),_e=In(function(pt){return{draggableId:pt.id,type:pt.type,source:{index:pt.index,droppableId:pt.droppableId}}}),it=In(function(pt,xt,en,yn,vn,dn){var mn=vn.descriptor.id,On=vn.descriptor.droppableId===pt;if(On){var fr=dn?{render:dn,dragging:_e(vn.descriptor)}:null,zr={isDraggingOver:en,draggingOverWith:en?mn:null,draggingFromThisWith:mn,isUsingPlaceholder:!0};return{placeholder:vn.placeholder,shouldAnimatePlaceholder:!1,snapshot:zr,useClone:fr}}if(!xt)return ve;if(!yn)return se;var Jr={isDraggingOver:en,draggingOverWith:mn,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:vn.placeholder,shouldAnimatePlaceholder:!0,snapshot:Jr,useClone:null}}),st=function(xt,en){var yn=en.droppableId,vn=en.type,dn=!en.isDropDisabled,mn=en.renderClone;if(xt.isDragging){var On=xt.critical;if(!so(vn,On))return ve;var fr=lo(On,xt.dimensions),zr=Ni(xt.impact)===yn;return it(yn,dn,zr,zr,fr,mn)}if(xt.phase==="DROP_ANIMATING"){var Jr=xt.completed;if(!so(vn,Jr.critical))return ve;var ta=lo(Jr.critical,xt.dimensions);return it(yn,dn,ia(Jr.result)===yn,Ni(Jr.impact)===yn,ta,mn)}if(xt.phase==="IDLE"&&xt.completed&&!xt.shouldFlush){var fa=xt.completed;if(!so(vn,fa.critical))return ve;var Ta=Ni(fa.impact)===yn,Fa=!!(fa.impact.at&&fa.impact.at.type==="COMBINE"),oi=fa.critical.droppable.id===yn;return Ta?Fa?se:ve:oi?se:ve}return ve};return st},ds={updateViewportMaxScroll:Os};function Hl(){return document.body||on(!1),document.body}var Sl={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Hl},Wo=Mt(ro,ds,null,{context:is,pure:!0,areStatePropsEqual:da})(Go);Wo.defaultProps=Sl},38486:function(me,ne){"use strict";var E;var b=60103,ue=60106,le=60107,ce=60108,ge=60114,oe=60109,xe=60110,Oe=60112,Se=60113,he=60120,Ve=60115,Ae=60116,ct=60121,Ke=60122,qe=60117,Me=60129,ze=60131;if(typeof Symbol=="function"&&Symbol.for){var Ze=Symbol.for;b=Ze("react.element"),ue=Ze("react.portal"),le=Ze("react.fragment"),ce=Ze("react.strict_mode"),ge=Ze("react.profiler"),oe=Ze("react.provider"),xe=Ze("react.context"),Oe=Ze("react.forward_ref"),Se=Ze("react.suspense"),he=Ze("react.suspense_list"),Ve=Ze("react.memo"),Ae=Ze("react.lazy"),ct=Ze("react.block"),Ke=Ze("react.server.block"),qe=Ze("react.fundamental"),Me=Ze("react.debug_trace_mode"),ze=Ze("react.legacy_hidden")}function Le(Xe){if(typeof Xe=="object"&&Xe!==null){var et=Xe.$$typeof;switch(et){case b:switch(Xe=Xe.type,Xe){case le:case ge:case ce:case Se:case he:return Xe;default:switch(Xe=Xe&&Xe.$$typeof,Xe){case xe:case Oe:case Ae:case Ve:case oe:return Xe;default:return et}}case ue:return et}}}var Pe=oe,ke=b,Re=Oe,Te=le,Ye=Ae,lt=Ve,Fe=ue,tt=ge,$e=ce,Ue=Se;E=xe,E=Pe,E=ke,E=Re,E=Te,E=Ye,E=lt,E=Fe,E=tt,E=$e,E=Ue,E=function(){return!1},E=function(){return!1},ne.isContextConsumer=function(Xe){return Le(Xe)===xe},E=function(Xe){return Le(Xe)===oe},E=function(Xe){return typeof Xe=="object"&&Xe!==null&&Xe.$$typeof===b},E=function(Xe){return Le(Xe)===Oe},E=function(Xe){return Le(Xe)===le},E=function(Xe){return Le(Xe)===Ae},E=function(Xe){return Le(Xe)===Ve},E=function(Xe){return Le(Xe)===ue},E=function(Xe){return Le(Xe)===ge},E=function(Xe){return Le(Xe)===ce},E=function(Xe){return Le(Xe)===Se},E=function(Xe){return typeof Xe=="string"||typeof Xe=="function"||Xe===le||Xe===ge||Xe===Me||Xe===ce||Xe===Se||Xe===he||Xe===ze||typeof Xe=="object"&&Xe!==null&&(Xe.$$typeof===Ae||Xe.$$typeof===Ve||Xe.$$typeof===oe||Xe.$$typeof===xe||Xe.$$typeof===Oe||Xe.$$typeof===qe||Xe.$$typeof===ct||Xe[0]===Ke)},E=Le},53410:function(me,ne,E){"use strict";me.exports=E(38486)},77596:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return je}});var b=E(43079),ue=E(3300),le=E(74430),ce=E(59301),ge=E(32855);function oe(Be,wt){var Ot=Object.keys(Be);if(Object.getOwnPropertySymbols){var ot=Object.getOwnPropertySymbols(Be);wt&&(ot=ot.filter(function(zt){return Object.getOwnPropertyDescriptor(Be,zt).enumerable})),Ot.push.apply(Ot,ot)}return Ot}function xe(Be){for(var wt=1;wt<arguments.length;wt++){var Ot=arguments[wt]!=null?arguments[wt]:{};wt%2?oe(Object(Ot),!0).forEach(function(ot){(0,le.Z)(Be,ot,Ot[ot])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Be,Object.getOwnPropertyDescriptors(Ot)):oe(Object(Ot)).forEach(function(ot){Object.defineProperty(Be,ot,Object.getOwnPropertyDescriptor(Ot,ot))})}return Be}function Oe(Be){var wt=Be.length;if(wt===0||wt===1)return Be;if(wt===2)return[Be[0],Be[1],"".concat(Be[0],".").concat(Be[1]),"".concat(Be[1],".").concat(Be[0])];if(wt===3)return[Be[0],Be[1],Be[2],"".concat(Be[0],".").concat(Be[1]),"".concat(Be[0],".").concat(Be[2]),"".concat(Be[1],".").concat(Be[0]),"".concat(Be[1],".").concat(Be[2]),"".concat(Be[2],".").concat(Be[0]),"".concat(Be[2],".").concat(Be[1]),"".concat(Be[0],".").concat(Be[1],".").concat(Be[2]),"".concat(Be[0],".").concat(Be[2],".").concat(Be[1]),"".concat(Be[1],".").concat(Be[0],".").concat(Be[2]),"".concat(Be[1],".").concat(Be[2],".").concat(Be[0]),"".concat(Be[2],".").concat(Be[0],".").concat(Be[1]),"".concat(Be[2],".").concat(Be[1],".").concat(Be[0])];if(wt>=4)return[Be[0],Be[1],Be[2],Be[3],"".concat(Be[0],".").concat(Be[1]),"".concat(Be[0],".").concat(Be[2]),"".concat(Be[0],".").concat(Be[3]),"".concat(Be[1],".").concat(Be[0]),"".concat(Be[1],".").concat(Be[2]),"".concat(Be[1],".").concat(Be[3]),"".concat(Be[2],".").concat(Be[0]),"".concat(Be[2],".").concat(Be[1]),"".concat(Be[2],".").concat(Be[3]),"".concat(Be[3],".").concat(Be[0]),"".concat(Be[3],".").concat(Be[1]),"".concat(Be[3],".").concat(Be[2]),"".concat(Be[0],".").concat(Be[1],".").concat(Be[2]),"".concat(Be[0],".").concat(Be[1],".").concat(Be[3]),"".concat(Be[0],".").concat(Be[2],".").concat(Be[1]),"".concat(Be[0],".").concat(Be[2],".").concat(Be[3]),"".concat(Be[0],".").concat(Be[3],".").concat(Be[1]),"".concat(Be[0],".").concat(Be[3],".").concat(Be[2]),"".concat(Be[1],".").concat(Be[0],".").concat(Be[2]),"".concat(Be[1],".").concat(Be[0],".").concat(Be[3]),"".concat(Be[1],".").concat(Be[2],".").concat(Be[0]),"".concat(Be[1],".").concat(Be[2],".").concat(Be[3]),"".concat(Be[1],".").concat(Be[3],".").concat(Be[0]),"".concat(Be[1],".").concat(Be[3],".").concat(Be[2]),"".concat(Be[2],".").concat(Be[0],".").concat(Be[1]),"".concat(Be[2],".").concat(Be[0],".").concat(Be[3]),"".concat(Be[2],".").concat(Be[1],".").concat(Be[0]),"".concat(Be[2],".").concat(Be[1],".").concat(Be[3]),"".concat(Be[2],".").concat(Be[3],".").concat(Be[0]),"".concat(Be[2],".").concat(Be[3],".").concat(Be[1]),"".concat(Be[3],".").concat(Be[0],".").concat(Be[1]),"".concat(Be[3],".").concat(Be[0],".").concat(Be[2]),"".concat(Be[3],".").concat(Be[1],".").concat(Be[0]),"".concat(Be[3],".").concat(Be[1],".").concat(Be[2]),"".concat(Be[3],".").concat(Be[2],".").concat(Be[0]),"".concat(Be[3],".").concat(Be[2],".").concat(Be[1]),"".concat(Be[0],".").concat(Be[1],".").concat(Be[2],".").concat(Be[3]),"".concat(Be[0],".").concat(Be[1],".").concat(Be[3],".").concat(Be[2]),"".concat(Be[0],".").concat(Be[2],".").concat(Be[1],".").concat(Be[3]),"".concat(Be[0],".").concat(Be[2],".").concat(Be[3],".").concat(Be[1]),"".concat(Be[0],".").concat(Be[3],".").concat(Be[1],".").concat(Be[2]),"".concat(Be[0],".").concat(Be[3],".").concat(Be[2],".").concat(Be[1]),"".concat(Be[1],".").concat(Be[0],".").concat(Be[2],".").concat(Be[3]),"".concat(Be[1],".").concat(Be[0],".").concat(Be[3],".").concat(Be[2]),"".concat(Be[1],".").concat(Be[2],".").concat(Be[0],".").concat(Be[3]),"".concat(Be[1],".").concat(Be[2],".").concat(Be[3],".").concat(Be[0]),"".concat(Be[1],".").concat(Be[3],".").concat(Be[0],".").concat(Be[2]),"".concat(Be[1],".").concat(Be[3],".").concat(Be[2],".").concat(Be[0]),"".concat(Be[2],".").concat(Be[0],".").concat(Be[1],".").concat(Be[3]),"".concat(Be[2],".").concat(Be[0],".").concat(Be[3],".").concat(Be[1]),"".concat(Be[2],".").concat(Be[1],".").concat(Be[0],".").concat(Be[3]),"".concat(Be[2],".").concat(Be[1],".").concat(Be[3],".").concat(Be[0]),"".concat(Be[2],".").concat(Be[3],".").concat(Be[0],".").concat(Be[1]),"".concat(Be[2],".").concat(Be[3],".").concat(Be[1],".").concat(Be[0]),"".concat(Be[3],".").concat(Be[0],".").concat(Be[1],".").concat(Be[2]),"".concat(Be[3],".").concat(Be[0],".").concat(Be[2],".").concat(Be[1]),"".concat(Be[3],".").concat(Be[1],".").concat(Be[0],".").concat(Be[2]),"".concat(Be[3],".").concat(Be[1],".").concat(Be[2],".").concat(Be[0]),"".concat(Be[3],".").concat(Be[2],".").concat(Be[0],".").concat(Be[1]),"".concat(Be[3],".").concat(Be[2],".").concat(Be[1],".").concat(Be[0])]}var Se={};function he(Be){if(Be.length===0||Be.length===1)return Be;var wt=Be.join(".");return Se[wt]||(Se[wt]=Oe(Be)),Se[wt]}function Ve(Be){var wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ot=arguments.length>2?arguments[2]:void 0,ot=Be.filter(function(Ut){return Ut!=="token"}),zt=he(ot);return zt.reduce(function(Ut,pn){return xe(xe({},Ut),Ot[pn])},wt)}function Ae(Be){return Be.join(" ")}function ct(Be,wt){var Ot=0;return function(ot){return Ot+=1,ot.map(function(zt,Ut){return Ke({node:zt,stylesheet:Be,useInlineStyles:wt,key:"code-segment-".concat(Ot,"-").concat(Ut)})})}}function Ke(Be){var wt=Be.node,Ot=Be.stylesheet,ot=Be.style,zt=ot===void 0?{}:ot,Ut=Be.useInlineStyles,pn=Be.key,bt=wt.properties,Yt=wt.type,Bt=wt.tagName,$t=wt.value;if(Yt==="text")return $t;if(Bt){var cn=ct(Ot,Ut),Ie;if(!Ut)Ie=xe(xe({},bt),{},{className:Ae(bt.className)});else{var pe=Object.keys(Ot).reduce(function(fe,Qe){return Qe.split(".").forEach(function(Mt){fe.includes(Mt)||fe.push(Mt)}),fe},[]),de=bt.className&&bt.className.includes("token")?["token"]:[],Ee=bt.className&&de.concat(bt.className.filter(function(fe){return!pe.includes(fe)}));Ie=xe(xe({},bt),{},{className:Ae(Ee)||void 0,style:Ve(bt.className,Object.assign({},bt.style,zt),Ot)})}var De=cn(wt.children);return ce.createElement(Bt,(0,ge.Z)({key:pn},Ie),De)}}var qe=function(Be,wt){var Ot=Be.listLanguages();return Ot.indexOf(wt)!==-1},Me=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function ze(Be,wt){var Ot=Object.keys(Be);if(Object.getOwnPropertySymbols){var ot=Object.getOwnPropertySymbols(Be);wt&&(ot=ot.filter(function(zt){return Object.getOwnPropertyDescriptor(Be,zt).enumerable})),Ot.push.apply(Ot,ot)}return Ot}function Ze(Be){for(var wt=1;wt<arguments.length;wt++){var Ot=arguments[wt]!=null?arguments[wt]:{};wt%2?ze(Object(Ot),!0).forEach(function(ot){(0,le.Z)(Be,ot,Ot[ot])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Be,Object.getOwnPropertyDescriptors(Ot)):ze(Object(Ot)).forEach(function(ot){Object.defineProperty(Be,ot,Object.getOwnPropertyDescriptor(Ot,ot))})}return Be}var Le=/\n/g;function Pe(Be){return Be.match(Le)}function ke(Be){var wt=Be.lines,Ot=Be.startingLineNumber,ot=Be.style;return wt.map(function(zt,Ut){var pn=Ut+Ot;return ce.createElement("span",{key:"line-".concat(Ut),className:"react-syntax-highlighter-line-number",style:typeof ot=="function"?ot(pn):ot},"".concat(pn,`
`))})}function Re(Be){var wt=Be.codeString,Ot=Be.codeStyle,ot=Be.containerStyle,zt=ot===void 0?{float:"left",paddingRight:"10px"}:ot,Ut=Be.numberStyle,pn=Ut===void 0?{}:Ut,bt=Be.startingLineNumber;return ce.createElement("code",{style:Object.assign({},Ot,zt)},ke({lines:wt.replace(/\n$/,"").split(`
`),style:pn,startingLineNumber:bt}))}function Te(Be){return"".concat(Be.toString().length,".25em")}function Ye(Be,wt){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(Be),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:wt},children:[{type:"text",value:Be}]}}function lt(Be,wt,Ot){var ot={display:"inline-block",minWidth:Te(Ot),paddingRight:"1em",textAlign:"right",userSelect:"none"},zt=typeof Be=="function"?Be(wt):Be,Ut=Ze(Ze({},ot),zt);return Ut}function Fe(Be){var wt=Be.children,Ot=Be.lineNumber,ot=Be.lineNumberStyle,zt=Be.largestLineNumber,Ut=Be.showInlineLineNumbers,pn=Be.lineProps,bt=pn===void 0?{}:pn,Yt=Be.className,Bt=Yt===void 0?[]:Yt,$t=Be.showLineNumbers,cn=Be.wrapLongLines,Ie=Be.wrapLines,pe=Ie===void 0?!1:Ie,de=pe?Ze({},typeof bt=="function"?bt(Ot):bt):{};if(de.className=de.className?[].concat((0,ue.Z)(de.className.trim().split(/\s+/)),(0,ue.Z)(Bt)):Bt,Ot&&Ut){var Ee=lt(ot,Ot,zt);wt.unshift(Ye(Ot,Ee))}return cn&$t&&(de.style=Ze({display:"flex"},de.style)),{type:"element",tagName:"span",properties:de,children:wt}}function tt(Be){for(var wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],ot=0;ot<Be.length;ot++){var zt=Be[ot];if(zt.type==="text")Ot.push(Fe({children:[zt],className:(0,ue.Z)(new Set(wt))}));else if(zt.children){var Ut=wt.concat(zt.properties.className);tt(zt.children,Ut).forEach(function(pn){return Ot.push(pn)})}}return Ot}function $e(Be,wt,Ot,ot,zt,Ut,pn,bt,Yt){var Bt,$t=tt(Be.value),cn=[],Ie=-1,pe=0;function de(Sn,gt){var Ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return Fe({children:Sn,lineNumber:gt,lineNumberStyle:bt,largestLineNumber:pn,showInlineLineNumbers:zt,lineProps:Ot,className:Ft,showLineNumbers:ot,wrapLongLines:Yt,wrapLines:wt})}function Ee(Sn,gt){if(ot&&gt&&zt){var Ft=lt(bt,gt,pn);Sn.unshift(Ye(gt,Ft))}return Sn}function De(Sn,gt){var Ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return wt||Ft.length>0?de(Sn,gt,Ft):Ee(Sn,gt)}for(var fe=function(){var gt=$t[pe],Ft=gt.children[0].value,Lt=Pe(Ft);if(Lt){var Jt=Ft.split(`
`);Jt.forEach(function(fn,Zt){var mt=ot&&cn.length+Ut,tn={type:"text",value:"".concat(fn,`
`)};if(Zt===0){var Ct=$t.slice(Ie+1,pe).concat(Fe({children:[tn],className:gt.properties.className})),Rt=De(Ct,mt);cn.push(Rt)}else if(Zt===Jt.length-1){var vt=$t[pe+1]&&$t[pe+1].children&&$t[pe+1].children[0],jt={type:"text",value:"".concat(fn)};if(vt){var At=Fe({children:[jt],className:gt.properties.className});$t.splice(pe+1,0,At)}else{var Je=[jt],un=De(Je,mt,gt.properties.className);cn.push(un)}}else{var gn=[tn],Et=De(gn,mt,gt.properties.className);cn.push(Et)}}),Ie=pe}pe++};pe<$t.length;)fe();if(Ie!==$t.length-1){var Qe=$t.slice(Ie+1,$t.length);if(Qe&&Qe.length){var Mt=ot&&cn.length+Ut,an=De(Qe,Mt);cn.push(an)}}return wt?cn:(Bt=[]).concat.apply(Bt,cn)}function Ue(Be){var wt=Be.rows,Ot=Be.stylesheet,ot=Be.useInlineStyles;return wt.map(function(zt,Ut){return Ke({node:zt,stylesheet:Ot,useInlineStyles:ot,key:"code-segement".concat(Ut)})})}function Xe(Be){return Be&&typeof Be.highlightAuto!="undefined"}function et(Be){var wt=Be.astGenerator,Ot=Be.language,ot=Be.code,zt=Be.defaultCodeValue;if(Xe(wt)){var Ut=qe(wt,Ot);return Ot==="text"?{value:zt,language:"text"}:Ut?wt.highlight(Ot,ot):wt.highlightAuto(ot)}try{return Ot&&Ot!=="text"?{value:wt.highlight(ot,Ot)}:{value:zt}}catch(pn){return{value:zt}}}function rt(Be,wt){return function(ot){var zt=ot.language,Ut=ot.children,pn=ot.style,bt=pn===void 0?wt:pn,Yt=ot.customStyle,Bt=Yt===void 0?{}:Yt,$t=ot.codeTagProps,cn=$t===void 0?{className:zt?"language-".concat(zt):void 0,style:Ze(Ze({},bt['code[class*="language-"]']),bt['code[class*="language-'.concat(zt,'"]')])}:$t,Ie=ot.useInlineStyles,pe=Ie===void 0?!0:Ie,de=ot.showLineNumbers,Ee=de===void 0?!1:de,De=ot.showInlineLineNumbers,fe=De===void 0?!0:De,Qe=ot.startingLineNumber,Mt=Qe===void 0?1:Qe,an=ot.lineNumberContainerStyle,Sn=ot.lineNumberStyle,gt=Sn===void 0?{}:Sn,Ft=ot.wrapLines,Lt=ot.wrapLongLines,Jt=Lt===void 0?!1:Lt,fn=ot.lineProps,Zt=fn===void 0?{}:fn,mt=ot.renderer,tn=ot.PreTag,Ct=tn===void 0?"pre":tn,Rt=ot.CodeTag,vt=Rt===void 0?"code":Rt,jt=ot.code,At=jt===void 0?(Array.isArray(Ut)?Ut[0]:Ut)||"":jt,Je=ot.astGenerator,un=(0,b.Z)(ot,Me);Je=Je||Be;var gn=Ee?ce.createElement(Re,{containerStyle:an,codeStyle:cn.style||{},numberStyle:gt,startingLineNumber:Mt,codeString:At}):null,Et=bt.hljs||bt['pre[class*="language-"]']||{backgroundColor:"#fff"},Ln=Xe(Je)?"hljs":"prismjs",ar=pe?Object.assign({},un,{style:Object.assign({},Et,Bt)}):Object.assign({},un,{className:un.className?"".concat(Ln," ").concat(un.className):Ln,style:Object.assign({},Bt)});if(Jt?cn.style=Ze({whiteSpace:"pre-wrap"},cn.style):cn.style=Ze({whiteSpace:"pre"},cn.style),!Je)return ce.createElement(Ct,ar,gn,ce.createElement(vt,cn,At));(Ft===void 0&&mt||Jt)&&(Ft=!0),mt=mt||Ue;var Hn=[{type:"text",value:At}],Vt=et({astGenerator:Je,language:zt,code:At,defaultCodeValue:Hn});Vt.language===null&&(Vt.value=Hn);var dr=Vt.value.length;dr===1&&Vt.value[0].type==="text"&&(dr=Vt.value[0].value.split(`
`).length);var qn=dr+Mt,xn=$e(Vt,Ft,Zt,Ee,fe,Mt,qn,gt,Jt);return ce.createElement(Ct,ar,ce.createElement(vt,cn,!fe&&gn,mt({rows:xn,stylesheet:bt,useInlineStyles:pe})))}}var ht={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},kt=E(11594),St=E.n(kt),Gt=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"],nt=rt(St(),ht);nt.supportedLanguages=Gt;var je=nt},14179:function(me,ne){"use strict";ne.Z={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'pre[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#1e1e1e"},".namespace":{Opacity:".7"},"doctype.doctype-tag":{color:"#569CD6"},"doctype.name":{color:"#9cdcfe"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},".language-html .language-css .token.punctuation":{color:"#d4d4d4"},".language-html .language-javascript .token.punctuation":{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9cdcfe"},symbol:{color:"#b5cea8"},inserted:{color:"#b5cea8"},unit:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},deleted:{color:"#ce9178"},".language-css .token.string.url":{textDecoration:"underline"},operator:{color:"#d4d4d4"},entity:{color:"#569cd6"},"operator.arrow":{color:"#569CD6"},atrule:{color:"#ce9178"},"atrule.rule":{color:"#c586c0"},"atrule.url":{color:"#9cdcfe"},"atrule.url.function":{color:"#dcdcaa"},"atrule.url.punctuation":{color:"#d4d4d4"},keyword:{color:"#569CD6"},"keyword.module":{color:"#c586c0"},"keyword.control-flow":{color:"#c586c0"},function:{color:"#dcdcaa"},"function.maybe-class-name":{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#569cd6"},italic:{fontStyle:"italic"},"class-name":{color:"#4ec9b0"},"maybe-class-name":{color:"#4ec9b0"},console:{color:"#9cdcfe"},parameter:{color:"#9cdcfe"},interpolation:{color:"#9cdcfe"},"punctuation.interpolation-punctuation":{color:"#569cd6"},variable:{color:"#9cdcfe"},"imports.maybe-class-name":{color:"#9cdcfe"},"exports.maybe-class-name":{color:"#9cdcfe"},escape:{color:"#d7ba7d"},"tag.punctuation":{color:"#808080"},cdata:{color:"#808080"},"attr-value":{color:"#ce9178"},"attr-value.punctuation":{color:"#ce9178"},"attr-value.punctuation.attr-equals":{color:"#d4d4d4"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#9cdcfe"},'code[class*="language-javascript"]':{color:"#9cdcfe"},'pre[class*="language-jsx"]':{color:"#9cdcfe"},'code[class*="language-jsx"]':{color:"#9cdcfe"},'pre[class*="language-typescript"]':{color:"#9cdcfe"},'code[class*="language-typescript"]':{color:"#9cdcfe"},'pre[class*="language-tsx"]':{color:"#9cdcfe"},'code[class*="language-tsx"]':{color:"#9cdcfe"},'pre[class*="language-css"]':{color:"#ce9178"},'code[class*="language-css"]':{color:"#ce9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-regex .token.anchor":{color:"#dcdcaa"},".language-html .token.punctuation":{color:"#808080"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0"}}},19524:function(me,ne,E){"use strict";E(84126);var b=E(59301),ue=60103;if(ne.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var le=Symbol.for;ue=le("react.element"),ne.Fragment=le("react.fragment")}var ce=b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,ge=Object.prototype.hasOwnProperty,oe={key:!0,ref:!0,__self:!0,__source:!0};function xe(Oe,Se,he){var Ve,Ae={},ct=null,Ke=null;he!==void 0&&(ct=""+he),Se.key!==void 0&&(ct=""+Se.key),Se.ref!==void 0&&(Ke=Se.ref);for(Ve in Se)ge.call(Se,Ve)&&!oe.hasOwnProperty(Ve)&&(Ae[Ve]=Se[Ve]);if(Oe&&Oe.defaultProps)for(Ve in Se=Oe.defaultProps,Se)Ae[Ve]===void 0&&(Ae[Ve]=Se[Ve]);return{$$typeof:ue,type:Oe,key:ct,ref:Ke,props:Ae,_owner:ce.current}}ne.jsx=xe,ne.jsxs=xe},37712:function(me,ne,E){"use strict";me.exports=E(19524)},95489:function(me,ne,E){"use strict";var b=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof E.g=="object"?E.g:{},ue=Re();b.Prism={manual:!0,disableWorkerMessageHandler:!0};var le=E(43621),ce=E(12256),ge=E(68398),oe=E(70614),xe=E(54212),Oe=E(9720),Se=E(88786);ue();var he={}.hasOwnProperty;function Ve(){}Ve.prototype=ge;var Ae=new Ve;me.exports=Ae,Ae.highlight=qe,Ae.register=ct,Ae.alias=Ke,Ae.registered=Me,Ae.listLanguages=ze,ct(oe),ct(xe),ct(Oe),ct(Se),Ae.util.encode=Pe,Ae.Token.stringify=Ze;function ct(Te){if(typeof Te!="function"||!Te.displayName)throw new Error("Expected `function` for `grammar`, got `"+Te+"`");Ae.languages[Te.displayName]===void 0&&Te(Ae)}function Ke(Te,Ye){var lt=Ae.languages,Fe=Te,tt,$e,Ue,Xe;Ye&&(Fe={},Fe[Te]=Ye);for(tt in Fe)for($e=Fe[tt],$e=typeof $e=="string"?[$e]:$e,Ue=$e.length,Xe=-1;++Xe<Ue;)lt[$e[Xe]]=lt[tt]}function qe(Te,Ye){var lt=ge.highlight,Fe;if(typeof Te!="string")throw new Error("Expected `string` for `value`, got `"+Te+"`");if(Ae.util.type(Ye)==="Object")Fe=Ye,Ye=null;else{if(typeof Ye!="string")throw new Error("Expected `string` for `name`, got `"+Ye+"`");if(he.call(Ae.languages,Ye))Fe=Ae.languages[Ye];else throw new Error("Unknown language: `"+Ye+"` is not registered")}return lt.call(this,Te,Fe,Ye)}function Me(Te){if(typeof Te!="string")throw new Error("Expected `string` for `language`, got `"+Te+"`");return he.call(Ae.languages,Te)}function ze(){var Te=Ae.languages,Ye=[],lt;for(lt in Te)he.call(Te,lt)&&typeof Te[lt]=="object"&&Ye.push(lt);return Ye}function Ze(Te,Ye,lt){var Fe;return typeof Te=="string"?{type:"text",value:Te}:Ae.util.type(Te)==="Array"?Le(Te,Ye):(Fe={type:Te.type,content:Ae.Token.stringify(Te.content,Ye,lt),tag:"span",classes:["token",Te.type],attributes:{},language:Ye,parent:lt},Te.alias&&(Fe.classes=Fe.classes.concat(Te.alias)),Ae.hooks.run("wrap",Fe),le(Fe.tag+"."+Fe.classes.join("."),ke(Fe.attributes),Fe.content))}function Le(Te,Ye){for(var lt=[],Fe=Te.length,tt=-1,$e;++tt<Fe;)$e=Te[tt],$e!==""&&$e!==null&&$e!==void 0&&lt.push($e);for(tt=-1,Fe=lt.length;++tt<Fe;)$e=lt[tt],lt[tt]=Ae.Token.stringify($e,Ye,lt);return lt}function Pe(Te){return Te}function ke(Te){var Ye;for(Ye in Te)Te[Ye]=ce(Te[Ye]);return Te}function Re(){var Te="Prism"in b,Ye=Te?b.Prism:void 0;return lt;function lt(){Te?b.Prism=Ye:delete b.Prism,Te=void 0,Ye=void 0}}},11594:function(me,ne,E){"use strict";var b=E(95489);me.exports=b,b.register(E(79007)),b.register(E(15465)),b.register(E(42746)),b.register(E(93281)),b.register(E(95143)),b.register(E(65924)),b.register(E(65043)),b.register(E(43556)),b.register(E(14901)),b.register(E(4248)),b.register(E(17758)),b.register(E(33335)),b.register(E(17427)),b.register(E(22956)),b.register(E(56007)),b.register(E(45652)),b.register(E(33819)),b.register(E(84230)),b.register(E(20803)),b.register(E(65235)),b.register(E(52406)),b.register(E(79571)),b.register(E(3058)),b.register(E(51422)),b.register(E(1618)),b.register(E(2505)),b.register(E(51274)),b.register(E(23796)),b.register(E(13979)),b.register(E(87994)),b.register(E(47035)),b.register(E(36142)),b.register(E(85290)),b.register(E(7407)),b.register(E(79440)),b.register(E(7110)),b.register(E(73435)),b.register(E(91372)),b.register(E(63663)),b.register(E(92987)),b.register(E(91657)),b.register(E(34367)),b.register(E(35348)),b.register(E(26841)),b.register(E(87071)),b.register(E(13652)),b.register(E(87648)),b.register(E(10617)),b.register(E(5348)),b.register(E(71053)),b.register(E(69820)),b.register(E(41929)),b.register(E(51837)),b.register(E(4182)),b.register(E(22117)),b.register(E(95627)),b.register(E(34265)),b.register(E(50618)),b.register(E(32126)),b.register(E(26737)),b.register(E(90134)),b.register(E(51348)),b.register(E(60841)),b.register(E(42857)),b.register(E(81269)),b.register(E(31134)),b.register(E(83125)),b.register(E(9438)),b.register(E(27771)),b.register(E(86549)),b.register(E(37079)),b.register(E(59250)),b.register(E(81226)),b.register(E(65245)),b.register(E(25040)),b.register(E(40284)),b.register(E(39187)),b.register(E(34302)),b.register(E(90515)),b.register(E(33534)),b.register(E(9885)),b.register(E(76364)),b.register(E(56452)),b.register(E(8477)),b.register(E(58230)),b.register(E(66192)),b.register(E(81084)),b.register(E(50318)),b.register(E(95769)),b.register(E(14155)),b.register(E(92823)),b.register(E(63092)),b.register(E(21550)),b.register(E(29710)),b.register(E(2050)),b.register(E(67967)),b.register(E(29138)),b.register(E(67915)),b.register(E(54853)),b.register(E(68330)),b.register(E(76823)),b.register(E(86712)),b.register(E(72252)),b.register(E(78634)),b.register(E(43583)),b.register(E(23328)),b.register(E(74494)),b.register(E(46745)),b.register(E(22152)),b.register(E(83698)),b.register(E(26619)),b.register(E(53990)),b.register(E(7093)),b.register(E(4005)),b.register(E(53510)),b.register(E(24799)),b.register(E(97443)),b.register(E(80746)),b.register(E(17015)),b.register(E(89246)),b.register(E(487)),b.register(E(79539)),b.register(E(15628)),b.register(E(14320)),b.register(E(73222)),b.register(E(92486)),b.register(E(24103)),b.register(E(40604)),b.register(E(23109)),b.register(E(32082)),b.register(E(77674)),b.register(E(37524)),b.register(E(6658)),b.register(E(24824)),b.register(E(22776)),b.register(E(89700)),b.register(E(99296)),b.register(E(39940)),b.register(E(34973)),b.register(E(98135)),b.register(E(36907)),b.register(E(3567)),b.register(E(23763)),b.register(E(33978)),b.register(E(40472)),b.register(E(44695)),b.register(E(53885)),b.register(E(51478)),b.register(E(16928)),b.register(E(13586)),b.register(E(37164)),b.register(E(25153)),b.register(E(33245)),b.register(E(32218)),b.register(E(65626)),b.register(E(60090)),b.register(E(40722)),b.register(E(37783)),b.register(E(41224)),b.register(E(71365)),b.register(E(42846)),b.register(E(32964)),b.register(E(78830)),b.register(E(88799)),b.register(E(66791)),b.register(E(41735)),b.register(E(13490)),b.register(E(7383)),b.register(E(66894)),b.register(E(45779)),b.register(E(27734)),b.register(E(91889)),b.register(E(55965)),b.register(E(37326)),b.register(E(92949)),b.register(E(5681)),b.register(E(70696)),b.register(E(35790)),b.register(E(25777)),b.register(E(65889)),b.register(E(53852)),b.register(E(97719)),b.register(E(63839)),b.register(E(67623)),b.register(E(32530)),b.register(E(8938)),b.register(E(55259)),b.register(E(67411)),b.register(E(15375)),b.register(E(12093)),b.register(E(83588)),b.register(E(94127)),b.register(E(21294)),b.register(E(38709)),b.register(E(15008)),b.register(E(96549)),b.register(E(5221)),b.register(E(27447)),b.register(E(73191)),b.register(E(75542)),b.register(E(50323)),b.register(E(44298)),b.register(E(9634)),b.register(E(75266)),b.register(E(48139)),b.register(E(97534)),b.register(E(90826)),b.register(E(63919)),b.register(E(68862)),b.register(E(39523)),b.register(E(31207)),b.register(E(75308)),b.register(E(45315)),b.register(E(13794)),b.register(E(41299)),b.register(E(98177)),b.register(E(48780)),b.register(E(79793)),b.register(E(52085)),b.register(E(65411)),b.register(E(84750)),b.register(E(88216)),b.register(E(66433)),b.register(E(34855)),b.register(E(12998)),b.register(E(10202)),b.register(E(41186)),b.register(E(68963)),b.register(E(5569)),b.register(E(69435)),b.register(E(42766)),b.register(E(46449)),b.register(E(89032)),b.register(E(40241)),b.register(E(24812)),b.register(E(16747)),b.register(E(73584)),b.register(E(79243)),b.register(E(31788)),b.register(E(60871)),b.register(E(21023)),b.register(E(14693)),b.register(E(8743)),b.register(E(1689)),b.register(E(69210)),b.register(E(58710)),b.register(E(60452)),b.register(E(92784)),b.register(E(36489)),b.register(E(78380)),b.register(E(10409)),b.register(E(6539)),b.register(E(82028)),b.register(E(62282)),b.register(E(55686)),b.register(E(70889)),b.register(E(37116)),b.register(E(66963)),b.register(E(21078)),b.register(E(96198)),b.register(E(17723)),b.register(E(67771)),b.register(E(30307)),b.register(E(8921)),b.register(E(13429)),b.register(E(65197)),b.register(E(88904)),b.register(E(35)),b.register(E(86095)),b.register(E(76998)),b.register(E(14409)),b.register(E(33460)),b.register(E(28108))},79007:function(me){"use strict";me.exports=ne,ne.displayName="abap",ne.aliases=[];function ne(E){E.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}},15465:function(me){"use strict";me.exports=ne,ne.displayName="abnf",ne.aliases=[];function ne(E){(function(b){var ue="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";b.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+ue+"|<"+ue+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(E)}},42746:function(me){"use strict";me.exports=ne,ne.displayName="actionscript",ne.aliases=[];function ne(E){E.languages.actionscript=E.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),E.languages.actionscript["class-name"].alias="function",delete E.languages.actionscript.parameter,delete E.languages.actionscript["literal-property"],E.languages.markup&&E.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:E.languages.markup}})}},93281:function(me){"use strict";me.exports=ne,ne.displayName="ada",ne.aliases=[];function ne(E){E.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}},95143:function(me){"use strict";me.exports=ne,ne.displayName="agda",ne.aliases=[];function ne(E){(function(b){b.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(E)}},65924:function(me){"use strict";me.exports=ne,ne.displayName="al",ne.aliases=[];function ne(E){E.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}},65043:function(me){"use strict";me.exports=ne,ne.displayName="antlr4",ne.aliases=["g4"];function ne(E){E.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},E.languages.g4=E.languages.antlr4}},43556:function(me){"use strict";me.exports=ne,ne.displayName="apacheconf",ne.aliases=[];function ne(E){E.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}},14901:function(me,ne,E){"use strict";var b=E(69435);me.exports=ue,ue.displayName="apex",ue.aliases=[];function ue(le){le.register(b),function(ce){var ge=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,oe=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!<keyword>))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(/<keyword>/g,function(){return ge.source});function xe(Se){return RegExp(Se.replace(/<CLASS-NAME>/g,function(){return oe}),"i")}var Oe={keyword:ge,punctuation:/[()\[\]{};,:.<>]/};ce.languages.apex={comment:ce.languages.clike.comment,string:ce.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:ce.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:xe(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)<CLASS-NAME>/.source),lookbehind:!0,inside:Oe},{pattern:xe(/(\(\s*)<CLASS-NAME>(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:Oe},{pattern:xe(/<CLASS-NAME>(?=\s*\w+\s*[;=,(){:])/.source),inside:Oe}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:ge,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<<?=?|>{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(le)}},4248:function(me){"use strict";me.exports=ne,ne.displayName="apl",ne.aliases=[];function ne(E){E.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}},17758:function(me){"use strict";me.exports=ne,ne.displayName="applescript",ne.aliases=[];function ne(E){E.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}},33335:function(me){"use strict";me.exports=ne,ne.displayName="aql",ne.aliases=[];function ne(E){E.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}},17427:function(me,ne,E){"use strict";var b=E(87071);me.exports=ue,ue.displayName="arduino",ue.aliases=["ino"];function ue(le){le.register(b),le.languages.arduino=le.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),le.languages.ino=le.languages.arduino}},22956:function(me){"use strict";me.exports=ne,ne.displayName="arff",ne.aliases=[];function ne(E){E.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}},56007:function(me){"use strict";me.exports=ne,ne.displayName="asciidoc",ne.aliases=["adoc"];function ne(E){(function(b){var ue={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},le=b.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:ue,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)<?\d*>/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:ue.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:ue,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function ce(ge){ge=ge.split(" ");for(var oe={},xe=0,Oe=ge.length;xe<Oe;xe++)oe[ge[xe]]=le[ge[xe]];return oe}ue.inside.interpreted.inside.rest=ce("macro inline replacement entity"),le["passthrough-block"].inside.rest=ce("macro"),le["literal-block"].inside.rest=ce("callout"),le.table.inside.rest=ce("comment-block passthrough-block literal-block other-block list-punctuation indented-block comment title attribute-entry attributes hr page-break admonition list-label callout macro inline replacement entity line-continuation"),le["other-block"].inside.rest=ce("table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation"),le.title.inside.rest=ce("macro inline replacement entity"),b.hooks.add("wrap",function(ge){ge.type==="entity"&&(ge.attributes.title=ge.content.value.replace(/&amp;/,"&"))}),b.languages.adoc=b.languages.asciidoc})(E)}},45652:function(me){"use strict";me.exports=ne,ne.displayName="asm6502",ne.aliases=[];function ne(E){E.languages.asm6502={comment:/;.*/,directive:{pattern:/\.\w+(?= )/,alias:"property"},string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,"op-code":{pattern:/\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{1,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[xya]\b/i,alias:"variable"},punctuation:/[(),:]/}}},33819:function(me){"use strict";me.exports=ne,ne.displayName="asmatmel",ne.aliases=[];function ne(E){E.languages.asmatmel={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},constant:/\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/,directive:{pattern:/\.\w+(?= )/,alias:"property"},"r-register":{pattern:/\br(?:\d|[12]\d|3[01])\b/,alias:"variable"},"op-code":{pattern:/\b(?:ADC|ADD|ADIW|AND|ANDI|ASR|BCLR|BLD|BRBC|BRBS|BRCC|BRCS|BREAK|BREQ|BRGE|BRHC|BRHS|BRID|BRIE|BRLO|BRLT|BRMI|BRNE|BRPL|BRSH|BRTC|BRTS|BRVC|BRVS|BSET|BST|CALL|CBI|CBR|CLC|CLH|CLI|CLN|CLR|CLS|CLT|CLV|CLZ|COM|CP|CPC|CPI|CPSE|DEC|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|adc|add|adiw|and|andi|asr|bclr|bld|brbc|brbs|brcc|brcs|break|breq|brge|brhc|brhs|brid|brie|brlo|brlt|brmi|brne|brpl|brsh|brtc|brts|brvc|brvs|bset|bst|call|cbi|cbr|clc|clh|cli|cln|clr|cls|clt|clv|clz|com|cp|cpc|cpi|cpse|dec|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{2,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[acznvshtixy]\b/i,alias:"variable"},operator:/>>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}},84230:function(me,ne,E){"use strict";var b=E(87648);me.exports=ue,ue.displayName="aspnet",ue.aliases=[];function ue(le){le.register(b),le.languages.aspnet=le.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:le.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:le.languages.csharp}}}),le.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,le.languages.insertBefore("inside","punctuation",{directive:le.languages.aspnet.directive},le.languages.aspnet.tag.inside["attr-value"]),le.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),le.languages.insertBefore("aspnet",le.languages.javascript?"script":"tag",{"asp-script":{pattern:/(<script(?=.*runat=['"]?server\b)[^>]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:le.languages.csharp||{}}})}},20803:function(me){"use strict";me.exports=ne,ne.displayName="autohotkey",ne.aliases=[];function ne(E){E.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}},65235:function(me){"use strict";me.exports=ne,ne.displayName="autoit",ne.aliases=[];function ne(E){E.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}},52406:function(me){"use strict";me.exports=ne,ne.displayName="avisynth",ne.aliases=["avs"];function ne(E){(function(b){function ue(Se,he){return Se.replace(/<<(\d+)>>/g,function(Ve,Ae){return he[+Ae]})}function le(Se,he,Ve){return RegExp(ue(Se,he),Ve||"")}var ce=/bool|clip|float|int|string|val/.source,ge=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),oe=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),xe=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),Oe=[ge,oe,xe].join("|");b.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:le(/\b(?:<<0>>)\s+("?)\w+\1/.source,[ce],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:le(/\b(?:<<0>>)\b/.source,[Oe],"i"),alias:"function"},"type-cast":{pattern:le(/\b(?:<<0>>)(?=\s*\()/.source,[ce],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},b.languages.avs=b.languages.avisynth})(E)}},79571:function(me){"use strict";me.exports=ne,ne.displayName="avroIdl",ne.aliases=[];function ne(E){E.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},E.languages.avdl=E.languages["avro-idl"]}},3058:function(me){"use strict";me.exports=ne,ne.displayName="bash",ne.aliases=["shell"];function ne(E){(function(b){var ue="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",le={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},ce={bash:le,environment:{pattern:RegExp("\\$"+ue),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+ue),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};b.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+ue),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:ce},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:le}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:ce},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:ce.entity}}],environment:{pattern:RegExp("\\$?"+ue),alias:"constant"},variable:ce.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},le.inside=b.languages.bash;for(var ge=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],oe=ce.variable[1].inside,xe=0;xe<ge.length;xe++)oe[ge[xe]]=b.languages.bash[ge[xe]];b.languages.shell=b.languages.bash})(E)}},51422:function(me){"use strict";me.exports=ne,ne.displayName="basic",ne.aliases=[];function ne(E){E.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}},1618:function(me){"use strict";me.exports=ne,ne.displayName="batch",ne.aliases=[];function ne(E){(function(b){var ue=/%%?[~:\w]+%?|!\S+!/,le={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},ce=/"(?:[\\"]"|[^"])*"(?!")/,ge=/(?:\b|-)\d+\b/;b.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:ce,parameter:le,variable:ue,number:ge,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:ce,parameter:le,variable:ue,number:ge,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:ce,parameter:le,variable:[ue,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:ge,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:ce,parameter:le,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:ue,number:ge,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(E)}},2505:function(me){"use strict";me.exports=ne,ne.displayName="bbcode",ne.aliases=["shortcode"];function ne(E){E.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},E.languages.shortcode=E.languages.bbcode}},51274:function(me){"use strict";me.exports=ne,ne.displayName="bicep",ne.aliases=[];function ne(E){E.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},E.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=E.languages.bicep}},23796:function(me){"use strict";me.exports=ne,ne.displayName="birb",ne.aliases=[];function ne(E){E.languages.birb=E.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),E.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}},13979:function(me,ne,E){"use strict";var b=E(79440);me.exports=ue,ue.displayName="bison",ue.aliases=[];function ue(le){le.register(b),le.languages.bison=le.languages.extend("c",{}),le.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:le.languages.c}},comment:le.languages.c.comment,string:le.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}},87994:function(me){"use strict";me.exports=ne,ne.displayName="bnf",ne.aliases=["rbnf"];function ne(E){E.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},E.languages.rbnf=E.languages.bnf}},47035:function(me){"use strict";me.exports=ne,ne.displayName="brainfuck",ne.aliases=[];function ne(E){E.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}},36142:function(me){"use strict";me.exports=ne,ne.displayName="brightscript",ne.aliases=[];function ne(E){E.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},E.languages.brightscript["directive-statement"].inside.expression.inside=E.languages.brightscript}},85290:function(me){"use strict";me.exports=ne,ne.displayName="bro",ne.aliases=[];function ne(E){E.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}},7407:function(me){"use strict";me.exports=ne,ne.displayName="bsl",ne.aliases=[];function ne(E){E.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},E.languages.oscript=E.languages.bsl}},79440:function(me){"use strict";me.exports=ne,ne.displayName="c",ne.aliases=[];function ne(E){E.languages.c=E.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),E.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),E.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},E.languages.c.string],char:E.languages.c.char,comment:E.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:E.languages.c}}}}),E.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete E.languages.c.boolean}},7110:function(me){"use strict";me.exports=ne,ne.displayName="cfscript",ne.aliases=[];function ne(E){E.languages.cfscript=E.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),E.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete E.languages.cfscript["class-name"],E.languages.cfc=E.languages.cfscript}},73435:function(me,ne,E){"use strict";var b=E(87071);me.exports=ue,ue.displayName="chaiscript",ue.aliases=[];function ue(le){le.register(b),le.languages.chaiscript=le.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[le.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),le.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),le.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:le.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}},91372:function(me){"use strict";me.exports=ne,ne.displayName="cil",ne.aliases=[];function ne(E){E.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}},9720:function(me){"use strict";me.exports=ne,ne.displayName="clike",ne.aliases=[];function ne(E){E.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}},63663:function(me){"use strict";me.exports=ne,ne.displayName="clojure",ne.aliases=[];function ne(E){E.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}},92987:function(me){"use strict";me.exports=ne,ne.displayName="cmake",ne.aliases=[];function ne(E){E.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}},91657:function(me){"use strict";me.exports=ne,ne.displayName="cobol",ne.aliases=[];function ne(E){E.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}},34367:function(me){"use strict";me.exports=ne,ne.displayName="coffeescript",ne.aliases=["coffee"];function ne(E){(function(b){var ue=/#(?!\{).+/,le={pattern:/#\{[^}]+\}/,alias:"variable"};b.languages.coffeescript=b.languages.extend("javascript",{comment:ue,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:le}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),b.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:ue,interpolation:le}}}),b.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:b.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:le}}]}),b.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete b.languages.coffeescript["template-string"],b.languages.coffee=b.languages.coffeescript})(E)}},35348:function(me){"use strict";me.exports=ne,ne.displayName="concurnas",ne.aliases=["conc"];function ne(E){E.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},E.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:E.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:E.languages.concurnas},string:/[\s\S]+/}}}),E.languages.conc=E.languages.concurnas}},26841:function(me){"use strict";me.exports=ne,ne.displayName="coq",ne.aliases=[];function ne(E){(function(b){for(var ue=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|<self>)*\*\)/.source,le=0;le<2;le++)ue=ue.replace(/<self>/g,function(){return ue});ue=ue.replace(/<self>/g,"[]"),b.languages.coq={comment:RegExp(ue),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|<comment>)*\]/.source.replace(/<comment>/g,function(){return ue})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(ue),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(E)}},87071:function(me,ne,E){"use strict";var b=E(79440);me.exports=ue,ue.displayName="cpp",ue.aliases=[];function ue(le){le.register(b),function(ce){var ge=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,oe=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return ge.source});ce.languages.cpp=ce.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return ge.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:ge,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),ce.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return oe})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),ce.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:ce.languages.cpp}}}}),ce.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),ce.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:ce.languages.extend("cpp",{})}}),ce.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},ce.languages.cpp["base-clause"])}(le)}},13652:function(me,ne,E){"use strict";var b=E(75308);me.exports=ue,ue.displayName="crystal",ue.aliases=[];function ue(le){le.register(b),function(ce){ce.languages.crystal=ce.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,ce.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),ce.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:ce.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:ce.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(le)}},87648:function(me){"use strict";me.exports=ne,ne.displayName="csharp",ne.aliases=["dotnet","cs"];function ne(E){(function(b){function ue(Gt,nt){return Gt.replace(/<<(\d+)>>/g,function(je,Be){return"(?:"+nt[+Be]+")"})}function le(Gt,nt,je){return RegExp(ue(Gt,nt),je||"")}function ce(Gt,nt){for(var je=0;je<nt;je++)Gt=Gt.replace(/<<self>>/g,function(){return"(?:"+Gt+")"});return Gt.replace(/<<self>>/g,"[^\\s\\S]")}var ge={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function oe(Gt){return"\\b(?:"+Gt.trim().replace(/ /g,"|")+")\\b"}var xe=oe(ge.typeDeclaration),Oe=RegExp(oe(ge.type+" "+ge.typeDeclaration+" "+ge.contextual+" "+ge.other)),Se=oe(ge.typeDeclaration+" "+ge.contextual+" "+ge.other),he=oe(ge.type+" "+ge.typeDeclaration+" "+ge.other),Ve=ce(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),Ae=ce(/\((?:[^()]|<<self>>)*\)/.source,2),ct=/@?\b[A-Za-z_]\w*\b/.source,Ke=ue(/<<0>>(?:\s*<<1>>)?/.source,[ct,Ve]),qe=ue(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[Se,Ke]),Me=/\[\s*(?:,\s*)*\]/.source,ze=ue(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[qe,Me]),Ze=ue(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[Ve,Ae,Me]),Le=ue(/\(<<0>>+(?:,<<0>>+)+\)/.source,[Ze]),Pe=ue(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[Le,qe,Me]),ke={keyword:Oe,punctuation:/[<>()?,.:[\]]/},Re=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,Te=/"(?:\\.|[^\\"\r\n])*"/.source,Ye=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;b.languages.csharp=b.languages.extend("clike",{string:[{pattern:le(/(^|[^$\\])<<0>>/.source,[Ye]),lookbehind:!0,greedy:!0},{pattern:le(/(^|[^@$\\])<<0>>/.source,[Te]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:le(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[qe]),lookbehind:!0,inside:ke},{pattern:le(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[ct,Pe]),lookbehind:!0,inside:ke},{pattern:le(/(\busing\s+)<<0>>(?=\s*=)/.source,[ct]),lookbehind:!0},{pattern:le(/(\b<<0>>\s+)<<1>>/.source,[xe,Ke]),lookbehind:!0,inside:ke},{pattern:le(/(\bcatch\s*\(\s*)<<0>>/.source,[qe]),lookbehind:!0,inside:ke},{pattern:le(/(\bwhere\s+)<<0>>/.source,[ct]),lookbehind:!0},{pattern:le(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[ze]),lookbehind:!0,inside:ke},{pattern:le(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[Pe,he,ct]),inside:ke}],keyword:Oe,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),b.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),b.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:le(/([(,]\s*)<<0>>(?=\s*:)/.source,[ct]),lookbehind:!0,alias:"punctuation"}}),b.languages.insertBefore("csharp","class-name",{namespace:{pattern:le(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[ct]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:le(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[Ae]),lookbehind:!0,alias:"class-name",inside:ke},"return-type":{pattern:le(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[Pe,qe]),inside:ke,alias:"class-name"},"constructor-invocation":{pattern:le(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[Pe]),lookbehind:!0,inside:ke,alias:"class-name"},"generic-method":{pattern:le(/<<0>>\s*<<1>>(?=\s*\()/.source,[ct,Ve]),inside:{function:le(/^<<0>>/.source,[ct]),generic:{pattern:RegExp(Ve),alias:"class-name",inside:ke}}},"type-list":{pattern:le(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[xe,Ke,ct,Pe,Oe.source,Ae,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:le(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[Ke,Ae]),lookbehind:!0,greedy:!0,inside:b.languages.csharp},keyword:Oe,"class-name":{pattern:RegExp(Pe),greedy:!0,inside:ke},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var lt=Te+"|"+Re,Fe=ue(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[lt]),tt=ce(ue(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[Fe]),2),$e=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,Ue=ue(/<<0>>(?:\s*\(<<1>>*\))?/.source,[qe,tt]);b.languages.insertBefore("csharp","class-name",{attribute:{pattern:le(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[$e,Ue]),lookbehind:!0,greedy:!0,inside:{target:{pattern:le(/^<<0>>(?=\s*:)/.source,[$e]),alias:"keyword"},"attribute-arguments":{pattern:le(/\(<<0>>*\)/.source,[tt]),inside:b.languages.csharp},"class-name":{pattern:RegExp(qe),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var Xe=/:[^}\r\n]+/.source,et=ce(ue(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[Fe]),2),rt=ue(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[et,Xe]),ht=ce(ue(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[lt]),2),kt=ue(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[ht,Xe]);function St(Gt,nt){return{interpolation:{pattern:le(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[Gt]),lookbehind:!0,inside:{"format-string":{pattern:le(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[nt,Xe]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:b.languages.csharp}}},string:/[\s\S]+/}}b.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:le(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[rt]),lookbehind:!0,greedy:!0,inside:St(rt,et)},{pattern:le(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[kt]),lookbehind:!0,greedy:!0,inside:St(kt,ht)}],char:{pattern:RegExp(Re),greedy:!0}}),b.languages.dotnet=b.languages.cs=b.languages.csharp})(E)}},10617:function(me,ne,E){"use strict";var b=E(87648);me.exports=ue,ue.displayName="cshtml",ue.aliases=["razor"];function ue(le){le.register(b),function(ce){var ge=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,oe=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function xe(ze,Ze){for(var Le=0;Le<Ze;Le++)ze=ze.replace(/<self>/g,function(){return"(?:"+ze+")"});return ze.replace(/<self>/g,"[^\\s\\S]").replace(/<str>/g,"(?:"+oe+")").replace(/<comment>/g,"(?:"+ge+")")}var Oe=xe(/\((?:[^()'"@/]|<str>|<comment>|<self>)*\)/.source,2),Se=xe(/\[(?:[^\[\]'"@/]|<str>|<comment>|<self>)*\]/.source,2),he=xe(/\{(?:[^{}'"@/]|<str>|<comment>|<self>)*\}/.source,2),Ve=xe(/<(?:[^<>'"@/]|<str>|<comment>|<self>)*>/.source,2),Ae=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,ct=/(?!\d)[^\s>\/=$<%]+/.source+Ae+/\s*\/?>/.source,Ke=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+Ae+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+ct+"|"+xe(/<\1/.source+Ae+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+ct+"|<self>")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/</.source+ct+")";ce.languages.cshtml=ce.languages.extend("markup",{});var qe=ce.languages.insertBefore("csharp","string",{html:{pattern:RegExp(Ke),greedy:!0,inside:ce.languages.cshtml}},{csharp:ce.languages.extend("csharp",{})}),Me={pattern:/\S[\s\S]*/,alias:"language-csharp",inside:qe};ce.languages.insertBefore("cshtml","prolog",{"razor-comment":{pattern:/@\*[\s\S]*?\*@/,greedy:!0,alias:"comment"},block:{pattern:RegExp(/(^|[^@])@/.source+"(?:"+[he,/(?:code|functions)\s*/.source+he,/(?:for|foreach|lock|switch|using|while)\s*/.source+Oe+/\s*/.source+he,/do\s*/.source+he+/\s*while\s*/.source+Oe+/(?:\s*;)?/.source,/try\s*/.source+he+/\s*catch\s*/.source+Oe+/\s*/.source+he+/\s*finally\s*/.source+he,/if\s*/.source+Oe+/\s*/.source+he+"(?:"+/\s*else/.source+"(?:"+/\s+if\s*/.source+Oe+")?"+/\s*/.source+he+")*"].join("|")+")"),lookbehind:!0,greedy:!0,inside:{keyword:/^@\w*/,csharp:Me}},directive:{pattern:/^([ \t]*)@(?:addTagHelper|attribute|implements|inherits|inject|layout|model|namespace|page|preservewhitespace|removeTagHelper|section|tagHelperPrefix|using)(?=\s).*/m,lookbehind:!0,greedy:!0,inside:{keyword:/^@\w+/,csharp:Me}},value:{pattern:RegExp(/(^|[^@])@/.source+/(?:await\b\s*)?/.source+"(?:"+/\w+\b/.source+"|"+Oe+")(?:"+/[?!]?\.\w+\b/.source+"|"+Oe+"|"+Se+"|"+Ve+Oe+")*"),lookbehind:!0,greedy:!0,alias:"variable",inside:{keyword:/^@/,csharp:Me}},"delegate-operator":{pattern:/(^|[^@])@(?=<)/,lookbehind:!0,alias:"operator"}}),ce.languages.razor=ce.languages.cshtml}(le)}},5348:function(me){"use strict";me.exports=ne,ne.displayName="csp",ne.aliases=[];function ne(E){(function(b){function ue(le){return RegExp(/([ \t])/.source+"(?:"+le+")"+/(?=[\s;]|$)/.source,"i")}b.languages.csp={directive:{pattern:/(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,lookbehind:!0,alias:"property"},scheme:{pattern:ue(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:ue(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:ue(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:ue(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:ue(/[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source+"|"+/\*[^\s;,']*/.source+"|"+/[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source),lookbehind:!0,alias:"url",inside:{important:/\*/}},keyword:[{pattern:ue(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:ue(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}})(E)}},71053:function(me){"use strict";me.exports=ne,ne.displayName="cssExtras",ne.aliases=[];function ne(E){(function(b){var ue=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,le;b.languages.css.selector={pattern:b.languages.css.selector.pattern,lookbehind:!0,inside:le={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+ue.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[ue,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},b.languages.css.atrule.inside["selector-function-argument"].inside=le,b.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var ce={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},ge={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};b.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:ce,number:ge,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:ce,number:ge})})(E)}},54212:function(me){"use strict";me.exports=ne,ne.displayName="css",ne.aliases=[];function ne(E){(function(b){var ue=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;b.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+ue.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+ue.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+ue.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:ue,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},b.languages.css.atrule.inside.rest=b.languages.css;var le=b.languages.markup;le&&(le.tag.addInlined("style","css"),le.tag.addAttribute("style","css"))})(E)}},69820:function(me){"use strict";me.exports=ne,ne.displayName="csv",ne.aliases=[];function ne(E){E.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}},41929:function(me){"use strict";me.exports=ne,ne.displayName="cypher",ne.aliases=[];function ne(E){E.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}},51837:function(me){"use strict";me.exports=ne,ne.displayName="d",ne.aliases=[];function ne(E){E.languages.d=E.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),E.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),E.languages.insertBefore("d","keyword",{property:/\B@\w*/}),E.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}},4182:function(me){"use strict";me.exports=ne,ne.displayName="dart",ne.aliases=[];function ne(E){(function(b){var ue=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],le=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,ce={pattern:RegExp(le+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};b.languages.dart=b.languages.extend("clike",{"class-name":[ce,{pattern:RegExp(le+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:ce.inside}],keyword:ue,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),b.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:b.languages.dart}}},string:/[\s\S]+/}},string:void 0}),b.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),b.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":ce,keyword:ue,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(E)}},22117:function(me){"use strict";me.exports=ne,ne.displayName="dataweave",ne.aliases=[];function ne(E){(function(b){b.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(E)}},95627:function(me){"use strict";me.exports=ne,ne.displayName="dax",ne.aliases=[];function ne(E){E.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}},34265:function(me){"use strict";me.exports=ne,ne.displayName="dhall",ne.aliases=[];function ne(E){E.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},E.languages.dhall.string.inside.interpolation.inside.expression.inside=E.languages.dhall}},50618:function(me){"use strict";me.exports=ne,ne.displayName="diff",ne.aliases=[];function ne(E){(function(b){b.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var ue={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(ue).forEach(function(le){var ce=ue[le],ge=[];/^\w+$/.test(le)||ge.push(/\w+/.exec(le)[0]),le==="diff"&&ge.push("bold"),b.languages.diff[le]={pattern:RegExp("^(?:["+ce+`].*(?:\r
?|
|(?![\\s\\S])))+`,"m"),alias:ge,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(le)[0]}}}}),Object.defineProperty(b.languages.diff,"PREFIXES",{value:ue})})(E)}},32126:function(me,ne,E){"use strict";var b=E(51478);me.exports=ue,ue.displayName="django",ue.aliases=["jinja2"];function ue(le){le.register(b),function(ce){ce.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var ge=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,oe=ce.languages["markup-templating"];ce.hooks.add("before-tokenize",function(xe){oe.buildPlaceholders(xe,"django",ge)}),ce.hooks.add("after-tokenize",function(xe){oe.tokenizePlaceholders(xe,"django")}),ce.languages.jinja2=ce.languages.django,ce.hooks.add("before-tokenize",function(xe){oe.buildPlaceholders(xe,"jinja2",ge)}),ce.hooks.add("after-tokenize",function(xe){oe.tokenizePlaceholders(xe,"jinja2")})}(le)}},26737:function(me){"use strict";me.exports=ne,ne.displayName="dnsZoneFile",ne.aliases=[];function ne(E){E.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},E.languages["dns-zone"]=E.languages["dns-zone-file"]}},90134:function(me){"use strict";me.exports=ne,ne.displayName="docker",ne.aliases=["dockerfile"];function ne(E){(function(b){var ue=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,le=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return ue}),ce=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,ge=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return ce}),oe={pattern:RegExp(ce),greedy:!0},xe={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function Oe(Se,he){return Se=Se.replace(/<OPT>/g,function(){return ge}).replace(/<SP>/g,function(){return le}),RegExp(Se,he)}b.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:Oe(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[oe,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:Oe(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:Oe(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:Oe(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:xe,string:oe,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:xe},b.languages.dockerfile=b.languages.docker})(E)}},51348:function(me){"use strict";me.exports=ne,ne.displayName="dot",ne.aliases=["gv"];function ne(E){(function(b){var ue="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!<!--)<(?:[^<>"']|"[^"]*"|'[^']*')+>|<!--(?:[^-]|-(?!->))*-->)*>/.source].join("|")+")",le={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:b.languages.markup}};function ce(ge,oe){return RegExp(ge.replace(/<ID>/g,function(){return ue}),oe)}b.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:ce(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)<ID>/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:le},"attr-value":{pattern:ce(/(=[ \t\r\n]*)<ID>/.source),lookbehind:!0,greedy:!0,inside:le},"attr-name":{pattern:ce(/([\[;, \t\r\n])<ID>(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:le},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:ce(/(^|[^-.\w\x80-\uFFFF\\])<ID>/.source),lookbehind:!0,greedy:!0,inside:le},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},b.languages.gv=b.languages.dot})(E)}},60841:function(me){"use strict";me.exports=ne,ne.displayName="ebnf",ne.aliases=[];function ne(E){E.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}},42857:function(me){"use strict";me.exports=ne,ne.displayName="editorconfig",ne.aliases=[];function ne(E){E.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}},81269:function(me){"use strict";me.exports=ne,ne.displayName="eiffel",ne.aliases=[];function ne(E){E.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}},31134:function(me,ne,E){"use strict";var b=E(51478);me.exports=ue,ue.displayName="ejs",ue.aliases=["eta"];function ue(le){le.register(b),function(ce){ce.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:ce.languages.javascript}},ce.hooks.add("before-tokenize",function(ge){var oe=/<%(?!%)[\s\S]+?%>/g;ce.languages["markup-templating"].buildPlaceholders(ge,"ejs",oe)}),ce.hooks.add("after-tokenize",function(ge){ce.languages["markup-templating"].tokenizePlaceholders(ge,"ejs")}),ce.languages.eta=ce.languages.ejs}(le)}},83125:function(me){"use strict";me.exports=ne,ne.displayName="elixir",ne.aliases=[];function ne(E){E.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},E.languages.elixir.string.forEach(function(b){b.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:E.languages.elixir}}}})}},9438:function(me){"use strict";me.exports=ne,ne.displayName="elm",ne.aliases=[];function ne(E){E.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}},27771:function(me,ne,E){"use strict";var b=E(75308),ue=E(51478);me.exports=le,le.displayName="erb",le.aliases=[];function le(ce){ce.register(b),ce.register(ue),function(ge){ge.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:ge.languages.ruby}},ge.hooks.add("before-tokenize",function(oe){var xe=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;ge.languages["markup-templating"].buildPlaceholders(oe,"erb",xe)}),ge.hooks.add("after-tokenize",function(oe){ge.languages["markup-templating"].tokenizePlaceholders(oe,"erb")})}(ce)}},86549:function(me){"use strict";me.exports=ne,ne.displayName="erlang",ne.aliases=[];function ne(E){E.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}},37079:function(me,ne,E){"use strict";var b=E(33978),ue=E(51478);me.exports=le,le.displayName="etlua",le.aliases=[];function le(ce){ce.register(b),ce.register(ue),function(ge){ge.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:ge.languages.lua}},ge.hooks.add("before-tokenize",function(oe){var xe=/<%[\s\S]+?%>/g;ge.languages["markup-templating"].buildPlaceholders(oe,"etlua",xe)}),ge.hooks.add("after-tokenize",function(oe){ge.languages["markup-templating"].tokenizePlaceholders(oe,"etlua")})}(ce)}},59250:function(me){"use strict";me.exports=ne,ne.displayName="excelFormula",ne.aliases=[];function ne(E){E.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},E.languages.xlsx=E.languages.xls=E.languages["excel-formula"]}},81226:function(me){"use strict";me.exports=ne,ne.displayName="factor",ne.aliases=[];function ne(E){(function(b){var ue={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},le={number:/\\[^\s']|%\w/},ce={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:ue},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:ue},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:ue}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:le.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:le},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:le}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:le}},ge=function(Se){return(Se+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},oe=function(Se){return new RegExp("(^|\\s)(?:"+Se.map(ge).join("|")+")(?=\\s|$)")},xe={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","<wrapper>","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated","<PRIVATE",">>>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","<slice>","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","<iota>","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","<reversed>","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","<repetition>","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","<fp-nan>","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(xe).forEach(function(Se){ce[Se].pattern=oe(xe[Se])});var Oe=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","input<sequence","append-outputs","drop-inputs","inputs","smart-2reduce","drop-outputs","smart-reduce","preserving","smart-when","outputs","append-outputs-as","smart-unless","smart-if*","sum-outputs","input<sequence-unsafe","output>sequence"];ce.combinators.pattern=oe(Oe),b.languages.factor=ce})(E)}},65245:function(me){"use strict";me.exports=ne,ne.displayName="$false",ne.aliases=[];function ne(E){(function(b){b.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()<BDO®]/,alias:"bold"}}})(E)}},25040:function(me){"use strict";me.exports=ne,ne.displayName="firestoreSecurityRules",ne.aliases=[];function ne(E){E.languages["firestore-security-rules"]=E.languages.extend("clike",{comment:/\/\/.*/,keyword:/\b(?:allow|function|if|match|null|return|rules_version|service)\b/,operator:/&&|\|\||[<>!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete E.languages["firestore-security-rules"]["class-name"],E.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}},40284:function(me){"use strict";me.exports=ne,ne.displayName="flow",ne.aliases=[];function ne(E){(function(b){b.languages.flow=b.languages.extend("javascript",{}),b.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),b.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete b.languages.flow.parameter,b.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(b.languages.flow.keyword)||(b.languages.flow.keyword=[b.languages.flow.keyword]),b.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(E)}},39187:function(me){"use strict";me.exports=ne,ne.displayName="fortran",ne.aliases=[];function ne(E){E.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}},34302:function(me){"use strict";me.exports=ne,ne.displayName="fsharp",ne.aliases=[];function ne(E){E.languages.fsharp=E.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|<?\|{1,3}>?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),E.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),E.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),E.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:E.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}},90515:function(me,ne,E){"use strict";var b=E(51478);me.exports=ue,ue.displayName="ftl",ue.aliases=[];function ue(le){le.register(b),function(ce){for(var ge=/[^<()"']|\((?:<expr>)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,oe=0;oe<2;oe++)ge=ge.replace(/<expr>/g,function(){return ge});ge=ge.replace(/<expr>/g,/[^\s\S]/.source);var xe={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:<expr>))*\})*\1/.source.replace(/<expr>/g,function(){return ge})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:<expr>))*\}/.source.replace(/<expr>/g,function(){return ge})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};xe.string[1].inside.interpolation.inside.rest=xe,ce.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:xe}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:xe}}}},ce.hooks.add("before-tokenize",function(Oe){var Se=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:<expr>)*?>|\$\{(?:<expr>)*?\}/.source.replace(/<expr>/g,function(){return ge}),"gi");ce.languages["markup-templating"].buildPlaceholders(Oe,"ftl",Se)}),ce.hooks.add("after-tokenize",function(Oe){ce.languages["markup-templating"].tokenizePlaceholders(Oe,"ftl")})}(le)}},33534:function(me){"use strict";me.exports=ne,ne.displayName="gap",ne.aliases=[];function ne(E){E.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},E.languages.gap.shell.inside.gap.inside=E.languages.gap}},9885:function(me){"use strict";me.exports=ne,ne.displayName="gcode",ne.aliases=[];function ne(E){E.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}},76364:function(me){"use strict";me.exports=ne,ne.displayName="gdscript",ne.aliases=[];function ne(E){E.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}},56452:function(me){"use strict";me.exports=ne,ne.displayName="gedcom",ne.aliases=[];function ne(E){E.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}},8477:function(me){"use strict";me.exports=ne,ne.displayName="gherkin",ne.aliases=[];function ne(E){(function(b){var ue=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;b.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+ue+")(?:"+ue+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(ue),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(E)}},58230:function(me){"use strict";me.exports=ne,ne.displayName="git",ne.aliases=[];function ne(E){E.languages.git={comment:/^#.*/m,deleted:/^[-].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}},66192:function(me,ne,E){"use strict";var b=E(79440);me.exports=ue,ue.displayName="glsl",ue.aliases=[];function ue(le){le.register(b),le.languages.glsl=le.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}},81084:function(me){"use strict";me.exports=ne,ne.displayName="gml",ne.aliases=[];function ne(E){E.languages.gamemakerlanguage=E.languages.gml=E.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}},50318:function(me){"use strict";me.exports=ne,ne.displayName="gn",ne.aliases=["gni"];function ne(E){E.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},E.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=E.languages.gn,E.languages.gni=E.languages.gn}},95769:function(me){"use strict";me.exports=ne,ne.displayName="goModule",ne.aliases=[];function ne(E){E.languages["go-mod"]=E.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}},14155:function(me){"use strict";me.exports=ne,ne.displayName="go",ne.aliases=[];function ne(E){E.languages.go=E.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),E.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete E.languages.go["class-name"]}},92823:function(me){"use strict";me.exports=ne,ne.displayName="graphql",ne.aliases=[];function ne(E){E.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:E.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},E.hooks.add("after-tokenize",function(ue){if(ue.language!=="graphql")return;var le=ue.tokens.filter(function(Me){return typeof Me!="string"&&Me.type!=="comment"&&Me.type!=="scalar"}),ce=0;function ge(Me){return le[ce+Me]}function oe(Me,ze){ze=ze||0;for(var Ze=0;Ze<Me.length;Ze++){var Le=ge(Ze+ze);if(!Le||Le.type!==Me[Ze])return!1}return!0}function xe(Me,ze){for(var Ze=1,Le=ce;Le<le.length;Le++){var Pe=le[Le],ke=Pe.content;if(Pe.type==="punctuation"&&typeof ke=="string"){if(Me.test(ke))Ze++;else if(ze.test(ke)&&(Ze--,Ze===0))return Le}}return-1}function Oe(Me,ze){var Ze=Me.alias;Ze?Array.isArray(Ze)||(Me.alias=Ze=[Ze]):Me.alias=Ze=[],Ze.push(ze)}for(;ce<le.length;){var Se=le[ce++];if(Se.type==="keyword"&&Se.content==="mutation"){var he=[];if(oe(["definition-mutation","punctuation"])&&ge(1).content==="("){ce+=2;var Ve=xe(/^\($/,/^\)$/);if(Ve===-1)continue;for(;ce<Ve;ce++){var Ae=ge(0);Ae.type==="variable"&&(Oe(Ae,"variable-input"),he.push(Ae.content))}ce=Ve+1}if(oe(["punctuation","property-query"])&&ge(0).content==="{"&&(ce++,Oe(ge(0),"property-mutation"),he.length>0)){var ct=xe(/^\{$/,/^\}$/);if(ct===-1)continue;for(var Ke=ce;Ke<ct;Ke++){var qe=le[Ke];qe.type==="variable"&&he.indexOf(qe.content)>=0&&Oe(qe,"variable-input")}}}}})}},63092:function(me){"use strict";me.exports=ne,ne.displayName="groovy",ne.aliases=[];function ne(E){E.languages.groovy=E.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),E.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),E.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),E.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),E.hooks.add("wrap",function(b){if(b.language==="groovy"&&b.type==="string"){var ue=b.content.value[0];if(ue!="'"){var le=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;ue==="$"&&(le=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),b.content.value=b.content.value.replace(/&lt;/g,"<").replace(/&amp;/g,"&"),b.content=E.highlight(b.content.value,{expression:{pattern:le,lookbehind:!0,inside:E.languages.groovy}}),b.classes.push(ue==="/"?"regex":"gstring")}}})}},21550:function(me,ne,E){"use strict";var b=E(75308);me.exports=ue,ue.displayName="haml",ue.aliases=[];function ue(le){le.register(b),function(ce){ce.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:ce.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:ce.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:ce.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:ce.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:ce.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:ce.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:ce.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var ge="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",oe=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],xe={},Oe=0,Se=oe.length;Oe<Se;Oe++){var he=oe[Oe];he=typeof he=="string"?{filter:he,language:he}:he,ce.languages[he.language]&&(xe["filter-"+he.filter]={pattern:RegExp(ge.replace("{{filter_name}}",function(){return he.filter})),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"},text:{pattern:/[\s\S]+/,alias:[he.language,"language-"+he.language],inside:ce.languages[he.language]}}})}ce.languages.insertBefore("haml","filter",xe)}(le)}},29710:function(me,ne,E){"use strict";var b=E(51478);me.exports=ue,ue.displayName="handlebars",ue.aliases=["hbs"];function ue(le){le.register(b),function(ce){ce.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},ce.hooks.add("before-tokenize",function(ge){var oe=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;ce.languages["markup-templating"].buildPlaceholders(ge,"handlebars",oe)}),ce.hooks.add("after-tokenize",function(ge){ce.languages["markup-templating"].tokenizePlaceholders(ge,"handlebars")}),ce.languages.hbs=ce.languages.handlebars}(le)}},2050:function(me){"use strict";me.exports=ne,ne.displayName="haskell",ne.aliases=["hs"];function ne(E){E.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},E.languages.hs=E.languages.haskell}},67967:function(me){"use strict";me.exports=ne,ne.displayName="haxe",ne.aliases=[];function ne(E){E.languages.haxe=E.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<<?|>{1,3}|[-+*/%!=&|^])=?|[?:~]/}),E.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:E.languages.haxe}}},string:/[\s\S]+/}}}),E.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:E.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),E.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}},29138:function(me){"use strict";me.exports=ne,ne.displayName="hcl",ne.aliases=[];function ne(E){E.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}},67915:function(me,ne,E){"use strict";var b=E(79440);me.exports=ue,ue.displayName="hlsl",ue.aliases=[];function ue(le){le.register(b),le.languages.hlsl=le.languages.extend("c",{"class-name":[le.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}},54853:function(me){"use strict";me.exports=ne,ne.displayName="hoon",ne.aliases=[];function ne(E){E.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}},68330:function(me){"use strict";me.exports=ne,ne.displayName="hpkp",ne.aliases=[];function ne(E){E.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},76823:function(me){"use strict";me.exports=ne,ne.displayName="hsts",ne.aliases=[];function ne(E){E.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},86712:function(me){"use strict";me.exports=ne,ne.displayName="http",ne.aliases=[];function ne(E){(function(b){function ue(he){return RegExp("(^(?:"+he+"):[ ]*(?![ ]))[^]+","i")}b.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:b.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:ue(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:b.languages.csp},{pattern:ue(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:b.languages.hpkp},{pattern:ue(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:b.languages.hsts},{pattern:ue(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var le=b.languages,ce={"application/javascript":le.javascript,"application/json":le.json||le.javascript,"application/xml":le.xml,"text/xml":le.xml,"text/html":le.html,"text/css":le.css,"text/plain":le.plain},ge={"application/json":!0,"application/xml":!0};function oe(he){var Ve=he.replace(/^[a-z]+\//,""),Ae="\\w+/(?:[\\w.-]+\\+)+"+Ve+"(?![+\\w.-])";return"(?:"+he+"|"+Ae+")"}var xe;for(var Oe in ce)if(ce[Oe]){xe=xe||{};var Se=ge[Oe]?oe(Oe):Oe;xe[Oe.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+Se+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:ce[Oe]}}xe&&b.languages.insertBefore("http","header",xe)})(E)}},72252:function(me){"use strict";me.exports=ne,ne.displayName="ichigojam",ne.aliases=[];function ne(E){E.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}},78634:function(me){"use strict";me.exports=ne,ne.displayName="icon",ne.aliases=[];function ne(E){E.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|<?=?)|>>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}},43583:function(me){"use strict";me.exports=ne,ne.displayName="icuMessageFormat",ne.aliases=[];function ne(E){(function(b){function ue(Oe,Se){return Se<=0?/[]/.source:Oe.replace(/<SELF>/g,function(){return ue(Oe,Se-1)})}var le=/'[{}:=,](?:[^']|'')*'(?!')/,ce={pattern:/''/,greedy:!0,alias:"operator"},ge={pattern:le,greedy:!0,inside:{escape:ce}},oe=ue(/\{(?:[^{}']|'(?![{},'])|''|<STR>|<SELF>)*\}/.source.replace(/<STR>/g,function(){return le.source}),8),xe={pattern:RegExp(oe),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};b.languages["icu-message-format"]={argument:{pattern:RegExp(oe),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":xe,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":xe,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+ue(/(?:[^{}']|'[^']*'|\{(?:<SELF>)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:ce,string:ge},xe.inside.message.inside=b.languages["icu-message-format"],b.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=b.languages["icu-message-format"]})(E)}},23328:function(me,ne,E){"use strict";var b=E(2050);me.exports=ue,ue.displayName="idris",ue.aliases=["idr"];function ue(le){le.register(b),le.languages.idris=le.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),le.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),le.languages.idr=le.languages.idris}},74494:function(me){"use strict";me.exports=ne,ne.displayName="iecst",ne.aliases=[];function ne(E){E.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}},46745:function(me){"use strict";me.exports=ne,ne.displayName="ignore",ne.aliases=["gitignore","hgignore","npmignore"];function ne(E){(function(b){b.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},b.languages.gitignore=b.languages.ignore,b.languages.hgignore=b.languages.ignore,b.languages.npmignore=b.languages.ignore})(E)}},22152:function(me){"use strict";me.exports=ne,ne.displayName="inform7",ne.aliases=[];function ne(E){E.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},E.languages.inform7.string.inside.substitution.inside.rest=E.languages.inform7,E.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}},83698:function(me){"use strict";me.exports=ne,ne.displayName="ini",ne.aliases=[];function ne(E){E.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}},26619:function(me){"use strict";me.exports=ne,ne.displayName="io",ne.aliases=[];function ne(E){E.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<<?=?|:?:?=|\+\+?|--?|\*\*?|\/\/?|%|\|\|?|&&?|\b(?:and|not|or|return)\b|@@?|\?\??|\.\./,punctuation:/[{}[\];(),.:]/}}},53990:function(me){"use strict";me.exports=ne,ne.displayName="j",ne.aliases=[];function ne(E){E.languages.j={comment:{pattern:/\bNB\..*/,greedy:!0},string:{pattern:/'(?:''|[^'\r\n])*'/,greedy:!0},keyword:/\b(?:(?:CR|LF|adverb|conjunction|def|define|dyad|monad|noun|verb)\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)\.)/,verb:{pattern:/(?!\^:|;\.|[=!][.:])(?:\{(?:\.|::?)?|p(?:\.\.?|:)|[=!\]]|[<>+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}},7093:function(me){"use strict";me.exports=ne,ne.displayName="java",ne.aliases=[];function ne(E){(function(b){var ue=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,le=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,ce={pattern:RegExp(le+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};b.languages.java=b.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[ce,{pattern:RegExp(le+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:ce.inside}],keyword:ue,function:[b.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),b.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),b.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":ce,keyword:ue,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return ue.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(E)}},4005:function(me,ne,E){"use strict";var b=E(7093),ue=E(53510);me.exports=le,le.displayName="javadoc",le.aliases=[];function le(ce){ce.register(b),ce.register(ue),function(ge){var oe=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,xe=/#\s*\w+(?:\s*\([^()]*\))?/.source,Oe=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*<mem>)?|<mem>/.source.replace(/<mem>/g,function(){return xe});ge.languages.javadoc=ge.languages.extend("javadoclike",{}),ge.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+Oe+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:ge.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:oe,lookbehind:!0,inside:ge.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!<code>)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:oe,lookbehind:!0,inside:{tag:ge.languages.markup.tag,entity:ge.languages.markup.entity,code:{pattern:/.+/,inside:ge.languages.java,alias:"language-java"}}}}}],tag:ge.languages.markup.tag,entity:ge.languages.markup.entity}),ge.languages.javadoclike.addSupport("java",ge.languages.javadoc)}(ce)}},53510:function(me){"use strict";me.exports=ne,ne.displayName="javadoclike",ne.aliases=[];function ne(E){(function(b){var ue=b.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function le(ge,oe){var xe="doc-comment",Oe=b.languages[ge];if(Oe){var Se=Oe[xe];if(!Se){var he={};he[xe]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},Oe=b.languages.insertBefore(ge,"comment",he),Se=Oe[xe]}if(Se instanceof RegExp&&(Se=Oe[xe]={pattern:Se}),Array.isArray(Se))for(var Ve=0,Ae=Se.length;Ve<Ae;Ve++)Se[Ve]instanceof RegExp&&(Se[Ve]={pattern:Se[Ve]}),oe(Se[Ve]);else oe(Se)}}function ce(ge,oe){typeof ge=="string"&&(ge=[ge]),ge.forEach(function(xe){le(xe,function(Oe){Oe.inside||(Oe.inside={}),Oe.inside.rest=oe})})}Object.defineProperty(ue,"addSupport",{value:ce}),ue.addSupport(["java","javascript","php"],ue)})(E)}},88786:function(me){"use strict";me.exports=ne,ne.displayName="javascript",ne.aliases=["js"];function ne(E){E.languages.javascript=E.languages.extend("clike",{"class-name":[E.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),E.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,E.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:E.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:E.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:E.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:E.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:E.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),E.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:E.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),E.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),E.languages.markup&&(E.languages.markup.tag.addInlined("script","javascript"),E.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),E.languages.js=E.languages.javascript}},24799:function(me){"use strict";me.exports=ne,ne.displayName="javastacktrace",ne.aliases=[];function ne(E){E.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:<init>)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:<init>|[\w$]+)\()/,function:/(?:<init>|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}},97443:function(me){"use strict";me.exports=ne,ne.displayName="jexl",ne.aliases=[];function ne(E){E.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}},80746:function(me){"use strict";me.exports=ne,ne.displayName="jolie",ne.aliases=[];function ne(E){E.languages.jolie=E.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),E.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}},17015:function(me){"use strict";me.exports=ne,ne.displayName="jq",ne.aliases=[];function ne(E){(function(b){var ue=/\\\((?:[^()]|\([^()]*\))*\)/.source,le=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return ue})),ce={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+ue),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},ge=b.languages.jq={comment:/#.*/,property:{pattern:RegExp(le.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:ce},string:{pattern:le,lookbehind:!0,greedy:!0,inside:ce},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};ce.interpolation.inside.content.inside=ge})(E)}},89246:function(me){"use strict";me.exports=ne,ne.displayName="jsExtras",ne.aliases=[];function ne(E){(function(b){b.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+b.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),b.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+b.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),b.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function ue(Oe,Se){return RegExp(Oe.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),Se)}b.languages.insertBefore("javascript","keyword",{imports:{pattern:ue(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:b.languages.javascript},exports:{pattern:ue(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:b.languages.javascript}}),b.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),b.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),b.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:ue(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var le=["function","function-variable","method","method-variable","property-access"],ce=0;ce<le.length;ce++){var ge=le[ce],oe=b.languages.javascript[ge];b.util.type(oe)==="RegExp"&&(oe=b.languages.javascript[ge]={pattern:oe});var xe=oe.inside||{};oe.inside=xe,xe["maybe-class-name"]=/^[A-Z][\s\S]*/}})(E)}},487:function(me){"use strict";me.exports=ne,ne.displayName="jsTemplates",ne.aliases=[];function ne(E){(function(b){var ue=b.languages.javascript["template-string"],le=ue.pattern.source,ce=ue.inside.interpolation,ge=ce.inside["interpolation-punctuation"],oe=ce.pattern.source;function xe(Ke,qe){if(b.languages[Ke])return{pattern:RegExp("((?:"+qe+")\\s*)"+le),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:Ke}}}}b.languages.javascript["template-string"]=[xe("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),xe("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),xe("svg",/\bsvg/.source),xe("markdown",/\b(?:markdown|md)/.source),xe("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),xe("sql",/\bsql/.source),ue].filter(Boolean);function Oe(Ke,qe){return"___"+qe.toUpperCase()+"_"+Ke+"___"}function Se(Ke,qe,Me){var ze={code:Ke,grammar:qe,language:Me};return b.hooks.run("before-tokenize",ze),ze.tokens=b.tokenize(ze.code,ze.grammar),b.hooks.run("after-tokenize",ze),ze.tokens}function he(Ke){var qe={};qe["interpolation-punctuation"]=ge;var Me=b.tokenize(Ke,qe);if(Me.length===3){var ze=[1,1];ze.push.apply(ze,Se(Me[1],b.languages.javascript,"javascript")),Me.splice.apply(Me,ze)}return new b.Token("interpolation",Me,ce.alias,Ke)}function Ve(Ke,qe,Me){var ze=b.tokenize(Ke,{interpolation:{pattern:RegExp(oe),lookbehind:!0}}),Ze=0,Le={},Pe=ze.map(function(Ye){if(typeof Ye=="string")return Ye;for(var lt=Ye.content,Fe;Ke.indexOf(Fe=Oe(Ze++,Me))!==-1;);return Le[Fe]=lt,Fe}).join(""),ke=Se(Pe,qe,Me),Re=Object.keys(Le);Ze=0;function Te(Ye){for(var lt=0;lt<Ye.length;lt++){if(Ze>=Re.length)return;var Fe=Ye[lt];if(typeof Fe=="string"||typeof Fe.content=="string"){var tt=Re[Ze],$e=typeof Fe=="string"?Fe:Fe.content,Ue=$e.indexOf(tt);if(Ue!==-1){++Ze;var Xe=$e.substring(0,Ue),et=he(Le[tt]),rt=$e.substring(Ue+tt.length),ht=[];if(Xe&&ht.push(Xe),ht.push(et),rt){var kt=[rt];Te(kt),ht.push.apply(ht,kt)}typeof Fe=="string"?(Ye.splice.apply(Ye,[lt,1].concat(ht)),lt+=ht.length-1):Fe.content=ht}}else{var St=Fe.content;Array.isArray(St)?Te(St):Te([St])}}}return Te(ke),new b.Token(Me,ke,"language-"+Me,Ke)}var Ae={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};b.hooks.add("after-tokenize",function(Ke){if(!(Ke.language in Ae))return;function qe(Me){for(var ze=0,Ze=Me.length;ze<Ze;ze++){var Le=Me[ze];if(typeof Le!="string"){var Pe=Le.content;if(!Array.isArray(Pe)){typeof Pe!="string"&&qe([Pe]);continue}if(Le.type==="template-string"){var ke=Pe[1];if(Pe.length===3&&typeof ke!="string"&&ke.type==="embedded-code"){var Re=ct(ke),Te=ke.alias,Ye=Array.isArray(Te)?Te[0]:Te,lt=b.languages[Ye];if(!lt)continue;Pe[1]=Ve(Re,lt,Ye)}}else qe(Pe)}}}qe(Ke.tokens)});function ct(Ke){return typeof Ke=="string"?Ke:Array.isArray(Ke)?Ke.map(ct).join(""):ct(Ke.content)}})(E)}},79539:function(me,ne,E){"use strict";var b=E(53510),ue=E(92784);me.exports=le,le.displayName="jsdoc",le.aliases=[];function le(ce){ce.register(b),ce.register(ue),function(ge){var oe=ge.languages.javascript,xe=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,Oe="(@(?:arg|argument|param|property)\\s+(?:"+xe+"\\s+)?)";ge.languages.jsdoc=ge.languages.extend("javadoclike",{parameter:{pattern:RegExp(Oe+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),ge.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(Oe+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:oe,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return xe})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+xe),lookbehind:!0,inside:{string:oe.string,number:oe.number,boolean:oe.boolean,keyword:ge.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:oe,alias:"language-javascript"}}}}),ge.languages.javadoclike.addSupport("javascript",ge.languages.jsdoc)}(ce)}},15628:function(me){"use strict";me.exports=ne,ne.displayName="json",ne.aliases=["webmanifest"];function ne(E){E.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},E.languages.webmanifest=E.languages.json}},14320:function(me,ne,E){"use strict";var b=E(15628);me.exports=ue,ue.displayName="json5",ue.aliases=[];function ue(le){le.register(b),function(ce){var ge=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;ce.languages.json5=ce.languages.extend("json",{property:[{pattern:RegExp(ge.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:ge,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(le)}},73222:function(me,ne,E){"use strict";var b=E(15628);me.exports=ue,ue.displayName="jsonp",ue.aliases=[];function ue(le){le.register(b),le.languages.jsonp=le.languages.extend("json",{punctuation:/[{}[\]();,.]/}),le.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}},92486:function(me){"use strict";me.exports=ne,ne.displayName="jsstacktrace",ne.aliases=[];function ne(E){E.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js|<unknown>|.*(?:node_modules|\(<anonymous>\)|\(<unknown>|<anonymous>$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}},24103:function(me){"use strict";me.exports=ne,ne.displayName="jsx",ne.aliases=[];function ne(E){(function(b){var ue=b.util.clone(b.languages.javascript),le=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,ce=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,ge=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function oe(Se,he){return Se=Se.replace(/<S>/g,function(){return le}).replace(/<BRACES>/g,function(){return ce}).replace(/<SPREAD>/g,function(){return ge}),RegExp(Se,he)}ge=oe(ge).source,b.languages.jsx=b.languages.extend("markup",ue),b.languages.jsx.tag.pattern=oe(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),b.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,b.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,b.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,b.languages.jsx.tag.inside.comment=ue.comment,b.languages.insertBefore("inside","attr-name",{spread:{pattern:oe(/<SPREAD>/.source),inside:b.languages.jsx}},b.languages.jsx.tag),b.languages.insertBefore("inside","special-attr",{script:{pattern:oe(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:b.languages.jsx}}},b.languages.jsx.tag);var xe=function(Se){return Se?typeof Se=="string"?Se:typeof Se.content=="string"?Se.content:Se.content.map(xe).join(""):""},Oe=function(Se){for(var he=[],Ve=0;Ve<Se.length;Ve++){var Ae=Se[Ve],ct=!1;if(typeof Ae!="string"&&(Ae.type==="tag"&&Ae.content[0]&&Ae.content[0].type==="tag"?Ae.content[0].content[0].content==="</"?he.length>0&&he[he.length-1].tagName===xe(Ae.content[0].content[1])&&he.pop():Ae.content[Ae.content.length-1].content==="/>"||he.push({tagName:xe(Ae.content[0].content[1]),openedBraces:0}):he.length>0&&Ae.type==="punctuation"&&Ae.content==="{"?he[he.length-1].openedBraces++:he.length>0&&he[he.length-1].openedBraces>0&&Ae.type==="punctuation"&&Ae.content==="}"?he[he.length-1].openedBraces--:ct=!0),(ct||typeof Ae=="string")&&he.length>0&&he[he.length-1].openedBraces===0){var Ke=xe(Ae);Ve<Se.length-1&&(typeof Se[Ve+1]=="string"||Se[Ve+1].type==="plain-text")&&(Ke+=xe(Se[Ve+1]),Se.splice(Ve+1,1)),Ve>0&&(typeof Se[Ve-1]=="string"||Se[Ve-1].type==="plain-text")&&(Ke=xe(Se[Ve-1])+Ke,Se.splice(Ve-1,1),Ve--),Se[Ve]=new b.Token("plain-text",Ke,null,Ke)}Ae.content&&typeof Ae.content!="string"&&Oe(Ae.content)}};b.hooks.add("after-tokenize",function(Se){Se.language!=="jsx"&&Se.language!=="tsx"||Oe(Se.tokens)})})(E)}},40604:function(me){"use strict";me.exports=ne,ne.displayName="julia",ne.aliases=[];function ne(E){E.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}},23109:function(me){"use strict";me.exports=ne,ne.displayName="keepalived",ne.aliases=[];function ne(E){E.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}<ipv4>|(?:[\da-f]{1,4}:){0,5}:<ipv4>|::(?:[\da-f]{1,4}:){0,5}<ipv4>|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|<ipv4>(?:\/\d{1,2})?)\b/.source.replace(/<ipv4>/g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}},32082:function(me){"use strict";me.exports=ne,ne.displayName="keyman",ne.aliases=[];function ne(E){E.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}},77674:function(me){"use strict";me.exports=ne,ne.displayName="kotlin",ne.aliases=["kt","kts"];function ne(E){(function(b){b.languages.kotlin=b.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete b.languages.kotlin["class-name"];var ue={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:b.languages.kotlin}};b.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:ue},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:ue},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete b.languages.kotlin.string,b.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),b.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),b.languages.kt=b.languages.kotlin,b.languages.kts=b.languages.kotlin})(E)}},37524:function(me){"use strict";me.exports=ne,ne.displayName="kumir",ne.aliases=["kum"];function ne(E){(function(b){var ue=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function le(ce,ge){return RegExp(ce.replace(/<nonId>/g,ue),ge)}b.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:le(/(^|[<nonId>])(?:да|нет)(?=[<nonId>]|$)/.source),lookbehind:!0},"operator-word":{pattern:le(/(^|[<nonId>])(?:и|или|не)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:le(/(^|[<nonId>])знач(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:le(/(^|[<nonId>])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:le(/(^|[<nonId>])(?:компл|сканкод|файл|цвет)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:le(/(^|[<nonId>])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[<nonId>]|$)/.source),lookbehind:!0},name:{pattern:le(/(^|[<nonId>])[^\d<nonId>][^<nonId>]*(?:\x20+[^<nonId>]+)*(?=[<nonId>]|$)/.source),lookbehind:!0},number:{pattern:le(/(^|[<nonId>])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[<nonId>]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},b.languages.kum=b.languages.kumir})(E)}},6658:function(me){"use strict";me.exports=ne,ne.displayName="kusto",ne.aliases=[];function ne(E){E.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}},24824:function(me){"use strict";me.exports=ne,ne.displayName="latex",ne.aliases=["tex","context"];function ne(E){(function(b){var ue=/\\(?:[^a-z()[\]]|[a-z*]+)/i,le={"equation-command":{pattern:ue,alias:"regex"}};b.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:le,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:le,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:ue,alias:"selector"},punctuation:/[[\]{}&]/},b.languages.tex=b.languages.latex,b.languages.context=b.languages.latex})(E)}},22776:function(me,ne,E){"use strict";var b=E(51478),ue=E(53852);me.exports=le,le.displayName="latte",le.aliases=[];function le(ce){ce.register(b),ce.register(ue),function(ge){ge.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:ge.languages.php}};var oe=ge.languages.extend("markup",{});ge.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:ge.languages.php}}}}}},oe.tag),ge.hooks.add("before-tokenize",function(xe){if(xe.language==="latte"){var Oe=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;ge.languages["markup-templating"].buildPlaceholders(xe,"latte",Oe),xe.grammar=oe}}),ge.hooks.add("after-tokenize",function(xe){ge.languages["markup-templating"].tokenizePlaceholders(xe,"latte")})}(ce)}},89700:function(me){"use strict";me.exports=ne,ne.displayName="less",ne.aliases=[];function ne(E){E.languages.less=E.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),E.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}},99296:function(me,ne,E){"use strict";var b=E(48780);me.exports=ue,ue.displayName="lilypond",ue.aliases=[];function ue(le){le.register(b),function(ce){for(var ge=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|<expr>)*\)/.source,oe=5,xe=0;xe<oe;xe++)ge=ge.replace(/<expr>/g,function(){return ge});ge=ge.replace(/<expr>/g,/[^\s\S]/.source);var Oe=ce.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|<expr>))/.source.replace(/<expr>/g,function(){return ge}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:ce.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};Oe["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=Oe,ce.languages.ly=Oe}(le)}},39940:function(me,ne,E){"use strict";var b=E(51478);me.exports=ue,ue.displayName="liquid",ue.aliases=[];function ue(le){le.register(b),le.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},le.hooks.add("before-tokenize",function(ce){var ge=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,oe=!1;le.languages["markup-templating"].buildPlaceholders(ce,"liquid",ge,function(xe){var Oe=/^\{%-?\s*(\w+)/.exec(xe);if(Oe){var Se=Oe[1];if(Se==="raw"&&!oe)return oe=!0,!0;if(Se==="endraw")return oe=!1,!0}return!oe})}),le.hooks.add("after-tokenize",function(ce){le.languages["markup-templating"].tokenizePlaceholders(ce,"liquid")})}},34973:function(me){"use strict";me.exports=ne,ne.displayName="lisp",ne.aliases=[];function ne(E){(function(b){function ue(Ke){return RegExp(/(\()/.source+"(?:"+Ke+")"+/(?=[\s\)])/.source)}function le(Ke){return RegExp(/([\s([])/.source+"(?:"+Ke+")"+/(?=[\s)])/.source)}var ce=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,ge="&"+ce,oe="(\\()",xe="(?=\\))",Oe="(?=\\s)",Se=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,he={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+ce+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+ce),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+ce),alias:"property"},splice:{pattern:RegExp(",@?"+ce),alias:["symbol","variable"]},keyword:[{pattern:RegExp(oe+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+Oe),lookbehind:!0},{pattern:RegExp(oe+"(?:append|by|collect|concat|do|finally|for|in|return)"+Oe),lookbehind:!0}],declare:{pattern:ue(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:ue(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:le(/nil|t/.source),lookbehind:!0},number:{pattern:le(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(oe+"def(?:const|custom|group|var)\\s+"+ce),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(ce)}},defun:{pattern:RegExp(oe+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+ce+/\s+\(/.source+Se+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+ce),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(oe+"lambda\\s+\\(\\s*(?:&?"+ce+"(?:\\s+&?"+ce+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(oe+ce),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},Ve={"lisp-marker":RegExp(ge),varform:{pattern:RegExp(/\(/.source+ce+/\s+(?=\S)/.source+Se+/\)/.source),inside:he},argument:{pattern:RegExp(/(^|[\s(])/.source+ce),lookbehind:!0,alias:"variable"},rest:he},Ae="\\S+(?:\\s+\\S+)*",ct={pattern:RegExp(oe+Se+xe),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+Ae),inside:Ve},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+Ae),inside:Ve},keys:{pattern:RegExp("&key\\s+"+Ae+"(?:\\s+&allow-other-keys)?"),inside:Ve},argument:{pattern:RegExp(ce),alias:"variable"},punctuation:/[()]/}};he.lambda.inside.arguments=ct,he.defun.inside.arguments=b.util.clone(ct),he.defun.inside.arguments.inside.sublist=ct,b.languages.lisp=he,b.languages.elisp=he,b.languages.emacs=he,b.languages["emacs-lisp"]=he})(E)}},98135:function(me){"use strict";me.exports=ne,ne.displayName="livescript",ne.aliases=[];function ne(E){E.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<<?<?|--?!?|~~?!?|[|=?])?|>[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},E.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=E.languages.livescript}},36907:function(me){"use strict";me.exports=ne,ne.displayName="llvm",ne.aliases=[];function ne(E){(function(b){b.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(E)}},3567:function(me){"use strict";me.exports=ne,ne.displayName="log",ne.aliases=[];function ne(E){E.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:E.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}},23763:function(me){"use strict";me.exports=ne,ne.displayName="lolcode",ne.aliases=[];function ne(E){E.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}},33978:function(me){"use strict";me.exports=ne,ne.displayName="lua",ne.aliases=[];function ne(E){E.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}},40472:function(me){"use strict";me.exports=ne,ne.displayName="magma",ne.aliases=[];function ne(E){E.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}},44695:function(me){"use strict";me.exports=ne,ne.displayName="makefile",ne.aliases=[];function ne(E){E.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}},53885:function(me){"use strict";me.exports=ne,ne.displayName="markdown",ne.aliases=["md"];function ne(E){(function(b){var ue=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function le(Ve){return Ve=Ve.replace(/<inner>/g,function(){return ue}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+Ve+")")}var ce=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,ge=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return ce}),oe=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;b.languages.markdown=b.languages.extend("markup",{}),b.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:b.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+ge+oe+"(?:"+ge+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+ge+oe+")(?:"+ge+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(ce),inside:b.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+ge+")"+oe+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+ge+"$"),inside:{"table-header":{pattern:RegExp(ce),alias:"important",inside:b.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:le(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:le(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:le(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:le(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(Ve){["url","bold","italic","strike","code-snippet"].forEach(function(Ae){Ve!==Ae&&(b.languages.markdown[Ve].inside.content.inside[Ae]=b.languages.markdown[Ae])})}),b.hooks.add("after-tokenize",function(Ve){if(Ve.language!=="markdown"&&Ve.language!=="md")return;function Ae(ct){if(!(!ct||typeof ct=="string"))for(var Ke=0,qe=ct.length;Ke<qe;Ke++){var Me=ct[Ke];if(Me.type!=="code"){Ae(Me.content);continue}var ze=Me.content[1],Ze=Me.content[3];if(ze&&Ze&&ze.type==="code-language"&&Ze.type==="code-block"&&typeof ze.content=="string"){var Le=ze.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");Le=(/[a-z][\w-]*/i.exec(Le)||[""])[0].toLowerCase();var Pe="language-"+Le;Ze.alias?typeof Ze.alias=="string"?Ze.alias=[Ze.alias,Pe]:Ze.alias.push(Pe):Ze.alias=[Pe]}}}Ae(Ve.tokens)}),b.hooks.add("wrap",function(Ve){if(Ve.type==="code-block"){for(var Ae="",ct=0,Ke=Ve.classes.length;ct<Ke;ct++){var qe=Ve.classes[ct],Me=/language-(.+)/.exec(qe);if(Me){Ae=Me[1];break}}var ze=b.languages[Ae];if(ze)Ve.content=b.highlight(he(Ve.content.value),ze,Ae);else if(Ae&&Ae!=="none"&&b.plugins.autoloader){var Ze="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);Ve.attributes.id=Ze,b.plugins.autoloader.loadLanguages(Ae,function(){var Le=document.getElementById(Ze);Le&&(Le.innerHTML=b.highlight(Le.textContent,b.languages[Ae],Ae))})}}});var xe=RegExp(b.languages.markup.tag.pattern.source,"gi"),Oe={amp:"&",lt:"<",gt:">",quot:'"'},Se=String.fromCodePoint||String.fromCharCode;function he(Ve){var Ae=Ve.replace(xe,"");return Ae=Ae.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(ct,Ke){if(Ke=Ke.toLowerCase(),Ke[0]==="#"){var qe;return Ke[1]==="x"?qe=parseInt(Ke.slice(2),16):qe=Number(Ke.slice(1)),Se(qe)}else{var Me=Oe[Ke];return Me||ct}}),Ae}b.languages.md=b.languages.markdown})(E)}},51478:function(me){"use strict";me.exports=ne,ne.displayName="markupTemplating",ne.aliases=[];function ne(E){(function(b){function ue(le,ce){return"___"+le.toUpperCase()+ce+"___"}Object.defineProperties(b.languages["markup-templating"]={},{buildPlaceholders:{value:function(le,ce,ge,oe){if(le.language===ce){var xe=le.tokenStack=[];le.code=le.code.replace(ge,function(Oe){if(typeof oe=="function"&&!oe(Oe))return Oe;for(var Se=xe.length,he;le.code.indexOf(he=ue(ce,Se))!==-1;)++Se;return xe[Se]=Oe,he}),le.grammar=b.languages.markup}}},tokenizePlaceholders:{value:function(le,ce){if(le.language!==ce||!le.tokenStack)return;le.grammar=b.languages[ce];var ge=0,oe=Object.keys(le.tokenStack);function xe(Oe){for(var Se=0;Se<Oe.length&&!(ge>=oe.length);Se++){var he=Oe[Se];if(typeof he=="string"||he.content&&typeof he.content=="string"){var Ve=oe[ge],Ae=le.tokenStack[Ve],ct=typeof he=="string"?he:he.content,Ke=ue(ce,Ve),qe=ct.indexOf(Ke);if(qe>-1){++ge;var Me=ct.substring(0,qe),ze=new b.Token(ce,b.tokenize(Ae,le.grammar),"language-"+ce,Ae),Ze=ct.substring(qe+Ke.length),Le=[];Me&&Le.push.apply(Le,xe([Me])),Le.push(ze),Ze&&Le.push.apply(Le,xe([Ze])),typeof he=="string"?Oe.splice.apply(Oe,[Se,1].concat(Le)):he.content=Le}}else he.content&&xe(he.content)}return Oe}xe(le.tokens)}}})})(E)}},70614:function(me){"use strict";me.exports=ne,ne.displayName="markup",ne.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function ne(E){E.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},E.languages.markup.tag.inside["attr-value"].inside.entity=E.languages.markup.entity,E.languages.markup.doctype.inside["internal-subset"].inside=E.languages.markup,E.hooks.add("wrap",function(b){b.type==="entity"&&(b.attributes.title=b.content.value.replace(/&amp;/,"&"))}),Object.defineProperty(E.languages.markup.tag,"addInlined",{value:function(ue,le){var ce={};ce["language-"+le]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:E.languages[le]},ce.cdata=/^<!\[CDATA\[|\]\]>$/i;var ge={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:ce}};ge["language-"+le]={pattern:/[\s\S]+/,inside:E.languages[le]};var oe={};oe[ue]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return ue}),"i"),lookbehind:!0,greedy:!0,inside:ge},E.languages.insertBefore("markup","cdata",oe)}}),Object.defineProperty(E.languages.markup.tag,"addAttribute",{value:function(b,ue){E.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+b+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[ue,"language-"+ue],inside:E.languages[ue]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),E.languages.html=E.languages.markup,E.languages.mathml=E.languages.markup,E.languages.svg=E.languages.markup,E.languages.xml=E.languages.extend("markup",{}),E.languages.ssml=E.languages.xml,E.languages.atom=E.languages.xml,E.languages.rss=E.languages.xml}},16928:function(me){"use strict";me.exports=ne,ne.displayName="matlab",ne.aliases=[];function ne(E){E.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}},13586:function(me){"use strict";me.exports=ne,ne.displayName="maxscript",ne.aliases=[];function ne(E){(function(b){var ue=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;b.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+ue.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+ue.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:ue,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(E)}},37164:function(me){"use strict";me.exports=ne,ne.displayName="mel",ne.aliases=[];function ne(E){E.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},E.languages.mel.code.inside.rest=E.languages.mel}},25153:function(me){"use strict";me.exports=ne,ne.displayName="mermaid",ne.aliases=[];function ne(E){E.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[<ox](?:==+|--+|-\.*-)[>ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}},33245:function(me){"use strict";me.exports=ne,ne.displayName="mizar",ne.aliases=[];function ne(E){E.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}},32218:function(me){"use strict";me.exports=ne,ne.displayName="mongodb",ne.aliases=[];function ne(E){(function(b){var ue=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],le=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];ue=ue.map(function(ge){return ge.replace("$","\\$")});var ce="(?:"+ue.join("|")+")\\b";b.languages.mongodb=b.languages.extend("javascript",{}),b.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+ce+"(?:\\1)?$")}}}),b.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},b.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+le.join("|")+")\\b"),alias:"keyword"}})})(E)}},65626:function(me){"use strict";me.exports=ne,ne.displayName="monkey",ne.aliases=[];function ne(E){E.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}},60090:function(me){"use strict";me.exports=ne,ne.displayName="moonscript",ne.aliases=["moon"];function ne(E){E.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},E.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=E.languages.moonscript,E.languages.moon=E.languages.moonscript}},40722:function(me){"use strict";me.exports=ne,ne.displayName="n1ql",ne.aliases=[];function ne(E){E.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}},37783:function(me){"use strict";me.exports=ne,ne.displayName="n4js",ne.aliases=["n4jsd"];function ne(E){E.languages.n4js=E.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),E.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),E.languages.n4jsd=E.languages.n4js}},41224:function(me){"use strict";me.exports=ne,ne.displayName="nand2tetrisHdl",ne.aliases=[];function ne(E){E.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}},71365:function(me){"use strict";me.exports=ne,ne.displayName="naniscript",ne.aliases=[];function ne(E){(function(b){var ue=/\{[^\r\n\[\]{}]*\}/,le={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:ue,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};b.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:ue,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:le}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:ue,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:le},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},b.languages.nani=b.languages.naniscript,b.hooks.add("after-tokenize",function(oe){var xe=oe.tokens;xe.forEach(function(Oe){if(typeof Oe!="string"&&Oe.type==="generic-text"){var Se=ge(Oe);ce(Se)||(Oe.type="bad-line",Oe.content=Se)}})});function ce(oe){for(var xe="[]{}",Oe=[],Se=0;Se<oe.length;Se++){var he=oe[Se],Ve=xe.indexOf(he);if(Ve!==-1){if(Ve%2===0)Oe.push(Ve+1);else if(Oe.pop()!==Ve)return!1}}return Oe.length===0}function ge(oe){return typeof oe=="string"?oe:Array.isArray(oe)?oe.map(ge).join(""):ge(oe.content)}})(E)}},42846:function(me){"use strict";me.exports=ne,ne.displayName="nasm",ne.aliases=[];function ne(E){E.languages.nasm={comment:/;.*$/m,string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,label:{pattern:/(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,lookbehind:!0,alias:"function"},keyword:[/\[?BITS (?:16|32|64)\]?/,{pattern:/(^\s*)section\s*[a-z.]+:?/im,lookbehind:!0},/(?:extern|global)[^;\r\n]*/i,/(?:CPU|DEFAULT|FLOAT).*$/m],register:{pattern:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s)\b/i,alias:"variable"},number:/(?:\b|(?=\$))(?:0[hx](?:\.[\da-f]+|[\da-f]+(?:\.[\da-f]+)?)(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-\/%<>=&|$!]/}}},32964:function(me){"use strict";me.exports=ne,ne.displayName="neon",ne.aliases=[];function ne(E){E.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}},78830:function(me){"use strict";me.exports=ne,ne.displayName="nevod",ne.aliases=[];function ne(E){E.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}},88799:function(me){"use strict";me.exports=ne,ne.displayName="nginx",ne.aliases=[];function ne(E){(function(b){var ue=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;b.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:ue}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:ue}},punctuation:/[{};]/}})(E)}},66791:function(me){"use strict";me.exports=ne,ne.displayName="nim",ne.aliases=[];function ne(E){E.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}},41735:function(me){"use strict";me.exports=ne,ne.displayName="nix",ne.aliases=[];function ne(E){E.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},E.languages.nix.string.inside.interpolation.inside=E.languages.nix}},13490:function(me){"use strict";me.exports=ne,ne.displayName="nsis",ne.aliases=[];function ne(E){E.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}},7383:function(me,ne,E){"use strict";var b=E(79440);me.exports=ue,ue.displayName="objectivec",ue.aliases=["objc"];function ue(le){le.register(b),le.languages.objectivec=le.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete le.languages.objectivec["class-name"],le.languages.objc=le.languages.objectivec}},66894:function(me){"use strict";me.exports=ne,ne.displayName="ocaml",ne.aliases=[];function ne(E){E.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}},45779:function(me,ne,E){"use strict";var b=E(79440);me.exports=ue,ue.displayName="opencl",ue.aliases=[];function ue(le){le.register(b),function(ce){ce.languages.opencl=ce.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),ce.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var ge={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};ce.languages.insertBefore("c","keyword",ge),ce.languages.cpp&&(ge["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},ce.languages.insertBefore("cpp","keyword",ge))}(le)}},27734:function(me){"use strict";me.exports=ne,ne.displayName="openqasm",ne.aliases=["qasm"];function ne(E){E.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},E.languages.qasm=E.languages.openqasm}},91889:function(me){"use strict";me.exports=ne,ne.displayName="oz",ne.aliases=[];function ne(E){E.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|<?:?)|>=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}},55965:function(me){"use strict";me.exports=ne,ne.displayName="parigp",ne.aliases=[];function ne(E){E.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var b=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return b=b.map(function(ue){return ue.split("").join(" *")}).join("|"),RegExp("\\b(?:"+b+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}},37326:function(me){"use strict";me.exports=ne,ne.displayName="parser",ne.aliases=[];function ne(E){(function(b){var ue=b.languages.parser=b.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});ue=b.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:ue.keyword,variable:ue.variable,function:ue.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:ue.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:ue.punctuation}}}),b.languages.insertBefore("inside","punctuation",{expression:ue.expression,keyword:ue.keyword,variable:ue.variable,function:ue.function,escape:ue.escape,"parser-punctuation":{pattern:ue.punctuation,alias:"punctuation"}},ue.tag.inside["attr-value"])})(E)}},92949:function(me){"use strict";me.exports=ne,ne.displayName="pascal",ne.aliases=["objectpascal"];function ne(E){E.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},E.languages.pascal.asm.inside=E.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),E.languages.objectpascal=E.languages.pascal}},5681:function(me){"use strict";me.exports=ne,ne.displayName="pascaligo",ne.aliases=[];function ne(E){(function(b){var ue=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,le=/(?:\b\w+(?:<braces>)?|<braces>)/.source.replace(/<braces>/g,function(){return ue}),ce=b.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)<type>/.source.replace(/<type>/g,function(){return le}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/<type>(?=\s+is\b)/.source.replace(/<type>/g,function(){return le}),"i"),inside:null},{pattern:RegExp(/(:\s*)<type>/.source.replace(/<type>/g,function(){return le})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},ge=["comment","keyword","builtin","operator","punctuation"].reduce(function(oe,xe){return oe[xe]=ce[xe],oe},{});ce["class-name"].forEach(function(oe){oe.inside=ge})})(E)}},70696:function(me){"use strict";me.exports=ne,ne.displayName="pcaxis",ne.aliases=["px"];function ne(E){E.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},E.languages.px=E.languages.pcaxis}},35790:function(me){"use strict";me.exports=ne,ne.displayName="peoplecode",ne.aliases=["pcode"];function ne(E){E.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},E.languages.pcode=E.languages.peoplecode}},25777:function(me){"use strict";me.exports=ne,ne.displayName="perl",ne.aliases=[];function ne(E){(function(b){var ue=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;b.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,ue].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,ue].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,ue+/\s*/.source+ue].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(E)}},65889:function(me,ne,E){"use strict";var b=E(53852);me.exports=ue,ue.displayName="phpExtras",ue.aliases=[];function ue(le){le.register(b),le.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}},53852:function(me,ne,E){"use strict";var b=E(51478);me.exports=ue,ue.displayName="php",ue.aliases=[];function ue(le){le.register(b),function(ce){var ge=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,oe=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],xe=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,Oe=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,Se=/[{}\[\](),:;]/;ce.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:ge,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:oe,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:xe,operator:Oe,punctuation:Se};var he={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:ce.languages.php},Ve=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:he}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:he}}];ce.languages.insertBefore("php","variable",{string:Ve,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:ge,string:Ve,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:oe,number:xe,operator:Oe,punctuation:Se}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),ce.hooks.add("before-tokenize",function(Ae){if(/<\?/.test(Ae.code)){var ct=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;ce.languages["markup-templating"].buildPlaceholders(Ae,"php",ct)}}),ce.hooks.add("after-tokenize",function(Ae){ce.languages["markup-templating"].tokenizePlaceholders(Ae,"php")})}(le)}},97719:function(me,ne,E){"use strict";var b=E(53852),ue=E(53510);me.exports=le,le.displayName="phpdoc",le.aliases=[];function le(ce){ce.register(b),ce.register(ue),function(ge){var oe=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;ge.languages.phpdoc=ge.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+oe+"\\s+)?)\\$\\w+"),lookbehind:!0}}),ge.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+oe),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),ge.languages.javadoclike.addSupport("php",ge.languages.phpdoc)}(ce)}},63839:function(me,ne,E){"use strict";var b=E(69435);me.exports=ue,ue.displayName="plsql",ue.aliases=[];function ue(le){le.register(b),le.languages.plsql=le.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),le.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}},67623:function(me){"use strict";me.exports=ne,ne.displayName="powerquery",ne.aliases=[];function ne(E){E.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},E.languages.pq=E.languages.powerquery,E.languages.mscript=E.languages.powerquery}},32530:function(me){"use strict";me.exports=ne,ne.displayName="powershell",ne.aliases=[];function ne(E){(function(b){var ue=b.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};ue.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:ue},boolean:ue.boolean,variable:ue.variable}})(E)}},8938:function(me){"use strict";me.exports=ne,ne.displayName="processing",ne.aliases=[];function ne(E){E.languages.processing=E.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),E.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}},55259:function(me){"use strict";me.exports=ne,ne.displayName="prolog",ne.aliases=[];function ne(E){E.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}},67411:function(me){"use strict";me.exports=ne,ne.displayName="promql",ne.aliases=[];function ne(E){(function(b){var ue=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],le=["on","ignoring","group_right","group_left","by","without"],ce=["offset"],ge=ue.concat(le,ce);b.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+le.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+ge.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(E)}},15375:function(me){"use strict";me.exports=ne,ne.displayName="properties",ne.aliases=[];function ne(E){E.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}},12093:function(me){"use strict";me.exports=ne,ne.displayName="protobuf",ne.aliases=[];function ne(E){(function(b){var ue=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;b.languages.protobuf=b.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),b.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:ue}},builtin:ue,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(E)}},83588:function(me){"use strict";me.exports=ne,ne.displayName="psl",ne.aliases=[];function ne(E){E.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}},94127:function(me){"use strict";me.exports=ne,ne.displayName="pug",ne.aliases=[];function ne(E){(function(b){b.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:b.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:b.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:b.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:b.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:b.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:b.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:b.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:b.languages.javascript}],punctuation:/[.\-!=|]+/};for(var ue=/(^([\t ]*)):<filter_name>(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,le=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],ce={},ge=0,oe=le.length;ge<oe;ge++){var xe=le[ge];xe=typeof xe=="string"?{filter:xe,language:xe}:xe,b.languages[xe.language]&&(ce["filter-"+xe.filter]={pattern:RegExp(ue.replace("<filter_name>",function(){return xe.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[xe.language,"language-"+xe.language],inside:b.languages[xe.language]}}})}b.languages.insertBefore("pug","filter",ce)})(E)}},21294:function(me){"use strict";me.exports=ne,ne.displayName="puppet",ne.aliases=[];function ne(E){(function(b){b.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var ue=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:b.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];b.languages.puppet.heredoc[0].inside.interpolation=ue,b.languages.puppet.string.inside["double-quoted"].inside.interpolation=ue})(E)}},38709:function(me){"use strict";me.exports=ne,ne.displayName="pure",ne.aliases=[];function ne(E){(function(b){b.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var ue=["c",{lang:"c++",alias:"cpp"},"fortran"],le=/%< *-\*- *<lang>\d* *-\*-[\s\S]+?%>/.source;ue.forEach(function(ce){var ge=ce;if(typeof ce!="string"&&(ge=ce.alias,ce=ce.lang),b.languages[ge]){var oe={};oe["inline-lang-"+ge]={pattern:RegExp(le.replace("<lang>",ce.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:b.util.clone(b.languages.pure["inline-lang"].inside)},oe["inline-lang-"+ge].inside.rest=b.util.clone(b.languages[ge]),b.languages.insertBefore("pure","inline-lang",oe)}}),b.languages.c&&(b.languages.pure["inline-lang"].inside.rest=b.util.clone(b.languages.c))})(E)}},15008:function(me){"use strict";me.exports=ne,ne.displayName="purebasic",ne.aliases=[];function ne(E){E.languages.purebasic=E.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|?\||[~^%?*/@]/}),E.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete E.languages.purebasic["class-name"],delete E.languages.purebasic.boolean,E.languages.pbfasm=E.languages.purebasic}},96549:function(me,ne,E){"use strict";var b=E(2050);me.exports=ue,ue.displayName="purescript",ue.aliases=["purs"];function ue(le){le.register(b),le.languages.purescript=le.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[le.languages.haskell.operator[0],le.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),le.languages.purs=le.languages.purescript}},5221:function(me){"use strict";me.exports=ne,ne.displayName="python",ne.aliases=["py"];function ne(E){E.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},E.languages.python["string-interpolation"].inside.interpolation.inside.rest=E.languages.python,E.languages.py=E.languages.python}},27447:function(me){"use strict";me.exports=ne,ne.displayName="q",ne.aliases=[];function ne(E){E.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}},73191:function(me){"use strict";me.exports=ne,ne.displayName="qml",ne.aliases=[];function ne(E){(function(b){for(var ue=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,le=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,ce=/(?:[^\\()[\]{}"'/]|<string>|\/(?![*/])|<comment>|\(<expr>*\)|\[<expr>*\]|\{<expr>*\}|\\[\s\S])/.source.replace(/<string>/g,function(){return ue}).replace(/<comment>/g,function(){return le}),ge=0;ge<2;ge++)ce=ce.replace(/<expr>/g,function(){return ce});ce=ce.replace(/<expr>/g,"[^\\s\\S]"),b.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(<js>*\)\s*\{<js>*\}/.source.replace(/<js>/g,function(){return ce}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:b.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}])<js>)+/.source.replace(/<js>/g,function(){return ce}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:b.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(E)}},75542:function(me){"use strict";me.exports=ne,ne.displayName="qore",ne.aliases=[];function ne(E){E.languages.qore=E.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}},50323:function(me){"use strict";me.exports=ne,ne.displayName="qsharp",ne.aliases=["qs"];function ne(E){(function(b){function ue(ct,Ke){return ct.replace(/<<(\d+)>>/g,function(qe,Me){return"(?:"+Ke[+Me]+")"})}function le(ct,Ke,qe){return RegExp(ue(ct,Ke),qe||"")}function ce(ct,Ke){for(var qe=0;qe<Ke;qe++)ct=ct.replace(/<<self>>/g,function(){return"(?:"+ct+")"});return ct.replace(/<<self>>/g,"[^\\s\\S]")}var ge={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function oe(ct){return"\\b(?:"+ct.trim().replace(/ /g,"|")+")\\b"}var xe=RegExp(oe(ge.type+" "+ge.other)),Oe=/\b[A-Za-z_]\w*\b/.source,Se=ue(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[Oe]),he={keyword:xe,punctuation:/[<>()?,.:[\]]/},Ve=/"(?:\\.|[^\\"])*"/.source;b.languages.qsharp=b.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:le(/(^|[^$\\])<<0>>/.source,[Ve]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:le(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[Se]),lookbehind:!0,inside:he},{pattern:le(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[Se]),lookbehind:!0,inside:he}],keyword:xe,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),b.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var Ae=ce(ue(/\{(?:[^"{}]|<<0>>|<<self>>)*\}/.source,[Ve]),2);b.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:le(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[Ae]),greedy:!0,inside:{interpolation:{pattern:le(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[Ae]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:b.languages.qsharp}}},string:/[\s\S]+/}}})})(E),E.languages.qs=E.languages.qsharp}},44298:function(me){"use strict";me.exports=ne,ne.displayName="r",ne.aliases=[];function ne(E){E.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}},9634:function(me,ne,E){"use strict";var b=E(48780);me.exports=ue,ue.displayName="racket",ue.aliases=["rkt"];function ue(le){le.register(b),le.languages.racket=le.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),le.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),le.languages.rkt=le.languages.racket}},75266:function(me){"use strict";me.exports=ne,ne.displayName="reason",ne.aliases=[];function ne(E){E.languages.reason=E.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),E.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete E.languages.reason.function}},48139:function(me){"use strict";me.exports=ne,ne.displayName="regex",ne.aliases=[];function ne(E){(function(b){var ue={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},le=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,ce={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},ge={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},oe="(?:[^\\\\-]|"+le.source+")",xe=RegExp(oe+"-"+oe),Oe={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};b.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:xe,inside:{escape:le,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":ue,"char-set":ge,escape:le}},"special-escape":ue,"char-set":ce,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":Oe}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:le,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":Oe}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}})(E)}},97534:function(me){"use strict";me.exports=ne,ne.displayName="rego",ne.aliases=[];function ne(E){E.languages.rego={comment:/#.*/,property:{pattern:/(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,boolean:/\b(?:false|true)\b/,function:{pattern:/\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,inside:{namespace:/\b\w+\b(?=\s*\.)/,punctuation:/\./}},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,operator:/[-+*/%|&]|[<>:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}},90826:function(me){"use strict";me.exports=ne,ne.displayName="renpy",ne.aliases=["rpy"];function ne(E){E.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},E.languages.rpy=E.languages.renpy}},63919:function(me){"use strict";me.exports=ne,ne.displayName="rest",ne.aliases=[];function ne(E){E.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}},68862:function(me){"use strict";me.exports=ne,ne.displayName="rip",ne.aliases=[];function ne(E){E.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}},39523:function(me){"use strict";me.exports=ne,ne.displayName="roboconf",ne.aliases=[];function ne(E){E.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}},31207:function(me){"use strict";me.exports=ne,ne.displayName="robotframework",ne.aliases=[];function ne(E){(function(b){var ue={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},le={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function ce(Oe,Se){var he={};he["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var Ve in Se)he[Ve]=Se[Ve];return he.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},he.variable=le,he.comment=ue,{pattern:RegExp(/^ ?\*{3}[ \t]*<name>[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(/<name>/g,function(){return Oe}),"im"),alias:"section",inside:he}}var ge={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},oe={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:le}},xe={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:le}};b.languages.robotframework={settings:ce("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:ce("Variables"),"test-cases":ce("Test Cases",{"test-name":oe,documentation:ge,property:xe}),keywords:ce("Keywords",{"keyword-name":oe,documentation:ge,property:xe}),tasks:ce("Tasks",{"task-name":oe,documentation:ge,property:xe}),comment:ue},b.languages.robot=b.languages.robotframework})(E)}},75308:function(me){"use strict";me.exports=ne,ne.displayName="ruby",ne.aliases=["rb"];function ne(E){(function(b){b.languages.ruby=b.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),b.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var ue={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:b.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete b.languages.ruby.function;var le="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",ce=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;b.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+le+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:ue,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:ue,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+ce),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+ce+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),b.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+le),greedy:!0,inside:{interpolation:ue,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:ue,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:ue,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+le),greedy:!0,inside:{interpolation:ue,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:ue,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete b.languages.ruby.string,b.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),b.languages.rb=b.languages.ruby})(E)}},45315:function(me){"use strict";me.exports=ne,ne.displayName="rust",ne.aliases=[];function ne(E){(function(b){for(var ue=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,le=0;le<2;le++)ue=ue.replace(/<self>/g,function(){return ue});ue=ue.replace(/<self>/g,function(){return/[^\s\S]/.source}),b.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+ue),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},b.languages.rust["closure-params"].inside.rest=b.languages.rust,b.languages.rust.attribute.inside.string=b.languages.rust.string})(E)}},13794:function(me){"use strict";me.exports=ne,ne.displayName="sas",ne.aliases=[];function ne(E){(function(b){var ue=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,le=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,ce={pattern:RegExp(ue+"[bx]"),alias:"number"},ge={pattern:/&[a-z_]\w*/i},oe={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},xe={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},Oe=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],Se={pattern:RegExp(ue),greedy:!0},he=/[$%@.(){}\[\];,\\]/,Ve={pattern:/%?\b\w+(?=\()/,alias:"keyword"},Ae={function:Ve,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":ge,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:le,"numeric-constant":ce,punctuation:he,string:Se},ct={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},Ke={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},qe={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},Me={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},ze=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,Ze={pattern:RegExp(/(^|\s)(?:action\s+)?(?:<act>)\.[a-z]+\b[^;]+/.source.replace(/<act>/g,function(){return ze}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:<act>)\.[a-z]+\b/.source.replace(/<act>/g,function(){return ze}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:Oe,function:Ve,"arg-value":Ae["arg-value"],operator:Ae.operator,argument:Ae.arg,number:le,"numeric-constant":ce,punctuation:he,string:Se}},Le={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};b.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:<str>|[^;"'])+;/.source.replace(/<str>/g,function(){return ue}),"im"),alias:"language-sql",inside:b.languages.sql},"global-statements":qe,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:le,"numeric-constant":ce,punctuation:he,string:Se}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:Oe,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return ue}),"im"),lookbehind:!0,alias:"language-groovy",inside:b.languages.groovy},keyword:Le,"submit-statement":Me,"global-statements":qe,number:le,"numeric-constant":ce,punctuation:he,string:Se}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:Oe,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return ue}),"im"),lookbehind:!0,alias:"language-lua",inside:b.languages.lua},keyword:Le,"submit-statement":Me,"global-statements":qe,number:le,"numeric-constant":ce,punctuation:he,string:Se}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:Oe,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:Ae}},"cas-actions":Ze,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:Ae},step:xe,keyword:Le,function:Ve,format:ct,altformat:Ke,"global-statements":qe,number:le,"numeric-constant":ce,punctuation:he,string:Se}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|<str>)+;/.source.replace(/<str>/g,function(){return ue}),"im"),lookbehind:!0,inside:Ae},"macro-keyword":oe,"macro-variable":ge,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":oe,"macro-variable":ge,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:he}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:Oe,number:le,"numeric-constant":ce}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:Ae},"cas-actions":Ze,comment:Oe,function:Ve,format:ct,altformat:Ke,"numeric-constant":ce,datetime:{pattern:RegExp(ue+"(?:dt?|t)"),alias:"number"},string:Se,step:xe,keyword:Le,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:le,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:he}})(E)}},41299:function(me){"use strict";me.exports=ne,ne.displayName="sass",ne.aliases=[];function ne(E){(function(b){b.languages.sass=b.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),b.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete b.languages.sass.atrule;var ue=/\$[-\w]+|#\{\$[-\w]+\}/,le=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];b.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:ue,operator:le}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:ue,operator:le,important:b.languages.sass.important}}}),delete b.languages.sass.property,delete b.languages.sass.important,b.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(E)}},98177:function(me,ne,E){"use strict";var b=E(7093);me.exports=ue,ue.displayName="scala",ue.aliases=[];function ue(le){le.register(b),le.languages.scala=le.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),le.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:le.languages.scala}}},string:/[\s\S]+/}}}),delete le.languages.scala["class-name"],delete le.languages.scala.function}},48780:function(me){"use strict";me.exports=ne,ne.displayName="scheme",ne.aliases=[];function ne(E){(function(b){b.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(ue({"<ureal dec>":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"<real dec>":/[+-]?<ureal dec>|[+-](?:inf|nan)\.0/.source,"<imaginary dec>":/[+-](?:<ureal dec>|(?:inf|nan)\.0)?i/.source,"<complex dec>":/<real dec>(?:@<real dec>|<imaginary dec>)?|<imaginary dec>/.source,"<num dec>":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?<complex dec>/.source,"<ureal box>":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"<real box>":/[+-]?<ureal box>|[+-](?:inf|nan)\.0/.source,"<imaginary box>":/[+-](?:<ureal box>|(?:inf|nan)\.0)?i/.source,"<complex box>":/<real box>(?:@<real box>|<imaginary box>)?|<imaginary box>/.source,"<num box>":/#[box](?:#[ei])?|(?:#[ei])?#[box]<complex box>/.source,"<number>":/(^|[()\[\]\s])(?:<num dec>|<num box>)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function ue(le){for(var ce in le)le[ce]=le[ce].replace(/<[\w\s]+>/g,function(ge){return"(?:"+le[ge].trim()+")"});return le[ce]}})(E)}},79793:function(me){"use strict";me.exports=ne,ne.displayName="scss",ne.aliases=[];function ne(E){E.languages.scss=E.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),E.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),E.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),E.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),E.languages.scss.atrule.inside.rest=E.languages.scss}},52085:function(me,ne,E){"use strict";var b=E(3058);me.exports=ue,ue.displayName="shellSession",ue.aliases=[];function ue(le){le.register(b),function(ce){var ge=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");ce.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/g,function(){return ge}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:ce.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},ce.languages["sh-session"]=ce.languages.shellsession=ce.languages["shell-session"]}(le)}},65411:function(me){"use strict";me.exports=ne,ne.displayName="smali",ne.aliases=[];function ne(E){E.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}},84750:function(me){"use strict";me.exports=ne,ne.displayName="smalltalk",ne.aliases=[];function ne(E){E.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}},88216:function(me,ne,E){"use strict";var b=E(51478);me.exports=ue,ue.displayName="smarty",ue.aliases=[];function ue(le){le.register(b),function(ce){ce.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:ce.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},ce.languages.smarty["embedded-php"].inside.smarty.inside=ce.languages.smarty,ce.languages.smarty.string[0].inside.interpolation.inside.expression.inside=ce.languages.smarty;var ge=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,oe=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>)*\})*\})*\}/.source.replace(/<str>/g,function(){return ge.source}),"g");ce.hooks.add("before-tokenize",function(xe){var Oe="{literal}",Se="{/literal}",he=!1;ce.languages["markup-templating"].buildPlaceholders(xe,"smarty",oe,function(Ve){return Ve===Se&&(he=!1),he?!1:(Ve===Oe&&(he=!0),!0)})}),ce.hooks.add("after-tokenize",function(xe){ce.languages["markup-templating"].tokenizePlaceholders(xe,"smarty")})}(le)}},66433:function(me){"use strict";me.exports=ne,ne.displayName="sml",ne.aliases=["smlnj"];function ne(E){(function(b){var ue=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;b.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)<TERMINAL>(?:\s*(?:(?:\*|->)\s*<TERMINAL>|,\s*<TERMINAL>(?:(?=<NOT-LAST>)|(?!<NOT-LAST>)\s+<LONG-ID>)))*/.source.replace(/<NOT-LAST>/g,function(){return/\s*(?:[*,]|->)/.source}).replace(/<TERMINAL>/g,function(){return/(?:'[\w']*|<LONG-ID>|\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+<LONG-ID>)*/.source}).replace(/<LONG-ID>/g,function(){return/(?!<KEYWORD>)[a-z\d_][\w'.]*/.source}).replace(/<KEYWORD>/g,function(){return ue.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:ue,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},b.languages.sml["class-name"][0].inside=b.languages.sml,b.languages.smlnj=b.languages.sml})(E)}},34855:function(me){"use strict";me.exports=ne,ne.displayName="solidity",ne.aliases=["sol"];function ne(E){E.languages.solidity=E.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),E.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),E.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),E.languages.sol=E.languages.solidity}},12998:function(me){"use strict";me.exports=ne,ne.displayName="solutionFile",ne.aliases=[];function ne(E){(function(b){var ue={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};b.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:ue}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:ue}},guid:ue,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},b.languages.sln=b.languages["solution-file"]})(E)}},10202:function(me,ne,E){"use strict";var b=E(51478);me.exports=ue,ue.displayName="soy",ue.aliases=[];function ue(le){le.register(b),function(ce){var ge=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,oe=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;ce.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:ge,greedy:!0},number:oe,punctuation:/[\[\].?]/}},string:{pattern:ge,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:oe,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},ce.hooks.add("before-tokenize",function(xe){var Oe=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,Se="{literal}",he="{/literal}",Ve=!1;ce.languages["markup-templating"].buildPlaceholders(xe,"soy",Oe,function(Ae){return Ae===he&&(Ve=!1),Ve?!1:(Ae===Se&&(Ve=!0),!0)})}),ce.hooks.add("after-tokenize",function(xe){ce.languages["markup-templating"].tokenizePlaceholders(xe,"soy")})}(le)}},41186:function(me,ne,E){"use strict";var b=E(58710);me.exports=ue,ue.displayName="sparql",ue.aliases=["rq"];function ue(le){le.register(b),le.languages.sparql=le.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),le.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),le.languages.rq=le.languages.sparql}},68963:function(me){"use strict";me.exports=ne,ne.displayName="splunkSpl",ne.aliases=[];function ne(E){E.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}},5569:function(me){"use strict";me.exports=ne,ne.displayName="sqf",ne.aliases=[];function ne(E){E.languages.sqf=E.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),E.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:E.languages.sqf.comment}}}),delete E.languages.sqf["class-name"]}},69435:function(me){"use strict";me.exports=ne,ne.displayName="sql",ne.aliases=[];function ne(E){E.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}},42766:function(me){"use strict";me.exports=ne,ne.displayName="squirrel",ne.aliases=[];function ne(E){E.languages.squirrel=E.languages.extend("clike",{comment:[E.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),E.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),E.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}},46449:function(me){"use strict";me.exports=ne,ne.displayName="stan",ne.aliases=[];function ne(E){(function(b){var ue=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;b.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+ue.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,ue],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},b.languages.stan.constraint.inside.expression.inside=b.languages.stan})(E)}},89032:function(me){"use strict";me.exports=ne,ne.displayName="stylus",ne.aliases=[];function ne(E){(function(b){var ue={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},le={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},ce={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:ue,number:le,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:ue,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:le,punctuation:/[{}()\[\];:,]/};ce.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:ce}},ce.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:ce}},b.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:ce}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:ce}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:ce}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:ce.interpolation}},rest:ce}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:ce.interpolation,comment:ce.comment,punctuation:/[{},]/}},func:ce.func,string:ce.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:ce.interpolation,punctuation:/[{}()\[\];:.]/}})(E)}},40241:function(me){"use strict";me.exports=ne,ne.displayName="swift",ne.aliases=[];function ne(E){E.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},E.languages.swift["string-literal"].forEach(function(b){b.inside.interpolation.inside=E.languages.swift})}},24812:function(me){"use strict";me.exports=ne,ne.displayName="systemd",ne.aliases=[];function ne(E){(function(b){var ue={pattern:/^[;#].*/m,greedy:!0},le=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;b.languages.systemd={comment:ue,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+le+`|(?=[^"\r
]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+le+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:ue,quoted:{pattern:RegExp(/(^|\s)/.source+le),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(E)}},16747:function(me,ne,E){"use strict";var b=E(73584),ue=E(87648);me.exports=le,le.displayName="t4Cs",le.aliases=[];function le(ce){ce.register(b),ce.register(ue),ce.languages.t4=ce.languages["t4-cs"]=ce.languages["t4-templating"].createT4("csharp")}},73584:function(me){"use strict";me.exports=ne,ne.displayName="t4Templating",ne.aliases=[];function ne(E){(function(b){function ue(ce,ge,oe){return{pattern:RegExp("<#"+ce+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+ce+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:ge,alias:oe}}}}function le(ce){var ge=b.languages[ce],oe="language-"+ce;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:ue("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:ue("=",ge,oe),"class-feature":ue("\\+",ge,oe),standard:ue("",ge,oe)}}}}b.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:le})})(E)}},79243:function(me,ne,E){"use strict";var b=E(73584),ue=E(55686);me.exports=le,le.displayName="t4Vb",le.aliases=[];function le(ce){ce.register(b),ce.register(ue),ce.languages["t4-vb"]=ce.languages["t4-templating"].createT4("vbnet")}},31788:function(me,ne,E){"use strict";var b=E(14409);me.exports=ue,ue.displayName="tap",ue.aliases=[];function ue(le){le.register(b),le.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:le.languages.yaml,alias:"language-yaml"}}}},60871:function(me){"use strict";me.exports=ne,ne.displayName="tcl",ne.aliases=[];function ne(E){E.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}},21023:function(me){"use strict";me.exports=ne,ne.displayName="textile",ne.aliases=[];function ne(E){(function(b){var ue=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,le=/\)|\((?![^|()\n]+\))/.source;function ce(Ve,Ae){return RegExp(Ve.replace(/<MOD>/g,function(){return"(?:"+ue+")"}).replace(/<PAR>/g,function(){return"(?:"+le+")"}),Ae||"")}var ge={css:{pattern:/\{[^{}]+\}/,inside:{rest:b.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},oe=b.languages.textile=b.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:ce(/^[a-z]\w*(?:<MOD>|<PAR>|[<>=])*\./.source),inside:{modifier:{pattern:ce(/(^[a-z]\w*)(?:<MOD>|<PAR>|[<>=])+(?=\.)/.source),lookbehind:!0,inside:ge},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:ce(/^[*#]+<MOD>*\s+\S.*/.source,"m"),inside:{modifier:{pattern:ce(/(^[*#]+)<MOD>+/.source),lookbehind:!0,inside:ge},punctuation:/^[*#]+/}},table:{pattern:ce(/^(?:(?:<MOD>|<PAR>|[<>=^~])+\.\s*)?(?:\|(?:(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.|(?!(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:ce(/(^|\|(?:\r?\n|\r)?)(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:ge},punctuation:/\||^\./}},inline:{pattern:ce(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])<MOD>*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:ce(/(^(\*\*?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:ce(/(^(__?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:ce(/(^\?\?<MOD>*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:ce(/(^@<MOD>*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:ce(/(^\+<MOD>*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:ce(/(^-<MOD>*).+?(?=-)/.source),lookbehind:!0},span:{pattern:ce(/(^%<MOD>*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:ce(/(^\*\*|__|\?\?|[*_%@+\-^~])<MOD>+/.source),lookbehind:!0,inside:ge},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:ce(/"<MOD>*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:ce(/(^"<MOD>*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:ce(/(^")<MOD>+/.source),lookbehind:!0,inside:ge},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:ce(/!(?:<MOD>|<PAR>|[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:ce(/(^!(?:<MOD>|<PAR>|[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:ce(/(^!)(?:<MOD>|<PAR>|[<>=])+/.source),lookbehind:!0,inside:ge},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),xe=oe.phrase.inside,Oe={inline:xe.inline,link:xe.link,image:xe.image,footnote:xe.footnote,acronym:xe.acronym,mark:xe.mark};oe.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var Se=xe.inline.inside;Se.bold.inside=Oe,Se.italic.inside=Oe,Se.inserted.inside=Oe,Se.deleted.inside=Oe,Se.span.inside=Oe;var he=xe.table.inside;he.inline=Oe.inline,he.link=Oe.link,he.image=Oe.image,he.footnote=Oe.footnote,he.acronym=Oe.acronym,he.mark=Oe.mark})(E)}},14693:function(me){"use strict";me.exports=ne,ne.displayName="toml",ne.aliases=[];function ne(E){(function(b){var ue=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function le(ce){return ce.replace(/__/g,function(){return ue})}b.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(le(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(le(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(E)}},8743:function(me){"use strict";me.exports=ne,ne.displayName="tremor",ne.aliases=[];function ne(E){(function(b){b.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var ue=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;b.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+ue+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+ue+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(ue),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:b.languages.tremor}}},string:/[\s\S]+/}},b.languages.troy=b.languages.tremor,b.languages.trickle=b.languages.tremor})(E)}},1689:function(me,ne,E){"use strict";var b=E(24103),ue=E(92784);me.exports=le,le.displayName="tsx",le.aliases=[];function le(ce){ce.register(b),ce.register(ue),function(ge){var oe=ge.util.clone(ge.languages.typescript);ge.languages.tsx=ge.languages.extend("jsx",oe),delete ge.languages.tsx.parameter,delete ge.languages.tsx["literal-property"];var xe=ge.languages.tsx.tag;xe.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+xe.pattern.source+")",xe.pattern.flags),xe.lookbehind=!0}(ce)}},69210:function(me,ne,E){"use strict";var b=E(51478);me.exports=ue,ue.displayName="tt2",ue.aliases=[];function ue(le){le.register(b),function(ce){ce.languages.tt2=ce.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),ce.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),ce.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),ce.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete ce.languages.tt2.string,ce.hooks.add("before-tokenize",function(ge){var oe=/\[%[\s\S]+?%\]/g;ce.languages["markup-templating"].buildPlaceholders(ge,"tt2",oe)}),ce.hooks.add("after-tokenize",function(ge){ce.languages["markup-templating"].tokenizePlaceholders(ge,"tt2")})}(le)}},58710:function(me){"use strict";me.exports=ne,ne.displayName="turtle",ne.aliases=[];function ne(E){E.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},E.languages.trig=E.languages.turtle}},60452:function(me,ne,E){"use strict";var b=E(51478);me.exports=ue,ue.displayName="twig",ue.aliases=[];function ue(le){le.register(b),le.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},le.hooks.add("before-tokenize",function(ce){if(ce.language==="twig"){var ge=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;le.languages["markup-templating"].buildPlaceholders(ce,"twig",ge)}}),le.hooks.add("after-tokenize",function(ce){le.languages["markup-templating"].tokenizePlaceholders(ce,"twig")})}},92784:function(me){"use strict";me.exports=ne,ne.displayName="typescript",ne.aliases=["ts"];function ne(E){(function(b){b.languages.typescript=b.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),b.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete b.languages.typescript.parameter,delete b.languages.typescript["literal-property"];var ue=b.languages.extend("typescript",{});delete ue["class-name"],b.languages.typescript["class-name"].inside=ue,b.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:ue}}}}),b.languages.ts=b.languages.typescript})(E)}},36489:function(me){"use strict";me.exports=ne,ne.displayName="typoscript",ne.aliases=["tsconfig"];function ne(E){(function(b){var ue=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;b.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern:/<INCLUDE_TYPOSCRIPT:\s*source\s*=\s*(?:"[^"\r\n]*"|'[^'\r\n]*')\s*>/,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:ue}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:ue,number:/^\d+$/,punctuation:/[,|:]/}},keyword:ue,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},b.languages.tsconfig=b.languages.typoscript})(E)}},78380:function(me){"use strict";me.exports=ne,ne.displayName="unrealscript",ne.aliases=["uc","uscript"];function ne(E){E.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},E.languages.uc=E.languages.uscript=E.languages.unrealscript}},10409:function(me){"use strict";me.exports=ne,ne.displayName="uorazor",ne.aliases=[];function ne(E){E.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}},6539:function(me){"use strict";me.exports=ne,ne.displayName="uri",ne.aliases=["url"];function ne(E){E.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},E.languages.url=E.languages.uri}},82028:function(me){"use strict";me.exports=ne,ne.displayName="v",ne.aliases=[];function ne(E){(function(b){var ue={pattern:/[\s\S]+/,inside:null};b.languages.v=b.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":ue}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),ue.inside=b.languages.v,b.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),b.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),b.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:b.languages.v.generic.inside}}}})})(E)}},62282:function(me){"use strict";me.exports=ne,ne.displayName="vala",ne.aliases=[];function ne(E){E.languages.vala=E.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),E.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:E.languages.vala}},string:/[\s\S]+/}}}),E.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:E.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}},55686:function(me,ne,E){"use strict";var b=E(51422);me.exports=ue,ue.displayName="vbnet",ue.aliases=[];function ue(le){le.register(b),le.languages.vbnet=le.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}},70889:function(me){"use strict";me.exports=ne,ne.displayName="velocity",ne.aliases=[];function ne(E){(function(b){b.languages.velocity=b.languages.extend("markup",{});var ue={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};ue.variable.inside={string:ue.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:ue.number,boolean:ue.boolean,punctuation:ue.punctuation},b.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:ue}},variable:ue.variable}),b.languages.velocity.tag.inside["attr-value"].inside.rest=b.languages.velocity})(E)}},37116:function(me){"use strict";me.exports=ne,ne.displayName="verilog",ne.aliases=[];function ne(E){E.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}},66963:function(me){"use strict";me.exports=ne,ne.displayName="vhdl",ne.aliases=[];function ne(E){E.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}},21078:function(me){"use strict";me.exports=ne,ne.displayName="vim",ne.aliases=[];function ne(E){E.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}},96198:function(me){"use strict";me.exports=ne,ne.displayName="visualBasic",ne.aliases=[];function ne(E){E.languages["visual-basic"]={comment:{pattern:/(?:[']|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},E.languages.vb=E.languages["visual-basic"],E.languages.vba=E.languages["visual-basic"]}},17723:function(me){"use strict";me.exports=ne,ne.displayName="warpscript",ne.aliases=[];function ne(E){E.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}},67771:function(me){"use strict";me.exports=ne,ne.displayName="wasm",ne.aliases=[];function ne(E){E.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}},30307:function(me){"use strict";me.exports=ne,ne.displayName="webIdl",ne.aliases=[];function ne(E){(function(b){var ue=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,le="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+ue+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,ce={};b.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+ue),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:ce},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+le),lookbehind:!0,inside:ce},{pattern:RegExp("("+/\bcallback\s+/.source+ue+/\s*=\s*/.source+")"+le),lookbehind:!0,inside:ce},{pattern:RegExp(/(\btypedef\b\s*)/.source+le),lookbehind:!0,inside:ce},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+ue),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+ue),lookbehind:!0},RegExp(ue+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+ue),lookbehind:!0},{pattern:RegExp(le+"(?="+/\s*(?:\.{3}\s*)?/.source+ue+/\s*[(),;=]/.source+")"),inside:ce}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var ge in b.languages["web-idl"])ge!=="class-name"&&(ce[ge]=b.languages["web-idl"][ge]);b.languages.webidl=b.languages["web-idl"]})(E)}},8921:function(me){"use strict";me.exports=ne,ne.displayName="wiki",ne.aliases=[];function ne(E){E.languages.wiki=E.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:E.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),E.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:E.languages.markup.tag.inside}}}})}},13429:function(me){"use strict";me.exports=ne,ne.displayName="wolfram",ne.aliases=["mathematica","wl","nb"];function ne(E){E.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},E.languages.mathematica=E.languages.wolfram,E.languages.wl=E.languages.wolfram,E.languages.nb=E.languages.wolfram}},65197:function(me){"use strict";me.exports=ne,ne.displayName="wren",ne.aliases=[];function ne(E){E.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},E.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:E.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}},88904:function(me){"use strict";me.exports=ne,ne.displayName="xeora",ne.aliases=["xeoracube"];function ne(E){(function(b){b.languages.xeora=b.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),b.languages.insertBefore("inside","punctuation",{variable:b.languages.xeora["function-inline"].inside.variable},b.languages.xeora["function-block"]),b.languages.xeoracube=b.languages.xeora})(E)}},35:function(me){"use strict";me.exports=ne,ne.displayName="xmlDoc",ne.aliases=[];function ne(E){(function(b){function ue(oe,xe){b.languages[oe]&&b.languages.insertBefore(oe,"comment",{"doc-comment":xe})}var le=b.languages.markup.tag,ce={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:le}},ge={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:le}};ue("csharp",ce),ue("fsharp",ce),ue("vbnet",ge)})(E)}},86095:function(me){"use strict";me.exports=ne,ne.displayName="xojo",ne.aliases=[];function ne(E){E.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}},76998:function(me){"use strict";me.exports=ne,ne.displayName="xquery",ne.aliases=[];function ne(E){(function(b){b.languages.xquery=b.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),b.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,b.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,b.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,b.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:b.languages.xquery,alias:"language-xquery"};var ue=function(ce){return typeof ce=="string"?ce:typeof ce.content=="string"?ce.content:ce.content.map(ue).join("")},le=function(ce){for(var ge=[],oe=0;oe<ce.length;oe++){var xe=ce[oe],Oe=!1;if(typeof xe!="string"&&(xe.type==="tag"&&xe.content[0]&&xe.content[0].type==="tag"?xe.content[0].content[0].content==="</"?ge.length>0&&ge[ge.length-1].tagName===ue(xe.content[0].content[1])&&ge.pop():xe.content[xe.content.length-1].content==="/>"||ge.push({tagName:ue(xe.content[0].content[1]),openedBraces:0}):ge.length>0&&xe.type==="punctuation"&&xe.content==="{"&&(!ce[oe+1]||ce[oe+1].type!=="punctuation"||ce[oe+1].content!=="{")&&(!ce[oe-1]||ce[oe-1].type!=="plain-text"||ce[oe-1].content!=="{")?ge[ge.length-1].openedBraces++:ge.length>0&&ge[ge.length-1].openedBraces>0&&xe.type==="punctuation"&&xe.content==="}"?ge[ge.length-1].openedBraces--:xe.type!=="comment"&&(Oe=!0)),(Oe||typeof xe=="string")&&ge.length>0&&ge[ge.length-1].openedBraces===0){var Se=ue(xe);oe<ce.length-1&&(typeof ce[oe+1]=="string"||ce[oe+1].type==="plain-text")&&(Se+=ue(ce[oe+1]),ce.splice(oe+1,1)),oe>0&&(typeof ce[oe-1]=="string"||ce[oe-1].type==="plain-text")&&(Se=ue(ce[oe-1])+Se,ce.splice(oe-1,1),oe--),/^\s+$/.test(Se)?ce[oe]=Se:ce[oe]=new b.Token("plain-text",Se,null,Se)}xe.content&&typeof xe.content!="string"&&le(xe.content)}};b.hooks.add("after-tokenize",function(ce){ce.language==="xquery"&&le(ce.tokens)})})(E)}},14409:function(me){"use strict";me.exports=ne,ne.displayName="yaml",ne.aliases=["yml"];function ne(E){(function(b){var ue=/[*&][^\s[\]{},]+/,le=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,ce="(?:"+le.source+"(?:[ ]+"+ue.source+")?|"+ue.source+"(?:[ ]+"+le.source+")?)",ge=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),oe=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function xe(Oe,Se){Se=(Se||"").replace(/m/g,"")+"m";var he=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return ce}).replace(/<<value>>/g,function(){return Oe});return RegExp(he,Se)}b.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return ce})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return ce}).replace(/<<key>>/g,function(){return"(?:"+ge+"|"+oe+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:xe(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:xe(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:xe(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:xe(oe),lookbehind:!0,greedy:!0},number:{pattern:xe(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:le,important:ue,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},b.languages.yml=b.languages.yaml})(E)}},33460:function(me){"use strict";me.exports=ne,ne.displayName="yang",ne.aliases=[];function ne(E){E.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}},28108:function(me){"use strict";me.exports=ne,ne.displayName="zig",ne.aliases=[];function ne(E){(function(b){function ue(Se){return function(){return Se}}var le=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,ce="\\b(?!"+le.source+")(?!\\d)\\w+\\b",ge=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,oe=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(/<ALIGN>/g,ue(ge)),xe=/(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(/<ID>/g,ue(ce)),Oe="(?!\\s)(?:!?\\s*(?:"+oe+"\\s*)*"+xe+")+";b.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?[=;,)])|<TYPE>(?=\s*(?:<ALIGN>\s*)?\{)/.source.replace(/<TYPE>/g,ue(Oe)).replace(/<ALIGN>/g,ue(ge))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g,ue(Oe)).replace(/<ALIGN>/g,ue(ge))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:le,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},b.languages.zig["class-name"].forEach(function(Se){Se.inside===null&&(Se.inside=b.languages.zig)})})(E)}},92848:function(me,ne){"use strict";var E;ne.Q=ce,E=ge;var b="",ue=" ",le=/[ \t\n\r\f]+/g;function ce(oe){var xe=String(oe||b).trim();return xe===b?[]:xe.split(le)}function ge(oe){return oe.join(ue).trim()}},6526:function(me,ne,E){"use strict";var b=this&&this.__importDefault||function(ge){return ge&&ge.__esModule?ge:{default:ge}},ue=b(E(78846)),le=E(11160);function ce(ge,oe){var xe={};return!ge||typeof ge!="string"||(0,ue.default)(ge,function(Oe,Se){Oe&&Se&&(xe[(0,le.camelCase)(Oe,oe)]=Se)}),xe}ce.default=ce,me.exports=ce},11160:function(me,ne){"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.camelCase=void 0;var E=/^--[a-zA-Z0-9_-]+$/,b=/-([a-z])/g,ue=/^[^-]+$/,le=/^-(webkit|moz|ms|o|khtml)-/,ce=/^-(ms)-/,ge=function(Se){return!Se||ue.test(Se)||E.test(Se)},oe=function(Se,he){return he.toUpperCase()},xe=function(Se,he){return"".concat(he,"-")},Oe=function(Se,he){return he===void 0&&(he={}),ge(Se)?Se:(Se=Se.toLowerCase(),he.reactCompat?Se=Se.replace(ce,xe):Se=Se.replace(le,xe),Se.replace(b,oe))};ne.camelCase=Oe},78846:function(me,ne,E){"use strict";var b=this&&this.__importDefault||function(ce){return ce&&ce.__esModule?ce:{default:ce}};Object.defineProperty(ne,"__esModule",{value:!0}),ne.default=le;var ue=b(E(93193));function le(ce,ge){var oe=null;if(!ce||typeof ce!="string")return oe;var xe=(0,ue.default)(ce),Oe=typeof ge=="function";return xe.forEach(function(Se){if(Se.type==="declaration"){var he=Se.property,Ve=Se.value;Oe?ge(he,Ve,Se):Ve&&(oe=oe||{},oe[he]=Ve)}}),oe}},97270:function(me){me.exports=E;var ne=Object.prototype.hasOwnProperty;function E(){for(var b={},ue=0;ue<arguments.length;ue++){var le=arguments[ue];for(var ce in le)ne.call(le,ce)&&(b[ce]=le[ce])}return b}},20441:function(me,ne,E){var b={"./aac.svg":25512,"./amr.svg":89501,"./avi.svg":10316,"./bmp.svg":35225,"./default.svg":54132,"./doc.svg":1753,"./docx.svg":49983,"./flv.svg":67570,"./gif.svg":82652,"./jpeg.svg":25097,"./jpg.svg":15308,"./m4a.svg":47230,"./md.svg":41405,"./mkv.svg":45873,"./mov.svg":27884,"./mp3.svg":98058,"./mp4.svg":56816,"./mpeg.svg":49902,"./ogg.svg":41564,"./opus.svg":3170,"./pdf.svg":67456,"./png.svg":449,"./ppt.svg":37742,"./pptx.svg":27789,"./txt.svg":17433,"./wav.svg":44484,"./webm.svg":21777,"./wma.svg":10458,"./wmv.svg":10462,"./wps.svg":7727,"./xls.svg":74520,"./xlsx.svg":6874};function ue(ce){var ge=le(ce);return E(ge)}function le(ce){if(!E.o(b,ce)){var ge=new Error("Cannot find module '"+ce+"'");throw ge.code="MODULE_NOT_FOUND",ge}return b[ce]}ue.keys=function(){return Object.keys(b)},ue.resolve=le,me.exports=ue,ue.id=20441},25512:function(me,ne,E){"use strict";me.exports=E.p+"static/aac.b3e9a3ba.svg"},89501:function(me,ne,E){"use strict";me.exports=E.p+"static/amr.ce411d51.svg"},10316:function(me,ne,E){"use strict";me.exports=E.p+"static/avi.d7b8adf7.svg"},35225:function(me,ne,E){"use strict";me.exports=E.p+"static/bmp.c62f88c4.svg"},54132:function(me,ne,E){"use strict";me.exports=E.p+"static/default.f48aef2c.svg"},1753:function(me,ne,E){"use strict";me.exports=E.p+"static/doc.e6c75d4c.svg"},49983:function(me,ne,E){"use strict";me.exports=E.p+"static/docx.150535e3.svg"},67570:function(me,ne,E){"use strict";me.exports=E.p+"static/flv.43967063.svg"},82652:function(me,ne,E){"use strict";me.exports=E.p+"static/gif.b2122741.svg"},25097:function(me,ne,E){"use strict";me.exports=E.p+"static/jpeg.fffee469.svg"},15308:function(me,ne,E){"use strict";me.exports=E.p+"static/jpg.2fb4a360.svg"},47230:function(me,ne,E){"use strict";me.exports=E.p+"static/m4a.7994dbc0.svg"},41405:function(me,ne,E){"use strict";me.exports=E.p+"static/md.1f56aa84.svg"},45873:function(me,ne,E){"use strict";me.exports=E.p+"static/mkv.f43ec502.svg"},27884:function(me,ne,E){"use strict";me.exports=E.p+"static/mov.1e1eebb7.svg"},98058:function(me,ne,E){"use strict";me.exports=E.p+"static/mp3.a7e45c91.svg"},56816:function(me,ne,E){"use strict";me.exports=E.p+"static/mp4.31a2d9d7.svg"},49902:function(me,ne,E){"use strict";me.exports=E.p+"static/mpeg.9a0dfa86.svg"},41564:function(me,ne,E){"use strict";me.exports=E.p+"static/ogg.0394dc54.svg"},3170:function(me,ne,E){"use strict";me.exports=E.p+"static/opus.faad335c.svg"},67456:function(me,ne,E){"use strict";me.exports=E.p+"static/pdf.5d12b224.svg"},449:function(me,ne,E){"use strict";me.exports=E.p+"static/png.eacc8c1c.svg"},37742:function(me,ne,E){"use strict";me.exports=E.p+"static/ppt.d710530e.svg"},27789:function(me,ne,E){"use strict";me.exports=E.p+"static/pptx.d78add0d.svg"},17433:function(me,ne,E){"use strict";me.exports=E.p+"static/txt.53f7213d.svg"},44484:function(me,ne,E){"use strict";me.exports=E.p+"static/wav.a76e7dde.svg"},21777:function(me,ne,E){"use strict";me.exports=E.p+"static/webm.3a7e6ebc.svg"},10458:function(me,ne,E){"use strict";me.exports=E.p+"static/wma.a57b430b.svg"},10462:function(me,ne,E){"use strict";me.exports=E.p+"static/wmv.f22ee4a1.svg"},7727:function(me,ne,E){"use strict";me.exports=E.p+"static/wps.f48aef2c.svg"},74520:function(me,ne,E){"use strict";me.exports=E.p+"static/xls.0db636e2.svg"},6874:function(me,ne,E){"use strict";me.exports=E.p+"static/xlsx.5d09490a.svg"},32637:function(me,ne,E){"use strict";me.exports=E.p+"static/AssistantCode3.a8740efb.jpeg"},93314:function(me){"use strict";me.exports="data:image/png;base64,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"},73631:function(me){"use strict";me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAZxJREFUOBGtlL1Ow0AMgH2XUIkOLFXVASgTsDHxBIAEzAwMPBQjT8AATGVBgEBCYmHmFcICYmBogCbNYSe52HUTVZWwFJ3PP599Z+WMcy6Af5SwYkWnLYifTyBzq5XNK8YNwbbvYP381ZuaVlN1+HJwAc4d1QYaA+gDsHYANrhGHTdCMtSDMILtwSMDn7ZiANPKwyjeQ0Reo4r1gEoEwRkDb7spdPcBeocMk1Cv00oii5L+fgPwcR/zHfb3AJY2sEpUVLOUhB/l+w7I1iS9TYDFrM3AzhqGDstPZ3li2Z12U2WLvk4fGJh+F0elYN8ZrbWiA7igAP4WR6sFzDAKPgPHP0VnlMsFS5IyyIGoeAamCKybYI5UQLWVE2fgGI/s72wqQXRd9jyxiHgGJtihFxGQm8Qd5XvtF3fEQOrQH9mDm1Z9hyJuEphXIq9uSWSQqv8a4RbAUTFdcs7gifwplYGjT3wzbPFz6Q70EZv8WZoxMP66ApMc86inirNBA8njcFIuvOTXhowPyzuQJiukzi3hQgS7b+I9nJtQn/AHsLGsvlcPPWsAAAAASUVORK5CYII="},5623:function(me){"use strict";me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAedJREFUOBGtVDtLA0EQ/jY5z7dgEBVJLHyAitpYWQqKjVZa5BfEKpWlWPgrLG0UEdTexkILRUQiSBBBCAhGUINFHia53Dm7ufXcvfgIOHA3O69vvtnbPeY4ThD/KIF/xBJQhg/wbmkZtj0KMKbEGNIweg4xuPmq+DWDKSOfz2/AqaxpOVWzip8HC2xTsydfjoMHhMd2VMDjkSswTPqSucOhh3PmupaIediBOnL52UTLENC7QCV1bC9vkjkF3i4WVUDeORIF2sf5ymOk7mY1pr87hoHEhekHDLYQOfck8c6c6OeYfPHN3LyOxEB2KwQru0LrBvTPdaGRipj7ISUzqUWJ/moiRyc1tUXAQP42Tsa6sEIRCtwDRXqESDYS8RuG5iyRMEWFAat4CbvsAmgFmukmeYofJYeSAimab0L4DfQNHiF1laFAyMv840o2zN3Q1FMuIOIWStF9OtAxH4xkIC8NZyN9SnIOsNISkLRd3EWlFBP0lQJtDzVTyc8mBKB3U65nUnBYmDaFAr98BFGqvYKtwOMZHRsp1vsedVxV8bQRJXu5BbKWa6sAmK1lj2FiOoLcS5LYNX/N+3ktp+GapFJMeoDccdI9gEJ2nW5HhJjKuXmktih7yjJoC8VVwNpldXnr+KX8DfcD09mnwzz7SXEAAAAASUVORK5CYII="},36413:function(me){"use strict";me.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAYCAYAAAD+vg1LAAAAAXNSR0IArs4c6QAABPRJREFUSEudlXtQVGUYxp/vnLOcXcDltsACCyjesAypbMbQEpsxCyfDZtbyMqOMgZPSaDOYXUaGSzhoNXkBBbRGpXEGCx1Xa1KsTDTJQcUQyJ3RVEA22GUX3N2zl3POV7sMTCuE1Tdz5vzxvuf3fs97OwSPOHNnL13IgDwDyGGUIY0XLh8/9ahvfHYyllNmZibnHVDHcAo2WZZpLQX5DKAaAuQDZAeFHBYTOr0qLbhAhDPaVnSOuB7mBIC3Lul+kiX0iV96y3Ps3q7M8W42M2ItolXpvrv9wbBcWtFxbe/f/UfAW7PvP01k6bKCJ0yXcAbtJsM/cgkhKN/2MVKmJOHkPis6b4pLSk4knBwTXPhq59IXVqiPzV+mxoBtEPVHv4Xb7QEowPMKhE4IgSY6EnEJsZg4KREqldLPqdtuQdsl1+rSE7rDo8CUFjHNX8Qd6JX0OVm5Ef+mNiM+hr1WXDnt2FRiSNw1Gnw97wPT/diyxtaN0G+OGrG3OgUwf91qBs9DFGWIXgmiKEH0ypAkGZrYCThbO4gL9Q+KSwyJRQFgem3dVBDaNmANUxxrKEBOWQw6rS4MDnqQO9gDQ+pk9LWbQGmgEF+epz6mRdMpJxoODu4qMeg2BYKv5+0AxeYHt8Nx6Ow7yK/U4mynFfmmblQlJSEzVg1bvwM+EMcx4BQsOI4Fy/m0AFcaHDhZYTtcbNCtDgS35HUASB1o1KCq6S1s+VIHd3sbhPgUqNVKMMyYrT7C6GgScGrP3UvvHpmR8TDYCUBlqdeh5sYKFOxUQDp/BsqVayGDwOT1Ij5IEZAHX1pkWfaruNfuwffVV7E271A2Sas+MexIaEuuXXYzIea6ZBztXoycV65CMWkipLR52Gs1Q6VgsYzwGLQJkCQKWRoqnO9oYtWgHhW+Kr2B/LeruhHmmUImHfRPIaEtea1eS9BM6zfx6I9MQnKcDfZFeuyyufCDy4HGp1Jh67PDYXeDZZmhh2PAsAxCQnl4nAxqNhpRsHmnb0GsJ7Nq9g2Br62rdHcp1zuaE6BKVIHRxoN9MRtnuqwID+KQkRA2bl97PRTly+9ga2G5D3eRpFfPGwK35ma4jKEXxZ5ksEoWTFwC+Kyl/2lISvXdeP+9beA40QurMZgsOCf6S24/+OFPjKh93h+J56Fc+SYoCKhM8bnZgteiwhHBsP7hkHyDIsqQRMkfPDwyBEUbbmHVikpMDnWAqBBNpteYh8AV2xcyyuDTw2tUuSoXl/pcMDpdOEcEVGq1uHvLPEpFG3qxgzmPZnun35ZCZPQwrF6Y8+nXI03q3P9JBQi/gRIWwWvWoe6OBRU2CwzTUjCBZzFgdfqLNjwcRq8Zczv2wCF7AgKqGI4Kkpgd0P2m3ZV1XnWyXrd6MZEl6pccxLNj5vsNYy3qzC0Bttej0rE9eTEmXi37bdRY/XzkZuGzy6cVP6p6SVdKkaqMQXyQGof6mrEmejY+SnoZL7Xvxw3BNPrXRCnVADjvETxcz21ximAnxOOS4RYoPC4KjyD73zmJlVBGAE1pG1Hb2wy9ZhYWtlXD6OoDQOm4i+C7svq4O1265fYH6jkRkf0z1Go7r1QKMpXZW4Xpv4a0RFnmL4uaheLERcjqOIDf3f3DQhvG3zDj5ePHTeEIYi4AeDzQjVrAkYz/D/bRmreEwePdAoosACwILkISt+G53ff+BFCGCYWbZ5SAAAAAAElFTkSuQmCC"},96908:function(me){"use strict";me.exports="data:image/png;base64,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"},57177:function(me){"use strict";me.exports="data:image/png;base64,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"},81378:function(me){"use strict";me.exports="data:image/png;base64,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"},93162:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return ue}});var b=E(15417);function ue(le,ce){var ge=typeof Symbol!="undefined"&&le[Symbol.iterator]||le["@@iterator"];if(!ge){if(Array.isArray(le)||(ge=(0,b.Z)(le))||ce&&le&&typeof le.length=="number"){ge&&(le=ge);var oe=0,xe=function(){};return{s:xe,n:function(){return oe>=le.length?{done:!0}:{done:!1,value:le[oe++]}},e:function(Ae){throw Ae},f:xe}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Oe,Se=!0,he=!1;return{s:function(){ge=ge.call(le)},n:function(){var Ae=ge.next();return Se=Ae.done,Ae},e:function(Ae){he=!0,Oe=Ae},f:function(){try{Se||ge.return==null||ge.return()}finally{if(he)throw Oe}}}}},97755:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return ue}});var b=E(67489);function ue(le,ce){le.prototype=Object.create(ce.prototype),le.prototype.constructor=le,(0,b.Z)(le,ce)}},90302:function(me,ne,E){"use strict";E.d(ne,{ZP:function(){return ke}});const b=-1,ue=0,le=1,ce=2,ge=3,oe=4,xe=5,Oe=6,Se=7,he=8,Ve=typeof self=="object"?self:globalThis,Ae=(Re,Te)=>{const Ye=(Fe,tt)=>(Re.set(tt,Fe),Fe),lt=Fe=>{if(Re.has(Fe))return Re.get(Fe);const[tt,$e]=Te[Fe];switch(tt){case ue:case b:return Ye($e,Fe);case le:{const Ue=Ye([],Fe);for(const Xe of $e)Ue.push(lt(Xe));return Ue}case ce:{const Ue=Ye({},Fe);for(const[Xe,et]of $e)Ue[lt(Xe)]=lt(et);return Ue}case ge:return Ye(new Date($e),Fe);case oe:{const{source:Ue,flags:Xe}=$e;return Ye(new RegExp(Ue,Xe),Fe)}case xe:{const Ue=Ye(new Map,Fe);for(const[Xe,et]of $e)Ue.set(lt(Xe),lt(et));return Ue}case Oe:{const Ue=Ye(new Set,Fe);for(const Xe of $e)Ue.add(lt(Xe));return Ue}case Se:{const{name:Ue,message:Xe}=$e;return Ye(new Ve[Ue](Xe),Fe)}case he:return Ye(BigInt($e),Fe);case"BigInt":return Ye(Object(BigInt($e)),Fe);case"ArrayBuffer":return Ye(new Uint8Array($e).buffer,$e);case"DataView":{const{buffer:Ue}=new Uint8Array($e);return Ye(new DataView(Ue),$e)}}return Ye(new Ve[tt]($e),Fe)};return lt},ct=Re=>Ae(new Map,Re)(0),Ke="",{toString:qe}={},{keys:Me}=Object,ze=Re=>{const Te=typeof Re;if(Te!=="object"||!Re)return[ue,Te];const Ye=qe.call(Re).slice(8,-1);switch(Ye){case"Array":return[le,Ke];case"Object":return[ce,Ke];case"Date":return[ge,Ke];case"RegExp":return[oe,Ke];case"Map":return[xe,Ke];case"Set":return[Oe,Ke];case"DataView":return[le,Ye]}return Ye.includes("Array")?[le,Ye]:Ye.includes("Error")?[Se,Ye]:[ce,Ye]},Ze=([Re,Te])=>Re===ue&&(Te==="function"||Te==="symbol"),Le=(Re,Te,Ye,lt)=>{const Fe=($e,Ue)=>{const Xe=lt.push($e)-1;return Ye.set(Ue,Xe),Xe},tt=$e=>{if(Ye.has($e))return Ye.get($e);let[Ue,Xe]=ze($e);switch(Ue){case ue:{let rt=$e;switch(Xe){case"bigint":Ue=he,rt=$e.toString();break;case"function":case"symbol":if(Re)throw new TypeError("unable to serialize "+Xe);rt=null;break;case"undefined":return Fe([b],$e)}return Fe([Ue,rt],$e)}case le:{if(Xe){let kt=$e;return Xe==="DataView"?kt=new Uint8Array($e.buffer):Xe==="ArrayBuffer"&&(kt=new Uint8Array($e)),Fe([Xe,[...kt]],$e)}const rt=[],ht=Fe([Ue,rt],$e);for(const kt of $e)rt.push(tt(kt));return ht}case ce:{if(Xe)switch(Xe){case"BigInt":return Fe([Xe,$e.toString()],$e);case"Boolean":case"Number":case"String":return Fe([Xe,$e.valueOf()],$e)}if(Te&&"toJSON"in $e)return tt($e.toJSON());const rt=[],ht=Fe([Ue,rt],$e);for(const kt of Me($e))(Re||!Ze(ze($e[kt])))&&rt.push([tt(kt),tt($e[kt])]);return ht}case ge:return Fe([Ue,$e.toISOString()],$e);case oe:{const{source:rt,flags:ht}=$e;return Fe([Ue,{source:rt,flags:ht}],$e)}case xe:{const rt=[],ht=Fe([Ue,rt],$e);for(const[kt,St]of $e)(Re||!(Ze(ze(kt))||Ze(ze(St))))&&rt.push([tt(kt),tt(St)]);return ht}case Oe:{const rt=[],ht=Fe([Ue,rt],$e);for(const kt of $e)(Re||!Ze(ze(kt)))&&rt.push(tt(kt));return ht}}const{message:et}=$e;return Fe([Ue,{name:Xe,message:et}],$e)};return tt},Pe=(Re,{json:Te,lossy:Ye}={})=>{const lt=[];return Le(!(Te||Ye),!!Te,new Map,lt)(Re),lt};var ke=typeof structuredClone=="function"?(Re,Te)=>Te&&("json"in Te||"lossy"in Te)?ct(Pe(Re,Te)):structuredClone(Re):(Re,Te)=>ct(Pe(Re,Te))},11630:function(me,ne,E){"use strict";E.d(ne,{P:function(){return ue},Q:function(){return b}});function b(le){const ce=[],ge=String(le||"");let oe=ge.indexOf(","),xe=0,Oe=!1;for(;!Oe;){oe===-1&&(oe=ge.length,Oe=!0);const Se=ge.slice(xe,oe).trim();(Se||!Oe)&&ce.push(Se),xe=oe+1,oe=ge.indexOf(",",xe)}return ce}function ue(le,ce){const ge=ce||{};return(le[le.length-1]===""?[...le,""]:le).join((ge.padRight?" ":"")+","+(ge.padLeft===!1?"":" ")).trim()}},87342:function(me,ne,E){"use strict";E.d(ne,{ok:function(){return le},t1:function(){return ce}});function b(ge){return ge}function ue(){}function le(){}function ce(){}},40797:function(me,ne,E){"use strict";E.d(ne,{N:function(){return ct}});var b=E(81994),ue=E(43309);function le(qe,Me){return ce(qe,Me||{})||{type:"root",children:[]}}function ce(qe,Me){const ze=ge(qe,Me);return ze&&Me.afterTransform&&Me.afterTransform(qe,ze),ze}function ge(qe,Me){switch(qe.nodeType){case 1:return he(qe,Me);case 3:return Oe(qe);case 8:return Se(qe);case 9:return oe(qe,Me);case 10:return xe();case 11:return oe(qe,Me);default:return}}function oe(qe,Me){return{type:"root",children:Ve(qe,Me)}}function xe(){return{type:"doctype"}}function Oe(qe){return{type:"text",value:qe.nodeValue||""}}function Se(qe){return{type:"comment",value:qe.nodeValue||""}}function he(qe,Me){const ze=qe.namespaceURI,Ze=ze===ue.t.svg?b.s:b.h,Le=ze===ue.t.html?qe.tagName.toLowerCase():qe.tagName,Pe=ze===ue.t.html&&Le==="template"?qe.content:qe,ke=qe.getAttributeNames(),Re={};let Te=-1;for(;++Te<ke.length;)Re[ke[Te]]=qe.getAttribute(ke[Te])||"";return Ze(Le,Re,Ve(Pe,Me))}function Ve(qe,Me){const ze=qe.childNodes,Ze=[];let Le=-1;for(;++Le<ze.length;){const Pe=ce(ze[Le],Me);Pe!==void 0&&Ze.push(Pe)}return Ze}const Ae=new DOMParser;function ct(qe,Me){const ze=Me!=null&&Me.fragment?Ke(qe):Ae.parseFromString(qe,"text/html");return le(ze)}function Ke(qe){const Me=document.createElement("template");return Me.innerHTML=qe,Me.content}},91378:function(me,ne,E){"use strict";E.d(ne,{l:function(){return Ze}});var b=E(10502);const ue=function($e,Ue,Xe){const et=(0,b.O)(Xe);if(!$e||!$e.type||!$e.children)throw new Error("Expected parent node");if(typeof Ue=="number"){if(Ue<0||Ue===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(Ue=$e.children.indexOf(Ue),Ue<0)throw new Error("Expected child node or index");for(;++Ue<$e.children.length;)if(et($e.children[Ue],Ue,$e))return $e.children[Ue]},le=function($e,Ue,Xe,et,rt){const ht=ce(Ue);if(Xe!=null&&(typeof Xe!="number"||Xe<0||Xe===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite `index`");if(et!=null&&(!et.type||!et.children))throw new Error("Expected valid `parent`");if(Xe==null!=(et==null))throw new Error("Expected both `index` and `parent`");return Se($e)?ht.call(rt,$e,Xe,et):!1},ce=function($e){if($e==null)return Oe;if(typeof $e=="string")return oe($e);if(typeof $e=="object")return ge($e);if(typeof $e=="function")return xe($e);throw new Error("Expected function, string, or array as `test`")};function ge($e){const Ue=[];let Xe=-1;for(;++Xe<$e.length;)Ue[Xe]=ce($e[Xe]);return xe(et);function et(...rt){let ht=-1;for(;++ht<Ue.length;)if(Ue[ht].apply(this,rt))return!0;return!1}}function oe($e){return xe(Ue);function Ue(Xe){return Xe.tagName===$e}}function xe($e){return Ue;function Ue(Xe,et,rt){return!!(Se(Xe)&&$e.call(this,Xe,typeof et=="number"?et:void 0,rt||void 0))}}function Oe($e){return!!($e&&typeof $e=="object"&&"type"in $e&&$e.type==="element"&&"tagName"in $e&&typeof $e.tagName=="string")}function Se($e){return $e!==null&&typeof $e=="object"&&"type"in $e&&"tagName"in $e}const he=/\n/g,Ve=/[\t ]+/g,Ae=ce("br"),ct=ce(Fe),Ke=ce("p"),qe=ce("tr"),Me=ce(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",lt,tt]),ze=ce(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function Ze($e,Ue){const Xe=Ue||{},et="children"in $e?$e.children:[],rt=ze($e),ht=Ye($e,{whitespace:Xe.whitespace||"normal",breakBefore:!1,breakAfter:!1}),kt=[];($e.type==="text"||$e.type==="comment")&&kt.push(...ke($e,{whitespace:ht,breakBefore:!0,breakAfter:!0}));let St=-1;for(;++St<et.length;)kt.push(...Le(et[St],$e,{whitespace:ht,breakBefore:St?void 0:rt,breakAfter:St<et.length-1?Ae(et[St+1]):rt}));const Gt=[];let nt;for(St=-1;++St<kt.length;){const je=kt[St];typeof je=="number"?nt!==void 0&&je>nt&&(nt=je):je&&(nt!==void 0&&nt>-1&&Gt.push(`
`.repeat(nt)||" "),nt=-1,Gt.push(je))}return Gt.join("")}function Le($e,Ue,Xe){return $e.type==="element"?Pe($e,Ue,Xe):$e.type==="text"?Xe.whitespace==="normal"?ke($e,Xe):Re($e):[]}function Pe($e,Ue,Xe){const et=Ye($e,Xe),rt=$e.children||[];let ht=-1,kt=[];if(Me($e))return kt;let St,Gt;for(Ae($e)||qe($e)&&ue(Ue,$e,qe)?Gt=`
`:Ke($e)?(St=2,Gt=2):ze($e)&&(St=1,Gt=1);++ht<rt.length;)kt=kt.concat(Le(rt[ht],$e,{whitespace:et,breakBefore:ht?void 0:St,breakAfter:ht<rt.length-1?Ae(rt[ht+1]):Gt}));return ct($e)&&ue(Ue,$e,ct)&&kt.push(" "),St&&kt.unshift(St),Gt&&kt.push(Gt),kt}function ke($e,Ue){const Xe=String($e.value),et=[],rt=[];let ht=0;for(;ht<=Xe.length;){he.lastIndex=ht;const Gt=he.exec(Xe),nt=Gt&&"index"in Gt?Gt.index:Xe.length;et.push(Te(Xe.slice(ht,nt).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),ht===0?Ue.breakBefore:!0,nt===Xe.length?Ue.breakAfter:!0)),ht=nt+1}let kt=-1,St;for(;++kt<et.length;)et[kt].charCodeAt(et[kt].length-1)===8203||kt<et.length-1&&et[kt+1].charCodeAt(0)===8203?(rt.push(et[kt]),St=void 0):et[kt]?(typeof St=="number"&&rt.push(St),rt.push(et[kt]),St=0):(kt===0||kt===et.length-1)&&rt.push(0);return rt}function Re($e){return[String($e.value)]}function Te($e,Ue,Xe){const et=[];let rt=0,ht;for(;rt<$e.length;){Ve.lastIndex=rt;const kt=Ve.exec($e);ht=kt?kt.index:$e.length,!rt&&!ht&&kt&&!Ue&&et.push(""),rt!==ht&&et.push($e.slice(rt,ht)),rt=kt?ht+kt[0].length:ht}return rt!==ht&&!Xe&&et.push(""),et.join(" ")}function Ye($e,Ue){if($e.type==="element"){const Xe=$e.properties||{};switch($e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return Xe.wrap?"pre-wrap":"pre";case"td":case"th":return Xe.noWrap?"nowrap":Ue.whitespace;case"textarea":return"pre-wrap";default:}}return Ue.whitespace}function lt($e){return!!($e.properties||{}).hidden}function Fe($e){return $e.tagName==="td"||$e.tagName==="th"}function tt($e){return $e.tagName==="dialog"&&!($e.properties||{}).open}},81994:function(me,ne,E){"use strict";E.d(ne,{h:function(){return Me},s:function(){return ze}});var b=E(14470),ue=E(11630);const le=/[#.]/g;function ce(Ze,Le){const Pe=Ze||"",ke={};let Re=0,Te,Ye;for(;Re<Pe.length;){le.lastIndex=Re;const lt=le.exec(Pe),Fe=Pe.slice(Re,lt?lt.index:Pe.length);Fe&&(Te?Te==="#"?ke.id=Fe:Array.isArray(ke.className)?ke.className.push(Fe):ke.className=[Fe]:Ye=Fe,Re+=Fe.length),lt&&(Te=lt[0],Re++)}return{type:"element",tagName:Ye||Le||"div",properties:ke,children:[]}}var ge=E(86825),oe=E(13830),xe=E(71523);function Oe(Ze,Le,Pe){const ke=Pe?Ke(Pe):void 0;function Re(Te,Ye,...lt){let Fe;if(Te==null){Fe={type:"root",children:[]};const tt=Ye;lt.unshift(tt)}else{Fe=ce(Te,Le);const tt=Fe.tagName.toLowerCase(),$e=ke?ke.get(tt):void 0;if(Fe.tagName=$e||tt,Se(Ye))lt.unshift(Ye);else for(const[Ue,Xe]of Object.entries(Ye))he(Ze,Fe.properties,Ue,Xe)}for(const tt of lt)Ve(Fe.children,tt);return Fe.type==="element"&&Fe.tagName==="template"&&(Fe.content={type:"root",children:Fe.children},Fe.children=[]),Fe}return Re}function Se(Ze){if(Ze===null||typeof Ze!="object"||Array.isArray(Ze))return!0;if(typeof Ze.type!="string")return!1;const Le=Ze,Pe=Object.keys(Ze);for(const ke of Pe){const Re=Le[ke];if(Re&&typeof Re=="object"){if(!Array.isArray(Re))return!0;const Te=Re;for(const Ye of Te)if(typeof Ye!="number"&&typeof Ye!="string")return!0}}return!!("children"in Ze&&Array.isArray(Ze.children))}function he(Ze,Le,Pe,ke){const Re=(0,ge.s)(Ze,Pe);let Te;if(ke!=null){if(typeof ke=="number"){if(Number.isNaN(ke))return;Te=ke}else typeof ke=="boolean"?Te=ke:typeof ke=="string"?Re.spaceSeparated?Te=(0,xe.Q)(ke):Re.commaSeparated?Te=(0,ue.Q)(ke):Re.commaOrSpaceSeparated?Te=(0,xe.Q)((0,ue.Q)(ke).join(" ")):Te=Ae(Re,Re.property,ke):Array.isArray(ke)?Te=[...ke]:Te=Re.property==="style"?ct(ke):String(ke);if(Array.isArray(Te)){const Ye=[];for(const lt of Te)Ye.push(Ae(Re,Re.property,lt));Te=Ye}Re.property==="className"&&Array.isArray(Le.className)&&(Te=Le.className.concat(Te)),Le[Re.property]=Te}}function Ve(Ze,Le){if(Le!=null)if(typeof Le=="number"||typeof Le=="string")Ze.push({type:"text",value:String(Le)});else if(Array.isArray(Le))for(const Pe of Le)Ve(Ze,Pe);else if(typeof Le=="object"&&"type"in Le)Le.type==="root"?Ve(Ze,Le.children):Ze.push(Le);else throw new Error("Expected node, nodes, or string, got `"+Le+"`")}function Ae(Ze,Le,Pe){if(typeof Pe=="string"){if(Ze.number&&Pe&&!Number.isNaN(Number(Pe)))return Number(Pe);if((Ze.boolean||Ze.overloadedBoolean)&&(Pe===""||(0,oe.F)(Pe)===(0,oe.F)(Le)))return!0}return Pe}function ct(Ze){const Le=[];for(const[Pe,ke]of Object.entries(Ze))Le.push([Pe,ke].join(": "));return Le.join("; ")}function Ke(Ze){const Le=new Map;for(const Pe of Ze)Le.set(Pe.toLowerCase(),Pe);return Le}const qe=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],Me=Oe(b.dy,"div"),ze=Oe(b.YP,"g",qe)},26735:function(me,ne,E){"use strict";E.d(ne,{f:function(){return ue}});var b=E(80722);function ue(le,ce,ge,oe){const xe=oe?oe-1:Number.POSITIVE_INFINITY;let Oe=0;return Se;function Se(Ve){return(0,b.xz)(Ve)?(le.enter(ge),he(Ve)):ce(Ve)}function he(Ve){return(0,b.xz)(Ve)&&Oe++<xe?(le.consume(Ve),he):(le.exit(ge),ce(Ve))}}},80722:function(me,ne,E){"use strict";E.d(ne,{AF:function(){return oe},Av:function(){return ce},B8:function(){return Ae},Ch:function(){return Oe},H$:function(){return ue},Xh:function(){return Ve},jv:function(){return b},n9:function(){return le},pY:function(){return ge},sR:function(){return xe},xz:function(){return he},z3:function(){return Se}});const b=ct(/[A-Za-z]/),ue=ct(/[\dA-Za-z]/),le=ct(/[#-'*+\--9=?A-Z^-~]/);function ce(Ke){return Ke!==null&&(Ke<32||Ke===127)}const ge=ct(/\d/),oe=ct(/[\dA-Fa-f]/),xe=ct(/[!-/:-@[-`{-~]/);function Oe(Ke){return Ke!==null&&Ke<-2}function Se(Ke){return Ke!==null&&(Ke<0||Ke===32)}function he(Ke){return Ke===-2||Ke===-1||Ke===32}const Ve=ct(new RegExp("\\p{P}|\\p{S}","u")),Ae=ct(/\s/);function ct(Ke){return qe;function qe(Me){return Me!==null&&Me>-1&&Ke.test(String.fromCharCode(Me))}}},14470:function(me,ne,E){"use strict";E.d(ne,{dy:function(){return qe},YP:function(){return Me}});class b{constructor(Ze,Le,Pe){this.normal=Le,this.property=Ze,Pe&&(this.space=Pe)}}b.prototype.normal={},b.prototype.property={},b.prototype.space=void 0;function ue(ze,Ze){const Le={},Pe={};for(const ke of ze)Object.assign(Le,ke.property),Object.assign(Pe,ke.normal);return new b(Le,Pe,Ze)}var le=E(13830),ce=E(53538);function ge(ze){const Ze={},Le={};for(const[Pe,ke]of Object.entries(ze.properties)){const Re=new ce.I(Pe,ze.transform(ze.attributes||{},Pe),ke,ze.space);ze.mustUseProperty&&ze.mustUseProperty.includes(Pe)&&(Re.mustUseProperty=!0),Ze[Pe]=Re,Le[(0,le.F)(Pe)]=Pe,Le[(0,le.F)(Re.attribute)]=Pe}return new b(Ze,Le,ze.space)}var oe=E(71337);const xe=ge({properties:{ariaActiveDescendant:null,ariaAtomic:oe.booleanish,ariaAutoComplete:null,ariaBusy:oe.booleanish,ariaChecked:oe.booleanish,ariaColCount:oe.number,ariaColIndex:oe.number,ariaColSpan:oe.number,ariaControls:oe.spaceSeparated,ariaCurrent:null,ariaDescribedBy:oe.spaceSeparated,ariaDetails:null,ariaDisabled:oe.booleanish,ariaDropEffect:oe.spaceSeparated,ariaErrorMessage:null,ariaExpanded:oe.booleanish,ariaFlowTo:oe.spaceSeparated,ariaGrabbed:oe.booleanish,ariaHasPopup:null,ariaHidden:oe.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:oe.spaceSeparated,ariaLevel:oe.number,ariaLive:null,ariaModal:oe.booleanish,ariaMultiLine:oe.booleanish,ariaMultiSelectable:oe.booleanish,ariaOrientation:null,ariaOwns:oe.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:oe.number,ariaPressed:oe.booleanish,ariaReadOnly:oe.booleanish,ariaRelevant:null,ariaRequired:oe.booleanish,ariaRoleDescription:oe.spaceSeparated,ariaRowCount:oe.number,ariaRowIndex:oe.number,ariaRowSpan:oe.number,ariaSelected:oe.booleanish,ariaSetSize:oe.number,ariaSort:null,ariaValueMax:oe.number,ariaValueMin:oe.number,ariaValueNow:oe.number,ariaValueText:null,role:null},transform(ze,Ze){return Ze==="role"?Ze:"aria-"+Ze.slice(4).toLowerCase()}});function Oe(ze,Ze){return Ze in ze?ze[Ze]:Ze}function Se(ze,Ze){return Oe(ze,Ze.toLowerCase())}const he=ge({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:oe.commaSeparated,acceptCharset:oe.spaceSeparated,accessKey:oe.spaceSeparated,action:null,allow:null,allowFullScreen:oe.boolean,allowPaymentRequest:oe.boolean,allowUserMedia:oe.boolean,alt:null,as:null,async:oe.boolean,autoCapitalize:null,autoComplete:oe.spaceSeparated,autoFocus:oe.boolean,autoPlay:oe.boolean,blocking:oe.spaceSeparated,capture:null,charSet:null,checked:oe.boolean,cite:null,className:oe.spaceSeparated,cols:oe.number,colSpan:null,content:null,contentEditable:oe.booleanish,controls:oe.boolean,controlsList:oe.spaceSeparated,coords:oe.number|oe.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:oe.boolean,defer:oe.boolean,dir:null,dirName:null,disabled:oe.boolean,download:oe.overloadedBoolean,draggable:oe.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:oe.boolean,formTarget:null,headers:oe.spaceSeparated,height:oe.number,hidden:oe.overloadedBoolean,high:oe.number,href:null,hrefLang:null,htmlFor:oe.spaceSeparated,httpEquiv:oe.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:oe.boolean,inputMode:null,integrity:null,is:null,isMap:oe.boolean,itemId:null,itemProp:oe.spaceSeparated,itemRef:oe.spaceSeparated,itemScope:oe.boolean,itemType:oe.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:oe.boolean,low:oe.number,manifest:null,max:null,maxLength:oe.number,media:null,method:null,min:null,minLength:oe.number,multiple:oe.boolean,muted:oe.boolean,name:null,nonce:null,noModule:oe.boolean,noValidate:oe.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:oe.boolean,optimum:oe.number,pattern:null,ping:oe.spaceSeparated,placeholder:null,playsInline:oe.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:oe.boolean,referrerPolicy:null,rel:oe.spaceSeparated,required:oe.boolean,reversed:oe.boolean,rows:oe.number,rowSpan:oe.number,sandbox:oe.spaceSeparated,scope:null,scoped:oe.boolean,seamless:oe.boolean,selected:oe.boolean,shadowRootClonable:oe.boolean,shadowRootDelegatesFocus:oe.boolean,shadowRootMode:null,shape:null,size:oe.number,sizes:null,slot:null,span:oe.number,spellCheck:oe.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:oe.number,step:null,style:null,tabIndex:oe.number,target:null,title:null,translate:null,type:null,typeMustMatch:oe.boolean,useMap:null,value:oe.booleanish,width:oe.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:oe.spaceSeparated,axis:null,background:null,bgColor:null,border:oe.number,borderColor:null,bottomMargin:oe.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:oe.boolean,declare:oe.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:oe.number,leftMargin:oe.number,link:null,longDesc:null,lowSrc:null,marginHeight:oe.number,marginWidth:oe.number,noResize:oe.boolean,noHref:oe.boolean,noShade:oe.boolean,noWrap:oe.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:oe.number,rules:null,scheme:null,scrolling:oe.booleanish,standby:null,summary:null,text:null,topMargin:oe.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:oe.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:oe.boolean,disableRemotePlayback:oe.boolean,prefix:null,property:null,results:oe.number,security:null,unselectable:null},space:"html",transform:Se}),Ve=ge({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:oe.commaOrSpaceSeparated,accentHeight:oe.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:oe.number,amplitude:oe.number,arabicForm:null,ascent:oe.number,attributeName:null,attributeType:null,azimuth:oe.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:oe.number,by:null,calcMode:null,capHeight:oe.number,className:oe.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:oe.number,diffuseConstant:oe.number,direction:null,display:null,dur:null,divisor:oe.number,dominantBaseline:null,download:oe.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:oe.number,enableBackground:null,end:null,event:null,exponent:oe.number,externalResourcesRequired:null,fill:null,fillOpacity:oe.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:oe.commaSeparated,g2:oe.commaSeparated,glyphName:oe.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:oe.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:oe.number,horizOriginX:oe.number,horizOriginY:oe.number,id:null,ideographic:oe.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:oe.number,k:oe.number,k1:oe.number,k2:oe.number,k3:oe.number,k4:oe.number,kernelMatrix:oe.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:oe.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:oe.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:oe.number,overlineThickness:oe.number,paintOrder:null,panose1:null,path:null,pathLength:oe.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:oe.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:oe.number,pointsAtY:oe.number,pointsAtZ:oe.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:oe.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:oe.commaOrSpaceSeparated,rev:oe.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:oe.commaOrSpaceSeparated,requiredFeatures:oe.commaOrSpaceSeparated,requiredFonts:oe.commaOrSpaceSeparated,requiredFormats:oe.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:oe.number,specularExponent:oe.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:oe.number,strikethroughThickness:oe.number,string:null,stroke:null,strokeDashArray:oe.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:oe.number,strokeOpacity:oe.number,strokeWidth:null,style:null,surfaceScale:oe.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:oe.commaOrSpaceSeparated,tabIndex:oe.number,tableValues:null,target:null,targetX:oe.number,targetY:oe.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:oe.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:oe.number,underlineThickness:oe.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:oe.number,values:null,vAlphabetic:oe.number,vMathematical:oe.number,vectorEffect:null,vHanging:oe.number,vIdeographic:oe.number,version:null,vertAdvY:oe.number,vertOriginX:oe.number,vertOriginY:oe.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:oe.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Oe}),Ae=ge({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(ze,Ze){return"xlink:"+Ze.slice(5).toLowerCase()}}),ct=ge({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Se}),Ke=ge({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(ze,Ze){return"xml:"+Ze.slice(3).toLowerCase()}}),qe=ue([xe,he,Ae,ct,Ke],"html"),Me=ue([xe,Ve,Ae,ct,Ke],"svg")},86825:function(me,ne,E){"use strict";E.d(ne,{s:function(){return xe}});var b=E(53538),ue=E(25629),le=E(13830);const ce=/[A-Z]/g,ge=/-[a-z]/g,oe=/^data[-\w.:]+$/i;function xe(he,Ve){const Ae=(0,le.F)(Ve);let ct=Ve,Ke=ue.k;if(Ae in he.normal)return he.property[he.normal[Ae]];if(Ae.length>4&&Ae.slice(0,4)==="data"&&oe.test(Ve)){if(Ve.charAt(4)==="-"){const qe=Ve.slice(5).replace(ge,Se);ct="data"+qe.charAt(0).toUpperCase()+qe.slice(1)}else{const qe=Ve.slice(4);if(!ge.test(qe)){let Me=qe.replace(ce,Oe);Me.charAt(0)!=="-"&&(Me="-"+Me),Ve="data"+Me}}Ke=b.I}return new Ke(ct,Ve)}function Oe(he){return"-"+he.toLowerCase()}function Se(he){return he.charAt(1).toUpperCase()}},13830:function(me,ne,E){"use strict";E.d(ne,{F:function(){return b}});function b(ue){return ue.toLowerCase()}},53538:function(me,ne,E){"use strict";E.d(ne,{I:function(){return ce}});var b=E(25629),ue=E(71337);const le=Object.keys(ue);class ce extends b.k{constructor(xe,Oe,Se,he){let Ve=-1;if(super(xe,Oe),ge(this,"space",he),typeof Se=="number")for(;++Ve<le.length;){const Ae=le[Ve];ge(this,le[Ve],(Se&ue[Ae])===ue[Ae])}}}ce.prototype.defined=!0;function ge(oe,xe,Oe){Oe&&(oe[xe]=Oe)}},25629:function(me,ne,E){"use strict";E.d(ne,{k:function(){return b}});class b{constructor(le,ce){this.attribute=ce,this.property=le}}b.prototype.attribute="",b.prototype.booleanish=!1,b.prototype.boolean=!1,b.prototype.commaOrSpaceSeparated=!1,b.prototype.commaSeparated=!1,b.prototype.defined=!1,b.prototype.mustUseProperty=!1,b.prototype.number=!1,b.prototype.overloadedBoolean=!1,b.prototype.property="",b.prototype.spaceSeparated=!1,b.prototype.space=void 0},71337:function(me,ne,E){"use strict";E.r(ne),E.d(ne,{boolean:function(){return ue},booleanish:function(){return le},commaOrSpaceSeparated:function(){return Oe},commaSeparated:function(){return xe},number:function(){return ge},overloadedBoolean:function(){return ce},spaceSeparated:function(){return oe}});let b=0;const ue=Se(),le=Se(),ce=Se(),ge=Se(),oe=Se(),xe=Se(),Oe=Se();function Se(){return Vc(2,++b)}},97831:function(me,ne,E){"use strict";E.d(ne,{UG:function(){return qi}});var b={};E.r(b),E.d(b,{attentionMarkers:function(){return pi},contentInitial:function(){return Ui},disable:function(){return Hi},document:function(){return li},flow:function(){return So},flowInitial:function(){return Wi},insideSpan:function(){return fi},string:function(){return eo},text:function(){return gi}});var ue=E(87342),le=E(11630);const ce=/[$_\p{ID_Start}]/u,ge=/[$_\u{200C}\u{200D}\p{ID_Continue}]/u,oe=/[-$_\u{200C}\u{200D}\p{ID_Continue}]/u,xe=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Oe=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Se={};function he(ie){return ie?ce.test(String.fromCodePoint(ie)):!1}function Ve(ie,Ce){const We=(Ce||Se).jsx?oe:ge;return ie?We.test(String.fromCodePoint(ie)):!1}function Ae(ie,Ce){return((Ce||Se).jsx?Oe:xe).test(ie)}const ct=/[ \t\n\f\r]/g;function Ke(ie){return typeof ie=="object"?ie.type==="text"?qe(ie.value):!1:qe(ie)}function qe(ie){return ie.replace(ct,"")===""}var Me=E(14470),ze=E(86825);const Ze={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var Le=E(71523),Pe=E(6526),ke=E(17970);function Re(ie){return!ie||typeof ie!="object"?"":"position"in ie||"type"in ie?Ye(ie.position):"start"in ie||"end"in ie?Ye(ie):"line"in ie||"column"in ie?Te(ie):""}function Te(ie){return lt(ie&&ie.line)+":"+lt(ie&&ie.column)}function Ye(ie){return Te(ie&&ie.start)+"-"+Te(ie&&ie.end)}function lt(ie){return ie&&typeof ie=="number"?ie:1}class Fe extends Error{constructor(Ce,Ne,We){super(),typeof Ne=="string"&&(We=Ne,Ne=void 0);let dt="",ft={},Dt=!1;if(Ne&&("line"in Ne&&"column"in Ne?ft={place:Ne}:"start"in Ne&&"end"in Ne?ft={place:Ne}:"type"in Ne?ft={ancestors:[Ne],place:Ne.position}:ft=$a({},Ne)),typeof Ce=="string"?dt=Ce:!ft.cause&&Ce&&(Dt=!0,dt=Ce.message,ft.cause=Ce),!ft.ruleId&&!ft.source&&typeof We=="string"){const Wn=We.indexOf(":");Wn===-1?ft.ruleId=We:(ft.source=We.slice(0,Wn),ft.ruleId=We.slice(Wn+1))}if(!ft.place&&ft.ancestors&&ft.ancestors){const Wn=ft.ancestors[ft.ancestors.length-1];Wn&&(ft.place=Wn.position)}const Xt=ft.place&&"start"in ft.place?ft.place.start:ft.place;this.ancestors=ft.ancestors||void 0,this.cause=ft.cause||void 0,this.column=Xt?Xt.column:void 0,this.fatal=void 0,this.file="",this.message=dt,this.line=Xt?Xt.line:void 0,this.name=Re(ft.place)||"1:1",this.place=ft.place||void 0,this.reason=this.message,this.ruleId=ft.ruleId||void 0,this.source=ft.source||void 0,this.stack=Dt&&ft.cause&&typeof ft.cause.stack=="string"?ft.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Fe.prototype.file="",Fe.prototype.name="",Fe.prototype.reason="",Fe.prototype.message="",Fe.prototype.stack="",Fe.prototype.column=void 0,Fe.prototype.line=void 0,Fe.prototype.ancestors=void 0,Fe.prototype.cause=void 0,Fe.prototype.fatal=void 0,Fe.prototype.place=void 0,Fe.prototype.ruleId=void 0,Fe.prototype.source=void 0;const tt={}.hasOwnProperty,$e=new Map,Ue=/[A-Z]/g,Xe=new Set(["table","tbody","thead","tfoot","tr"]),et=new Set(["td","th"]),rt="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ht(ie,Ce){if(!Ce||Ce.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const Ne=Ce.filePath||void 0;let We;if(Ce.development){if(typeof Ce.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");We=Ut(Ne,Ce.jsxDEV)}else{if(typeof Ce.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof Ce.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");We=zt(Ne,Ce.jsx,Ce.jsxs)}const dt={Fragment:Ce.Fragment,ancestors:[],components:Ce.components||{},create:We,elementAttributeNameCase:Ce.elementAttributeNameCase||"react",evaluater:Ce.createEvaluater?Ce.createEvaluater():void 0,filePath:Ne,ignoreInvalidStyle:Ce.ignoreInvalidStyle||!1,passKeys:Ce.passKeys!==!1,passNode:Ce.passNode||!1,schema:Ce.space==="svg"?Me.YP:Me.dy,stylePropertyNameCase:Ce.stylePropertyNameCase||"dom",tableCellAlignToStyle:Ce.tableCellAlignToStyle!==!1},ft=kt(dt,ie,void 0);return ft&&typeof ft!="string"?ft:dt.create(ie,dt.Fragment,{children:ft||void 0},void 0)}function kt(ie,Ce,Ne){if(Ce.type==="element")return St(ie,Ce,Ne);if(Ce.type==="mdxFlowExpression"||Ce.type==="mdxTextExpression")return Gt(ie,Ce);if(Ce.type==="mdxJsxFlowElement"||Ce.type==="mdxJsxTextElement")return je(ie,Ce,Ne);if(Ce.type==="mdxjsEsm")return nt(ie,Ce);if(Ce.type==="root")return Be(ie,Ce,Ne);if(Ce.type==="text")return wt(ie,Ce)}function St(ie,Ce,Ne){const We=ie.schema;let dt=We;Ce.tagName.toLowerCase()==="svg"&&We.space==="html"&&(dt=Me.YP,ie.schema=dt),ie.ancestors.push(Ce);const ft=cn(ie,Ce.tagName,!1),Dt=pn(ie,Ce);let Xt=Yt(ie,Ce);return Xe.has(Ce.tagName)&&(Xt=Xt.filter(function(Wn){return typeof Wn=="string"?!Ke(Wn):!0})),Ot(ie,Dt,ft,Ce),ot(Dt,Xt),ie.ancestors.pop(),ie.schema=We,ie.create(Ce,ft,Dt,Ne)}function Gt(ie,Ce){if(Ce.data&&Ce.data.estree&&ie.evaluater){const We=Ce.data.estree.body[0];return(0,ue.ok)(We.type==="ExpressionStatement"),ie.evaluater.evaluateExpression(We.expression)}Ie(ie,Ce.position)}function nt(ie,Ce){if(Ce.data&&Ce.data.estree&&ie.evaluater)return ie.evaluater.evaluateProgram(Ce.data.estree);Ie(ie,Ce.position)}function je(ie,Ce,Ne){const We=ie.schema;let dt=We;Ce.name==="svg"&&We.space==="html"&&(dt=Me.YP,ie.schema=dt),ie.ancestors.push(Ce);const ft=Ce.name===null?ie.Fragment:cn(ie,Ce.name,!0),Dt=bt(ie,Ce),Xt=Yt(ie,Ce);return Ot(ie,Dt,ft,Ce),ot(Dt,Xt),ie.ancestors.pop(),ie.schema=We,ie.create(Ce,ft,Dt,Ne)}function Be(ie,Ce,Ne){const We={};return ot(We,Yt(ie,Ce)),ie.create(Ce,ie.Fragment,We,Ne)}function wt(ie,Ce){return Ce.value}function Ot(ie,Ce,Ne,We){typeof Ne!="string"&&Ne!==ie.Fragment&&ie.passNode&&(Ce.node=We)}function ot(ie,Ce){if(Ce.length>0){const Ne=Ce.length>1?Ce:Ce[0];Ne&&(ie.children=Ne)}}function zt(ie,Ce,Ne){return We;function We(dt,ft,Dt,Xt){const Un=Array.isArray(Dt.children)?Ne:Ce;return Xt?Un(ft,Dt,Xt):Un(ft,Dt)}}function Ut(ie,Ce){return Ne;function Ne(We,dt,ft,Dt){const Xt=Array.isArray(ft.children),Wn=(0,ke.Pk)(We);return Ce(dt,ft,Dt,Xt,{columnNumber:Wn?Wn.column-1:void 0,fileName:ie,lineNumber:Wn?Wn.line:void 0},void 0)}}function pn(ie,Ce){const Ne={};let We,dt;for(dt in Ce.properties)if(dt!=="children"&&tt.call(Ce.properties,dt)){const ft=Bt(ie,dt,Ce.properties[dt]);if(ft){const[Dt,Xt]=ft;ie.tableCellAlignToStyle&&Dt==="align"&&typeof Xt=="string"&&et.has(Ce.tagName)?We=Xt:Ne[Dt]=Xt}}if(We){const ft=Ne.style||(Ne.style={});ft[ie.stylePropertyNameCase==="css"?"text-align":"textAlign"]=We}return Ne}function bt(ie,Ce){const Ne={};for(const We of Ce.attributes)if(We.type==="mdxJsxExpressionAttribute")if(We.data&&We.data.estree&&ie.evaluater){const ft=We.data.estree.body[0];(0,ue.ok)(ft.type==="ExpressionStatement");const Dt=ft.expression;(0,ue.ok)(Dt.type==="ObjectExpression");const Xt=Dt.properties[0];(0,ue.ok)(Xt.type==="SpreadElement"),Object.assign(Ne,ie.evaluater.evaluateExpression(Xt.argument))}else Ie(ie,Ce.position);else{const dt=We.name;let ft;if(We.value&&typeof We.value=="object")if(We.value.data&&We.value.data.estree&&ie.evaluater){const Xt=We.value.data.estree.body[0];(0,ue.ok)(Xt.type==="ExpressionStatement"),ft=ie.evaluater.evaluateExpression(Xt.expression)}else Ie(ie,Ce.position);else ft=We.value===null?!0:We.value;Ne[dt]=ft}return Ne}function Yt(ie,Ce){const Ne=[];let We=-1;const dt=ie.passKeys?new Map:$e;for(;++We<Ce.children.length;){const ft=Ce.children[We];let Dt;if(ie.passKeys){const Wn=ft.type==="element"?ft.tagName:ft.type==="mdxJsxFlowElement"||ft.type==="mdxJsxTextElement"?ft.name:void 0;if(Wn){const Un=dt.get(Wn)||0;Dt=Wn+"-"+Un,dt.set(Wn,Un+1)}}const Xt=kt(ie,ft,Dt);Xt!==void 0&&Ne.push(Xt)}return Ne}function Bt(ie,Ce,Ne){const We=(0,ze.s)(ie.schema,Ce);if(!(Ne==null||typeof Ne=="number"&&Number.isNaN(Ne))){if(Array.isArray(Ne)&&(Ne=We.commaSeparated?(0,le.P)(Ne):(0,Le.P)(Ne)),We.property==="style"){let dt=typeof Ne=="object"?Ne:$t(ie,String(Ne));return ie.stylePropertyNameCase==="css"&&(dt=pe(dt)),["style",dt]}return[ie.elementAttributeNameCase==="react"&&We.space?Ze[We.property]||We.property:We.attribute,Ne]}}function $t(ie,Ce){try{return Pe(Ce,{reactCompat:!0})}catch(Ne){if(ie.ignoreInvalidStyle)return{};const We=Ne,dt=new Fe("Cannot parse `style` attribute",{ancestors:ie.ancestors,cause:We,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw dt.file=ie.filePath||void 0,dt.url=rt+"#cannot-parse-style-attribute",dt}}function cn(ie,Ce,Ne){let We;if(!Ne)We={type:"Literal",value:Ce};else if(Ce.includes(".")){const dt=Ce.split(".");let ft=-1,Dt;for(;++ft<dt.length;){const Xt=Ae(dt[ft])?{type:"Identifier",name:dt[ft]}:{type:"Literal",value:dt[ft]};Dt=Dt?{type:"MemberExpression",object:Dt,property:Xt,computed:!!(ft&&Xt.type==="Literal"),optional:!1}:Xt}(0,ue.ok)(Dt,"always a result"),We=Dt}else We=Ae(Ce)&&!/^[a-z]/.test(Ce)?{type:"Identifier",name:Ce}:{type:"Literal",value:Ce};if(We.type==="Literal"){const dt=We.value;return tt.call(ie.components,dt)?ie.components[dt]:dt}if(ie.evaluater)return ie.evaluater.evaluateExpression(We);Ie(ie)}function Ie(ie,Ce){const Ne=new Fe("Cannot handle MDX estrees without `createEvaluater`",{ancestors:ie.ancestors,place:Ce,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw Ne.file=ie.filePath||void 0,Ne.url=rt+"#cannot-handle-mdx-estrees-without-createevaluater",Ne}function pe(ie){const Ce={};let Ne;for(Ne in ie)tt.call(ie,Ne)&&(Ce[de(Ne)]=ie[Ne]);return Ce}function de(ie){let Ce=ie.replace(Ue,Ee);return Ce.slice(0,3)==="ms-"&&(Ce="-"+Ce),Ce}function Ee(ie){return"-"+ie.toLowerCase()}const De={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var fe=E(37712),Qe=E(59301);const Mt={};function an(ie,Ce){const Ne=Ce||Mt,We=typeof Ne.includeImageAlt=="boolean"?Ne.includeImageAlt:!0,dt=typeof Ne.includeHtml=="boolean"?Ne.includeHtml:!0;return Sn(ie,We,dt)}function Sn(ie,Ce,Ne){if(Ft(ie)){if("value"in ie)return ie.type==="html"&&!Ne?"":ie.value;if(Ce&&"alt"in ie&&ie.alt)return ie.alt;if("children"in ie)return gt(ie.children,Ce,Ne)}return Array.isArray(ie)?gt(ie,Ce,Ne):""}function gt(ie,Ce,Ne){const We=[];let dt=-1;for(;++dt<ie.length;)We[dt]=Sn(ie[dt],Ce,Ne);return We.join("")}function Ft(ie){return!!(ie&&typeof ie=="object")}function Lt(ie,Ce,Ne,We){const dt=ie.length;let ft=0,Dt;if(Ce<0?Ce=-Ce>dt?0:dt+Ce:Ce=Ce>dt?dt:Ce,Ne=Ne>0?Ne:0,We.length<1e4)Dt=Array.from(We),Dt.unshift(Ce,Ne),ie.splice(...Dt);else for(Ne&&ie.splice(Ce,Ne);ft<We.length;)Dt=We.slice(ft,ft+1e4),Dt.unshift(Ce,0),ie.splice(...Dt),ft+=1e4,Ce+=1e4}function Jt(ie,Ce){return ie.length>0?(Lt(ie,ie.length,0,Ce),ie):Ce}class fn{constructor(Ce){this.left=Ce?[...Ce]:[],this.right=[]}get(Ce){if(Ce<0||Ce>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+Ce+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return Ce<this.left.length?this.left[Ce]:this.right[this.right.length-Ce+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(Ce,Ne){const We=Ne==null?Number.POSITIVE_INFINITY:Ne;return We<this.left.length?this.left.slice(Ce,We):Ce>this.left.length?this.right.slice(this.right.length-We+this.left.length,this.right.length-Ce+this.left.length).reverse():this.left.slice(Ce).concat(this.right.slice(this.right.length-We+this.left.length).reverse())}splice(Ce,Ne,We){const dt=Ne||0;this.setCursor(Math.trunc(Ce));const ft=this.right.splice(this.right.length-dt,Number.POSITIVE_INFINITY);return We&&Zt(this.left,We),ft.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(Ce){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(Ce)}pushMany(Ce){this.setCursor(Number.POSITIVE_INFINITY),Zt(this.left,Ce)}unshift(Ce){this.setCursor(0),this.right.push(Ce)}unshiftMany(Ce){this.setCursor(0),Zt(this.right,Ce.reverse())}setCursor(Ce){if(!(Ce===this.left.length||Ce>this.left.length&&this.right.length===0||Ce<0&&this.left.length===0))if(Ce<this.left.length){const Ne=this.left.splice(Ce,Number.POSITIVE_INFINITY);Zt(this.right,Ne.reverse())}else{const Ne=this.right.splice(this.left.length+this.right.length-Ce,Number.POSITIVE_INFINITY);Zt(this.left,Ne.reverse())}}}function Zt(ie,Ce){let Ne=0;if(Ce.length<1e4)ie.push(...Ce);else for(;Ne<Ce.length;)ie.push(...Ce.slice(Ne,Ne+1e4)),Ne+=1e4}function mt(ie){const Ce={};let Ne=-1,We,dt,ft,Dt,Xt,Wn,Un;const En=new fn(ie);for(;++Ne<En.length;){for(;Ne in Ce;)Ne=Ce[Ne];if(We=En.get(Ne),Ne&&We[1].type==="chunkFlow"&&En.get(Ne-1)[1].type==="listItemPrefix"&&(Wn=We[1]._tokenizer.events,ft=0,ft<Wn.length&&Wn[ft][1].type==="lineEndingBlank"&&(ft+=2),ft<Wn.length&&Wn[ft][1].type==="content"))for(;++ft<Wn.length&&Wn[ft][1].type!=="content";)Wn[ft][1].type==="chunkText"&&(Wn[ft][1]._isInFirstContentOfListItem=!0,ft++);if(We[0]==="enter")We[1].contentType&&(Object.assign(Ce,tn(En,Ne)),Ne=Ce[Ne],Un=!0);else if(We[1]._container){for(ft=Ne,dt=void 0;ft--;)if(Dt=En.get(ft),Dt[1].type==="lineEnding"||Dt[1].type==="lineEndingBlank")Dt[0]==="enter"&&(dt&&(En.get(dt)[1].type="lineEndingBlank"),Dt[1].type="lineEnding",dt=ft);else if(!(Dt[1].type==="linePrefix"||Dt[1].type==="listItemIndent"))break;dt&&(We[1].end=$a({},En.get(dt)[1].start),Xt=En.slice(dt,Ne),Xt.unshift(We),En.splice(dt,Ne-dt+1,Xt))}}return Lt(ie,0,Number.POSITIVE_INFINITY,En.slice(0)),!Un}function tn(ie,Ce){const Ne=ie.get(Ce)[1],We=ie.get(Ce)[2];let dt=Ce-1;const ft=[];let Dt=Ne._tokenizer;Dt||(Dt=We.parser[Ne.contentType](Ne.start),Ne._contentTypeTextTrailing&&(Dt._contentTypeTextTrailing=!0));const Xt=Dt.events,Wn=[],Un={};let En,rr,Jn=-1,kn=Ne,Oa=0,qa=0;const ci=[qa];for(;kn;){for(;ie.get(++dt)[1]!==kn;);ft.push(dt),kn._tokenizer||(En=We.sliceStream(kn),kn.next||En.push(null),rr&&Dt.defineSkip(kn.start),kn._isInFirstContentOfListItem&&(Dt._gfmTasklistFirstContentOfListItem=!0),Dt.write(En),kn._isInFirstContentOfListItem&&(Dt._gfmTasklistFirstContentOfListItem=void 0)),rr=kn,kn=kn.next}for(kn=Ne;++Jn<Xt.length;)Xt[Jn][0]==="exit"&&Xt[Jn-1][0]==="enter"&&Xt[Jn][1].type===Xt[Jn-1][1].type&&Xt[Jn][1].start.line!==Xt[Jn][1].end.line&&(qa=Jn+1,ci.push(qa),kn._tokenizer=void 0,kn.previous=void 0,kn=kn.next);for(Dt.events=[],kn?(kn._tokenizer=void 0,kn.previous=void 0):ci.pop(),Jn=ci.length;Jn--;){const na=Xt.slice(ci[Jn],ci[Jn+1]),ba=ft.pop();Wn.push([ba,ba+na.length-1]),ie.splice(ba,2,na)}for(Wn.reverse(),Jn=-1;++Jn<Wn.length;)Un[Oa+Wn[Jn][0]]=Oa+Wn[Jn][1],Oa+=Wn[Jn][1]-Wn[Jn][0]-1;return Un}function Ct(ie){for(;!mt(ie););return ie}const Rt={}.hasOwnProperty;function vt(ie){const Ce={};let Ne=-1;for(;++Ne<ie.length;)jt(Ce,ie[Ne]);return Ce}function jt(ie,Ce){let Ne;for(Ne in Ce){const dt=(Rt.call(ie,Ne)?ie[Ne]:void 0)||(ie[Ne]={}),ft=Ce[Ne];let Dt;if(ft)for(Dt in ft){Rt.call(dt,Dt)||(dt[Dt]=[]);const Xt=ft[Dt];At(dt[Dt],Array.isArray(Xt)?Xt:Xt?[Xt]:[])}}}function At(ie,Ce){let Ne=-1;const We=[];for(;++Ne<Ce.length;)(Ce[Ne].add==="after"?ie:We).push(Ce[Ne]);Lt(ie,0,0,We)}function Je(ie){const Ce={};let Ne=-1;for(;++Ne<ie.length;)un(Ce,ie[Ne]);return Ce}function un(ie,Ce){let Ne;for(Ne in Ce){const dt=(Rt.call(ie,Ne)?ie[Ne]:void 0)||(ie[Ne]={}),ft=Ce[Ne];let Dt;if(ft)for(Dt in ft)dt[Dt]=ft[Dt]}}var gn=E(26735),Et=E(80722);const Ln={tokenize:ar};function ar(ie){const Ce=ie.attempt(this.parser.constructs.contentInitial,We,dt);let Ne;return Ce;function We(Xt){if(Xt===null){ie.consume(Xt);return}return ie.enter("lineEnding"),ie.consume(Xt),ie.exit("lineEnding"),(0,gn.f)(ie,Ce,"linePrefix")}function dt(Xt){return ie.enter("paragraph"),ft(Xt)}function ft(Xt){const Wn=ie.enter("chunkText",{contentType:"text",previous:Ne});return Ne&&(Ne.next=Wn),Ne=Wn,Dt(Xt)}function Dt(Xt){if(Xt===null){ie.exit("chunkText"),ie.exit("paragraph"),ie.consume(Xt);return}return(0,Et.Ch)(Xt)?(ie.consume(Xt),ie.exit("chunkText"),ft):(ie.consume(Xt),Dt)}}const Hn={tokenize:dr},Vt={tokenize:qn};function dr(ie){const Ce=this,Ne=[];let We=0,dt,ft,Dt;return Xt;function Xt(Na){if(We<Ne.length){const Ai=Ne[We];return Ce.containerState=Ai[1],ie.attempt(Ai[0].continuation,Wn,Un)(Na)}return Un(Na)}function Wn(Na){if(We++,Ce.containerState._closeFlow){Ce.containerState._closeFlow=void 0,dt&&ba();const Ai=Ce.events.length;let Ci=Ai,Vr;for(;Ci--;)if(Ce.events[Ci][0]==="exit"&&Ce.events[Ci][1].type==="chunkFlow"){Vr=Ce.events[Ci][1].end;break}na(We);let di=Ai;for(;di<Ce.events.length;)Ce.events[di][1].end=$a({},Vr),di++;return Lt(Ce.events,Ci+1,0,Ce.events.slice(Ai)),Ce.events.length=di,Un(Na)}return Xt(Na)}function Un(Na){if(We===Ne.length){if(!dt)return Jn(Na);if(dt.currentConstruct&&dt.currentConstruct.concrete)return Oa(Na);Ce.interrupt=!!(dt.currentConstruct&&!dt._gfmTableDynamicInterruptHack)}return Ce.containerState={},ie.check(Vt,En,rr)(Na)}function En(Na){return dt&&ba(),na(We),Jn(Na)}function rr(Na){return Ce.parser.lazy[Ce.now().line]=We!==Ne.length,Dt=Ce.now().offset,Oa(Na)}function Jn(Na){return Ce.containerState={},ie.attempt(Vt,kn,Oa)(Na)}function kn(Na){return We++,Ne.push([Ce.currentConstruct,Ce.containerState]),Jn(Na)}function Oa(Na){if(Na===null){dt&&ba(),na(0),ie.consume(Na);return}return dt=dt||Ce.parser.flow(Ce.now()),ie.enter("chunkFlow",{_tokenizer:dt,contentType:"flow",previous:ft}),qa(Na)}function qa(Na){if(Na===null){ci(ie.exit("chunkFlow"),!0),na(0),ie.consume(Na);return}return(0,Et.Ch)(Na)?(ie.consume(Na),ci(ie.exit("chunkFlow")),We=0,Ce.interrupt=void 0,Xt):(ie.consume(Na),qa)}function ci(Na,Ai){const Ci=Ce.sliceStream(Na);if(Ai&&Ci.push(null),Na.previous=ft,ft&&(ft.next=Na),ft=Na,dt.defineSkip(Na.start),dt.write(Ci),Ce.parser.lazy[Na.start.line]){let Vr=dt.events.length;for(;Vr--;)if(dt.events[Vr][1].start.offset<Dt&&(!dt.events[Vr][1].end||dt.events[Vr][1].end.offset>Dt))return;const di=Ce.events.length;let Yi=di,Ti,ki;for(;Yi--;)if(Ce.events[Yi][0]==="exit"&&Ce.events[Yi][1].type==="chunkFlow"){if(Ti){ki=Ce.events[Yi][1].end;break}Ti=!0}for(na(We),Vr=di;Vr<Ce.events.length;)Ce.events[Vr][1].end=$a({},ki),Vr++;Lt(Ce.events,Yi+1,0,Ce.events.slice(di)),Ce.events.length=Vr}}function na(Na){let Ai=Ne.length;for(;Ai-- >Na;){const Ci=Ne[Ai];Ce.containerState=Ci[1],Ci[0].exit.call(Ce,ie)}Ne.length=Na}function ba(){dt.write([null]),ft=void 0,dt=void 0,Ce.containerState._closeFlow=void 0}}function qn(ie,Ce,Ne){return(0,gn.f)(ie,ie.attempt(this.parser.constructs.document,Ce,Ne),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const xn={partial:!0,tokenize:zn};function zn(ie,Ce,Ne){return We;function We(ft){return(0,Et.xz)(ft)?(0,gn.f)(ie,dt,"linePrefix")(ft):dt(ft)}function dt(ft){return ft===null||(0,Et.Ch)(ft)?Ce(ft):Ne(ft)}}const cr={resolve:Gn,tokenize:Yn},ir={partial:!0,tokenize:nn};function Gn(ie){return mt(ie),ie}function Yn(ie,Ce){let Ne;return We;function We(Xt){return ie.enter("content"),Ne=ie.enter("chunkContent",{contentType:"content"}),dt(Xt)}function dt(Xt){return Xt===null?ft(Xt):(0,Et.Ch)(Xt)?ie.check(ir,Dt,ft)(Xt):(ie.consume(Xt),dt)}function ft(Xt){return ie.exit("chunkContent"),ie.exit("content"),Ce(Xt)}function Dt(Xt){return ie.consume(Xt),ie.exit("chunkContent"),Ne.next=ie.enter("chunkContent",{contentType:"content",previous:Ne}),Ne=Ne.next,dt}}function nn(ie,Ce,Ne){const We=this;return dt;function dt(Dt){return ie.exit("chunkContent"),ie.enter("lineEnding"),ie.consume(Dt),ie.exit("lineEnding"),(0,gn.f)(ie,ft,"linePrefix")}function ft(Dt){if(Dt===null||(0,Et.Ch)(Dt))return Ne(Dt);const Xt=We.events[We.events.length-1];return!We.parser.constructs.disable.null.includes("codeIndented")&&Xt&&Xt[1].type==="linePrefix"&&Xt[2].sliceSerialize(Xt[1],!0).length>=4?Ce(Dt):ie.interrupt(We.parser.constructs.flow,Ne,Ce)(Dt)}}const An={tokenize:Nn};function Nn(ie){const Ce=this,Ne=ie.attempt(xn,We,ie.attempt(this.parser.constructs.flowInitial,dt,(0,gn.f)(ie,ie.attempt(this.parser.constructs.flow,dt,ie.attempt(cr,dt)),"linePrefix")));return Ne;function We(ft){if(ft===null){ie.consume(ft);return}return ie.enter("lineEndingBlank"),ie.consume(ft),ie.exit("lineEndingBlank"),Ce.currentConstruct=void 0,Ne}function dt(ft){if(ft===null){ie.consume(ft);return}return ie.enter("lineEnding"),ie.consume(ft),ie.exit("lineEnding"),Ce.currentConstruct=void 0,Ne}}const In={resolveAll:Lr()},xr=or("string"),gr=or("text");function or(ie){return{resolveAll:Lr(ie==="text"?Br:void 0),tokenize:Ce};function Ce(Ne){const We=this,dt=this.parser.constructs[ie],ft=Ne.attempt(dt,Dt,Xt);return Dt;function Dt(En){return Un(En)?ft(En):Xt(En)}function Xt(En){if(En===null){Ne.consume(En);return}return Ne.enter("data"),Ne.consume(En),Wn}function Wn(En){return Un(En)?(Ne.exit("data"),ft(En)):(Ne.consume(En),Wn)}function Un(En){if(En===null)return!0;const rr=dt[En];let Jn=-1;if(rr)for(;++Jn<rr.length;){const kn=rr[Jn];if(!kn.previous||kn.previous.call(We,We.previous))return!0}return!1}}}function Lr(ie){return Ce;function Ce(Ne,We){let dt=-1,ft;for(;++dt<=Ne.length;)ft===void 0?Ne[dt]&&Ne[dt][1].type==="data"&&(ft=dt,dt++):(!Ne[dt]||Ne[dt][1].type!=="data")&&(dt!==ft+2&&(Ne[ft][1].end=Ne[dt-1][1].end,Ne.splice(ft+2,dt-ft-2),dt=ft+2),ft=void 0);return ie?ie(Ne,We):Ne}}function Br(ie,Ce){let Ne=0;for(;++Ne<=ie.length;)if((Ne===ie.length||ie[Ne][1].type==="lineEnding")&&ie[Ne-1][1].type==="data"){const We=ie[Ne-1][1],dt=Ce.sliceStream(We);let ft=dt.length,Dt=-1,Xt=0,Wn;for(;ft--;){const Un=dt[ft];if(typeof Un=="string"){for(Dt=Un.length;Un.charCodeAt(Dt-1)===32;)Xt++,Dt--;if(Dt)break;Dt=-1}else if(Un===-2)Wn=!0,Xt++;else if(Un!==-1){ft++;break}}if(Ce._contentTypeTextTrailing&&Ne===ie.length&&(Xt=0),Xt){const Un={type:Ne===ie.length||Wn||Xt<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:ft?Dt:We.start._bufferIndex+Dt,_index:We.start._index+ft,line:We.end.line,column:We.end.column-Xt,offset:We.end.offset-Xt},end:$a({},We.end)};We.end=$a({},Un.start),We.start.offset===We.end.offset?Object.assign(We,Un):(ie.splice(Ne,0,["enter",Un,Ce],["exit",Un,Ce]),Ne+=2)}Ne++}return ie}const Pr={name:"thematicBreak",tokenize:wr};function wr(ie,Ce,Ne){let We=0,dt;return ft;function ft(Un){return ie.enter("thematicBreak"),Dt(Un)}function Dt(Un){return dt=Un,Xt(Un)}function Xt(Un){return Un===dt?(ie.enter("thematicBreakSequence"),Wn(Un)):We>=3&&(Un===null||(0,Et.Ch)(Un))?(ie.exit("thematicBreak"),Ce(Un)):Ne(Un)}function Wn(Un){return Un===dt?(ie.consume(Un),We++,Wn):(ie.exit("thematicBreakSequence"),(0,Et.xz)(Un)?(0,gn.f)(ie,Xt,"whitespace")(Un):Xt(Un))}}const Ir={continuation:{tokenize:kr},exit:rn,name:"list",tokenize:Sr},lr={partial:!0,tokenize:Qt},_n={partial:!0,tokenize:Ur};function Sr(ie,Ce,Ne){const We=this,dt=We.events[We.events.length-1];let ft=dt&&dt[1].type==="linePrefix"?dt[2].sliceSerialize(dt[1],!0).length:0,Dt=0;return Xt;function Xt(kn){const Oa=We.containerState.type||(kn===42||kn===43||kn===45?"listUnordered":"listOrdered");if(Oa==="listUnordered"?!We.containerState.marker||kn===We.containerState.marker:(0,Et.pY)(kn)){if(We.containerState.type||(We.containerState.type=Oa,ie.enter(Oa,{_container:!0})),Oa==="listUnordered")return ie.enter("listItemPrefix"),kn===42||kn===45?ie.check(Pr,Ne,Un)(kn):Un(kn);if(!We.interrupt||kn===49)return ie.enter("listItemPrefix"),ie.enter("listItemValue"),Wn(kn)}return Ne(kn)}function Wn(kn){return(0,Et.pY)(kn)&&++Dt<10?(ie.consume(kn),Wn):(!We.interrupt||Dt<2)&&(We.containerState.marker?kn===We.containerState.marker:kn===41||kn===46)?(ie.exit("listItemValue"),Un(kn)):Ne(kn)}function Un(kn){return ie.enter("listItemMarker"),ie.consume(kn),ie.exit("listItemMarker"),We.containerState.marker=We.containerState.marker||kn,ie.check(xn,We.interrupt?Ne:En,ie.attempt(lr,Jn,rr))}function En(kn){return We.containerState.initialBlankLine=!0,ft++,Jn(kn)}function rr(kn){return(0,Et.xz)(kn)?(ie.enter("listItemPrefixWhitespace"),ie.consume(kn),ie.exit("listItemPrefixWhitespace"),Jn):Ne(kn)}function Jn(kn){return We.containerState.size=ft+We.sliceSerialize(ie.exit("listItemPrefix"),!0).length,Ce(kn)}}function kr(ie,Ce,Ne){const We=this;return We.containerState._closeFlow=void 0,ie.check(xn,dt,ft);function dt(Xt){return We.containerState.furtherBlankLines=We.containerState.furtherBlankLines||We.containerState.initialBlankLine,(0,gn.f)(ie,Ce,"listItemIndent",We.containerState.size+1)(Xt)}function ft(Xt){return We.containerState.furtherBlankLines||!(0,Et.xz)(Xt)?(We.containerState.furtherBlankLines=void 0,We.containerState.initialBlankLine=void 0,Dt(Xt)):(We.containerState.furtherBlankLines=void 0,We.containerState.initialBlankLine=void 0,ie.attempt(_n,Ce,Dt)(Xt))}function Dt(Xt){return We.containerState._closeFlow=!0,We.interrupt=void 0,(0,gn.f)(ie,ie.attempt(Ir,Ce,Ne),"linePrefix",We.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Xt)}}function Ur(ie,Ce,Ne){const We=this;return(0,gn.f)(ie,dt,"listItemIndent",We.containerState.size+1);function dt(ft){const Dt=We.events[We.events.length-1];return Dt&&Dt[1].type==="listItemIndent"&&Dt[2].sliceSerialize(Dt[1],!0).length===We.containerState.size?Ce(ft):Ne(ft)}}function rn(ie){ie.exit(this.containerState.type)}function Qt(ie,Ce,Ne){const We=this;return(0,gn.f)(ie,dt,"listItemPrefixWhitespace",We.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function dt(ft){const Dt=We.events[We.events.length-1];return!(0,Et.xz)(ft)&&Dt&&Dt[1].type==="listItemPrefixWhitespace"?Ce(ft):Ne(ft)}}const hr={continuation:{tokenize:Pt},exit:on,name:"blockQuote",tokenize:$n};function $n(ie,Ce,Ne){const We=this;return dt;function dt(Dt){if(Dt===62){const Xt=We.containerState;return Xt.open||(ie.enter("blockQuote",{_container:!0}),Xt.open=!0),ie.enter("blockQuotePrefix"),ie.enter("blockQuoteMarker"),ie.consume(Dt),ie.exit("blockQuoteMarker"),ft}return Ne(Dt)}function ft(Dt){return(0,Et.xz)(Dt)?(ie.enter("blockQuotePrefixWhitespace"),ie.consume(Dt),ie.exit("blockQuotePrefixWhitespace"),ie.exit("blockQuotePrefix"),Ce):(ie.exit("blockQuotePrefix"),Ce(Dt))}}function Pt(ie,Ce,Ne){const We=this;return dt;function dt(Dt){return(0,Et.xz)(Dt)?(0,gn.f)(ie,ft,"linePrefix",We.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Dt):ft(Dt)}function ft(Dt){return ie.attempt(hr,Ce,Ne)(Dt)}}function on(ie){ie.exit("blockQuote")}function sr(ie,Ce,Ne,We,dt,ft,Dt,Xt,Wn){const Un=Wn||Number.POSITIVE_INFINITY;let En=0;return rr;function rr(na){return na===60?(ie.enter(We),ie.enter(dt),ie.enter(ft),ie.consume(na),ie.exit(ft),Jn):na===null||na===32||na===41||(0,Et.Av)(na)?Ne(na):(ie.enter(We),ie.enter(Dt),ie.enter(Xt),ie.enter("chunkString",{contentType:"string"}),qa(na))}function Jn(na){return na===62?(ie.enter(ft),ie.consume(na),ie.exit(ft),ie.exit(dt),ie.exit(We),Ce):(ie.enter(Xt),ie.enter("chunkString",{contentType:"string"}),kn(na))}function kn(na){return na===62?(ie.exit("chunkString"),ie.exit(Xt),Jn(na)):na===null||na===60||(0,Et.Ch)(na)?Ne(na):(ie.consume(na),na===92?Oa:kn)}function Oa(na){return na===60||na===62||na===92?(ie.consume(na),kn):kn(na)}function qa(na){return!En&&(na===null||na===41||(0,Et.z3)(na))?(ie.exit("chunkString"),ie.exit(Xt),ie.exit(Dt),ie.exit(We),Ce(na)):En<Un&&na===40?(ie.consume(na),En++,qa):na===41?(ie.consume(na),En--,qa):na===null||na===32||na===40||(0,Et.Av)(na)?Ne(na):(ie.consume(na),na===92?ci:qa)}function ci(na){return na===40||na===41||na===92?(ie.consume(na),qa):qa(na)}}function Kt(ie,Ce,Ne,We,dt,ft){const Dt=this;let Xt=0,Wn;return Un;function Un(kn){return ie.enter(We),ie.enter(dt),ie.consume(kn),ie.exit(dt),ie.enter(ft),En}function En(kn){return Xt>999||kn===null||kn===91||kn===93&&!Wn||kn===94&&!Xt&&"_hiddenFootnoteSupport"in Dt.parser.constructs?Ne(kn):kn===93?(ie.exit(ft),ie.enter(dt),ie.consume(kn),ie.exit(dt),ie.exit(We),Ce):(0,Et.Ch)(kn)?(ie.enter("lineEnding"),ie.consume(kn),ie.exit("lineEnding"),En):(ie.enter("chunkString",{contentType:"string"}),rr(kn))}function rr(kn){return kn===null||kn===91||kn===93||(0,Et.Ch)(kn)||Xt++>999?(ie.exit("chunkString"),En(kn)):(ie.consume(kn),Wn||(Wn=!(0,Et.xz)(kn)),kn===92?Jn:rr)}function Jn(kn){return kn===91||kn===92||kn===93?(ie.consume(kn),Xt++,rr):rr(kn)}}function be(ie,Ce,Ne,We,dt,ft){let Dt;return Xt;function Xt(Jn){return Jn===34||Jn===39||Jn===40?(ie.enter(We),ie.enter(dt),ie.consume(Jn),ie.exit(dt),Dt=Jn===40?41:Jn,Wn):Ne(Jn)}function Wn(Jn){return Jn===Dt?(ie.enter(dt),ie.consume(Jn),ie.exit(dt),ie.exit(We),Ce):(ie.enter(ft),Un(Jn))}function Un(Jn){return Jn===Dt?(ie.exit(ft),Wn(Dt)):Jn===null?Ne(Jn):(0,Et.Ch)(Jn)?(ie.enter("lineEnding"),ie.consume(Jn),ie.exit("lineEnding"),(0,gn.f)(ie,Un,"linePrefix")):(ie.enter("chunkString",{contentType:"string"}),En(Jn))}function En(Jn){return Jn===Dt||Jn===null||(0,Et.Ch)(Jn)?(ie.exit("chunkString"),Un(Jn)):(ie.consume(Jn),Jn===92?rr:En)}function rr(Jn){return Jn===Dt||Jn===92?(ie.consume(Jn),En):En(Jn)}}function Cn(ie,Ce){let Ne;return We;function We(dt){return(0,Et.Ch)(dt)?(ie.enter("lineEnding"),ie.consume(dt),ie.exit("lineEnding"),Ne=!0,We):(0,Et.xz)(dt)?(0,gn.f)(ie,We,Ne?"linePrefix":"lineSuffix")(dt):Ce(dt)}}function yr(ie){return ie.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ln={name:"definition",tokenize:Xn},Ar={partial:!0,tokenize:Cr};function Xn(ie,Ce,Ne){const We=this;let dt;return ft;function ft(kn){return ie.enter("definition"),Dt(kn)}function Dt(kn){return Kt.call(We,ie,Xt,Ne,"definitionLabel","definitionLabelMarker","definitionLabelString")(kn)}function Xt(kn){return dt=yr(We.sliceSerialize(We.events[We.events.length-1][1]).slice(1,-1)),kn===58?(ie.enter("definitionMarker"),ie.consume(kn),ie.exit("definitionMarker"),Wn):Ne(kn)}function Wn(kn){return(0,Et.z3)(kn)?Cn(ie,Un)(kn):Un(kn)}function Un(kn){return sr(ie,En,Ne,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(kn)}function En(kn){return ie.attempt(Ar,rr,rr)(kn)}function rr(kn){return(0,Et.xz)(kn)?(0,gn.f)(ie,Jn,"whitespace")(kn):Jn(kn)}function Jn(kn){return kn===null||(0,Et.Ch)(kn)?(ie.exit("definition"),We.parser.defined.push(dt),Ce(kn)):Ne(kn)}}function Cr(ie,Ce,Ne){return We;function We(Xt){return(0,Et.z3)(Xt)?Cn(ie,dt)(Xt):Ne(Xt)}function dt(Xt){return be(ie,ft,Ne,"definitionTitle","definitionTitleMarker","definitionTitleString")(Xt)}function ft(Xt){return(0,Et.xz)(Xt)?(0,gn.f)(ie,Dt,"whitespace")(Xt):Dt(Xt)}function Dt(Xt){return Xt===null||(0,Et.Ch)(Xt)?Ce(Xt):Ne(Xt)}}const Dr={name:"codeIndented",tokenize:Rr},_t={partial:!0,tokenize:Kr};function Rr(ie,Ce,Ne){const We=this;return dt;function dt(Un){return ie.enter("codeIndented"),(0,gn.f)(ie,ft,"linePrefix",5)(Un)}function ft(Un){const En=We.events[We.events.length-1];return En&&En[1].type==="linePrefix"&&En[2].sliceSerialize(En[1],!0).length>=4?Dt(Un):Ne(Un)}function Dt(Un){return Un===null?Wn(Un):(0,Et.Ch)(Un)?ie.attempt(_t,Dt,Wn)(Un):(ie.enter("codeFlowValue"),Xt(Un))}function Xt(Un){return Un===null||(0,Et.Ch)(Un)?(ie.exit("codeFlowValue"),Dt(Un)):(ie.consume(Un),Xt)}function Wn(Un){return ie.exit("codeIndented"),Ce(Un)}}function Kr(ie,Ce,Ne){const We=this;return dt;function dt(Dt){return We.parser.lazy[We.now().line]?Ne(Dt):(0,Et.Ch)(Dt)?(ie.enter("lineEnding"),ie.consume(Dt),ie.exit("lineEnding"),dt):(0,gn.f)(ie,ft,"linePrefix",5)(Dt)}function ft(Dt){const Xt=We.events[We.events.length-1];return Xt&&Xt[1].type==="linePrefix"&&Xt[2].sliceSerialize(Xt[1],!0).length>=4?Ce(Dt):(0,Et.Ch)(Dt)?dt(Dt):Ne(Dt)}}const qr={name:"headingAtx",resolve:ha,tokenize:ma};function ha(ie,Ce){let Ne=ie.length-2,We=3,dt,ft;return ie[We][1].type==="whitespace"&&(We+=2),Ne-2>We&&ie[Ne][1].type==="whitespace"&&(Ne-=2),ie[Ne][1].type==="atxHeadingSequence"&&(We===Ne-1||Ne-4>We&&ie[Ne-2][1].type==="whitespace")&&(Ne-=We+1===Ne?2:4),Ne>We&&(dt={type:"atxHeadingText",start:ie[We][1].start,end:ie[Ne][1].end},ft={type:"chunkText",start:ie[We][1].start,end:ie[Ne][1].end,contentType:"text"},Lt(ie,We,Ne-We+1,[["enter",dt,Ce],["enter",ft,Ce],["exit",ft,Ce],["exit",dt,Ce]])),ie}function ma(ie,Ce,Ne){let We=0;return dt;function dt(En){return ie.enter("atxHeading"),ft(En)}function ft(En){return ie.enter("atxHeadingSequence"),Dt(En)}function Dt(En){return En===35&&We++<6?(ie.consume(En),Dt):En===null||(0,Et.z3)(En)?(ie.exit("atxHeadingSequence"),Xt(En)):Ne(En)}function Xt(En){return En===35?(ie.enter("atxHeadingSequence"),Wn(En)):En===null||(0,Et.Ch)(En)?(ie.exit("atxHeading"),Ce(En)):(0,Et.xz)(En)?(0,gn.f)(ie,Xt,"whitespace")(En):(ie.enter("atxHeadingText"),Un(En))}function Wn(En){return En===35?(ie.consume(En),Wn):(ie.exit("atxHeadingSequence"),Xt(En))}function Un(En){return En===null||En===35||(0,Et.z3)(En)?(ie.exit("atxHeadingText"),Xt(En)):(ie.consume(En),Un)}}const la={name:"setextUnderline",resolveTo:$r,tokenize:wa};function $r(ie,Ce){let Ne=ie.length,We,dt,ft;for(;Ne--;)if(ie[Ne][0]==="enter"){if(ie[Ne][1].type==="content"){We=Ne;break}ie[Ne][1].type==="paragraph"&&(dt=Ne)}else ie[Ne][1].type==="content"&&ie.splice(Ne,1),!ft&&ie[Ne][1].type==="definition"&&(ft=Ne);const Dt={type:"setextHeading",start:$a({},ie[We][1].start),end:$a({},ie[ie.length-1][1].end)};return ie[dt][1].type="setextHeadingText",ft?(ie.splice(dt,0,["enter",Dt,Ce]),ie.splice(ft+1,0,["exit",ie[We][1],Ce]),ie[We][1].end=$a({},ie[ft][1].end)):ie[We][1]=Dt,ie.push(["exit",Dt,Ce]),ie}function wa(ie,Ce,Ne){const We=this;let dt;return ft;function ft(Un){let En=We.events.length,rr;for(;En--;)if(We.events[En][1].type!=="lineEnding"&&We.events[En][1].type!=="linePrefix"&&We.events[En][1].type!=="content"){rr=We.events[En][1].type==="paragraph";break}return!We.parser.lazy[We.now().line]&&(We.interrupt||rr)?(ie.enter("setextHeadingLine"),dt=Un,Dt(Un)):Ne(Un)}function Dt(Un){return ie.enter("setextHeadingLineSequence"),Xt(Un)}function Xt(Un){return Un===dt?(ie.consume(Un),Xt):(ie.exit("setextHeadingLineSequence"),(0,Et.xz)(Un)?(0,gn.f)(ie,Wn,"lineSuffix")(Un):Wn(Un))}function Wn(Un){return Un===null||(0,Et.Ch)(Un)?(ie.exit("setextHeadingLine"),Ce(Un)):Ne(Un)}}const Ia=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],xa=["pre","script","style","textarea"],ga={concrete:!0,name:"htmlFlow",resolveTo:ra,tokenize:ya},pa={partial:!0,tokenize:Zr},Gr={partial:!0,tokenize:_r};function ra(ie){let Ce=ie.length;for(;Ce--&&!(ie[Ce][0]==="enter"&&ie[Ce][1].type==="htmlFlow"););return Ce>1&&ie[Ce-2][1].type==="linePrefix"&&(ie[Ce][1].start=ie[Ce-2][1].start,ie[Ce+1][1].start=ie[Ce-2][1].start,ie.splice(Ce-2,2)),ie}function ya(ie,Ce,Ne){const We=this;let dt,ft,Dt,Xt,Wn;return Un;function Un(Vn){return En(Vn)}function En(Vn){return ie.enter("htmlFlow"),ie.enter("htmlFlowData"),ie.consume(Vn),rr}function rr(Vn){return Vn===33?(ie.consume(Vn),Jn):Vn===47?(ie.consume(Vn),ft=!0,qa):Vn===63?(ie.consume(Vn),dt=3,We.interrupt?Ce:Zn):(0,Et.jv)(Vn)?(ie.consume(Vn),Dt=String.fromCharCode(Vn),ci):Ne(Vn)}function Jn(Vn){return Vn===45?(ie.consume(Vn),dt=2,kn):Vn===91?(ie.consume(Vn),dt=5,Xt=0,Oa):(0,Et.jv)(Vn)?(ie.consume(Vn),dt=4,We.interrupt?Ce:Zn):Ne(Vn)}function kn(Vn){return Vn===45?(ie.consume(Vn),We.interrupt?Ce:Zn):Ne(Vn)}function Oa(Vn){const Vo="CDATA[";return Vn===Vo.charCodeAt(Xt++)?(ie.consume(Vn),Xt===Vo.length?We.interrupt?Ce:Ri:Oa):Ne(Vn)}function qa(Vn){return(0,Et.jv)(Vn)?(ie.consume(Vn),Dt=String.fromCharCode(Vn),ci):Ne(Vn)}function ci(Vn){if(Vn===null||Vn===47||Vn===62||(0,Et.z3)(Vn)){const Vo=Vn===47,Qo=Dt.toLowerCase();return!Vo&&!ft&&xa.includes(Qo)?(dt=1,We.interrupt?Ce(Vn):Ri(Vn)):Ia.includes(Dt.toLowerCase())?(dt=6,Vo?(ie.consume(Vn),na):We.interrupt?Ce(Vn):Ri(Vn)):(dt=7,We.interrupt&&!We.parser.lazy[We.now().line]?Ne(Vn):ft?ba(Vn):Na(Vn))}return Vn===45||(0,Et.H$)(Vn)?(ie.consume(Vn),Dt+=String.fromCharCode(Vn),ci):Ne(Vn)}function na(Vn){return Vn===62?(ie.consume(Vn),We.interrupt?Ce:Ri):Ne(Vn)}function ba(Vn){return(0,Et.xz)(Vn)?(ie.consume(Vn),ba):ki(Vn)}function Na(Vn){return Vn===47?(ie.consume(Vn),ki):Vn===58||Vn===95||(0,Et.jv)(Vn)?(ie.consume(Vn),Ai):(0,Et.xz)(Vn)?(ie.consume(Vn),Na):ki(Vn)}function Ai(Vn){return Vn===45||Vn===46||Vn===58||Vn===95||(0,Et.H$)(Vn)?(ie.consume(Vn),Ai):Ci(Vn)}function Ci(Vn){return Vn===61?(ie.consume(Vn),Vr):(0,Et.xz)(Vn)?(ie.consume(Vn),Ci):Na(Vn)}function Vr(Vn){return Vn===null||Vn===60||Vn===61||Vn===62||Vn===96?Ne(Vn):Vn===34||Vn===39?(ie.consume(Vn),Wn=Vn,di):(0,Et.xz)(Vn)?(ie.consume(Vn),Vr):Yi(Vn)}function di(Vn){return Vn===Wn?(ie.consume(Vn),Wn=null,Ti):Vn===null||(0,Et.Ch)(Vn)?Ne(Vn):(ie.consume(Vn),di)}function Yi(Vn){return Vn===null||Vn===34||Vn===39||Vn===47||Vn===60||Vn===61||Vn===62||Vn===96||(0,Et.z3)(Vn)?Ci(Vn):(ie.consume(Vn),Yi)}function Ti(Vn){return Vn===47||Vn===62||(0,Et.xz)(Vn)?Na(Vn):Ne(Vn)}function ki(Vn){return Vn===62?(ie.consume(Vn),yo):Ne(Vn)}function yo(Vn){return Vn===null||(0,Et.Ch)(Vn)?Ri(Vn):(0,Et.xz)(Vn)?(ie.consume(Vn),yo):Ne(Vn)}function Ri(Vn){return Vn===45&&dt===2?(ie.consume(Vn),zi):Vn===60&&dt===1?(ie.consume(Vn),no):Vn===62&&dt===4?(ie.consume(Vn),zo):Vn===63&&dt===3?(ie.consume(Vn),Zn):Vn===93&&dt===5?(ie.consume(Vn),Ho):(0,Et.Ch)(Vn)&&(dt===6||dt===7)?(ie.exit("htmlFlowData"),ie.check(pa,as,Wa)(Vn)):Vn===null||(0,Et.Ch)(Vn)?(ie.exit("htmlFlowData"),Wa(Vn)):(ie.consume(Vn),Ri)}function Wa(Vn){return ie.check(Gr,ja,as)(Vn)}function ja(Vn){return ie.enter("lineEnding"),ie.consume(Vn),ie.exit("lineEnding"),ii}function ii(Vn){return Vn===null||(0,Et.Ch)(Vn)?Wa(Vn):(ie.enter("htmlFlowData"),Ri(Vn))}function zi(Vn){return Vn===45?(ie.consume(Vn),Zn):Ri(Vn)}function no(Vn){return Vn===47?(ie.consume(Vn),Dt="",Ro):Ri(Vn)}function Ro(Vn){if(Vn===62){const Vo=Dt.toLowerCase();return xa.includes(Vo)?(ie.consume(Vn),zo):Ri(Vn)}return(0,Et.jv)(Vn)&&Dt.length<8?(ie.consume(Vn),Dt+=String.fromCharCode(Vn),Ro):Ri(Vn)}function Ho(Vn){return Vn===93?(ie.consume(Vn),Zn):Ri(Vn)}function Zn(Vn){return Vn===62?(ie.consume(Vn),zo):Vn===45&&dt===2?(ie.consume(Vn),Zn):Ri(Vn)}function zo(Vn){return Vn===null||(0,Et.Ch)(Vn)?(ie.exit("htmlFlowData"),as(Vn)):(ie.consume(Vn),zo)}function as(Vn){return ie.exit("htmlFlow"),Ce(Vn)}}function _r(ie,Ce,Ne){const We=this;return dt;function dt(Dt){return(0,Et.Ch)(Dt)?(ie.enter("lineEnding"),ie.consume(Dt),ie.exit("lineEnding"),ft):Ne(Dt)}function ft(Dt){return We.parser.lazy[We.now().line]?Ne(Dt):Ce(Dt)}}function Zr(ie,Ce,Ne){return We;function We(dt){return ie.enter("lineEnding"),ie.consume(dt),ie.exit("lineEnding"),ie.attempt(xn,Ce,Ne)}}const aa={partial:!0,tokenize:Ra},ua={concrete:!0,name:"codeFenced",tokenize:Pa};function Pa(ie,Ce,Ne){const We=this,dt={partial:!0,tokenize:Ci};let ft=0,Dt=0,Xt;return Wn;function Wn(Vr){return Un(Vr)}function Un(Vr){const di=We.events[We.events.length-1];return ft=di&&di[1].type==="linePrefix"?di[2].sliceSerialize(di[1],!0).length:0,Xt=Vr,ie.enter("codeFenced"),ie.enter("codeFencedFence"),ie.enter("codeFencedFenceSequence"),En(Vr)}function En(Vr){return Vr===Xt?(Dt++,ie.consume(Vr),En):Dt<3?Ne(Vr):(ie.exit("codeFencedFenceSequence"),(0,Et.xz)(Vr)?(0,gn.f)(ie,rr,"whitespace")(Vr):rr(Vr))}function rr(Vr){return Vr===null||(0,Et.Ch)(Vr)?(ie.exit("codeFencedFence"),We.interrupt?Ce(Vr):ie.check(aa,qa,Ai)(Vr)):(ie.enter("codeFencedFenceInfo"),ie.enter("chunkString",{contentType:"string"}),Jn(Vr))}function Jn(Vr){return Vr===null||(0,Et.Ch)(Vr)?(ie.exit("chunkString"),ie.exit("codeFencedFenceInfo"),rr(Vr)):(0,Et.xz)(Vr)?(ie.exit("chunkString"),ie.exit("codeFencedFenceInfo"),(0,gn.f)(ie,kn,"whitespace")(Vr)):Vr===96&&Vr===Xt?Ne(Vr):(ie.consume(Vr),Jn)}function kn(Vr){return Vr===null||(0,Et.Ch)(Vr)?rr(Vr):(ie.enter("codeFencedFenceMeta"),ie.enter("chunkString",{contentType:"string"}),Oa(Vr))}function Oa(Vr){return Vr===null||(0,Et.Ch)(Vr)?(ie.exit("chunkString"),ie.exit("codeFencedFenceMeta"),rr(Vr)):Vr===96&&Vr===Xt?Ne(Vr):(ie.consume(Vr),Oa)}function qa(Vr){return ie.attempt(dt,Ai,ci)(Vr)}function ci(Vr){return ie.enter("lineEnding"),ie.consume(Vr),ie.exit("lineEnding"),na}function na(Vr){return ft>0&&(0,Et.xz)(Vr)?(0,gn.f)(ie,ba,"linePrefix",ft+1)(Vr):ba(Vr)}function ba(Vr){return Vr===null||(0,Et.Ch)(Vr)?ie.check(aa,qa,Ai)(Vr):(ie.enter("codeFlowValue"),Na(Vr))}function Na(Vr){return Vr===null||(0,Et.Ch)(Vr)?(ie.exit("codeFlowValue"),ba(Vr)):(ie.consume(Vr),Na)}function Ai(Vr){return ie.exit("codeFenced"),Ce(Vr)}function Ci(Vr,di,Yi){let Ti=0;return ki;function ki(ii){return Vr.enter("lineEnding"),Vr.consume(ii),Vr.exit("lineEnding"),yo}function yo(ii){return Vr.enter("codeFencedFence"),(0,Et.xz)(ii)?(0,gn.f)(Vr,Ri,"linePrefix",We.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ii):Ri(ii)}function Ri(ii){return ii===Xt?(Vr.enter("codeFencedFenceSequence"),Wa(ii)):Yi(ii)}function Wa(ii){return ii===Xt?(Ti++,Vr.consume(ii),Wa):Ti>=Dt?(Vr.exit("codeFencedFenceSequence"),(0,Et.xz)(ii)?(0,gn.f)(Vr,ja,"whitespace")(ii):ja(ii)):Yi(ii)}function ja(ii){return ii===null||(0,Et.Ch)(ii)?(Vr.exit("codeFencedFence"),di(ii)):Yi(ii)}}}function Ra(ie,Ce,Ne){const We=this;return dt;function dt(Dt){return Dt===null?Ne(Dt):(ie.enter("lineEnding"),ie.consume(Dt),ie.exit("lineEnding"),ft)}function ft(Dt){return We.parser.lazy[We.now().line]?Ne(Dt):Ce(Dt)}}const Xa=document.createElement("i");function qt(ie){const Ce="&"+ie+";";Xa.innerHTML=Ce;const Ne=Xa.textContent;return Ne.charCodeAt(Ne.length-1)===59&&ie!=="semi"||Ne===Ce?!1:Ne}const Bn={name:"characterReference",tokenize:Dn};function Dn(ie,Ce,Ne){const We=this;let dt=0,ft,Dt;return Xt;function Xt(rr){return ie.enter("characterReference"),ie.enter("characterReferenceMarker"),ie.consume(rr),ie.exit("characterReferenceMarker"),Wn}function Wn(rr){return rr===35?(ie.enter("characterReferenceMarkerNumeric"),ie.consume(rr),ie.exit("characterReferenceMarkerNumeric"),Un):(ie.enter("characterReferenceValue"),ft=31,Dt=Et.H$,En(rr))}function Un(rr){return rr===88||rr===120?(ie.enter("characterReferenceMarkerHexadecimal"),ie.consume(rr),ie.exit("characterReferenceMarkerHexadecimal"),ie.enter("characterReferenceValue"),ft=6,Dt=Et.AF,En):(ie.enter("characterReferenceValue"),ft=7,Dt=Et.pY,En(rr))}function En(rr){if(rr===59&&dt){const Jn=ie.exit("characterReferenceValue");return Dt===Et.H$&&!qt(We.sliceSerialize(Jn))?Ne(rr):(ie.enter("characterReferenceMarker"),ie.consume(rr),ie.exit("characterReferenceMarker"),ie.exit("characterReference"),Ce)}return Dt(rr)&&dt++<ft?(ie.consume(rr),En):Ne(rr)}}const jn={name:"characterEscape",tokenize:Qn};function Qn(ie,Ce,Ne){return We;function We(ft){return ie.enter("characterEscape"),ie.enter("escapeMarker"),ie.consume(ft),ie.exit("escapeMarker"),dt}function dt(ft){return(0,Et.sR)(ft)?(ie.enter("characterEscapeValue"),ie.consume(ft),ie.exit("characterEscapeValue"),ie.exit("characterEscape"),Ce):Ne(ft)}}const er={name:"lineEnding",tokenize:vr};function vr(ie,Ce){return Ne;function Ne(We){return ie.enter("lineEnding"),ie.consume(We),ie.exit("lineEnding"),(0,gn.f)(ie,Ce,"linePrefix")}}function mr(ie,Ce,Ne){const We=[];let dt=-1;for(;++dt<ie.length;){const ft=ie[dt].resolveAll;ft&&!We.includes(ft)&&(Ce=ft(Ce,Ne),We.push(ft))}return Ce}const pr={name:"labelEnd",resolveAll:It,resolveTo:Wt,tokenize:Ht},Rn={tokenize:Mn},Ge={tokenize:Tn},Tt={tokenize:wn};function It(ie){let Ce=-1;const Ne=[];for(;++Ce<ie.length;){const We=ie[Ce][1];if(Ne.push(ie[Ce]),We.type==="labelImage"||We.type==="labelLink"||We.type==="labelEnd"){const dt=We.type==="labelImage"?4:2;We.type="data",Ce+=dt}}return ie.length!==Ne.length&&Lt(ie,0,ie.length,Ne),ie}function Wt(ie,Ce){let Ne=ie.length,We=0,dt,ft,Dt,Xt;for(;Ne--;)if(dt=ie[Ne][1],ft){if(dt.type==="link"||dt.type==="labelLink"&&dt._inactive)break;ie[Ne][0]==="enter"&&dt.type==="labelLink"&&(dt._inactive=!0)}else if(Dt){if(ie[Ne][0]==="enter"&&(dt.type==="labelImage"||dt.type==="labelLink")&&!dt._balanced&&(ft=Ne,dt.type!=="labelLink")){We=2;break}}else dt.type==="labelEnd"&&(Dt=Ne);const Wn={type:ie[ft][1].type==="labelLink"?"link":"image",start:$a({},ie[ft][1].start),end:$a({},ie[ie.length-1][1].end)},Un={type:"label",start:$a({},ie[ft][1].start),end:$a({},ie[Dt][1].end)},En={type:"labelText",start:$a({},ie[ft+We+2][1].end),end:$a({},ie[Dt-2][1].start)};return Xt=[["enter",Wn,Ce],["enter",Un,Ce]],Xt=Jt(Xt,ie.slice(ft+1,ft+We+3)),Xt=Jt(Xt,[["enter",En,Ce]]),Xt=Jt(Xt,mr(Ce.parser.constructs.insideSpan.null,ie.slice(ft+We+4,Dt-3),Ce)),Xt=Jt(Xt,[["exit",En,Ce],ie[Dt-2],ie[Dt-1],["exit",Un,Ce]]),Xt=Jt(Xt,ie.slice(Dt+1)),Xt=Jt(Xt,[["exit",Wn,Ce]]),Lt(ie,ft,ie.length,Xt),ie}function Ht(ie,Ce,Ne){const We=this;let dt=We.events.length,ft,Dt;for(;dt--;)if((We.events[dt][1].type==="labelImage"||We.events[dt][1].type==="labelLink")&&!We.events[dt][1]._balanced){ft=We.events[dt][1];break}return Xt;function Xt(Jn){return ft?ft._inactive?rr(Jn):(Dt=We.parser.defined.includes(yr(We.sliceSerialize({start:ft.end,end:We.now()}))),ie.enter("labelEnd"),ie.enter("labelMarker"),ie.consume(Jn),ie.exit("labelMarker"),ie.exit("labelEnd"),Wn):Ne(Jn)}function Wn(Jn){return Jn===40?ie.attempt(Rn,En,Dt?En:rr)(Jn):Jn===91?ie.attempt(Ge,En,Dt?Un:rr)(Jn):Dt?En(Jn):rr(Jn)}function Un(Jn){return ie.attempt(Tt,En,rr)(Jn)}function En(Jn){return Ce(Jn)}function rr(Jn){return ft._balanced=!0,Ne(Jn)}}function Mn(ie,Ce,Ne){return We;function We(rr){return ie.enter("resource"),ie.enter("resourceMarker"),ie.consume(rr),ie.exit("resourceMarker"),dt}function dt(rr){return(0,Et.z3)(rr)?Cn(ie,ft)(rr):ft(rr)}function ft(rr){return rr===41?En(rr):sr(ie,Dt,Xt,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(rr)}function Dt(rr){return(0,Et.z3)(rr)?Cn(ie,Wn)(rr):En(rr)}function Xt(rr){return Ne(rr)}function Wn(rr){return rr===34||rr===39||rr===40?be(ie,Un,Ne,"resourceTitle","resourceTitleMarker","resourceTitleString")(rr):En(rr)}function Un(rr){return(0,Et.z3)(rr)?Cn(ie,En)(rr):En(rr)}function En(rr){return rr===41?(ie.enter("resourceMarker"),ie.consume(rr),ie.exit("resourceMarker"),ie.exit("resource"),Ce):Ne(rr)}}function Tn(ie,Ce,Ne){const We=this;return dt;function dt(Xt){return Kt.call(We,ie,ft,Dt,"reference","referenceMarker","referenceString")(Xt)}function ft(Xt){return We.parser.defined.includes(yr(We.sliceSerialize(We.events[We.events.length-1][1]).slice(1,-1)))?Ce(Xt):Ne(Xt)}function Dt(Xt){return Ne(Xt)}}function wn(ie,Ce,Ne){return We;function We(ft){return ie.enter("reference"),ie.enter("referenceMarker"),ie.consume(ft),ie.exit("referenceMarker"),dt}function dt(ft){return ft===93?(ie.enter("referenceMarker"),ie.consume(ft),ie.exit("referenceMarker"),ie.exit("reference"),Ce):Ne(ft)}}const Fn={name:"labelStartImage",resolveAll:pr.resolveAll,tokenize:nr};function nr(ie,Ce,Ne){const We=this;return dt;function dt(Xt){return ie.enter("labelImage"),ie.enter("labelImageMarker"),ie.consume(Xt),ie.exit("labelImageMarker"),ft}function ft(Xt){return Xt===91?(ie.enter("labelMarker"),ie.consume(Xt),ie.exit("labelMarker"),ie.exit("labelImage"),Dt):Ne(Xt)}function Dt(Xt){return Xt===94&&"_hiddenFootnoteSupport"in We.parser.constructs?Ne(Xt):Ce(Xt)}}function Or(ie){if(ie===null||(0,Et.z3)(ie)||(0,Et.B8)(ie))return 1;if((0,Et.Xh)(ie))return 2}const br={name:"attention",resolveAll:Tr,tokenize:Hr};function Tr(ie,Ce){let Ne=-1,We,dt,ft,Dt,Xt,Wn,Un,En;for(;++Ne<ie.length;)if(ie[Ne][0]==="enter"&&ie[Ne][1].type==="attentionSequence"&&ie[Ne][1]._close){for(We=Ne;We--;)if(ie[We][0]==="exit"&&ie[We][1].type==="attentionSequence"&&ie[We][1]._open&&Ce.sliceSerialize(ie[We][1]).charCodeAt(0)===Ce.sliceSerialize(ie[Ne][1]).charCodeAt(0)){if((ie[We][1]._close||ie[Ne][1]._open)&&(ie[Ne][1].end.offset-ie[Ne][1].start.offset)%3&&!((ie[We][1].end.offset-ie[We][1].start.offset+ie[Ne][1].end.offset-ie[Ne][1].start.offset)%3))continue;Wn=ie[We][1].end.offset-ie[We][1].start.offset>1&&ie[Ne][1].end.offset-ie[Ne][1].start.offset>1?2:1;const rr=$a({},ie[We][1].end),Jn=$a({},ie[Ne][1].start);jr(rr,-Wn),jr(Jn,Wn),Dt={type:Wn>1?"strongSequence":"emphasisSequence",start:rr,end:$a({},ie[We][1].end)},Xt={type:Wn>1?"strongSequence":"emphasisSequence",start:$a({},ie[Ne][1].start),end:Jn},ft={type:Wn>1?"strongText":"emphasisText",start:$a({},ie[We][1].end),end:$a({},ie[Ne][1].start)},dt={type:Wn>1?"strong":"emphasis",start:$a({},Dt.start),end:$a({},Xt.end)},ie[We][1].end=$a({},Dt.start),ie[Ne][1].start=$a({},Xt.end),Un=[],ie[We][1].end.offset-ie[We][1].start.offset&&(Un=Jt(Un,[["enter",ie[We][1],Ce],["exit",ie[We][1],Ce]])),Un=Jt(Un,[["enter",dt,Ce],["enter",Dt,Ce],["exit",Dt,Ce],["enter",ft,Ce]]),Un=Jt(Un,mr(Ce.parser.constructs.insideSpan.null,ie.slice(We+1,Ne),Ce)),Un=Jt(Un,[["exit",ft,Ce],["enter",Xt,Ce],["exit",Xt,Ce],["exit",dt,Ce]]),ie[Ne][1].end.offset-ie[Ne][1].start.offset?(En=2,Un=Jt(Un,[["enter",ie[Ne][1],Ce],["exit",ie[Ne][1],Ce]])):En=0,Lt(ie,We-1,Ne-We+3,Un),Ne=We+Un.length-En-2;break}}for(Ne=-1;++Ne<ie.length;)ie[Ne][1].type==="attentionSequence"&&(ie[Ne][1].type="data");return ie}function Hr(ie,Ce){const Ne=this.parser.constructs.attentionMarkers.null,We=this.previous,dt=Or(We);let ft;return Dt;function Dt(Wn){return ft=Wn,ie.enter("attentionSequence"),Xt(Wn)}function Xt(Wn){if(Wn===ft)return ie.consume(Wn),Xt;const Un=ie.exit("attentionSequence"),En=Or(Wn),rr=!En||En===2&&dt||Ne.includes(Wn),Jn=!dt||dt===2&&En||Ne.includes(We);return Un._open=!!(ft===42?rr:rr&&(dt||!Jn)),Un._close=!!(ft===42?Jn:Jn&&(En||!rr)),Ce(Wn)}}function jr(ie,Ce){ie.column+=Ce,ie.offset+=Ce,ie._bufferIndex+=Ce}const sa={name:"autolink",tokenize:va};function va(ie,Ce,Ne){let We=0;return dt;function dt(kn){return ie.enter("autolink"),ie.enter("autolinkMarker"),ie.consume(kn),ie.exit("autolinkMarker"),ie.enter("autolinkProtocol"),ft}function ft(kn){return(0,Et.jv)(kn)?(ie.consume(kn),Dt):kn===64?Ne(kn):Un(kn)}function Dt(kn){return kn===43||kn===45||kn===46||(0,Et.H$)(kn)?(We=1,Xt(kn)):Un(kn)}function Xt(kn){return kn===58?(ie.consume(kn),We=0,Wn):(kn===43||kn===45||kn===46||(0,Et.H$)(kn))&&We++<32?(ie.consume(kn),Xt):(We=0,Un(kn))}function Wn(kn){return kn===62?(ie.exit("autolinkProtocol"),ie.enter("autolinkMarker"),ie.consume(kn),ie.exit("autolinkMarker"),ie.exit("autolink"),Ce):kn===null||kn===32||kn===60||(0,Et.Av)(kn)?Ne(kn):(ie.consume(kn),Wn)}function Un(kn){return kn===64?(ie.consume(kn),En):(0,Et.n9)(kn)?(ie.consume(kn),Un):Ne(kn)}function En(kn){return(0,Et.H$)(kn)?rr(kn):Ne(kn)}function rr(kn){return kn===46?(ie.consume(kn),We=0,En):kn===62?(ie.exit("autolinkProtocol").type="autolinkEmail",ie.enter("autolinkMarker"),ie.consume(kn),ie.exit("autolinkMarker"),ie.exit("autolink"),Ce):Jn(kn)}function Jn(kn){if((kn===45||(0,Et.H$)(kn))&&We++<63){const Oa=kn===45?Jn:rr;return ie.consume(kn),Oa}return Ne(kn)}}const Aa={name:"htmlText",tokenize:Sa};function Sa(ie,Ce,Ne){const We=this;let dt,ft,Dt;return Xt;function Xt(Zn){return ie.enter("htmlText"),ie.enter("htmlTextData"),ie.consume(Zn),Wn}function Wn(Zn){return Zn===33?(ie.consume(Zn),Un):Zn===47?(ie.consume(Zn),Ci):Zn===63?(ie.consume(Zn),Na):(0,Et.jv)(Zn)?(ie.consume(Zn),Yi):Ne(Zn)}function Un(Zn){return Zn===45?(ie.consume(Zn),En):Zn===91?(ie.consume(Zn),ft=0,Oa):(0,Et.jv)(Zn)?(ie.consume(Zn),ba):Ne(Zn)}function En(Zn){return Zn===45?(ie.consume(Zn),kn):Ne(Zn)}function rr(Zn){return Zn===null?Ne(Zn):Zn===45?(ie.consume(Zn),Jn):(0,Et.Ch)(Zn)?(Dt=rr,no(Zn)):(ie.consume(Zn),rr)}function Jn(Zn){return Zn===45?(ie.consume(Zn),kn):rr(Zn)}function kn(Zn){return Zn===62?zi(Zn):Zn===45?Jn(Zn):rr(Zn)}function Oa(Zn){const zo="CDATA[";return Zn===zo.charCodeAt(ft++)?(ie.consume(Zn),ft===zo.length?qa:Oa):Ne(Zn)}function qa(Zn){return Zn===null?Ne(Zn):Zn===93?(ie.consume(Zn),ci):(0,Et.Ch)(Zn)?(Dt=qa,no(Zn)):(ie.consume(Zn),qa)}function ci(Zn){return Zn===93?(ie.consume(Zn),na):qa(Zn)}function na(Zn){return Zn===62?zi(Zn):Zn===93?(ie.consume(Zn),na):qa(Zn)}function ba(Zn){return Zn===null||Zn===62?zi(Zn):(0,Et.Ch)(Zn)?(Dt=ba,no(Zn)):(ie.consume(Zn),ba)}function Na(Zn){return Zn===null?Ne(Zn):Zn===63?(ie.consume(Zn),Ai):(0,Et.Ch)(Zn)?(Dt=Na,no(Zn)):(ie.consume(Zn),Na)}function Ai(Zn){return Zn===62?zi(Zn):Na(Zn)}function Ci(Zn){return(0,Et.jv)(Zn)?(ie.consume(Zn),Vr):Ne(Zn)}function Vr(Zn){return Zn===45||(0,Et.H$)(Zn)?(ie.consume(Zn),Vr):di(Zn)}function di(Zn){return(0,Et.Ch)(Zn)?(Dt=di,no(Zn)):(0,Et.xz)(Zn)?(ie.consume(Zn),di):zi(Zn)}function Yi(Zn){return Zn===45||(0,Et.H$)(Zn)?(ie.consume(Zn),Yi):Zn===47||Zn===62||(0,Et.z3)(Zn)?Ti(Zn):Ne(Zn)}function Ti(Zn){return Zn===47?(ie.consume(Zn),zi):Zn===58||Zn===95||(0,Et.jv)(Zn)?(ie.consume(Zn),ki):(0,Et.Ch)(Zn)?(Dt=Ti,no(Zn)):(0,Et.xz)(Zn)?(ie.consume(Zn),Ti):zi(Zn)}function ki(Zn){return Zn===45||Zn===46||Zn===58||Zn===95||(0,Et.H$)(Zn)?(ie.consume(Zn),ki):yo(Zn)}function yo(Zn){return Zn===61?(ie.consume(Zn),Ri):(0,Et.Ch)(Zn)?(Dt=yo,no(Zn)):(0,Et.xz)(Zn)?(ie.consume(Zn),yo):Ti(Zn)}function Ri(Zn){return Zn===null||Zn===60||Zn===61||Zn===62||Zn===96?Ne(Zn):Zn===34||Zn===39?(ie.consume(Zn),dt=Zn,Wa):(0,Et.Ch)(Zn)?(Dt=Ri,no(Zn)):(0,Et.xz)(Zn)?(ie.consume(Zn),Ri):(ie.consume(Zn),ja)}function Wa(Zn){return Zn===dt?(ie.consume(Zn),dt=void 0,ii):Zn===null?Ne(Zn):(0,Et.Ch)(Zn)?(Dt=Wa,no(Zn)):(ie.consume(Zn),Wa)}function ja(Zn){return Zn===null||Zn===34||Zn===39||Zn===60||Zn===61||Zn===96?Ne(Zn):Zn===47||Zn===62||(0,Et.z3)(Zn)?Ti(Zn):(ie.consume(Zn),ja)}function ii(Zn){return Zn===47||Zn===62||(0,Et.z3)(Zn)?Ti(Zn):Ne(Zn)}function zi(Zn){return Zn===62?(ie.consume(Zn),ie.exit("htmlTextData"),ie.exit("htmlText"),Ce):Ne(Zn)}function no(Zn){return ie.exit("htmlTextData"),ie.enter("lineEnding"),ie.consume(Zn),ie.exit("lineEnding"),Ro}function Ro(Zn){return(0,Et.xz)(Zn)?(0,gn.f)(ie,Ho,"linePrefix",We.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Zn):Ho(Zn)}function Ho(Zn){return ie.enter("htmlTextData"),Dt(Zn)}}const La={name:"labelStartLink",resolveAll:pr.resolveAll,tokenize:Xr};function Xr(ie,Ce,Ne){const We=this;return dt;function dt(Dt){return ie.enter("labelLink"),ie.enter("labelMarker"),ie.consume(Dt),ie.exit("labelMarker"),ie.exit("labelLink"),ft}function ft(Dt){return Dt===94&&"_hiddenFootnoteSupport"in We.parser.constructs?Ne(Dt):Ce(Dt)}}const Wr={name:"hardBreakEscape",tokenize:ea};function ea(ie,Ce,Ne){return We;function We(ft){return ie.enter("hardBreakEscape"),ie.consume(ft),dt}function dt(ft){return(0,Et.Ch)(ft)?(ie.exit("hardBreakEscape"),Ce(ft)):Ne(ft)}}const ka={name:"codeText",previous:sn,resolve:za,tokenize:Ba};function za(ie){let Ce=ie.length-4,Ne=3,We,dt;if((ie[Ne][1].type==="lineEnding"||ie[Ne][1].type==="space")&&(ie[Ce][1].type==="lineEnding"||ie[Ce][1].type==="space")){for(We=Ne;++We<Ce;)if(ie[We][1].type==="codeTextData"){ie[Ne][1].type="codeTextPadding",ie[Ce][1].type="codeTextPadding",Ne+=2,Ce-=2;break}}for(We=Ne-1,Ce++;++We<=Ce;)dt===void 0?We!==Ce&&ie[We][1].type!=="lineEnding"&&(dt=We):(We===Ce||ie[We][1].type==="lineEnding")&&(ie[dt][1].type="codeTextData",We!==dt+2&&(ie[dt][1].end=ie[We-1][1].end,ie.splice(dt+2,We-dt-2),Ce-=We-dt-2,We=dt+2),dt=void 0);return ie}function sn(ie){return ie!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Ba(ie,Ce,Ne){const We=this;let dt=0,ft,Dt;return Xt;function Xt(Jn){return ie.enter("codeText"),ie.enter("codeTextSequence"),Wn(Jn)}function Wn(Jn){return Jn===96?(ie.consume(Jn),dt++,Wn):(ie.exit("codeTextSequence"),Un(Jn))}function Un(Jn){return Jn===null?Ne(Jn):Jn===32?(ie.enter("space"),ie.consume(Jn),ie.exit("space"),Un):Jn===96?(Dt=ie.enter("codeTextSequence"),ft=0,rr(Jn)):(0,Et.Ch)(Jn)?(ie.enter("lineEnding"),ie.consume(Jn),ie.exit("lineEnding"),Un):(ie.enter("codeTextData"),En(Jn))}function En(Jn){return Jn===null||Jn===32||Jn===96||(0,Et.Ch)(Jn)?(ie.exit("codeTextData"),Un(Jn)):(ie.consume(Jn),En)}function rr(Jn){return Jn===96?(ie.consume(Jn),ft++,rr):ft===dt?(ie.exit("codeTextSequence"),ie.exit("codeText"),Ce(Jn)):(Dt.type="codeTextData",En(Jn))}}const li={42:Ir,43:Ir,45:Ir,48:Ir,49:Ir,50:Ir,51:Ir,52:Ir,53:Ir,54:Ir,55:Ir,56:Ir,57:Ir,62:hr},Ui={91:ln},Wi={[-2]:Dr,[-1]:Dr,32:Dr},So={35:qr,42:Pr,45:[la,Pr],60:ga,61:la,95:Pr,96:ua,126:ua},eo={38:Bn,92:jn},gi={[-5]:er,[-4]:er,[-3]:er,33:Fn,38:Bn,42:br,60:[sa,Aa],91:La,92:[Wr,jn],93:pr,95:br,96:ka},fi={null:[br,In]},pi={null:[42,95]},Hi={null:[]};function vi(ie,Ce,Ne){let We={_bufferIndex:-1,_index:0,line:Ne&&Ne.line||1,column:Ne&&Ne.column||1,offset:Ne&&Ne.offset||0};const dt={},ft=[];let Dt=[],Xt=[],Wn=!0;const Un={attempt:Ti(di),check:Ti(Yi),consume:Ai,enter:Ci,exit:Vr,interrupt:Ti(Yi,{interrupt:!0})},En={code:null,containerState:{},defineSkip:na,events:[],now:ci,parser:ie,previous:null,sliceSerialize:Oa,sliceStream:qa,write:kn};let rr=Ce.tokenize.call(En,Un),Jn;return Ce.resolveAll&&ft.push(Ce),En;function kn(Wa){return Dt=Jt(Dt,Wa),ba(),Dt[Dt.length-1]!==null?[]:(ki(Ce,0),En.events=mr(ft,En.events,En),En.events)}function Oa(Wa,ja){return yi(qa(Wa),ja)}function qa(Wa){return bi(Dt,Wa)}function ci(){const{_bufferIndex:Wa,_index:ja,line:ii,column:zi,offset:no}=We;return{_bufferIndex:Wa,_index:ja,line:ii,column:zi,offset:no}}function na(Wa){dt[Wa.line]=Wa.column,Ri()}function ba(){let Wa;for(;We._index<Dt.length;){const ja=Dt[We._index];if(typeof ja=="string")for(Wa=We._index,We._bufferIndex<0&&(We._bufferIndex=0);We._index===Wa&&We._bufferIndex<ja.length;)Na(ja.charCodeAt(We._bufferIndex));else Na(ja)}}function Na(Wa){Wn=void 0,Jn=Wa,rr=rr(Wa)}function Ai(Wa){(0,Et.Ch)(Wa)?(We.line++,We.column=1,We.offset+=Wa===-3?2:1,Ri()):Wa!==-1&&(We.column++,We.offset++),We._bufferIndex<0?We._index++:(We._bufferIndex++,We._bufferIndex===Dt[We._index].length&&(We._bufferIndex=-1,We._index++)),En.previous=Wa,Wn=!0}function Ci(Wa,ja){const ii=ja||{};return ii.type=Wa,ii.start=ci(),En.events.push(["enter",ii,En]),Xt.push(ii),ii}function Vr(Wa){const ja=Xt.pop();return ja.end=ci(),En.events.push(["exit",ja,En]),ja}function di(Wa,ja){ki(Wa,ja.from)}function Yi(Wa,ja){ja.restore()}function Ti(Wa,ja){return ii;function ii(zi,no,Ro){let Ho,Zn,zo,as;return Array.isArray(zi)?Vo(zi):"tokenize"in zi?Vo([zi]):Vn(zi);function Vn(po){return Jo;function Jo(Do){const xs=Do!==null&&po[Do],As=Do!==null&&po.null,Ts=[...Array.isArray(xs)?xs:xs?[xs]:[],...Array.isArray(As)?As:As?[As]:[]];return Vo(Ts)(Do)}}function Vo(po){return Ho=po,Zn=0,po.length===0?Ro:Qo(po[Zn])}function Qo(po){return Jo;function Jo(Do){return as=yo(),zo=po,po.partial||(En.currentConstruct=po),po.name&&En.parser.constructs.disable.null.includes(po.name)?gl(Do):po.tokenize.call(ja?Object.assign(Object.create(En),ja):En,Un,ll,gl)(Do)}}function ll(po){return Wn=!0,Wa(zo,as),no}function gl(po){return Wn=!0,as.restore(),++Zn<Ho.length?Qo(Ho[Zn]):Ro}}}function ki(Wa,ja){Wa.resolveAll&&!ft.includes(Wa)&&ft.push(Wa),Wa.resolve&&Lt(En.events,ja,En.events.length-ja,Wa.resolve(En.events.slice(ja),En)),Wa.resolveTo&&(En.events=Wa.resolveTo(En.events,En))}function yo(){const Wa=ci(),ja=En.previous,ii=En.currentConstruct,zi=En.events.length,no=Array.from(Xt);return{from:zi,restore:Ro};function Ro(){We=Wa,En.previous=ja,En.currentConstruct=ii,En.events.length=zi,Xt=no,Ri()}}function Ri(){We.line in dt&&We.column<2&&(We.column=dt[We.line],We.offset+=dt[We.line]-1)}}function bi(ie,Ce){const Ne=Ce.start._index,We=Ce.start._bufferIndex,dt=Ce.end._index,ft=Ce.end._bufferIndex;let Dt;if(Ne===dt)Dt=[ie[Ne].slice(We,ft)];else{if(Dt=ie.slice(Ne,dt),We>-1){const Xt=Dt[0];typeof Xt=="string"?Dt[0]=Xt.slice(We):Dt.shift()}ft>0&&Dt.push(ie[dt].slice(0,ft))}return Dt}function yi(ie,Ce){let Ne=-1;const We=[];let dt;for(;++Ne<ie.length;){const ft=ie[Ne];let Dt;if(typeof ft=="string")Dt=ft;else switch(ft){case-5:{Dt="\r";break}case-4:{Dt=`
`;break}case-3:{Dt=`\r
`;break}case-2:{Dt=Ce?" ":" ";break}case-1:{if(!Ce&&dt)continue;Dt=" ";break}default:Dt=String.fromCharCode(ft)}dt=ft===-2,We.push(Dt)}return We.join("")}function ca(ie){const We={constructs:vt([b,...(ie||{}).extensions||[]]),content:dt(Ln),defined:[],document:dt(Hn),flow:dt(An),lazy:{},string:dt(xr),text:dt(gr)};return We;function dt(ft){return Dt;function Dt(Xt){return vi(We,ft,Xt)}}}const _a=/[\0\t\n\r]/g;function Ma(){let ie=1,Ce="",Ne=!0,We;return dt;function dt(ft,Dt,Xt){const Wn=[];let Un,En,rr,Jn,kn;for(ft=Ce+(typeof ft=="string"?ft.toString():new TextDecoder(Dt||void 0).decode(ft)),rr=0,Ce="",Ne&&(ft.charCodeAt(0)===65279&&rr++,Ne=void 0);rr<ft.length;){if(_a.lastIndex=rr,Un=_a.exec(ft),Jn=Un&&Un.index!==void 0?Un.index:ft.length,kn=ft.charCodeAt(Jn),!Un){Ce=ft.slice(rr);break}if(kn===10&&rr===Jn&&We)Wn.push(-3),We=void 0;else switch(We&&(Wn.push(-5),We=void 0),rr<Jn&&(Wn.push(ft.slice(rr,Jn)),ie+=Jn-rr),kn){case 0:{Wn.push(65533),ie++;break}case 9:{for(En=Math.ceil(ie/4)*4,Wn.push(-2);ie++<En;)Wn.push(-1);break}case 10:{Wn.push(-4),ie=1;break}default:We=!0,ie=1}rr=Jn+1}return Xt&&(We&&Wn.push(-5),Ce&&Wn.push(Ce),Wn.push(null)),Wn}}function Da(ie,Ce){const Ne=Number.parseInt(ie,Ce);return Ne<9||Ne===11||Ne>13&&Ne<32||Ne>126&&Ne<160||Ne>55295&&Ne<57344||Ne>64975&&Ne<65008||(Ne&65535)===65535||(Ne&65535)===65534||Ne>1114111?"\uFFFD":String.fromCodePoint(Ne)}const Ja=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function ui(ie){return ie.replace(Ja,Ki)}function Ki(ie,Ce,Ne){if(Ce)return Ce;if(Ne.charCodeAt(0)===35){const dt=Ne.charCodeAt(1),ft=dt===120||dt===88;return Da(Ne.slice(ft?2:1),ft?16:10)}return qt(Ne)||ie}const ri={}.hasOwnProperty;function Oi(ie,Ce,Ne){return typeof Ce!="string"&&(Ne=Ce,Ce=void 0),Ga(Ne)(Ct(ca(Ne).document().write(Ma()(ie,Ce,!0))))}function Ga(ie){const Ce={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:ft(we),autolinkProtocol:Ti,autolinkEmail:Ti,atxHeading:ft(ul),blockQuote:ft(Do),characterEscape:Ti,characterReference:Ti,codeFenced:ft(xs),codeFencedFenceInfo:Dt,codeFencedFenceMeta:Dt,codeIndented:ft(xs,Dt),codeText:ft(As,Dt),codeTextData:Ti,data:Ti,codeFlowValue:Ti,definition:ft(Ts),definitionDestinationString:Dt,definitionLabelString:Dt,definitionTitleString:Dt,emphasis:ft(qo),hardBreakEscape:ft(_l),hardBreakTrailing:ft(_l),htmlFlow:ft(x,Dt),htmlFlowData:Ti,htmlText:ft(x,Dt),htmlTextData:Ti,image:ft(z),label:Dt,link:ft(we),listItem:ft(Pn),listItemValue:Jn,listOrdered:ft(Nt,rr),listUnordered:ft(Nt),paragraph:ft(ur),reference:Vn,referenceString:Dt,resourceDestinationString:Dt,resourceTitleString:Dt,setextHeading:ft(ul),strong:ft(Fr),thematicBreak:ft(Za)},exit:{atxHeading:Wn(),atxHeadingSequence:Ci,autolink:Wn(),autolinkEmail:Jo,autolinkProtocol:po,blockQuote:Wn(),characterEscapeValue:ki,characterReferenceMarkerHexadecimal:Qo,characterReferenceMarkerNumeric:Qo,characterReferenceValue:ll,characterReference:gl,codeFenced:Wn(ci),codeFencedFence:qa,codeFencedFenceInfo:kn,codeFencedFenceMeta:Oa,codeFlowValue:ki,codeIndented:Wn(na),codeText:Wn(ii),codeTextData:ki,data:ki,definition:Wn(),definitionDestinationString:Ai,definitionLabelString:ba,definitionTitleString:Na,emphasis:Wn(),hardBreakEscape:Wn(Ri),hardBreakTrailing:Wn(Ri),htmlFlow:Wn(Wa),htmlFlowData:ki,htmlText:Wn(ja),htmlTextData:ki,image:Wn(no),label:Ho,labelText:Ro,lineEnding:yo,link:Wn(zi),listItem:Wn(),listOrdered:Wn(),listUnordered:Wn(),paragraph:Wn(),referenceString:Vo,resourceDestinationString:Zn,resourceTitleString:zo,resource:as,setextHeading:Wn(Yi),setextHeadingLineSequence:di,setextHeadingText:Vr,strong:Wn(),thematicBreak:Wn()}};uo(Ce,(ie||{}).mdastExtensions||[]);const Ne={};return We;function We(Er){let Qr={type:"root",children:[]};const Va={stack:[Qr],tokenStack:[],config:Ce,enter:Xt,exit:Un,buffer:Dt,resume:En,data:Ne},mi=[];let Di=-1;for(;++Di<Er.length;)if(Er[Di][1].type==="listOrdered"||Er[Di][1].type==="listUnordered")if(Er[Di][0]==="enter")mi.push(Di);else{const vs=mi.pop();Di=dt(Er,vs,Di)}for(Di=-1;++Di<Er.length;){const vs=Ce[Er[Di][0]];ri.call(vs,Er[Di][1].type)&&vs[Er[Di][1].type].call(Object.assign({sliceSerialize:Er[Di][2].sliceSerialize},Va),Er[Di][1])}if(Va.tokenStack.length>0){const vs=Va.tokenStack[Va.tokenStack.length-1];(vs[1]||ao).call(Va,void 0,vs[0])}for(Qr.position={start:ai(Er.length>0?Er[0][1].start:{line:1,column:1,offset:0}),end:ai(Er.length>0?Er[Er.length-2][1].end:{line:1,column:1,offset:0})},Di=-1;++Di<Ce.transforms.length;)Qr=Ce.transforms[Di](Qr)||Qr;return Qr}function dt(Er,Qr,Va){let mi=Qr-1,Di=-1,vs=!1,is,os,Bs,vl;for(;++mi<=Va;){const $o=Er[mi];switch($o[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{$o[0]==="enter"?Di++:Di--,vl=void 0;break}case"lineEndingBlank":{$o[0]==="enter"&&(is&&!vl&&!Di&&!Bs&&(Bs=mi),vl=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:vl=void 0}if(!Di&&$o[0]==="enter"&&$o[1].type==="listItemPrefix"||Di===-1&&$o[0]==="exit"&&($o[1].type==="listUnordered"||$o[1].type==="listOrdered")){if(is){let tl=mi;for(os=void 0;tl--;){const ss=Er[tl];if(ss[1].type==="lineEnding"||ss[1].type==="lineEndingBlank"){if(ss[0]==="exit")continue;os&&(Er[os][1].type="lineEndingBlank",vs=!0),ss[1].type="lineEnding",os=tl}else if(!(ss[1].type==="linePrefix"||ss[1].type==="blockQuotePrefix"||ss[1].type==="blockQuotePrefixWhitespace"||ss[1].type==="blockQuoteMarker"||ss[1].type==="listItemIndent"))break}Bs&&(!os||Bs<os)&&(is._spread=!0),is.end=Object.assign({},os?Er[os][1].start:$o[1].end),Er.splice(os||mi,0,["exit",is,$o[2]]),mi++,Va++}if($o[1].type==="listItemPrefix"){const tl={type:"listItem",_spread:!1,start:Object.assign({},$o[1].start),end:void 0};is=tl,Er.splice(mi,0,["enter",tl,$o[2]]),mi++,Va++,Bs=void 0,vl=!0}}}return Er[Qr][1]._spread=vs,Va}function ft(Er,Qr){return Va;function Va(mi){Xt.call(this,Er(mi),mi),Qr&&Qr.call(this,mi)}}function Dt(){this.stack.push({type:"fragment",children:[]})}function Xt(Er,Qr,Va){this.stack[this.stack.length-1].children.push(Er),this.stack.push(Er),this.tokenStack.push([Qr,Va||void 0]),Er.position={start:ai(Qr.start),end:void 0}}function Wn(Er){return Qr;function Qr(Va){Er&&Er.call(this,Va),Un.call(this,Va)}}function Un(Er,Qr){const Va=this.stack.pop(),mi=this.tokenStack.pop();if(mi)mi[0].type!==Er.type&&(Qr?Qr.call(this,Er,mi[0]):(mi[1]||ao).call(this,Er,mi[0]));else throw new Error("Cannot close `"+Er.type+"` ("+Re({start:Er.start,end:Er.end})+"): it\u2019s not open");Va.position.end=ai(Er.end)}function En(){return an(this.stack.pop())}function rr(){this.data.expectingFirstListItemValue=!0}function Jn(Er){if(this.data.expectingFirstListItemValue){const Qr=this.stack[this.stack.length-2];Qr.start=Number.parseInt(this.sliceSerialize(Er),10),this.data.expectingFirstListItemValue=void 0}}function kn(){const Er=this.resume(),Qr=this.stack[this.stack.length-1];Qr.lang=Er}function Oa(){const Er=this.resume(),Qr=this.stack[this.stack.length-1];Qr.meta=Er}function qa(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function ci(){const Er=this.resume(),Qr=this.stack[this.stack.length-1];Qr.value=Er.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function na(){const Er=this.resume(),Qr=this.stack[this.stack.length-1];Qr.value=Er.replace(/(\r?\n|\r)$/g,"")}function ba(Er){const Qr=this.resume(),Va=this.stack[this.stack.length-1];Va.label=Qr,Va.identifier=yr(this.sliceSerialize(Er)).toLowerCase()}function Na(){const Er=this.resume(),Qr=this.stack[this.stack.length-1];Qr.title=Er}function Ai(){const Er=this.resume(),Qr=this.stack[this.stack.length-1];Qr.url=Er}function Ci(Er){const Qr=this.stack[this.stack.length-1];if(!Qr.depth){const Va=this.sliceSerialize(Er).length;Qr.depth=Va}}function Vr(){this.data.setextHeadingSlurpLineEnding=!0}function di(Er){const Qr=this.stack[this.stack.length-1];Qr.depth=this.sliceSerialize(Er).codePointAt(0)===61?1:2}function Yi(){this.data.setextHeadingSlurpLineEnding=void 0}function Ti(Er){const Va=this.stack[this.stack.length-1].children;let mi=Va[Va.length-1];(!mi||mi.type!=="text")&&(mi=Ea(),mi.position={start:ai(Er.start),end:void 0},Va.push(mi)),this.stack.push(mi)}function ki(Er){const Qr=this.stack.pop();Qr.value+=this.sliceSerialize(Er),Qr.position.end=ai(Er.end)}function yo(Er){const Qr=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Va=Qr.children[Qr.children.length-1];Va.position.end=ai(Er.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&Ce.canContainEols.includes(Qr.type)&&(Ti.call(this,Er),ki.call(this,Er))}function Ri(){this.data.atHardBreak=!0}function Wa(){const Er=this.resume(),Qr=this.stack[this.stack.length-1];Qr.value=Er}function ja(){const Er=this.resume(),Qr=this.stack[this.stack.length-1];Qr.value=Er}function ii(){const Er=this.resume(),Qr=this.stack[this.stack.length-1];Qr.value=Er}function zi(){const Er=this.stack[this.stack.length-1];if(this.data.inReference){const Qr=this.data.referenceType||"shortcut";Er.type+="Reference",Er.referenceType=Qr,delete Er.url,delete Er.title}else delete Er.identifier,delete Er.label;this.data.referenceType=void 0}function no(){const Er=this.stack[this.stack.length-1];if(this.data.inReference){const Qr=this.data.referenceType||"shortcut";Er.type+="Reference",Er.referenceType=Qr,delete Er.url,delete Er.title}else delete Er.identifier,delete Er.label;this.data.referenceType=void 0}function Ro(Er){const Qr=this.sliceSerialize(Er),Va=this.stack[this.stack.length-2];Va.label=ui(Qr),Va.identifier=yr(Qr).toLowerCase()}function Ho(){const Er=this.stack[this.stack.length-1],Qr=this.resume(),Va=this.stack[this.stack.length-1];if(this.data.inReference=!0,Va.type==="link"){const mi=Er.children;Va.children=mi}else Va.alt=Qr}function Zn(){const Er=this.resume(),Qr=this.stack[this.stack.length-1];Qr.url=Er}function zo(){const Er=this.resume(),Qr=this.stack[this.stack.length-1];Qr.title=Er}function as(){this.data.inReference=void 0}function Vn(){this.data.referenceType="collapsed"}function Vo(Er){const Qr=this.resume(),Va=this.stack[this.stack.length-1];Va.label=Qr,Va.identifier=yr(this.sliceSerialize(Er)).toLowerCase(),this.data.referenceType="full"}function Qo(Er){this.data.characterReferenceType=Er.type}function ll(Er){const Qr=this.sliceSerialize(Er),Va=this.data.characterReferenceType;let mi;Va?(mi=Da(Qr,Va==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):mi=qt(Qr);const Di=this.stack[this.stack.length-1];Di.value+=mi}function gl(Er){const Qr=this.stack.pop();Qr.position.end=ai(Er.end)}function po(Er){ki.call(this,Er);const Qr=this.stack[this.stack.length-1];Qr.url=this.sliceSerialize(Er)}function Jo(Er){ki.call(this,Er);const Qr=this.stack[this.stack.length-1];Qr.url="mailto:"+this.sliceSerialize(Er)}function Do(){return{type:"blockquote",children:[]}}function xs(){return{type:"code",lang:null,meta:null,value:""}}function As(){return{type:"inlineCode",value:""}}function Ts(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function qo(){return{type:"emphasis",children:[]}}function ul(){return{type:"heading",depth:0,children:[]}}function _l(){return{type:"break"}}function x(){return{type:"html",value:""}}function z(){return{type:"image",title:null,url:"",alt:null}}function we(){return{type:"link",title:null,url:"",children:[]}}function Nt(Er){return{type:"list",ordered:Er.type==="listOrdered",start:null,spread:Er._spread,children:[]}}function Pn(Er){return{type:"listItem",spread:Er._spread,checked:null,children:[]}}function ur(){return{type:"paragraph",children:[]}}function Fr(){return{type:"strong",children:[]}}function Ea(){return{type:"text",value:""}}function Za(){return{type:"thematicBreak"}}}function ai(ie){return{line:ie.line,column:ie.column,offset:ie.offset}}function uo(ie,Ce){let Ne=-1;for(;++Ne<Ce.length;){const We=Ce[Ne];Array.isArray(We)?uo(ie,We):ti(ie,We)}}function ti(ie,Ce){let Ne;for(Ne in Ce)if(ri.call(Ce,Ne))switch(Ne){case"canContainEols":{const We=Ce[Ne];We&&ie[Ne].push(...We);break}case"transforms":{const We=Ce[Ne];We&&ie[Ne].push(...We);break}case"enter":case"exit":{const We=Ce[Ne];We&&Object.assign(ie[Ne],We);break}}}function ao(ie,Ce){throw ie?new Error("Cannot close `"+ie.type+"` ("+Re({start:ie.start,end:ie.end})+"): a different token (`"+Ce.type+"`, "+Re({start:Ce.start,end:Ce.end})+") is open"):new Error("Cannot close document, a token (`"+Ce.type+"`, "+Re({start:Ce.start,end:Ce.end})+") is still open")}function co(ie){const Ce=this;Ce.parser=Ne;function Ne(We){return Oi(We,su($a($a({},Ce.data("settings")),ie),{extensions:Ce.data("micromarkExtensions")||[],mdastExtensions:Ce.data("fromMarkdownExtensions")||[]}))}}var to=E(90302);function Ii(ie,Ce){const Ne=encode(Ko(ie||""));if(!Ce)return Ne;const We=Ne.indexOf(":"),dt=Ne.indexOf("?"),ft=Ne.indexOf("#"),Dt=Ne.indexOf("/");return We<0||Dt>-1&&We>Dt||dt>-1&&We>dt||ft>-1&&We>ft||Ce.test(Ne.slice(0,We))?Ne:""}function Ko(ie){const Ce=[];let Ne=-1,We=0,dt=0;for(;++Ne<ie.length;){const ft=ie.charCodeAt(Ne);let Dt="";if(ft===37&&(0,Et.H$)(ie.charCodeAt(Ne+1))&&(0,Et.H$)(ie.charCodeAt(Ne+2)))dt=2;else if(ft<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(ft))||(Dt=String.fromCharCode(ft));else if(ft>55295&&ft<57344){const Xt=ie.charCodeAt(Ne+1);ft<56320&&Xt>56319&&Xt<57344?(Dt=String.fromCharCode(ft,Xt),dt=1):Dt="\uFFFD"}else Dt=String.fromCharCode(ft);Dt&&(Ce.push(ie.slice(We,Ne),encodeURIComponent(Dt)),We=Ne+dt+1,Dt=""),dt&&(Ne+=dt,dt=0)}return Ce.join("")+ie.slice(We)}function Us(ie,Ce){const Ne=[{type:"text",value:"\u21A9"}];return Ce>1&&Ne.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(Ce)}]}),Ne}function Ni(ie,Ce){return"Back to reference "+(ie+1)+(Ce>1?"-"+Ce:"")}function Lo(ie){const Ce=typeof ie.options.clobberPrefix=="string"?ie.options.clobberPrefix:"user-content-",Ne=ie.options.footnoteBackContent||Us,We=ie.options.footnoteBackLabel||Ni,dt=ie.options.footnoteLabel||"Footnotes",ft=ie.options.footnoteLabelTagName||"h2",Dt=ie.options.footnoteLabelProperties||{className:["sr-only"]},Xt=[];let Wn=-1;for(;++Wn<ie.footnoteOrder.length;){const Un=ie.footnoteById.get(ie.footnoteOrder[Wn]);if(!Un)continue;const En=ie.all(Un),rr=String(Un.identifier).toUpperCase(),Jn=Ko(rr.toLowerCase());let kn=0;const Oa=[],qa=ie.footnoteCounts.get(rr);for(;qa!==void 0&&++kn<=qa;){Oa.length>0&&Oa.push({type:"text",value:" "});let ba=typeof Ne=="string"?Ne:Ne(Wn,kn);typeof ba=="string"&&(ba={type:"text",value:ba}),Oa.push({type:"element",tagName:"a",properties:{href:"#"+Ce+"fnref-"+Jn+(kn>1?"-"+kn:""),dataFootnoteBackref:"",ariaLabel:typeof We=="string"?We:We(Wn,kn),className:["data-footnote-backref"]},children:Array.isArray(ba)?ba:[ba]})}const ci=En[En.length-1];if(ci&&ci.type==="element"&&ci.tagName==="p"){const ba=ci.children[ci.children.length-1];ba&&ba.type==="text"?ba.value+=" ":ci.children.push({type:"text",value:" "}),ci.children.push(...Oa)}else En.push(...Oa);const na={type:"element",tagName:"li",properties:{id:Ce+"fn-"+Jn},children:ie.wrap(En,!0)};ie.patch(Un,na),Xt.push(na)}if(Xt.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:ft,properties:su($a({},(0,to.ZP)(Dt)),{id:"footnote-label"}),children:[{type:"text",value:dt}]},{type:"text",value:`
`},{type:"element",tagName:"ol",properties:{},children:ie.wrap(Xt,!0)},{type:"text",value:`
`}]}}var go=E(10528);function vo(ie,Ce){const Ne={type:"element",tagName:"blockquote",properties:{},children:ie.wrap(ie.all(Ce),!0)};return ie.patch(Ce,Ne),ie.applyData(Ce,Ne)}function Hs(ie,Ce){const Ne={type:"element",tagName:"br",properties:{},children:[]};return ie.patch(Ce,Ne),[ie.applyData(Ce,Ne),{type:"text",value:`
`}]}function Xs(ie,Ce){const Ne=Ce.value?Ce.value+`
`:"",We={};Ce.lang&&(We.className=["language-"+Ce.lang]);let dt={type:"element",tagName:"code",properties:We,children:[{type:"text",value:Ne}]};return Ce.meta&&(dt.data={meta:Ce.meta}),ie.patch(Ce,dt),dt=ie.applyData(Ce,dt),dt={type:"element",tagName:"pre",properties:{},children:[dt]},ie.patch(Ce,dt),dt}function Qs(ie,Ce){const Ne={type:"element",tagName:"del",properties:{},children:ie.all(Ce)};return ie.patch(Ce,Ne),ie.applyData(Ce,Ne)}function ws(ie,Ce){const Ne={type:"element",tagName:"em",properties:{},children:ie.all(Ce)};return ie.patch(Ce,Ne),ie.applyData(Ce,Ne)}function Is(ie,Ce){const Ne=typeof ie.options.clobberPrefix=="string"?ie.options.clobberPrefix:"user-content-",We=String(Ce.identifier).toUpperCase(),dt=Ko(We.toLowerCase()),ft=ie.footnoteOrder.indexOf(We);let Dt,Xt=ie.footnoteCounts.get(We);Xt===void 0?(Xt=0,ie.footnoteOrder.push(We),Dt=ie.footnoteOrder.length):Dt=ft+1,Xt+=1,ie.footnoteCounts.set(We,Xt);const Wn={type:"element",tagName:"a",properties:{href:"#"+Ne+"fn-"+dt,id:Ne+"fnref-"+dt+(Xt>1?"-"+Xt:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(Dt)}]};ie.patch(Ce,Wn);const Un={type:"element",tagName:"sup",properties:{},children:[Wn]};return ie.patch(Ce,Un),ie.applyData(Ce,Un)}function Ns(ie,Ce){const Ne={type:"element",tagName:"h"+Ce.depth,properties:{},children:ie.all(Ce)};return ie.patch(Ce,Ne),ie.applyData(Ce,Ne)}function hs(ie,Ce){if(ie.options.allowDangerousHtml){const Ne={type:"raw",value:Ce.value};return ie.patch(Ce,Ne),ie.applyData(Ce,Ne)}}function ks(ie,Ce){const Ne=Ce.referenceType;let We="]";if(Ne==="collapsed"?We+="[]":Ne==="full"&&(We+="["+(Ce.label||Ce.identifier)+"]"),Ce.type==="imageReference")return[{type:"text",value:"!["+Ce.alt+We}];const dt=ie.all(Ce),ft=dt[0];ft&&ft.type==="text"?ft.value="["+ft.value:dt.unshift({type:"text",value:"["});const Dt=dt[dt.length-1];return Dt&&Dt.type==="text"?Dt.value+=We:dt.push({type:"text",value:We}),dt}function Js(ie,Ce){const Ne=String(Ce.identifier).toUpperCase(),We=ie.definitionById.get(Ne);if(!We)return ks(ie,Ce);const dt={src:Ko(We.url||""),alt:Ce.alt};We.title!==null&&We.title!==void 0&&(dt.title=We.title);const ft={type:"element",tagName:"img",properties:dt,children:[]};return ie.patch(Ce,ft),ie.applyData(Ce,ft)}function Rs(ie,Ce){const Ne={src:Ko(Ce.url)};Ce.alt!==null&&Ce.alt!==void 0&&(Ne.alt=Ce.alt),Ce.title!==null&&Ce.title!==void 0&&(Ne.title=Ce.title);const We={type:"element",tagName:"img",properties:Ne,children:[]};return ie.patch(Ce,We),ie.applyData(Ce,We)}function Es(ie,Ce){const Ne={type:"text",value:Ce.value.replace(/\r?\n|\r/g," ")};ie.patch(Ce,Ne);const We={type:"element",tagName:"code",properties:{},children:[Ne]};return ie.patch(Ce,We),ie.applyData(Ce,We)}function ms(ie,Ce){const Ne=String(Ce.identifier).toUpperCase(),We=ie.definitionById.get(Ne);if(!We)return ks(ie,Ce);const dt={href:Ko(We.url||"")};We.title!==null&&We.title!==void 0&&(dt.title=We.title);const ft={type:"element",tagName:"a",properties:dt,children:ie.all(Ce)};return ie.patch(Ce,ft),ie.applyData(Ce,ft)}function Qi(ie,Ce){const Ne={href:Ko(Ce.url)};Ce.title!==null&&Ce.title!==void 0&&(Ne.title=Ce.title);const We={type:"element",tagName:"a",properties:Ne,children:ie.all(Ce)};return ie.patch(Ce,We),ie.applyData(Ce,We)}function Fi(ie,Ce,Ne){const We=ie.all(Ce),dt=Ne?ei(Ne):Ha(Ce),ft={},Dt=[];if(typeof Ce.checked=="boolean"){const En=We[0];let rr;En&&En.type==="element"&&En.tagName==="p"?rr=En:(rr={type:"element",tagName:"p",properties:{},children:[]},We.unshift(rr)),rr.children.length>0&&rr.children.unshift({type:"text",value:" "}),rr.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:Ce.checked,disabled:!0},children:[]}),ft.className=["task-list-item"]}let Xt=-1;for(;++Xt<We.length;){const En=We[Xt];(dt||Xt!==0||En.type!=="element"||En.tagName!=="p")&&Dt.push({type:"text",value:`
`}),En.type==="element"&&En.tagName==="p"&&!dt?Dt.push(...En.children):Dt.push(En)}const Wn=We[We.length-1];Wn&&(dt||Wn.type!=="element"||Wn.tagName!=="p")&&Dt.push({type:"text",value:`
`});const Un={type:"element",tagName:"li",properties:ft,children:Dt};return ie.patch(Ce,Un),ie.applyData(Ce,Un)}function ei(ie){let Ce=!1;if(ie.type==="list"){Ce=ie.spread||!1;const Ne=ie.children;let We=-1;for(;!Ce&&++We<Ne.length;)Ce=Ha(Ne[We])}return Ce}function Ha(ie){const Ce=ie.spread;return Ce==null?ie.children.length>1:Ce}function Pi(ie,Ce){const Ne={},We=ie.all(Ce);let dt=-1;for(typeof Ce.start=="number"&&Ce.start!==1&&(Ne.start=Ce.start);++dt<We.length;){const Dt=We[dt];if(Dt.type==="element"&&Dt.tagName==="li"&&Dt.properties&&Array.isArray(Dt.properties.className)&&Dt.properties.className.includes("task-list-item")){Ne.className=["contains-task-list"];break}}const ft={type:"element",tagName:Ce.ordered?"ol":"ul",properties:Ne,children:ie.wrap(We,!0)};return ie.patch(Ce,ft),ie.applyData(Ce,ft)}function Li(ie,Ce){const Ne={type:"element",tagName:"p",properties:{},children:ie.all(Ce)};return ie.patch(Ce,Ne),ie.applyData(Ce,Ne)}function Mi(ie,Ce){const Ne={type:"root",children:ie.wrap(ie.all(Ce))};return ie.patch(Ce,Ne),ie.applyData(Ce,Ne)}function Zi(ie,Ce){const Ne={type:"element",tagName:"strong",properties:{},children:ie.all(Ce)};return ie.patch(Ce,Ne),ie.applyData(Ce,Ne)}function Zo(ie,Ce){const Ne=ie.all(Ce),We=Ne.shift(),dt=[];if(We){const Dt={type:"element",tagName:"thead",properties:{},children:ie.wrap([We],!0)};ie.patch(Ce.children[0],Dt),dt.push(Dt)}if(Ne.length>0){const Dt={type:"element",tagName:"tbody",properties:{},children:ie.wrap(Ne,!0)},Xt=(0,ke.Pk)(Ce.children[1]),Wn=(0,ke.rb)(Ce.children[Ce.children.length-1]);Xt&&Wn&&(Dt.position={start:Xt,end:Wn}),dt.push(Dt)}const ft={type:"element",tagName:"table",properties:{},children:ie.wrap(dt,!0)};return ie.patch(Ce,ft),ie.applyData(Ce,ft)}function Co(ie,Ce,Ne){const We=Ne?Ne.children:void 0,ft=(We?We.indexOf(Ce):1)===0?"th":"td",Dt=Ne&&Ne.type==="table"?Ne.align:void 0,Xt=Dt?Dt.length:Ce.children.length;let Wn=-1;const Un=[];for(;++Wn<Xt;){const rr=Ce.children[Wn],Jn={},kn=Dt?Dt[Wn]:void 0;kn&&(Jn.align=kn);let Oa={type:"element",tagName:ft,properties:Jn,children:[]};rr&&(Oa.children=ie.all(rr),ie.patch(rr,Oa),Oa=ie.applyData(rr,Oa)),Un.push(Oa)}const En={type:"element",tagName:"tr",properties:{},children:ie.wrap(Un,!0)};return ie.patch(Ce,En),ie.applyData(Ce,En)}function ts(ie,Ce){const Ne={type:"element",tagName:"td",properties:{},children:ie.all(Ce)};return ie.patch(Ce,Ne),ie.applyData(Ce,Ne)}const Si=9,Bi=32;function xo(ie){const Ce=String(ie),Ne=/\r?\n|\r/g;let We=Ne.exec(Ce),dt=0;const ft=[];for(;We;)ft.push(_o(Ce.slice(dt,We.index),dt>0,!0),We[0]),dt=We.index+We[0].length,We=Ne.exec(Ce);return ft.push(_o(Ce.slice(dt),dt>0,!1)),ft.join("")}function _o(ie,Ce,Ne){let We=0,dt=ie.length;if(Ce){let ft=ie.codePointAt(We);for(;ft===Si||ft===Bi;)We++,ft=ie.codePointAt(We)}if(Ne){let ft=ie.codePointAt(dt-1);for(;ft===Si||ft===Bi;)dt--,ft=ie.codePointAt(dt-1)}return dt>We?ie.slice(We,dt):""}function zs(ie,Ce){const Ne={type:"text",value:xo(String(Ce.value))};return ie.patch(Ce,Ne),ie.applyData(Ce,Ne)}function rl(ie,Ce){const Ne={type:"element",tagName:"hr",properties:{},children:[]};return ie.patch(Ce,Ne),ie.applyData(Ce,Ne)}const Gs={blockquote:vo,break:Hs,code:Xs,delete:Qs,emphasis:ws,footnoteReference:Is,heading:Ns,html:hs,imageReference:Js,image:Rs,inlineCode:Es,linkReference:ms,link:Qi,listItem:Fi,list:Pi,paragraph:Li,root:Mi,strong:Zi,table:Zo,tableCell:ts,tableRow:Co,text:zs,thematicBreak:rl,toml:Ao,yaml:Ao,definition:Ao,footnoteDefinition:Ao};function Ao(){}const Fo={}.hasOwnProperty,hi={};function jo(ie,Ce){const Ne=Ce||hi,We=new Map,dt=new Map,ft=new Map,Dt=$a($a({},Gs),Ne.handlers),Xt={all:Un,applyData:qs,definitionById:We,footnoteById:dt,footnoteCounts:ft,footnoteOrder:[],handlers:Dt,one:Wn,options:Ne,patch:To,wrap:pl};return(0,go.Vn)(ie,function(En){if(En.type==="definition"||En.type==="footnoteDefinition"){const rr=En.type==="definition"?We:dt,Jn=String(En.identifier).toUpperCase();rr.has(Jn)||rr.set(Jn,En)}}),Xt;function Wn(En,rr){const Jn=En.type,kn=Xt.handlers[Jn];if(Fo.call(Xt.handlers,Jn)&&kn)return kn(Xt,En,rr);if(Xt.options.passThrough&&Xt.options.passThrough.includes(Jn)){if("children"in En){const qa=En,{children:ci}=qa,na=td(qa,["children"]),ba=(0,to.ZP)(na);return ba.children=Xt.all(En),ba}return(0,to.ZP)(En)}return(Xt.options.unknownHandler||fl)(Xt,En,rr)}function Un(En){const rr=[];if("children"in En){const Jn=En.children;let kn=-1;for(;++kn<Jn.length;){const Oa=Xt.one(Jn[kn],En);if(Oa){if(kn&&Jn[kn-1].type==="break"&&(!Array.isArray(Oa)&&Oa.type==="text"&&(Oa.value=ys(Oa.value)),!Array.isArray(Oa)&&Oa.type==="element")){const qa=Oa.children[0];qa&&qa.type==="text"&&(qa.value=ys(qa.value))}Array.isArray(Oa)?rr.push(...Oa):rr.push(Oa)}}}return rr}}function To(ie,Ce){ie.position&&(Ce.position=(0,ke.FK)(ie))}function qs(ie,Ce){let Ne=Ce;if(ie&&ie.data){const We=ie.data.hName,dt=ie.data.hChildren,ft=ie.data.hProperties;if(typeof We=="string")if(Ne.type==="element")Ne.tagName=We;else{const Dt="children"in Ne?Ne.children:[Ne];Ne={type:"element",tagName:We,properties:{},children:Dt}}Ne.type==="element"&&ft&&Object.assign(Ne.properties,(0,to.ZP)(ft)),"children"in Ne&&Ne.children&&dt!==null&&dt!==void 0&&(Ne.children=dt)}return Ne}function fl(ie,Ce){const Ne=Ce.data||{},We="value"in Ce&&!(Fo.call(Ne,"hProperties")||Fo.call(Ne,"hChildren"))?{type:"text",value:Ce.value}:{type:"element",tagName:"div",properties:{},children:ie.all(Ce)};return ie.patch(Ce,We),ie.applyData(Ce,We)}function pl(ie,Ce){const Ne=[];let We=-1;for(Ce&&Ne.push({type:"text",value:`
`});++We<ie.length;)We&&Ne.push({type:"text",value:`
`}),Ne.push(ie[We]);return Ce&&ie.length>0&&Ne.push({type:"text",value:`
`}),Ne}function ys(ie){let Ce=0,Ne=ie.charCodeAt(Ce);for(;Ne===9||Ne===32;)Ce++,Ne=ie.charCodeAt(Ce);return ie.slice(Ce)}function al(ie,Ce){const Ne=jo(ie,Ce),We=Ne.one(ie,void 0),dt=Lo(Ne),ft=Array.isArray(We)?{type:"root",children:We}:We||{type:"root",children:[]};return dt&&((0,ue.ok)("children"in ft),ft.children.push({type:"text",value:`
`},dt)),ft}function il(ie,Ce){return ie&&"run"in ie?function(Ne,We){return Kc(this,null,function*(){const dt=al(Ne,$a({file:We},Ce));yield ie.run(dt,We)})}:function(Ne,We){return al(Ne,$a({file:We},ie||Ce))}}function gs(ie){if(ie)throw ie}var Ws=E(58847);function Ds(ie){if(typeof ie!="object"||ie===null)return!1;const Ce=Object.getPrototypeOf(ie);return(Ce===null||Ce===Object.prototype||Object.getPrototypeOf(Ce)===null)&&!(Symbol.toStringTag in ie)&&!(Symbol.iterator in ie)}function Os(){const ie=[],Ce={run:Ne,use:We};return Ce;function Ne(...dt){let ft=-1;const Dt=dt.pop();if(typeof Dt!="function")throw new TypeError("Expected function as last argument, not "+Dt);Xt(null,...dt);function Xt(Wn,...Un){const En=ie[++ft];let rr=-1;if(Wn){Dt(Wn);return}for(;++rr<dt.length;)(Un[rr]===null||Un[rr]===void 0)&&(Un[rr]=dt[rr]);dt=Un,En?$s(En,Xt)(...Un):Dt(null,...Un)}}function We(dt){if(typeof dt!="function")throw new TypeError("Expected `middelware` to be a function, not "+dt);return ie.push(dt),Ce}}function $s(ie,Ce){let Ne;return We;function We(...Dt){const Xt=ie.length>Dt.length;let Wn;Xt&&Dt.push(dt);try{Wn=ie.apply(this,Dt)}catch(Un){const En=Un;if(Xt&&Ne)throw En;return dt(En)}Xt||(Wn&&Wn.then&&typeof Wn.then=="function"?Wn.then(ft,dt):Wn instanceof Error?dt(Wn):ft(Wn))}function dt(Dt,...Xt){Ne||(Ne=!0,Ce(Dt,...Xt))}function ft(Dt){dt(null,Dt)}}const Po={basename:Ls,dirname:_s,extname:Zs,join:Ss,sep:"/"};function Ls(ie,Ce){if(Ce!==void 0&&typeof Ce!="string")throw new TypeError('"ext" argument must be a string');Fs(ie);let Ne=0,We=-1,dt=ie.length,ft;if(Ce===void 0||Ce.length===0||Ce.length>ie.length){for(;dt--;)if(ie.codePointAt(dt)===47){if(ft){Ne=dt+1;break}}else We<0&&(ft=!0,We=dt+1);return We<0?"":ie.slice(Ne,We)}if(Ce===ie)return"";let Dt=-1,Xt=Ce.length-1;for(;dt--;)if(ie.codePointAt(dt)===47){if(ft){Ne=dt+1;break}}else Dt<0&&(ft=!0,Dt=dt+1),Xt>-1&&(ie.codePointAt(dt)===Ce.codePointAt(Xt--)?Xt<0&&(We=dt):(Xt=-1,We=Dt));return Ne===We?We=Dt:We<0&&(We=ie.length),ie.slice(Ne,We)}function _s(ie){if(Fs(ie),ie.length===0)return".";let Ce=-1,Ne=ie.length,We;for(;--Ne;)if(ie.codePointAt(Ne)===47){if(We){Ce=Ne;break}}else We||(We=!0);return Ce<0?ie.codePointAt(0)===47?"/":".":Ce===1&&ie.codePointAt(0)===47?"//":ie.slice(0,Ce)}function Zs(ie){Fs(ie);let Ce=ie.length,Ne=-1,We=0,dt=-1,ft=0,Dt;for(;Ce--;){const Xt=ie.codePointAt(Ce);if(Xt===47){if(Dt){We=Ce+1;break}continue}Ne<0&&(Dt=!0,Ne=Ce+1),Xt===46?dt<0?dt=Ce:ft!==1&&(ft=1):dt>-1&&(ft=-1)}return dt<0||Ne<0||ft===0||ft===1&&dt===Ne-1&&dt===We+1?"":ie.slice(dt,Ne)}function Ss(...ie){let Ce=-1,Ne;for(;++Ce<ie.length;)Fs(ie[Ce]),ie[Ce]&&(Ne=Ne===void 0?ie[Ce]:Ne+"/"+ie[Ce]);return Ne===void 0?".":js(Ne)}function js(ie){Fs(ie);const Ce=ie.codePointAt(0)===47;let Ne=el(ie,!Ce);return Ne.length===0&&!Ce&&(Ne="."),Ne.length>0&&ie.codePointAt(ie.length-1)===47&&(Ne+="/"),Ce?"/"+Ne:Ne}function el(ie,Ce){let Ne="",We=0,dt=-1,ft=0,Dt=-1,Xt,Wn;for(;++Dt<=ie.length;){if(Dt<ie.length)Xt=ie.codePointAt(Dt);else{if(Xt===47)break;Xt=47}if(Xt===47){if(!(dt===Dt-1||ft===1))if(dt!==Dt-1&&ft===2){if(Ne.length<2||We!==2||Ne.codePointAt(Ne.length-1)!==46||Ne.codePointAt(Ne.length-2)!==46){if(Ne.length>2){if(Wn=Ne.lastIndexOf("/"),Wn!==Ne.length-1){Wn<0?(Ne="",We=0):(Ne=Ne.slice(0,Wn),We=Ne.length-1-Ne.lastIndexOf("/")),dt=Dt,ft=0;continue}}else if(Ne.length>0){Ne="",We=0,dt=Dt,ft=0;continue}}Ce&&(Ne=Ne.length>0?Ne+"/..":"..",We=2)}else Ne.length>0?Ne+="/"+ie.slice(dt+1,Dt):Ne=ie.slice(dt+1,Dt),We=Dt-dt-1;dt=Dt,ft=0}else Xt===46&&ft>-1?ft++:ft=-1}return Ne}function Fs(ie){if(typeof ie!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(ie))}const Vs={cwd:ol};function ol(){return"/"}function ns(ie){return!!(ie!==null&&typeof ie=="object"&&"href"in ie&&ie.href&&"protocol"in ie&&ie.protocol&&ie.auth===void 0)}function Yo(ie){if(typeof ie=="string")ie=new URL(ie);else if(!ns(ie)){const Ce=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+ie+"`");throw Ce.code="ERR_INVALID_ARG_TYPE",Ce}if(ie.protocol!=="file:"){const Ce=new TypeError("The URL must be of scheme file");throw Ce.code="ERR_INVALID_URL_SCHEME",Ce}return Ps(ie)}function Ps(ie){if(ie.hostname!==""){const We=new TypeError('File URL host must be "localhost" or empty on darwin');throw We.code="ERR_INVALID_FILE_URL_HOST",We}const Ce=ie.pathname;let Ne=-1;for(;++Ne<Ce.length;)if(Ce.codePointAt(Ne)===37&&Ce.codePointAt(Ne+1)===50){const We=Ce.codePointAt(Ne+2);if(We===70||We===102){const dt=new TypeError("File URL path must not include encoded / characters");throw dt.code="ERR_INVALID_FILE_URL_PATH",dt}}return decodeURIComponent(Ce)}const bo=["history","path","basename","stem","extname","dirname"];class rs{constructor(Ce){let Ne;Ce?ns(Ce)?Ne={path:Ce}:typeof Ce=="string"||Qa(Ce)?Ne={value:Ce}:Ne=Ce:Ne={},this.cwd="cwd"in Ne?"":Vs.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let We=-1;for(;++We<bo.length;){const ft=bo[We];ft in Ne&&Ne[ft]!==void 0&&Ne[ft]!==null&&(this[ft]=ft==="history"?[...Ne[ft]]:Ne[ft])}let dt;for(dt in Ne)bo.includes(dt)||(this[dt]=Ne[dt])}get basename(){return typeof this.path=="string"?Po.basename(this.path):void 0}set basename(Ce){fo(Ce,"basename"),Bo(Ce,"basename"),this.path=Po.join(this.dirname||"",Ce)}get dirname(){return typeof this.path=="string"?Po.dirname(this.path):void 0}set dirname(Ce){wo(this.basename,"dirname"),this.path=Po.join(Ce||"",this.basename)}get extname(){return typeof this.path=="string"?Po.extname(this.path):void 0}set extname(Ce){if(Bo(Ce,"extname"),wo(this.dirname,"extname"),Ce){if(Ce.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(Ce.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Po.join(this.dirname,this.stem+(Ce||""))}get path(){return this.history[this.history.length-1]}set path(Ce){ns(Ce)&&(Ce=Yo(Ce)),fo(Ce,"path"),this.path!==Ce&&this.history.push(Ce)}get stem(){return typeof this.path=="string"?Po.basename(this.path,this.extname):void 0}set stem(Ce){fo(Ce,"stem"),Bo(Ce,"stem"),this.path=Po.join(this.dirname||"",Ce+(this.extname||""))}fail(Ce,Ne,We){const dt=this.message(Ce,Ne,We);throw dt.fatal=!0,dt}info(Ce,Ne,We){const dt=this.message(Ce,Ne,We);return dt.fatal=void 0,dt}message(Ce,Ne,We){const dt=new Fe(Ce,Ne,We);return this.path&&(dt.name=this.path+":"+dt.name,dt.file=this.path),dt.fatal=!1,this.messages.push(dt),dt}toString(Ce){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(Ce||void 0).decode(this.value)}}function Bo(ie,Ce){if(ie&&ie.includes(Po.sep))throw new Error("`"+Ce+"` cannot be a path: did not expect `"+Po.sep+"`")}function fo(ie,Ce){if(!ie)throw new Error("`"+Ce+"` cannot be empty")}function wo(ie,Ce){if(!ie)throw new Error("Setting `"+Ce+"` requires `path` to be set too")}function Qa(ie){return!!(ie&&typeof ie=="object"&&"byteLength"in ie&&"byteOffset"in ie)}const Ya=function(ie){const We=this.constructor.prototype,dt=We[ie],ft=function(){return dt.apply(ft,arguments)};return Object.setPrototypeOf(ft,We),ft},_i={}.hasOwnProperty;class Vi extends Ya{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Os()}copy(){const Ce=new Vi;let Ne=-1;for(;++Ne<this.attachers.length;){const We=this.attachers[Ne];Ce.use(...We)}return Ce.data(Ws(!0,{},this.namespace)),Ce}data(Ce,Ne){return typeof Ce=="string"?arguments.length===2?(Uo("data",this.frozen),this.namespace[Ce]=Ne,this):_i.call(this.namespace,Ce)&&this.namespace[Ce]||void 0:Ce?(Uo("data",this.frozen),this.namespace=Ce,this):this.namespace}freeze(){if(this.frozen)return this;const Ce=this;for(;++this.freezeIndex<this.attachers.length;){const[Ne,...We]=this.attachers[this.freezeIndex];if(We[0]===!1)continue;We[0]===!0&&(We[0]=void 0);const dt=Ne.call(Ce,...We);typeof dt=="function"&&this.transformers.use(dt)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(Ce){this.freeze();const Ne=hl(Ce),We=this.parser||this.Parser;return Io("parse",We),We(String(Ne),Ne)}process(Ce,Ne){const We=this;return this.freeze(),Io("process",this.parser||this.Parser),Mo("process",this.compiler||this.Compiler),Ne?dt(void 0,Ne):new Promise(dt);function dt(ft,Dt){const Xt=hl(Ce),Wn=We.parse(Xt);We.run(Wn,Xt,function(En,rr,Jn){if(En||!rr||!Jn)return Un(En);const kn=rr,Oa=We.stringify(kn,Jn);Ol(Oa)?Jn.value=Oa:Jn.result=Oa,Un(En,Jn)});function Un(En,rr){En||!rr?Dt(En):ft?ft(rr):((0,ue.ok)(Ne,"`done` is defined if `resolve` is not"),Ne(void 0,rr))}}}processSync(Ce){let Ne=!1,We;return this.freeze(),Io("processSync",this.parser||this.Parser),Mo("processSync",this.compiler||this.Compiler),this.process(Ce,dt),Xo("processSync","process",Ne),(0,ue.ok)(We,"we either bailed on an error or have a tree"),We;function dt(ft,Dt){Ne=!0,gs(ft),We=Dt}}run(Ce,Ne,We){No(Ce),this.freeze();const dt=this.transformers;return!We&&typeof Ne=="function"&&(We=Ne,Ne=void 0),We?ft(void 0,We):new Promise(ft);function ft(Dt,Xt){(0,ue.ok)(typeof Ne!="function","`file` can\u2019t be a `done` anymore, we checked");const Wn=hl(Ne);dt.run(Ce,Wn,Un);function Un(En,rr,Jn){const kn=rr||Ce;En?Xt(En):Dt?Dt(kn):((0,ue.ok)(We,"`done` is defined if `resolve` is not"),We(void 0,kn,Jn))}}}runSync(Ce,Ne){let We=!1,dt;return this.run(Ce,Ne,ft),Xo("runSync","run",We),(0,ue.ok)(dt,"we either bailed on an error or have a tree"),dt;function ft(Dt,Xt){gs(Dt),dt=Xt,We=!0}}stringify(Ce,Ne){this.freeze();const We=hl(Ne),dt=this.compiler||this.Compiler;return Mo("stringify",dt),No(Ce),dt(Ce,We)}use(Ce,...Ne){const We=this.attachers,dt=this.namespace;if(Uo("use",this.frozen),Ce!=null)if(typeof Ce=="function")Wn(Ce,Ne);else if(typeof Ce=="object")Array.isArray(Ce)?Xt(Ce):Dt(Ce);else throw new TypeError("Expected usable value, not `"+Ce+"`");return this;function ft(Un){if(typeof Un=="function")Wn(Un,[]);else if(typeof Un=="object")if(Array.isArray(Un)){const[En,...rr]=Un;Wn(En,rr)}else Dt(Un);else throw new TypeError("Expected usable value, not `"+Un+"`")}function Dt(Un){if(!("plugins"in Un)&&!("settings"in Un))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");Xt(Un.plugins),Un.settings&&(dt.settings=Ws(!0,dt.settings,Un.settings))}function Xt(Un){let En=-1;if(Un!=null)if(Array.isArray(Un))for(;++En<Un.length;){const rr=Un[En];ft(rr)}else throw new TypeError("Expected a list of plugins, not `"+Un+"`")}function Wn(Un,En){let rr=-1,Jn=-1;for(;++rr<We.length;)if(We[rr][0]===Un){Jn=rr;break}if(Jn===-1)We.push([Un,...En]);else if(En.length>0){let[kn,...Oa]=En;const qa=We[Jn][1];Ds(qa)&&Ds(kn)&&(kn=Ws(!0,qa,kn)),We[Jn]=[Un,kn,...Oa]}}}}const ji=new Vi().freeze();function Io(ie,Ce){if(typeof Ce!="function")throw new TypeError("Cannot `"+ie+"` without `parser`")}function Mo(ie,Ce){if(typeof Ce!="function")throw new TypeError("Cannot `"+ie+"` without `compiler`")}function Uo(ie,Ce){if(Ce)throw new Error("Cannot call `"+ie+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function No(ie){if(!Ds(ie)||typeof ie.type!="string")throw new TypeError("Expected node, got `"+ie+"`")}function Xo(ie,Ce,Ne){if(!Ne)throw new Error("`"+ie+"` finished async. Use `"+Ce+"` instead")}function hl(ie){return Il(ie)?ie:new rs(ie)}function Il(ie){return!!(ie&&typeof ie=="object"&&"message"in ie&&"messages"in ie)}function Ol(ie){return typeof ie=="string"||Wl(ie)}function Wl(ie){return!!(ie&&typeof ie=="object"&&"byteLength"in ie&&"byteOffset"in ie)}const Zl="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Ll=[],ko={allowDangerousHtml:!0},Ji=/^(https?|ircs?|mailto|xmpp)$/i,Eo=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function qi(ie){const Ce=Cs(ie),Ne=sl(ie);return Nl(Ce.runSync(Ce.parse(Ne),Ne),ie)}function Ks(ie){return Kc(this,null,function*(){const Ce=Cs(ie),Ne=sl(ie),We=yield Ce.run(Ce.parse(Ne),Ne);return Nl(We,ie)})}function ml(ie){const Ce=Cs(ie),[Ne,We]=useState(void 0),[dt,ft]=useState(void 0);if(useEffect(function(){const Dt=sl(ie);Ce.run(Ce.parse(Dt),Dt,function(Xt,Wn){We(Xt),ft(Wn)})},[ie.children,ie.rehypePlugins,ie.remarkPlugins,ie.remarkRehypeOptions]),Ne)throw Ne;return dt?Nl(dt,ie):createElement(Fragment)}function Cs(ie){const Ce=ie.rehypePlugins||Ll,Ne=ie.remarkPlugins||Ll,We=ie.remarkRehypeOptions?$a($a({},ie.remarkRehypeOptions),ko):ko;return ji().use(co).use(Ne).use(il,We).use(Ce)}function sl(ie){const Ce=ie.children||"",Ne=new rs;return typeof Ce=="string"?Ne.value=Ce:(0,ue.t1)("Unexpected value `"+Ce+"` for `children` prop, expected `string`"),Ne}function Nl(ie,Ce){const Ne=Ce.allowedElements,We=Ce.allowElement,dt=Ce.components,ft=Ce.disallowedElements,Dt=Ce.skipHtml,Xt=Ce.unwrapDisallowed,Wn=Ce.urlTransform||jl;for(const En of Eo)Object.hasOwn(Ce,En.from)&&(0,ue.t1)("Unexpected `"+En.from+"` prop, "+(En.to?"use `"+En.to+"` instead":"remove it")+" (see <"+Zl+"#"+En.id+"> for more info)");return Ne&&ft&&(0,ue.t1)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),Ce.className&&(ie={type:"element",tagName:"div",properties:{className:Ce.className},children:ie.type==="root"?ie.children:[ie]}),(0,go.Vn)(ie,Un),ht(ie,{Fragment:fe.Fragment,components:dt,ignoreInvalidStyle:!0,jsx:fe.jsx,jsxs:fe.jsxs,passKeys:!0,passNode:!0});function Un(En,rr,Jn){if(En.type==="raw"&&Jn&&typeof rr=="number")return Dt?Jn.children.splice(rr,1):Jn.children[rr]={type:"text",value:En.value},rr;if(En.type==="element"){let kn;for(kn in De)if(Object.hasOwn(De,kn)&&Object.hasOwn(En.properties,kn)){const Oa=En.properties[kn],qa=De[kn];(qa===null||qa.includes(En.tagName))&&(En.properties[kn]=Wn(String(Oa||""),kn,En))}}if(En.type==="element"){let kn=Ne?!Ne.includes(En.tagName):ft?ft.includes(En.tagName):!1;if(!kn&&We&&typeof rr=="number"&&(kn=!We(En,rr,Jn)),kn&&Jn&&typeof rr=="number")return Xt&&En.children?Jn.children.splice(rr,1,...En.children):Jn.children.splice(rr,1),rr}}}function jl(ie){const Ce=ie.indexOf(":"),Ne=ie.indexOf("?"),We=ie.indexOf("#"),dt=ie.indexOf("/");return Ce===-1||dt!==-1&&Ce>dt||Ne!==-1&&Ce>Ne||We!==-1&&Ce>We||Ji.test(ie.slice(0,Ce))?ie:""}},3977:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return _l}});var b={};E.r(b),E.d(b,{boolean:function(){return Fe},booleanish:function(){return tt},commaOrSpaceSeparated:function(){return rt},commaSeparated:function(){return et},number:function(){return Ue},overloadedBoolean:function(){return $e},spaceSeparated:function(){return Xe}});var ue=E(90302),le=E(87342),ce=E(81994),ge=E(14470),oe=E(86825);function xe(x){const z=String(x),we=[];return{toOffset:Pn,toPoint:Nt};function Nt(ur){if(typeof ur=="number"&&ur>-1&&ur<=z.length){let Fr=0;for(;;){let Ea=we[Fr];if(Ea===void 0){const Za=Oe(z,we[Fr-1]);Ea=Za===-1?z.length+1:Za+1,we[Fr]=Ea}if(Ea>ur)return{line:Fr+1,column:ur-(Fr>0?we[Fr-1]:0)+1,offset:ur};Fr++}}}function Pn(ur){if(ur&&typeof ur.line=="number"&&typeof ur.column=="number"&&!Number.isNaN(ur.line)&&!Number.isNaN(ur.column)){for(;we.length<ur.line;){const Ea=we[we.length-1],Za=Oe(z,Ea),Er=Za===-1?z.length+1:Za+1;if(Ea===Er)break;we.push(Er)}const Fr=(ur.line>1?we[ur.line-2]:0)+ur.column-1;if(Fr<we[ur.line-1])return Fr}}}function Oe(x,z){const we=x.indexOf("\r",z),Nt=x.indexOf(`
`,z);return Nt===-1?we:we===-1||we+1===Nt?Nt:we<Nt?we:Nt}var Se=E(43309);const he={}.hasOwnProperty,Ve=Object.prototype;function Ae(x,z){const we=z||{};return ct({file:we.file||void 0,location:!1,schema:we.space==="svg"?ge.YP:ge.dy,verbose:we.verbose||!1},x)}function ct(x,z){let we;switch(z.nodeName){case"#comment":{const Nt=z;return we={type:"comment",value:Nt.data},Me(x,Nt,we),we}case"#document":case"#document-fragment":{const Nt=z,Pn="mode"in Nt?Nt.mode==="quirks"||Nt.mode==="limited-quirks":!1;if(we={type:"root",children:Ke(x,z.childNodes),data:{quirksMode:Pn}},x.file&&x.location){const ur=String(x.file),Fr=xe(ur),Ea=Fr.toPoint(0),Za=Fr.toPoint(ur.length);(0,le.ok)(Ea,"expected `start`"),(0,le.ok)(Za,"expected `end`"),we.position={start:Ea,end:Za}}return we}case"#documentType":{const Nt=z;return we={type:"doctype"},Me(x,Nt,we),we}case"#text":{const Nt=z;return we={type:"text",value:Nt.value},Me(x,Nt,we),we}default:return we=qe(x,z),we}}function Ke(x,z){let we=-1;const Nt=[];for(;++we<z.length;){const Pn=ct(x,z[we]);Nt.push(Pn)}return Nt}function qe(x,z){const we=x.schema;x.schema=z.namespaceURI===Se.t.svg?ge.YP:ge.dy;let Nt=-1;const Pn={};for(;++Nt<z.attrs.length;){const Ea=z.attrs[Nt],Za=(Ea.prefix?Ea.prefix+":":"")+Ea.name;he.call(Ve,Za)||(Pn[Za]=Ea.value)}const Fr=(x.schema.space==="svg"?ce.s:ce.h)(z.tagName,Pn,Ke(x,z.childNodes));if(Me(x,z,Fr),Fr.tagName==="template"){const Ea=z,Za=Ea.sourceCodeLocation,Er=Za&&Za.startTag&&Ze(Za.startTag),Qr=Za&&Za.endTag&&Ze(Za.endTag),Va=ct(x,Ea.content);Er&&Qr&&x.file&&(Va.position={start:Er.end,end:Qr.start}),Fr.content=Va}return x.schema=we,Fr}function Me(x,z,we){if("sourceCodeLocation"in z&&z.sourceCodeLocation&&x.file){const Nt=ze(x,we,z.sourceCodeLocation);Nt&&(x.location=!0,we.position=Nt)}}function ze(x,z,we){const Nt=Ze(we);if(z.type==="element"){const Pn=z.children[z.children.length-1];if(Nt&&!we.endTag&&Pn&&Pn.position&&Pn.position.end&&(Nt.end=Object.assign({},Pn.position.end)),x.verbose){const ur={};let Fr;if(we.attrs)for(Fr in we.attrs)he.call(we.attrs,Fr)&&(ur[(0,oe.s)(x.schema,Fr).property]=Ze(we.attrs[Fr]));(0,le.ok)(we.startTag,"a start tag should exist");const Ea=Ze(we.startTag),Za=we.endTag?Ze(we.endTag):void 0,Er={opening:Ea};Za&&(Er.closing=Za),Er.properties=ur,z.data={position:Er}}}return Nt}function Ze(x){const z=Le({line:x.startLine,column:x.startCol,offset:x.startOffset}),we=Le({line:x.endLine,column:x.endCol,offset:x.endOffset});return z||we?{start:z,end:we}:void 0}function Le(x){return x.line&&x.column?x:void 0}var Pe=E(11630);class ke{constructor(z,we,Nt){this.property=z,this.normal=we,Nt&&(this.space=Nt)}}ke.prototype.property={},ke.prototype.normal={},ke.prototype.space=null;function Re(x,z){const we={},Nt={};let Pn=-1;for(;++Pn<x.length;)Object.assign(we,x[Pn].property),Object.assign(Nt,x[Pn].normal);return new ke(we,Nt,z)}function Te(x){return x.toLowerCase()}class Ye{constructor(z,we){this.property=z,this.attribute=we}}Ye.prototype.space=null,Ye.prototype.boolean=!1,Ye.prototype.booleanish=!1,Ye.prototype.overloadedBoolean=!1,Ye.prototype.number=!1,Ye.prototype.commaSeparated=!1,Ye.prototype.spaceSeparated=!1,Ye.prototype.commaOrSpaceSeparated=!1,Ye.prototype.mustUseProperty=!1,Ye.prototype.defined=!1;let lt=0;const Fe=ht(),tt=ht(),$e=ht(),Ue=ht(),Xe=ht(),et=ht(),rt=ht();function ht(){return Vc(2,++lt)}const kt=Object.keys(b);class St extends Ye{constructor(z,we,Nt,Pn){let ur=-1;if(super(z,we),Gt(this,"space",Pn),typeof Nt=="number")for(;++ur<kt.length;){const Fr=kt[ur];Gt(this,kt[ur],(Nt&b[Fr])===b[Fr])}}}St.prototype.defined=!0;function Gt(x,z,we){we&&(x[z]=we)}const nt={}.hasOwnProperty;function je(x){const z={},we={};let Nt;for(Nt in x.properties)if(nt.call(x.properties,Nt)){const Pn=x.properties[Nt],ur=new St(Nt,x.transform(x.attributes||{},Nt),Pn,x.space);x.mustUseProperty&&x.mustUseProperty.includes(Nt)&&(ur.mustUseProperty=!0),z[Nt]=ur,we[Te(Nt)]=Nt,we[Te(ur.attribute)]=Nt}return new ke(z,we,x.space)}const Be=je({space:"xlink",transform(x,z){return"xlink:"+z.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),wt=je({space:"xml",transform(x,z){return"xml:"+z.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Ot(x,z){return z in x?x[z]:z}function ot(x,z){return Ot(x,z.toLowerCase())}const zt=je({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:ot,properties:{xmlns:null,xmlnsXLink:null}}),Ut=je({transform(x,z){return z==="role"?z:"aria-"+z.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:tt,ariaAutoComplete:null,ariaBusy:tt,ariaChecked:tt,ariaColCount:Ue,ariaColIndex:Ue,ariaColSpan:Ue,ariaControls:Xe,ariaCurrent:null,ariaDescribedBy:Xe,ariaDetails:null,ariaDisabled:tt,ariaDropEffect:Xe,ariaErrorMessage:null,ariaExpanded:tt,ariaFlowTo:Xe,ariaGrabbed:tt,ariaHasPopup:null,ariaHidden:tt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Xe,ariaLevel:Ue,ariaLive:null,ariaModal:tt,ariaMultiLine:tt,ariaMultiSelectable:tt,ariaOrientation:null,ariaOwns:Xe,ariaPlaceholder:null,ariaPosInSet:Ue,ariaPressed:tt,ariaReadOnly:tt,ariaRelevant:null,ariaRequired:tt,ariaRoleDescription:Xe,ariaRowCount:Ue,ariaRowIndex:Ue,ariaRowSpan:Ue,ariaSelected:tt,ariaSetSize:Ue,ariaSort:null,ariaValueMax:Ue,ariaValueMin:Ue,ariaValueNow:Ue,ariaValueText:null,role:null}}),pn=je({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:ot,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:et,acceptCharset:Xe,accessKey:Xe,action:null,allow:null,allowFullScreen:Fe,allowPaymentRequest:Fe,allowUserMedia:Fe,alt:null,as:null,async:Fe,autoCapitalize:null,autoComplete:Xe,autoFocus:Fe,autoPlay:Fe,blocking:Xe,capture:null,charSet:null,checked:Fe,cite:null,className:Xe,cols:Ue,colSpan:null,content:null,contentEditable:tt,controls:Fe,controlsList:Xe,coords:Ue|et,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Fe,defer:Fe,dir:null,dirName:null,disabled:Fe,download:$e,draggable:tt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Fe,formTarget:null,headers:Xe,height:Ue,hidden:Fe,high:Ue,href:null,hrefLang:null,htmlFor:Xe,httpEquiv:Xe,id:null,imageSizes:null,imageSrcSet:null,inert:Fe,inputMode:null,integrity:null,is:null,isMap:Fe,itemId:null,itemProp:Xe,itemRef:Xe,itemScope:Fe,itemType:Xe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Fe,low:Ue,manifest:null,max:null,maxLength:Ue,media:null,method:null,min:null,minLength:Ue,multiple:Fe,muted:Fe,name:null,nonce:null,noModule:Fe,noValidate:Fe,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Fe,optimum:Ue,pattern:null,ping:Xe,placeholder:null,playsInline:Fe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Fe,referrerPolicy:null,rel:Xe,required:Fe,reversed:Fe,rows:Ue,rowSpan:Ue,sandbox:Xe,scope:null,scoped:Fe,seamless:Fe,selected:Fe,shadowRootClonable:Fe,shadowRootDelegatesFocus:Fe,shadowRootMode:null,shape:null,size:Ue,sizes:null,slot:null,span:Ue,spellCheck:tt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Ue,step:null,style:null,tabIndex:Ue,target:null,title:null,translate:null,type:null,typeMustMatch:Fe,useMap:null,value:tt,width:Ue,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Xe,axis:null,background:null,bgColor:null,border:Ue,borderColor:null,bottomMargin:Ue,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Fe,declare:Fe,event:null,face:null,frame:null,frameBorder:null,hSpace:Ue,leftMargin:Ue,link:null,longDesc:null,lowSrc:null,marginHeight:Ue,marginWidth:Ue,noResize:Fe,noHref:Fe,noShade:Fe,noWrap:Fe,object:null,profile:null,prompt:null,rev:null,rightMargin:Ue,rules:null,scheme:null,scrolling:tt,standby:null,summary:null,text:null,topMargin:Ue,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Ue,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Fe,disableRemotePlayback:Fe,prefix:null,property:null,results:Ue,security:null,unselectable:null}}),bt=je({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Ot,properties:{about:rt,accentHeight:Ue,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Ue,amplitude:Ue,arabicForm:null,ascent:Ue,attributeName:null,attributeType:null,azimuth:Ue,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Ue,by:null,calcMode:null,capHeight:Ue,className:Xe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Ue,diffuseConstant:Ue,direction:null,display:null,dur:null,divisor:Ue,dominantBaseline:null,download:Fe,dx:null,dy:null,edgeMode:null,editable:null,elevation:Ue,enableBackground:null,end:null,event:null,exponent:Ue,externalResourcesRequired:null,fill:null,fillOpacity:Ue,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:et,g2:et,glyphName:et,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Ue,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Ue,horizOriginX:Ue,horizOriginY:Ue,id:null,ideographic:Ue,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Ue,k:Ue,k1:Ue,k2:Ue,k3:Ue,k4:Ue,kernelMatrix:rt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Ue,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Ue,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Ue,overlineThickness:Ue,paintOrder:null,panose1:null,path:null,pathLength:Ue,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Xe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Ue,pointsAtY:Ue,pointsAtZ:Ue,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:rt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:rt,rev:rt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:rt,requiredFeatures:rt,requiredFonts:rt,requiredFormats:rt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Ue,specularExponent:Ue,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Ue,strikethroughThickness:Ue,string:null,stroke:null,strokeDashArray:rt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Ue,strokeOpacity:Ue,strokeWidth:null,style:null,surfaceScale:Ue,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:rt,tabIndex:Ue,tableValues:null,target:null,targetX:Ue,targetY:Ue,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:rt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Ue,underlineThickness:Ue,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Ue,values:null,vAlphabetic:Ue,vMathematical:Ue,vectorEffect:null,vHanging:Ue,vIdeographic:Ue,version:null,vertAdvY:Ue,vertOriginX:Ue,vertOriginY:Ue,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Ue,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Yt=Re([wt,Be,zt,Ut,pn],"html"),Bt=Re([wt,Be,zt,Ut,bt],"svg"),$t=/^data[-\w.:]+$/i,cn=/-[a-z]/g,Ie=/[A-Z]/g;function pe(x,z){const we=Te(z);let Nt=z,Pn=Ye;if(we in x.normal)return x.property[x.normal[we]];if(we.length>4&&we.slice(0,4)==="data"&&$t.test(z)){if(z.charAt(4)==="-"){const ur=z.slice(5).replace(cn,Ee);Nt="data"+ur.charAt(0).toUpperCase()+ur.slice(1)}else{const ur=z.slice(4);if(!cn.test(ur)){let Fr=ur.replace(Ie,de);Fr.charAt(0)!=="-"&&(Fr="-"+Fr),z="data"+Fr}}Pn=St}return new Pn(Nt,z)}function de(x){return"-"+x.toLowerCase()}function Ee(x){return x.charAt(1).toUpperCase()}var De=E(71523);const fe={}.hasOwnProperty;function Qe(x,z){const we=z||{};function Nt(Pn,...ur){let Fr=Nt.invalid;const Ea=Nt.handlers;if(Pn&&fe.call(Pn,x)){const Za=String(Pn[x]);Fr=fe.call(Ea,Za)?Ea[Za]:Nt.unknown}if(Fr)return Fr.call(this,Pn,...ur)}return Nt.handlers=we.handlers||{},Nt.invalid=we.invalid,Nt.unknown=we.unknown,Nt}const Mt={},an={}.hasOwnProperty,Sn=Qe("type",{handlers:{root:Ft,element:mt,text:fn,comment:Zt,doctype:Jt}});function gt(x,z){const Nt=(z||Mt).space;return Sn(x,Nt==="svg"?Bt:Yt)}function Ft(x,z){const we={nodeName:"#document",mode:(x.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return we.childNodes=Ct(x.children,we,z),Rt(x,we),we}function Lt(x,z){const we={nodeName:"#document-fragment",childNodes:[]};return we.childNodes=Ct(x.children,we,z),Rt(x,we),we}function Jt(x){const z={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Rt(x,z),z}function fn(x){const z={nodeName:"#text",value:x.value,parentNode:null};return Rt(x,z),z}function Zt(x){const z={nodeName:"#comment",data:x.value,parentNode:null};return Rt(x,z),z}function mt(x,z){const we=z;let Nt=we;x.type==="element"&&x.tagName.toLowerCase()==="svg"&&we.space==="html"&&(Nt=Bt);const Pn=[];let ur;if(x.properties){for(ur in x.properties)if(ur!=="children"&&an.call(x.properties,ur)){const Za=tn(Nt,ur,x.properties[ur]);Za&&Pn.push(Za)}}const Fr=Nt.space;(0,le.ok)(Fr);const Ea={nodeName:x.tagName,tagName:x.tagName,attrs:Pn,namespaceURI:Se.t[Fr],childNodes:[],parentNode:null};return Ea.childNodes=Ct(x.children,Ea,Nt),Rt(x,Ea),x.tagName==="template"&&x.content&&(Ea.content=Lt(x.content,Nt)),Ea}function tn(x,z,we){const Nt=pe(x,z);if(we===!1||we===null||we===void 0||typeof we=="number"&&Number.isNaN(we)||!we&&Nt.boolean)return;Array.isArray(we)&&(we=Nt.commaSeparated?(0,Pe.P)(we):(0,De.P)(we));const Pn={name:Nt.attribute,value:we===!0?"":String(we)};if(Nt.space&&Nt.space!=="html"&&Nt.space!=="svg"){const ur=Pn.name.indexOf(":");ur<0?Pn.prefix="":(Pn.name=Pn.name.slice(ur+1),Pn.prefix=Nt.attribute.slice(0,ur)),Pn.namespace=Se.t[Nt.space]}return Pn}function Ct(x,z,we){let Nt=-1;const Pn=[];if(x)for(;++Nt<x.length;){const ur=Sn(x[Nt],we);ur.parentNode=z,Pn.push(ur)}return Pn}function Rt(x,z){const we=x.position;we&&we.start&&we.end&&((0,le.ok)(typeof we.start.offset=="number"),(0,le.ok)(typeof we.end.offset=="number"),z.sourceCodeLocation={startLine:we.start.line,startCol:we.start.column,startOffset:we.start.offset,endLine:we.end.line,endCol:we.end.column,endOffset:we.end.offset})}const vt=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],jt=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),At="\uFFFD";var Je;(function(x){x[x.EOF=-1]="EOF",x[x.NULL=0]="NULL",x[x.TABULATION=9]="TABULATION",x[x.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",x[x.LINE_FEED=10]="LINE_FEED",x[x.FORM_FEED=12]="FORM_FEED",x[x.SPACE=32]="SPACE",x[x.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",x[x.QUOTATION_MARK=34]="QUOTATION_MARK",x[x.AMPERSAND=38]="AMPERSAND",x[x.APOSTROPHE=39]="APOSTROPHE",x[x.HYPHEN_MINUS=45]="HYPHEN_MINUS",x[x.SOLIDUS=47]="SOLIDUS",x[x.DIGIT_0=48]="DIGIT_0",x[x.DIGIT_9=57]="DIGIT_9",x[x.SEMICOLON=59]="SEMICOLON",x[x.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",x[x.EQUALS_SIGN=61]="EQUALS_SIGN",x[x.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",x[x.QUESTION_MARK=63]="QUESTION_MARK",x[x.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",x[x.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",x[x.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",x[x.GRAVE_ACCENT=96]="GRAVE_ACCENT",x[x.LATIN_SMALL_A=97]="LATIN_SMALL_A",x[x.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(Je||(Je={}));const un={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function gn(x){return x>=55296&&x<=57343}function Et(x){return x>=56320&&x<=57343}function Ln(x,z){return(x-55296)*1024+9216+z}function ar(x){return x!==32&&x!==10&&x!==13&&x!==9&&x!==12&&x>=1&&x<=31||x>=127&&x<=159}function Hn(x){return x>=64976&&x<=65007||jt.has(x)}var Vt;(function(x){x.controlCharacterInInputStream="control-character-in-input-stream",x.noncharacterInInputStream="noncharacter-in-input-stream",x.surrogateInInputStream="surrogate-in-input-stream",x.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",x.endTagWithAttributes="end-tag-with-attributes",x.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",x.unexpectedSolidusInTag="unexpected-solidus-in-tag",x.unexpectedNullCharacter="unexpected-null-character",x.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",x.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",x.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",x.missingEndTagName="missing-end-tag-name",x.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",x.unknownNamedCharacterReference="unknown-named-character-reference",x.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",x.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",x.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",x.eofBeforeTagName="eof-before-tag-name",x.eofInTag="eof-in-tag",x.missingAttributeValue="missing-attribute-value",x.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",x.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",x.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",x.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",x.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",x.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",x.missingDoctypePublicIdentifier="missing-doctype-public-identifier",x.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",x.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",x.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",x.cdataInHtmlContent="cdata-in-html-content",x.incorrectlyOpenedComment="incorrectly-opened-comment",x.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",x.eofInDoctype="eof-in-doctype",x.nestedComment="nested-comment",x.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",x.eofInComment="eof-in-comment",x.incorrectlyClosedComment="incorrectly-closed-comment",x.eofInCdata="eof-in-cdata",x.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",x.nullCharacterReference="null-character-reference",x.surrogateCharacterReference="surrogate-character-reference",x.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",x.controlCharacterReference="control-character-reference",x.noncharacterCharacterReference="noncharacter-character-reference",x.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",x.missingDoctypeName="missing-doctype-name",x.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",x.duplicateAttribute="duplicate-attribute",x.nonConformingDoctype="non-conforming-doctype",x.missingDoctype="missing-doctype",x.misplacedDoctype="misplaced-doctype",x.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",x.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",x.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",x.openElementsLeftAfterEof="open-elements-left-after-eof",x.abandonedHeadElementChild="abandoned-head-element-child",x.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",x.nestedNoscriptInHead="nested-noscript-in-head",x.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(Vt||(Vt={}));const dr=65536;class qn{constructor(z){this.handler=z,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=dr,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(z,we){const{line:Nt,col:Pn,offset:ur}=this,Fr=Pn+we,Ea=ur+we;return{code:z,startLine:Nt,endLine:Nt,startCol:Fr,endCol:Fr,startOffset:Ea,endOffset:Ea}}_err(z){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(z,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(z){if(this.pos!==this.html.length-1){const we=this.html.charCodeAt(this.pos+1);if(Et(we))return this.pos++,this._addGap(),Ln(z,we)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Je.EOF;return this._err(Vt.surrogateInInputStream),z}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(z,we){this.html.length>0?this.html+=z:this.html=z,this.endOfChunkHit=!1,this.lastChunkWritten=we}insertHtmlAtCurrentPos(z){this.html=this.html.substring(0,this.pos+1)+z+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(z,we){if(this.pos+z.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(we)return this.html.startsWith(z,this.pos);for(let Nt=0;Nt<z.length;Nt++)if((this.html.charCodeAt(this.pos+Nt)|32)!==z.charCodeAt(Nt))return!1;return!0}peek(z){const we=this.pos+z;if(we>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Je.EOF;const Nt=this.html.charCodeAt(we);return Nt===Je.CARRIAGE_RETURN?Je.LINE_FEED:Nt}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Je.EOF;let z=this.html.charCodeAt(this.pos);return z===Je.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,Je.LINE_FEED):z===Je.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,gn(z)&&(z=this._processSurrogate(z)),this.handler.onParseError===null||z>31&&z<127||z===Je.LINE_FEED||z===Je.CARRIAGE_RETURN||z>159&&z<64976||this._checkForProblematicCharacters(z),z)}_checkForProblematicCharacters(z){ar(z)?this._err(Vt.controlCharacterInInputStream):Hn(z)&&this._err(Vt.noncharacterInInputStream)}retreat(z){for(this.pos-=z;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var xn;(function(x){x[x.CHARACTER=0]="CHARACTER",x[x.NULL_CHARACTER=1]="NULL_CHARACTER",x[x.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",x[x.START_TAG=3]="START_TAG",x[x.END_TAG=4]="END_TAG",x[x.COMMENT=5]="COMMENT",x[x.DOCTYPE=6]="DOCTYPE",x[x.EOF=7]="EOF",x[x.HIBERNATION=8]="HIBERNATION"})(xn||(xn={}));function zn(x,z){for(let we=x.attrs.length-1;we>=0;we--)if(x.attrs[we].name===z)return x.attrs[we].value;return null}const cr=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(x=>x.charCodeAt(0))),ir=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(x=>x.charCodeAt(0)));var Gn;const Yn=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),nn=(Gn=String.fromCodePoint)!==null&&Gn!==void 0?Gn:function(x){let z="";return x>65535&&(x-=65536,z+=String.fromCharCode(x>>>10&1023|55296),x=56320|x&1023),z+=String.fromCharCode(x),z};function An(x){var z;return x>=55296&&x<=57343||x>1114111?65533:(z=Yn.get(x))!==null&&z!==void 0?z:x}function Nn(x){return nn(An(x))}var In;(function(x){x[x.NUM=35]="NUM",x[x.SEMI=59]="SEMI",x[x.EQUALS=61]="EQUALS",x[x.ZERO=48]="ZERO",x[x.NINE=57]="NINE",x[x.LOWER_A=97]="LOWER_A",x[x.LOWER_F=102]="LOWER_F",x[x.LOWER_X=120]="LOWER_X",x[x.LOWER_Z=122]="LOWER_Z",x[x.UPPER_A=65]="UPPER_A",x[x.UPPER_F=70]="UPPER_F",x[x.UPPER_Z=90]="UPPER_Z"})(In||(In={}));const xr=32;var gr;(function(x){x[x.VALUE_LENGTH=49152]="VALUE_LENGTH",x[x.BRANCH_LENGTH=16256]="BRANCH_LENGTH",x[x.JUMP_TABLE=127]="JUMP_TABLE"})(gr||(gr={}));function or(x){return x>=In.ZERO&&x<=In.NINE}function Lr(x){return x>=In.UPPER_A&&x<=In.UPPER_F||x>=In.LOWER_A&&x<=In.LOWER_F}function Br(x){return x>=In.UPPER_A&&x<=In.UPPER_Z||x>=In.LOWER_A&&x<=In.LOWER_Z||or(x)}function Pr(x){return x===In.EQUALS||Br(x)}var wr;(function(x){x[x.EntityStart=0]="EntityStart",x[x.NumericStart=1]="NumericStart",x[x.NumericDecimal=2]="NumericDecimal",x[x.NumericHex=3]="NumericHex",x[x.NamedEntity=4]="NamedEntity"})(wr||(wr={}));var Ir;(function(x){x[x.Legacy=0]="Legacy",x[x.Strict=1]="Strict",x[x.Attribute=2]="Attribute"})(Ir||(Ir={}));class lr{constructor(z,we,Nt){this.decodeTree=z,this.emitCodePoint=we,this.errors=Nt,this.state=wr.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ir.Strict}startEntity(z){this.decodeMode=z,this.state=wr.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(z,we){switch(this.state){case wr.EntityStart:return z.charCodeAt(we)===In.NUM?(this.state=wr.NumericStart,this.consumed+=1,this.stateNumericStart(z,we+1)):(this.state=wr.NamedEntity,this.stateNamedEntity(z,we));case wr.NumericStart:return this.stateNumericStart(z,we);case wr.NumericDecimal:return this.stateNumericDecimal(z,we);case wr.NumericHex:return this.stateNumericHex(z,we);case wr.NamedEntity:return this.stateNamedEntity(z,we)}}stateNumericStart(z,we){return we>=z.length?-1:(z.charCodeAt(we)|xr)===In.LOWER_X?(this.state=wr.NumericHex,this.consumed+=1,this.stateNumericHex(z,we+1)):(this.state=wr.NumericDecimal,this.stateNumericDecimal(z,we))}addToNumericResult(z,we,Nt,Pn){if(we!==Nt){const ur=Nt-we;this.result=this.result*Math.pow(Pn,ur)+Number.parseInt(z.substr(we,ur),Pn),this.consumed+=ur}}stateNumericHex(z,we){const Nt=we;for(;we<z.length;){const Pn=z.charCodeAt(we);if(or(Pn)||Lr(Pn))we+=1;else return this.addToNumericResult(z,Nt,we,16),this.emitNumericEntity(Pn,3)}return this.addToNumericResult(z,Nt,we,16),-1}stateNumericDecimal(z,we){const Nt=we;for(;we<z.length;){const Pn=z.charCodeAt(we);if(or(Pn))we+=1;else return this.addToNumericResult(z,Nt,we,10),this.emitNumericEntity(Pn,2)}return this.addToNumericResult(z,Nt,we,10),-1}emitNumericEntity(z,we){var Nt;if(this.consumed<=we)return(Nt=this.errors)===null||Nt===void 0||Nt.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(z===In.SEMI)this.consumed+=1;else if(this.decodeMode===Ir.Strict)return 0;return this.emitCodePoint(An(this.result),this.consumed),this.errors&&(z!==In.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(z,we){const{decodeTree:Nt}=this;let Pn=Nt[this.treeIndex],ur=(Pn&gr.VALUE_LENGTH)>>14;for(;we<z.length;we++,this.excess++){const Fr=z.charCodeAt(we);if(this.treeIndex=Sr(Nt,Pn,this.treeIndex+Math.max(1,ur),Fr),this.treeIndex<0)return this.result===0||this.decodeMode===Ir.Attribute&&(ur===0||Pr(Fr))?0:this.emitNotTerminatedNamedEntity();if(Pn=Nt[this.treeIndex],ur=(Pn&gr.VALUE_LENGTH)>>14,ur!==0){if(Fr===In.SEMI)return this.emitNamedEntityData(this.treeIndex,ur,this.consumed+this.excess);this.decodeMode!==Ir.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var z;const{result:we,decodeTree:Nt}=this,Pn=(Nt[we]&gr.VALUE_LENGTH)>>14;return this.emitNamedEntityData(we,Pn,this.consumed),(z=this.errors)===null||z===void 0||z.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(z,we,Nt){const{decodeTree:Pn}=this;return this.emitCodePoint(we===1?Pn[z]&~gr.VALUE_LENGTH:Pn[z+1],Nt),we===3&&this.emitCodePoint(Pn[z+2],Nt),Nt}end(){var z;switch(this.state){case wr.NamedEntity:return this.result!==0&&(this.decodeMode!==Ir.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case wr.NumericDecimal:return this.emitNumericEntity(0,2);case wr.NumericHex:return this.emitNumericEntity(0,3);case wr.NumericStart:return(z=this.errors)===null||z===void 0||z.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case wr.EntityStart:return 0}}}function _n(x){let z="";const we=new lr(x,Nt=>z+=fromCodePoint(Nt));return function(Pn,ur){let Fr=0,Ea=0;for(;(Ea=Pn.indexOf("&",Ea))>=0;){z+=Pn.slice(Fr,Ea),we.startEntity(ur);const Er=we.write(Pn,Ea+1);if(Er<0){Fr=Ea+we.end();break}Fr=Ea+Er,Ea=Er===0?Fr+1:Fr}const Za=z+Pn.slice(Fr);return z="",Za}}function Sr(x,z,we,Nt){const Pn=(z&gr.BRANCH_LENGTH)>>7,ur=z&gr.JUMP_TABLE;if(Pn===0)return ur!==0&&Nt===ur?we:-1;if(ur){const Za=Nt-ur;return Za<0||Za>=Pn?-1:x[we+Za]-1}let Fr=we,Ea=Fr+Pn-1;for(;Fr<=Ea;){const Za=Fr+Ea>>>1,Er=x[Za];if(Er<Nt)Fr=Za+1;else if(Er>Nt)Ea=Za-1;else return x[Za+Pn]}return-1}const kr=null,Ur=null;function rn(x,z=Ir.Legacy){return kr(x,z)}function Qt(x){return kr(x,Ir.Attribute)}function hr(x){return kr(x,Ir.Strict)}function $n(x){return Ur(x,Ir.Strict)}var Pt;(function(x){x.HTML="http://www.w3.org/1999/xhtml",x.MATHML="http://www.w3.org/1998/Math/MathML",x.SVG="http://www.w3.org/2000/svg",x.XLINK="http://www.w3.org/1999/xlink",x.XML="http://www.w3.org/XML/1998/namespace",x.XMLNS="http://www.w3.org/2000/xmlns/"})(Pt||(Pt={}));var on;(function(x){x.TYPE="type",x.ACTION="action",x.ENCODING="encoding",x.PROMPT="prompt",x.NAME="name",x.COLOR="color",x.FACE="face",x.SIZE="size"})(on||(on={}));var sr;(function(x){x.NO_QUIRKS="no-quirks",x.QUIRKS="quirks",x.LIMITED_QUIRKS="limited-quirks"})(sr||(sr={}));var Kt;(function(x){x.A="a",x.ADDRESS="address",x.ANNOTATION_XML="annotation-xml",x.APPLET="applet",x.AREA="area",x.ARTICLE="article",x.ASIDE="aside",x.B="b",x.BASE="base",x.BASEFONT="basefont",x.BGSOUND="bgsound",x.BIG="big",x.BLOCKQUOTE="blockquote",x.BODY="body",x.BR="br",x.BUTTON="button",x.CAPTION="caption",x.CENTER="center",x.CODE="code",x.COL="col",x.COLGROUP="colgroup",x.DD="dd",x.DESC="desc",x.DETAILS="details",x.DIALOG="dialog",x.DIR="dir",x.DIV="div",x.DL="dl",x.DT="dt",x.EM="em",x.EMBED="embed",x.FIELDSET="fieldset",x.FIGCAPTION="figcaption",x.FIGURE="figure",x.FONT="font",x.FOOTER="footer",x.FOREIGN_OBJECT="foreignObject",x.FORM="form",x.FRAME="frame",x.FRAMESET="frameset",x.H1="h1",x.H2="h2",x.H3="h3",x.H4="h4",x.H5="h5",x.H6="h6",x.HEAD="head",x.HEADER="header",x.HGROUP="hgroup",x.HR="hr",x.HTML="html",x.I="i",x.IMG="img",x.IMAGE="image",x.INPUT="input",x.IFRAME="iframe",x.KEYGEN="keygen",x.LABEL="label",x.LI="li",x.LINK="link",x.LISTING="listing",x.MAIN="main",x.MALIGNMARK="malignmark",x.MARQUEE="marquee",x.MATH="math",x.MENU="menu",x.META="meta",x.MGLYPH="mglyph",x.MI="mi",x.MO="mo",x.MN="mn",x.MS="ms",x.MTEXT="mtext",x.NAV="nav",x.NOBR="nobr",x.NOFRAMES="noframes",x.NOEMBED="noembed",x.NOSCRIPT="noscript",x.OBJECT="object",x.OL="ol",x.OPTGROUP="optgroup",x.OPTION="option",x.P="p",x.PARAM="param",x.PLAINTEXT="plaintext",x.PRE="pre",x.RB="rb",x.RP="rp",x.RT="rt",x.RTC="rtc",x.RUBY="ruby",x.S="s",x.SCRIPT="script",x.SEARCH="search",x.SECTION="section",x.SELECT="select",x.SOURCE="source",x.SMALL="small",x.SPAN="span",x.STRIKE="strike",x.STRONG="strong",x.STYLE="style",x.SUB="sub",x.SUMMARY="summary",x.SUP="sup",x.TABLE="table",x.TBODY="tbody",x.TEMPLATE="template",x.TEXTAREA="textarea",x.TFOOT="tfoot",x.TD="td",x.TH="th",x.THEAD="thead",x.TITLE="title",x.TR="tr",x.TRACK="track",x.TT="tt",x.U="u",x.UL="ul",x.SVG="svg",x.VAR="var",x.WBR="wbr",x.XMP="xmp"})(Kt||(Kt={}));var be;(function(x){x[x.UNKNOWN=0]="UNKNOWN",x[x.A=1]="A",x[x.ADDRESS=2]="ADDRESS",x[x.ANNOTATION_XML=3]="ANNOTATION_XML",x[x.APPLET=4]="APPLET",x[x.AREA=5]="AREA",x[x.ARTICLE=6]="ARTICLE",x[x.ASIDE=7]="ASIDE",x[x.B=8]="B",x[x.BASE=9]="BASE",x[x.BASEFONT=10]="BASEFONT",x[x.BGSOUND=11]="BGSOUND",x[x.BIG=12]="BIG",x[x.BLOCKQUOTE=13]="BLOCKQUOTE",x[x.BODY=14]="BODY",x[x.BR=15]="BR",x[x.BUTTON=16]="BUTTON",x[x.CAPTION=17]="CAPTION",x[x.CENTER=18]="CENTER",x[x.CODE=19]="CODE",x[x.COL=20]="COL",x[x.COLGROUP=21]="COLGROUP",x[x.DD=22]="DD",x[x.DESC=23]="DESC",x[x.DETAILS=24]="DETAILS",x[x.DIALOG=25]="DIALOG",x[x.DIR=26]="DIR",x[x.DIV=27]="DIV",x[x.DL=28]="DL",x[x.DT=29]="DT",x[x.EM=30]="EM",x[x.EMBED=31]="EMBED",x[x.FIELDSET=32]="FIELDSET",x[x.FIGCAPTION=33]="FIGCAPTION",x[x.FIGURE=34]="FIGURE",x[x.FONT=35]="FONT",x[x.FOOTER=36]="FOOTER",x[x.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",x[x.FORM=38]="FORM",x[x.FRAME=39]="FRAME",x[x.FRAMESET=40]="FRAMESET",x[x.H1=41]="H1",x[x.H2=42]="H2",x[x.H3=43]="H3",x[x.H4=44]="H4",x[x.H5=45]="H5",x[x.H6=46]="H6",x[x.HEAD=47]="HEAD",x[x.HEADER=48]="HEADER",x[x.HGROUP=49]="HGROUP",x[x.HR=50]="HR",x[x.HTML=51]="HTML",x[x.I=52]="I",x[x.IMG=53]="IMG",x[x.IMAGE=54]="IMAGE",x[x.INPUT=55]="INPUT",x[x.IFRAME=56]="IFRAME",x[x.KEYGEN=57]="KEYGEN",x[x.LABEL=58]="LABEL",x[x.LI=59]="LI",x[x.LINK=60]="LINK",x[x.LISTING=61]="LISTING",x[x.MAIN=62]="MAIN",x[x.MALIGNMARK=63]="MALIGNMARK",x[x.MARQUEE=64]="MARQUEE",x[x.MATH=65]="MATH",x[x.MENU=66]="MENU",x[x.META=67]="META",x[x.MGLYPH=68]="MGLYPH",x[x.MI=69]="MI",x[x.MO=70]="MO",x[x.MN=71]="MN",x[x.MS=72]="MS",x[x.MTEXT=73]="MTEXT",x[x.NAV=74]="NAV",x[x.NOBR=75]="NOBR",x[x.NOFRAMES=76]="NOFRAMES",x[x.NOEMBED=77]="NOEMBED",x[x.NOSCRIPT=78]="NOSCRIPT",x[x.OBJECT=79]="OBJECT",x[x.OL=80]="OL",x[x.OPTGROUP=81]="OPTGROUP",x[x.OPTION=82]="OPTION",x[x.P=83]="P",x[x.PARAM=84]="PARAM",x[x.PLAINTEXT=85]="PLAINTEXT",x[x.PRE=86]="PRE",x[x.RB=87]="RB",x[x.RP=88]="RP",x[x.RT=89]="RT",x[x.RTC=90]="RTC",x[x.RUBY=91]="RUBY",x[x.S=92]="S",x[x.SCRIPT=93]="SCRIPT",x[x.SEARCH=94]="SEARCH",x[x.SECTION=95]="SECTION",x[x.SELECT=96]="SELECT",x[x.SOURCE=97]="SOURCE",x[x.SMALL=98]="SMALL",x[x.SPAN=99]="SPAN",x[x.STRIKE=100]="STRIKE",x[x.STRONG=101]="STRONG",x[x.STYLE=102]="STYLE",x[x.SUB=103]="SUB",x[x.SUMMARY=104]="SUMMARY",x[x.SUP=105]="SUP",x[x.TABLE=106]="TABLE",x[x.TBODY=107]="TBODY",x[x.TEMPLATE=108]="TEMPLATE",x[x.TEXTAREA=109]="TEXTAREA",x[x.TFOOT=110]="TFOOT",x[x.TD=111]="TD",x[x.TH=112]="TH",x[x.THEAD=113]="THEAD",x[x.TITLE=114]="TITLE",x[x.TR=115]="TR",x[x.TRACK=116]="TRACK",x[x.TT=117]="TT",x[x.U=118]="U",x[x.UL=119]="UL",x[x.SVG=120]="SVG",x[x.VAR=121]="VAR",x[x.WBR=122]="WBR",x[x.XMP=123]="XMP"})(be||(be={}));const Cn=new Map([[Kt.A,be.A],[Kt.ADDRESS,be.ADDRESS],[Kt.ANNOTATION_XML,be.ANNOTATION_XML],[Kt.APPLET,be.APPLET],[Kt.AREA,be.AREA],[Kt.ARTICLE,be.ARTICLE],[Kt.ASIDE,be.ASIDE],[Kt.B,be.B],[Kt.BASE,be.BASE],[Kt.BASEFONT,be.BASEFONT],[Kt.BGSOUND,be.BGSOUND],[Kt.BIG,be.BIG],[Kt.BLOCKQUOTE,be.BLOCKQUOTE],[Kt.BODY,be.BODY],[Kt.BR,be.BR],[Kt.BUTTON,be.BUTTON],[Kt.CAPTION,be.CAPTION],[Kt.CENTER,be.CENTER],[Kt.CODE,be.CODE],[Kt.COL,be.COL],[Kt.COLGROUP,be.COLGROUP],[Kt.DD,be.DD],[Kt.DESC,be.DESC],[Kt.DETAILS,be.DETAILS],[Kt.DIALOG,be.DIALOG],[Kt.DIR,be.DIR],[Kt.DIV,be.DIV],[Kt.DL,be.DL],[Kt.DT,be.DT],[Kt.EM,be.EM],[Kt.EMBED,be.EMBED],[Kt.FIELDSET,be.FIELDSET],[Kt.FIGCAPTION,be.FIGCAPTION],[Kt.FIGURE,be.FIGURE],[Kt.FONT,be.FONT],[Kt.FOOTER,be.FOOTER],[Kt.FOREIGN_OBJECT,be.FOREIGN_OBJECT],[Kt.FORM,be.FORM],[Kt.FRAME,be.FRAME],[Kt.FRAMESET,be.FRAMESET],[Kt.H1,be.H1],[Kt.H2,be.H2],[Kt.H3,be.H3],[Kt.H4,be.H4],[Kt.H5,be.H5],[Kt.H6,be.H6],[Kt.HEAD,be.HEAD],[Kt.HEADER,be.HEADER],[Kt.HGROUP,be.HGROUP],[Kt.HR,be.HR],[Kt.HTML,be.HTML],[Kt.I,be.I],[Kt.IMG,be.IMG],[Kt.IMAGE,be.IMAGE],[Kt.INPUT,be.INPUT],[Kt.IFRAME,be.IFRAME],[Kt.KEYGEN,be.KEYGEN],[Kt.LABEL,be.LABEL],[Kt.LI,be.LI],[Kt.LINK,be.LINK],[Kt.LISTING,be.LISTING],[Kt.MAIN,be.MAIN],[Kt.MALIGNMARK,be.MALIGNMARK],[Kt.MARQUEE,be.MARQUEE],[Kt.MATH,be.MATH],[Kt.MENU,be.MENU],[Kt.META,be.META],[Kt.MGLYPH,be.MGLYPH],[Kt.MI,be.MI],[Kt.MO,be.MO],[Kt.MN,be.MN],[Kt.MS,be.MS],[Kt.MTEXT,be.MTEXT],[Kt.NAV,be.NAV],[Kt.NOBR,be.NOBR],[Kt.NOFRAMES,be.NOFRAMES],[Kt.NOEMBED,be.NOEMBED],[Kt.NOSCRIPT,be.NOSCRIPT],[Kt.OBJECT,be.OBJECT],[Kt.OL,be.OL],[Kt.OPTGROUP,be.OPTGROUP],[Kt.OPTION,be.OPTION],[Kt.P,be.P],[Kt.PARAM,be.PARAM],[Kt.PLAINTEXT,be.PLAINTEXT],[Kt.PRE,be.PRE],[Kt.RB,be.RB],[Kt.RP,be.RP],[Kt.RT,be.RT],[Kt.RTC,be.RTC],[Kt.RUBY,be.RUBY],[Kt.S,be.S],[Kt.SCRIPT,be.SCRIPT],[Kt.SEARCH,be.SEARCH],[Kt.SECTION,be.SECTION],[Kt.SELECT,be.SELECT],[Kt.SOURCE,be.SOURCE],[Kt.SMALL,be.SMALL],[Kt.SPAN,be.SPAN],[Kt.STRIKE,be.STRIKE],[Kt.STRONG,be.STRONG],[Kt.STYLE,be.STYLE],[Kt.SUB,be.SUB],[Kt.SUMMARY,be.SUMMARY],[Kt.SUP,be.SUP],[Kt.TABLE,be.TABLE],[Kt.TBODY,be.TBODY],[Kt.TEMPLATE,be.TEMPLATE],[Kt.TEXTAREA,be.TEXTAREA],[Kt.TFOOT,be.TFOOT],[Kt.TD,be.TD],[Kt.TH,be.TH],[Kt.THEAD,be.THEAD],[Kt.TITLE,be.TITLE],[Kt.TR,be.TR],[Kt.TRACK,be.TRACK],[Kt.TT,be.TT],[Kt.U,be.U],[Kt.UL,be.UL],[Kt.SVG,be.SVG],[Kt.VAR,be.VAR],[Kt.WBR,be.WBR],[Kt.XMP,be.XMP]]);function yr(x){var z;return(z=Cn.get(x))!==null&&z!==void 0?z:be.UNKNOWN}const ln=be,Ar={[Pt.HTML]:new Set([ln.ADDRESS,ln.APPLET,ln.AREA,ln.ARTICLE,ln.ASIDE,ln.BASE,ln.BASEFONT,ln.BGSOUND,ln.BLOCKQUOTE,ln.BODY,ln.BR,ln.BUTTON,ln.CAPTION,ln.CENTER,ln.COL,ln.COLGROUP,ln.DD,ln.DETAILS,ln.DIR,ln.DIV,ln.DL,ln.DT,ln.EMBED,ln.FIELDSET,ln.FIGCAPTION,ln.FIGURE,ln.FOOTER,ln.FORM,ln.FRAME,ln.FRAMESET,ln.H1,ln.H2,ln.H3,ln.H4,ln.H5,ln.H6,ln.HEAD,ln.HEADER,ln.HGROUP,ln.HR,ln.HTML,ln.IFRAME,ln.IMG,ln.INPUT,ln.LI,ln.LINK,ln.LISTING,ln.MAIN,ln.MARQUEE,ln.MENU,ln.META,ln.NAV,ln.NOEMBED,ln.NOFRAMES,ln.NOSCRIPT,ln.OBJECT,ln.OL,ln.P,ln.PARAM,ln.PLAINTEXT,ln.PRE,ln.SCRIPT,ln.SECTION,ln.SELECT,ln.SOURCE,ln.STYLE,ln.SUMMARY,ln.TABLE,ln.TBODY,ln.TD,ln.TEMPLATE,ln.TEXTAREA,ln.TFOOT,ln.TH,ln.THEAD,ln.TITLE,ln.TR,ln.TRACK,ln.UL,ln.WBR,ln.XMP]),[Pt.MATHML]:new Set([ln.MI,ln.MO,ln.MN,ln.MS,ln.MTEXT,ln.ANNOTATION_XML]),[Pt.SVG]:new Set([ln.TITLE,ln.FOREIGN_OBJECT,ln.DESC]),[Pt.XLINK]:new Set,[Pt.XML]:new Set,[Pt.XMLNS]:new Set},Xn=new Set([ln.H1,ln.H2,ln.H3,ln.H4,ln.H5,ln.H6]),Cr=new Set([Kt.STYLE,Kt.SCRIPT,Kt.XMP,Kt.IFRAME,Kt.NOEMBED,Kt.NOFRAMES,Kt.PLAINTEXT]);function Dr(x,z){return Cr.has(x)||z&&x===Kt.NOSCRIPT}var _t;(function(x){x[x.DATA=0]="DATA",x[x.RCDATA=1]="RCDATA",x[x.RAWTEXT=2]="RAWTEXT",x[x.SCRIPT_DATA=3]="SCRIPT_DATA",x[x.PLAINTEXT=4]="PLAINTEXT",x[x.TAG_OPEN=5]="TAG_OPEN",x[x.END_TAG_OPEN=6]="END_TAG_OPEN",x[x.TAG_NAME=7]="TAG_NAME",x[x.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",x[x.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",x[x.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",x[x.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",x[x.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",x[x.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",x[x.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",x[x.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",x[x.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",x[x.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",x[x.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",x[x.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",x[x.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",x[x.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",x[x.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",x[x.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",x[x.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",x[x.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",x[x.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",x[x.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",x[x.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",x[x.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",x[x.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",x[x.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",x[x.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",x[x.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",x[x.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",x[x.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",x[x.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",x[x.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",x[x.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",x[x.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",x[x.BOGUS_COMMENT=40]="BOGUS_COMMENT",x[x.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",x[x.COMMENT_START=42]="COMMENT_START",x[x.COMMENT_START_DASH=43]="COMMENT_START_DASH",x[x.COMMENT=44]="COMMENT",x[x.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",x[x.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",x[x.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",x[x.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",x[x.COMMENT_END_DASH=49]="COMMENT_END_DASH",x[x.COMMENT_END=50]="COMMENT_END",x[x.COMMENT_END_BANG=51]="COMMENT_END_BANG",x[x.DOCTYPE=52]="DOCTYPE",x[x.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",x[x.DOCTYPE_NAME=54]="DOCTYPE_NAME",x[x.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",x[x.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",x[x.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",x[x.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",x[x.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",x[x.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",x[x.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",x[x.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",x[x.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",x[x.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",x[x.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",x[x.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",x[x.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",x[x.CDATA_SECTION=68]="CDATA_SECTION",x[x.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",x[x.CDATA_SECTION_END=70]="CDATA_SECTION_END",x[x.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",x[x.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(_t||(_t={}));const Rr={DATA:_t.DATA,RCDATA:_t.RCDATA,RAWTEXT:_t.RAWTEXT,SCRIPT_DATA:_t.SCRIPT_DATA,PLAINTEXT:_t.PLAINTEXT,CDATA_SECTION:_t.CDATA_SECTION};function Kr(x){return x>=Je.DIGIT_0&&x<=Je.DIGIT_9}function qr(x){return x>=Je.LATIN_CAPITAL_A&&x<=Je.LATIN_CAPITAL_Z}function ha(x){return x>=Je.LATIN_SMALL_A&&x<=Je.LATIN_SMALL_Z}function ma(x){return ha(x)||qr(x)}function la(x){return ma(x)||Kr(x)}function $r(x){return x+32}function wa(x){return x===Je.SPACE||x===Je.LINE_FEED||x===Je.TABULATION||x===Je.FORM_FEED}function Ia(x){return wa(x)||x===Je.SOLIDUS||x===Je.GREATER_THAN_SIGN}function xa(x){return x===Je.NULL?Vt.nullCharacterReference:x>1114111?Vt.characterReferenceOutsideUnicodeRange:gn(x)?Vt.surrogateCharacterReference:Hn(x)?Vt.noncharacterCharacterReference:ar(x)||x===Je.CARRIAGE_RETURN?Vt.controlCharacterReference:null}class ga{constructor(z,we){this.options=z,this.handler=we,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=_t.DATA,this.returnState=_t.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new qn(we),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new lr(cr,(Nt,Pn)=>{this.preprocessor.pos=this.entityStartPos+Pn-1,this._flushCodePointConsumedAsCharacterReference(Nt)},we.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(Vt.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:Nt=>{this._err(Vt.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+Nt)},validateNumericCharacterReference:Nt=>{const Pn=xa(Nt);Pn&&this._err(Pn,1)}}:void 0)}_err(z,we=0){var Nt,Pn;(Pn=(Nt=this.handler).onParseError)===null||Pn===void 0||Pn.call(Nt,this.preprocessor.getError(z,we))}getCurrentLocation(z){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-z,startOffset:this.preprocessor.offset-z,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const z=this._consume();this._ensureHibernation()||this._callState(z)}this.inLoop=!1}}pause(){this.paused=!0}resume(z){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||z==null||z())}write(z,we,Nt){this.active=!0,this.preprocessor.write(z,we),this._runParsingLoop(),this.paused||Nt==null||Nt()}insertHtmlAtCurrentPos(z){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(z),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(z){this.consumedAfterSnapshot+=z;for(let we=0;we<z;we++)this.preprocessor.advance()}_consumeSequenceIfMatch(z,we){return this.preprocessor.startsWith(z,we)?(this._advanceBy(z.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:xn.START_TAG,tagName:"",tagID:be.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:xn.END_TAG,tagName:"",tagID:be.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(z){this.currentToken={type:xn.COMMENT,data:"",location:this.getCurrentLocation(z)}}_createDoctypeToken(z){this.currentToken={type:xn.DOCTYPE,name:z,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(z,we){this.currentCharacterToken={type:z,chars:we,location:this.currentLocation}}_createAttr(z){this.currentAttr={name:z,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var z,we;const Nt=this.currentToken;if(zn(Nt,this.currentAttr.name)===null){if(Nt.attrs.push(this.currentAttr),Nt.location&&this.currentLocation){const Pn=(z=(we=Nt.location).attrs)!==null&&z!==void 0?z:we.attrs=Object.create(null);Pn[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(Vt.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(z){this._emitCurrentCharacterToken(z.location),this.currentToken=null,z.location&&(z.location.endLine=this.preprocessor.line,z.location.endCol=this.preprocessor.col+1,z.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const z=this.currentToken;this.prepareToken(z),z.tagID=yr(z.tagName),z.type===xn.START_TAG?(this.lastStartTagName=z.tagName,this.handler.onStartTag(z)):(z.attrs.length>0&&this._err(Vt.endTagWithAttributes),z.selfClosing&&this._err(Vt.endTagWithTrailingSolidus),this.handler.onEndTag(z)),this.preprocessor.dropParsedChunk()}emitCurrentComment(z){this.prepareToken(z),this.handler.onComment(z),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(z){this.prepareToken(z),this.handler.onDoctype(z),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(z){if(this.currentCharacterToken){switch(z&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=z.startLine,this.currentCharacterToken.location.endCol=z.startCol,this.currentCharacterToken.location.endOffset=z.startOffset),this.currentCharacterToken.type){case xn.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case xn.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case xn.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const z=this.getCurrentLocation(0);z&&(z.endLine=z.startLine,z.endCol=z.startCol,z.endOffset=z.startOffset),this._emitCurrentCharacterToken(z),this.handler.onEof({type:xn.EOF,location:z}),this.active=!1}_appendCharToCurrentCharacterToken(z,we){if(this.currentCharacterToken)if(this.currentCharacterToken.type===z){this.currentCharacterToken.chars+=we;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(z,we)}_emitCodePoint(z){const we=wa(z)?xn.WHITESPACE_CHARACTER:z===Je.NULL?xn.NULL_CHARACTER:xn.CHARACTER;this._appendCharToCurrentCharacterToken(we,String.fromCodePoint(z))}_emitChars(z){this._appendCharToCurrentCharacterToken(xn.CHARACTER,z)}_startCharacterReference(){this.returnState=this.state,this.state=_t.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Ir.Attribute:Ir.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===_t.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===_t.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===_t.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(z){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(z):this._emitCodePoint(z)}_callState(z){switch(this.state){case _t.DATA:{this._stateData(z);break}case _t.RCDATA:{this._stateRcdata(z);break}case _t.RAWTEXT:{this._stateRawtext(z);break}case _t.SCRIPT_DATA:{this._stateScriptData(z);break}case _t.PLAINTEXT:{this._statePlaintext(z);break}case _t.TAG_OPEN:{this._stateTagOpen(z);break}case _t.END_TAG_OPEN:{this._stateEndTagOpen(z);break}case _t.TAG_NAME:{this._stateTagName(z);break}case _t.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(z);break}case _t.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(z);break}case _t.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(z);break}case _t.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(z);break}case _t.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(z);break}case _t.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(z);break}case _t.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(z);break}case _t.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(z);break}case _t.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(z);break}case _t.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(z);break}case _t.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(z);break}case _t.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(z);break}case _t.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(z);break}case _t.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(z);break}case _t.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(z);break}case _t.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(z);break}case _t.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(z);break}case _t.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(z);break}case _t.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(z);break}case _t.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(z);break}case _t.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(z);break}case _t.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(z);break}case _t.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(z);break}case _t.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(z);break}case _t.ATTRIBUTE_NAME:{this._stateAttributeName(z);break}case _t.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(z);break}case _t.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(z);break}case _t.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(z);break}case _t.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(z);break}case _t.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(z);break}case _t.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(z);break}case _t.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(z);break}case _t.BOGUS_COMMENT:{this._stateBogusComment(z);break}case _t.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(z);break}case _t.COMMENT_START:{this._stateCommentStart(z);break}case _t.COMMENT_START_DASH:{this._stateCommentStartDash(z);break}case _t.COMMENT:{this._stateComment(z);break}case _t.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(z);break}case _t.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(z);break}case _t.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(z);break}case _t.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(z);break}case _t.COMMENT_END_DASH:{this._stateCommentEndDash(z);break}case _t.COMMENT_END:{this._stateCommentEnd(z);break}case _t.COMMENT_END_BANG:{this._stateCommentEndBang(z);break}case _t.DOCTYPE:{this._stateDoctype(z);break}case _t.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(z);break}case _t.DOCTYPE_NAME:{this._stateDoctypeName(z);break}case _t.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(z);break}case _t.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(z);break}case _t.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(z);break}case _t.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(z);break}case _t.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(z);break}case _t.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(z);break}case _t.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(z);break}case _t.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(z);break}case _t.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(z);break}case _t.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(z);break}case _t.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(z);break}case _t.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(z);break}case _t.BOGUS_DOCTYPE:{this._stateBogusDoctype(z);break}case _t.CDATA_SECTION:{this._stateCdataSection(z);break}case _t.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(z);break}case _t.CDATA_SECTION_END:{this._stateCdataSectionEnd(z);break}case _t.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case _t.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(z);break}default:throw new Error("Unknown state")}}_stateData(z){switch(z){case Je.LESS_THAN_SIGN:{this.state=_t.TAG_OPEN;break}case Je.AMPERSAND:{this._startCharacterReference();break}case Je.NULL:{this._err(Vt.unexpectedNullCharacter),this._emitCodePoint(z);break}case Je.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(z)}}_stateRcdata(z){switch(z){case Je.AMPERSAND:{this._startCharacterReference();break}case Je.LESS_THAN_SIGN:{this.state=_t.RCDATA_LESS_THAN_SIGN;break}case Je.NULL:{this._err(Vt.unexpectedNullCharacter),this._emitChars(At);break}case Je.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(z)}}_stateRawtext(z){switch(z){case Je.LESS_THAN_SIGN:{this.state=_t.RAWTEXT_LESS_THAN_SIGN;break}case Je.NULL:{this._err(Vt.unexpectedNullCharacter),this._emitChars(At);break}case Je.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(z)}}_stateScriptData(z){switch(z){case Je.LESS_THAN_SIGN:{this.state=_t.SCRIPT_DATA_LESS_THAN_SIGN;break}case Je.NULL:{this._err(Vt.unexpectedNullCharacter),this._emitChars(At);break}case Je.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(z)}}_statePlaintext(z){switch(z){case Je.NULL:{this._err(Vt.unexpectedNullCharacter),this._emitChars(At);break}case Je.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(z)}}_stateTagOpen(z){if(ma(z))this._createStartTagToken(),this.state=_t.TAG_NAME,this._stateTagName(z);else switch(z){case Je.EXCLAMATION_MARK:{this.state=_t.MARKUP_DECLARATION_OPEN;break}case Je.SOLIDUS:{this.state=_t.END_TAG_OPEN;break}case Je.QUESTION_MARK:{this._err(Vt.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=_t.BOGUS_COMMENT,this._stateBogusComment(z);break}case Je.EOF:{this._err(Vt.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(Vt.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=_t.DATA,this._stateData(z)}}_stateEndTagOpen(z){if(ma(z))this._createEndTagToken(),this.state=_t.TAG_NAME,this._stateTagName(z);else switch(z){case Je.GREATER_THAN_SIGN:{this._err(Vt.missingEndTagName),this.state=_t.DATA;break}case Je.EOF:{this._err(Vt.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(Vt.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=_t.BOGUS_COMMENT,this._stateBogusComment(z)}}_stateTagName(z){const we=this.currentToken;switch(z){case Je.SPACE:case Je.LINE_FEED:case Je.TABULATION:case Je.FORM_FEED:{this.state=_t.BEFORE_ATTRIBUTE_NAME;break}case Je.SOLIDUS:{this.state=_t.SELF_CLOSING_START_TAG;break}case Je.GREATER_THAN_SIGN:{this.state=_t.DATA,this.emitCurrentTagToken();break}case Je.NULL:{this._err(Vt.unexpectedNullCharacter),we.tagName+=At;break}case Je.EOF:{this._err(Vt.eofInTag),this._emitEOFToken();break}default:we.tagName+=String.fromCodePoint(qr(z)?$r(z):z)}}_stateRcdataLessThanSign(z){z===Je.SOLIDUS?this.state=_t.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=_t.RCDATA,this._stateRcdata(z))}_stateRcdataEndTagOpen(z){ma(z)?(this.state=_t.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(z)):(this._emitChars("</"),this.state=_t.RCDATA,this._stateRcdata(z))}handleSpecialEndTag(z){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const we=this.currentToken;switch(we.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case Je.SPACE:case Je.LINE_FEED:case Je.TABULATION:case Je.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=_t.BEFORE_ATTRIBUTE_NAME,!1;case Je.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=_t.SELF_CLOSING_START_TAG,!1;case Je.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=_t.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(z){this.handleSpecialEndTag(z)&&(this._emitChars("</"),this.state=_t.RCDATA,this._stateRcdata(z))}_stateRawtextLessThanSign(z){z===Je.SOLIDUS?this.state=_t.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=_t.RAWTEXT,this._stateRawtext(z))}_stateRawtextEndTagOpen(z){ma(z)?(this.state=_t.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(z)):(this._emitChars("</"),this.state=_t.RAWTEXT,this._stateRawtext(z))}_stateRawtextEndTagName(z){this.handleSpecialEndTag(z)&&(this._emitChars("</"),this.state=_t.RAWTEXT,this._stateRawtext(z))}_stateScriptDataLessThanSign(z){switch(z){case Je.SOLIDUS:{this.state=_t.SCRIPT_DATA_END_TAG_OPEN;break}case Je.EXCLAMATION_MARK:{this.state=_t.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=_t.SCRIPT_DATA,this._stateScriptData(z)}}_stateScriptDataEndTagOpen(z){ma(z)?(this.state=_t.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(z)):(this._emitChars("</"),this.state=_t.SCRIPT_DATA,this._stateScriptData(z))}_stateScriptDataEndTagName(z){this.handleSpecialEndTag(z)&&(this._emitChars("</"),this.state=_t.SCRIPT_DATA,this._stateScriptData(z))}_stateScriptDataEscapeStart(z){z===Je.HYPHEN_MINUS?(this.state=_t.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=_t.SCRIPT_DATA,this._stateScriptData(z))}_stateScriptDataEscapeStartDash(z){z===Je.HYPHEN_MINUS?(this.state=_t.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=_t.SCRIPT_DATA,this._stateScriptData(z))}_stateScriptDataEscaped(z){switch(z){case Je.HYPHEN_MINUS:{this.state=_t.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case Je.LESS_THAN_SIGN:{this.state=_t.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Je.NULL:{this._err(Vt.unexpectedNullCharacter),this._emitChars(At);break}case Je.EOF:{this._err(Vt.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(z)}}_stateScriptDataEscapedDash(z){switch(z){case Je.HYPHEN_MINUS:{this.state=_t.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case Je.LESS_THAN_SIGN:{this.state=_t.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Je.NULL:{this._err(Vt.unexpectedNullCharacter),this.state=_t.SCRIPT_DATA_ESCAPED,this._emitChars(At);break}case Je.EOF:{this._err(Vt.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_t.SCRIPT_DATA_ESCAPED,this._emitCodePoint(z)}}_stateScriptDataEscapedDashDash(z){switch(z){case Je.HYPHEN_MINUS:{this._emitChars("-");break}case Je.LESS_THAN_SIGN:{this.state=_t.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Je.GREATER_THAN_SIGN:{this.state=_t.SCRIPT_DATA,this._emitChars(">");break}case Je.NULL:{this._err(Vt.unexpectedNullCharacter),this.state=_t.SCRIPT_DATA_ESCAPED,this._emitChars(At);break}case Je.EOF:{this._err(Vt.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_t.SCRIPT_DATA_ESCAPED,this._emitCodePoint(z)}}_stateScriptDataEscapedLessThanSign(z){z===Je.SOLIDUS?this.state=_t.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:ma(z)?(this._emitChars("<"),this.state=_t.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(z)):(this._emitChars("<"),this.state=_t.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(z))}_stateScriptDataEscapedEndTagOpen(z){ma(z)?(this.state=_t.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(z)):(this._emitChars("</"),this.state=_t.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(z))}_stateScriptDataEscapedEndTagName(z){this.handleSpecialEndTag(z)&&(this._emitChars("</"),this.state=_t.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(z))}_stateScriptDataDoubleEscapeStart(z){if(this.preprocessor.startsWith(un.SCRIPT,!1)&&Ia(this.preprocessor.peek(un.SCRIPT.length))){this._emitCodePoint(z);for(let we=0;we<un.SCRIPT.length;we++)this._emitCodePoint(this._consume());this.state=_t.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=_t.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(z))}_stateScriptDataDoubleEscaped(z){switch(z){case Je.HYPHEN_MINUS:{this.state=_t.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case Je.LESS_THAN_SIGN:{this.state=_t.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case Je.NULL:{this._err(Vt.unexpectedNullCharacter),this._emitChars(At);break}case Je.EOF:{this._err(Vt.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(z)}}_stateScriptDataDoubleEscapedDash(z){switch(z){case Je.HYPHEN_MINUS:{this.state=_t.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case Je.LESS_THAN_SIGN:{this.state=_t.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case Je.NULL:{this._err(Vt.unexpectedNullCharacter),this.state=_t.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(At);break}case Je.EOF:{this._err(Vt.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_t.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(z)}}_stateScriptDataDoubleEscapedDashDash(z){switch(z){case Je.HYPHEN_MINUS:{this._emitChars("-");break}case Je.LESS_THAN_SIGN:{this.state=_t.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case Je.GREATER_THAN_SIGN:{this.state=_t.SCRIPT_DATA,this._emitChars(">");break}case Je.NULL:{this._err(Vt.unexpectedNullCharacter),this.state=_t.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(At);break}case Je.EOF:{this._err(Vt.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_t.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(z)}}_stateScriptDataDoubleEscapedLessThanSign(z){z===Je.SOLIDUS?(this.state=_t.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=_t.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(z))}_stateScriptDataDoubleEscapeEnd(z){if(this.preprocessor.startsWith(un.SCRIPT,!1)&&Ia(this.preprocessor.peek(un.SCRIPT.length))){this._emitCodePoint(z);for(let we=0;we<un.SCRIPT.length;we++)this._emitCodePoint(this._consume());this.state=_t.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=_t.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(z))}_stateBeforeAttributeName(z){switch(z){case Je.SPACE:case Je.LINE_FEED:case Je.TABULATION:case Je.FORM_FEED:break;case Je.SOLIDUS:case Je.GREATER_THAN_SIGN:case Je.EOF:{this.state=_t.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(z);break}case Je.EQUALS_SIGN:{this._err(Vt.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=_t.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=_t.ATTRIBUTE_NAME,this._stateAttributeName(z)}}_stateAttributeName(z){switch(z){case Je.SPACE:case Je.LINE_FEED:case Je.TABULATION:case Je.FORM_FEED:case Je.SOLIDUS:case Je.GREATER_THAN_SIGN:case Je.EOF:{this._leaveAttrName(),this.state=_t.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(z);break}case Je.EQUALS_SIGN:{this._leaveAttrName(),this.state=_t.BEFORE_ATTRIBUTE_VALUE;break}case Je.QUOTATION_MARK:case Je.APOSTROPHE:case Je.LESS_THAN_SIGN:{this._err(Vt.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(z);break}case Je.NULL:{this._err(Vt.unexpectedNullCharacter),this.currentAttr.name+=At;break}default:this.currentAttr.name+=String.fromCodePoint(qr(z)?$r(z):z)}}_stateAfterAttributeName(z){switch(z){case Je.SPACE:case Je.LINE_FEED:case Je.TABULATION:case Je.FORM_FEED:break;case Je.SOLIDUS:{this.state=_t.SELF_CLOSING_START_TAG;break}case Je.EQUALS_SIGN:{this.state=_t.BEFORE_ATTRIBUTE_VALUE;break}case Je.GREATER_THAN_SIGN:{this.state=_t.DATA,this.emitCurrentTagToken();break}case Je.EOF:{this._err(Vt.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=_t.ATTRIBUTE_NAME,this._stateAttributeName(z)}}_stateBeforeAttributeValue(z){switch(z){case Je.SPACE:case Je.LINE_FEED:case Je.TABULATION:case Je.FORM_FEED:break;case Je.QUOTATION_MARK:{this.state=_t.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case Je.APOSTROPHE:{this.state=_t.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case Je.GREATER_THAN_SIGN:{this._err(Vt.missingAttributeValue),this.state=_t.DATA,this.emitCurrentTagToken();break}default:this.state=_t.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(z)}}_stateAttributeValueDoubleQuoted(z){switch(z){case Je.QUOTATION_MARK:{this.state=_t.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case Je.AMPERSAND:{this._startCharacterReference();break}case Je.NULL:{this._err(Vt.unexpectedNullCharacter),this.currentAttr.value+=At;break}case Je.EOF:{this._err(Vt.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(z)}}_stateAttributeValueSingleQuoted(z){switch(z){case Je.APOSTROPHE:{this.state=_t.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case Je.AMPERSAND:{this._startCharacterReference();break}case Je.NULL:{this._err(Vt.unexpectedNullCharacter),this.currentAttr.value+=At;break}case Je.EOF:{this._err(Vt.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(z)}}_stateAttributeValueUnquoted(z){switch(z){case Je.SPACE:case Je.LINE_FEED:case Je.TABULATION:case Je.FORM_FEED:{this._leaveAttrValue(),this.state=_t.BEFORE_ATTRIBUTE_NAME;break}case Je.AMPERSAND:{this._startCharacterReference();break}case Je.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=_t.DATA,this.emitCurrentTagToken();break}case Je.NULL:{this._err(Vt.unexpectedNullCharacter),this.currentAttr.value+=At;break}case Je.QUOTATION_MARK:case Je.APOSTROPHE:case Je.LESS_THAN_SIGN:case Je.EQUALS_SIGN:case Je.GRAVE_ACCENT:{this._err(Vt.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(z);break}case Je.EOF:{this._err(Vt.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(z)}}_stateAfterAttributeValueQuoted(z){switch(z){case Je.SPACE:case Je.LINE_FEED:case Je.TABULATION:case Je.FORM_FEED:{this._leaveAttrValue(),this.state=_t.BEFORE_ATTRIBUTE_NAME;break}case Je.SOLIDUS:{this._leaveAttrValue(),this.state=_t.SELF_CLOSING_START_TAG;break}case Je.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=_t.DATA,this.emitCurrentTagToken();break}case Je.EOF:{this._err(Vt.eofInTag),this._emitEOFToken();break}default:this._err(Vt.missingWhitespaceBetweenAttributes),this.state=_t.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(z)}}_stateSelfClosingStartTag(z){switch(z){case Je.GREATER_THAN_SIGN:{const we=this.currentToken;we.selfClosing=!0,this.state=_t.DATA,this.emitCurrentTagToken();break}case Je.EOF:{this._err(Vt.eofInTag),this._emitEOFToken();break}default:this._err(Vt.unexpectedSolidusInTag),this.state=_t.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(z)}}_stateBogusComment(z){const we=this.currentToken;switch(z){case Je.GREATER_THAN_SIGN:{this.state=_t.DATA,this.emitCurrentComment(we);break}case Je.EOF:{this.emitCurrentComment(we),this._emitEOFToken();break}case Je.NULL:{this._err(Vt.unexpectedNullCharacter),we.data+=At;break}default:we.data+=String.fromCodePoint(z)}}_stateMarkupDeclarationOpen(z){this._consumeSequenceIfMatch(un.DASH_DASH,!0)?(this._createCommentToken(un.DASH_DASH.length+1),this.state=_t.COMMENT_START):this._consumeSequenceIfMatch(un.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(un.DOCTYPE.length+1),this.state=_t.DOCTYPE):this._consumeSequenceIfMatch(un.CDATA_START,!0)?this.inForeignNode?this.state=_t.CDATA_SECTION:(this._err(Vt.cdataInHtmlContent),this._createCommentToken(un.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=_t.BOGUS_COMMENT):this._ensureHibernation()||(this._err(Vt.incorrectlyOpenedComment),this._createCommentToken(2),this.state=_t.BOGUS_COMMENT,this._stateBogusComment(z))}_stateCommentStart(z){switch(z){case Je.HYPHEN_MINUS:{this.state=_t.COMMENT_START_DASH;break}case Je.GREATER_THAN_SIGN:{this._err(Vt.abruptClosingOfEmptyComment),this.state=_t.DATA;const we=this.currentToken;this.emitCurrentComment(we);break}default:this.state=_t.COMMENT,this._stateComment(z)}}_stateCommentStartDash(z){const we=this.currentToken;switch(z){case Je.HYPHEN_MINUS:{this.state=_t.COMMENT_END;break}case Je.GREATER_THAN_SIGN:{this._err(Vt.abruptClosingOfEmptyComment),this.state=_t.DATA,this.emitCurrentComment(we);break}case Je.EOF:{this._err(Vt.eofInComment),this.emitCurrentComment(we),this._emitEOFToken();break}default:we.data+="-",this.state=_t.COMMENT,this._stateComment(z)}}_stateComment(z){const we=this.currentToken;switch(z){case Je.HYPHEN_MINUS:{this.state=_t.COMMENT_END_DASH;break}case Je.LESS_THAN_SIGN:{we.data+="<",this.state=_t.COMMENT_LESS_THAN_SIGN;break}case Je.NULL:{this._err(Vt.unexpectedNullCharacter),we.data+=At;break}case Je.EOF:{this._err(Vt.eofInComment),this.emitCurrentComment(we),this._emitEOFToken();break}default:we.data+=String.fromCodePoint(z)}}_stateCommentLessThanSign(z){const we=this.currentToken;switch(z){case Je.EXCLAMATION_MARK:{we.data+="!",this.state=_t.COMMENT_LESS_THAN_SIGN_BANG;break}case Je.LESS_THAN_SIGN:{we.data+="<";break}default:this.state=_t.COMMENT,this._stateComment(z)}}_stateCommentLessThanSignBang(z){z===Je.HYPHEN_MINUS?this.state=_t.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=_t.COMMENT,this._stateComment(z))}_stateCommentLessThanSignBangDash(z){z===Je.HYPHEN_MINUS?this.state=_t.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=_t.COMMENT_END_DASH,this._stateCommentEndDash(z))}_stateCommentLessThanSignBangDashDash(z){z!==Je.GREATER_THAN_SIGN&&z!==Je.EOF&&this._err(Vt.nestedComment),this.state=_t.COMMENT_END,this._stateCommentEnd(z)}_stateCommentEndDash(z){const we=this.currentToken;switch(z){case Je.HYPHEN_MINUS:{this.state=_t.COMMENT_END;break}case Je.EOF:{this._err(Vt.eofInComment),this.emitCurrentComment(we),this._emitEOFToken();break}default:we.data+="-",this.state=_t.COMMENT,this._stateComment(z)}}_stateCommentEnd(z){const we=this.currentToken;switch(z){case Je.GREATER_THAN_SIGN:{this.state=_t.DATA,this.emitCurrentComment(we);break}case Je.EXCLAMATION_MARK:{this.state=_t.COMMENT_END_BANG;break}case Je.HYPHEN_MINUS:{we.data+="-";break}case Je.EOF:{this._err(Vt.eofInComment),this.emitCurrentComment(we),this._emitEOFToken();break}default:we.data+="--",this.state=_t.COMMENT,this._stateComment(z)}}_stateCommentEndBang(z){const we=this.currentToken;switch(z){case Je.HYPHEN_MINUS:{we.data+="--!",this.state=_t.COMMENT_END_DASH;break}case Je.GREATER_THAN_SIGN:{this._err(Vt.incorrectlyClosedComment),this.state=_t.DATA,this.emitCurrentComment(we);break}case Je.EOF:{this._err(Vt.eofInComment),this.emitCurrentComment(we),this._emitEOFToken();break}default:we.data+="--!",this.state=_t.COMMENT,this._stateComment(z)}}_stateDoctype(z){switch(z){case Je.SPACE:case Je.LINE_FEED:case Je.TABULATION:case Je.FORM_FEED:{this.state=_t.BEFORE_DOCTYPE_NAME;break}case Je.GREATER_THAN_SIGN:{this.state=_t.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(z);break}case Je.EOF:{this._err(Vt.eofInDoctype),this._createDoctypeToken(null);const we=this.currentToken;we.forceQuirks=!0,this.emitCurrentDoctype(we),this._emitEOFToken();break}default:this._err(Vt.missingWhitespaceBeforeDoctypeName),this.state=_t.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(z)}}_stateBeforeDoctypeName(z){if(qr(z))this._createDoctypeToken(String.fromCharCode($r(z))),this.state=_t.DOCTYPE_NAME;else switch(z){case Je.SPACE:case Je.LINE_FEED:case Je.TABULATION:case Je.FORM_FEED:break;case Je.NULL:{this._err(Vt.unexpectedNullCharacter),this._createDoctypeToken(At),this.state=_t.DOCTYPE_NAME;break}case Je.GREATER_THAN_SIGN:{this._err(Vt.missingDoctypeName),this._createDoctypeToken(null);const we=this.currentToken;we.forceQuirks=!0,this.emitCurrentDoctype(we),this.state=_t.DATA;break}case Je.EOF:{this._err(Vt.eofInDoctype),this._createDoctypeToken(null);const we=this.currentToken;we.forceQuirks=!0,this.emitCurrentDoctype(we),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(z)),this.state=_t.DOCTYPE_NAME}}_stateDoctypeName(z){const we=this.currentToken;switch(z){case Je.SPACE:case Je.LINE_FEED:case Je.TABULATION:case Je.FORM_FEED:{this.state=_t.AFTER_DOCTYPE_NAME;break}case Je.GREATER_THAN_SIGN:{this.state=_t.DATA,this.emitCurrentDoctype(we);break}case Je.NULL:{this._err(Vt.unexpectedNullCharacter),we.name+=At;break}case Je.EOF:{this._err(Vt.eofInDoctype),we.forceQuirks=!0,this.emitCurrentDoctype(we),this._emitEOFToken();break}default:we.name+=String.fromCodePoint(qr(z)?$r(z):z)}}_stateAfterDoctypeName(z){const we=this.currentToken;switch(z){case Je.SPACE:case Je.LINE_FEED:case Je.TABULATION:case Je.FORM_FEED:break;case Je.GREATER_THAN_SIGN:{this.state=_t.DATA,this.emitCurrentDoctype(we);break}case Je.EOF:{this._err(Vt.eofInDoctype),we.forceQuirks=!0,this.emitCurrentDoctype(we),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(un.PUBLIC,!1)?this.state=_t.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(un.SYSTEM,!1)?this.state=_t.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(Vt.invalidCharacterSequenceAfterDoctypeName),we.forceQuirks=!0,this.state=_t.BOGUS_DOCTYPE,this._stateBogusDoctype(z))}}_stateAfterDoctypePublicKeyword(z){const we=this.currentToken;switch(z){case Je.SPACE:case Je.LINE_FEED:case Je.TABULATION:case Je.FORM_FEED:{this.state=_t.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case Je.QUOTATION_MARK:{this._err(Vt.missingWhitespaceAfterDoctypePublicKeyword),we.publicId="",this.state=_t.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case Je.APOSTROPHE:{this._err(Vt.missingWhitespaceAfterDoctypePublicKeyword),we.publicId="",this.state=_t.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case Je.GREATER_THAN_SIGN:{this._err(Vt.missingDoctypePublicIdentifier),we.forceQuirks=!0,this.state=_t.DATA,this.emitCurrentDoctype(we);break}case Je.EOF:{this._err(Vt.eofInDoctype),we.forceQuirks=!0,this.emitCurrentDoctype(we),this._emitEOFToken();break}default:this._err(Vt.missingQuoteBeforeDoctypePublicIdentifier),we.forceQuirks=!0,this.state=_t.BOGUS_DOCTYPE,this._stateBogusDoctype(z)}}_stateBeforeDoctypePublicIdentifier(z){const we=this.currentToken;switch(z){case Je.SPACE:case Je.LINE_FEED:case Je.TABULATION:case Je.FORM_FEED:break;case Je.QUOTATION_MARK:{we.publicId="",this.state=_t.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case Je.APOSTROPHE:{we.publicId="",this.state=_t.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case Je.GREATER_THAN_SIGN:{this._err(Vt.missingDoctypePublicIdentifier),we.forceQuirks=!0,this.state=_t.DATA,this.emitCurrentDoctype(we);break}case Je.EOF:{this._err(Vt.eofInDoctype),we.forceQuirks=!0,this.emitCurrentDoctype(we),this._emitEOFToken();break}default:this._err(Vt.missingQuoteBeforeDoctypePublicIdentifier),we.forceQuirks=!0,this.state=_t.BOGUS_DOCTYPE,this._stateBogusDoctype(z)}}_stateDoctypePublicIdentifierDoubleQuoted(z){const we=this.currentToken;switch(z){case Je.QUOTATION_MARK:{this.state=_t.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case Je.NULL:{this._err(Vt.unexpectedNullCharacter),we.publicId+=At;break}case Je.GREATER_THAN_SIGN:{this._err(Vt.abruptDoctypePublicIdentifier),we.forceQuirks=!0,this.emitCurrentDoctype(we),this.state=_t.DATA;break}case Je.EOF:{this._err(Vt.eofInDoctype),we.forceQuirks=!0,this.emitCurrentDoctype(we),this._emitEOFToken();break}default:we.publicId+=String.fromCodePoint(z)}}_stateDoctypePublicIdentifierSingleQuoted(z){const we=this.currentToken;switch(z){case Je.APOSTROPHE:{this.state=_t.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case Je.NULL:{this._err(Vt.unexpectedNullCharacter),we.publicId+=At;break}case Je.GREATER_THAN_SIGN:{this._err(Vt.abruptDoctypePublicIdentifier),we.forceQuirks=!0,this.emitCurrentDoctype(we),this.state=_t.DATA;break}case Je.EOF:{this._err(Vt.eofInDoctype),we.forceQuirks=!0,this.emitCurrentDoctype(we),this._emitEOFToken();break}default:we.publicId+=String.fromCodePoint(z)}}_stateAfterDoctypePublicIdentifier(z){const we=this.currentToken;switch(z){case Je.SPACE:case Je.LINE_FEED:case Je.TABULATION:case Je.FORM_FEED:{this.state=_t.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case Je.GREATER_THAN_SIGN:{this.state=_t.DATA,this.emitCurrentDoctype(we);break}case Je.QUOTATION_MARK:{this._err(Vt.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),we.systemId="",this.state=_t.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Je.APOSTROPHE:{this._err(Vt.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),we.systemId="",this.state=_t.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Je.EOF:{this._err(Vt.eofInDoctype),we.forceQuirks=!0,this.emitCurrentDoctype(we),this._emitEOFToken();break}default:this._err(Vt.missingQuoteBeforeDoctypeSystemIdentifier),we.forceQuirks=!0,this.state=_t.BOGUS_DOCTYPE,this._stateBogusDoctype(z)}}_stateBetweenDoctypePublicAndSystemIdentifiers(z){const we=this.currentToken;switch(z){case Je.SPACE:case Je.LINE_FEED:case Je.TABULATION:case Je.FORM_FEED:break;case Je.GREATER_THAN_SIGN:{this.emitCurrentDoctype(we),this.state=_t.DATA;break}case Je.QUOTATION_MARK:{we.systemId="",this.state=_t.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Je.APOSTROPHE:{we.systemId="",this.state=_t.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Je.EOF:{this._err(Vt.eofInDoctype),we.forceQuirks=!0,this.emitCurrentDoctype(we),this._emitEOFToken();break}default:this._err(Vt.missingQuoteBeforeDoctypeSystemIdentifier),we.forceQuirks=!0,this.state=_t.BOGUS_DOCTYPE,this._stateBogusDoctype(z)}}_stateAfterDoctypeSystemKeyword(z){const we=this.currentToken;switch(z){case Je.SPACE:case Je.LINE_FEED:case Je.TABULATION:case Je.FORM_FEED:{this.state=_t.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case Je.QUOTATION_MARK:{this._err(Vt.missingWhitespaceAfterDoctypeSystemKeyword),we.systemId="",this.state=_t.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Je.APOSTROPHE:{this._err(Vt.missingWhitespaceAfterDoctypeSystemKeyword),we.systemId="",this.state=_t.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Je.GREATER_THAN_SIGN:{this._err(Vt.missingDoctypeSystemIdentifier),we.forceQuirks=!0,this.state=_t.DATA,this.emitCurrentDoctype(we);break}case Je.EOF:{this._err(Vt.eofInDoctype),we.forceQuirks=!0,this.emitCurrentDoctype(we),this._emitEOFToken();break}default:this._err(Vt.missingQuoteBeforeDoctypeSystemIdentifier),we.forceQuirks=!0,this.state=_t.BOGUS_DOCTYPE,this._stateBogusDoctype(z)}}_stateBeforeDoctypeSystemIdentifier(z){const we=this.currentToken;switch(z){case Je.SPACE:case Je.LINE_FEED:case Je.TABULATION:case Je.FORM_FEED:break;case Je.QUOTATION_MARK:{we.systemId="",this.state=_t.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Je.APOSTROPHE:{we.systemId="",this.state=_t.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Je.GREATER_THAN_SIGN:{this._err(Vt.missingDoctypeSystemIdentifier),we.forceQuirks=!0,this.state=_t.DATA,this.emitCurrentDoctype(we);break}case Je.EOF:{this._err(Vt.eofInDoctype),we.forceQuirks=!0,this.emitCurrentDoctype(we),this._emitEOFToken();break}default:this._err(Vt.missingQuoteBeforeDoctypeSystemIdentifier),we.forceQuirks=!0,this.state=_t.BOGUS_DOCTYPE,this._stateBogusDoctype(z)}}_stateDoctypeSystemIdentifierDoubleQuoted(z){const we=this.currentToken;switch(z){case Je.QUOTATION_MARK:{this.state=_t.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case Je.NULL:{this._err(Vt.unexpectedNullCharacter),we.systemId+=At;break}case Je.GREATER_THAN_SIGN:{this._err(Vt.abruptDoctypeSystemIdentifier),we.forceQuirks=!0,this.emitCurrentDoctype(we),this.state=_t.DATA;break}case Je.EOF:{this._err(Vt.eofInDoctype),we.forceQuirks=!0,this.emitCurrentDoctype(we),this._emitEOFToken();break}default:we.systemId+=String.fromCodePoint(z)}}_stateDoctypeSystemIdentifierSingleQuoted(z){const we=this.currentToken;switch(z){case Je.APOSTROPHE:{this.state=_t.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case Je.NULL:{this._err(Vt.unexpectedNullCharacter),we.systemId+=At;break}case Je.GREATER_THAN_SIGN:{this._err(Vt.abruptDoctypeSystemIdentifier),we.forceQuirks=!0,this.emitCurrentDoctype(we),this.state=_t.DATA;break}case Je.EOF:{this._err(Vt.eofInDoctype),we.forceQuirks=!0,this.emitCurrentDoctype(we),this._emitEOFToken();break}default:we.systemId+=String.fromCodePoint(z)}}_stateAfterDoctypeSystemIdentifier(z){const we=this.currentToken;switch(z){case Je.SPACE:case Je.LINE_FEED:case Je.TABULATION:case Je.FORM_FEED:break;case Je.GREATER_THAN_SIGN:{this.emitCurrentDoctype(we),this.state=_t.DATA;break}case Je.EOF:{this._err(Vt.eofInDoctype),we.forceQuirks=!0,this.emitCurrentDoctype(we),this._emitEOFToken();break}default:this._err(Vt.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=_t.BOGUS_DOCTYPE,this._stateBogusDoctype(z)}}_stateBogusDoctype(z){const we=this.currentToken;switch(z){case Je.GREATER_THAN_SIGN:{this.emitCurrentDoctype(we),this.state=_t.DATA;break}case Je.NULL:{this._err(Vt.unexpectedNullCharacter);break}case Je.EOF:{this.emitCurrentDoctype(we),this._emitEOFToken();break}default:}}_stateCdataSection(z){switch(z){case Je.RIGHT_SQUARE_BRACKET:{this.state=_t.CDATA_SECTION_BRACKET;break}case Je.EOF:{this._err(Vt.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(z)}}_stateCdataSectionBracket(z){z===Je.RIGHT_SQUARE_BRACKET?this.state=_t.CDATA_SECTION_END:(this._emitChars("]"),this.state=_t.CDATA_SECTION,this._stateCdataSection(z))}_stateCdataSectionEnd(z){switch(z){case Je.GREATER_THAN_SIGN:{this.state=_t.DATA;break}case Je.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=_t.CDATA_SECTION,this._stateCdataSection(z)}}_stateCharacterReference(){let z=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(z<0)if(this.preprocessor.lastChunkWritten)z=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}z===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(Je.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&la(this.preprocessor.peek(1))?_t.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(z){la(z)?this._flushCodePointConsumedAsCharacterReference(z):(z===Je.SEMICOLON&&this._err(Vt.unknownNamedCharacterReference),this.state=this.returnState,this._callState(z))}}const pa=new Set([be.DD,be.DT,be.LI,be.OPTGROUP,be.OPTION,be.P,be.RB,be.RP,be.RT,be.RTC]),Gr=new Set([...pa,be.CAPTION,be.COLGROUP,be.TBODY,be.TD,be.TFOOT,be.TH,be.THEAD,be.TR]),ra=new Set([be.APPLET,be.CAPTION,be.HTML,be.MARQUEE,be.OBJECT,be.TABLE,be.TD,be.TEMPLATE,be.TH]),ya=new Set([...ra,be.OL,be.UL]),_r=new Set([...ra,be.BUTTON]),Zr=new Set([be.ANNOTATION_XML,be.MI,be.MN,be.MO,be.MS,be.MTEXT]),aa=new Set([be.DESC,be.FOREIGN_OBJECT,be.TITLE]),ua=new Set([be.TR,be.TEMPLATE,be.HTML]),Pa=new Set([be.TBODY,be.TFOOT,be.THEAD,be.TEMPLATE,be.HTML]),Ra=new Set([be.TABLE,be.TEMPLATE,be.HTML]),Xa=new Set([be.TD,be.TH]);class qt{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(z,we,Nt){this.treeAdapter=we,this.handler=Nt,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=be.UNKNOWN,this.current=z}_indexOf(z){return this.items.lastIndexOf(z,this.stackTop)}_isInTemplate(){return this.currentTagId===be.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Pt.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(z,we){this.stackTop++,this.items[this.stackTop]=z,this.current=z,this.tagIDs[this.stackTop]=we,this.currentTagId=we,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(z,we,!0)}pop(){const z=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(z,!0)}replace(z,we){const Nt=this._indexOf(z);this.items[Nt]=we,Nt===this.stackTop&&(this.current=we)}insertAfter(z,we,Nt){const Pn=this._indexOf(z)+1;this.items.splice(Pn,0,we),this.tagIDs.splice(Pn,0,Nt),this.stackTop++,Pn===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,Pn===this.stackTop)}popUntilTagNamePopped(z){let we=this.stackTop+1;do we=this.tagIDs.lastIndexOf(z,we-1);while(we>0&&this.treeAdapter.getNamespaceURI(this.items[we])!==Pt.HTML);this.shortenToLength(Math.max(we,0))}shortenToLength(z){for(;this.stackTop>=z;){const we=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(we,this.stackTop<z)}}popUntilElementPopped(z){const we=this._indexOf(z);this.shortenToLength(Math.max(we,0))}popUntilPopped(z,we){const Nt=this._indexOfTagNames(z,we);this.shortenToLength(Math.max(Nt,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(Xn,Pt.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Xa,Pt.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(z,we){for(let Nt=this.stackTop;Nt>=0;Nt--)if(z.has(this.tagIDs[Nt])&&this.treeAdapter.getNamespaceURI(this.items[Nt])===we)return Nt;return-1}clearBackTo(z,we){const Nt=this._indexOfTagNames(z,we);this.shortenToLength(Nt+1)}clearBackToTableContext(){this.clearBackTo(Ra,Pt.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Pa,Pt.HTML)}clearBackToTableRowContext(){this.clearBackTo(ua,Pt.HTML)}remove(z){const we=this._indexOf(z);we>=0&&(we===this.stackTop?this.pop():(this.items.splice(we,1),this.tagIDs.splice(we,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(z,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===be.BODY?this.items[1]:null}contains(z){return this._indexOf(z)>-1}getCommonAncestor(z){const we=this._indexOf(z)-1;return we>=0?this.items[we]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===be.HTML}hasInDynamicScope(z,we){for(let Nt=this.stackTop;Nt>=0;Nt--){const Pn=this.tagIDs[Nt];switch(this.treeAdapter.getNamespaceURI(this.items[Nt])){case Pt.HTML:{if(Pn===z)return!0;if(we.has(Pn))return!1;break}case Pt.SVG:{if(aa.has(Pn))return!1;break}case Pt.MATHML:{if(Zr.has(Pn))return!1;break}}}return!0}hasInScope(z){return this.hasInDynamicScope(z,ra)}hasInListItemScope(z){return this.hasInDynamicScope(z,ya)}hasInButtonScope(z){return this.hasInDynamicScope(z,_r)}hasNumberedHeaderInScope(){for(let z=this.stackTop;z>=0;z--){const we=this.tagIDs[z];switch(this.treeAdapter.getNamespaceURI(this.items[z])){case Pt.HTML:{if(Xn.has(we))return!0;if(ra.has(we))return!1;break}case Pt.SVG:{if(aa.has(we))return!1;break}case Pt.MATHML:{if(Zr.has(we))return!1;break}}}return!0}hasInTableScope(z){for(let we=this.stackTop;we>=0;we--)if(this.treeAdapter.getNamespaceURI(this.items[we])===Pt.HTML)switch(this.tagIDs[we]){case z:return!0;case be.TABLE:case be.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let z=this.stackTop;z>=0;z--)if(this.treeAdapter.getNamespaceURI(this.items[z])===Pt.HTML)switch(this.tagIDs[z]){case be.TBODY:case be.THEAD:case be.TFOOT:return!0;case be.TABLE:case be.HTML:return!1}return!0}hasInSelectScope(z){for(let we=this.stackTop;we>=0;we--)if(this.treeAdapter.getNamespaceURI(this.items[we])===Pt.HTML)switch(this.tagIDs[we]){case z:return!0;case be.OPTION:case be.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&pa.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&Gr.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(z){for(;this.currentTagId!==void 0&&this.currentTagId!==z&&Gr.has(this.currentTagId);)this.pop()}}const Bn=3;var Dn;(function(x){x[x.Marker=0]="Marker",x[x.Element=1]="Element"})(Dn||(Dn={}));const jn={type:Dn.Marker};class Qn{constructor(z){this.treeAdapter=z,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(z,we){const Nt=[],Pn=we.length,ur=this.treeAdapter.getTagName(z),Fr=this.treeAdapter.getNamespaceURI(z);for(let Ea=0;Ea<this.entries.length;Ea++){const Za=this.entries[Ea];if(Za.type===Dn.Marker)break;const{element:Er}=Za;if(this.treeAdapter.getTagName(Er)===ur&&this.treeAdapter.getNamespaceURI(Er)===Fr){const Qr=this.treeAdapter.getAttrList(Er);Qr.length===Pn&&Nt.push({idx:Ea,attrs:Qr})}}return Nt}_ensureNoahArkCondition(z){if(this.entries.length<Bn)return;const we=this.treeAdapter.getAttrList(z),Nt=this._getNoahArkConditionCandidates(z,we);if(Nt.length<Bn)return;const Pn=new Map(we.map(Fr=>[Fr.name,Fr.value]));let ur=0;for(let Fr=0;Fr<Nt.length;Fr++){const Ea=Nt[Fr];Ea.attrs.every(Za=>Pn.get(Za.name)===Za.value)&&(ur+=1,ur>=Bn&&this.entries.splice(Ea.idx,1))}}insertMarker(){this.entries.unshift(jn)}pushElement(z,we){this._ensureNoahArkCondition(z),this.entries.unshift({type:Dn.Element,element:z,token:we})}insertElementAfterBookmark(z,we){const Nt=this.entries.indexOf(this.bookmark);this.entries.splice(Nt,0,{type:Dn.Element,element:z,token:we})}removeEntry(z){const we=this.entries.indexOf(z);we!==-1&&this.entries.splice(we,1)}clearToLastMarker(){const z=this.entries.indexOf(jn);z===-1?this.entries.length=0:this.entries.splice(0,z+1)}getElementEntryInScopeWithTagName(z){const we=this.entries.find(Nt=>Nt.type===Dn.Marker||this.treeAdapter.getTagName(Nt.element)===z);return we&&we.type===Dn.Element?we:null}getElementEntry(z){return this.entries.find(we=>we.type===Dn.Element&&we.element===z)}}const er={createDocument(){return{nodeName:"#document",mode:sr.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(x,z,we){return{nodeName:x,tagName:x,attrs:we,namespaceURI:z,childNodes:[],parentNode:null}},createCommentNode(x){return{nodeName:"#comment",data:x,parentNode:null}},createTextNode(x){return{nodeName:"#text",value:x,parentNode:null}},appendChild(x,z){x.childNodes.push(z),z.parentNode=x},insertBefore(x,z,we){const Nt=x.childNodes.indexOf(we);x.childNodes.splice(Nt,0,z),z.parentNode=x},setTemplateContent(x,z){x.content=z},getTemplateContent(x){return x.content},setDocumentType(x,z,we,Nt){const Pn=x.childNodes.find(ur=>ur.nodeName==="#documentType");if(Pn)Pn.name=z,Pn.publicId=we,Pn.systemId=Nt;else{const ur={nodeName:"#documentType",name:z,publicId:we,systemId:Nt,parentNode:null};er.appendChild(x,ur)}},setDocumentMode(x,z){x.mode=z},getDocumentMode(x){return x.mode},detachNode(x){if(x.parentNode){const z=x.parentNode.childNodes.indexOf(x);x.parentNode.childNodes.splice(z,1),x.parentNode=null}},insertText(x,z){if(x.childNodes.length>0){const we=x.childNodes[x.childNodes.length-1];if(er.isTextNode(we)){we.value+=z;return}}er.appendChild(x,er.createTextNode(z))},insertTextBefore(x,z,we){const Nt=x.childNodes[x.childNodes.indexOf(we)-1];Nt&&er.isTextNode(Nt)?Nt.value+=z:er.insertBefore(x,er.createTextNode(z),we)},adoptAttributes(x,z){const we=new Set(x.attrs.map(Nt=>Nt.name));for(let Nt=0;Nt<z.length;Nt++)we.has(z[Nt].name)||x.attrs.push(z[Nt])},getFirstChild(x){return x.childNodes[0]},getChildNodes(x){return x.childNodes},getParentNode(x){return x.parentNode},getAttrList(x){return x.attrs},getTagName(x){return x.tagName},getNamespaceURI(x){return x.namespaceURI},getTextNodeContent(x){return x.value},getCommentNodeContent(x){return x.data},getDocumentTypeNodeName(x){return x.name},getDocumentTypeNodePublicId(x){return x.publicId},getDocumentTypeNodeSystemId(x){return x.systemId},isTextNode(x){return x.nodeName==="#text"},isCommentNode(x){return x.nodeName==="#comment"},isDocumentTypeNode(x){return x.nodeName==="#documentType"},isElementNode(x){return Object.prototype.hasOwnProperty.call(x,"tagName")},setNodeSourceCodeLocation(x,z){x.sourceCodeLocation=z},getNodeSourceCodeLocation(x){return x.sourceCodeLocation},updateNodeSourceCodeLocation(x,z){x.sourceCodeLocation=$a($a({},x.sourceCodeLocation),z)}},vr="html",mr="about:legacy-compat",pr="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Rn=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],Ge=[...Rn,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Tt=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),It=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Wt=[...It,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Ht(x,z){return z.some(we=>x.startsWith(we))}function Mn(x){return x.name===vr&&x.publicId===null&&(x.systemId===null||x.systemId===mr)}function Tn(x){if(x.name!==vr)return sr.QUIRKS;const{systemId:z}=x;if(z&&z.toLowerCase()===pr)return sr.QUIRKS;let{publicId:we}=x;if(we!==null){if(we=we.toLowerCase(),Tt.has(we))return sr.QUIRKS;let Nt=z===null?Ge:Rn;if(Ht(we,Nt))return sr.QUIRKS;if(Nt=z===null?It:Wt,Ht(we,Nt))return sr.LIMITED_QUIRKS}return sr.NO_QUIRKS}const wn={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Fn="definitionurl",nr="definitionURL",Or=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(x=>[x.toLowerCase(),x])),br=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:Pt.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:Pt.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:Pt.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:Pt.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:Pt.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:Pt.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:Pt.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:Pt.XML}],["xml:space",{prefix:"xml",name:"space",namespace:Pt.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:Pt.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:Pt.XMLNS}]]),Tr=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(x=>[x.toLowerCase(),x])),Hr=new Set([be.B,be.BIG,be.BLOCKQUOTE,be.BODY,be.BR,be.CENTER,be.CODE,be.DD,be.DIV,be.DL,be.DT,be.EM,be.EMBED,be.H1,be.H2,be.H3,be.H4,be.H5,be.H6,be.HEAD,be.HR,be.I,be.IMG,be.LI,be.LISTING,be.MENU,be.META,be.NOBR,be.OL,be.P,be.PRE,be.RUBY,be.S,be.SMALL,be.SPAN,be.STRONG,be.STRIKE,be.SUB,be.SUP,be.TABLE,be.TT,be.U,be.UL,be.VAR]);function jr(x){const z=x.tagID;return z===be.FONT&&x.attrs.some(({name:Nt})=>Nt===on.COLOR||Nt===on.SIZE||Nt===on.FACE)||Hr.has(z)}function sa(x){for(let z=0;z<x.attrs.length;z++)if(x.attrs[z].name===Fn){x.attrs[z].name=nr;break}}function va(x){for(let z=0;z<x.attrs.length;z++){const we=Or.get(x.attrs[z].name);we!=null&&(x.attrs[z].name=we)}}function Aa(x){for(let z=0;z<x.attrs.length;z++){const we=br.get(x.attrs[z].name);we&&(x.attrs[z].prefix=we.prefix,x.attrs[z].name=we.name,x.attrs[z].namespace=we.namespace)}}function Sa(x){const z=Tr.get(x.tagName);z!=null&&(x.tagName=z,x.tagID=yr(x.tagName))}function La(x,z){return z===Pt.MATHML&&(x===be.MI||x===be.MO||x===be.MN||x===be.MS||x===be.MTEXT)}function Xr(x,z,we){if(z===Pt.MATHML&&x===be.ANNOTATION_XML){for(let Nt=0;Nt<we.length;Nt++)if(we[Nt].name===on.ENCODING){const Pn=we[Nt].value.toLowerCase();return Pn===wn.TEXT_HTML||Pn===wn.APPLICATION_XML}}return z===Pt.SVG&&(x===be.FOREIGN_OBJECT||x===be.DESC||x===be.TITLE)}function Wr(x,z,we,Nt){return(!Nt||Nt===Pt.HTML)&&Xr(x,z,we)||(!Nt||Nt===Pt.MATHML)&&La(x,z)}const ea="hidden",ka=8,za=3;var sn;(function(x){x[x.INITIAL=0]="INITIAL",x[x.BEFORE_HTML=1]="BEFORE_HTML",x[x.BEFORE_HEAD=2]="BEFORE_HEAD",x[x.IN_HEAD=3]="IN_HEAD",x[x.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",x[x.AFTER_HEAD=5]="AFTER_HEAD",x[x.IN_BODY=6]="IN_BODY",x[x.TEXT=7]="TEXT",x[x.IN_TABLE=8]="IN_TABLE",x[x.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",x[x.IN_CAPTION=10]="IN_CAPTION",x[x.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",x[x.IN_TABLE_BODY=12]="IN_TABLE_BODY",x[x.IN_ROW=13]="IN_ROW",x[x.IN_CELL=14]="IN_CELL",x[x.IN_SELECT=15]="IN_SELECT",x[x.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",x[x.IN_TEMPLATE=17]="IN_TEMPLATE",x[x.AFTER_BODY=18]="AFTER_BODY",x[x.IN_FRAMESET=19]="IN_FRAMESET",x[x.AFTER_FRAMESET=20]="AFTER_FRAMESET",x[x.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",x[x.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(sn||(sn={}));const Ba={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},li=new Set([be.TABLE,be.TBODY,be.TFOOT,be.THEAD,be.TR]),Ui={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:er,onParseError:null};class Wi{constructor(z,we,Nt=null,Pn=null){this.fragmentContext=Nt,this.scriptHandler=Pn,this.currentToken=null,this.stopped=!1,this.insertionMode=sn.INITIAL,this.originalInsertionMode=sn.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options=$a($a({},Ui),z),this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=we!=null?we:this.treeAdapter.createDocument(),this.tokenizer=new ga(this.options,this),this.activeFormattingElements=new Qn(this.treeAdapter),this.fragmentContextID=Nt?yr(this.treeAdapter.getTagName(Nt)):be.UNKNOWN,this._setContextModes(Nt!=null?Nt:this.document,this.fragmentContextID),this.openElements=new qt(this.document,this.treeAdapter,this)}static parse(z,we){const Nt=new this(we);return Nt.tokenizer.write(z,!0),Nt.document}static getFragmentParser(z,we){const Nt=$a($a({},Ui),we);z!=null||(z=Nt.treeAdapter.createElement(Kt.TEMPLATE,Pt.HTML,[]));const Pn=Nt.treeAdapter.createElement("documentmock",Pt.HTML,[]),ur=new this(Nt,Pn,z);return ur.fragmentContextID===be.TEMPLATE&&ur.tmplInsertionModeStack.unshift(sn.IN_TEMPLATE),ur._initTokenizerForFragmentParsing(),ur._insertFakeRootElement(),ur._resetInsertionMode(),ur._findFormInFragmentContext(),ur}getFragment(){const z=this.treeAdapter.getFirstChild(this.document),we=this.treeAdapter.createDocumentFragment();return this._adoptNodes(z,we),we}_err(z,we,Nt){var Pn;if(!this.onParseError)return;const ur=(Pn=z.location)!==null&&Pn!==void 0?Pn:Ba,Fr={code:we,startLine:ur.startLine,startCol:ur.startCol,startOffset:ur.startOffset,endLine:Nt?ur.startLine:ur.endLine,endCol:Nt?ur.startCol:ur.endCol,endOffset:Nt?ur.startOffset:ur.endOffset};this.onParseError(Fr)}onItemPush(z,we,Nt){var Pn,ur;(ur=(Pn=this.treeAdapter).onItemPush)===null||ur===void 0||ur.call(Pn,z),Nt&&this.openElements.stackTop>0&&this._setContextModes(z,we)}onItemPop(z,we){var Nt,Pn;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(z,this.currentToken),(Pn=(Nt=this.treeAdapter).onItemPop)===null||Pn===void 0||Pn.call(Nt,z,this.openElements.current),we){let ur,Fr;this.openElements.stackTop===0&&this.fragmentContext?(ur=this.fragmentContext,Fr=this.fragmentContextID):{current:ur,currentTagId:Fr}=this.openElements,this._setContextModes(ur,Fr)}}_setContextModes(z,we){const Nt=z===this.document||z&&this.treeAdapter.getNamespaceURI(z)===Pt.HTML;this.currentNotInHTML=!Nt,this.tokenizer.inForeignNode=!Nt&&z!==void 0&&we!==void 0&&!this._isIntegrationPoint(we,z)}_switchToTextParsing(z,we){this._insertElement(z,Pt.HTML),this.tokenizer.state=we,this.originalInsertionMode=this.insertionMode,this.insertionMode=sn.TEXT}switchToPlaintextParsing(){this.insertionMode=sn.TEXT,this.originalInsertionMode=sn.IN_BODY,this.tokenizer.state=Rr.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let z=this.fragmentContext;for(;z;){if(this.treeAdapter.getTagName(z)===Kt.FORM){this.formElement=z;break}z=this.treeAdapter.getParentNode(z)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==Pt.HTML))switch(this.fragmentContextID){case be.TITLE:case be.TEXTAREA:{this.tokenizer.state=Rr.RCDATA;break}case be.STYLE:case be.XMP:case be.IFRAME:case be.NOEMBED:case be.NOFRAMES:case be.NOSCRIPT:{this.tokenizer.state=Rr.RAWTEXT;break}case be.SCRIPT:{this.tokenizer.state=Rr.SCRIPT_DATA;break}case be.PLAINTEXT:{this.tokenizer.state=Rr.PLAINTEXT;break}default:}}_setDocumentType(z){const we=z.name||"",Nt=z.publicId||"",Pn=z.systemId||"";if(this.treeAdapter.setDocumentType(this.document,we,Nt,Pn),z.location){const Fr=this.treeAdapter.getChildNodes(this.document).find(Ea=>this.treeAdapter.isDocumentTypeNode(Ea));Fr&&this.treeAdapter.setNodeSourceCodeLocation(Fr,z.location)}}_attachElementToTree(z,we){if(this.options.sourceCodeLocationInfo){const Nt=we&&su($a({},we),{startTag:we});this.treeAdapter.setNodeSourceCodeLocation(z,Nt)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(z);else{const Nt=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(Nt!=null?Nt:this.document,z)}}_appendElement(z,we){const Nt=this.treeAdapter.createElement(z.tagName,we,z.attrs);this._attachElementToTree(Nt,z.location)}_insertElement(z,we){const Nt=this.treeAdapter.createElement(z.tagName,we,z.attrs);this._attachElementToTree(Nt,z.location),this.openElements.push(Nt,z.tagID)}_insertFakeElement(z,we){const Nt=this.treeAdapter.createElement(z,Pt.HTML,[]);this._attachElementToTree(Nt,null),this.openElements.push(Nt,we)}_insertTemplate(z){const we=this.treeAdapter.createElement(z.tagName,Pt.HTML,z.attrs),Nt=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(we,Nt),this._attachElementToTree(we,z.location),this.openElements.push(we,z.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(Nt,null)}_insertFakeRootElement(){const z=this.treeAdapter.createElement(Kt.HTML,Pt.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(z,null),this.treeAdapter.appendChild(this.openElements.current,z),this.openElements.push(z,be.HTML)}_appendCommentNode(z,we){const Nt=this.treeAdapter.createCommentNode(z.data);this.treeAdapter.appendChild(we,Nt),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(Nt,z.location)}_insertCharacters(z){let we,Nt;if(this._shouldFosterParentOnInsertion()?({parent:we,beforeElement:Nt}=this._findFosterParentingLocation(),Nt?this.treeAdapter.insertTextBefore(we,z.chars,Nt):this.treeAdapter.insertText(we,z.chars)):(we=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(we,z.chars)),!z.location)return;const Pn=this.treeAdapter.getChildNodes(we),ur=Nt?Pn.lastIndexOf(Nt):Pn.length,Fr=Pn[ur-1];if(this.treeAdapter.getNodeSourceCodeLocation(Fr)){const{endLine:Za,endCol:Er,endOffset:Qr}=z.location;this.treeAdapter.updateNodeSourceCodeLocation(Fr,{endLine:Za,endCol:Er,endOffset:Qr})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(Fr,z.location)}_adoptNodes(z,we){for(let Nt=this.treeAdapter.getFirstChild(z);Nt;Nt=this.treeAdapter.getFirstChild(z))this.treeAdapter.detachNode(Nt),this.treeAdapter.appendChild(we,Nt)}_setEndLocation(z,we){if(this.treeAdapter.getNodeSourceCodeLocation(z)&&we.location){const Nt=we.location,Pn=this.treeAdapter.getTagName(z),ur=we.type===xn.END_TAG&&Pn===we.tagName?{endTag:$a({},Nt),endLine:Nt.endLine,endCol:Nt.endCol,endOffset:Nt.endOffset}:{endLine:Nt.startLine,endCol:Nt.startCol,endOffset:Nt.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(z,ur)}}shouldProcessStartTagTokenInForeignContent(z){if(!this.currentNotInHTML)return!1;let we,Nt;return this.openElements.stackTop===0&&this.fragmentContext?(we=this.fragmentContext,Nt=this.fragmentContextID):{current:we,currentTagId:Nt}=this.openElements,z.tagID===be.SVG&&this.treeAdapter.getTagName(we)===Kt.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(we)===Pt.MATHML?!1:this.tokenizer.inForeignNode||(z.tagID===be.MGLYPH||z.tagID===be.MALIGNMARK)&&Nt!==void 0&&!this._isIntegrationPoint(Nt,we,Pt.HTML)}_processToken(z){switch(z.type){case xn.CHARACTER:{this.onCharacter(z);break}case xn.NULL_CHARACTER:{this.onNullCharacter(z);break}case xn.COMMENT:{this.onComment(z);break}case xn.DOCTYPE:{this.onDoctype(z);break}case xn.START_TAG:{this._processStartTag(z);break}case xn.END_TAG:{this.onEndTag(z);break}case xn.EOF:{this.onEof(z);break}case xn.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(z);break}}}_isIntegrationPoint(z,we,Nt){const Pn=this.treeAdapter.getNamespaceURI(we),ur=this.treeAdapter.getAttrList(we);return Wr(z,Pn,ur,Nt)}_reconstructActiveFormattingElements(){const z=this.activeFormattingElements.entries.length;if(z){const we=this.activeFormattingElements.entries.findIndex(Pn=>Pn.type===Dn.Marker||this.openElements.contains(Pn.element)),Nt=we===-1?z-1:we-1;for(let Pn=Nt;Pn>=0;Pn--){const ur=this.activeFormattingElements.entries[Pn];this._insertElement(ur.token,this.treeAdapter.getNamespaceURI(ur.element)),ur.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=sn.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(be.P),this.openElements.popUntilTagNamePopped(be.P)}_resetInsertionMode(){for(let z=this.openElements.stackTop;z>=0;z--)switch(z===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[z]){case be.TR:{this.insertionMode=sn.IN_ROW;return}case be.TBODY:case be.THEAD:case be.TFOOT:{this.insertionMode=sn.IN_TABLE_BODY;return}case be.CAPTION:{this.insertionMode=sn.IN_CAPTION;return}case be.COLGROUP:{this.insertionMode=sn.IN_COLUMN_GROUP;return}case be.TABLE:{this.insertionMode=sn.IN_TABLE;return}case be.BODY:{this.insertionMode=sn.IN_BODY;return}case be.FRAMESET:{this.insertionMode=sn.IN_FRAMESET;return}case be.SELECT:{this._resetInsertionModeForSelect(z);return}case be.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case be.HTML:{this.insertionMode=this.headElement?sn.AFTER_HEAD:sn.BEFORE_HEAD;return}case be.TD:case be.TH:{if(z>0){this.insertionMode=sn.IN_CELL;return}break}case be.HEAD:{if(z>0){this.insertionMode=sn.IN_HEAD;return}break}}this.insertionMode=sn.IN_BODY}_resetInsertionModeForSelect(z){if(z>0)for(let we=z-1;we>0;we--){const Nt=this.openElements.tagIDs[we];if(Nt===be.TEMPLATE)break;if(Nt===be.TABLE){this.insertionMode=sn.IN_SELECT_IN_TABLE;return}}this.insertionMode=sn.IN_SELECT}_isElementCausesFosterParenting(z){return li.has(z)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let z=this.openElements.stackTop;z>=0;z--){const we=this.openElements.items[z];switch(this.openElements.tagIDs[z]){case be.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(we)===Pt.HTML)return{parent:this.treeAdapter.getTemplateContent(we),beforeElement:null};break}case be.TABLE:{const Nt=this.treeAdapter.getParentNode(we);return Nt?{parent:Nt,beforeElement:we}:{parent:this.openElements.items[z-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(z){const we=this._findFosterParentingLocation();we.beforeElement?this.treeAdapter.insertBefore(we.parent,z,we.beforeElement):this.treeAdapter.appendChild(we.parent,z)}_isSpecialElement(z,we){const Nt=this.treeAdapter.getNamespaceURI(z);return Ar[Nt].has(we)}onCharacter(z){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){We(this,z);return}switch(this.insertionMode){case sn.INITIAL:{Da(this,z);break}case sn.BEFORE_HTML:{Ki(this,z);break}case sn.BEFORE_HEAD:{Ga(this,z);break}case sn.IN_HEAD:{ao(this,z);break}case sn.IN_HEAD_NO_SCRIPT:{Ii(this,z);break}case sn.AFTER_HEAD:{Ni(this,z);break}case sn.IN_BODY:case sn.IN_CAPTION:case sn.IN_CELL:case sn.IN_TEMPLATE:{vo(this,z);break}case sn.TEXT:case sn.IN_SELECT:case sn.IN_SELECT_IN_TABLE:{this._insertCharacters(z);break}case sn.IN_TABLE:case sn.IN_TABLE_BODY:case sn.IN_ROW:{_s(this,z);break}case sn.IN_TABLE_TEXT:{Bo(this,z);break}case sn.IN_COLUMN_GROUP:{ji(this,z);break}case sn.AFTER_BODY:{Ks(this,z);break}case sn.AFTER_AFTER_BODY:{ie(this,z);break}default:}}onNullCharacter(z){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Ne(this,z);return}switch(this.insertionMode){case sn.INITIAL:{Da(this,z);break}case sn.BEFORE_HTML:{Ki(this,z);break}case sn.BEFORE_HEAD:{Ga(this,z);break}case sn.IN_HEAD:{ao(this,z);break}case sn.IN_HEAD_NO_SCRIPT:{Ii(this,z);break}case sn.AFTER_HEAD:{Ni(this,z);break}case sn.TEXT:{this._insertCharacters(z);break}case sn.IN_TABLE:case sn.IN_TABLE_BODY:case sn.IN_ROW:{_s(this,z);break}case sn.IN_COLUMN_GROUP:{ji(this,z);break}case sn.AFTER_BODY:{Ks(this,z);break}case sn.AFTER_AFTER_BODY:{ie(this,z);break}default:}}onComment(z){if(this.skipNextNewLine=!1,this.currentNotInHTML){bi(this,z);return}switch(this.insertionMode){case sn.INITIAL:case sn.BEFORE_HTML:case sn.BEFORE_HEAD:case sn.IN_HEAD:case sn.IN_HEAD_NO_SCRIPT:case sn.AFTER_HEAD:case sn.IN_BODY:case sn.IN_TABLE:case sn.IN_CAPTION:case sn.IN_COLUMN_GROUP:case sn.IN_TABLE_BODY:case sn.IN_ROW:case sn.IN_CELL:case sn.IN_SELECT:case sn.IN_SELECT_IN_TABLE:case sn.IN_TEMPLATE:case sn.IN_FRAMESET:case sn.AFTER_FRAMESET:{bi(this,z);break}case sn.IN_TABLE_TEXT:{fo(this,z);break}case sn.AFTER_BODY:{yi(this,z);break}case sn.AFTER_AFTER_BODY:case sn.AFTER_AFTER_FRAMESET:{ca(this,z);break}default:}}onDoctype(z){switch(this.skipNextNewLine=!1,this.insertionMode){case sn.INITIAL:{Ma(this,z);break}case sn.BEFORE_HEAD:case sn.IN_HEAD:case sn.IN_HEAD_NO_SCRIPT:case sn.AFTER_HEAD:{this._err(z,Vt.misplacedDoctype);break}case sn.IN_TABLE_TEXT:{fo(this,z);break}default:}}onStartTag(z){this.skipNextNewLine=!1,this.currentToken=z,this._processStartTag(z),z.selfClosing&&!z.ackSelfClosing&&this._err(z,Vt.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(z){this.shouldProcessStartTagTokenInForeignContent(z)?ft(this,z):this._startTagOutsideForeignContent(z)}_startTagOutsideForeignContent(z){switch(this.insertionMode){case sn.INITIAL:{Da(this,z);break}case sn.BEFORE_HTML:{Ja(this,z);break}case sn.BEFORE_HEAD:{ri(this,z);break}case sn.IN_HEAD:{ai(this,z);break}case sn.IN_HEAD_NO_SCRIPT:{co(this,z);break}case sn.AFTER_HEAD:{Ko(this,z);break}case sn.IN_BODY:{hi(this,z);break}case sn.IN_TABLE:{Yo(this,z);break}case sn.IN_TABLE_TEXT:{fo(this,z);break}case sn.IN_CAPTION:{Qa(this,z);break}case sn.IN_COLUMN_GROUP:{_i(this,z);break}case sn.IN_TABLE_BODY:{Io(this,z);break}case sn.IN_ROW:{Uo(this,z);break}case sn.IN_CELL:{Xo(this,z);break}case sn.IN_SELECT:{Il(this,z);break}case sn.IN_SELECT_IN_TABLE:{Wl(this,z);break}case sn.IN_TEMPLATE:{Ll(this,z);break}case sn.AFTER_BODY:{Eo(this,z);break}case sn.IN_FRAMESET:{ml(this,z);break}case sn.AFTER_FRAMESET:{sl(this,z);break}case sn.AFTER_AFTER_BODY:{jl(this,z);break}case sn.AFTER_AFTER_FRAMESET:{Ce(this,z);break}default:}}onEndTag(z){this.skipNextNewLine=!1,this.currentToken=z,this.currentNotInHTML?Dt(this,z):this._endTagOutsideForeignContent(z)}_endTagOutsideForeignContent(z){switch(this.insertionMode){case sn.INITIAL:{Da(this,z);break}case sn.BEFORE_HTML:{ui(this,z);break}case sn.BEFORE_HEAD:{Oi(this,z);break}case sn.IN_HEAD:{uo(this,z);break}case sn.IN_HEAD_NO_SCRIPT:{to(this,z);break}case sn.AFTER_HEAD:{Us(this,z);break}case sn.IN_BODY:{Os(this,z);break}case sn.TEXT:{Po(this,z);break}case sn.IN_TABLE:{Ps(this,z);break}case sn.IN_TABLE_TEXT:{fo(this,z);break}case sn.IN_CAPTION:{Ya(this,z);break}case sn.IN_COLUMN_GROUP:{Vi(this,z);break}case sn.IN_TABLE_BODY:{Mo(this,z);break}case sn.IN_ROW:{No(this,z);break}case sn.IN_CELL:{hl(this,z);break}case sn.IN_SELECT:{Ol(this,z);break}case sn.IN_SELECT_IN_TABLE:{Zl(this,z);break}case sn.IN_TEMPLATE:{ko(this,z);break}case sn.AFTER_BODY:{qi(this,z);break}case sn.IN_FRAMESET:{Cs(this,z);break}case sn.AFTER_FRAMESET:{Nl(this,z);break}case sn.AFTER_AFTER_BODY:{ie(this,z);break}default:}}onEof(z){switch(this.insertionMode){case sn.INITIAL:{Da(this,z);break}case sn.BEFORE_HTML:{Ki(this,z);break}case sn.BEFORE_HEAD:{Ga(this,z);break}case sn.IN_HEAD:{ao(this,z);break}case sn.IN_HEAD_NO_SCRIPT:{Ii(this,z);break}case sn.AFTER_HEAD:{Ni(this,z);break}case sn.IN_BODY:case sn.IN_TABLE:case sn.IN_CAPTION:case sn.IN_COLUMN_GROUP:case sn.IN_TABLE_BODY:case sn.IN_ROW:case sn.IN_CELL:case sn.IN_SELECT:case sn.IN_SELECT_IN_TABLE:{$s(this,z);break}case sn.TEXT:{Ls(this,z);break}case sn.IN_TABLE_TEXT:{fo(this,z);break}case sn.IN_TEMPLATE:{Ji(this,z);break}case sn.AFTER_BODY:case sn.IN_FRAMESET:case sn.AFTER_FRAMESET:case sn.AFTER_AFTER_BODY:case sn.AFTER_AFTER_FRAMESET:{_a(this,z);break}default:}}onWhitespaceCharacter(z){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,z.chars.charCodeAt(0)===Je.LINE_FEED)){if(z.chars.length===1)return;z.chars=z.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(z);return}switch(this.insertionMode){case sn.IN_HEAD:case sn.IN_HEAD_NO_SCRIPT:case sn.AFTER_HEAD:case sn.TEXT:case sn.IN_COLUMN_GROUP:case sn.IN_SELECT:case sn.IN_SELECT_IN_TABLE:case sn.IN_FRAMESET:case sn.AFTER_FRAMESET:{this._insertCharacters(z);break}case sn.IN_BODY:case sn.IN_CAPTION:case sn.IN_CELL:case sn.IN_TEMPLATE:case sn.AFTER_BODY:case sn.AFTER_AFTER_BODY:case sn.AFTER_AFTER_FRAMESET:{go(this,z);break}case sn.IN_TABLE:case sn.IN_TABLE_BODY:case sn.IN_ROW:{_s(this,z);break}case sn.IN_TABLE_TEXT:{rs(this,z);break}default:}}}function So(x,z){let we=x.activeFormattingElements.getElementEntryInScopeWithTagName(z.tagName);return we?x.openElements.contains(we.element)?x.openElements.hasInScope(z.tagID)||(we=null):(x.activeFormattingElements.removeEntry(we),we=null):Ds(x,z),we}function eo(x,z){let we=null,Nt=x.openElements.stackTop;for(;Nt>=0;Nt--){const Pn=x.openElements.items[Nt];if(Pn===z.element)break;x._isSpecialElement(Pn,x.openElements.tagIDs[Nt])&&(we=Pn)}return we||(x.openElements.shortenToLength(Math.max(Nt,0)),x.activeFormattingElements.removeEntry(z)),we}function gi(x,z,we){let Nt=z,Pn=x.openElements.getCommonAncestor(z);for(let ur=0,Fr=Pn;Fr!==we;ur++,Fr=Pn){Pn=x.openElements.getCommonAncestor(Fr);const Ea=x.activeFormattingElements.getElementEntry(Fr),Za=Ea&&ur>=za;!Ea||Za?(Za&&x.activeFormattingElements.removeEntry(Ea),x.openElements.remove(Fr)):(Fr=fi(x,Ea),Nt===z&&(x.activeFormattingElements.bookmark=Ea),x.treeAdapter.detachNode(Nt),x.treeAdapter.appendChild(Fr,Nt),Nt=Fr)}return Nt}function fi(x,z){const we=x.treeAdapter.getNamespaceURI(z.element),Nt=x.treeAdapter.createElement(z.token.tagName,we,z.token.attrs);return x.openElements.replace(z.element,Nt),z.element=Nt,Nt}function pi(x,z,we){const Nt=x.treeAdapter.getTagName(z),Pn=yr(Nt);if(x._isElementCausesFosterParenting(Pn))x._fosterParentElement(we);else{const ur=x.treeAdapter.getNamespaceURI(z);Pn===be.TEMPLATE&&ur===Pt.HTML&&(z=x.treeAdapter.getTemplateContent(z)),x.treeAdapter.appendChild(z,we)}}function Hi(x,z,we){const Nt=x.treeAdapter.getNamespaceURI(we.element),{token:Pn}=we,ur=x.treeAdapter.createElement(Pn.tagName,Nt,Pn.attrs);x._adoptNodes(z,ur),x.treeAdapter.appendChild(z,ur),x.activeFormattingElements.insertElementAfterBookmark(ur,Pn),x.activeFormattingElements.removeEntry(we),x.openElements.remove(we.element),x.openElements.insertAfter(z,ur,Pn.tagID)}function vi(x,z){for(let we=0;we<ka;we++){const Nt=So(x,z);if(!Nt)break;const Pn=eo(x,Nt);if(!Pn)break;x.activeFormattingElements.bookmark=Nt;const ur=gi(x,Pn,Nt.element),Fr=x.openElements.getCommonAncestor(Nt.element);x.treeAdapter.detachNode(ur),Fr&&pi(x,Fr,ur),Hi(x,Pn,Nt)}}function bi(x,z){x._appendCommentNode(z,x.openElements.currentTmplContentOrNode)}function yi(x,z){x._appendCommentNode(z,x.openElements.items[0])}function ca(x,z){x._appendCommentNode(z,x.document)}function _a(x,z){if(x.stopped=!0,z.location){const we=x.fragmentContext?0:2;for(let Nt=x.openElements.stackTop;Nt>=we;Nt--)x._setEndLocation(x.openElements.items[Nt],z);if(!x.fragmentContext&&x.openElements.stackTop>=0){const Nt=x.openElements.items[0],Pn=x.treeAdapter.getNodeSourceCodeLocation(Nt);if(Pn&&!Pn.endTag&&(x._setEndLocation(Nt,z),x.openElements.stackTop>=1)){const ur=x.openElements.items[1],Fr=x.treeAdapter.getNodeSourceCodeLocation(ur);Fr&&!Fr.endTag&&x._setEndLocation(ur,z)}}}}function Ma(x,z){x._setDocumentType(z);const we=z.forceQuirks?sr.QUIRKS:Tn(z);Mn(z)||x._err(z,Vt.nonConformingDoctype),x.treeAdapter.setDocumentMode(x.document,we),x.insertionMode=sn.BEFORE_HTML}function Da(x,z){x._err(z,Vt.missingDoctype,!0),x.treeAdapter.setDocumentMode(x.document,sr.QUIRKS),x.insertionMode=sn.BEFORE_HTML,x._processToken(z)}function Ja(x,z){z.tagID===be.HTML?(x._insertElement(z,Pt.HTML),x.insertionMode=sn.BEFORE_HEAD):Ki(x,z)}function ui(x,z){const we=z.tagID;(we===be.HTML||we===be.HEAD||we===be.BODY||we===be.BR)&&Ki(x,z)}function Ki(x,z){x._insertFakeRootElement(),x.insertionMode=sn.BEFORE_HEAD,x._processToken(z)}function ri(x,z){switch(z.tagID){case be.HTML:{hi(x,z);break}case be.HEAD:{x._insertElement(z,Pt.HTML),x.headElement=x.openElements.current,x.insertionMode=sn.IN_HEAD;break}default:Ga(x,z)}}function Oi(x,z){const we=z.tagID;we===be.HEAD||we===be.BODY||we===be.HTML||we===be.BR?Ga(x,z):x._err(z,Vt.endTagWithoutMatchingOpenElement)}function Ga(x,z){x._insertFakeElement(Kt.HEAD,be.HEAD),x.headElement=x.openElements.current,x.insertionMode=sn.IN_HEAD,x._processToken(z)}function ai(x,z){switch(z.tagID){case be.HTML:{hi(x,z);break}case be.BASE:case be.BASEFONT:case be.BGSOUND:case be.LINK:case be.META:{x._appendElement(z,Pt.HTML),z.ackSelfClosing=!0;break}case be.TITLE:{x._switchToTextParsing(z,Rr.RCDATA);break}case be.NOSCRIPT:{x.options.scriptingEnabled?x._switchToTextParsing(z,Rr.RAWTEXT):(x._insertElement(z,Pt.HTML),x.insertionMode=sn.IN_HEAD_NO_SCRIPT);break}case be.NOFRAMES:case be.STYLE:{x._switchToTextParsing(z,Rr.RAWTEXT);break}case be.SCRIPT:{x._switchToTextParsing(z,Rr.SCRIPT_DATA);break}case be.TEMPLATE:{x._insertTemplate(z),x.activeFormattingElements.insertMarker(),x.framesetOk=!1,x.insertionMode=sn.IN_TEMPLATE,x.tmplInsertionModeStack.unshift(sn.IN_TEMPLATE);break}case be.HEAD:{x._err(z,Vt.misplacedStartTagForHeadElement);break}default:ao(x,z)}}function uo(x,z){switch(z.tagID){case be.HEAD:{x.openElements.pop(),x.insertionMode=sn.AFTER_HEAD;break}case be.BODY:case be.BR:case be.HTML:{ao(x,z);break}case be.TEMPLATE:{ti(x,z);break}default:x._err(z,Vt.endTagWithoutMatchingOpenElement)}}function ti(x,z){x.openElements.tmplCount>0?(x.openElements.generateImpliedEndTagsThoroughly(),x.openElements.currentTagId!==be.TEMPLATE&&x._err(z,Vt.closingOfElementWithOpenChildElements),x.openElements.popUntilTagNamePopped(be.TEMPLATE),x.activeFormattingElements.clearToLastMarker(),x.tmplInsertionModeStack.shift(),x._resetInsertionMode()):x._err(z,Vt.endTagWithoutMatchingOpenElement)}function ao(x,z){x.openElements.pop(),x.insertionMode=sn.AFTER_HEAD,x._processToken(z)}function co(x,z){switch(z.tagID){case be.HTML:{hi(x,z);break}case be.BASEFONT:case be.BGSOUND:case be.HEAD:case be.LINK:case be.META:case be.NOFRAMES:case be.STYLE:{ai(x,z);break}case be.NOSCRIPT:{x._err(z,Vt.nestedNoscriptInHead);break}default:Ii(x,z)}}function to(x,z){switch(z.tagID){case be.NOSCRIPT:{x.openElements.pop(),x.insertionMode=sn.IN_HEAD;break}case be.BR:{Ii(x,z);break}default:x._err(z,Vt.endTagWithoutMatchingOpenElement)}}function Ii(x,z){const we=z.type===xn.EOF?Vt.openElementsLeftAfterEof:Vt.disallowedContentInNoscriptInHead;x._err(z,we),x.openElements.pop(),x.insertionMode=sn.IN_HEAD,x._processToken(z)}function Ko(x,z){switch(z.tagID){case be.HTML:{hi(x,z);break}case be.BODY:{x._insertElement(z,Pt.HTML),x.framesetOk=!1,x.insertionMode=sn.IN_BODY;break}case be.FRAMESET:{x._insertElement(z,Pt.HTML),x.insertionMode=sn.IN_FRAMESET;break}case be.BASE:case be.BASEFONT:case be.BGSOUND:case be.LINK:case be.META:case be.NOFRAMES:case be.SCRIPT:case be.STYLE:case be.TEMPLATE:case be.TITLE:{x._err(z,Vt.abandonedHeadElementChild),x.openElements.push(x.headElement,be.HEAD),ai(x,z),x.openElements.remove(x.headElement);break}case be.HEAD:{x._err(z,Vt.misplacedStartTagForHeadElement);break}default:Ni(x,z)}}function Us(x,z){switch(z.tagID){case be.BODY:case be.HTML:case be.BR:{Ni(x,z);break}case be.TEMPLATE:{ti(x,z);break}default:x._err(z,Vt.endTagWithoutMatchingOpenElement)}}function Ni(x,z){x._insertFakeElement(Kt.BODY,be.BODY),x.insertionMode=sn.IN_BODY,Lo(x,z)}function Lo(x,z){switch(z.type){case xn.CHARACTER:{vo(x,z);break}case xn.WHITESPACE_CHARACTER:{go(x,z);break}case xn.COMMENT:{bi(x,z);break}case xn.START_TAG:{hi(x,z);break}case xn.END_TAG:{Os(x,z);break}case xn.EOF:{$s(x,z);break}default:}}function go(x,z){x._reconstructActiveFormattingElements(),x._insertCharacters(z)}function vo(x,z){x._reconstructActiveFormattingElements(),x._insertCharacters(z),x.framesetOk=!1}function Hs(x,z){x.openElements.tmplCount===0&&x.treeAdapter.adoptAttributes(x.openElements.items[0],z.attrs)}function Xs(x,z){const we=x.openElements.tryPeekProperlyNestedBodyElement();we&&x.openElements.tmplCount===0&&(x.framesetOk=!1,x.treeAdapter.adoptAttributes(we,z.attrs))}function Qs(x,z){const we=x.openElements.tryPeekProperlyNestedBodyElement();x.framesetOk&&we&&(x.treeAdapter.detachNode(we),x.openElements.popAllUpToHtmlElement(),x._insertElement(z,Pt.HTML),x.insertionMode=sn.IN_FRAMESET)}function ws(x,z){x.openElements.hasInButtonScope(be.P)&&x._closePElement(),x._insertElement(z,Pt.HTML)}function Is(x,z){x.openElements.hasInButtonScope(be.P)&&x._closePElement(),x.openElements.currentTagId!==void 0&&Xn.has(x.openElements.currentTagId)&&x.openElements.pop(),x._insertElement(z,Pt.HTML)}function Ns(x,z){x.openElements.hasInButtonScope(be.P)&&x._closePElement(),x._insertElement(z,Pt.HTML),x.skipNextNewLine=!0,x.framesetOk=!1}function hs(x,z){const we=x.openElements.tmplCount>0;(!x.formElement||we)&&(x.openElements.hasInButtonScope(be.P)&&x._closePElement(),x._insertElement(z,Pt.HTML),we||(x.formElement=x.openElements.current))}function ks(x,z){x.framesetOk=!1;const we=z.tagID;for(let Nt=x.openElements.stackTop;Nt>=0;Nt--){const Pn=x.openElements.tagIDs[Nt];if(we===be.LI&&Pn===be.LI||(we===be.DD||we===be.DT)&&(Pn===be.DD||Pn===be.DT)){x.openElements.generateImpliedEndTagsWithExclusion(Pn),x.openElements.popUntilTagNamePopped(Pn);break}if(Pn!==be.ADDRESS&&Pn!==be.DIV&&Pn!==be.P&&x._isSpecialElement(x.openElements.items[Nt],Pn))break}x.openElements.hasInButtonScope(be.P)&&x._closePElement(),x._insertElement(z,Pt.HTML)}function Js(x,z){x.openElements.hasInButtonScope(be.P)&&x._closePElement(),x._insertElement(z,Pt.HTML),x.tokenizer.state=Rr.PLAINTEXT}function Rs(x,z){x.openElements.hasInScope(be.BUTTON)&&(x.openElements.generateImpliedEndTags(),x.openElements.popUntilTagNamePopped(be.BUTTON)),x._reconstructActiveFormattingElements(),x._insertElement(z,Pt.HTML),x.framesetOk=!1}function Es(x,z){const we=x.activeFormattingElements.getElementEntryInScopeWithTagName(Kt.A);we&&(vi(x,z),x.openElements.remove(we.element),x.activeFormattingElements.removeEntry(we)),x._reconstructActiveFormattingElements(),x._insertElement(z,Pt.HTML),x.activeFormattingElements.pushElement(x.openElements.current,z)}function ms(x,z){x._reconstructActiveFormattingElements(),x._insertElement(z,Pt.HTML),x.activeFormattingElements.pushElement(x.openElements.current,z)}function Qi(x,z){x._reconstructActiveFormattingElements(),x.openElements.hasInScope(be.NOBR)&&(vi(x,z),x._reconstructActiveFormattingElements()),x._insertElement(z,Pt.HTML),x.activeFormattingElements.pushElement(x.openElements.current,z)}function Fi(x,z){x._reconstructActiveFormattingElements(),x._insertElement(z,Pt.HTML),x.activeFormattingElements.insertMarker(),x.framesetOk=!1}function ei(x,z){x.treeAdapter.getDocumentMode(x.document)!==sr.QUIRKS&&x.openElements.hasInButtonScope(be.P)&&x._closePElement(),x._insertElement(z,Pt.HTML),x.framesetOk=!1,x.insertionMode=sn.IN_TABLE}function Ha(x,z){x._reconstructActiveFormattingElements(),x._appendElement(z,Pt.HTML),x.framesetOk=!1,z.ackSelfClosing=!0}function Pi(x){const z=zn(x,on.TYPE);return z!=null&&z.toLowerCase()===ea}function Li(x,z){x._reconstructActiveFormattingElements(),x._appendElement(z,Pt.HTML),Pi(z)||(x.framesetOk=!1),z.ackSelfClosing=!0}function Mi(x,z){x._appendElement(z,Pt.HTML),z.ackSelfClosing=!0}function Zi(x,z){x.openElements.hasInButtonScope(be.P)&&x._closePElement(),x._appendElement(z,Pt.HTML),x.framesetOk=!1,z.ackSelfClosing=!0}function Zo(x,z){z.tagName=Kt.IMG,z.tagID=be.IMG,Ha(x,z)}function Co(x,z){x._insertElement(z,Pt.HTML),x.skipNextNewLine=!0,x.tokenizer.state=Rr.RCDATA,x.originalInsertionMode=x.insertionMode,x.framesetOk=!1,x.insertionMode=sn.TEXT}function ts(x,z){x.openElements.hasInButtonScope(be.P)&&x._closePElement(),x._reconstructActiveFormattingElements(),x.framesetOk=!1,x._switchToTextParsing(z,Rr.RAWTEXT)}function Si(x,z){x.framesetOk=!1,x._switchToTextParsing(z,Rr.RAWTEXT)}function Bi(x,z){x._switchToTextParsing(z,Rr.RAWTEXT)}function xo(x,z){x._reconstructActiveFormattingElements(),x._insertElement(z,Pt.HTML),x.framesetOk=!1,x.insertionMode=x.insertionMode===sn.IN_TABLE||x.insertionMode===sn.IN_CAPTION||x.insertionMode===sn.IN_TABLE_BODY||x.insertionMode===sn.IN_ROW||x.insertionMode===sn.IN_CELL?sn.IN_SELECT_IN_TABLE:sn.IN_SELECT}function _o(x,z){x.openElements.currentTagId===be.OPTION&&x.openElements.pop(),x._reconstructActiveFormattingElements(),x._insertElement(z,Pt.HTML)}function zs(x,z){x.openElements.hasInScope(be.RUBY)&&x.openElements.generateImpliedEndTags(),x._insertElement(z,Pt.HTML)}function rl(x,z){x.openElements.hasInScope(be.RUBY)&&x.openElements.generateImpliedEndTagsWithExclusion(be.RTC),x._insertElement(z,Pt.HTML)}function Gs(x,z){x._reconstructActiveFormattingElements(),sa(z),Aa(z),z.selfClosing?x._appendElement(z,Pt.MATHML):x._insertElement(z,Pt.MATHML),z.ackSelfClosing=!0}function Ao(x,z){x._reconstructActiveFormattingElements(),va(z),Aa(z),z.selfClosing?x._appendElement(z,Pt.SVG):x._insertElement(z,Pt.SVG),z.ackSelfClosing=!0}function Fo(x,z){x._reconstructActiveFormattingElements(),x._insertElement(z,Pt.HTML)}function hi(x,z){switch(z.tagID){case be.I:case be.S:case be.B:case be.U:case be.EM:case be.TT:case be.BIG:case be.CODE:case be.FONT:case be.SMALL:case be.STRIKE:case be.STRONG:{ms(x,z);break}case be.A:{Es(x,z);break}case be.H1:case be.H2:case be.H3:case be.H4:case be.H5:case be.H6:{Is(x,z);break}case be.P:case be.DL:case be.OL:case be.UL:case be.DIV:case be.DIR:case be.NAV:case be.MAIN:case be.MENU:case be.ASIDE:case be.CENTER:case be.FIGURE:case be.FOOTER:case be.HEADER:case be.HGROUP:case be.DIALOG:case be.DETAILS:case be.ADDRESS:case be.ARTICLE:case be.SEARCH:case be.SECTION:case be.SUMMARY:case be.FIELDSET:case be.BLOCKQUOTE:case be.FIGCAPTION:{ws(x,z);break}case be.LI:case be.DD:case be.DT:{ks(x,z);break}case be.BR:case be.IMG:case be.WBR:case be.AREA:case be.EMBED:case be.KEYGEN:{Ha(x,z);break}case be.HR:{Zi(x,z);break}case be.RB:case be.RTC:{zs(x,z);break}case be.RT:case be.RP:{rl(x,z);break}case be.PRE:case be.LISTING:{Ns(x,z);break}case be.XMP:{ts(x,z);break}case be.SVG:{Ao(x,z);break}case be.HTML:{Hs(x,z);break}case be.BASE:case be.LINK:case be.META:case be.STYLE:case be.TITLE:case be.SCRIPT:case be.BGSOUND:case be.BASEFONT:case be.TEMPLATE:{ai(x,z);break}case be.BODY:{Xs(x,z);break}case be.FORM:{hs(x,z);break}case be.NOBR:{Qi(x,z);break}case be.MATH:{Gs(x,z);break}case be.TABLE:{ei(x,z);break}case be.INPUT:{Li(x,z);break}case be.PARAM:case be.TRACK:case be.SOURCE:{Mi(x,z);break}case be.IMAGE:{Zo(x,z);break}case be.BUTTON:{Rs(x,z);break}case be.APPLET:case be.OBJECT:case be.MARQUEE:{Fi(x,z);break}case be.IFRAME:{Si(x,z);break}case be.SELECT:{xo(x,z);break}case be.OPTION:case be.OPTGROUP:{_o(x,z);break}case be.NOEMBED:case be.NOFRAMES:{Bi(x,z);break}case be.FRAMESET:{Qs(x,z);break}case be.TEXTAREA:{Co(x,z);break}case be.NOSCRIPT:{x.options.scriptingEnabled?Bi(x,z):Fo(x,z);break}case be.PLAINTEXT:{Js(x,z);break}case be.COL:case be.TH:case be.TD:case be.TR:case be.HEAD:case be.FRAME:case be.TBODY:case be.TFOOT:case be.THEAD:case be.CAPTION:case be.COLGROUP:break;default:Fo(x,z)}}function jo(x,z){if(x.openElements.hasInScope(be.BODY)&&(x.insertionMode=sn.AFTER_BODY,x.options.sourceCodeLocationInfo)){const we=x.openElements.tryPeekProperlyNestedBodyElement();we&&x._setEndLocation(we,z)}}function To(x,z){x.openElements.hasInScope(be.BODY)&&(x.insertionMode=sn.AFTER_BODY,qi(x,z))}function qs(x,z){const we=z.tagID;x.openElements.hasInScope(we)&&(x.openElements.generateImpliedEndTags(),x.openElements.popUntilTagNamePopped(we))}function fl(x){const z=x.openElements.tmplCount>0,{formElement:we}=x;z||(x.formElement=null),(we||z)&&x.openElements.hasInScope(be.FORM)&&(x.openElements.generateImpliedEndTags(),z?x.openElements.popUntilTagNamePopped(be.FORM):we&&x.openElements.remove(we))}function pl(x){x.openElements.hasInButtonScope(be.P)||x._insertFakeElement(Kt.P,be.P),x._closePElement()}function ys(x){x.openElements.hasInListItemScope(be.LI)&&(x.openElements.generateImpliedEndTagsWithExclusion(be.LI),x.openElements.popUntilTagNamePopped(be.LI))}function al(x,z){const we=z.tagID;x.openElements.hasInScope(we)&&(x.openElements.generateImpliedEndTagsWithExclusion(we),x.openElements.popUntilTagNamePopped(we))}function il(x){x.openElements.hasNumberedHeaderInScope()&&(x.openElements.generateImpliedEndTags(),x.openElements.popUntilNumberedHeaderPopped())}function gs(x,z){const we=z.tagID;x.openElements.hasInScope(we)&&(x.openElements.generateImpliedEndTags(),x.openElements.popUntilTagNamePopped(we),x.activeFormattingElements.clearToLastMarker())}function Ws(x){x._reconstructActiveFormattingElements(),x._insertFakeElement(Kt.BR,be.BR),x.openElements.pop(),x.framesetOk=!1}function Ds(x,z){const we=z.tagName,Nt=z.tagID;for(let Pn=x.openElements.stackTop;Pn>0;Pn--){const ur=x.openElements.items[Pn],Fr=x.openElements.tagIDs[Pn];if(Nt===Fr&&(Nt!==be.UNKNOWN||x.treeAdapter.getTagName(ur)===we)){x.openElements.generateImpliedEndTagsWithExclusion(Nt),x.openElements.stackTop>=Pn&&x.openElements.shortenToLength(Pn);break}if(x._isSpecialElement(ur,Fr))break}}function Os(x,z){switch(z.tagID){case be.A:case be.B:case be.I:case be.S:case be.U:case be.EM:case be.TT:case be.BIG:case be.CODE:case be.FONT:case be.NOBR:case be.SMALL:case be.STRIKE:case be.STRONG:{vi(x,z);break}case be.P:{pl(x);break}case be.DL:case be.UL:case be.OL:case be.DIR:case be.DIV:case be.NAV:case be.PRE:case be.MAIN:case be.MENU:case be.ASIDE:case be.BUTTON:case be.CENTER:case be.FIGURE:case be.FOOTER:case be.HEADER:case be.HGROUP:case be.DIALOG:case be.ADDRESS:case be.ARTICLE:case be.DETAILS:case be.SEARCH:case be.SECTION:case be.SUMMARY:case be.LISTING:case be.FIELDSET:case be.BLOCKQUOTE:case be.FIGCAPTION:{qs(x,z);break}case be.LI:{ys(x);break}case be.DD:case be.DT:{al(x,z);break}case be.H1:case be.H2:case be.H3:case be.H4:case be.H5:case be.H6:{il(x);break}case be.BR:{Ws(x);break}case be.BODY:{jo(x,z);break}case be.HTML:{To(x,z);break}case be.FORM:{fl(x);break}case be.APPLET:case be.OBJECT:case be.MARQUEE:{gs(x,z);break}case be.TEMPLATE:{ti(x,z);break}default:Ds(x,z)}}function $s(x,z){x.tmplInsertionModeStack.length>0?Ji(x,z):_a(x,z)}function Po(x,z){var we;z.tagID===be.SCRIPT&&((we=x.scriptHandler)===null||we===void 0||we.call(x,x.openElements.current)),x.openElements.pop(),x.insertionMode=x.originalInsertionMode}function Ls(x,z){x._err(z,Vt.eofInElementThatCanContainOnlyText),x.openElements.pop(),x.insertionMode=x.originalInsertionMode,x.onEof(z)}function _s(x,z){if(x.openElements.currentTagId!==void 0&&li.has(x.openElements.currentTagId))switch(x.pendingCharacterTokens.length=0,x.hasNonWhitespacePendingCharacterToken=!1,x.originalInsertionMode=x.insertionMode,x.insertionMode=sn.IN_TABLE_TEXT,z.type){case xn.CHARACTER:{Bo(x,z);break}case xn.WHITESPACE_CHARACTER:{rs(x,z);break}}else bo(x,z)}function Zs(x,z){x.openElements.clearBackToTableContext(),x.activeFormattingElements.insertMarker(),x._insertElement(z,Pt.HTML),x.insertionMode=sn.IN_CAPTION}function Ss(x,z){x.openElements.clearBackToTableContext(),x._insertElement(z,Pt.HTML),x.insertionMode=sn.IN_COLUMN_GROUP}function js(x,z){x.openElements.clearBackToTableContext(),x._insertFakeElement(Kt.COLGROUP,be.COLGROUP),x.insertionMode=sn.IN_COLUMN_GROUP,_i(x,z)}function el(x,z){x.openElements.clearBackToTableContext(),x._insertElement(z,Pt.HTML),x.insertionMode=sn.IN_TABLE_BODY}function Fs(x,z){x.openElements.clearBackToTableContext(),x._insertFakeElement(Kt.TBODY,be.TBODY),x.insertionMode=sn.IN_TABLE_BODY,Io(x,z)}function Vs(x,z){x.openElements.hasInTableScope(be.TABLE)&&(x.openElements.popUntilTagNamePopped(be.TABLE),x._resetInsertionMode(),x._processStartTag(z))}function ol(x,z){Pi(z)?x._appendElement(z,Pt.HTML):bo(x,z),z.ackSelfClosing=!0}function ns(x,z){!x.formElement&&x.openElements.tmplCount===0&&(x._insertElement(z,Pt.HTML),x.formElement=x.openElements.current,x.openElements.pop())}function Yo(x,z){switch(z.tagID){case be.TD:case be.TH:case be.TR:{Fs(x,z);break}case be.STYLE:case be.SCRIPT:case be.TEMPLATE:{ai(x,z);break}case be.COL:{js(x,z);break}case be.FORM:{ns(x,z);break}case be.TABLE:{Vs(x,z);break}case be.TBODY:case be.TFOOT:case be.THEAD:{el(x,z);break}case be.INPUT:{ol(x,z);break}case be.CAPTION:{Zs(x,z);break}case be.COLGROUP:{Ss(x,z);break}default:bo(x,z)}}function Ps(x,z){switch(z.tagID){case be.TABLE:{x.openElements.hasInTableScope(be.TABLE)&&(x.openElements.popUntilTagNamePopped(be.TABLE),x._resetInsertionMode());break}case be.TEMPLATE:{ti(x,z);break}case be.BODY:case be.CAPTION:case be.COL:case be.COLGROUP:case be.HTML:case be.TBODY:case be.TD:case be.TFOOT:case be.TH:case be.THEAD:case be.TR:break;default:bo(x,z)}}function bo(x,z){const we=x.fosterParentingEnabled;x.fosterParentingEnabled=!0,Lo(x,z),x.fosterParentingEnabled=we}function rs(x,z){x.pendingCharacterTokens.push(z)}function Bo(x,z){x.pendingCharacterTokens.push(z),x.hasNonWhitespacePendingCharacterToken=!0}function fo(x,z){let we=0;if(x.hasNonWhitespacePendingCharacterToken)for(;we<x.pendingCharacterTokens.length;we++)bo(x,x.pendingCharacterTokens[we]);else for(;we<x.pendingCharacterTokens.length;we++)x._insertCharacters(x.pendingCharacterTokens[we]);x.insertionMode=x.originalInsertionMode,x._processToken(z)}const wo=new Set([be.CAPTION,be.COL,be.COLGROUP,be.TBODY,be.TD,be.TFOOT,be.TH,be.THEAD,be.TR]);function Qa(x,z){const we=z.tagID;wo.has(we)?x.openElements.hasInTableScope(be.CAPTION)&&(x.openElements.generateImpliedEndTags(),x.openElements.popUntilTagNamePopped(be.CAPTION),x.activeFormattingElements.clearToLastMarker(),x.insertionMode=sn.IN_TABLE,Yo(x,z)):hi(x,z)}function Ya(x,z){const we=z.tagID;switch(we){case be.CAPTION:case be.TABLE:{x.openElements.hasInTableScope(be.CAPTION)&&(x.openElements.generateImpliedEndTags(),x.openElements.popUntilTagNamePopped(be.CAPTION),x.activeFormattingElements.clearToLastMarker(),x.insertionMode=sn.IN_TABLE,we===be.TABLE&&Ps(x,z));break}case be.BODY:case be.COL:case be.COLGROUP:case be.HTML:case be.TBODY:case be.TD:case be.TFOOT:case be.TH:case be.THEAD:case be.TR:break;default:Os(x,z)}}function _i(x,z){switch(z.tagID){case be.HTML:{hi(x,z);break}case be.COL:{x._appendElement(z,Pt.HTML),z.ackSelfClosing=!0;break}case be.TEMPLATE:{ai(x,z);break}default:ji(x,z)}}function Vi(x,z){switch(z.tagID){case be.COLGROUP:{x.openElements.currentTagId===be.COLGROUP&&(x.openElements.pop(),x.insertionMode=sn.IN_TABLE);break}case be.TEMPLATE:{ti(x,z);break}case be.COL:break;default:ji(x,z)}}function ji(x,z){x.openElements.currentTagId===be.COLGROUP&&(x.openElements.pop(),x.insertionMode=sn.IN_TABLE,x._processToken(z))}function Io(x,z){switch(z.tagID){case be.TR:{x.openElements.clearBackToTableBodyContext(),x._insertElement(z,Pt.HTML),x.insertionMode=sn.IN_ROW;break}case be.TH:case be.TD:{x.openElements.clearBackToTableBodyContext(),x._insertFakeElement(Kt.TR,be.TR),x.insertionMode=sn.IN_ROW,Uo(x,z);break}case be.CAPTION:case be.COL:case be.COLGROUP:case be.TBODY:case be.TFOOT:case be.THEAD:{x.openElements.hasTableBodyContextInTableScope()&&(x.openElements.clearBackToTableBodyContext(),x.openElements.pop(),x.insertionMode=sn.IN_TABLE,Yo(x,z));break}default:Yo(x,z)}}function Mo(x,z){const we=z.tagID;switch(z.tagID){case be.TBODY:case be.TFOOT:case be.THEAD:{x.openElements.hasInTableScope(we)&&(x.openElements.clearBackToTableBodyContext(),x.openElements.pop(),x.insertionMode=sn.IN_TABLE);break}case be.TABLE:{x.openElements.hasTableBodyContextInTableScope()&&(x.openElements.clearBackToTableBodyContext(),x.openElements.pop(),x.insertionMode=sn.IN_TABLE,Ps(x,z));break}case be.BODY:case be.CAPTION:case be.COL:case be.COLGROUP:case be.HTML:case be.TD:case be.TH:case be.TR:break;default:Ps(x,z)}}function Uo(x,z){switch(z.tagID){case be.TH:case be.TD:{x.openElements.clearBackToTableRowContext(),x._insertElement(z,Pt.HTML),x.insertionMode=sn.IN_CELL,x.activeFormattingElements.insertMarker();break}case be.CAPTION:case be.COL:case be.COLGROUP:case be.TBODY:case be.TFOOT:case be.THEAD:case be.TR:{x.openElements.hasInTableScope(be.TR)&&(x.openElements.clearBackToTableRowContext(),x.openElements.pop(),x.insertionMode=sn.IN_TABLE_BODY,Io(x,z));break}default:Yo(x,z)}}function No(x,z){switch(z.tagID){case be.TR:{x.openElements.hasInTableScope(be.TR)&&(x.openElements.clearBackToTableRowContext(),x.openElements.pop(),x.insertionMode=sn.IN_TABLE_BODY);break}case be.TABLE:{x.openElements.hasInTableScope(be.TR)&&(x.openElements.clearBackToTableRowContext(),x.openElements.pop(),x.insertionMode=sn.IN_TABLE_BODY,Mo(x,z));break}case be.TBODY:case be.TFOOT:case be.THEAD:{(x.openElements.hasInTableScope(z.tagID)||x.openElements.hasInTableScope(be.TR))&&(x.openElements.clearBackToTableRowContext(),x.openElements.pop(),x.insertionMode=sn.IN_TABLE_BODY,Mo(x,z));break}case be.BODY:case be.CAPTION:case be.COL:case be.COLGROUP:case be.HTML:case be.TD:case be.TH:break;default:Ps(x,z)}}function Xo(x,z){const we=z.tagID;wo.has(we)?(x.openElements.hasInTableScope(be.TD)||x.openElements.hasInTableScope(be.TH))&&(x._closeTableCell(),Uo(x,z)):hi(x,z)}function hl(x,z){const we=z.tagID;switch(we){case be.TD:case be.TH:{x.openElements.hasInTableScope(we)&&(x.openElements.generateImpliedEndTags(),x.openElements.popUntilTagNamePopped(we),x.activeFormattingElements.clearToLastMarker(),x.insertionMode=sn.IN_ROW);break}case be.TABLE:case be.TBODY:case be.TFOOT:case be.THEAD:case be.TR:{x.openElements.hasInTableScope(we)&&(x._closeTableCell(),No(x,z));break}case be.BODY:case be.CAPTION:case be.COL:case be.COLGROUP:case be.HTML:break;default:Os(x,z)}}function Il(x,z){switch(z.tagID){case be.HTML:{hi(x,z);break}case be.OPTION:{x.openElements.currentTagId===be.OPTION&&x.openElements.pop(),x._insertElement(z,Pt.HTML);break}case be.OPTGROUP:{x.openElements.currentTagId===be.OPTION&&x.openElements.pop(),x.openElements.currentTagId===be.OPTGROUP&&x.openElements.pop(),x._insertElement(z,Pt.HTML);break}case be.HR:{x.openElements.currentTagId===be.OPTION&&x.openElements.pop(),x.openElements.currentTagId===be.OPTGROUP&&x.openElements.pop(),x._appendElement(z,Pt.HTML),z.ackSelfClosing=!0;break}case be.INPUT:case be.KEYGEN:case be.TEXTAREA:case be.SELECT:{x.openElements.hasInSelectScope(be.SELECT)&&(x.openElements.popUntilTagNamePopped(be.SELECT),x._resetInsertionMode(),z.tagID!==be.SELECT&&x._processStartTag(z));break}case be.SCRIPT:case be.TEMPLATE:{ai(x,z);break}default:}}function Ol(x,z){switch(z.tagID){case be.OPTGROUP:{x.openElements.stackTop>0&&x.openElements.currentTagId===be.OPTION&&x.openElements.tagIDs[x.openElements.stackTop-1]===be.OPTGROUP&&x.openElements.pop(),x.openElements.currentTagId===be.OPTGROUP&&x.openElements.pop();break}case be.OPTION:{x.openElements.currentTagId===be.OPTION&&x.openElements.pop();break}case be.SELECT:{x.openElements.hasInSelectScope(be.SELECT)&&(x.openElements.popUntilTagNamePopped(be.SELECT),x._resetInsertionMode());break}case be.TEMPLATE:{ti(x,z);break}default:}}function Wl(x,z){const we=z.tagID;we===be.CAPTION||we===be.TABLE||we===be.TBODY||we===be.TFOOT||we===be.THEAD||we===be.TR||we===be.TD||we===be.TH?(x.openElements.popUntilTagNamePopped(be.SELECT),x._resetInsertionMode(),x._processStartTag(z)):Il(x,z)}function Zl(x,z){const we=z.tagID;we===be.CAPTION||we===be.TABLE||we===be.TBODY||we===be.TFOOT||we===be.THEAD||we===be.TR||we===be.TD||we===be.TH?x.openElements.hasInTableScope(we)&&(x.openElements.popUntilTagNamePopped(be.SELECT),x._resetInsertionMode(),x.onEndTag(z)):Ol(x,z)}function Ll(x,z){switch(z.tagID){case be.BASE:case be.BASEFONT:case be.BGSOUND:case be.LINK:case be.META:case be.NOFRAMES:case be.SCRIPT:case be.STYLE:case be.TEMPLATE:case be.TITLE:{ai(x,z);break}case be.CAPTION:case be.COLGROUP:case be.TBODY:case be.TFOOT:case be.THEAD:{x.tmplInsertionModeStack[0]=sn.IN_TABLE,x.insertionMode=sn.IN_TABLE,Yo(x,z);break}case be.COL:{x.tmplInsertionModeStack[0]=sn.IN_COLUMN_GROUP,x.insertionMode=sn.IN_COLUMN_GROUP,_i(x,z);break}case be.TR:{x.tmplInsertionModeStack[0]=sn.IN_TABLE_BODY,x.insertionMode=sn.IN_TABLE_BODY,Io(x,z);break}case be.TD:case be.TH:{x.tmplInsertionModeStack[0]=sn.IN_ROW,x.insertionMode=sn.IN_ROW,Uo(x,z);break}default:x.tmplInsertionModeStack[0]=sn.IN_BODY,x.insertionMode=sn.IN_BODY,hi(x,z)}}function ko(x,z){z.tagID===be.TEMPLATE&&ti(x,z)}function Ji(x,z){x.openElements.tmplCount>0?(x.openElements.popUntilTagNamePopped(be.TEMPLATE),x.activeFormattingElements.clearToLastMarker(),x.tmplInsertionModeStack.shift(),x._resetInsertionMode(),x.onEof(z)):_a(x,z)}function Eo(x,z){z.tagID===be.HTML?hi(x,z):Ks(x,z)}function qi(x,z){var we;if(z.tagID===be.HTML){if(x.fragmentContext||(x.insertionMode=sn.AFTER_AFTER_BODY),x.options.sourceCodeLocationInfo&&x.openElements.tagIDs[0]===be.HTML){x._setEndLocation(x.openElements.items[0],z);const Nt=x.openElements.items[1];Nt&&!(!((we=x.treeAdapter.getNodeSourceCodeLocation(Nt))===null||we===void 0)&&we.endTag)&&x._setEndLocation(Nt,z)}}else Ks(x,z)}function Ks(x,z){x.insertionMode=sn.IN_BODY,Lo(x,z)}function ml(x,z){switch(z.tagID){case be.HTML:{hi(x,z);break}case be.FRAMESET:{x._insertElement(z,Pt.HTML);break}case be.FRAME:{x._appendElement(z,Pt.HTML),z.ackSelfClosing=!0;break}case be.NOFRAMES:{ai(x,z);break}default:}}function Cs(x,z){z.tagID===be.FRAMESET&&!x.openElements.isRootHtmlElementCurrent()&&(x.openElements.pop(),!x.fragmentContext&&x.openElements.currentTagId!==be.FRAMESET&&(x.insertionMode=sn.AFTER_FRAMESET))}function sl(x,z){switch(z.tagID){case be.HTML:{hi(x,z);break}case be.NOFRAMES:{ai(x,z);break}default:}}function Nl(x,z){z.tagID===be.HTML&&(x.insertionMode=sn.AFTER_AFTER_FRAMESET)}function jl(x,z){z.tagID===be.HTML?hi(x,z):ie(x,z)}function ie(x,z){x.insertionMode=sn.IN_BODY,Lo(x,z)}function Ce(x,z){switch(z.tagID){case be.HTML:{hi(x,z);break}case be.NOFRAMES:{ai(x,z);break}default:}}function Ne(x,z){z.chars=At,x._insertCharacters(z)}function We(x,z){x._insertCharacters(z),x.framesetOk=!1}function dt(x){for(;x.treeAdapter.getNamespaceURI(x.openElements.current)!==Pt.HTML&&x.openElements.currentTagId!==void 0&&!x._isIntegrationPoint(x.openElements.currentTagId,x.openElements.current);)x.openElements.pop()}function ft(x,z){if(jr(z))dt(x),x._startTagOutsideForeignContent(z);else{const we=x._getAdjustedCurrentElement(),Nt=x.treeAdapter.getNamespaceURI(we);Nt===Pt.MATHML?sa(z):Nt===Pt.SVG&&(Sa(z),va(z)),Aa(z),z.selfClosing?x._appendElement(z,Nt):x._insertElement(z,Nt),z.ackSelfClosing=!0}}function Dt(x,z){if(z.tagID===be.P||z.tagID===be.BR){dt(x),x._endTagOutsideForeignContent(z);return}for(let we=x.openElements.stackTop;we>0;we--){const Nt=x.openElements.items[we];if(x.treeAdapter.getNamespaceURI(Nt)===Pt.HTML){x._endTagOutsideForeignContent(z);break}const Pn=x.treeAdapter.getTagName(Nt);if(Pn.toLowerCase()===z.tagName){z.tagName=Pn,x.openElements.shortenToLength(we);break}}}const Xt=/["$&'<>\u0080-\uFFFF]/g,Wn=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),Un=String.prototype.codePointAt==null?(x,z)=>(x.charCodeAt(z)&64512)===55296?(x.charCodeAt(z)-55296)*1024+x.charCodeAt(z+1)-56320+65536:x.charCodeAt(z):(x,z)=>x.codePointAt(z);function En(x){let z="",we=0,Nt;for(;(Nt=Xt.exec(x))!==null;){const{index:Pn}=Nt,ur=x.charCodeAt(Pn),Fr=Wn.get(ur);Fr===void 0?(z+=`${x.substring(we,Pn)}&#x${Un(x,Pn).toString(16)};`,we=Xt.lastIndex+=+((ur&64512)===55296)):(z+=x.substring(we,Pn)+Fr,we=Pn+1)}return z+x.substr(we)}const rr=null;function Jn(x,z){return function(Nt){let Pn,ur=0,Fr="";for(;Pn=x.exec(Nt);)ur!==Pn.index&&(Fr+=Nt.substring(ur,Pn.index)),Fr+=z.get(Pn[0].charCodeAt(0)),ur=Pn.index+1;return Fr+Nt.substring(ur)}}const kn=null,Oa=Jn(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),qa=Jn(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]])),ci=new Set([Kt.AREA,Kt.BASE,Kt.BASEFONT,Kt.BGSOUND,Kt.BR,Kt.COL,Kt.EMBED,Kt.FRAME,Kt.HR,Kt.IMG,Kt.INPUT,Kt.KEYGEN,Kt.LINK,Kt.META,Kt.PARAM,Kt.SOURCE,Kt.TRACK,Kt.WBR]);function na(x,z){return z.treeAdapter.isElementNode(x)&&z.treeAdapter.getNamespaceURI(x)===NS.HTML&&ci.has(z.treeAdapter.getTagName(x))}const ba={treeAdapter:er,scriptingEnabled:!0};function Na(x,z){const we=$a($a({},ba),z);return na(x,we)?"":Ci(x,we)}function Ai(x,z){const we=$a($a({},ba),z);return Vr(x,we)}function Ci(x,z){let we="";const Nt=z.treeAdapter.isElementNode(x)&&z.treeAdapter.getTagName(x)===$.TEMPLATE&&z.treeAdapter.getNamespaceURI(x)===NS.HTML?z.treeAdapter.getTemplateContent(x):x,Pn=z.treeAdapter.getChildNodes(Nt);if(Pn)for(const ur of Pn)we+=Vr(ur,z);return we}function Vr(x,z){return z.treeAdapter.isElementNode(x)?di(x,z):z.treeAdapter.isTextNode(x)?Ti(x,z):z.treeAdapter.isCommentNode(x)?ki(x,z):z.treeAdapter.isDocumentTypeNode(x)?yo(x,z):""}function di(x,z){const we=z.treeAdapter.getTagName(x);return`<${we}${Yi(x,z)}>${na(x,z)?"":`${Ci(x,z)}</${we}>`}`}function Yi(x,{treeAdapter:z}){let we="";for(const Nt of z.getAttrList(x)){if(we+=" ",Nt.namespace)switch(Nt.namespace){case NS.XML:{we+=`xml:${Nt.name}`;break}case NS.XMLNS:{Nt.name!=="xmlns"&&(we+="xmlns:"),we+=Nt.name;break}case NS.XLINK:{we+=`xlink:${Nt.name}`;break}default:we+=`${Nt.prefix}:${Nt.name}`}else we+=Nt.name;we+=`="${escapeAttribute(Nt.value)}"`}return we}function Ti(x,z){const{treeAdapter:we}=z,Nt=we.getTextNodeContent(x),Pn=we.getParentNode(x),ur=Pn&&we.isElementNode(Pn)&&we.getTagName(Pn);return ur&&we.getNamespaceURI(Pn)===NS.HTML&&hasUnescapedText(ur,z.scriptingEnabled)?Nt:escapeText(Nt)}function ki(x,{treeAdapter:z}){return`<!--${z.getCommentNodeContent(x)}-->`}function yo(x,{treeAdapter:z}){return`<!DOCTYPE ${z.getDocumentTypeNodeName(x)}>`}function Ri(x,z){return Parser.parse(x,z)}function Wa(x,z,we){typeof x=="string"&&(we=z,z=x,x=null);const Nt=Parser.getFragmentParser(x,we);return Nt.tokenizer.write(z,!0),Nt.getFragment()}var ja=E(17970),ii=E(10528);const zi=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,no=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Ro={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Ho(x,z){const we=Ts(x),Nt=Qe("type",{handlers:{root:zo,element:as,text:Vn,comment:ll,doctype:Vo,raw:gl},unknown:po}),Pn={parser:we?new Wi(Ro):Wi.getFragmentParser(void 0,Ro),handle(Ea){Nt(Ea,Pn)},stitches:!1,options:z||{}};Nt(x,Pn),Jo(Pn,(0,ja.Pk)());const ur=we?Pn.parser.document:Pn.parser.getFragment(),Fr=Ae(ur,{file:Pn.options.file});return Pn.stitches&&(0,ii.Vn)(Fr,"comment",function(Ea,Za,Er){const Qr=Ea;if(Qr.value.stitch&&Er&&Za!==void 0){const Va=Er.children;return Va[Za]=Qr.value.stitch,Za}}),Fr.type==="root"&&Fr.children.length===1&&Fr.children[0].type===x.type?Fr.children[0]:Fr}function Zn(x,z){let we=-1;if(x)for(;++we<x.length;)z.handle(x[we])}function zo(x,z){Zn(x.children,z)}function as(x,z){xs(x,z),Zn(x.children,z),As(x,z)}function Vn(x,z){z.parser.tokenizer.state>4&&(z.parser.tokenizer.state=0);const we={type:xn.CHARACTER,chars:x.value,location:qo(x)};Jo(z,(0,ja.Pk)(x)),z.parser.currentToken=we,z.parser._processToken(z.parser.currentToken)}function Vo(x,z){const we={type:xn.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:qo(x)};Jo(z,(0,ja.Pk)(x)),z.parser.currentToken=we,z.parser._processToken(z.parser.currentToken)}function Qo(x,z){z.stitches=!0;const we=ul(x);if("children"in x&&"children"in we){const Nt=Ho({type:"root",children:x.children},z.options);we.children=Nt.children}ll({type:"comment",value:{stitch:we}},z)}function ll(x,z){const we=x.value,Nt={type:xn.COMMENT,data:we,location:qo(x)};Jo(z,(0,ja.Pk)(x)),z.parser.currentToken=Nt,z.parser._processToken(z.parser.currentToken)}function gl(x,z){if(z.parser.tokenizer.preprocessor.html="",z.parser.tokenizer.preprocessor.pos=-1,z.parser.tokenizer.preprocessor.lastGapPos=-2,z.parser.tokenizer.preprocessor.gapStack=[],z.parser.tokenizer.preprocessor.skipNextNewLine=!1,z.parser.tokenizer.preprocessor.lastChunkWritten=!1,z.parser.tokenizer.preprocessor.endOfChunkHit=!1,z.parser.tokenizer.preprocessor.isEol=!1,Do(z,(0,ja.Pk)(x)),z.parser.tokenizer.write(z.options.tagfilter?x.value.replace(zi,"&lt;$1$2"):x.value,!1),z.parser.tokenizer._runParsingLoop(),z.parser.tokenizer.state===72||z.parser.tokenizer.state===78){z.parser.tokenizer.preprocessor.lastChunkWritten=!0;const we=z.parser.tokenizer._consume();z.parser.tokenizer._callState(we)}}function po(x,z){const we=x;if(z.options.passThrough&&z.options.passThrough.includes(we.type))Qo(we,z);else{let Nt="";throw no.has(we.type)&&(Nt=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+we.type+"` node"+Nt)}}function Jo(x,z){Do(x,z);const we=x.parser.tokenizer.currentCharacterToken;we&&we.location&&(we.location.endLine=x.parser.tokenizer.preprocessor.line,we.location.endCol=x.parser.tokenizer.preprocessor.col+1,we.location.endOffset=x.parser.tokenizer.preprocessor.offset+1,x.parser.currentToken=we,x.parser._processToken(x.parser.currentToken)),x.parser.tokenizer.paused=!1,x.parser.tokenizer.inLoop=!1,x.parser.tokenizer.active=!1,x.parser.tokenizer.returnState=Rr.DATA,x.parser.tokenizer.charRefCode=-1,x.parser.tokenizer.consumedAfterSnapshot=-1,x.parser.tokenizer.currentLocation=null,x.parser.tokenizer.currentCharacterToken=null,x.parser.tokenizer.currentToken=null,x.parser.tokenizer.currentAttr={name:"",value:""}}function Do(x,z){if(z&&z.offset!==void 0){const we={startLine:z.line,startCol:z.column,startOffset:z.offset,endLine:-1,endCol:-1,endOffset:-1};x.parser.tokenizer.preprocessor.lineStartPos=-z.column+1,x.parser.tokenizer.preprocessor.droppedBufferSize=z.offset,x.parser.tokenizer.preprocessor.line=z.line,x.parser.tokenizer.currentLocation=we}}function xs(x,z){const we=x.tagName.toLowerCase();if(z.parser.tokenizer.state===Rr.PLAINTEXT)return;Jo(z,(0,ja.Pk)(x));const Nt=z.parser.openElements.current;let Pn="namespaceURI"in Nt?Nt.namespaceURI:Se.t.html;Pn===Se.t.html&&we==="svg"&&(Pn=Se.t.svg);const ur=gt(su($a({},x),{children:[]}),{space:Pn===Se.t.svg?"svg":"html"}),Fr={type:xn.START_TAG,tagName:we,tagID:yr(we),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in ur?ur.attrs:[],location:qo(x)};z.parser.currentToken=Fr,z.parser._processToken(z.parser.currentToken),z.parser.tokenizer.lastStartTagName=we}function As(x,z){const we=x.tagName.toLowerCase();if(!z.parser.tokenizer.inForeignNode&&vt.includes(we)||z.parser.tokenizer.state===Rr.PLAINTEXT)return;Jo(z,(0,ja.rb)(x));const Nt={type:xn.END_TAG,tagName:we,tagID:yr(we),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:qo(x)};z.parser.currentToken=Nt,z.parser._processToken(z.parser.currentToken),we===z.parser.tokenizer.lastStartTagName&&(z.parser.tokenizer.state===Rr.RCDATA||z.parser.tokenizer.state===Rr.RAWTEXT||z.parser.tokenizer.state===Rr.SCRIPT_DATA)&&(z.parser.tokenizer.state=Rr.DATA)}function Ts(x){const z=x.type==="root"?x.children[0]:x;return!!(z&&(z.type==="doctype"||z.type==="element"&&z.tagName.toLowerCase()==="html"))}function qo(x){const z=(0,ja.Pk)(x)||{line:void 0,column:void 0,offset:void 0},we=(0,ja.rb)(x)||{line:void 0,column:void 0,offset:void 0};return{startLine:z.line,startCol:z.column,startOffset:z.offset,endLine:we.line,endCol:we.column,endOffset:we.offset}}function ul(x){return"children"in x?(0,ue.ZP)(su($a({},x),{children:[]})):(0,ue.ZP)(x)}function _l(x){return function(z,we){return Ho(z,su($a({},x),{file:we}))}}},10787:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return he}});function b(Ve){if(typeof Ve!="string")throw new TypeError("Expected a string");return Ve.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var ue=E(2348),le=E(10502);function ce(Ve,Ae,ct){const Ke=ct||{},qe=(0,le.O)(Ke.ignore||[]),Me=ge(Ae);let ze=-1;for(;++ze<Me.length;)(0,ue.S4)(Ve,"text",Ze);function Ze(Pe,ke){let Re=-1,Te;for(;++Re<ke.length;){const Ye=ke[Re],lt=Te?Te.children:void 0;if(qe(Ye,lt?lt.indexOf(Ye):void 0,Te))return;Te=Ye}if(Te)return Le(Pe,ke)}function Le(Pe,ke){const Re=ke[ke.length-1],Te=Me[ze][0],Ye=Me[ze][1];let lt=0;const tt=Re.children.indexOf(Pe);let $e=!1,Ue=[];Te.lastIndex=0;let Xe=Te.exec(Pe.value);for(;Xe;){const et=Xe.index,rt={index:Xe.index,input:Xe.input,stack:[...ke,Pe]};let ht=Ye(...Xe,rt);if(typeof ht=="string"&&(ht=ht.length>0?{type:"text",value:ht}:void 0),ht===!1?Te.lastIndex=et+1:(lt!==et&&Ue.push({type:"text",value:Pe.value.slice(lt,et)}),Array.isArray(ht)?Ue.push(...ht):ht&&Ue.push(ht),lt=et+Xe[0].length,$e=!0),!Te.global)break;Xe=Te.exec(Pe.value)}return $e?(lt<Pe.value.length&&Ue.push({type:"text",value:Pe.value.slice(lt)}),Re.children.splice(tt,1,...Ue)):Ue=[Pe],tt+Ue.length}}function ge(Ve){const Ae=[];if(!Array.isArray(Ve))throw new TypeError("Expected find and replace tuple or list of tuples");const ct=!Ve[0]||Array.isArray(Ve[0])?Ve:[Ve];let Ke=-1;for(;++Ke<ct.length;){const qe=ct[Ke];Ae.push([oe(qe[0]),xe(qe[1])])}return Ae}function oe(Ve){return typeof Ve=="string"?new RegExp(b(Ve),"g"):Ve}function xe(Ve){return typeof Ve=="function"?Ve:function(){return Ve}}function Oe(Ve){ce(Ve,[/\r?\n|\r/g,Se])}function Se(){return{type:"break"}}function he(){return function(Ve){Oe(Ve)}}},30084:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return Me}});var b=E(87342);function ue(ze,Ze){const Le=String(ze);let Pe=Le.indexOf(Ze),ke=Pe,Re=0,Te=0;if(typeof Ze!="string")throw new TypeError("Expected substring");for(;Pe!==-1;)Pe===ke?++Re>Te&&(Te=Re):Re=1,ke=Pe+Ze.length,Pe=Le.indexOf(Ze,ke);return Te}function le(){return{enter:{mathFlow:ze,mathFlowFenceMeta:Ze,mathText:Re},exit:{mathFlow:ke,mathFlowFence:Pe,mathFlowFenceMeta:Le,mathFlowValue:Ye,mathText:Te,mathTextData:Ye}};function ze(lt){const Fe={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[Fe]}},lt)}function Ze(){this.buffer()}function Le(){const lt=this.resume(),Fe=this.stack[this.stack.length-1];(0,b.ok)(Fe.type==="math"),Fe.meta=lt}function Pe(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function ke(lt){const Fe=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),tt=this.stack[this.stack.length-1];(0,b.ok)(tt.type==="math"),this.exit(lt),tt.value=Fe;const $e=tt.data.hChildren[0];(0,b.ok)($e.type==="element"),(0,b.ok)($e.tagName==="code"),$e.children.push({type:"text",value:Fe}),this.data.mathFlowInside=void 0}function Re(lt){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},lt),this.buffer()}function Te(lt){const Fe=this.resume(),tt=this.stack[this.stack.length-1];(0,b.ok)(tt.type==="inlineMath"),this.exit(lt),tt.value=Fe,tt.data.hChildren.push({type:"text",value:Fe})}function Ye(lt){this.config.enter.data.call(this,lt),this.config.exit.data.call(this,lt)}}function ce(ze){let Ze=(ze||{}).singleDollarTextMath;return Ze==null&&(Ze=!0),Pe.peek=ke,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
`,inConstruct:"mathFlowMeta"},{character:"$",after:Ze?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:Le,inlineMath:Pe}};function Le(Re,Te,Ye,lt){const Fe=Re.value||"",tt=Ye.createTracker(lt),$e="$".repeat(Math.max(ue(Fe,"$")+1,2)),Ue=Ye.enter("mathFlow");let Xe=tt.move($e);if(Re.meta){const et=Ye.enter("mathFlowMeta");Xe+=tt.move(Ye.safe(Re.meta,$a({after:`
`,before:Xe,encode:["$"]},tt.current()))),et()}return Xe+=tt.move(`
`),Fe&&(Xe+=tt.move(Fe+`
`)),Xe+=tt.move($e),Ue(),Xe}function Pe(Re,Te,Ye){let lt=Re.value||"",Fe=1;for(Ze||Fe++;new RegExp("(^|[^$])"+"\\$".repeat(Fe)+"([^$]|$)").test(lt);)Fe++;const tt="$".repeat(Fe);/[^ \r\n]/.test(lt)&&(/^[ \r\n]/.test(lt)&&/[ \r\n]$/.test(lt)||/^\$|\$$/.test(lt))&&(lt=" "+lt+" ");let $e=-1;for(;++$e<Ye.unsafe.length;){const Ue=Ye.unsafe[$e];if(!Ue.atBreak)continue;const Xe=Ye.compilePattern(Ue);let et;for(;et=Xe.exec(lt);){let rt=et.index;lt.codePointAt(rt)===10&&lt.codePointAt(rt-1)===13&&rt--,lt=lt.slice(0,rt)+" "+lt.slice(et.index+1)}}return tt+lt+tt}function ke(){return"$"}}var ge=E(26735),oe=E(80722);const xe={tokenize:Se,concrete:!0,name:"mathFlow"},Oe={tokenize:he,partial:!0};function Se(ze,Ze,Le){const Pe=this,ke=Pe.events[Pe.events.length-1],Re=ke&&ke[1].type==="linePrefix"?ke[2].sliceSerialize(ke[1],!0).length:0;let Te=0;return Ye;function Ye(St){return ze.enter("mathFlow"),ze.enter("mathFlowFence"),ze.enter("mathFlowFenceSequence"),lt(St)}function lt(St){return St===36?(ze.consume(St),Te++,lt):Te<2?Le(St):(ze.exit("mathFlowFenceSequence"),(0,ge.f)(ze,Fe,"whitespace")(St))}function Fe(St){return St===null||(0,oe.Ch)(St)?$e(St):(ze.enter("mathFlowFenceMeta"),ze.enter("chunkString",{contentType:"string"}),tt(St))}function tt(St){return St===null||(0,oe.Ch)(St)?(ze.exit("chunkString"),ze.exit("mathFlowFenceMeta"),$e(St)):St===36?Le(St):(ze.consume(St),tt)}function $e(St){return ze.exit("mathFlowFence"),Pe.interrupt?Ze(St):ze.attempt(Oe,Ue,ht)(St)}function Ue(St){return ze.attempt({tokenize:kt,partial:!0},ht,Xe)(St)}function Xe(St){return(Re?(0,ge.f)(ze,et,"linePrefix",Re+1):et)(St)}function et(St){return St===null?ht(St):(0,oe.Ch)(St)?ze.attempt(Oe,Ue,ht)(St):(ze.enter("mathFlowValue"),rt(St))}function rt(St){return St===null||(0,oe.Ch)(St)?(ze.exit("mathFlowValue"),et(St)):(ze.consume(St),rt)}function ht(St){return ze.exit("mathFlow"),Ze(St)}function kt(St,Gt,nt){let je=0;return(0,ge.f)(St,Be,"linePrefix",Pe.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function Be(ot){return St.enter("mathFlowFence"),St.enter("mathFlowFenceSequence"),wt(ot)}function wt(ot){return ot===36?(je++,St.consume(ot),wt):je<Te?nt(ot):(St.exit("mathFlowFenceSequence"),(0,ge.f)(St,Ot,"whitespace")(ot))}function Ot(ot){return ot===null||(0,oe.Ch)(ot)?(St.exit("mathFlowFence"),Gt(ot)):nt(ot)}}}function he(ze,Ze,Le){const Pe=this;return ke;function ke(Te){return Te===null?Ze(Te):(ze.enter("lineEnding"),ze.consume(Te),ze.exit("lineEnding"),Re)}function Re(Te){return Pe.parser.lazy[Pe.now().line]?Le(Te):Ze(Te)}}function Ve(ze){let Le=(ze||{}).singleDollarTextMath;return Le==null&&(Le=!0),{tokenize:Pe,resolve:Ae,previous:ct,name:"mathText"};function Pe(ke,Re,Te){const Ye=this;let lt=0,Fe,tt;return $e;function $e(ht){return ke.enter("mathText"),ke.enter("mathTextSequence"),Ue(ht)}function Ue(ht){return ht===36?(ke.consume(ht),lt++,Ue):lt<2&&!Le?Te(ht):(ke.exit("mathTextSequence"),Xe(ht))}function Xe(ht){return ht===null?Te(ht):ht===36?(tt=ke.enter("mathTextSequence"),Fe=0,rt(ht)):ht===32?(ke.enter("space"),ke.consume(ht),ke.exit("space"),Xe):(0,oe.Ch)(ht)?(ke.enter("lineEnding"),ke.consume(ht),ke.exit("lineEnding"),Xe):(ke.enter("mathTextData"),et(ht))}function et(ht){return ht===null||ht===32||ht===36||(0,oe.Ch)(ht)?(ke.exit("mathTextData"),Xe(ht)):(ke.consume(ht),et)}function rt(ht){return ht===36?(ke.consume(ht),Fe++,rt):Fe===lt?(ke.exit("mathTextSequence"),ke.exit("mathText"),Re(ht)):(tt.type="mathTextData",et(ht))}}}function Ae(ze){let Ze=ze.length-4,Le=3,Pe,ke;if((ze[Le][1].type==="lineEnding"||ze[Le][1].type==="space")&&(ze[Ze][1].type==="lineEnding"||ze[Ze][1].type==="space")){for(Pe=Le;++Pe<Ze;)if(ze[Pe][1].type==="mathTextData"){ze[Ze][1].type="mathTextPadding",ze[Le][1].type="mathTextPadding",Le+=2,Ze-=2;break}}for(Pe=Le-1,Ze++;++Pe<=Ze;)ke===void 0?Pe!==Ze&&ze[Pe][1].type!=="lineEnding"&&(ke=Pe):(Pe===Ze||ze[Pe][1].type==="lineEnding")&&(ze[ke][1].type="mathTextData",Pe!==ke+2&&(ze[ke][1].end=ze[Pe-1][1].end,ze.splice(ke+2,Pe-ke-2),Ze-=Pe-ke-2,Pe=ke+2),ke=void 0);return ze}function ct(ze){return ze!==36||this.events[this.events.length-1][1].type==="characterEscape"}function Ke(ze){return{flow:{36:xe},text:{36:Ve(ze)}}}const qe={};function Me(ze){const Ze=this,Le=ze||qe,Pe=Ze.data(),ke=Pe.micromarkExtensions||(Pe.micromarkExtensions=[]),Re=Pe.fromMarkdownExtensions||(Pe.fromMarkdownExtensions=[]),Te=Pe.toMarkdownExtensions||(Pe.toMarkdownExtensions=[]);ke.push(Ke(Le)),Re.push(le()),Te.push(ce(Le))}},16722:function(me,ne,E){"use strict";E.d(ne,{Z:function(){return Oe}});const b=Se=>typeof Se=="object"&&Se!=null&&Se.nodeType===1,ue=(Se,he)=>(!he||Se!=="hidden")&&Se!=="visible"&&Se!=="clip",le=(Se,he)=>{if(Se.clientHeight<Se.scrollHeight||Se.clientWidth<Se.scrollWidth){const Ve=getComputedStyle(Se,null);return ue(Ve.overflowY,he)||ue(Ve.overflowX,he)||(Ae=>{const ct=(Ke=>{if(!Ke.ownerDocument||!Ke.ownerDocument.defaultView)return null;try{return Ke.ownerDocument.defaultView.frameElement}catch(qe){return null}})(Ae);return!!ct&&(ct.clientHeight<Ae.scrollHeight||ct.clientWidth<Ae.scrollWidth)})(Se)}return!1},ce=(Se,he,Ve,Ae,ct,Ke,qe,Me)=>Ke<Se&&qe>he||Ke>Se&&qe<he?0:Ke<=Se&&Me<=Ve||qe>=he&&Me>=Ve?Ke-Se-Ae:qe>he&&Me<Ve||Ke<Se&&Me>Ve?qe-he+ct:0,ge=Se=>{const he=Se.parentElement;return he==null?Se.getRootNode().host||null:he},oe=(Se,he)=>{var Ve,Ae,ct,Ke;if(typeof document=="undefined")return[];const{scrollMode:qe,block:Me,inline:ze,boundary:Ze,skipOverflowHiddenElements:Le}=he,Pe=typeof Ze=="function"?Ze:Ot=>Ot!==Ze;if(!b(Se))throw new TypeError("Invalid target");const ke=document.scrollingElement||document.documentElement,Re=[];let Te=Se;for(;b(Te)&&Pe(Te);){if(Te=ge(Te),Te===ke){Re.push(Te);break}Te!=null&&Te===document.body&&le(Te)&&!le(document.documentElement)||Te!=null&&le(Te,Le)&&Re.push(Te)}const Ye=(Ae=(Ve=window.visualViewport)==null?void 0:Ve.width)!=null?Ae:innerWidth,lt=(Ke=(ct=window.visualViewport)==null?void 0:ct.height)!=null?Ke:innerHeight,{scrollX:Fe,scrollY:tt}=window,{height:$e,width:Ue,top:Xe,right:et,bottom:rt,left:ht}=Se.getBoundingClientRect(),{top:kt,right:St,bottom:Gt,left:nt}=(Ot=>{const ot=window.getComputedStyle(Ot);return{top:parseFloat(ot.scrollMarginTop)||0,right:parseFloat(ot.scrollMarginRight)||0,bottom:parseFloat(ot.scrollMarginBottom)||0,left:parseFloat(ot.scrollMarginLeft)||0}})(Se);let je=Me==="start"||Me==="nearest"?Xe-kt:Me==="end"?rt+Gt:Xe+$e/2-kt+Gt,Be=ze==="center"?ht+Ue/2-nt+St:ze==="end"?et+St:ht-nt;const wt=[];for(let Ot=0;Ot<Re.length;Ot++){const ot=Re[Ot],{height:zt,width:Ut,top:pn,right:bt,bottom:Yt,left:Bt}=ot.getBoundingClientRect();if(qe==="if-needed"&&Xe>=0&&ht>=0&&rt<=lt&&et<=Ye&&(ot===ke&&!le(ot)||Xe>=pn&&rt<=Yt&&ht>=Bt&&et<=bt))return wt;const $t=getComputedStyle(ot),cn=parseInt($t.borderLeftWidth,10),Ie=parseInt($t.borderTopWidth,10),pe=parseInt($t.borderRightWidth,10),de=parseInt($t.borderBottomWidth,10);let Ee=0,De=0;const fe="offsetWidth"in ot?ot.offsetWidth-ot.clientWidth-cn-pe:0,Qe="offsetHeight"in ot?ot.offsetHeight-ot.clientHeight-Ie-de:0,Mt="offsetWidth"in ot?ot.offsetWidth===0?0:Ut/ot.offsetWidth:0,an="offsetHeight"in ot?ot.offsetHeight===0?0:zt/ot.offsetHeight:0;if(ke===ot)Ee=Me==="start"?je:Me==="end"?je-lt:Me==="nearest"?ce(tt,tt+lt,lt,Ie,de,tt+je,tt+je+$e,$e):je-lt/2,De=ze==="start"?Be:ze==="center"?Be-Ye/2:ze==="end"?Be-Ye:ce(Fe,Fe+Ye,Ye,cn,pe,Fe+Be,Fe+Be+Ue,Ue),Ee=Math.max(0,Ee+tt),De=Math.max(0,De+Fe);else{Ee=Me==="start"?je-pn-Ie:Me==="end"?je-Yt+de+Qe:Me==="nearest"?ce(pn,Yt,zt,Ie,de+Qe,je,je+$e,$e):je-(pn+zt/2)+Qe/2,De=ze==="start"?Be-Bt-cn:ze==="center"?Be-(Bt+Ut/2)+fe/2:ze==="end"?Be-bt+pe+fe:ce(Bt,bt,Ut,cn,pe+fe,Be,Be+Ue,Ue);const{scrollLeft:Sn,scrollTop:gt}=ot;Ee=an===0?0:Math.max(0,Math.min(gt+Ee/an,ot.scrollHeight-zt/an+Qe)),De=Mt===0?0:Math.max(0,Math.min(Sn+De/Mt,ot.scrollWidth-Ut/Mt+fe)),je+=gt-Ee,Be+=Sn-De}wt.push({el:ot,top:Ee,left:De})}return wt},xe=Se=>Se===!1?{block:"end",inline:"nearest"}:(he=>he===Object(he)&&Object.keys(he).length!==0)(Se)?Se:{block:"start",inline:"nearest"};function Oe(Se,he){if(!Se.isConnected||!(ct=>{let Ke=ct;for(;Ke&&Ke.parentNode;){if(Ke.parentNode===document)return!0;Ke=Ke.parentNode instanceof ShadowRoot?Ke.parentNode.host:Ke.parentNode}return!1})(Se))return;const Ve=(ct=>{const Ke=window.getComputedStyle(ct);return{top:parseFloat(Ke.scrollMarginTop)||0,right:parseFloat(Ke.scrollMarginRight)||0,bottom:parseFloat(Ke.scrollMarginBottom)||0,left:parseFloat(Ke.scrollMarginLeft)||0}})(Se);if((ct=>typeof ct=="object"&&typeof ct.behavior=="function")(he))return he.behavior(oe(Se,he));const Ae=typeof he=="boolean"||he==null?void 0:he.behavior;for(const{el:ct,top:Ke,left:qe}of oe(Se,xe(he))){const Me=Ke-Ve.top+Ve.bottom,ze=qe-Ve.left+Ve.right;ct.scroll({top:Me,left:ze,behavior:Ae})}}},71523:function(me,ne,E){"use strict";E.d(ne,{P:function(){return ue},Q:function(){return b}});function b(le){const ce=String(le||"").trim();return ce?ce.split(/[ \t\n\r\f]+/g):[]}function ue(le){return le.join(" ").trim()}},10502:function(me,ne,E){"use strict";E.d(ne,{O:function(){return ue}});const b=function(Se,he,Ve,Ae,ct){const Ke=ue(he);if(Ve!=null&&(typeof Ve!="number"||Ve<0||Ve===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(Ae!=null&&(!b(Ae)||!Ae.children))throw new Error("Expected parent node");if(Ae==null!=(Ve==null))throw new Error("Expected both parent and index");return Oe(Se)?Ke.call(ct,Se,Ve,Ae):!1},ue=function(Se){if(Se==null)return xe;if(typeof Se=="function")return oe(Se);if(typeof Se=="object")return Array.isArray(Se)?le(Se):ce(Se);if(typeof Se=="string")return ge(Se);throw new Error("Expected function, string, or object as test")};function le(Se){const he=[];let Ve=-1;for(;++Ve<Se.length;)he[Ve]=ue(Se[Ve]);return oe(Ae);function Ae(...ct){let Ke=-1;for(;++Ke<he.length;)if(he[Ke].apply(this,ct))return!0;return!1}}function ce(Se){const he=Se;return oe(Ve);function Ve(Ae){const ct=Ae;let Ke;for(Ke in Se)if(ct[Ke]!==he[Ke])return!1;return!0}}function ge(Se){return oe(he);function he(Ve){return Ve&&Ve.type===Se}}function oe(Se){return he;function he(Ve,Ae,ct){return!!(Oe(Ve)&&Se.call(this,Ve,typeof Ae=="number"?Ae:void 0,ct||void 0))}}function xe(){return!0}function Oe(Se){return Se!==null&&typeof Se=="object"&&"type"in Se}},17970:function(me,ne,E){"use strict";E.d(ne,{FK:function(){return ce},Pk:function(){return ue},rb:function(){return b}});const b=le("end"),ue=le("start");function le(ge){return oe;function oe(xe){const Oe=xe&&xe.position&&xe.position[ge]||{};if(typeof Oe.line=="number"&&Oe.line>0&&typeof Oe.column=="number"&&Oe.column>0)return{line:Oe.line,column:Oe.column,offset:typeof Oe.offset=="number"&&Oe.offset>-1?Oe.offset:void 0}}}function ce(ge){const oe=ue(ge),xe=b(ge);if(oe&&xe)return{start:oe,end:xe}}},2348:function(me,ne,E){"use strict";E.d(ne,{AM:function(){return oe},S4:function(){return xe}});var b=E(10502);function ue(Se){return Se}const le=[],ce=!0,ge=!1,oe="skip";function xe(Se,he,Ve,Ae){let ct;typeof he=="function"&&typeof Ve!="function"?(Ae=Ve,Ve=he):ct=he;const Ke=(0,b.O)(ct),qe=Ae?-1:1;Me(Se,void 0,[])();function Me(ze,Ze,Le){const Pe=ze&&typeof ze=="object"?ze:{};if(typeof Pe.type=="string"){const Re=typeof Pe.tagName=="string"?Pe.tagName:typeof Pe.name=="string"?Pe.name:void 0;Object.defineProperty(ke,"name",{value:"node ("+(ze.type+(Re?"<"+Re+">":""))+")"})}return ke;function ke(){let Re=le,Te,Ye,lt;if((!he||Ke(ze,Ze,Le[Le.length-1]||void 0))&&(Re=Oe(Ve(ze,Le)),Re[0]===ge))return Re;if("children"in ze&&ze.children){const Fe=ze;if(Fe.children&&Re[0]!==oe)for(Ye=(Ae?Fe.children.length:-1)+qe,lt=Le.concat(Fe);Ye>-1&&Ye<Fe.children.length;){const tt=Fe.children[Ye];if(Te=Me(tt,Ye,lt)(),Te[0]===ge)return Te;Ye=typeof Te[1]=="number"?Te[1]:Ye+qe}}return Re}}}function Oe(Se){return Array.isArray(Se)?Se:typeof Se=="number"?[ce,Se]:Se==null?le:[Se]}},10528:function(me,ne,E){"use strict";E.d(ne,{Vn:function(){return ue}});var b=E(2348);function ue(le,ce,ge,oe){let xe,Oe,Se;typeof ce=="function"&&typeof ge!="function"?(Oe=void 0,Se=ce,xe=ge):(Oe=ce,Se=ge,xe=oe),(0,b.S4)(le,Oe,he,xe);function he(Ve,Ae){const ct=Ae[Ae.length-1],Ke=ct?ct.children.indexOf(Ve):void 0;return Se(Ve,Ke,ct)}}},43309:function(me,ne,E){"use strict";E.d(ne,{t:function(){return b}});const b={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},47854:function(me){"use strict";me.exports=JSON.parse('{"AElig":"\xC6","AMP":"&","Aacute":"\xC1","Acirc":"\xC2","Agrave":"\xC0","Aring":"\xC5","Atilde":"\xC3","Auml":"\xC4","COPY":"\xA9","Ccedil":"\xC7","ETH":"\xD0","Eacute":"\xC9","Ecirc":"\xCA","Egrave":"\xC8","Euml":"\xCB","GT":">","Iacute":"\xCD","Icirc":"\xCE","Igrave":"\xCC","Iuml":"\xCF","LT":"<","Ntilde":"\xD1","Oacute":"\xD3","Ocirc":"\xD4","Ograve":"\xD2","Oslash":"\xD8","Otilde":"\xD5","Ouml":"\xD6","QUOT":"\\"","REG":"\xAE","THORN":"\xDE","Uacute":"\xDA","Ucirc":"\xDB","Ugrave":"\xD9","Uuml":"\xDC","Yacute":"\xDD","aacute":"\xE1","acirc":"\xE2","acute":"\xB4","aelig":"\xE6","agrave":"\xE0","amp":"&","aring":"\xE5","atilde":"\xE3","auml":"\xE4","brvbar":"\xA6","ccedil":"\xE7","cedil":"\xB8","cent":"\xA2","copy":"\xA9","curren":"\xA4","deg":"\xB0","divide":"\xF7","eacute":"\xE9","ecirc":"\xEA","egrave":"\xE8","eth":"\xF0","euml":"\xEB","frac12":"\xBD","frac14":"\xBC","frac34":"\xBE","gt":">","iacute":"\xED","icirc":"\xEE","iexcl":"\xA1","igrave":"\xEC","iquest":"\xBF","iuml":"\xEF","laquo":"\xAB","lt":"<","macr":"\xAF","micro":"\xB5","middot":"\xB7","nbsp":"\xA0","not":"\xAC","ntilde":"\xF1","oacute":"\xF3","ocirc":"\xF4","ograve":"\xF2","ordf":"\xAA","ordm":"\xBA","oslash":"\xF8","otilde":"\xF5","ouml":"\xF6","para":"\xB6","plusmn":"\xB1","pound":"\xA3","quot":"\\"","raquo":"\xBB","reg":"\xAE","sect":"\xA7","shy":"\xAD","sup1":"\xB9","sup2":"\xB2","sup3":"\xB3","szlig":"\xDF","thorn":"\xFE","times":"\xD7","uacute":"\xFA","ucirc":"\xFB","ugrave":"\xF9","uml":"\xA8","uuml":"\xFC","yacute":"\xFD","yen":"\xA5","yuml":"\xFF"}')},80501:function(me){"use strict";me.exports=JSON.parse('{"0":"\uFFFD","128":"\u20AC","130":"\u201A","131":"\u0192","132":"\u201E","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02C6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017D","145":"\u2018","146":"\u2019","147":"\u201C","148":"\u201D","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02DC","153":"\u2122","154":"\u0161","155":"\u203A","156":"\u0153","158":"\u017E","159":"\u0178"}')}}]);
}());