import{c as ye,p as It,r as Ke,g as Ot,_ as R,R as Cn,j as fi}from"./index-91b358e1.js";function xt(s,O){for(var y=0;yL[I]})}}}return Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}var ii=function(O){var y;return typeof O=="string"||!O||isNaN(O)?y=O:y="".concat(O,"px"),y},qe={},Dt={},pi={exports:{}};(function(s,O){(function(){var y="ace",L=function(){return this}();!L&&typeof window<"u"&&(L=window);var I=function(t,i,r){if(typeof t!="string"){I.original?I.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace());return}arguments.length==2&&(r=i),I.modules[t]||(I.payloads[t]=r,I.modules[t]=null)};I.modules={},I.payloads={};var d=function(t,i,r){if(typeof i=="string"){var e=a(t,i);if(e!=null)return r&&r(),e}else if(Object.prototype.toString.call(i)==="[object Array]"){for(var n=[],o=0,l=i.length;oa.length)&&(p=a.length),p-=_.length;var c=a.indexOf(_,p);return c!==-1&&c===p}),String.prototype.repeat||d(String.prototype,"repeat",function(_){for(var p="",a=this;_>0;)_&1&&(p+=a),(_>>=1)&&(a+=a);return p}),String.prototype.includes||d(String.prototype,"includes",function(_,p){return this.indexOf(_,p)!=-1}),Object.assign||(Object.assign=function(_){if(_==null)throw new TypeError("Cannot convert undefined or null to object");for(var p=Object(_),a=1;a>>0,c=arguments[1],t=c>>0,i=t<0?Math.max(a+t,0):Math.min(t,a),r=arguments[2],e=r===void 0?a:r>>0,n=e<0?Math.max(a+e,0):Math.min(e,a);i0;)a&1&&(c+=p),(a>>=1)&&(p+=p);return c};var d=/^\s\s*/,_=/\s\s*$/;L.stringTrimLeft=function(p){return p.replace(d,"")},L.stringTrimRight=function(p){return p.replace(_,"")},L.copyObject=function(p){var a={};for(var c in p)a[c]=p[c];return a},L.copyArray=function(p){for(var a=[],c=0,t=p.length;c=0?parseFloat((p.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((p.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),L.isOldIE=L.isIE&&L.isIE<9,L.isGecko=L.isMozilla=p.match(/ Gecko\/\d+/),L.isOpera=typeof opera=="object"&&Object.prototype.toString.call(window.opera)=="[object Opera]",L.isWebKit=parseFloat(p.split("WebKit/")[1])||void 0,L.isChrome=parseFloat(p.split(" Chrome/")[1])||void 0,L.isEdge=parseFloat(p.split(" Edge/")[1])||void 0,L.isAIR=p.indexOf("AdobeAIR")>=0,L.isAndroid=p.indexOf("Android")>=0,L.isChromeOS=p.indexOf(" CrOS ")>=0,L.isIOS=/iPad|iPhone|iPod/.test(p)&&!window.MSStream,L.isIOS&&(L.isMac=!0),L.isMobile=L.isIOS||L.isAndroid}),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],function(y,L,I){var d=y("./useragent"),_="http://www.w3.org/1999/xhtml";L.buildDom=function r(e,n,o){if(typeof e=="string"&&e){var l=document.createTextNode(e);return n&&n.appendChild(l),l}if(!Array.isArray(e))return e&&e.appendChild&&n&&n.appendChild(e),e;if(typeof e[0]!="string"||!e[0]){for(var h=[],u=0;u"u")){if(a){if(n)c();else if(n===!1)return a.push([r,e])}if(!p){var o=n;!n||!n.getRootNode?o=document:(o=n.getRootNode(),(!o||o==n)&&(o=document));var l=o.ownerDocument||o;if(e&&L.hasCssString(e,o))return null;e&&(r+=` /*# sourceURL=ace/css/`+e+" */");var h=L.createElement("style");h.appendChild(l.createTextNode(r)),e&&(h.id=e),o==l&&(o=L.getDocumentHead(l)),o.insertBefore(h,o.firstChild)}}}if(L.importCssString=t,L.importCssStylsheet=function(r,e){L.buildDom(["link",{rel:"stylesheet",href:r}],L.getDocumentHead(e))},L.scrollbarWidth=function(r){var e=L.createElement("ace_inner");e.style.width="100%",e.style.minWidth="0px",e.style.height="200px",e.style.display="block";var n=L.createElement("ace_outer"),o=n.style;o.position="absolute",o.left="-10000px",o.overflow="hidden",o.width="200px",o.minWidth="0px",o.height="150px",o.display="block",n.appendChild(e);var l=r&&r.documentElement||document&&document.documentElement;if(!l)return 0;l.appendChild(n);var h=e.offsetWidth;o.overflow="scroll";var u=e.offsetWidth;return h===u&&(u=n.clientWidth),l.removeChild(n),h-u},L.computedStyle=function(r,e){return window.getComputedStyle(r,"")||{}},L.setStyle=function(r,e,n){r[e]!==n&&(r[e]=n)},L.HAS_CSS_ANIMATION=!1,L.HAS_CSS_TRANSFORMS=!1,L.HI_DPI=d.isWin?typeof window<"u"&&window.devicePixelRatio>=1.5:!0,d.isChromeOS&&(L.HI_DPI=!1),typeof document<"u"){var i=document.createElement("div");L.HI_DPI&&i.style.transform!==void 0&&(L.HAS_CSS_TRANSFORMS=!0),!d.isEdge&&typeof i.style.animationName<"u"&&(L.HAS_CSS_ANIMATION=!0),i=null}L.HAS_CSS_TRANSFORMS?L.translate=function(r,e,n){r.style.transform="translate("+Math.round(e)+"px, "+Math.round(n)+"px)"}:L.translate=function(r,e,n){r.style.top=Math.round(n)+"px",r.style.left=Math.round(e)+"px"}}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(y,L,I){/* * based on code from: * * @license RequireJS text 0.25.0 Copyright (c) 2010-2011, The Dojo Foundation All Rights Reserved. * Available via the MIT or new BSD license. * see: http://github.com/jrburke/requirejs for details */var d=y("./dom");L.get=function(_,p){var a=new XMLHttpRequest;a.open("GET",_,!0),a.onreadystatechange=function(){a.readyState===4&&p(a.responseText)},a.send(null)},L.loadScript=function(_,p){var a=d.getDocumentHead(),c=document.createElement("script");c.src=_,a.appendChild(c),c.onload=c.onreadystatechange=function(t,i){(i||!c.readyState||c.readyState=="loaded"||c.readyState=="complete")&&(c=c.onload=c.onreadystatechange=null,i||p())}},L.qualifyURL=function(_){var p=document.createElement("a");return p.href=_,p.href}}),ace.define("ace/lib/oop",["require","exports","module"],function(y,L,I){L.inherits=function(d,_){d.super_=_,d.prototype=Object.create(_.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}})},L.mixin=function(d,_){for(var p in _)d[p]=_[p];return d},L.implement=function(d,_){L.mixin(d,_)}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(y,L,I){var d={},_=function(){this.propagationStopped=!0},p=function(){this.defaultPrevented=!0};d._emit=d._dispatchEvent=function(a,c){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var t=this._eventRegistry[a]||[],i=this._defaultHandlers[a];if(!(!t.length&&!i)){(typeof c!="object"||!c)&&(c={}),c.type||(c.type=a),c.stopPropagation||(c.stopPropagation=_),c.preventDefault||(c.preventDefault=p),t=t.slice();for(var r=0;r1&&(h=o[o.length-2]);var $=c[n+"Path"];return $==null?$=c.basePath:l=="/"&&(n=l=""),$&&$.slice(-1)!="/"&&($+="/"),$+n+l+h+this.get("suffix")},L.setModuleUrl=function(e,n){return c.$moduleUrls[e]=n};var t=function(e,n){if(e==="ace/theme/textmate"||e==="./theme/textmate")return n(null,y("./theme/textmate"));if(typeof I.require=="function")try{var o="require";return n(null,I[o](e))}catch{}if(i)return i(e,n);console.error("loader is not configured")},i;L.setLoader=function(e){i=e},L.dynamicModules=Object.create(null),L.$loading={},L.$loaded={},L.loadModule=function(e,n){var o;Array.isArray(e)&&(o=e[0],e=e[1]);var l=function(h){if(h&&!L.$loading[e])return n&&n(h);if(L.$loading[e]||(L.$loading[e]=[]),L.$loading[e].push(n),!(L.$loading[e].length>1)){var u=function(){t(e,function($,w){w&&(L.$loaded[e]=w),L._emit("load.module",{name:e,module:w});var v=L.$loading[e];L.$loading[e]=null,v.forEach(function(f){f&&f(w)})})};if(!L.get("packaged"))return u();_.loadScript(L.moduleUrl(e,o),u),r()}};L.dynamicModules[e]?L.dynamicModules[e]().then(function(h){h.default?l(h.default):l(h)}):l(L.$loaded[e])},L.setModuleLoader=function(e,n){L.dynamicModules[e]=n};var r=function(){!c.basePath&&!c.workerPath&&!c.modePath&&!c.themePath&&!Object.keys(c.$moduleUrls).length&&(console.error("Unable to infer path to ace from script src,","use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes","or with webpack use ace/webpack-resolver"),r=function(){})};L.version="1.23.0"}),ace.define("ace/loader_build",["require","exports","module","ace/lib/fixoldbrowsers","ace/config"],function(y,L,I){y("./lib/fixoldbrowsers");var d=y("./config");d.setLoader(function(c,t){y([c],function(i){t(null,i)})});var _=function(){return this||typeof window<"u"&&window}();I.exports=function(c){d.init=p,c.require=y},p(!0);function p(c){if(!(!_||!_.document)){d.set("packaged",c||y.packaged||I.packaged||_.define&&(void 0).packaged);var t={},i="",r=document.currentScript||document._currentScript,e=r&&r.ownerDocument||document;r&&r.src&&(i=r.src.split(/[?#]/)[0].split("/").slice(0,-1).join("/")||"");for(var n=e.getElementsByTagName("script"),o=0;o ["+this.end.row+"/"+this.end.column+"]"},p.prototype.contains=function(a,c){return this.compare(a,c)==0},p.prototype.compareRange=function(a){var c,t=a.end,i=a.start;return c=this.compare(t.row,t.column),c==1?(c=this.compare(i.row,i.column),c==1?2:c==0?1:0):c==-1?-2:(c=this.compare(i.row,i.column),c==-1?-1:c==1?42:0)},p.prototype.comparePoint=function(a){return this.compare(a.row,a.column)},p.prototype.containsRange=function(a){return this.comparePoint(a.start)==0&&this.comparePoint(a.end)==0},p.prototype.intersects=function(a){var c=this.compareRange(a);return c==-1||c==0||c==1},p.prototype.isEnd=function(a,c){return this.end.row==a&&this.end.column==c},p.prototype.isStart=function(a,c){return this.start.row==a&&this.start.column==c},p.prototype.setStart=function(a,c){typeof a=="object"?(this.start.column=a.column,this.start.row=a.row):(this.start.row=a,this.start.column=c)},p.prototype.setEnd=function(a,c){typeof a=="object"?(this.end.column=a.column,this.end.row=a.row):(this.end.row=a,this.end.column=c)},p.prototype.inside=function(a,c){return this.compare(a,c)==0?!(this.isEnd(a,c)||this.isStart(a,c)):!1},p.prototype.insideStart=function(a,c){return this.compare(a,c)==0?!this.isEnd(a,c):!1},p.prototype.insideEnd=function(a,c){return this.compare(a,c)==0?!this.isStart(a,c):!1},p.prototype.compare=function(a,c){return!this.isMultiLine()&&a===this.start.row?cthis.end.column?1:0:athis.end.row?1:this.start.row===a?c>=this.start.column?0:-1:this.end.row===a?c<=this.end.column?0:1:0},p.prototype.compareStart=function(a,c){return this.start.row==a&&this.start.column==c?-1:this.compare(a,c)},p.prototype.compareEnd=function(a,c){return this.end.row==a&&this.end.column==c?1:this.compare(a,c)},p.prototype.compareInside=function(a,c){return this.end.row==a&&this.end.column==c?1:this.start.row==a&&this.start.column==c?-1:this.compare(a,c)},p.prototype.clipRows=function(a,c){if(this.end.row>c)var t={row:c+1,column:0};else if(this.end.rowc)var i={row:c+1,column:0};else if(this.start.row1?(S++,S>4&&(S=1)):S=1,_.isIE){var C=Math.abs(g.clientX-A)>5||Math.abs(g.clientY-b)>5;(!m||C)&&(S=1),m&&clearTimeout(m),m=setTimeout(function(){m=null},w[S-1]||600),S==1&&(A=g.clientX,b=g.clientY)}if(g._clicks=S,v[f]("mousedown",g),S>4)S=0;else if(S>1)return v[f](k[S],g)}Array.isArray($)||($=[$]),$.forEach(function(g){e(g,"mousedown",E,M)})};var o=function($){return 0|($.ctrlKey?1:0)|($.altKey?2:0)|($.shiftKey?4:0)|($.metaKey?8:0)};L.getModifierString=function($){return d.KEY_MODS[o($)]};function l($,w,v){var f=o(w);if(!_.isMac&&p){if(w.getModifierState&&(w.getModifierState("OS")||w.getModifierState("Win"))&&(f|=8),p.altGr)if((3&f)!=3)p.altGr=0;else return;if(v===18||v===17){var M="location"in w?w.location:w.keyLocation;if(v===17&&M===1)p[v]==1&&(a=w.timeStamp);else if(v===18&&f===3&&M===2){var S=w.timeStamp-a;S<50&&(p.altGr=!0)}}}if(v in d.MODIFIER_KEYS&&(v=-1),!f&&v===13){var M="location"in w?w.location:w.keyLocation;if(M===3&&($(w,f,-v),w.defaultPrevented))return}if(_.isChromeOS&&f&8){if($(w,f,v),w.defaultPrevented)return;f&=-9}return!f&&!(v in d.FUNCTION_KEYS)&&!(v in d.PRINTABLE_KEYS)?!1:$(w,f,v)}L.addCommandKeyListener=function($,w,v){if(_.isOldGecko||_.isOpera&&!("KeyboardEvent"in window)){var f=null;e($,"keydown",function(S){f=S.keyCode},v),e($,"keypress",function(S){return l(w,S,f)},v)}else{var M=null;e($,"keydown",function(S){p[S.keyCode]=(p[S.keyCode]||0)+1;var A=l(w,S,S.keyCode);return M=S.defaultPrevented,A},v),e($,"keypress",function(S){M&&(S.ctrlKey||S.altKey||S.shiftKey||S.metaKey)&&(L.stopEvent(S),M=null)},v),e($,"keyup",function(S){p[S.keyCode]=null},v),p||(h(),e(window,"focus",h))}};function h(){p=Object.create(null)}if(typeof window=="object"&&window.postMessage&&!_.isOldIE){var u=1;L.nextTick=function($,w){w=w||window;var v="zero-timeout-message-"+u++,f=function(M){M.data==v&&(L.stopPropagation(M),n(w,"message",f),$())};e(w,"message",f),w.postMessage(v,"*")}}L.$idleBlocked=!1,L.onIdle=function($,w){return setTimeout(function v(){L.$idleBlocked?setTimeout(v,100):$()},w)},L.$idleBlockId=null,L.blockIdle=function($){L.$idleBlockId&&clearTimeout(L.$idleBlockId),L.$idleBlocked=!0,L.$idleBlockId=setTimeout(function(){L.$idleBlocked=!1},$||100)},L.nextFrame=typeof window=="object"&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),L.nextFrame?L.nextFrame=L.nextFrame.bind(window):L.nextFrame=function($){setTimeout($,17)}}),ace.define("ace/clipboard",["require","exports","module"],function(y,L,I){var d;I.exports={lineMode:!1,pasteCancelled:function(){return d&&d>Date.now()-50?!0:d=!1},cancel:function(){d=Date.now()}}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/config","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],function(y,L,I){var d=y("../lib/event"),_=y("../config").nls,p=y("../lib/useragent"),a=y("../lib/dom"),c=y("../lib/lang"),t=y("../clipboard"),i=p.isChrome<18,r=p.isIE,e=p.isChrome>63,n=400,o=y("../lib/keys"),l=o.KEY_MODS,h=p.isIOS,u=h?/\s/:/\n/,$=p.isMobile,w=function(v,f){var M=a.createElement("textarea");M.className="ace_text-input",M.setAttribute("wrap","off"),M.setAttribute("autocorrect","off"),M.setAttribute("autocapitalize","off"),M.setAttribute("spellcheck",!1),M.style.opacity="0",v.insertBefore(M,v.firstChild);var S=!1,A=!1,b=!1,m=!1,k="";$||(M.style.fontSize="1px");var E=!1,g=!1,C="",T=0,x=0,D=0;try{var V=document.activeElement===M}catch{}this.setAriaOptions=function(j){j.activeDescendant?(M.setAttribute("aria-haspopup","true"),M.setAttribute("aria-autocomplete",j.inline?"both":"list"),M.setAttribute("aria-activedescendant",j.activeDescendant)):(M.setAttribute("aria-haspopup","false"),M.setAttribute("aria-autocomplete","both"),M.removeAttribute("aria-activedescendant")),j.role&&M.setAttribute("role",j.role)},this.setAriaLabel=function(){if(f.session&&f.renderer.enableKeyboardAccessibility){var j=f.session.selection.cursor.row;M.setAttribute("aria-roledescription",_("editor")),M.setAttribute("aria-label",_("Cursor at row $0",[j+1]))}else M.removeAttribute("aria-roledescription"),M.removeAttribute("aria-label")},this.setAriaOptions({role:"textbox"}),this.setAriaLabel(),d.addListener(M,"blur",function(j){g||(f.onBlur(j),V=!1,$&&!h&&document.removeEventListener("selectionchange",W))},f),d.addListener(M,"focus",function(j){if(!g){if(V=!0,p.isEdge)try{if(!document.hasFocus())return}catch{}f.onFocus(j),p.isEdge?setTimeout(F):F(),$&&!h&&document.addEventListener("selectionchange",W)}},f),this.$focusScroll=!1,this.focus=function(){if(this.setAriaLabel(),k||e||this.$focusScroll=="browser")return M.focus({preventScroll:!0});var j=M.style.top;M.style.position="fixed",M.style.top="0px";try{var J=M.getBoundingClientRect().top!=0}catch{return}var te=[];if(J)for(var oe=M.parentElement;oe&&oe.nodeType==1;)te.push(oe),oe.setAttribute("ace_nocontext",!0),!oe.parentElement&&oe.getRootNode?oe=oe.getRootNode().host:oe=oe.parentElement;M.focus({preventScroll:!0}),J&&te.forEach(function(se){se.removeAttribute("ace_nocontext")}),setTimeout(function(){M.style.position="",M.style.top=="0px"&&(M.style.top=j)},0)},this.blur=function(){M.blur()},this.isFocused=function(){return V},f.on("beforeEndOperation",function(){var j=f.curOp,J=j&&j.command&&j.command.name;if(J!="insertstring"){var te=J&&(j.docChanged||j.selectionChanged);b&&te&&(C=M.value="",fe()),F()}});var F=h?function(j){if(!(!V||S&&!j||m)){j||(j="");var J=` ab`+j+`cde fg `;J!=M.value&&(M.value=C=J);var te=4,oe=4+(j.length||(f.selection.isEmpty()?0:1));(T!=te||x!=oe)&&M.setSelectionRange(te,oe),T=te,x=oe}}:function(){if(!(b||m)&&!(!V&&!z)){b=!0;var j=0,J=0,te="";if(f.session){var oe=f.selection,se=oe.getRange(),ue=oe.cursor.row;if(j=se.start.column,J=se.end.column,te=f.session.getLine(ue),se.start.row!=ue){var me=f.session.getLine(ue-1);j=se.start.rowue+1?le.length:J,J+=te.length+1,te=te+` `+le}else $&&ue>0&&(te=` `+te,J+=1,j+=1);te.length>n&&(j=C.length&&j.value===C&&C&&j.selectionEnd!==x},U=function(j){b||(S?S=!1:N(M)?(f.selectAll(),F()):$&&M.selectionStart!=T&&F())};function W(j){if((!M||!M.parentNode)&&document.removeEventListener("selectionchange",W),!b&&M.selectionStart===M.selectionEnd){var J=M.selectionStart-T,te=x-T;J>0?J=Math.max(J-te,1):J===0&&te&&(J=-1);for(var oe=Math.abs(J),se=J>0?o.right:o.left,ue=0;ue0&&C[ce]==j[ce];)ce++,se--;for(me=me.slice(ce),ce=1;ue>0&&C.length-ce>T-1&&C[C.length-ce]==j[j.length-ce];)ce++,ue--;le-=ce-1,de-=ce-1;var Se=me.length-ce+1;if(Se<0&&(se=-Se,Se=0),me=me.slice(0,Se),!J&&!me&&!le&&!se&&!ue&&!de)return"";m=!0;var We=!1;return p.isAndroid&&me==". "&&(me=" ",We=!0),me&&!se&&!ue&&!le&&!de||E?f.onTextInput(me):f.onTextInput(me,{extendLeft:se,extendRight:ue,restoreStart:le,restoreEnd:de}),m=!1,C=j,T=te,x=oe,D=de,We?` `:me},X=function(j){if(b)return ge();if(j&&j.inputType){if(j.inputType=="historyUndo")return f.execCommand("undo");if(j.inputType=="historyRedo")return f.execCommand("redo")}var J=M.value,te=G(J,!0);(J.length>n+100||u.test(te)||$&&T<1&&T==x)&&F()},Y=function(j,J,te){var oe=j.clipboardData||window.clipboardData;if(!(!oe||i)){var se=r||te?"Text":"text/plain";try{return J?oe.setData(se,J)!==!1:oe.getData(se)}catch(ue){if(!te)return Y(ue,J,!0)}}},Q=function(j,J){var te=f.getCopyText();if(!te)return d.preventDefault(j);Y(j,te)?(h&&(F(te),S=te,setTimeout(function(){S=!1},10)),J?f.onCut():f.onCopy(),d.preventDefault(j)):(S=!0,M.value=te,M.select(),setTimeout(function(){S=!1,F(),J?f.onCut():f.onCopy()}))},q=function(j){Q(j,!0)},ne=function(j){Q(j,!1)},ae=function(j){var J=Y(j);t.pasteCancelled()||(typeof J=="string"?(J&&f.onPaste(J,j),p.isIE&&setTimeout(F),d.preventDefault(j)):(M.value="",A=!0))};d.addCommandKeyListener(M,f.onCommandKey.bind(f),f),d.addListener(M,"select",U,f),d.addListener(M,"input",X,f),d.addListener(M,"cut",q,f),d.addListener(M,"copy",ne,f),d.addListener(M,"paste",ae,f),(!("oncut"in M)||!("oncopy"in M)||!("onpaste"in M))&&d.addListener(v,"keydown",function(j){if(!(p.isMac&&!j.metaKey||!j.ctrlKey))switch(j.keyCode){case 67:ne(j);break;case 86:ae(j);break;case 88:q(j);break}},f);var Ee=function(j){if(!(b||!f.onCompositionStart||f.$readOnly)&&(b={},!E)){j.data&&(b.useTextareaForIME=!1),setTimeout(ge,0),f._signal("compositionStart"),f.on("mousedown",be);var J=f.getSelectionRange();J.end.row=J.start.row,J.end.column=J.start.column,b.markerRange=J,b.selectionStart=T,f.onCompositionStart(b),b.useTextareaForIME?(C=M.value="",T=0,x=0):(M.msGetInputContext&&(b.context=M.msGetInputContext()),M.getInputContext&&(b.context=M.getInputContext()))}},ge=function(){if(!(!b||!f.onCompositionUpdate||f.$readOnly)){if(E)return be();if(b.useTextareaForIME)f.onCompositionUpdate(M.value);else{var j=M.value;G(j),b.markerRange&&(b.context&&(b.markerRange.start.column=b.selectionStart=b.context.compositionStartOffset),b.markerRange.end.column=b.markerRange.start.column+x-b.selectionStart+D)}}},fe=function(j){!f.onCompositionEnd||f.$readOnly||(b=!1,f.onCompositionEnd(),f.off("mousedown",be),j&&X())};function be(){g=!0,M.blur(),M.focus(),g=!1}var Fe=c.delayedCall(ge,50).schedule.bind(null,null);function xe(j){j.keyCode==27&&M.value.lengthx&&C[de]==` `?ce=o.end:lex&&C.slice(0,de).split(` `).length>2?ce=o.down:de>x&&C[de-1]==" "?(ce=o.right,Se=l.option):(de>x||de==x&&x!=T&&le==de)&&(ce=o.right),le!==de&&(Se|=l.shift),ce){var We=J.onCommandKey({},Se,ce);if(!We&&J.commands){ce=o.keyCodeToString(ce);var Be=J.commands.findKeyCommand(Se,ce);Be&&J.execCommand(Be)}T=le,x=de,F("")}}};document.addEventListener("selectionchange",ue),J.on("destroy",function(){document.removeEventListener("selectionchange",ue)})}this.destroy=function(){M.parentElement&&M.parentElement.removeChild(M)}};L.TextInput=w,L.$setUserAgentForTests=function(v,f){$=v,h=f}}),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],function(y,L,I){var d=y("../lib/useragent"),_=0,p=550,a=function(){function i(r){r.$clickSelection=null;var e=r.editor;e.setDefaultHandler("mousedown",this.onMouseDown.bind(r)),e.setDefaultHandler("dblclick",this.onDoubleClick.bind(r)),e.setDefaultHandler("tripleclick",this.onTripleClick.bind(r)),e.setDefaultHandler("quadclick",this.onQuadClick.bind(r)),e.setDefaultHandler("mousewheel",this.onMouseWheel.bind(r));var n=["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"];n.forEach(function(o){r[o]=this[o]},this),r.selectByLines=this.extendSelectionBy.bind(r,"getLineRange"),r.selectByWords=this.extendSelectionBy.bind(r,"getWordRange")}return i.prototype.onMouseDown=function(r){var e=r.inSelection(),n=r.getDocumentPosition();this.mousedownEvent=r;var o=this.editor,l=r.getButton();if(l!==0){var h=o.getSelectionRange(),u=h.isEmpty();(u||l==1)&&o.selection.moveToPosition(n),l==2&&(o.textInput.onContextMenu(r.domEvent),d.isMozilla||r.preventDefault());return}if(this.mousedownEvent.time=Date.now(),e&&!o.isFocused()&&(o.focus(),this.$focusTimeout&&!this.$clickSelection&&!o.inMultiSelectMode)){this.setState("focusWait"),this.captureMouse(r);return}return this.captureMouse(r),this.startSelect(n,r.domEvent._clicks>1),r.preventDefault()},i.prototype.startSelect=function(r,e){r=r||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var n=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?n.selection.selectToPosition(r):e||n.selection.moveToPosition(r),e||this.select(),n.setStyle("ace_selecting"),this.setState("select"))},i.prototype.select=function(){var r,e=this.editor,n=e.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var o=this.$clickSelection.comparePoint(n);if(o==-1)r=this.$clickSelection.end;else if(o==1)r=this.$clickSelection.start;else{var l=t(this.$clickSelection,n);n=l.cursor,r=l.anchor}e.selection.setSelectionAnchor(r.row,r.column)}e.selection.selectToPosition(n),e.renderer.scrollCursorIntoView()},i.prototype.extendSelectionBy=function(r){var e,n=this.editor,o=n.renderer.screenToTextCoordinates(this.x,this.y),l=n.selection[r](o.row,o.column);if(this.$clickSelection){var h=this.$clickSelection.comparePoint(l.start),u=this.$clickSelection.comparePoint(l.end);if(h==-1&&u<=0)e=this.$clickSelection.end,(l.end.row!=o.row||l.end.column!=o.column)&&(o=l.start);else if(u==1&&h>=0)e=this.$clickSelection.start,(l.start.row!=o.row||l.start.column!=o.column)&&(o=l.end);else if(h==-1&&u==1)o=l.end,e=l.start;else{var $=t(this.$clickSelection,o);o=$.cursor,e=$.anchor}n.selection.setSelectionAnchor(e.row,e.column)}n.selection.selectToPosition(o),n.renderer.scrollCursorIntoView()},i.prototype.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting")},i.prototype.focusWait=function(){var r=c(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y),e=Date.now();(r>_||e-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},i.prototype.onDoubleClick=function(r){var e=r.getDocumentPosition(),n=this.editor,o=n.session,l=o.getBracketRange(e);l?(l.isEmpty()&&(l.start.column--,l.end.column++),this.setState("select")):(l=n.selection.getWordRange(e.row,e.column),this.setState("selectByWords")),this.$clickSelection=l,this.select()},i.prototype.onTripleClick=function(r){var e=r.getDocumentPosition(),n=this.editor;this.setState("selectByLines");var o=n.getSelectionRange();o.isMultiLine()&&o.contains(e.row,e.column)?(this.$clickSelection=n.selection.getLineRange(o.start.row),this.$clickSelection.end=n.selection.getLineRange(o.end.row).end):this.$clickSelection=n.selection.getLineRange(e.row),this.select()},i.prototype.onQuadClick=function(r){var e=this.editor;e.selectAll(),this.$clickSelection=e.getSelectionRange(),this.setState("selectAll")},i.prototype.onMouseWheel=function(r){if(!r.getAccelKey()){r.getShiftKey()&&r.wheelY&&!r.wheelX&&(r.wheelX=r.wheelY,r.wheelY=0);var e=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var n=this.$lastScroll,o=r.domEvent.timeStamp,l=o-n.t,h=l?r.wheelX/l:n.vx,u=l?r.wheelY/l:n.vy;l=1&&e.renderer.isScrollableBy(r.wheelX*r.speed,0)&&(w=!0),$<=1&&e.renderer.isScrollableBy(0,r.wheelY*r.speed)&&(w=!0),w)n.allowed=o;else if(o-n.allowed=n.length&&(n=void 0),{value:n&&n[h++],done:!n}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},p=y("./lib/dom"),a=y("./range").Range,c="ace_tooltip",t=function(){function n(o){this.isOpen=!1,this.$element=null,this.$parentNode=o}return n.prototype.$init=function(){return this.$element=p.createElement("div"),this.$element.className=c,this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},n.prototype.getElement=function(){return this.$element||this.$init()},n.prototype.setText=function(o){this.getElement().textContent=o},n.prototype.setHtml=function(o){this.getElement().innerHTML=o},n.prototype.setPosition=function(o,l){this.getElement().style.left=o+"px",this.getElement().style.top=l+"px"},n.prototype.setClassName=function(o){p.addCssClass(this.getElement(),o)},n.prototype.setTheme=function(o){this.$element.className=c+" "+(o.isDark?"ace_dark ":"")+(o.cssClass||"")},n.prototype.show=function(o,l,h){o!=null&&this.setText(o),l!=null&&h!=null&&this.setPosition(l,h),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},n.prototype.hide=function(){this.isOpen&&(this.getElement().style.display="none",this.getElement().className=c,this.isOpen=!1)},n.prototype.getHeight=function(){return this.getElement().offsetHeight},n.prototype.getWidth=function(){return this.getElement().offsetWidth},n.prototype.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)},n}(),i=function(){function n(){this.popups=[]}return n.prototype.addPopup=function(o){this.popups.push(o),this.updatePopups()},n.prototype.removePopup=function(o){var l=this.popups.indexOf(o);l!==-1&&(this.popups.splice(l,1),this.updatePopups())},n.prototype.updatePopups=function(){var o,l,h,u;this.popups.sort(function(m,k){return k.priority-m.priority});var $=[];try{for(var w=_(this.popups),v=w.next();!v.done;v=w.next()){var f=v.value,M=!0;try{for(var S=(h=void 0,_($)),A=S.next();!A.done;A=S.next()){var b=A.value;if(this.doPopupsOverlap(b,f)){M=!1;break}}}catch(m){h={error:m}}finally{try{A&&!A.done&&(u=S.return)&&u.call(S)}finally{if(h)throw h.error}}M?$.push(f):f.hide()}}catch(m){o={error:m}}finally{try{v&&!v.done&&(l=w.return)&&l.call(w)}finally{if(o)throw o.error}}},n.prototype.doPopupsOverlap=function(o,l){var h=o.getElement().getBoundingClientRect(),u=l.getElement().getBoundingClientRect();return h.leftu.left&&h.topu.top},n}(),r=new i;L.popupManager=r,L.Tooltip=t;var e=function(n){d(o,n);function o(l){l===void 0&&(l=document.body);var h=n.call(this,l)||this;h.timeout=void 0,h.lastT=0,h.idleTime=350,h.lastEvent=void 0,h.onMouseOut=h.onMouseOut.bind(h),h.onMouseMove=h.onMouseMove.bind(h),h.waitForHover=h.waitForHover.bind(h),h.hide=h.hide.bind(h);var u=h.getElement();return u.style.whiteSpace="pre-wrap",u.style.pointerEvents="auto",u.addEventListener("mouseout",h.onMouseOut),u.tabIndex=-1,u.addEventListener("blur",function(){u.contains(document.activeElement)||this.hide()}.bind(h)),h}return o.prototype.addToEditor=function(l){l.on("mousemove",this.onMouseMove),l.on("mousedown",this.hide),l.renderer.getMouseEventTarget().addEventListener("mouseout",this.onMouseOut,!0)},o.prototype.removeFromEditor=function(l){l.off("mousemove",this.onMouseMove),l.off("mousedown",this.hide),l.renderer.getMouseEventTarget().removeEventListener("mouseout",this.onMouseOut,!0),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},o.prototype.onMouseMove=function(l,h){this.lastEvent=l,this.lastT=Date.now();var u=h.$mouseHandler.isMousePressed;if(this.isOpen){var $=this.lastEvent&&this.lastEvent.getDocumentPosition();(!this.range||!this.range.contains($.row,$.column)||u||this.isOutsideOfText(this.lastEvent))&&this.hide()}this.timeout||u||(this.lastEvent=l,this.timeout=setTimeout(this.waitForHover,this.idleTime))},o.prototype.waitForHover=function(){this.timeout&&clearTimeout(this.timeout);var l=Date.now()-this.lastT;if(this.idleTime-l>10){this.timeout=setTimeout(this.waitForHover,this.idleTime-l);return}this.timeout=null,this.lastEvent&&!this.isOutsideOfText(this.lastEvent)&&this.$gatherData(this.lastEvent,this.lastEvent.editor)},o.prototype.isOutsideOfText=function(l){var h=l.editor,u=l.getDocumentPosition(),$=h.session.getLine(u.row);if(u.column==$.length){var w=h.renderer.pixelToScreenCoordinates(l.clientX,l.clientY),v=h.session.documentToScreenPosition(u.row,u.column);if(v.column!=w.column||v.row!=w.row)return!0}return!1},o.prototype.setDataProvider=function(l){this.$gatherData=l},o.prototype.showForRange=function(l,h,u,$){if(!($&&$!=this.lastEvent)&&!(this.isOpen&&document.activeElement==this.getElement())){var w=l.renderer;this.isOpen||(r.addPopup(this),this.$registerCloseEvents(),this.setTheme(w.theme)),this.isOpen=!0,this.addMarker(h,l.session),this.range=a.fromPoints(h.start,h.end);var v=this.getElement();v.innerHTML="",v.appendChild(u),v.style.display="block";var f=w.textToScreenCoordinates(h.start.row,h.start.column),M=l.getCursorPosition(),S=v.clientHeight,A=w.scroller.getBoundingClientRect(),b=!0;this.row>M.row?b=!0:this.rowA.bottom&&(b=!1),b?f.pageY+=w.lineHeight:f.pageY-=S,v.style.maxWidth=A.width-(f.pageX-A.left)+"px",this.setPosition(f.pageX,f.pageY)}},o.prototype.addMarker=function(l,h){this.marker&&this.$markerSession.removeMarker(this.marker),this.$markerSession=h,this.marker=h&&h.addMarker(l,"ace_highlight-marker","text")},o.prototype.hide=function(l){!l&&document.activeElement==this.getElement()||l&&l.target&&(l.type!="keydown"||l.ctrlKey||l.metaKey)&&this.$element.contains(l.target)||(this.lastEvent=null,this.timeout&&clearTimeout(this.timeout),this.timeout=null,this.addMarker(null),this.isOpen&&(this.$removeCloseEvents(),this.getElement().style.display="none",this.isOpen=!1,r.removePopup(this)))},o.prototype.$registerCloseEvents=function(){window.addEventListener("keydown",this.hide,!0),window.addEventListener("mousewheel",this.hide,!0),window.addEventListener("mousedown",this.hide,!0)},o.prototype.$removeCloseEvents=function(){window.removeEventListener("keydown",this.hide,!0),window.removeEventListener("mousewheel",this.hide,!0),window.removeEventListener("mousedown",this.hide,!0)},o.prototype.onMouseOut=function(l){this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.lastEvent=null,this.isOpen&&(!l.relatedTarget||l.relatedTarget==this.getElement()||l&&l.currentTarget.contains(l.relatedTarget)||l.relatedTarget.classList.contains("ace_content")||this.hide())},o}(t);L.HoverTooltip=e}),ace.define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/tooltip","ace/config"],function(y,L,I){var d=this&&this.__extends||function(){var e=function(n,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,h){l.__proto__=h}||function(l,h){for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&(l[u]=h[u])},e(n,o)};return function(n,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(n,o);function l(){this.constructor=n}n.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}}(),_=this&&this.__values||function(e){var n=typeof Symbol=="function"&&Symbol.iterator,o=n&&e[n],l=0;if(o)return o.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&l>=e.length&&(e=void 0),{value:e&&e[l++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},p=y("../lib/dom"),a=y("../lib/event"),c=y("../tooltip").Tooltip,t=y("../config").nls;function i(e){var n=e.editor,o=n.renderer.$gutterLayer,l=new r(n);e.editor.setDefaultHandler("guttermousedown",function(f){if(!(!n.isFocused()||f.getButton()!=0)){var M=o.getRegion(f);if(M!="foldWidgets"){var S=f.getDocumentPosition().row,A=n.session.selection;if(f.getShiftKey())A.selectTo(S,0);else{if(f.domEvent.detail==2)return n.selectAll(),f.preventDefault();e.$clickSelection=n.selection.getLineRange(S)}return e.setState("selectByLines"),e.captureMouse(f),f.preventDefault()}}});var h,u;function $(){var f=u.getDocumentPosition().row,M=n.session.getLength();if(f==M){var S=n.renderer.pixelToScreenCoordinates(0,u.y).row,A=u.$pos;if(S>n.session.documentToScreenRow(A.row,A.column))return w()}if(l.showTooltip(f),!!l.isOpen)if(n.on("mousewheel",w),e.$tooltipFollowsMouse)v(u);else{var b=o.$lines.cells[f].element.querySelector("[class*=ace_icon]"),m=b.getBoundingClientRect(),k=l.getElement().style;k.left=m.right+"px",k.top=m.bottom+"px"}}function w(){h&&(h=clearTimeout(h)),l.isOpen&&(l.hideTooltip(),n.off("mousewheel",w))}function v(f){l.setPosition(f.x,f.y)}e.editor.setDefaultHandler("guttermousemove",function(f){var M=f.domEvent.target||f.domEvent.srcElement;if(p.hasCssClass(M,"ace_fold-widget"))return w();l.isOpen&&e.$tooltipFollowsMouse&&v(f),u=f,!h&&(h=setTimeout(function(){h=null,u&&!e.isMousePressed?$():w()},50))}),a.addListener(n.renderer.$gutter,"mouseout",function(f){u=null,!(!l.isOpen||h)&&(h=setTimeout(function(){h=null,w()},50))},n),n.on("changeSession",w),n.on("input",w)}L.GutterHandler=i;var r=function(e){d(n,e);function n(o){var l=e.call(this,o.container)||this;return l.editor=o,l}return n.prototype.setPosition=function(o,l){var h=window.innerWidth||document.documentElement.clientWidth,u=window.innerHeight||document.documentElement.clientHeight,$=this.getWidth(),w=this.getHeight();o+=15,l+=15,o+$>h&&(o-=o+$-h),l+w>u&&(l-=20+w),c.prototype.setPosition.call(this,o,l)},Object.defineProperty(n,"annotationLabels",{get:function(){return{error:{singular:t("error"),plural:t("errors")},warning:{singular:t("warning"),plural:t("warnings")},info:{singular:t("information message"),plural:t("information messages")}}},enumerable:!1,configurable:!0}),n.prototype.showTooltip=function(o){var l=this.editor.renderer.$gutterLayer,h=l.$annotations[o],u;h?u={text:Array.from(h.text),type:Array.from(h.type)}:u={text:[],type:[]};var $=l.session.getFoldLine(o);if($&&l.$showFoldedAnnotations){for(var w={error:[],warning:[],info:[]},v,f=o+1;f<=$.end.row;f++)if(l.$annotations[f])for(var M=0;M ").concat(u.text[f]);b[u.type[f].replace("_fold","")].push(k)}var E=[].concat(b.error,b.warning,b.info).join("
");this.setHtml(E),this.$element.setAttribute("aria-live","polite"),this.isOpen||(this.setTheme(this.editor.renderer.theme),this.setClassName("ace_gutter-tooltip")),this.show(),this.editor._signal("showGutterTooltip",this)},n.prototype.hideTooltip=function(){this.$element.removeAttribute("aria-live"),this.hide(),this.editor._signal("hideGutterTooltip",this)},n.annotationsToSummaryString=function(o){var l,h,u=[],$=["error","warning","info"];try{for(var w=_($),v=w.next();!v.done;v=w.next()){var f=v.value;if(o[f].length){var M=o[f].length===1?n.annotationLabels[f].singular:n.annotationLabels[f].plural;u.push("".concat(o[f].length," ").concat(M))}}}catch(S){l={error:S}}finally{try{v&&!v.done&&(h=w.return)&&h.call(w)}finally{if(l)throw l.error}}return u.join(", ")},n}(c);L.GutterTooltip=r}),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(y,L,I){var d=y("../lib/event"),_=y("../lib/useragent"),p=function(){function a(c,t){this.domEvent=c,this.editor=t,this.x=this.clientX=c.clientX,this.y=this.clientY=c.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1}return a.prototype.stopPropagation=function(){d.stopPropagation(this.domEvent),this.propagationStopped=!0},a.prototype.preventDefault=function(){d.preventDefault(this.domEvent),this.defaultPrevented=!0},a.prototype.stop=function(){this.stopPropagation(),this.preventDefault()},a.prototype.getDocumentPosition=function(){return this.$pos?this.$pos:(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY),this.$pos)},a.prototype.inSelection=function(){if(this.$inSelection!==null)return this.$inSelection;var c=this.editor,t=c.getSelectionRange();if(t.isEmpty())this.$inSelection=!1;else{var i=this.getDocumentPosition();this.$inSelection=t.contains(i.row,i.column)}return this.$inSelection},a.prototype.getButton=function(){return d.getButton(this.domEvent)},a.prototype.getShiftKey=function(){return this.domEvent.shiftKey},a.prototype.getAccelKey=function(){return _.isMac?this.domEvent.metaKey:this.domEvent.ctrlKey},a}();L.MouseEvent=p}),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(y,L,I){var d=y("../lib/dom"),_=y("../lib/event"),p=y("../lib/useragent"),a=200,c=200,t=5;function i(e){var n=e.editor,o=d.createElement("div");o.style.cssText="top:-100px;position:absolute;z-index:2147483647;opacity:0.5",o.textContent=" ";var l=["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"];l.forEach(function(W){e[W]=this[W]},this),n.on("mousedown",this.onMouseDown.bind(e));var h=n.container,u,$,w,v,f,M,S=0,A,b,m,k,E;this.onDragStart=function(W){if(this.cancelDrag||!h.draggable){var B=this;return setTimeout(function(){B.startSelect(),B.captureMouse(W)},0),W.preventDefault()}f=n.getSelectionRange();var z=W.dataTransfer;z.effectAllowed=n.getReadOnly()?"copy":"copyMove",n.container.appendChild(o),z.setDragImage&&z.setDragImage(o,0,0),setTimeout(function(){n.container.removeChild(o)}),z.clearData(),z.setData("Text",n.session.getTextRange()),b=!0,this.setState("drag")},this.onDragEnd=function(W){if(h.draggable=!1,b=!1,this.setState(null),!n.getReadOnly()){var B=W.dataTransfer.dropEffect;!A&&B=="move"&&n.session.remove(n.getSelectionRange()),n.$resetCursorStyle()}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(W){if(!(n.getReadOnly()||!N(W.dataTransfer)))return $=W.clientX,w=W.clientY,u||x(),S++,W.dataTransfer.dropEffect=A=U(W),_.preventDefault(W)},this.onDragOver=function(W){if(!(n.getReadOnly()||!N(W.dataTransfer)))return $=W.clientX,w=W.clientY,u||(x(),S++),V!==null&&(V=null),W.dataTransfer.dropEffect=A=U(W),_.preventDefault(W)},this.onDragLeave=function(W){if(S--,S<=0&&u)return D(),A=null,_.preventDefault(W)},this.onDrop=function(W){if(M){var B=W.dataTransfer;if(b)switch(A){case"move":f.contains(M.row,M.column)?f={start:M,end:M}:f=n.moveText(f,M);break;case"copy":f=n.moveText(f,M,!0);break}else{var z=B.getData("Text");f={start:M,end:n.session.insert(M,z)},n.focus(),A=null}return D(),_.preventDefault(W)}},_.addListener(h,"dragstart",this.onDragStart.bind(e),n),_.addListener(h,"dragend",this.onDragEnd.bind(e),n),_.addListener(h,"dragenter",this.onDragEnter.bind(e),n),_.addListener(h,"dragover",this.onDragOver.bind(e),n),_.addListener(h,"dragleave",this.onDragLeave.bind(e),n),_.addListener(h,"drop",this.onDrop.bind(e),n);function g(W,B){var z=Date.now(),G=!B||W.row!=B.row,X=!B||W.column!=B.column;if(!k||G||X)n.moveCursorToPosition(W),k=z,E={x:$,y:w};else{var Y=r(E.x,E.y,$,w);Y>t?k=null:z-k>=c&&(n.renderer.scrollCursorIntoView(),k=null)}}function C(W,B){var z=Date.now(),G=n.renderer.layerConfig.lineHeight,X=n.renderer.layerConfig.characterWidth,Y=n.renderer.scroller.getBoundingClientRect(),Q={x:{left:$-Y.left,right:Y.right-$},y:{top:w-Y.top,bottom:Y.bottom-w}},q=Math.min(Q.x.left,Q.x.right),ne=Math.min(Q.y.top,Q.y.bottom),ae={row:W.row,column:W.column};q/X<=2&&(ae.column+=Q.x.left=a&&n.renderer.scrollCursorIntoView(ae):m=z:m=null}function T(){var W=M;M=n.renderer.screenToTextCoordinates($,w),g(M,W),C(M,W)}function x(){f=n.selection.toOrientedRange(),u=n.session.addMarker(f,"ace_selection",n.getSelectionStyle()),n.clearSelection(),n.isFocused()&&n.renderer.$cursorLayer.setBlinking(!1),clearInterval(v),T(),v=setInterval(T,20),S=0,_.addListener(document,"mousemove",F)}function D(){clearInterval(v),n.session.removeMarker(u),u=null,n.selection.fromOrientedRange(f),n.isFocused()&&!b&&n.$resetCursorStyle(),f=null,M=null,S=0,m=null,k=null,_.removeListener(document,"mousemove",F)}var V=null;function F(){V==null&&(V=setTimeout(function(){V!=null&&u&&D()},20))}function N(W){var B=W.types;return!B||Array.prototype.some.call(B,function(z){return z=="text/plain"||z=="Text"})}function U(W){var B=["copy","copymove","all","uninitialized"],z=["move","copymove","linkmove","all","uninitialized"],G=p.isMac?W.altKey:W.ctrlKey,X="uninitialized";try{X=W.dataTransfer.effectAllowed.toLowerCase()}catch{}var Y="none";return G&&B.indexOf(X)>=0?Y="copy":z.indexOf(X)>=0?Y="move":B.indexOf(X)>=0&&(Y="copy"),Y}}(function(){this.dragWait=function(){var e=Date.now()-this.mousedownEvent.time;e>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){var e=this.editor.container;e.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(e){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor,n=e.container;n.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle("ace_dragging");var o=p.isWin?"default":"move";e.renderer.setCursorStyle(o),this.setState("dragReady")},this.onMouseDrag=function(e){var n=this.editor.container;if(p.isIE&&this.state=="dragReady"){var o=r(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);o>3&&n.dragDrop()}if(this.state==="dragWait"){var o=r(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);o>0&&(n.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))}},this.onMouseDown=function(e){if(this.$dragEnabled){this.mousedownEvent=e;var n=this.editor,o=e.inSelection(),l=e.getButton(),h=e.domEvent.detail||1;if(h===1&&l===0&&o){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var u=e.domEvent.target||e.domEvent.srcElement;if("unselectable"in u&&(u.unselectable="on"),n.getDragDelay()){if(p.isWebKit){this.cancelDrag=!0;var $=n.container;$.draggable=!0}this.setState("dragWait")}else this.startDrag();this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}}).call(i.prototype);function r(e,n,o,l){return Math.sqrt(Math.pow(o-e,2)+Math.pow(l-n,2))}L.DragdropHandler=i}),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],function(y,L,I){var d=y("./mouse_event").MouseEvent,_=y("../lib/event"),p=y("../lib/dom");L.addTouchListeners=function(a,c){var t="scroll",i,r,e,n,o,l,h=0,u,$=0,w=0,v=0,f,M;function S(){var g=window.navigator&&window.navigator.clipboard,C=!1,T=function(){var D=c.getCopyText(),V=c.session.getUndoManager().hasUndo();M.replaceChild(p.buildDom(C?["span",!D&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],D&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],D&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],g&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],V&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],["span",{class:"ace_mobile-button",action:"find"},"Find"],["span",{class:"ace_mobile-button",action:"openCommandPallete"},"Palette"]]:["span"]),M.firstChild)},x=function(D){var V=D.target.getAttribute("action");if(V=="more"||!C)return C=!C,T();V=="paste"?g.readText().then(function(F){c.execCommand(V,F)}):V&&((V=="cut"||V=="copy")&&(g?g.writeText(c.getCopyText()):document.execCommand("copy")),c.execCommand(V)),M.firstChild.style.display="none",C=!1,V!="openCommandPallete"&&c.focus()};M=p.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(D){t="menu",D.stopPropagation(),D.preventDefault(),c.textInput.focus()},ontouchend:function(D){D.stopPropagation(),D.preventDefault(),x(D)},onclick:x},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],c.container)}function A(){M||S();var g=c.selection.cursor,C=c.renderer.textToScreenCoordinates(g.row,g.column),T=c.renderer.textToScreenCoordinates(0,0).pageX,x=c.renderer.scrollLeft,D=c.container.getBoundingClientRect();M.style.top=C.pageY-D.top-3+"px",C.pageX-D.left=2?c.selection.getLineRange(u.row):c.session.getBracketRange(u);g&&!g.isEmpty()?c.selection.setRange(g):c.selection.selectWord(),t="wait"}_.addListener(a,"contextmenu",function(g){if(f){var C=c.textInput.getElement();C.focus()}},c),_.addListener(a,"touchstart",function(g){var C=g.touches;if(o||C.length>1){clearTimeout(o),o=null,e=-1,t="zoom";return}f=c.$mouseHandler.isMousePressed=!0;var T=c.renderer.layerConfig.lineHeight,x=c.renderer.layerConfig.lineHeight,D=g.timeStamp;n=D;var V=C[0],F=V.clientX,N=V.clientY;Math.abs(i-F)+Math.abs(r-N)>T&&(e=-1),i=g.clientX=F,r=g.clientY=N,w=v=0;var U=new d(g,c);if(u=U.getDocumentPosition(),D-e<500&&C.length==1&&!h)$++,g.preventDefault(),g.button=0,k();else{$=0;var W=c.selection.cursor,B=c.selection.isEmpty()?W:c.selection.anchor,z=c.renderer.$cursorLayer.getPixelPosition(W,!0),G=c.renderer.$cursorLayer.getPixelPosition(B,!0),X=c.renderer.scroller.getBoundingClientRect(),Y=c.renderer.layerConfig.offset,Q=c.renderer.scrollLeft,q=function(Ee,ge){return Ee=Ee/x,ge=ge/T-.75,Ee*Ee+ge*ge};if(g.clientXae?"cursor":"anchor"),ae<3.5?t="anchor":ne<3.5?t="cursor":t="scroll",o=setTimeout(m,450)}e=D},c),_.addListener(a,"touchend",function(g){f=c.$mouseHandler.isMousePressed=!1,l&&clearInterval(l),t=="zoom"?(t="",h=0):o?(c.selection.moveToPosition(u),h=0,A()):t=="scroll"?(E(),b()):A(),clearTimeout(o),o=null},c),_.addListener(a,"touchmove",function(g){o&&(clearTimeout(o),o=null);var C=g.touches;if(!(C.length>1||t=="zoom")){var T=C[0],x=i-T.clientX,D=r-T.clientY;if(t=="wait")if(x*x+D*D>4)t="cursor";else return g.preventDefault();i=T.clientX,r=T.clientY,g.clientX=T.clientX,g.clientY=T.clientY;var V=g.timeStamp,F=V-n;if(n=V,t=="scroll"){var N=new d(g,c);N.speed=1,N.wheelX=x,N.wheelY=D,10*Math.abs(x)0)if(ae==16){for(fe=ge;fe-1){for(fe=ge;fe=0&&G[xe]==f;xe--)B[xe]=d}}}function F(W,B,z){if(!(_=W){for(Y=X+1;Y=W;)Y++;for(Q=X,q=Y-1;Q=B.length||(Y=z[G-1])!=l&&Y!=h||(Q=B[G+1])!=l&&Q!=h?u:(p&&(Q=h),Q==Y?Q:u);case S:return Y=G>0?z[G-1]:$,Y==l&&G+10&&z[G-1]==l)return l;if(p)return u;for(ne=G+1,q=B.length;ne=1425&&ae<=2303||ae==64286;if(Y=B[ne],Ee&&(Y==o||Y==v))return o}return G<1||(Y=B[G-1])==$?u:z[G-1];case $:return p=!1,a=!0,d;case w:return c=!0,u;case m:case k:case g:case C:case E:p=!1;case T:return u}}function U(W){var B=W.charCodeAt(0),z=B>>8;return z==0?B>191?n:x[B]:z==5?/[\u0591-\u05f4]/.test(W)?o:n:z==6?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(W)?b:/[\u0660-\u0669\u066b-\u066c]/.test(W)?h:B==1642?A:/[\u06f0-\u06f9]/.test(W)?l:v:z==32&&B<=8287?D[B&255]:z==254&&B>=65136?v:u}L.L=n,L.R=o,L.EN=l,L.ON_R=3,L.AN=4,L.R_H=5,L.B=6,L.RLE=7,L.DOT="·",L.doBidiReorder=function(W,B,z){if(W.length<2)return{};var G=W.split(""),X=new Array(G.length),Y=new Array(G.length),Q=[];d=z?e:r,V(G,Q,G.length,B);for(var q=0;qv&&B[q]0&&G[q-1]==="ل"&&/\u0622|\u0623|\u0625|\u0627/.test(G[q])&&(Q[q-1]=Q[q]=L.R_H,q++);G[G.length-1]===L.DOT&&(Q[G.length-1]=L.B),G[0]==="‫"&&(Q[0]=L.RLE);for(var q=0;q=0&&(t=this.session.$docRowCache[r])}return t},c.prototype.getSplitIndex=function(){var t=0,i=this.session.$screenRowCache;if(i.length)for(var r,e=this.session.$getRowCacheIndex(i,this.currentRow);this.currentRow-t>0&&(r=this.session.$getRowCacheIndex(i,this.currentRow-t-1),r===e);)e=r,t++;else t=this.currentRow;return t},c.prototype.updateRowLine=function(t,i){t===void 0&&(t=this.getDocumentRow());var r=t===this.session.getLength()-1,e=r?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(t),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var n=this.session.$wrapData[t];n&&(i===void 0&&(i=this.getSplitIndex()),i>0&&n.length?(this.wrapIndent=n.indent,this.wrapOffset=this.wrapIndent*this.charWidths[d.L],this.line=ii?this.session.getOverwrite()?t:t-1:i,e=d.getVisualFromLogicalIdx(r,this.bidiMap),n=this.bidiMap.bidiLevels,o=0;!this.session.getOverwrite()&&t<=i&&n[e]%2!==0&&e++;for(var l=0;li&&n[e]%2===0&&(o+=this.charWidths[n[e]]),this.wrapIndent&&(o+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(o+=this.rtlLineOffset),o},c.prototype.getSelections=function(t,i){var r=this.bidiMap,e=r.bidiLevels,n,o=[],l=0,h=Math.min(t,i)-this.wrapIndent,u=Math.max(t,i)-this.wrapIndent,$=!1,w=!1,v=0;this.wrapIndent&&(l+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var f,M=0;M=h&&fe+l/2;){if(e+=l,n===o.length-1){l=0;break}l=this.charWidths[o[++n]]}return n>0&&o[n-1]%2!==0&&o[n]%2===0?(r0&&o[n-1]%2===0&&o[n]%2!==0?i=1+(r>e?this.bidiMap.logicalFromVisual[n]:this.bidiMap.logicalFromVisual[n-1]):this.isRtlDir&&n===o.length-1&&l===0&&o[n-1]%2===0||!this.isRtlDir&&n===0&&o[n]%2!==0?i=1+this.bidiMap.logicalFromVisual[n]:(n>0&&o[n-1]%2!==0&&l!==0&&n--,i=this.bidiMap.logicalFromVisual[n]),i===0&&this.isRtlDir&&i++,i+this.wrapIndent},c}();L.BidiHandler=a}),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(y,L,I){var d=y("./lib/oop"),_=y("./lib/lang"),p=y("./lib/event_emitter").EventEmitter,a=y("./range").Range,c=function(t){this.session=t,this.doc=t.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var i=this;this.cursor.on("change",function(r){i.$cursorChanged=!0,i.$silent||i._emit("changeCursor"),!i.$isEmpty&&!i.$silent&&i._emit("changeSelection"),!i.$keepDesiredColumnOnChange&&r.old.column!=r.value.column&&(i.$desiredColumn=null)}),this.anchor.on("change",function(){i.$anchorChanged=!0,!i.$isEmpty&&!i.$silent&&i._emit("changeSelection")})};(function(){d.implement(this,p),this.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},this.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},this.getCursor=function(){return this.lead.getPosition()},this.setAnchor=function(t,i){this.$isEmpty=!1,this.anchor.setPosition(t,i)},this.setSelectionAnchor=this.setAnchor,this.getAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},this.getSelectionAnchor=this.getAnchor,this.getSelectionLead=function(){return this.lead.getPosition()},this.isBackwards=function(){var t=this.anchor,i=this.lead;return t.row>i.row||t.row==i.row&&t.column>i.column},this.getRange=function(){var t=this.anchor,i=this.lead;return this.$isEmpty?a.fromPoints(i,i):this.isBackwards()?a.fromPoints(i,t):a.fromPoints(t,i)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},this.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},this.setRange=this.setSelectionRange=function(t,i){var r=i?t.end:t.start,e=i?t.start:t.end;this.$setSelection(r.row,r.column,e.row,e.column)},this.$setSelection=function(t,i,r,e){if(!this.$silent){var n=this.$isEmpty,o=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(t,i),this.cursor.setPosition(r,e),this.$isEmpty=!a.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||n!=this.$isEmpty||o)&&this._emit("changeSelection")}},this.$moveSelection=function(t){var i=this.lead;this.$isEmpty&&this.setSelectionAnchor(i.row,i.column),t.call(this)},this.selectTo=function(t,i){this.$moveSelection(function(){this.moveCursorTo(t,i)})},this.selectToPosition=function(t){this.$moveSelection(function(){this.moveCursorToPosition(t)})},this.moveTo=function(t,i){this.clearSelection(),this.moveCursorTo(t,i)},this.moveToPosition=function(t){this.clearSelection(),this.moveCursorToPosition(t)},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(t,i){if(typeof i>"u"){var r=t||this.lead;t=r.row,i=r.column}return this.session.getWordRange(t,i)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var t=this.getCursor(),i=this.session.getAWordRange(t.row,t.column);this.setSelectionRange(i)},this.getLineRange=function(t,i){var r=typeof t=="number"?t:this.lead.row,e,n=this.session.getFoldLine(r);return n?(r=n.start.row,e=n.end.row):e=r,i===!0?new a(r,0,e,this.session.getLine(e).length):new a(r,0,e+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.wouldMoveIntoSoftTab=function(t,i,r){var e=t.column,n=t.column+i;return r<0&&(e=t.column-i,n=t.column),this.session.isTabStop(t)&&this.doc.getLine(t.row).slice(e,n).split(" ").length-1==i},this.moveCursorLeft=function(){var t=this.lead.getPosition(),i;if(i=this.session.getFoldAt(t.row,t.column,-1))this.moveCursorTo(i.start.row,i.start.column);else if(t.column===0)t.row>0&&this.moveCursorTo(t.row-1,this.doc.getLine(t.row-1).length);else{var r=this.session.getTabSize();this.wouldMoveIntoSoftTab(t,r,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-r):this.moveCursorBy(0,-1)}},this.moveCursorRight=function(){var t=this.lead.getPosition(),i;if(i=this.session.getFoldAt(t.row,t.column,1))this.moveCursorTo(i.end.row,i.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(i.column=e)}}this.moveCursorTo(i.row,i.column)},this.moveCursorFileEnd=function(){var t=this.doc.getLength()-1,i=this.doc.getLine(t).length;this.moveCursorTo(t,i)},this.moveCursorFileStart=function(){this.moveCursorTo(0,0)},this.moveCursorLongWordRight=function(){var t=this.lead.row,i=this.lead.column,r=this.doc.getLine(t),e=r.substring(i);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var n=this.session.getFoldAt(t,i,1);if(n){this.moveCursorTo(n.end.row,n.end.column);return}if(this.session.nonTokenRe.exec(e)&&(i+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,e=r.substring(i)),i>=r.length){this.moveCursorTo(t,r.length),this.moveCursorRight(),t0&&this.moveCursorWordLeft();return}this.session.tokenRe.exec(n)&&(i-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(t,i)},this.$shortWordEndIndex=function(t){var i=0,r,e=/\s/,n=this.session.tokenRe;if(n.lastIndex=0,this.session.tokenRe.exec(t))i=this.session.tokenRe.lastIndex;else{for(;(r=t[i])&&e.test(r);)i++;if(i<1){for(n.lastIndex=0;(r=t[i])&&!n.test(r);)if(n.lastIndex=0,i++,e.test(r))if(i>2){i--;break}else{for(;(r=t[i])&&e.test(r);)i++;if(i>2)break}}}return n.lastIndex=0,i},this.moveCursorShortWordRight=function(){var t=this.lead.row,i=this.lead.column,r=this.doc.getLine(t),e=r.substring(i),n=this.session.getFoldAt(t,i,1);if(n)return this.moveCursorTo(n.end.row,n.end.column);if(i==r.length){var o=this.doc.getLength();do t++,e=this.doc.getLine(t);while(t0&&/^\s*$/.test(e));i=e.length,/\s+$/.test(e)||(e="")}var n=_.stringReverse(e),o=this.$shortWordEndIndex(n);return this.moveCursorTo(t,i-o)},this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},this.moveCursorBy=function(t,i){var r=this.session.documentToScreenPosition(this.lead.row,this.lead.column),e;if(i===0&&(t!==0&&(this.session.$bidiHandler.isBidiRow(r.row,this.lead.row)?(e=this.session.$bidiHandler.getPosLeft(r.column),r.column=Math.round(e/this.session.$bidiHandler.charWidths[0])):e=r.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?r.column=this.$desiredColumn:this.$desiredColumn=r.column),t!=0&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var n=this.session.lineWidgets[this.lead.row];t<0?t-=n.rowsAbove||0:t>0&&(t+=n.rowCount-(n.rowsAbove||0))}var o=this.session.screenToDocumentPosition(r.row+t,r.column,e);t!==0&&i===0&&o.row===this.lead.row&&(o.column,this.lead.column),this.moveCursorTo(o.row,o.column+i,i===0)},this.moveCursorToPosition=function(t){this.moveCursorTo(t.row,t.column)},this.moveCursorTo=function(t,i,r){var e=this.session.getFoldAt(t,i,1);e&&(t=e.start.row,i=e.start.column),this.$keepDesiredColumnOnChange=!0;var n=this.session.getLine(t);/[\uDC00-\uDFFF]/.test(n.charAt(i))&&n.charAt(i-1)&&(this.lead.row==t&&this.lead.column==i+1?i=i-1:i=i+1),this.lead.setPosition(t,i),this.$keepDesiredColumnOnChange=!1,r||(this.$desiredColumn=null)},this.moveCursorToScreen=function(t,i,r){var e=this.session.screenToDocumentPosition(t,i);this.moveCursorTo(e.row,e.column,r)},this.detach=function(){this.lead.detach(),this.anchor.detach()},this.fromOrientedRange=function(t){this.setSelectionRange(t,t.cursor==t.start),this.$desiredColumn=t.desiredColumn||this.$desiredColumn},this.toOrientedRange=function(t){var i=this.getRange();return t?(t.start.column=i.start.column,t.start.row=i.start.row,t.end.column=i.end.column,t.end.row=i.end.row):t=i,t.cursor=this.isBackwards()?t.start:t.end,t.desiredColumn=this.$desiredColumn,t},this.getRangeOfMovements=function(t){var i=this.getCursor();try{t(this);var r=this.getCursor();return a.fromPoints(i,r)}catch{return a.fromPoints(i,i)}finally{this.moveCursorToPosition(i)}},this.toJSON=function(){if(this.rangeCount)var t=this.ranges.map(function(i){var r=i.clone();return r.isBackwards=i.cursor==i.start,r});else{var t=this.getRange();t.isBackwards=this.isBackwards()}return t},this.fromJSON=function(t){if(t.start==null)if(this.rangeList&&t.length>1){this.toSingleRange(t[0]);for(var i=t.length;i--;){var r=a.fromPoints(t[i].start,t[i].end);t[i].isBackwards&&(r.cursor=r.start),this.addRange(r,!0)}return}else t=t[0];this.rangeList&&this.toSingleRange(t),this.setSelectionRange(t,t.isBackwards)},this.isEqual=function(t){if((t.length||this.rangeCount)&&t.length!=this.rangeCount)return!1;if(!t.length||!this.ranges)return this.getRange().isEqual(t);for(var i=this.ranges.length;i--;)if(!this.ranges[i].isEqual(t[i]))return!1;return!0}}).call(c.prototype),L.Selection=c}),ace.define("ace/tokenizer",["require","exports","module","ace/config"],function(y,L,I){var d=y("./config"),_=2e3,p=function(){function a(c){this.states=c,this.regExps={},this.matchMappings={};for(var t in this.states){for(var i=this.states[t],r=[],e=0,n=this.matchMappings[t]={defaultToken:"text"},o="g",l=[],h=0;h1?u.onMatch=this.$applyToken:u.onMatch=u.token),w>1&&(/\\\d/.test(u.regex)?$=u.regex.replace(/\\([0-9]+)/g,function(v,f){return"\\"+(parseInt(f,10)+e+1)}):(w=1,$=this.removeCapturingGroups(u.regex)),!u.splitRegex&&typeof u.token!="string"&&l.push(u)),n[e]=h,e+=w,r.push($),u.onMatch||(u.onMatch=null)}}r.length||(n[0]=0,r.push("$")),l.forEach(function(v){v.splitRegex=this.createSplitterRegexp(v.regex,o)},this),this.regExps[t]=new RegExp("("+r.join(")|(")+")|($)",o)}}return a.prototype.$setMaxTokenCount=function(c){_=c|0},a.prototype.$applyToken=function(c){var t=this.splitRegex.exec(c).slice(1),i=this.token.apply(this,t);if(typeof i=="string")return[{type:i,value:c}];for(var r=[],e=0,n=i.length;eu){var A=c.substring(u,S-M.length);w.type==v?w.value+=A:(w.type&&h.push(w),w={type:v,value:A})}for(var b=0;b_){for($>2*c.length&&this.reportError("infinite loop with in ace tokenizer",{startState:t,line:c});u1&&i[0]!==r&&i.unshift("#tmp",r),{tokens:h,state:i.length?i:r}},a}();p.prototype.reportError=d.reportError,L.Tokenizer=p}),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],function(y,L,I){var d=y("../lib/lang"),_=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(c,t){if(!t){for(var i in c)this.$rules[i]=c[i];return}for(var i in c){for(var r=c[i],e=0;e=this.$rowTokens.length;){if(this.$row+=1,a||(a=this.$session.getLength()),this.$row>=a)return this.$row=a-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},p.prototype.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},p.prototype.getCurrentTokenRow=function(){return this.$row},p.prototype.getCurrentTokenColumn=function(){var a=this.$rowTokens,c=this.$tokenIndex,t=a[c].start;if(t!==void 0)return t;for(t=0;c>0;)c-=1,t+=a[c].value.length;return t},p.prototype.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},p.prototype.getCurrentTokenRange=function(){var a=this.$rowTokens[this.$tokenIndex],c=this.getCurrentTokenColumn();return new d(this.$row,c,this.$row,c+a.value.length)},p}();L.TokenIterator=_}),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(y,L,I){var d=y("../../lib/oop"),_=y("../behaviour").Behaviour,p=y("../../token_iterator").TokenIterator,a=y("../../lib/lang"),c=["text","paren.rparen","rparen","paren","punctuation.operator"],t=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],i,r={},e={'"':'"',"'":"'"},n=function(h){var u=-1;if(h.multiSelect&&(u=h.selection.index,r.rangeCount!=h.multiSelect.rangeCount&&(r={rangeCount:h.multiSelect.rangeCount})),r[u])return i=r[u];i=r[u]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},o=function(h,u,$,w){var v=h.end.row-h.start.row;return{text:$+u+w,selection:[0,h.start.column+1,v,h.end.column+(v?0:1)]}},l=function(h){h=h||{},this.add("braces","insertion",function(u,$,w,v,f){var M=w.getCursorPosition(),S=v.doc.getLine(M.row);if(f=="{"){n(w);var A=w.getSelectionRange(),b=v.doc.getTextRange(A);if(b!==""&&b!=="{"&&w.getWrapBehavioursEnabled())return o(A,b,"{","}");if(l.isSaneInsertion(w,v))return/[\]\}\)]/.test(S[M.column])||w.inMultiSelectMode||h.braces?(l.recordAutoInsert(w,v,"}"),{text:"{}",selection:[1,1]}):(l.recordMaybeInsert(w,v,"{"),{text:"{",selection:[1,1]})}else if(f=="}"){n(w);var m=S.substring(M.column,M.column+1);if(m=="}"){var k=v.$findOpeningBracket("}",{column:M.column+1,row:M.row});if(k!==null&&l.isAutoInsertedClosing(M,S,f))return l.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}else if(f==` `||f==`\r `){n(w);var E="";l.isMaybeInsertedClosing(M,S)&&(E=a.stringRepeat("}",i.maybeInsertedBrackets),l.clearMaybeInsertedClosing());var m=S.substring(M.column,M.column+1);if(m==="}"){var g=v.findMatchingBracket({row:M.row,column:M.column+1},"}");if(!g)return null;var C=this.$getIndent(v.getLine(g.row))}else if(E)var C=this.$getIndent(S);else{l.clearMaybeInsertedClosing();return}var T=C+v.getTabString();return{text:` `+T+` `+C+E,selection:[1,T.length,1,T.length]}}else l.clearMaybeInsertedClosing()}),this.add("braces","deletion",function(u,$,w,v,f){var M=v.doc.getTextRange(f);if(!f.isMultiLine()&&M=="{"){n(w);var S=v.doc.getLine(f.start.row),A=S.substring(f.end.column,f.end.column+1);if(A=="}")return f.end.column++,f;i.maybeInsertedBrackets--}}),this.add("parens","insertion",function(u,$,w,v,f){if(f=="("){n(w);var M=w.getSelectionRange(),S=v.doc.getTextRange(M);if(S!==""&&w.getWrapBehavioursEnabled())return o(M,S,"(",")");if(l.isSaneInsertion(w,v))return l.recordAutoInsert(w,v,")"),{text:"()",selection:[1,1]}}else if(f==")"){n(w);var A=w.getCursorPosition(),b=v.doc.getLine(A.row),m=b.substring(A.column,A.column+1);if(m==")"){var k=v.$findOpeningBracket(")",{column:A.column+1,row:A.row});if(k!==null&&l.isAutoInsertedClosing(A,b,f))return l.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("parens","deletion",function(u,$,w,v,f){var M=v.doc.getTextRange(f);if(!f.isMultiLine()&&M=="("){n(w);var S=v.doc.getLine(f.start.row),A=S.substring(f.start.column+1,f.start.column+2);if(A==")")return f.end.column++,f}}),this.add("brackets","insertion",function(u,$,w,v,f){if(f=="["){n(w);var M=w.getSelectionRange(),S=v.doc.getTextRange(M);if(S!==""&&w.getWrapBehavioursEnabled())return o(M,S,"[","]");if(l.isSaneInsertion(w,v))return l.recordAutoInsert(w,v,"]"),{text:"[]",selection:[1,1]}}else if(f=="]"){n(w);var A=w.getCursorPosition(),b=v.doc.getLine(A.row),m=b.substring(A.column,A.column+1);if(m=="]"){var k=v.$findOpeningBracket("]",{column:A.column+1,row:A.row});if(k!==null&&l.isAutoInsertedClosing(A,b,f))return l.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("brackets","deletion",function(u,$,w,v,f){var M=v.doc.getTextRange(f);if(!f.isMultiLine()&&M=="["){n(w);var S=v.doc.getLine(f.start.row),A=S.substring(f.start.column+1,f.start.column+2);if(A=="]")return f.end.column++,f}}),this.add("string_dquotes","insertion",function(u,$,w,v,f){var M=v.$mode.$quotes||e;if(f.length==1&&M[f]){if(this.lineCommentStart&&this.lineCommentStart.indexOf(f)!=-1)return;n(w);var S=f,A=w.getSelectionRange(),b=v.doc.getTextRange(A);if(b!==""&&(b.length!=1||!M[b])&&w.getWrapBehavioursEnabled())return o(A,b,S,S);if(!b){var m=w.getCursorPosition(),k=v.doc.getLine(m.row),E=k.substring(m.column-1,m.column),g=k.substring(m.column,m.column+1),C=v.getTokenAt(m.row,m.column),T=v.getTokenAt(m.row,m.column+1);if(E=="\\"&&C&&/escape/.test(C.type))return null;var x=C&&/string|escape/.test(C.type),D=!T||/string|escape/.test(T.type),V;if(g==S)V=x!==D,V&&/string\.end/.test(T.type)&&(V=!1);else{if(x&&!D||x&&D)return null;var F=v.$mode.tokenRe;F.lastIndex=0;var N=F.test(E);F.lastIndex=0;var U=F.test(g),W=v.$mode.$pairQuotesAfter,B=W&&W[S]&&W[S].test(E);if(!B&&N||U||g&&!/[\s;,.})\]\\]/.test(g))return null;var z=k[m.column-2];if(E==S&&(z==S||F.test(z)))return null;V=!0}return{text:V?S+S:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(u,$,w,v,f){var M=v.$mode.$quotes||e,S=v.doc.getTextRange(f);if(!f.isMultiLine()&&M.hasOwnProperty(S)){n(w);var A=v.doc.getLine(f.start.row),b=A.substring(f.start.column+1,f.start.column+2);if(b==S)return f.end.column++,f}}),h.closeDocComment!==!1&&this.add("doc comment end","insertion",function(u,$,w,v,f){if(u==="doc-start"&&(f===` `||f===`\r `)&&w.selection.isEmpty()){var M=w.getCursorPosition(),S=v.doc.getLine(M.row),A=v.doc.getLine(M.row+1),b=this.$getIndent(S);if(/\s*\*/.test(A))return/^\s*\*/.test(S)?{text:f+b+"* ",selection:[1,3+b.length,1,3+b.length]}:{text:f+b+" * ",selection:[1,3+b.length,1,3+b.length]};if(/\/\*\*/.test(S.substring(0,M.column)))return{text:f+b+" * "+f+" "+b+"*/",selection:[1,4+b.length,1,4+b.length]}}})};l.isSaneInsertion=function(h,u){var $=h.getCursorPosition(),w=new p(u,$.row,$.column);if(!this.$matchTokenType(w.getCurrentToken()||"text",c)){if(/[)}\]]/.test(h.session.getLine($.row)[$.column]))return!0;var v=new p(u,$.row,$.column+1);if(!this.$matchTokenType(v.getCurrentToken()||"text",c))return!1}return w.stepForward(),w.getCurrentTokenRow()!==$.row||this.$matchTokenType(w.getCurrentToken()||"text",t)},l.$matchTokenType=function(h,u){return u.indexOf(h.type||h)>-1},l.recordAutoInsert=function(h,u,$){var w=h.getCursorPosition(),v=u.doc.getLine(w.row);this.isAutoInsertedClosing(w,v,i.autoInsertedLineEnd[0])||(i.autoInsertedBrackets=0),i.autoInsertedRow=w.row,i.autoInsertedLineEnd=$+v.substr(w.column),i.autoInsertedBrackets++},l.recordMaybeInsert=function(h,u,$){var w=h.getCursorPosition(),v=u.doc.getLine(w.row);this.isMaybeInsertedClosing(w,v)||(i.maybeInsertedBrackets=0),i.maybeInsertedRow=w.row,i.maybeInsertedLineStart=v.substr(0,w.column)+$,i.maybeInsertedLineEnd=v.substr(w.column),i.maybeInsertedBrackets++},l.isAutoInsertedClosing=function(h,u,$){return i.autoInsertedBrackets>0&&h.row===i.autoInsertedRow&&$===i.autoInsertedLineEnd[0]&&u.substr(h.column)===i.autoInsertedLineEnd},l.isMaybeInsertedClosing=function(h,u){return i.maybeInsertedBrackets>0&&h.row===i.maybeInsertedRow&&u.substr(h.column)===i.maybeInsertedLineEnd&&u.substr(0,h.column)==i.maybeInsertedLineStart},l.popAutoInsertedClosing=function(){i.autoInsertedLineEnd=i.autoInsertedLineEnd.substr(1),i.autoInsertedBrackets--},l.clearMaybeInsertedClosing=function(){i&&(i.maybeInsertedBrackets=0,i.maybeInsertedRow=-1)},d.inherits(l,_),L.CstyleBehaviour=l}),ace.define("ace/unicode",["require","exports","module"],function(y,L,I){for(var d=[48,9,8,25,5,0,2,25,48,0,11,0,5,0,6,22,2,30,2,457,5,11,15,4,8,0,2,0,18,116,2,1,3,3,9,0,2,2,2,0,2,19,2,82,2,138,2,4,3,155,12,37,3,0,8,38,10,44,2,0,2,1,2,1,2,0,9,26,6,2,30,10,7,61,2,9,5,101,2,7,3,9,2,18,3,0,17,58,3,100,15,53,5,0,6,45,211,57,3,18,2,5,3,11,3,9,2,1,7,6,2,2,2,7,3,1,3,21,2,6,2,0,4,3,3,8,3,1,3,3,9,0,5,1,2,4,3,11,16,2,2,5,5,1,3,21,2,6,2,1,2,1,2,1,3,0,2,4,5,1,3,2,4,0,8,3,2,0,8,15,12,2,2,8,2,2,2,21,2,6,2,1,2,4,3,9,2,2,2,2,3,0,16,3,3,9,18,2,2,7,3,1,3,21,2,6,2,1,2,4,3,8,3,1,3,2,9,1,5,1,2,4,3,9,2,0,17,1,2,5,4,2,2,3,4,1,2,0,2,1,4,1,4,2,4,11,5,4,4,2,2,3,3,0,7,0,15,9,18,2,2,7,2,2,2,22,2,9,2,4,4,7,2,2,2,3,8,1,2,1,7,3,3,9,19,1,2,7,2,2,2,22,2,9,2,4,3,8,2,2,2,3,8,1,8,0,2,3,3,9,19,1,2,7,2,2,2,22,2,15,4,7,2,2,2,3,10,0,9,3,3,9,11,5,3,1,2,17,4,23,2,8,2,0,3,6,4,0,5,5,2,0,2,7,19,1,14,57,6,14,2,9,40,1,2,0,3,1,2,0,3,0,7,3,2,6,2,2,2,0,2,0,3,1,2,12,2,2,3,4,2,0,2,5,3,9,3,1,35,0,24,1,7,9,12,0,2,0,2,0,5,9,2,35,5,19,2,5,5,7,2,35,10,0,58,73,7,77,3,37,11,42,2,0,4,328,2,3,3,6,2,0,2,3,3,40,2,3,3,32,2,3,3,6,2,0,2,3,3,14,2,56,2,3,3,66,5,0,33,15,17,84,13,619,3,16,2,25,6,74,22,12,2,6,12,20,12,19,13,12,2,2,2,1,13,51,3,29,4,0,5,1,3,9,34,2,3,9,7,87,9,42,6,69,11,28,4,11,5,11,11,39,3,4,12,43,5,25,7,10,38,27,5,62,2,28,3,10,7,9,14,0,89,75,5,9,18,8,13,42,4,11,71,55,9,9,4,48,83,2,2,30,14,230,23,280,3,5,3,37,3,5,3,7,2,0,2,0,2,0,2,30,3,52,2,6,2,0,4,2,2,6,4,3,3,5,5,12,6,2,2,6,67,1,20,0,29,0,14,0,17,4,60,12,5,0,4,11,18,0,5,0,3,9,2,0,4,4,7,0,2,0,2,0,2,3,2,10,3,3,6,4,5,0,53,1,2684,46,2,46,2,132,7,6,15,37,11,53,10,0,17,22,10,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,31,48,0,470,1,36,5,2,4,6,1,5,85,3,1,3,2,2,89,2,3,6,40,4,93,18,23,57,15,513,6581,75,20939,53,1164,68,45,3,268,4,27,21,31,3,13,13,1,2,24,9,69,11,1,38,8,3,102,3,1,111,44,25,51,13,68,12,9,7,23,4,0,5,45,3,35,13,28,4,64,15,10,39,54,10,13,3,9,7,22,4,1,5,66,25,2,227,42,2,1,3,9,7,11171,13,22,5,48,8453,301,3,61,3,105,39,6,13,4,6,11,2,12,2,4,2,0,2,1,2,1,2,107,34,362,19,63,3,53,41,11,5,15,17,6,13,1,25,2,33,4,2,134,20,9,8,25,5,0,2,25,12,88,4,5,3,5,3,5,3,2],_=0,p=[],a=0;a2?z%f!=f-1:z%f==0}}else{if(!this.blockComment)return!1;var S=this.blockComment.start,A=this.blockComment.end,b=new RegExp("^(\\s*)(?:"+t.escapeRegExp(S)+")"),m=new RegExp("(?:"+t.escapeRegExp(A)+")\\s*$"),k=function(V,F){g(V,F)||(!$||/\S/.test(V))&&(u.insertInLine({row:F,column:V.length},A),u.insertInLine({row:F,column:v},S))},E=function(V,F){var N;(N=V.match(m))&&u.removeInLine(F,V.length-N[0].length,V.length),(N=V.match(b))&&u.removeInLine(F,N[1].length,N[0].length)},g=function(V,F){if(b.test(V))return!0;for(var N=o.getTokens(F),U=0;UV.length&&(D=V.length)}),v==1/0&&(v=D,$=!1,w=!1),M&&v%f!=0&&(v=Math.floor(v/f)*f),x(w?E:k)},this.toggleBlockComment=function(n,o,l,h){var u=this.blockComment;if(u){!u.start&&u[0]&&(u=u[0]);var $=new i(o,h.row,h.column),w=$.getCurrentToken();o.selection;var v=o.selection.toOrientedRange(),f,M;if(w&&/comment/.test(w.type)){for(var S,A;w&&/comment/.test(w.type);){var b=w.value.indexOf(u.start);if(b!=-1){var m=$.getCurrentTokenRow(),k=$.getCurrentTokenColumn()+b;S=new r(m,k,m,k+u.start.length);break}w=$.stepBackward()}for(var $=new i(o,h.row,h.column),w=$.getCurrentToken();w&&/comment/.test(w.type);){var b=w.value.indexOf(u.end);if(b!=-1){var m=$.getCurrentTokenRow(),k=$.getCurrentTokenColumn()+b;A=new r(m,k,m,k+u.end.length);break}w=$.stepForward()}A&&o.remove(A),S&&(o.remove(S),f=S.start.row,M=-u.start.length)}else M=u.start.length,f=l.start.row,o.insert(l.end,u.end),o.insert(l.start,u.start);v.start.row==f&&(v.start.column+=M),v.end.row==f&&(v.end.column+=M),o.selection.fromOrientedRange(v)}},this.getNextLineIndent=function(n,o,l){return this.$getIndent(o)},this.checkOutdent=function(n,o,l){return!1},this.autoOutdent=function(n,o,l){},this.$getIndent=function(n){return n.match(/^\s*/)[0]},this.createWorker=function(n){return null},this.createModeDelegates=function(n){this.$embeds=[],this.$modes={};for(var o in n)if(n[o]){var l=n[o],h=l.prototype.$id,u=d.$modes[h];u||(d.$modes[h]=u=new l),d.$modes[o]||(d.$modes[o]=u),this.$embeds.push(o),this.$modes[o]=u}for(var $=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"],o=0;o<$.length;o++)(function(v){var f=$[o],M=v[f];v[$[o]]=function(){return this.$delegator(f,arguments,M)}})(this)},this.$delegator=function(n,o,l){var h=o[0]||"start";if(typeof h!="string"){if(Array.isArray(h[2])){var u=h[2][h[2].length-1],$=this.$modes[u];if($)return $[n].apply($,[h[1]].concat([].slice.call(o,1)))}h=h[0]||"start"}for(var w=0;w"u"?this.setPosition(r.row,r.column):this.setPosition(r,e)}return t.prototype.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},t.prototype.getDocument=function(){return this.document},t.prototype.onChange=function(i){if(!(i.start.row==i.end.row&&i.start.row!=this.row)&&!(i.start.row>this.row)){var r=c(i,{row:this.row,column:this.column},this.$insertRight);this.setPosition(r.row,r.column,!0)}},t.prototype.setPosition=function(i,r,e){var n;if(e?n={row:i,column:r}:n=this.$clipPositionToDocument(i,r),!(this.row==n.row&&this.column==n.column)){var o={row:this.row,column:this.column};this.row=n.row,this.column=n.column,this._signal("change",{old:o,value:n})}},t.prototype.detach=function(){this.document.off("change",this.$onChange)},t.prototype.attach=function(i){this.document=i||this.document,this.document.on("change",this.$onChange)},t.prototype.$clipPositionToDocument=function(i,r){var e={};return i>=this.document.getLength()?(e.row=Math.max(0,this.document.getLength()-1),e.column=this.document.getLine(e.row).length):i<0?(e.row=0,e.column=0):(e.row=i,e.column=Math.min(this.document.getLine(e.row).length,Math.max(0,r))),r<0&&(e.column=0),e},t}();p.prototype.$insertRight=!1,d.implement(p.prototype,_);function a(t,i,r){var e=r?t.column<=i.column:t.column=n&&(r=n-1,e=void 0);var o=this.getLine(r);return e==null&&(e=o.length),e=Math.min(Math.max(e,0),o.length),{row:r,column:e}},i.prototype.clonePos=function(r){return{row:r.row,column:r.column}},i.prototype.pos=function(r,e){return{row:r,column:e}},i.prototype.$clipPosition=function(r){var e=this.getLength();return r.row>=e?(r.row=Math.max(0,e-1),r.column=this.getLine(e-1).length):(r.row=Math.max(0,r.row),r.column=Math.min(Math.max(r.column,0),this.getLine(r.row).length)),r},i.prototype.insertFullLines=function(r,e){r=Math.min(Math.max(r,0),this.getLength());var n=0;r0,o=e=0&&this.applyDelta({start:this.pos(r,this.getLine(r).length),end:this.pos(r+1,0),action:"remove",lines:["",""]})},i.prototype.replace=function(r,e){if(r instanceof a||(r=a.fromPoints(r.start,r.end)),e.length===0&&r.isEmpty())return r.start;if(e==this.getTextRange(r))return r.end;this.remove(r);var n;return e?n=this.insert(r.start,e):n=r.start,n},i.prototype.applyDeltas=function(r){for(var e=0;e=0;e--)this.revertDelta(r[e])},i.prototype.applyDelta=function(r,e){var n=r.action=="insert";(n?r.lines.length<=1&&!r.lines[0]:!a.comparePoints(r.start,r.end))||(n&&r.lines.length>2e4?this.$splitAndapplyLargeDelta(r,2e4):(_(this.$lines,r,e),this._signal("change",r)))},i.prototype.$safeApplyDelta=function(r){var e=this.$lines.length;(r.action=="remove"&&r.start.row20){i.running=setTimeout(i.$worker,20);break}}i.currentLine=e,n==-1&&(n=e),l<=n&&i.fireUpdateEvent(l,n)}}}return a.prototype.setTokenizer=function(c){this.tokenizer=c,this.lines=[],this.states=[],this.start(0)},a.prototype.setDocument=function(c){this.doc=c,this.lines=[],this.states=[],this.stop()},a.prototype.fireUpdateEvent=function(c,t){var i={first:c,last:t};this._signal("update",{data:i})},a.prototype.start=function(c){this.currentLine=Math.min(c||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},a.prototype.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},a.prototype.$updateOnChange=function(c){var t=c.start.row,i=c.end.row-t;if(i===0)this.lines[t]=null;else if(c.action=="remove")this.lines.splice(t,i+1,null),this.states.splice(t,i+1,null);else{var r=Array(i+1);r.unshift(t,1),this.lines.splice.apply(this.lines,r),this.states.splice.apply(this.states,r)}this.currentLine=Math.min(t,this.currentLine,this.doc.getLength()),this.stop()},a.prototype.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},a.prototype.getTokens=function(c){return this.lines[c]||this.$tokenizeRow(c)},a.prototype.getState=function(c){return this.currentLine==c&&this.$tokenizeRow(c),this.states[c]||"start"},a.prototype.$tokenizeRow=function(c){var t=this.doc.getLine(c),i=this.states[c-1],r=this.tokenizer.getLineTokens(t,i,c);return this.states[c]+""!=r.state+""?(this.states[c]=r.state,this.lines[c+1]=null,this.currentLine>c+1&&(this.currentLine=c+1)):this.currentLine==c&&(this.currentLine=c+1),this.lines[c]=r.tokens},a.prototype.cleanup=function(){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.removeAllListeners()},a}();d.implement(p.prototype,_),L.BackgroundTokenizer=p}),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/range"],function(y,L,I){var d=y("./lib/lang"),_=y("./range").Range,p=function(){function a(c,t,i){i===void 0&&(i="text"),this.setRegexp(c),this.clazz=t,this.type=i}return a.prototype.setRegexp=function(c){this.regExp+""!=c+""&&(this.regExp=c,this.cache=[])},a.prototype.update=function(c,t,i,r){if(this.regExp)for(var e=r.firstRow,n=r.lastRow,o={},l=e;l<=n;l++){var h=this.cache[l];h==null&&(h=d.getMatchOffsets(i.getLine(l),this.regExp),h.length>this.MAX_RANGES&&(h=h.slice(0,this.MAX_RANGES)),h=h.map(function(v){return new _(l,v.offset,l,v.offset+v.length)}),this.cache[l]=h.length?h:"");for(var u=h.length;u--;){var $=h[u].toScreenRange(i),w=$.toString();o[w]||(o[w]=!0,t.drawSingleLineMarker(c,$,this.clazz,r))}}},a}();p.prototype.MAX_RANGES=500,L.SearchHighlight=p}),ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],function(y,L,I){var d=y("../range").Range,_=function(){function p(a,c){this.foldData=a,Array.isArray(c)?this.folds=c:c=this.folds=[c];var t=c[c.length-1];this.range=new d(c[0].start.row,c[0].start.column,t.end.row,t.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach(function(i){i.setFoldLine(this)},this)}return p.prototype.shiftRow=function(a){this.start.row+=a,this.end.row+=a,this.folds.forEach(function(c){c.start.row+=a,c.end.row+=a})},p.prototype.addFold=function(a){if(a.sameRow){if(a.start.rowthis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(a),this.folds.sort(function(c,t){return-c.range.compareEnd(t.start.row,t.start.column)}),this.range.compareEnd(a.start.row,a.start.column)>0?(this.end.row=a.end.row,this.end.column=a.end.column):this.range.compareStart(a.end.row,a.end.column)<0&&(this.start.row=a.start.row,this.start.column=a.start.column)}else if(a.start.row==this.end.row)this.folds.push(a),this.end.row=a.end.row,this.end.column=a.end.column;else if(a.end.row==this.start.row)this.folds.unshift(a),this.start.row=a.start.row,this.start.column=a.start.column;else throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");a.foldLine=this},p.prototype.containsRow=function(a){return a>=this.start.row&&a<=this.end.row},p.prototype.walk=function(a,c,t){var i=0,r=this.folds,e,n,o,l=!0;c==null&&(c=this.end.row,t=this.end.column);for(var h=0;h0)){var l=_(c,n.start);return o===0?t&&l!==0?-e-2:e:l>0||l===0&&!t?e:-e-1}}return-e-1},a.prototype.add=function(c){var t=!c.isEmpty(),i=this.pointIndex(c.start,t);i<0&&(i=-i-1);var r=this.pointIndex(c.end,t,i);return r<0?r=-r-1:r++,this.ranges.splice(i,r-i,c)},a.prototype.addList=function(c){for(var t=[],i=c.length;i--;)t.push.apply(t,this.add(c[i]));return t},a.prototype.substractPoint=function(c){var t=this.pointIndex(c);if(t>=0)return this.ranges.splice(t,1)},a.prototype.merge=function(){var c=[],t=this.ranges;t=t.sort(function(o,l){return _(o.start,l.start)});for(var i=t[0],r,e=1;e=0},a.prototype.containsPoint=function(c){return this.pointIndex(c)>=0},a.prototype.rangeAtPoint=function(c){var t=this.pointIndex(c);if(t>=0)return this.ranges[t]},a.prototype.clipRows=function(c,t){var i=this.ranges;if(i[0].start.row>t||i[i.length-1].start.row=r)break}if(c.action=="insert")for(var u=e-r,$=-t.column+i.column;or)break;if(h.start.row==r&&h.start.column>=t.column&&(h.start.column==t.column&&this.$bias<=0||(h.start.column+=$,h.start.row+=u)),h.end.row==r&&h.end.column>=t.column){if(h.end.column==t.column&&this.$bias<0)continue;h.end.column==t.column&&$>0&&oh.start.column&&h.end.column==n[o+1].start.column&&(h.end.column-=$),h.end.column+=$,h.end.row+=u}}else for(var u=r-e,$=t.column-i.column;oe)break;h.end.rowt.column)&&(h.end.column=t.column,h.end.row=t.row):(h.end.column+=$,h.end.row+=u):h.end.row>e&&(h.end.row+=u),h.start.rowt.column)&&(h.start.column=t.column,h.start.row=t.row):(h.start.column+=$,h.start.row+=u):h.start.row>e&&(h.start.row+=u)}if(u!=0&&o=i)return o;if(o.end.row>i)return null}return null},this.getNextFoldLine=function(i,r){var e=this.$foldData,n=0;for(r&&(n=e.indexOf(r)),n==-1&&(n=0),n;n=i)return o}return null},this.getFoldedRowCount=function(i,r){for(var e=this.$foldData,n=r-i+1,o=0;o=r){u=i?n-=r-u:n=0);break}else h>=i&&(u>=i?n-=h-u:n-=h-i+1)}return n},this.$addFoldLine=function(i){return this.$foldData.push(i),this.$foldData.sort(function(r,e){return r.start.row-e.start.row}),i},this.addFold=function(i,r){var e=this.$foldData,n=!1,o;i instanceof p?o=i:(o=new p(r,i),o.collapseChildren=r.collapseChildren),this.$clipRangeToDocument(o.range);var l=o.start.row,h=o.start.column,u=o.end.row,$=o.end.column,w=this.getFoldAt(l,h,1),v=this.getFoldAt(u,$,-1);if(w&&v==w)return w.addSubFold(o);w&&!w.range.isStart(l,h)&&this.removeFold(w),v&&!v.range.isEnd(u,$)&&this.removeFold(v);var f=this.getFoldsInRange(o.range);f.length>0&&(this.removeFolds(f),o.collapseChildren||f.forEach(function(b){o.addSubFold(b)}));for(var M=0;M0&&this.foldAll(i.start.row+1,i.end.row,i.collapseChildren-1),i.subFolds=[]},this.expandFolds=function(i){i.forEach(function(r){this.expandFold(r)},this)},this.unfold=function(i,r){var e,n;if(i==null)e=new d(0,0,this.getLength(),0),r==null&&(r=!0);else if(typeof i=="number")e=new d(i,0,i,this.getLine(i).length);else if("row"in i)e=d.fromPoints(i,i);else{if(Array.isArray(i))return n=[],i.forEach(function(l){n=n.concat(this.unfold(l))},this),n;e=i}n=this.getFoldsInRangeList(e);for(var o=n;n.length==1&&d.comparePoints(n[0].start,e.start)<0&&d.comparePoints(n[0].end,e.end)>0;)this.expandFolds(n),n=this.getFoldsInRangeList(e);if(r!=!1?this.removeFolds(n):this.expandFolds(n),o.length)return o},this.isRowFolded=function(i,r){return!!this.getFoldLine(i,r)},this.getRowFoldEnd=function(i,r){var e=this.getFoldLine(i,r);return e?e.end.row:i},this.getRowFoldStart=function(i,r){var e=this.getFoldLine(i,r);return e?e.start.row:i},this.getFoldDisplayLine=function(i,r,e,n,o){n==null&&(n=i.start.row),o==null&&(o=0),r==null&&(r=i.end.row),e==null&&(e=this.getLine(r).length);var l=this.doc,h="";return i.walk(function(u,$,w,v){if(!($$)break;while(o&&h.test(o.type)&&!/^comment.start/.test(o.type));o=n.stepBackward()}else o=n.getCurrentToken();return u.end.row=n.getCurrentTokenRow(),u.end.column=n.getCurrentTokenColumn(),/^comment.end/.test(o.type)||(u.end.column+=o.value.length-2),u}},this.foldAll=function(i,r,e,n){e==null&&(e=1e5);var o=this.foldWidgets;if(o){r=r||this.getLength(),i=i||0;for(var l=i;l=i&&(l=h.end.row,h.collapseChildren=e,this.addFold("...",h))}}},this.foldToLevel=function(i){for(this.foldAll();i-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var i=this;this.foldAll(null,null,null,function(r){for(var e=i.getTokens(r),n=0;n=0;){var l=e[n];if(l==null&&(l=e[n]=this.getFoldWidget(n)),l=="start"){var h=this.getFoldWidgetRange(n);if(o||(o=h),h&&h.end.row>=i)break}n--}return{range:n!==-1&&h,firstRange:o}},this.onFoldWidgetClick=function(i,r){r instanceof c&&(r=r.domEvent);var e={children:r.shiftKey,all:r.ctrlKey||r.metaKey,siblings:r.altKey},n=this.$toggleFoldWidget(i,e);if(!n){var o=r.target||r.srcElement;o&&/ace_fold-widget/.test(o.className)&&(o.className+=" ace_invalid")}},this.$toggleFoldWidget=function(i,r){if(this.getFoldWidget){var e=this.getFoldWidget(i),n=this.getLine(i),o=e==="end"?-1:1,l=this.getFoldAt(i,o===-1?0:n.length,o);if(l)return r.children||r.all?this.removeFold(l):this.expandFold(l),l;var h=this.getFoldWidgetRange(i,!0);if(h&&!h.isMultiLine()&&(l=this.getFoldAt(h.start.row,h.start.column,1),l&&h.isEqual(l.range)))return this.removeFold(l),l;if(r.siblings){var u=this.getParentFoldRangeData(i);if(u.range)var $=u.range.start.row+1,w=u.range.end.row;this.foldAll($,w,r.all?1e4:0)}else r.children?(w=h?h.end.row:this.getLength(),this.foldAll(i+1,w,r.all?1e4:0)):h&&(r.all&&(h.collapseChildren=1e4),this.addFold("...",h));return h}},this.toggleFoldWidget=function(i){var r=this.selection.getCursor().row;r=this.getRowFoldStart(r);var e=this.$toggleFoldWidget(r,{});if(!e){var n=this.getParentFoldRangeData(r,!0);if(e=n.range||n.firstRange,e){r=e.start.row;var o=this.getFoldAt(r,this.getLine(r).length,1);o?this.removeFold(o):this.addFold("...",e)}}},this.updateFoldWidgets=function(i){var r=i.start.row,e=i.end.row-r;if(e===0)this.foldWidgets[r]=null;else if(i.action=="remove")this.foldWidgets.splice(r,e+1,null);else{var n=Array(e+1);n.unshift(r,1),this.foldWidgets.splice.apply(this.foldWidgets,n)}},this.tokenizerUpdateFoldWidgets=function(i){var r=i.data;r.first!=r.last&&this.foldWidgets.length>r.first&&this.foldWidgets.splice(r.first,this.foldWidgets.length)}}L.Folding=t}),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(y,L,I){var d=y("../token_iterator").TokenIterator,_=y("../range").Range;function p(){this.findMatchingBracket=function(a,c){if(a.column==0)return null;var t=c||this.getLine(a.row).charAt(a.column-1);if(t=="")return null;var i=t.match(/([\(\[\{])|([\)\]\}])/);return i?i[1]?this.$findClosingBracket(i[1],a):this.$findOpeningBracket(i[2],a):null},this.getBracketRange=function(a){var c=this.getLine(a.row),t=!0,i,r=c.charAt(a.column-1),e=r&&r.match(/([\(\[\{])|([\)\]\}])/);if(e||(r=c.charAt(a.column),a={row:a.row,column:a.column+1},e=r&&r.match(/([\(\[\{])|([\)\]\}])/),t=!1),!e)return null;if(e[1]){var n=this.$findClosingBracket(e[1],a);if(!n)return null;i=_.fromPoints(a,n),t||(i.end.column++,i.start.column--),i.cursor=i.end}else{var n=this.$findOpeningBracket(e[2],a);if(!n)return null;i=_.fromPoints(n,a),t||(i.start.column++,i.end.column--),i.cursor=i.start}return i},this.getMatchingBracketRanges=function(a,c){var t=this.getLine(a.row),i=/([\(\[\{])|([\)\]\}])/,r=!c&&t.charAt(a.column-1),e=r&&r.match(i);if(e||(r=(c===void 0||c)&&t.charAt(a.column),a={row:a.row,column:a.column+1},e=r&&r.match(i)),!e)return null;var n=new _(a.row,a.column-1,a.row,a.column),o=e[1]?this.$findClosingBracket(e[1],a):this.$findOpeningBracket(e[2],a);if(!o)return[n];var l=new _(o.row,o.column,o.row,o.column+1);return[n,l]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(a,c,t){var i=this.$brackets[a],r=1,e=new d(this,c.row,c.column),n=e.getCurrentToken();if(n||(n=e.stepForward()),!!n){t||(t=new RegExp("(\\.?"+n.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)").replace(/-close\b/,"-(close|open)")+")+"));for(var o=c.column-e.getCurrentTokenColumn()-2,l=n.value;;){for(;o>=0;){var h=l.charAt(o);if(h==i){if(r-=1,r==0)return{row:e.getCurrentTokenRow(),column:o+e.getCurrentTokenColumn()}}else h==a&&(r+=1);o-=1}do n=e.stepBackward();while(n&&!t.test(n.type));if(n==null)break;l=n.value,o=l.length-1}return null}},this.$findClosingBracket=function(a,c,t){var i=this.$brackets[a],r=1,e=new d(this,c.row,c.column),n=e.getCurrentToken();if(n||(n=e.stepForward()),!!n){t||(t=new RegExp("(\\.?"+n.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)").replace(/-open\b/,"-(close|open)")+")+"));for(var o=c.column-e.getCurrentTokenColumn();;){for(var l=n.value,h=l.length;o"?i=!0:c.type.indexOf("tag-name")!==-1&&(t=!0));while(c&&!t);return c},this.$findClosingTag=function(a,c){var t,i=c.value,r=c.value,e=0,n=new _(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);c=a.stepForward();var o=new _(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+c.value.length),l=!1;do if(t=c,c=a.stepForward(),c){if(c.value===">"&&!l){var h=new _(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);l=!0}if(c.type.indexOf("tag-name")!==-1){if(i=c.value,r===i){if(t.value==="<")e++;else if(t.value==="")var w=new _(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);else return}}}else if(r===i&&c.value==="/>"&&(e--,e<0))var u=new _(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+2),$=u,w=$,h=new _(o.end.row,o.end.column,o.end.row,o.end.column+1)}while(c&&e>=0);if(n&&h&&u&&w&&o&&$)return{openTag:new _(n.start.row,n.start.column,h.end.row,h.end.column),closeTag:new _(u.start.row,u.start.column,w.end.row,w.end.column),openTagName:o,closeTagName:$}},this.$findOpeningTag=function(a,c){var t=a.getCurrentToken(),i=c.value,r=0,e=a.getCurrentTokenRow(),n=a.getCurrentTokenColumn(),o=n+2,l=new _(e,n,e,o);a.stepForward();var h=new _(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+c.value.length);if(c=a.stepForward(),!(!c||c.value!==">")){var u=new _(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);a.stepBackward(),a.stepBackward();do if(c=t,e=a.getCurrentTokenRow(),n=a.getCurrentTokenColumn(),o=n+c.value.length,t=a.stepBackward(),c){if(c.type.indexOf("tag-name")!==-1){if(i===c.value)if(t.value==="<"){if(r++,r>0){var $=new _(e,n,e,o),w=new _(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1);do c=a.stepForward();while(c&&c.value!==">");var v=new _(a.getCurrentTokenRow(),a.getCurrentTokenColumn(),a.getCurrentTokenRow(),a.getCurrentTokenColumn()+1)}}else t.value===""){for(var f=0,M=t;M;){if(M.type.indexOf("tag-name")!==-1&&M.value===i){r--;break}else if(M.value==="<")break;M=a.stepBackward(),f++}for(var S=0;SE&&(this.$docRowCache.splice(E,k),this.$screenRowCache.splice(E,k))},b.prototype.$getRowCacheIndex=function(m,k){for(var E=0,g=m.length-1;E<=g;){var C=E+g>>1,T=m[C];if(k>T)E=C+1;else if(k=k));T++);return g=E[T],g?(g.index=T,g.start=C-g.value.length,g):null},b.prototype.setUndoManager=function(m){if(this.$undoManager=m,this.$informUndoManager&&this.$informUndoManager.cancel(),m){var k=this;m.addSession(this),this.$syncInformUndoManager=function(){k.$informUndoManager.cancel(),k.mergeUndoDeltas=!1},this.$informUndoManager=_.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},b.prototype.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},b.prototype.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},b.prototype.getTabString=function(){return this.getUseSoftTabs()?_.stringRepeat(" ",this.getTabSize()):" "},b.prototype.setUseSoftTabs=function(m){this.setOption("useSoftTabs",m)},b.prototype.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},b.prototype.setTabSize=function(m){this.setOption("tabSize",m)},b.prototype.getTabSize=function(){return this.$tabSize},b.prototype.isTabStop=function(m){return this.$useSoftTabs&&m.column%this.$tabSize===0},b.prototype.setNavigateWithinSoftTabs=function(m){this.setOption("navigateWithinSoftTabs",m)},b.prototype.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},b.prototype.setOverwrite=function(m){this.setOption("overwrite",m)},b.prototype.getOverwrite=function(){return this.$overwrite},b.prototype.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},b.prototype.addGutterDecoration=function(m,k){this.$decorations[m]||(this.$decorations[m]=""),this.$decorations[m]+=" "+k,this._signal("changeBreakpoint",{})},b.prototype.removeGutterDecoration=function(m,k){this.$decorations[m]=(this.$decorations[m]||"").replace(" "+k,""),this._signal("changeBreakpoint",{})},b.prototype.getBreakpoints=function(){return this.$breakpoints},b.prototype.setBreakpoints=function(m){this.$breakpoints=[];for(var k=0;k0&&(g=!!E.charAt(k-1).match(this.tokenRe)),g||(g=!!E.charAt(k).match(this.tokenRe)),g)var C=this.tokenRe;else if(/^\s+$/.test(E.slice(k-1,k+1)))var C=/\s/;else var C=this.nonTokenRe;var T=k;if(T>0){do T--;while(T>=0&&E.charAt(T).match(C));T++}for(var x=k;xm&&(m=k.screenWidth)}),this.lineWidgetWidth=m},b.prototype.$computeWidth=function(m){if(this.$modified||m){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var k=this.doc.getAllLines(),E=this.$rowLengthCache,g=0,C=0,T=this.$foldData[C],x=T?T.start.row:1/0,D=k.length,V=0;Vx){if(V=T.end.row+1,V>=D)break;T=this.$foldData[C++],x=T?T.start.row:1/0}E[V]==null&&(E[V]=this.$getStringScreenWidth(k[V])[0]),E[V]>g&&(g=E[V])}this.screenWidth=g}},b.prototype.getLine=function(m){return this.doc.getLine(m)},b.prototype.getLines=function(m,k){return this.doc.getLines(m,k)},b.prototype.getLength=function(){return this.doc.getLength()},b.prototype.getTextRange=function(m){return this.doc.getTextRange(m||this.selection.getRange())},b.prototype.insert=function(m,k){return this.doc.insert(m,k)},b.prototype.remove=function(m){return this.doc.remove(m)},b.prototype.removeFullLines=function(m,k){return this.doc.removeFullLines(m,k)},b.prototype.undoChanges=function(m,k){if(m.length){this.$fromUndo=!0;for(var E=m.length-1;E!=-1;E--){var g=m[E];g.action=="insert"||g.action=="remove"?this.doc.revertDelta(g):g.folds&&this.addFolds(g.folds)}!k&&this.$undoSelect&&(m.selectionBefore?this.selection.fromJSON(m.selectionBefore):this.selection.setRange(this.$getUndoSelection(m,!0))),this.$fromUndo=!1}},b.prototype.redoChanges=function(m,k){if(m.length){this.$fromUndo=!0;for(var E=0;Em.end.column&&(T.start.column+=D),T.end.row==m.end.row&&T.end.column>m.end.column&&(T.end.column+=D)),x&&T.start.row>=m.end.row&&(T.start.row+=x,T.end.row+=x)}if(T.end=this.insert(T.start,g),C.length){var V=m.start,F=T.start,x=F.row-V.row,D=F.column-V.column;this.addFolds(C.map(function(W){return W=W.clone(),W.start.row==V.row&&(W.start.column+=D),W.end.row==V.row&&(W.end.column+=D),W.start.row+=x,W.end.row+=x,W}))}return T},b.prototype.indentRows=function(m,k,E){E=E.replace(/\t/g,this.getTabString());for(var g=m;g<=k;g++)this.doc.insertInLine({row:g,column:0},E)},b.prototype.outdentRows=function(m){for(var k=m.collapseRows(),E=new r(0,0,0,0),g=this.getTabSize(),C=k.start.row;C<=k.end.row;++C){var T=this.getLine(C);E.start.row=C,E.end.row=C;for(var x=0;x0){var g=this.getRowFoldEnd(k+E);if(g>this.doc.getLength()-1)return 0;var C=g-k}else{m=this.$clipRowToDocument(m),k=this.$clipRowToDocument(k);var C=k-m+1}var T=new r(m,0,k,Number.MAX_VALUE),x=this.getFoldsInRange(T).map(function(V){return V=V.clone(),V.start.row+=C,V.end.row+=C,V}),D=E==0?this.doc.getLines(m,k):this.doc.removeFullLines(m,k);return this.doc.insertFullLines(m+C,D),x.length&&this.addFolds(x),C},b.prototype.moveLinesUp=function(m,k){return this.$moveLines(m,k,-1)},b.prototype.moveLinesDown=function(m,k){return this.$moveLines(m,k,1)},b.prototype.duplicateLines=function(m,k){return this.$moveLines(m,k,0)},b.prototype.$clipRowToDocument=function(m){return Math.max(0,Math.min(m,this.doc.getLength()-1))},b.prototype.$clipColumnToRow=function(m,k){return k<0?0:Math.min(this.doc.getLine(m).length,k)},b.prototype.$clipPositionToDocument=function(m,k){if(k=Math.max(0,k),m<0)m=0,k=0;else{var E=this.doc.getLength();m>=E?(m=E-1,k=this.doc.getLine(E-1).length):k=Math.min(this.doc.getLine(m).length,k)}return{row:m,column:k}},b.prototype.$clipRangeToDocument=function(m){m.start.row<0?(m.start.row=0,m.start.column=0):m.start.column=this.$clipColumnToRow(m.start.row,m.start.column);var k=this.doc.getLength()-1;return m.end.row>k?(m.end.row=k,m.end.column=this.doc.getLine(k).length):m.end.column=this.$clipColumnToRow(m.end.row,m.end.column),m},b.prototype.setUseWrapMode=function(m){if(m!=this.$useWrapMode){if(this.$useWrapMode=m,this.$modified=!0,this.$resetRowCache(0),m){var k=this.getLength();this.$wrapData=Array(k),this.$updateWrapData(0,k-1)}this._signal("changeWrapMode")}},b.prototype.getUseWrapMode=function(){return this.$useWrapMode},b.prototype.setWrapLimitRange=function(m,k){(this.$wrapLimitRange.min!==m||this.$wrapLimitRange.max!==k)&&(this.$wrapLimitRange={min:m,max:k},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},b.prototype.adjustWrapLimit=function(m,k){var E=this.$wrapLimitRange;E.max<0&&(E={min:k,max:k});var g=this.$constrainWrapLimit(m,E.min,E.max);return g!=this.$wrapLimit&&g>1?(this.$wrapLimit=g,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0):!1},b.prototype.$constrainWrapLimit=function(m,k,E){return k&&(m=Math.max(k,m)),E&&(m=Math.min(E,m)),m},b.prototype.getWrapLimit=function(){return this.$wrapLimit},b.prototype.setWrapLimit=function(m){this.setWrapLimitRange(m,m)},b.prototype.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},b.prototype.$updateInternalDataOnChange=function(m){var k=this.$useWrapMode,E=m.action,g=m.start,C=m.end,T=g.row,x=C.row,D=x-T,V=null;if(this.$updating=!0,D!=0)if(E==="remove"){this[k?"$wrapData":"$rowLengthCache"].splice(T,D);var F=this.$foldData;V=this.getFoldsInRange(m),this.removeFolds(V);var N=this.getFoldLine(C.row),U=0;if(N){N.addRemoveChars(C.row,C.column,g.column-C.column),N.shiftRow(-D);var W=this.getFoldLine(T);W&&W!==N&&(W.merge(N),N=W),U=F.indexOf(N)+1}for(U;U=C.row&&N.shiftRow(-D)}x=T}else{var B=Array(D);B.unshift(T,0);var z=k?this.$wrapData:this.$rowLengthCache;z.splice.apply(z,B);var F=this.$foldData,N=this.getFoldLine(T),U=0;if(N){var G=N.range.compareInside(g.row,g.column);G==0?(N=N.split(g.row,g.column),N&&(N.shiftRow(D),N.addRemoveChars(x,0,C.column-g.column))):G==-1&&(N.addRemoveChars(T,0,C.column-g.column),N.shiftRow(D)),U=F.indexOf(N)+1}for(U;U=T&&N.shiftRow(D)}}else{D=Math.abs(m.start.column-m.end.column),E==="remove"&&(V=this.getFoldsInRange(m),this.removeFolds(V),D=-D);var N=this.getFoldLine(T);N&&N.addRemoveChars(T,g.column,D)}return k&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,k?this.$updateWrapData(T,x):this.$updateRowLengthCache(T,x),V},b.prototype.$updateRowLengthCache=function(m,k,E){this.$rowLengthCache[m]=null,this.$rowLengthCache[k]=null},b.prototype.$updateWrapData=function(m,k){var E=this.doc.getAllLines(),g=this.getTabSize(),C=this.$wrapData,T=this.$wrapLimit,x,D,V=m;for(k=Math.min(k,E.length-1);V<=k;)D=this.getFoldLine(V,D),D?(x=[],D.walk(function(F,N,U,W){var B;if(F!=null){B=this.$getDisplayTokens(F,x.length),B[0]=$;for(var z=1;zk-W;){var B=T+k-W;if(m[B-1]>=f&&m[B]>=f){U(B);continue}if(m[B]==$||m[B]==w){for(B;B!=T-1&&m[B]!=$;B--);if(B>T){U(B);continue}for(B=T+k,B;B>2)),T-1);B>z&&m[B]<$;)B--;if(D){for(;B>z&&m[B]<$;)B--;for(;B>z&&m[B]==v;)B--}else for(;B>z&&m[B]z){U(++B);continue}B=T+k,m[B]==u&&B--,U(B-W)}return g},b.prototype.$getDisplayTokens=function(m,k){var E=[],g;k=k||0;for(var C=0;C39&&T<48||T>57&&T<64?E.push(v):T>=4352&&A(T)?E.push(h,u):E.push(h)}return E},b.prototype.$getStringScreenWidth=function(m,k,E){if(k==0)return[0,0];k==null&&(k=1/0),E=E||0;var g,C;for(C=0;C=4352&&A(g)?E+=2:E+=1,!(E>k));C++);return[E,C]},b.prototype.getRowLength=function(m){var k=1;return this.lineWidgets&&(k+=this.lineWidgets[m]&&this.lineWidgets[m].rowCount||0),!this.$useWrapMode||!this.$wrapData[m]?k:this.$wrapData[m].length+k},b.prototype.getRowLineCount=function(m){return!this.$useWrapMode||!this.$wrapData[m]?1:this.$wrapData[m].length+1},b.prototype.getRowWrapIndent=function(m){if(this.$useWrapMode){var k=this.screenToDocumentPosition(m,Number.MAX_VALUE),E=this.$wrapData[k.row];return E.length&&E[0]=0)var D=F[N],C=this.$docRowCache[N],W=m>F[U-1];else var W=!U;for(var B=this.getLength()-1,z=this.getNextFoldLine(C),G=z?z.start.row:1/0;D<=m&&(V=this.getRowLength(C),!(D+V>m||C>=B));)D+=V,C++,C>G&&(C=z.end.row+1,z=this.getNextFoldLine(C,z),G=z?z.start.row:1/0),W&&(this.$docRowCache.push(C),this.$screenRowCache.push(D));if(z&&z.start.row<=C)g=this.getFoldDisplayLine(z),C=z.start.row;else{if(D+V<=m||C>B)return{row:B,column:this.getLine(B).length};g=this.getLine(C),z=null}var X=0,Y=Math.floor(m-D);if(this.$useWrapMode){var Q=this.$wrapData[C];Q&&(x=Q[Y],Y>0&&Q.length&&(X=Q.indent,T=Q[Y-1]||Q[Q.length-1],g=g.substring(T)))}return E!==void 0&&this.$bidiHandler.isBidiRow(D+Y,C,Y)&&(k=this.$bidiHandler.offsetToCol(E)),T+=this.$getStringScreenWidth(g,k-X)[1],this.$useWrapMode&&T>=x&&(T=x-1),z?z.idxToPosition(T):{row:C,column:T}},b.prototype.documentToScreenPosition=function(m,k){if(typeof k>"u")var E=this.$clipPositionToDocument(m.row,m.column);else E=this.$clipPositionToDocument(m,k);m=E.row,k=E.column;var g=0,C=null,T=null;T=this.getFoldAt(m,k,1),T&&(m=T.start.row,k=T.start.column);var x,D=0,V=this.$docRowCache,F=this.$getRowCacheIndex(V,m),N=V.length;if(N&&F>=0)var D=V[F],g=this.$screenRowCache[F],U=m>V[N-1];else var U=!N;for(var W=this.getNextFoldLine(D),B=W?W.start.row:1/0;D=B){if(x=W.end.row+1,x>m)break;W=this.getNextFoldLine(x,W),B=W?W.start.row:1/0}else x=D+1;g+=this.getRowLength(D),D=x,U&&(this.$docRowCache.push(D),this.$screenRowCache.push(g))}var z="";W&&D>=B?(z=this.getFoldDisplayLine(W,m,k),C=W.start.row):(z=this.getLine(m).substring(0,k),C=m);var G=0;if(this.$useWrapMode){var X=this.$wrapData[C];if(X){for(var Y=0;z.length>=X[Y];)g++,Y++;z=z.substring(X[Y-1]||0,z.length),G=Y>0?X.indent:0}}return this.lineWidgets&&this.lineWidgets[D]&&this.lineWidgets[D].rowsAbove&&(g+=this.lineWidgets[D].rowsAbove),{row:g,column:G+this.$getStringScreenWidth(z)[0]}},b.prototype.documentToScreenColumn=function(m,k){return this.documentToScreenPosition(m,k).column},b.prototype.documentToScreenRow=function(m,k){return this.documentToScreenPosition(m,k).row},b.prototype.getScreenLength=function(){var m=0,k=null;if(this.$useWrapMode)for(var C=this.$wrapData.length,T=0,g=0,k=this.$foldData[g++],x=k?k.start.row:1/0;Tx&&(T=k.end.row+1,k=this.$foldData[g++],x=k?k.start.row:1/0)}else{m=this.getLength();for(var E=this.$foldData,g=0;gE));T++);return[g,T]})},b.prototype.destroy=function(){this.destroyed||(this.bgTokenizer.setDocument(null),this.bgTokenizer.cleanup(),this.destroyed=!0),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off("change",this.$onChange),this.selection.detach()},b}();l.$uid=0,l.prototype.$modes=a.$modes,l.prototype.getValue=l.prototype.toString,l.prototype.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},l.prototype.$overwrite=!1,l.prototype.$mode=null,l.prototype.$modeId=null,l.prototype.$scrollTop=0,l.prototype.$scrollLeft=0,l.prototype.$wrapLimit=80,l.prototype.$useWrapMode=!1,l.prototype.$wrapLimitRange={min:null,max:null},l.prototype.lineWidgets=null,l.prototype.isFullWidth=A,d.implement(l.prototype,c);var h=1,u=2,$=3,w=4,v=9,f=10,M=11,S=12;function A(b){return b<4352?!1:b>=4352&&b<=4447||b>=4515&&b<=4519||b>=4602&&b<=4607||b>=9001&&b<=9002||b>=11904&&b<=11929||b>=11931&&b<=12019||b>=12032&&b<=12245||b>=12272&&b<=12283||b>=12288&&b<=12350||b>=12353&&b<=12438||b>=12441&&b<=12543||b>=12549&&b<=12589||b>=12593&&b<=12686||b>=12688&&b<=12730||b>=12736&&b<=12771||b>=12784&&b<=12830||b>=12832&&b<=12871||b>=12880&&b<=13054||b>=13056&&b<=19903||b>=19968&&b<=42124||b>=42128&&b<=42182||b>=43360&&b<=43388||b>=44032&&b<=55203||b>=55216&&b<=55238||b>=55243&&b<=55291||b>=63744&&b<=64255||b>=65040&&b<=65049||b>=65072&&b<=65106||b>=65108&&b<=65126||b>=65128&&b<=65131||b>=65281&&b<=65376||b>=65504&&b<=65510}y("./edit_session/folding").Folding.call(l.prototype),y("./edit_session/bracket_match").BracketMatch.call(l.prototype),a.defineOptions(l.prototype,"session",{wrap:{set:function(b){if(!b||b=="off"?b=!1:b=="free"?b=!0:b=="printMargin"?b=-1:typeof b=="string"&&(b=parseInt(b,10)||!1),this.$wrap!=b)if(this.$wrap=b,!b)this.setUseWrapMode(!1);else{var m=typeof b=="number"?b:null;this.setWrapLimitRange(m,m),this.setUseWrapMode(!0)}},get:function(){return this.getUseWrapMode()?this.$wrap==-1?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(b){b=b=="auto"?this.$mode.type!="text":b!="text",b!=this.$wrapAsCode&&(this.$wrapAsCode=b,this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0)))},initialValue:"auto"},indentedSoftWrap:{set:function(){this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0))},initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(b){this.$useWorker=b,this.$stopWorker(),b&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(b){b=parseInt(b),b>0&&this.$tabSize!==b&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=b,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(b){this.setFoldStyle(b)},handlesSet:!0},overwrite:{set:function(b){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(b){this.doc.setNewLineMode(b)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(b){this.setMode(b)},get:function(){return this.$modeId},handlesSet:!0}}),L.EditSession=l}),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(y,L,I){var d=y("./lib/lang"),_=y("./lib/oop"),p=y("./range").Range,a=function(){function t(){this.$options={}}return t.prototype.set=function(i){return _.mixin(this.$options,i),this},t.prototype.getOptions=function(){return d.copyObject(this.$options)},t.prototype.setOptions=function(i){this.$options=i},t.prototype.find=function(i){var r=this.$options,e=this.$matchIterator(i,r);if(!e)return!1;var n=null;return e.forEach(function(o,l,h,u){return n=new p(o,l,h,u),l==u&&r.start&&r.start.start&&r.skipCurrent!=!1&&n.isEqual(r.start)?(n=null,!1):!0}),n},t.prototype.findAll=function(i){var r=this.$options;if(!r.needle)return[];this.$assembleRegExp(r);var e=r.range,n=e?i.getLines(e.start.row,e.end.row):i.doc.getAllLines(),o=[],l=r.re;if(r.$isMultiLine){var h=l.length,u=n.length-h,$;e:for(var w=l.offset||0;w<=u;w++){for(var v=0;vS||(o.push($=new p(w,S,w+h-1,A)),h>2&&(w=w+h-2))}}else for(var b=0;bg&&o[v].end.row==C;)v--;for(o=o.slice(b,v+1),b=0,v=o.length;b=u;S--)if(f(S,Number.MAX_VALUE,M))return;if(r.wrap!=!1){for(S=$,u=h.row;S>=u;S--)if(f(S,Number.MAX_VALUE,M))return}}};else var w=function(S){var A=h.row;if(!f(A,h.column,S)){for(A=A+1;A<=$;A++)if(f(A,0,S))return;if(r.wrap!=!1){for(A=u,$=h.row;A<=$;A++)if(f(A,0,S))return}}};if(r.$isMultiLine)var v=e.length,f=function(M,S,A){var b=n?M-v+1:M;if(!(b<0||b+v>i.getLength())){var m=i.getLine(b),k=m.search(e[0]);if(!(!n&&kS)&&A(b,k,b+v-1,g))return!0}}};else if(n)var f=function(S,A,b){var m=i.getLine(S),k=[],E,g=0;for(e.lastIndex=0;E=e.exec(m);){var C=E[0].length;if(g=E.index,!C){if(g>=m.length)break;e.lastIndex=g+=1}if(E.index+C>A)break;k.push(E.index,C)}for(var T=k.length-1;T>=0;T-=2){var x=k[T-1],C=k[T];if(b(S,x,S,x+C))return!0}};else var f=function(S,A,b){var m=i.getLine(S),k,E;for(e.lastIndex=A;E=e.exec(m);){var g=E[0].length;if(k=E.index,b(S,k,S,k+g))return!0;if(!g&&(e.lastIndex=k+=1,k>=m.length))return!1}};return{forEach:w}},t}();function c(t,i){function r(e){return/\w/.test(e)||i.regExp?"\\b":""}return r(t[0])+t+r(t[t.length-1])}L.Search=a}),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(y,L,I){var d=this&&this.__extends||function(){var r=function(e,n){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var h in l)Object.prototype.hasOwnProperty.call(l,h)&&(o[h]=l[h])},r(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(e,n);function o(){this.constructor=e}e.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)}}(),_=y("../lib/keys"),p=y("../lib/useragent"),a=_.KEY_MODS,c=function(){function r(e,n){this.$init(e,n,!1)}return r.prototype.$init=function(e,n,o){this.platform=n||(p.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(e),this.$singleCommand=o},r.prototype.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},r.prototype.removeCommand=function(e,n){var o=e&&(typeof e=="string"?e:e.name);e=this.commands[o],n||delete this.commands[o];var l=this.commandKeyBinding;for(var h in l){var u=l[h];if(u==e)delete l[h];else if(Array.isArray(u)){var $=u.indexOf(e);$!=-1&&(u.splice($,1),u.length==1&&(l[h]=u[0]))}}},r.prototype.bindKey=function(e,n,o){if(typeof e=="object"&&e&&(o==null&&(o=e.position),e=e[this.platform]),!!e){if(typeof n=="function")return this.addCommand({exec:n,bindKey:e,name:n.name||e});e.split("|").forEach(function(l){var h="";if(l.indexOf(" ")!=-1){var u=l.split(/\s+/);l=u.pop(),u.forEach(function(v){var f=this.parseKeys(v),M=a[f.hashId]+f.key;h+=(h?" ":"")+M,this._addCommandToBinding(h,"chainKeys")},this),h+=" "}var $=this.parseKeys(l),w=a[$.hashId]+$.key;this._addCommandToBinding(h+w,n,o)},this)}},r.prototype._addCommandToBinding=function(e,n,o){var l=this.commandKeyBinding,h;if(!n)delete l[e];else if(!l[e]||this.$singleCommand)l[e]=n;else{Array.isArray(l[e])?(h=l[e].indexOf(n))!=-1&&l[e].splice(h,1):l[e]=[l[e]],typeof o!="number"&&(o=t(n));var u=l[e];for(h=0;ho)break}u.splice(h,0,n)}},r.prototype.addCommands=function(e){e&&Object.keys(e).forEach(function(n){var o=e[n];if(o){if(typeof o=="string")return this.bindKey(o,n);typeof o=="function"&&(o={exec:o}),typeof o=="object"&&(o.name||(o.name=n),this.addCommand(o))}},this)},r.prototype.removeCommands=function(e){Object.keys(e).forEach(function(n){this.removeCommand(e[n])},this)},r.prototype.bindKeys=function(e){Object.keys(e).forEach(function(n){this.bindKey(n,e[n])},this)},r.prototype._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},r.prototype.parseKeys=function(e){var n=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(w){return w}),o=n.pop(),l=_[o];if(_.FUNCTION_KEYS[l])o=_.FUNCTION_KEYS[l].toLowerCase();else if(n.length){if(n.length==1&&n[0]=="shift")return{key:o.toUpperCase(),hashId:-1}}else return{key:o,hashId:-1};for(var h=0,u=n.length;u--;){var $=_.KEY_MODS[n[u]];if($==null)return typeof console<"u"&&console.error("invalid modifier "+n[u]+" in "+e),!1;h|=$}return{key:o,hashId:h}},r.prototype.findKeyCommand=function(e,n){var o=a[e]+n;return this.commandKeyBinding[o]},r.prototype.handleKeyboard=function(e,n,o,l){if(!(l<0)){var h=a[n]+o,u=this.commandKeyBinding[h];return e.$keyChain&&(e.$keyChain+=" "+h,u=this.commandKeyBinding[e.$keyChain]||u),u&&(u=="chainKeys"||u[u.length-1]=="chainKeys")?(e.$keyChain=e.$keyChain||h,{command:"null"}):(e.$keyChain&&((!n||n==4)&&o.length==1?e.$keyChain=e.$keyChain.slice(0,-h.length-1):(n==-1||l>0)&&(e.$keyChain="")),{command:u})}},r.prototype.getStatusText=function(e,n){return n.$keyChain||""},r}();function t(r){return typeof r=="object"&&r.bindKey&&r.bindKey.position||(r.isDefault?-100:0)}var i=function(r){d(e,r);function e(n,o){var l=r.call(this,n,o)||this;return l.$singleCommand=!0,l}return e}(c);i.call=function(r,e,n){c.prototype.$init.call(r,e,n,!0)},c.call=function(r,e,n){c.prototype.$init.call(r,e,n,!1)},L.HashHandler=i,L.MultiHashHandler=c}),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],function(y,L,I){var d=this&&this.__extends||function(){var t=function(i,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])},t(i,r)};return function(i,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(i,r);function e(){this.constructor=i}i.prototype=r===null?Object.create(r):(e.prototype=r.prototype,new e)}}(),_=y("../lib/oop"),p=y("../keyboard/hash_handler").MultiHashHandler,a=y("../lib/event_emitter").EventEmitter,c=function(t){d(i,t);function i(r,e){var n=t.call(this,e,r)||this;return n.byName=n.commands,n.setDefaultHandler("exec",function(o){return o.args?o.command.exec(o.editor,o.args,o.event,!1):o.command.exec(o.editor,{},o.event,!0)}),n}return i.prototype.exec=function(r,e,n){if(Array.isArray(r)){for(var o=r.length;o--;)if(this.exec(r[o],e,n))return!0;return!1}if(typeof r=="string"&&(r=this.commands[r]),!r||e&&e.$readOnly&&!r.readOnly||this.$checkCommandState!=!1&&r.isAvailable&&!r.isAvailable(e))return!1;var l={editor:e,command:r,args:n};return l.returnValue=this._emit("exec",l),this._signal("afterExec",l),l.returnValue!==!1},i.prototype.toggleRecording=function(r){if(!this.$inReplay)return r&&r._emit("changeStatus"),this.recording?(this.macro.pop(),this.off("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(e){this.macro.push([e.command,e.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},i.prototype.replay=function(r){if(!(this.$inReplay||!this.macro)){if(this.recording)return this.toggleRecording(r);try{this.$inReplay=!0,this.macro.forEach(function(e){typeof e=="string"?this.exec(e,r):this.exec(e[0],r,e[1])},this)}finally{this.$inReplay=!1}}},i.prototype.trimMacro=function(r){return r.map(function(e){return typeof e[0]!="string"&&(e[0]=e[0].name),e[1]||(e=e[0]),e})},i}(p);_.implement(c.prototype,a),L.CommandManager=c}),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],function(y,L,I){var d=y("../lib/lang"),_=y("../config"),p=y("../range").Range;function a(t,i){return{win:t,mac:i}}L.commands=[{name:"showSettingsMenu",description:"Show settings menu",bindKey:a("Ctrl-,","Command-,"),exec:function(t){_.loadModule("ace/ext/settings_menu",function(i){i.init(t),t.showSettingsMenu()})},readOnly:!0},{name:"goToNextError",description:"Go to next error",bindKey:a("Alt-E","F4"),exec:function(t){_.loadModule("ace/ext/error_marker",function(i){i.showErrorMarker(t,1)})},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",description:"Go to previous error",bindKey:a("Alt-Shift-E","Shift-F4"),exec:function(t){_.loadModule("ace/ext/error_marker",function(i){i.showErrorMarker(t,-1)})},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:a("Ctrl-A","Command-A"),exec:function(t){t.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:a(null,"Ctrl-L"),exec:function(t){t.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:a("Ctrl-L","Command-L"),exec:function(t,i){typeof i=="number"&&!isNaN(i)&&t.gotoLine(i),t.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:a("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(t){t.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:a("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(t){t.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",description:"Toggle fold widget",bindKey:a("F2","F2"),exec:function(t){t.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",description:"Toggle parent fold widget",bindKey:a("Alt-F2","Alt-F2"),exec:function(t){t.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:a(null,"Ctrl-Command-Option-0"),exec:function(t){t.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:a(null,"Ctrl-Command-Option-0"),exec:function(t){t.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:a("Alt-0","Command-Option-0"),exec:function(t){t.session.foldAll(),t.session.unfold(t.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:a("Alt-Shift-0","Command-Option-Shift-0"),exec:function(t){t.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:a("Ctrl-K","Command-G"),exec:function(t){t.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:a("Ctrl-Shift-K","Command-Shift-G"),exec:function(t){t.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:a("Alt-K","Ctrl-G"),exec:function(t){t.selection.isEmpty()?t.selection.selectWord():t.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:a("Alt-Shift-K","Ctrl-Shift-G"),exec:function(t){t.selection.isEmpty()?t.selection.selectWord():t.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:a("Ctrl-F","Command-F"),exec:function(t){_.loadModule("ace/ext/searchbox",function(i){i.Search(t)})},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(t){t.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:a("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(t){t.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",description:"Go to start",bindKey:a("Ctrl-Home","Command-Home|Command-Up"),exec:function(t){t.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",description:"Select up",bindKey:a("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(t){t.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:a("Up","Up|Ctrl-P"),exec:function(t,i){t.navigateUp(i.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",description:"Select to end",bindKey:a("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(t){t.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",description:"Go to end",bindKey:a("Ctrl-End","Command-End|Command-Down"),exec:function(t){t.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",description:"Select down",bindKey:a("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(t){t.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:a("Down","Down|Ctrl-N"),exec:function(t,i){t.navigateDown(i.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:a("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(t){t.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:a("Ctrl-Left","Option-Left"),exec:function(t){t.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",description:"Select to line start",bindKey:a("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(t){t.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",description:"Go to line start",bindKey:a("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(t){t.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:a("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(t){t.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:a("Left","Left|Ctrl-B"),exec:function(t,i){t.navigateLeft(i.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:a("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(t){t.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:a("Ctrl-Right","Option-Right"),exec:function(t){t.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",description:"Select to line end",bindKey:a("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(t){t.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",description:"Go to line end",bindKey:a("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(t){t.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:a("Shift-Right","Shift-Right"),exec:function(t){t.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:a("Right","Right|Ctrl-F"),exec:function(t,i){t.navigateRight(i.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(t){t.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:a(null,"Option-PageDown"),exec:function(t){t.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:a("PageDown","PageDown|Ctrl-V"),exec:function(t){t.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(t){t.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:a(null,"Option-PageUp"),exec:function(t){t.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(t){t.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:a("Ctrl-Up",null),exec:function(t){t.renderer.scrollBy(0,-2*t.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:a("Ctrl-Down",null),exec:function(t){t.renderer.scrollBy(0,2*t.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(t){t.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(t){t.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:a("Ctrl-Alt-E","Command-Option-E"),exec:function(t){t.commands.toggleRecording(t)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:a("Ctrl-Shift-E","Command-Shift-E"),exec:function(t){t.commands.replay(t)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:a("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(t){t.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:a("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(t){t.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:a("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(t){t.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",description:"Pass keys to browser",bindKey:a(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",description:"Copy",exec:function(t){},readOnly:!0},{name:"cut",description:"Cut",exec:function(t){var i=t.$copyWithEmptySelection&&t.selection.isEmpty(),r=i?t.selection.getLineRange():t.selection.getRange();t._emit("cut",r),r.isEmpty()||t.session.remove(r),t.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(t,i){t.$handlePaste(i)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:a("Ctrl-D","Command-D"),exec:function(t){t.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:a("Ctrl-Shift-D","Command-Shift-D"),exec:function(t){t.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:a("Ctrl-Alt-S","Command-Alt-S"),exec:function(t){t.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:a("Ctrl-/","Command-/"),exec:function(t){t.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:a("Ctrl-Shift-/","Command-Shift-/"),exec:function(t){t.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:a("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(t){t.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:a("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(t){t.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:a("Ctrl-H","Command-Option-F"),exec:function(t){_.loadModule("ace/ext/searchbox",function(i){i.Search(t,!0)})}},{name:"undo",description:"Undo",bindKey:a("Ctrl-Z","Command-Z"),exec:function(t){t.undo()}},{name:"redo",description:"Redo",bindKey:a("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(t){t.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:a("Alt-Shift-Up","Command-Option-Up"),exec:function(t){t.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:a("Alt-Up","Option-Up"),exec:function(t){t.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:a("Alt-Shift-Down","Command-Option-Down"),exec:function(t){t.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:a("Alt-Down","Option-Down"),exec:function(t){t.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:a("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(t){t.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:a("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(t){t.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:a("Shift-Delete",null),exec:function(t){if(t.selection.isEmpty())t.remove("left");else return!1},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:a("Alt-Backspace","Command-Backspace"),exec:function(t){t.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:a("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(t){t.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:a("Ctrl-Shift-Backspace",null),exec:function(t){var i=t.selection.getRange();i.start.column=0,t.session.remove(i)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:a("Ctrl-Shift-Delete",null),exec:function(t){var i=t.selection.getRange();i.end.column=Number.MAX_VALUE,t.session.remove(i)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:a("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(t){t.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:a("Ctrl-Delete","Alt-Delete"),exec:function(t){t.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:a("Shift-Tab","Shift-Tab"),exec:function(t){t.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:a("Tab","Tab"),exec:function(t){t.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:a("Ctrl-[","Ctrl-["),exec:function(t){t.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:a("Ctrl-]","Ctrl-]"),exec:function(t){t.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(t,i){t.insert(i)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(t,i){t.insert(d.stringRepeat(i.text||"",i.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:a(null,"Ctrl-O"),exec:function(t){t.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:a("Alt-Shift-X","Ctrl-T"),exec:function(t){t.transposeLetters()},multiSelectAction:function(t){t.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:a("Ctrl-U","Ctrl-U"),exec:function(t){t.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:a("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(t){t.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:a(null,null),exec:function(t){t.autoIndent()},multiSelectAction:"forEachLine",scrollIntoView:"animate"},{name:"expandtoline",description:"Expand to line",bindKey:a("Ctrl-Shift-L","Command-Shift-L"),exec:function(t){var i=t.selection.getRange();i.start.column=i.end.column=0,i.end.row++,t.selection.setRange(i,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"openlink",bindKey:a("Ctrl+F3","F3"),exec:function(t){t.openLink()}},{name:"joinlines",description:"Join lines",bindKey:a(null,null),exec:function(t){for(var i=t.selection.isBackwards(),r=i?t.selection.getSelectionLead():t.selection.getSelectionAnchor(),e=i?t.selection.getSelectionAnchor():t.selection.getSelectionLead(),n=t.session.doc.getLine(r.row).length,o=t.session.doc.getTextRange(t.selection.getRange()),l=o.replace(/\n\s*/," ").length,h=t.session.doc.getLine(r.row),u=r.row+1;u<=e.row+1;u++){var $=d.stringTrimLeft(d.stringTrimRight(t.session.doc.getLine(u)));$.length!==0&&($=" "+$),h+=$}e.row+10?(t.selection.moveCursorTo(r.row,r.column),t.selection.selectTo(r.row,r.column+l)):(n=t.session.doc.getLine(r.row).length>n?n+1:n,t.selection.moveCursorTo(r.row,n))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:a(null,null),exec:function(t){var i=t.session.doc.getLength()-1,r=t.session.doc.getLine(i).length,e=t.selection.rangeList.ranges,n=[];e.length<1&&(e=[t.selection.getRange()]);for(var o=0;oc[t].column&&t++,e.unshift(t,0),c.splice.apply(c,e),this.$updateRows()}}},p.prototype.$updateRows=function(){var a=this.session.lineWidgets;if(a){var c=!0;a.forEach(function(t,i){if(t)for(c=!1,t.row=i;t.$oldWidget;)t.$oldWidget.row=i,t=t.$oldWidget}),c&&(this.session.lineWidgets=null)}},p.prototype.$registerLineWidget=function(a){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var c=this.session.lineWidgets[a.row];return c&&(a.$oldWidget=c,c.el&&c.el.parentNode&&(c.el.parentNode.removeChild(c.el),c._inDocument=!1)),this.session.lineWidgets[a.row]=a,a},p.prototype.addLineWidget=function(a){if(this.$registerLineWidget(a),a.session=this.session,!this.editor)return a;var c=this.editor.renderer;a.html&&!a.el&&(a.el=d.createElement("div"),a.el.innerHTML=a.html),a.text&&!a.el&&(a.el=d.createElement("div"),a.el.textContent=a.text),a.el&&(d.addCssClass(a.el,"ace_lineWidgetContainer"),a.className&&d.addCssClass(a.el,a.className),a.el.style.position="absolute",a.el.style.zIndex=5,c.container.appendChild(a.el),a._inDocument=!0,a.coverGutter||(a.el.style.zIndex=3),a.pixelHeight==null&&(a.pixelHeight=a.el.offsetHeight)),a.rowCount==null&&(a.rowCount=a.pixelHeight/c.layerConfig.lineHeight);var t=this.session.getFoldAt(a.row,0);if(a.$fold=t,t){var i=this.session.lineWidgets;a.row==t.end.row&&!i[t.start.row]?i[t.start.row]=a:a.hidden=!0}return this.session._emit("changeFold",{data:{start:{row:a.row}}}),this.$updateRows(),this.renderWidgets(null,c),this.onWidgetChanged(a),a},p.prototype.removeLineWidget=function(a){if(a._inDocument=!1,a.session=null,a.el&&a.el.parentNode&&a.el.parentNode.removeChild(a.el),a.editor&&a.editor.destroy)try{a.editor.destroy()}catch{}if(this.session.lineWidgets){var c=this.session.lineWidgets[a.row];if(c==a)this.session.lineWidgets[a.row]=a.$oldWidget,a.$oldWidget&&this.onWidgetChanged(a.$oldWidget);else for(;c;){if(c.$oldWidget==a){c.$oldWidget=a.$oldWidget;break}c=c.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:a.row}}}),this.$updateRows()},p.prototype.getWidgetsAtRow=function(a){for(var c=this.session.lineWidgets,t=c&&c[a],i=[];t;)i.push(t),t=t.$oldWidget;return i},p.prototype.onWidgetChanged=function(a){this.session._changedWidgets.push(a),this.editor&&this.editor.renderer.updateFull()},p.prototype.measureWidgets=function(a,c){var t=this.session._changedWidgets,i=c.layerConfig;if(!(!t||!t.length)){for(var r=1/0,e=0;e0&&!i[r];)r--;this.firstRow=t.firstRow,this.lastRow=t.lastRow,c.$cursorLayer.config=t;for(var n=r;n<=e;n++){var o=i[n];if(!(!o||!o.el)){if(o.hidden){o.el.style.top=-100-(o.pixelHeight||0)+"px";continue}o._inDocument||(o._inDocument=!0,c.container.appendChild(o.el));var l=c.$cursorLayer.getPixelPosition({row:n,column:0},!0).top;o.coverLine||(l+=t.lineHeight*this.session.getRowLineCount(o.row)),o.el.style.top=l-t.offset+"px";var h=o.coverGutter?0:c.gutterWidth;o.fixedWidth||(h-=c.scrollLeft),o.el.style.left=h+"px",o.fullWidth&&o.screenWidth&&(o.el.style.minWidth=t.width+2*t.padding+"px"),o.fixedWidth?o.el.style.right=c.scrollBar.getWidth()+"px":o.el.style.right=""}}}},p}();L.LineWidgets=_}),ace.define("ace/keyboard/gutter_handler",["require","exports","module","ace/lib/keys","ace/mouse/default_gutter_handler"],function(y,L,I){var d=y("../lib/keys"),_=y("../mouse/default_gutter_handler").GutterTooltip,p=function(){function c(t){this.editor=t,this.gutterLayer=t.renderer.$gutterLayer,this.element=t.renderer.$gutter,this.lines=t.renderer.$gutterLayer.$lines,this.activeRowIndex=null,this.activeLane=null,this.annotationTooltip=new _(this.editor)}return c.prototype.addListener=function(){this.element.addEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.addEventListener("focusout",this.$blurGutter.bind(this)),this.editor.on("mousewheel",this.$blurGutter.bind(this))},c.prototype.removeListener=function(){this.element.removeEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.removeEventListener("focusout",this.$blurGutter.bind(this)),this.editor.off("mousewheel",this.$blurGutter.bind(this))},c.prototype.$onGutterKeyDown=function(t){if(this.annotationTooltip.isOpen){t.preventDefault(),t.keyCode===d.escape&&this.annotationTooltip.hideTooltip();return}if(t.target===this.element){if(t.keyCode!=d.enter)return;t.preventDefault();var i=this.editor.getCursorPosition().row;this.editor.isRowVisible(i)||this.editor.scrollToLine(i,!0,!0),setTimeout(function(){var r=this.$rowToRowIndex(this.gutterLayer.$cursorCell.row),e=this.$findNearestFoldWidget(r),n=this.$findNearestAnnotation(r);if(!(e===null&&n===null)){if(e===null&&n!==null){this.activeRowIndex=n,this.activeLane="annotation",this.$focusAnnotation(this.activeRowIndex);return}if(e!==null&&n===null){this.activeRowIndex=e,this.activeLane="fold",this.$focusFoldWidget(this.activeRowIndex);return}if(Math.abs(n-r)0||t+i=0&&this.$isFoldWidgetVisible(t-i))return t-i;if(t+i<=this.lines.getLength()-1&&this.$isFoldWidgetVisible(t+i))return t+i}return null},c.prototype.$findNearestAnnotation=function(t){if(this.$isAnnotationVisible(t))return t;for(var i=0;t-i>0||t+i=0&&this.$isAnnotationVisible(t-i))return t-i;if(t+i<=this.lines.getLength()-1&&this.$isAnnotationVisible(t+i))return t+i}return null},c.prototype.$focusFoldWidget=function(t){if(t!=null){var i=this.$getFoldWidget(t);i.classList.add(this.editor.renderer.keyboardFocusClassName),i.focus()}},c.prototype.$focusAnnotation=function(t){if(t!=null){var i=this.$getAnnotation(t);i.classList.add(this.editor.renderer.keyboardFocusClassName),i.focus()}},c.prototype.$blurFoldWidget=function(t){var i=this.$getFoldWidget(t);i.classList.remove(this.editor.renderer.keyboardFocusClassName),i.blur()},c.prototype.$blurAnnotation=function(t){var i=this.$getAnnotation(t);i.classList.remove(this.editor.renderer.keyboardFocusClassName),i.blur()},c.prototype.$moveFoldWidgetUp=function(){for(var t=this.activeRowIndex;t>0;)if(t--,this.$isFoldWidgetVisible(t)){this.$blurFoldWidget(this.activeRowIndex),this.activeRowIndex=t,this.$focusFoldWidget(this.activeRowIndex);return}},c.prototype.$moveFoldWidgetDown=function(){for(var t=this.activeRowIndex;t0;)if(t--,this.$isAnnotationVisible(t)){this.$blurAnnotation(this.activeRowIndex),this.activeRowIndex=t,this.$focusAnnotation(this.activeRowIndex);return}},c.prototype.$moveAnnotationDown=function(){for(var t=this.activeRowIndex;t=E.length&&(E=void 0),{value:E&&E[T++],done:!E}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")},_=y("./lib/oop"),p=y("./lib/dom"),a=y("./lib/lang"),c=y("./lib/useragent"),t=y("./keyboard/textinput").TextInput,i=y("./mouse/mouse_handler").MouseHandler,r=y("./mouse/fold_handler").FoldHandler,e=y("./keyboard/keybinding").KeyBinding,n=y("./edit_session").EditSession,o=y("./search").Search,l=y("./range").Range,h=y("./lib/event_emitter").EventEmitter,u=y("./commands/command_manager").CommandManager,$=y("./commands/default_commands").commands,w=y("./config"),v=y("./token_iterator").TokenIterator,f=y("./line_widgets").LineWidgets,M=y("./keyboard/gutter_handler").GutterKeyboardHandler,S=y("./config").nls,A=y("./clipboard"),b=y("./lib/keys"),m=function(){function E(g,C,T){this.$toDestroy=[];var x=g.getContainerElement();this.container=x,this.renderer=g,this.id="editor"+ ++E.$uid,this.commands=new u(c.isMac?"mac":"win",$),typeof document=="object"&&(this.textInput=new t(g.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new i(this),new r(this)),this.keyBinding=new e(this),this.$search=new o().set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=a.delayedCall(function(){this._signal("input",{}),this.session&&!this.session.destroyed&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",function(D,V){V._$emitInputEvent.schedule(31)}),this.setSession(C||T&&T.session||new n("")),w.resetOptions(this),T&&this.setOptions(T),w._signal("editor",this)}return E.prototype.$initOperationListeners=function(){this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0),this.$opResetTimer=a.delayedCall(this.endOperation.bind(this,!0)),this.on("change",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.docChanged=!0}.bind(this),!0),this.on("changeSelection",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.selectionChanged=!0}.bind(this),!0)},E.prototype.startOperation=function(g){if(this.curOp){if(!g||this.curOp.command)return;this.prevOp=this.curOp}g||(this.previousCommand=null,g={}),this.$opResetTimer.schedule(),this.curOp=this.session.curOp={command:g.command||{},args:g.args,scrollTop:this.renderer.scrollTop},this.curOp.selectionBefore=this.selection.toJSON()},E.prototype.endOperation=function(g){if(this.curOp&&this.session){if(g&&g.returnValue===!1||!this.session)return this.curOp=null;if(g==!0&&this.curOp.command&&this.curOp.command.name=="mouse"||(this._signal("beforeEndOperation"),!this.curOp))return;var C=this.curOp.command,T=C&&C.scrollIntoView;if(T){switch(T){case"center-animate":T="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var x=this.selection.getRange(),D=this.renderer.layerConfig;(x.start.row>=D.lastRow||x.end.row<=D.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead);break}T=="animate"&&this.renderer.animateScrolling(this.curOp.scrollTop)}var V=this.selection.toJSON();this.curOp.selectionAfter=V,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(V),this.prevOp=this.curOp,this.curOp=null}},E.prototype.$historyTracker=function(g){if(this.$mergeUndoDeltas){var C=this.prevOp,T=this.$mergeableCommands,x=C.command&&g.command.name==C.command.name;if(g.command.name=="insertstring"){var D=g.args;this.mergeNextCommand===void 0&&(this.mergeNextCommand=!0),x=x&&this.mergeNextCommand&&(!/\s/.test(D)||/\s/.test(C.args)),this.mergeNextCommand=!0}else x=x&&T.indexOf(g.command.name)!==-1;this.$mergeUndoDeltas!="always"&&Date.now()-this.sequenceStartTime>2e3&&(x=!1),x?this.session.mergeUndoDeltas=!0:T.indexOf(g.command.name)!==-1&&(this.sequenceStartTime=Date.now())}},E.prototype.setKeyboardHandler=function(g,C){if(g&&typeof g=="string"&&g!="ace"){this.$keybindingId=g;var T=this;w.loadModule(["keybinding",g],function(x){T.$keybindingId==g&&T.keyBinding.setKeyboardHandler(x&&x.handler),C&&C()})}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(g),C&&C()},E.prototype.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},E.prototype.setSession=function(g){if(this.session!=g){this.curOp&&this.endOperation(),this.curOp={};var C=this.session;if(C){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var T=this.session.getSelection();T.off("changeCursor",this.$onCursorChange),T.off("changeSelection",this.$onSelectionChange)}this.session=g,g?(this.$onDocumentChange=this.onDocumentChange.bind(this),g.on("change",this.$onDocumentChange),this.renderer.setSession(g),this.$onChangeMode=this.onChangeMode.bind(this),g.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),g.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),g.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),g.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),g.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),g.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=g.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.onCursorChange(),this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(g)),this._signal("changeSession",{session:g,oldSession:C}),this.curOp=null,C&&C._signal("changeEditor",{oldEditor:this}),g&&g._signal("changeEditor",{editor:this}),g&&!g.destroyed&&g.bgTokenizer.scheduleStart()}},E.prototype.getSession=function(){return this.session},E.prototype.setValue=function(g,C){return this.session.doc.setValue(g),C?C==1?this.navigateFileEnd():C==-1&&this.navigateFileStart():this.selectAll(),g},E.prototype.getValue=function(){return this.session.getValue()},E.prototype.getSelection=function(){return this.selection},E.prototype.resize=function(g){this.renderer.onResize(g)},E.prototype.setTheme=function(g,C){this.renderer.setTheme(g,C)},E.prototype.getTheme=function(){return this.renderer.getTheme()},E.prototype.setStyle=function(g){this.renderer.setStyle(g)},E.prototype.unsetStyle=function(g){this.renderer.unsetStyle(g)},E.prototype.getFontSize=function(){return this.getOption("fontSize")||p.computedStyle(this.container).fontSize},E.prototype.setFontSize=function(g){this.setOption("fontSize",g)},E.prototype.$highlightBrackets=function(){if(!this.$highlightPending){var g=this;this.$highlightPending=!0,setTimeout(function(){g.$highlightPending=!1;var C=g.session;if(!(!C||C.destroyed)){C.$bracketHighlight&&(C.$bracketHighlight.markerIds.forEach(function(B){C.removeMarker(B)}),C.$bracketHighlight=null);var T=g.getCursorPosition(),x=g.getKeyboardHandler(),D=x&&x.$getDirectionForHighlight&&x.$getDirectionForHighlight(g),V=C.getMatchingBracketRanges(T,D);if(!V){var F=new v(C,T.row,T.column),N=F.getCurrentToken();if(N&&/\b(?:tag-open|tag-name)/.test(N.type)){var U=C.getMatchingTags(T);U&&(V=[U.openTagName,U.closeTagName])}}if(!V&&C.$mode.getMatching&&(V=C.$mode.getMatching(g.session)),!V){g.getHighlightIndentGuides()&&g.renderer.$textLayer.$highlightIndentGuide();return}var W="ace_bracket";Array.isArray(V)?V.length==1&&(W="ace_error_bracket"):V=[V],V.length==2&&(l.comparePoints(V[0].end,V[1].start)==0?V=[l.fromPoints(V[0].start,V[1].end)]:l.comparePoints(V[0].start,V[1].end)==0&&(V=[l.fromPoints(V[1].start,V[0].end)])),C.$bracketHighlight={ranges:V,markerIds:V.map(function(B){return C.addMarker(B,W,"text")})},g.getHighlightIndentGuides()&&g.renderer.$textLayer.$highlightIndentGuide()}},50)}},E.prototype.focus=function(){this.textInput.focus()},E.prototype.isFocused=function(){return this.textInput.isFocused()},E.prototype.blur=function(){this.textInput.blur()},E.prototype.onFocus=function(g){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",g))},E.prototype.onBlur=function(g){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",g))},E.prototype.$cursorChange=function(){this.renderer.updateCursor(),this.$highlightBrackets(),this.$updateHighlightActiveLine()},E.prototype.onDocumentChange=function(g){var C=this.session.$useWrapMode,T=g.start.row==g.end.row?g.end.row:1/0;this.renderer.updateLines(g.start.row,T,C),this._signal("change",g),this.$cursorChange()},E.prototype.onTokenizerUpdate=function(g){var C=g.data;this.renderer.updateLines(C.first,C.last)},E.prototype.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},E.prototype.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},E.prototype.onCursorChange=function(){this.$cursorChange(),this._signal("changeSelection")},E.prototype.$updateHighlightActiveLine=function(){var g=this.getSession(),C;if(this.$highlightActiveLine&&((this.$selectionStyle!="line"||!this.selection.isMultiLine())&&(C=this.getCursorPosition()),this.renderer.theme&&this.renderer.theme.$selectionColorConflict&&!this.selection.isEmpty()&&(C=!1),this.renderer.$maxLines&&this.session.getLength()===1&&!(this.renderer.$minLines>1)&&(C=!1)),g.$highlightLineMarker&&!C)g.removeMarker(g.$highlightLineMarker.id),g.$highlightLineMarker=null;else if(!g.$highlightLineMarker&&C){var T=new l(C.row,C.column,C.row,1/0);T.id=g.addMarker(T,"ace_active-line","screenLine"),g.$highlightLineMarker=T}else C&&(g.$highlightLineMarker.start.row=C.row,g.$highlightLineMarker.end.row=C.row,g.$highlightLineMarker.start.column=C.column,g._signal("changeBackMarker"))},E.prototype.onSelectionChange=function(g){var C=this.session;if(C.$selectionMarker&&C.removeMarker(C.$selectionMarker),C.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var T=this.selection.getRange(),x=this.getSelectionStyle();C.$selectionMarker=C.addMarker(T,"ace_selection",x)}var D=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(D),this._signal("changeSelection")},E.prototype.$getSelectionHighLightRegexp=function(){var g=this.session,C=this.getSelectionRange();if(!(C.isEmpty()||C.isMultiLine())){var T=C.start.column,x=C.end.column,D=g.getLine(C.start.row),V=D.substring(T,x);if(!(V.length>5e3||!/[\w\d]/.test(V))){var F=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:V}),N=D.substring(T-1,x+1);if(F.test(N))return F}}},E.prototype.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},E.prototype.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},E.prototype.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},E.prototype.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},E.prototype.onChangeMode=function(g){this.renderer.updateText(),this._emit("changeMode",g)},E.prototype.onChangeWrapLimit=function(){this.renderer.updateFull()},E.prototype.onChangeWrapMode=function(){this.renderer.onResize(!0)},E.prototype.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},E.prototype.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},E.prototype.getCopyText=function(){var g=this.getSelectedText(),C=this.session.doc.getNewLineCharacter(),T=!1;if(!g&&this.$copyWithEmptySelection){T=!0;for(var x=this.selection.getAllRanges(),D=0;DB.search(/\S|$/)){var N=B.substr(D.column).search(/\S|$/);T.doc.removeInLine(D.row,D.column,D.column+N)}}this.clearSelection();var U=D.column,W=T.getState(D.row),B=T.getLine(D.row),z=x.checkOutdent(W,B,g);if(T.insert(D,g),V&&V.selection&&(V.selection.length==2?this.selection.setSelectionRange(new l(D.row,U+V.selection[0],D.row,U+V.selection[1])):this.selection.setSelectionRange(new l(D.row+V.selection[0],V.selection[1],D.row+V.selection[2],V.selection[3]))),this.$enableAutoIndent){if(T.getDocument().isNewLine(g)){var G=x.getNextLineIndent(W,B.slice(0,D.column),T.getTabString());T.insert({row:D.row+1,column:0},G)}z&&x.autoOutdent(W,T,D.row)}},E.prototype.autoIndent=function(){var g=this.session,C=g.getMode(),T,x;if(this.selection.isEmpty())T=0,x=g.doc.getLength()-1;else{var D=this.getSelectionRange();T=D.start.row,x=D.end.row}for(var V="",F="",N="",U,W,B,z=g.getTabString(),G=T;G<=x;G++)G>0&&(V=g.getState(G-1),F=g.getLine(G-1),N=C.getNextLineIndent(V,F,z)),U=g.getLine(G),W=C.$getIndent(U),N!==W&&(W.length>0&&(B=new l(G,0,G,W.length),g.remove(B)),N.length>0&&g.insert({row:G,column:0},N)),C.autoOutdent(V,g,G)},E.prototype.onTextInput=function(g,C){if(!C)return this.keyBinding.onTextInput(g);this.startOperation({command:{name:"insertstring"}});var T=this.applyComposition.bind(this,g,C);this.selection.rangeCount?this.forEachSelection(T):T(),this.endOperation()},E.prototype.applyComposition=function(g,C){if(C.extendLeft||C.extendRight){var T=this.selection.getRange();T.start.column-=C.extendLeft,T.end.column+=C.extendRight,T.start.column<0&&(T.start.row--,T.start.column+=this.session.getLine(T.start.row).length+1),this.selection.setRange(T),!g&&!T.isEmpty()&&this.remove()}if((g||!this.selection.isEmpty())&&this.insert(g,!0),C.restoreStart||C.restoreEnd){var T=this.selection.getRange();T.start.column-=C.restoreStart,T.end.column-=C.restoreEnd,this.selection.setRange(T)}},E.prototype.onCommandKey=function(g,C,T){return this.keyBinding.onCommandKey(g,C,T)},E.prototype.setOverwrite=function(g){this.session.setOverwrite(g)},E.prototype.getOverwrite=function(){return this.session.getOverwrite()},E.prototype.toggleOverwrite=function(){this.session.toggleOverwrite()},E.prototype.setScrollSpeed=function(g){this.setOption("scrollSpeed",g)},E.prototype.getScrollSpeed=function(){return this.getOption("scrollSpeed")},E.prototype.setDragDelay=function(g){this.setOption("dragDelay",g)},E.prototype.getDragDelay=function(){return this.getOption("dragDelay")},E.prototype.setSelectionStyle=function(g){this.setOption("selectionStyle",g)},E.prototype.getSelectionStyle=function(){return this.getOption("selectionStyle")},E.prototype.setHighlightActiveLine=function(g){this.setOption("highlightActiveLine",g)},E.prototype.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},E.prototype.setHighlightGutterLine=function(g){this.setOption("highlightGutterLine",g)},E.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},E.prototype.setHighlightSelectedWord=function(g){this.setOption("highlightSelectedWord",g)},E.prototype.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},E.prototype.setAnimatedScroll=function(g){this.renderer.setAnimatedScroll(g)},E.prototype.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},E.prototype.setShowInvisibles=function(g){this.renderer.setShowInvisibles(g)},E.prototype.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},E.prototype.setDisplayIndentGuides=function(g){this.renderer.setDisplayIndentGuides(g)},E.prototype.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},E.prototype.setHighlightIndentGuides=function(g){this.renderer.setHighlightIndentGuides(g)},E.prototype.getHighlightIndentGuides=function(){return this.renderer.getHighlightIndentGuides()},E.prototype.setShowPrintMargin=function(g){this.renderer.setShowPrintMargin(g)},E.prototype.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},E.prototype.setPrintMarginColumn=function(g){this.renderer.setPrintMarginColumn(g)},E.prototype.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},E.prototype.setReadOnly=function(g){this.setOption("readOnly",g)},E.prototype.getReadOnly=function(){return this.getOption("readOnly")},E.prototype.setBehavioursEnabled=function(g){this.setOption("behavioursEnabled",g)},E.prototype.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},E.prototype.setWrapBehavioursEnabled=function(g){this.setOption("wrapBehavioursEnabled",g)},E.prototype.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},E.prototype.setShowFoldWidgets=function(g){this.setOption("showFoldWidgets",g)},E.prototype.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},E.prototype.setFadeFoldWidgets=function(g){this.setOption("fadeFoldWidgets",g)},E.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},E.prototype.remove=function(g){this.selection.isEmpty()&&(g=="left"?this.selection.selectLeft():this.selection.selectRight());var C=this.getSelectionRange();if(this.getBehavioursEnabled()){var T=this.session,x=T.getState(C.start.row),D=T.getMode().transformAction(x,"deletion",this,T,C);if(C.end.column===0){var V=T.getTextRange(C);if(V[V.length-1]==` `){var F=T.getLine(C.end.row);/^\s+$/.test(F)&&(C.end.column=F.length)}}D&&(C=D)}this.session.remove(C),this.clearSelection()},E.prototype.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},E.prototype.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},E.prototype.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},E.prototype.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var g=this.getSelectionRange();g.start.column==g.end.column&&g.start.row==g.end.row&&(g.end.column=0,g.end.row++),this.session.remove(g),this.clearSelection()},E.prototype.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var g=this.getCursorPosition();this.insert(` `),this.moveCursorToPosition(g)},E.prototype.setGhostText=function(g,C){this.session.widgetManager||(this.session.widgetManager=new f(this.session),this.session.widgetManager.attach(this)),this.renderer.setGhostText(g,C)},E.prototype.removeGhostText=function(){this.session.widgetManager&&this.renderer.removeGhostText()},E.prototype.transposeLetters=function(){if(this.selection.isEmpty()){var g=this.getCursorPosition(),C=g.column;if(C!==0){var T=this.session.getLine(g.row),x,D;CN.toLowerCase()?1:0});for(var D=new l(0,0,0,0),x=g.first;x<=g.last;x++){var V=C.getLine(x);D.start.row=x,D.end.row=x,D.end.column=V.length,C.replace(D,T[x-g.first])}},E.prototype.toggleCommentLines=function(){var g=this.session.getState(this.getCursorPosition().row),C=this.$getSelectedRows();this.session.getMode().toggleCommentLines(g,this.session,C.first,C.last)},E.prototype.toggleBlockComment=function(){var g=this.getCursorPosition(),C=this.session.getState(g.row),T=this.getSelectionRange();this.session.getMode().toggleBlockComment(C,this.session,T,g)},E.prototype.getNumberAt=function(g,C){var T=/[\-]?[0-9]+(?:\.[0-9]+)?/g;T.lastIndex=0;for(var x=this.session.getLine(g);T.lastIndex=C){var V={value:D[0],start:D.index,end:D.index+D[0].length};return V}}return null},E.prototype.modifyNumber=function(g){var C=this.selection.getCursor().row,T=this.selection.getCursor().column,x=new l(C,T-1,C,T),D=this.session.getTextRange(x);if(!isNaN(parseFloat(D))&&isFinite(D)){var V=this.getNumberAt(C,T);if(V){var F=V.value.indexOf(".")>=0?V.start+V.value.indexOf(".")+1:V.end,N=V.start+V.value.length-F,U=parseFloat(V.value);U*=Math.pow(10,N),F!==V.end&&T=F&&V<=N&&(T=ne,U.selection.clearSelection(),U.moveCursorTo(g,F+x),U.selection.selectTo(g,N+x)),F=N});for(var W=this.$toggleWordPairs,B,z=0;z=N&&F<=U&&G.match(/((?:https?|ftp):\/\/[\S]+)/)){W=G.replace(/[\s:.,'";}\]]+$/,"");break}N=U}}catch(X){T={error:X}}finally{try{z&&!z.done&&(x=B.return)&&x.call(B)}finally{if(T)throw T.error}}return W},E.prototype.openLink=function(){var g=this.selection.getCursor(),C=this.findLinkAt(g.row,g.column);return C&&window.open(C,"_blank"),C!=null},E.prototype.removeLines=function(){var g=this.$getSelectedRows();this.session.removeFullLines(g.first,g.last),this.clearSelection()},E.prototype.duplicateSelection=function(){var g=this.selection,C=this.session,T=g.getRange(),x=g.isBackwards();if(T.isEmpty()){var D=T.start.row;C.duplicateLines(D,D)}else{var V=x?T.start:T.end,F=C.insert(V,C.getTextRange(T),!1);T.start=V,T.end=F,g.setSelectionRange(T,x)}},E.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},E.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},E.prototype.moveText=function(g,C,T){return this.session.moveText(g,C,T)},E.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},E.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},E.prototype.$moveLines=function(g,C){var T,x,D=this.selection;if(!D.inMultiSelectMode||this.inVirtualSelectionMode){var V=D.toOrientedRange();T=this.$getSelectedRows(V),x=this.session.$moveLines(T.first,T.last,C?0:g),C&&g==-1&&(x=0),V.moveBy(x,0),D.fromOrientedRange(V)}else{var F=D.rangeList.ranges;D.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var N=0,U=0,W=F.length,B=0;BX+1)break;X=Y.last}for(B--,N=this.session.$moveLines(G,X,C?0:g),C&&g==-1&&(z=B+1);z<=B;)F[z].moveBy(N,0),z++;C||(N=0),U+=N}D.fromOrientedRange(D.ranges[0]),D.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},E.prototype.$getSelectedRows=function(g){return g=(g||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(g.start.row),last:this.session.getRowFoldEnd(g.end.row)}},E.prototype.onCompositionStart=function(g){this.renderer.showComposition(g)},E.prototype.onCompositionUpdate=function(g){this.renderer.setCompositionText(g)},E.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},E.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},E.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},E.prototype.isRowVisible=function(g){return g>=this.getFirstVisibleRow()&&g<=this.getLastVisibleRow()},E.prototype.isRowFullyVisible=function(g){return g>=this.renderer.getFirstFullyVisibleRow()&&g<=this.renderer.getLastFullyVisibleRow()},E.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},E.prototype.$moveByPage=function(g,C){var T=this.renderer,x=this.renderer.layerConfig,D=g*Math.floor(x.height/x.lineHeight);C===!0?this.selection.$moveSelection(function(){this.moveCursorBy(D,0)}):C===!1&&(this.selection.moveCursorBy(D,0),this.selection.clearSelection());var V=T.scrollTop;T.scrollBy(0,D*x.lineHeight),C!=null&&T.scrollCursorIntoView(null,.5),T.animateScrolling(V)},E.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},E.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},E.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},E.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},E.prototype.scrollPageDown=function(){this.$moveByPage(1)},E.prototype.scrollPageUp=function(){this.$moveByPage(-1)},E.prototype.scrollToRow=function(g){this.renderer.scrollToRow(g)},E.prototype.scrollToLine=function(g,C,T,x){this.renderer.scrollToLine(g,C,T,x)},E.prototype.centerSelection=function(){var g=this.getSelectionRange(),C={row:Math.floor(g.start.row+(g.end.row-g.start.row)/2),column:Math.floor(g.start.column+(g.end.column-g.start.column)/2)};this.renderer.alignCursor(C,.5)},E.prototype.getCursorPosition=function(){return this.selection.getCursor()},E.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},E.prototype.getSelectionRange=function(){return this.selection.getRange()},E.prototype.selectAll=function(){this.selection.selectAll()},E.prototype.clearSelection=function(){this.selection.clearSelection()},E.prototype.moveCursorTo=function(g,C){this.selection.moveCursorTo(g,C)},E.prototype.moveCursorToPosition=function(g){this.selection.moveCursorToPosition(g)},E.prototype.jumpToMatching=function(g,C){var T=this.getCursorPosition(),x=new v(this.session,T.row,T.column),D=x.getCurrentToken(),V=0;D&&D.type.indexOf("tag-name")!==-1&&(D=x.stepBackward());var F=D||x.stepForward();if(F){var N,U=!1,W={},B=T.column-F.start,z,G={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(F.value.match(/[{}()\[\]]/g)){for(;B1?W[F.value]++:D.value==="=0;--V)this.$tryReplace(T[V],g)&&x++;return this.selection.setSelectionRange(D),x},E.prototype.$tryReplace=function(g,C){var T=this.session.getTextRange(g);return C=this.$search.replace(T,C),C!==null?(g.end=this.session.replace(g,C),g):null},E.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},E.prototype.find=function(g,C,T){C||(C={}),typeof g=="string"||g instanceof RegExp?C.needle=g:typeof g=="object"&&_.mixin(C,g);var x=this.selection.getRange();C.needle==null&&(g=this.session.getTextRange(x)||this.$search.$options.needle,g||(x=this.session.getWordRange(x.start.row,x.start.column),g=this.session.getTextRange(x)),this.$search.set({needle:g})),this.$search.set(C),C.start||this.$search.set({start:x});var D=this.$search.find(this.session);if(C.preventScroll)return D;if(D)return this.revealRange(D,T),D;C.backwards?x.start=x.end:x.end=x.start,this.selection.setRange(x)},E.prototype.findNext=function(g,C){this.find({skipCurrent:!0,backwards:!1},g,C)},E.prototype.findPrevious=function(g,C){this.find(g,{skipCurrent:!0,backwards:!0},C)},E.prototype.revealRange=function(g,C){this.session.unfold(g),this.selection.setSelectionRange(g);var T=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(g.start,g.end,.5),C!==!1&&this.renderer.animateScrolling(T)},E.prototype.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},E.prototype.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},E.prototype.destroy=function(){this.$toDestroy&&(this.$toDestroy.forEach(function(g){g.destroy()}),this.$toDestroy=null),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},E.prototype.setAutoScrollEditorIntoView=function(g){if(g){var C,T=this,x=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var D=this.$scrollAnchor;D.style.cssText="position:absolute",this.container.insertBefore(D,this.container.firstChild);var V=this.on("changeSelection",function(){x=!0}),F=this.renderer.on("beforeRender",function(){x&&(C=T.renderer.container.getBoundingClientRect())}),N=this.renderer.on("afterRender",function(){if(x&&C&&(T.isFocused()||T.searchBox&&T.searchBox.isFocused())){var U=T.renderer,W=U.$cursorLayer.$pixelPos,B=U.layerConfig,z=W.top-B.offset;W.top>=0&&z+C.top<0?x=!0:W.topwindow.innerHeight?x=!1:x=null,x!=null&&(D.style.top=z+"px",D.style.left=W.left+"px",D.style.height=B.lineHeight+"px",D.scrollIntoView(x)),x=C=null}});this.setAutoScrollEditorIntoView=function(U){U||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",V),this.renderer.off("afterRender",N),this.renderer.off("beforeRender",F))}}},E.prototype.$resetCursorStyle=function(){var g=this.$cursorStyle||"ace",C=this.renderer.$cursorLayer;C&&(C.setSmoothBlinking(/smooth/.test(g)),C.isBlinking=!this.$readOnly&&g!="wide",p.setCssClass(C.element,"ace_slim-cursors",/slim/.test(g)))},E.prototype.prompt=function(g,C,T){var x=this;w.loadModule("ace/ext/prompt",function(D){D.prompt(x,g,C,T)})},E}();m.$uid=0,m.prototype.curOp=null,m.prototype.prevOp={},m.prototype.$mergeableCommands=["backspace","del","insertstring"],m.prototype.$toggleWordPairs=[["first","last"],["true","false"],["yes","no"],["width","height"],["top","bottom"],["right","left"],["on","off"],["x","y"],["get","set"],["max","min"],["horizontal","vertical"],["show","hide"],["add","remove"],["up","down"],["before","after"],["even","odd"],["in","out"],["inside","outside"],["next","previous"],["increase","decrease"],["attach","detach"],["&&","||"],["==","!="]],_.implement(m.prototype,h),w.defineOptions(m.prototype,"editor",{selectionStyle:{set:function(E){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:E})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(E){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(E){this.textInput.setReadOnly(E),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(E){this.textInput.setCopyWithEmptySelection(E)},initialValue:!1},cursorStyle:{set:function(E){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(E){this.setAutoScrollEditorIntoView(E)}},keyboardHandler:{set:function(E){this.setKeyboardHandler(E)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(E){this.session.setValue(E)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(E){this.setSession(E)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(E){this.renderer.$gutterLayer.setShowLineNumbers(E),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),E&&this.$relativeLineNumbers?k.attach(this):k.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(E){this.$showLineNumbers&&E?k.attach(this):k.detach(this)}},placeholder:{set:function(E){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var g=this.session&&(this.renderer.$composition||this.session.getLength()>1||this.session.getLine(0).length>0);if(g&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),p.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(!g&&!this.renderer.placeholderNode){this.renderer.on("afterRender",this.$updatePlaceholder),p.addCssClass(this.container,"ace_hasPlaceholder");var C=p.createElement("div");C.className="ace_placeholder",C.textContent=this.$placeholder||"",this.renderer.placeholderNode=C,this.renderer.content.appendChild(this.renderer.placeholderNode)}else!g&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"")}.bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},enableKeyboardAccessibility:{set:function(E){var g={name:"blurTextInput",description:"Set focus to the editor content div to allow tabbing through the page",bindKey:"Esc",exec:function(x){x.blur(),x.renderer.scroller.focus()},readOnly:!0},C=function(x){if(x.target==this.renderer.scroller&&x.keyCode===b.enter){x.preventDefault();var D=this.getCursorPosition().row;this.isRowVisible(D)||this.scrollToLine(D,!0,!0),this.focus()}},T;E?(this.renderer.enableKeyboardAccessibility=!0,this.renderer.keyboardFocusClassName="ace_keyboard-focus",this.textInput.getElement().setAttribute("tabindex",-1),this.renderer.scroller.setAttribute("tabindex",0),this.renderer.scroller.setAttribute("role","group"),this.renderer.scroller.setAttribute("aria-roledescription",S("editor")),this.renderer.scroller.classList.add(this.renderer.keyboardFocusClassName),this.renderer.scroller.setAttribute("aria-label",S("Editor content, press Enter to start editing, press Escape to exit")),this.renderer.scroller.addEventListener("keyup",C.bind(this)),this.commands.addCommand(g),this.renderer.$gutter.setAttribute("tabindex",0),this.renderer.$gutter.setAttribute("aria-hidden",!1),this.renderer.$gutter.setAttribute("role","group"),this.renderer.$gutter.setAttribute("aria-roledescription",S("editor")),this.renderer.$gutter.setAttribute("aria-label",S("Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit")),this.renderer.$gutter.classList.add(this.renderer.keyboardFocusClassName),this.renderer.content.setAttribute("aria-hidden",!0),T||(T=new M(this)),T.addListener()):(this.renderer.enableKeyboardAccessibility=!1,this.textInput.getElement().setAttribute("tabindex",0),this.renderer.scroller.setAttribute("tabindex",-1),this.renderer.scroller.removeAttribute("role"),this.renderer.scroller.removeAttribute("aria-roledescription"),this.renderer.scroller.classList.remove(this.renderer.keyboardFocusClassName),this.renderer.scroller.removeAttribute("aria-label"),this.renderer.scroller.removeEventListener("keyup",C.bind(this)),this.commands.removeCommand(g),this.renderer.content.removeAttribute("aria-hidden"),this.renderer.$gutter.setAttribute("tabindex",-1),this.renderer.$gutter.setAttribute("aria-hidden",!0),this.renderer.$gutter.removeAttribute("role"),this.renderer.$gutter.removeAttribute("aria-roledescription"),this.renderer.$gutter.removeAttribute("aria-label"),this.renderer.$gutter.classList.remove(this.renderer.keyboardFocusClassName),T&&T.removeListener())},initialValue:!1},customScrollbar:"renderer",hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",highlightIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",useResizeObserver:"renderer",useSvgGutterIcons:"renderer",showFoldedAnnotations:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var k={getText:function(E,g){return(Math.abs(E.selection.lead.row-g)||g+1+(g<9?"·":""))+""},getWidth:function(E,g,C){return Math.max(g.toString().length,(C.lastRow+1).toString().length,2)*C.characterWidth},update:function(E,g){g.renderer.$loop.schedule(g.renderer.CHANGE_GUTTER)},attach:function(E){E.renderer.$gutterLayer.$renderer=this,E.on("changeSelection",this.update),this.update(null,E)},detach:function(E){E.renderer.$gutterLayer.$renderer==this&&(E.renderer.$gutterLayer.$renderer=null),E.off("changeSelection",this.update),this.update(null,E)}};L.Editor=m}),ace.define("ace/undomanager",["require","exports","module","ace/range"],function(y,L,I){var d=function(){function v(){this.$maxRev=0,this.$fromUndo=!1,this.$undoDepth=1/0,this.reset()}return v.prototype.addSession=function(f){this.$session=f},v.prototype.add=function(f,M,S){if(!this.$fromUndo&&f!=this.$lastDelta){if(this.$keepRedoStack||(this.$redoStack.length=0),M===!1||!this.lastDeltas){this.lastDeltas=[];var A=this.$undoStack.length;A>this.$undoDepth-1&&this.$undoStack.splice(0,A-this.$undoDepth+1),this.$undoStack.push(this.lastDeltas),f.id=this.$rev=++this.$maxRev}(f.action=="remove"||f.action=="insert")&&(this.$lastDelta=f),this.lastDeltas.push(f)}},v.prototype.addSelection=function(f,M){this.selections.push({value:f,rev:M||this.$rev})},v.prototype.startNewGroup=function(){return this.lastDeltas=null,this.$rev},v.prototype.markIgnored=function(f,M){M==null&&(M=this.$rev+1);for(var S=this.$undoStack,A=S.length;A--;){var b=S[A][0];if(b.id<=f)break;b.id0},v.prototype.canRedo=function(){return this.$redoStack.length>0},v.prototype.bookmark=function(f){f==null&&(f=this.$rev),this.mark=f},v.prototype.isAtBookmark=function(){return this.$rev===this.mark},v.prototype.toJSON=function(){},v.prototype.fromJSON=function(){},v.prototype.$prettyPrint=function(f){return f?i(f):i(this.$undoStack)+` --- `+i(this.$redoStack)},v}();d.prototype.hasUndo=d.prototype.canUndo,d.prototype.hasRedo=d.prototype.canRedo,d.prototype.isClean=d.prototype.isAtBookmark,d.prototype.markClean=d.prototype.bookmark;function _(v,f){for(var M=f;M--;){var S=v[M];if(S&&!S[0].ignore){for(;M"+v.end.row+":"+v.end.column}function e(v,f){var M=v.action=="insert",S=f.action=="insert";if(M&&S)if(a(f.start,v.end)>=0)l(f,v,-1);else if(a(f.start,v.start)<=0)l(v,f,1);else return null;else if(M&&!S)if(a(f.start,v.end)>=0)l(f,v,-1);else if(a(f.end,v.start)<=0)l(v,f,-1);else return null;else if(!M&&S)if(a(f.start,v.start)>=0)l(f,v,1);else if(a(f.start,v.start)<=0)l(v,f,1);else return null;else if(!M&&!S)if(a(f.start,v.start)>=0)l(f,v,1);else if(a(f.end,v.start)<=0)l(v,f,-1);else return null;return[f,v]}function n(v,f){for(var M=v.length;M--;)for(var S=0;S=0?l(v,f,-1):(a(v.start,f.start)<=0||l(v,p.fromPoints(f.start,v.start),-1),l(f,v,1));else if(!M&&S)a(f.start,v.end)>=0?l(f,v,-1):(a(f.start,v.start)<=0||l(f,p.fromPoints(v.start,f.start),-1),l(v,f,1));else if(!M&&!S)if(a(f.start,v.end)>=0)l(f,v,-1);else if(a(f.end,v.start)<=0)l(v,f,-1);else{var A,b;return a(v.start,f.start)<0&&(A=v,v=u(v,f.start)),a(v.end,f.end)>0&&(b=u(v,f.end)),h(f.end,v.start,v.end,-1),b&&!A&&(v.lines=b.lines,v.start=b.start,v.end=b.end,b=v),[f,A,b].filter(Boolean)}return[f,v]}function l(v,f,M){h(v.start,f.start,f.end,M),h(v.end,f.start,f.end,M)}function h(v,f,M,S){v.row==(S==1?f:M).row&&(v.column+=S*(M.column-f.column)),v.row+=S*(M.row-f.row)}function u(v,f){var M=v.lines,S=v.end;v.end=c(f);var A=v.end.row-v.start.row,b=M.splice(A,M.length),m=A?f.column:f.column-v.start.column;M.push(b[0].substring(0,m)),b[0]=b[0].substr(m);var k={start:c(f),end:S,lines:b,action:v.action};return k}function $(v,f){f=t(f);for(var M=v.length;M--;){for(var S=v[M],A=0;A$&&(f=u.end.row+1,u=o.getNextFoldLine(f,u),$=u?u.start.row:1/0),f>h){for(;this.$lines.getLength()>v+1;)this.$lines.pop();break}w=this.$lines.get(++v),w?w.row=f:(w=this.$lines.createCell(f,n,this.session,r),this.$lines.push(w)),this.$renderCell(w,n,u,f),f++}this._signal("afterRender"),this.$updateGutterWidth(n)},e.prototype.$updateGutterWidth=function(n){var o=this.session,l=o.gutterRenderer||this.$renderer,h=o.$firstLineNumber,u=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||o.$useWrapMode)&&(u=o.getLength()+h-1);var $=l?l.getWidth(o,u,n):u.toString().length*n.characterWidth,w=this.$padding||this.$computePadding();$+=w.left+w.right,$!==this.gutterWidth&&!isNaN($)&&(this.gutterWidth=$,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",$))},e.prototype.$updateCursorRow=function(){if(this.$highlightGutterLine){var n=this.session.selection.getCursor();this.$cursorRow!==n.row&&(this.$cursorRow=n.row)}},e.prototype.updateLineHighlight=function(){if(this.$highlightGutterLine){var n=this.session.selection.cursor.row;if(this.$cursorRow=n,!(this.$cursorCell&&this.$cursorCell.row==n)){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var o=this.$lines.cells;this.$cursorCell=null;for(var l=0;l=this.$cursorRow){if(h.row>this.$cursorRow){var u=this.session.getFoldLine(this.$cursorRow);if(l>0&&u&&u.start.row==o[l-1].row)h=o[l-1];else break}h.element.className="ace_gutter-active-line "+h.element.className,this.$cursorCell=h;break}}}}},e.prototype.scrollLines=function(n){var o=this.config;if(this.config=n,this.$updateCursorRow(),this.$lines.pageChanged(o,n))return this.update(n);this.$lines.moveContainer(n);var l=Math.min(n.lastRow+n.gutterOffset,this.session.getLength()-1),h=this.oldLastRow;if(this.oldLastRow=l,!o||h0;u--)this.$lines.shift();if(h>l)for(var u=this.session.getFoldedRowCount(l+1,h);u>0;u--)this.$lines.pop();n.firstRowh&&this.$lines.push(this.$renderLines(n,h+1,l)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(n)},e.prototype.$renderLines=function(n,o,l){for(var h=[],u=o,$=this.session.getNextFoldLine(u),w=$?$.start.row:1/0;u>w&&(u=$.end.row+1,$=this.session.getNextFoldLine(u,$),w=$?$.start.row:1/0),!(u>l);){var v=this.$lines.createCell(u,n,this.session,r);this.$renderCell(v,n,$,u),h.push(v),u++}return h},e.prototype.$renderCell=function(n,o,l,h){var u=n.element,$=this.session,w=u.childNodes[0],v=u.childNodes[1],f=u.childNodes[2],M=f.firstChild,S=$.$firstLineNumber,A=$.$breakpoints,b=$.$decorations,m=$.gutterRenderer||this.$renderer,k=this.$showFoldWidgets&&$.foldWidgets,E=l?l.start.row:Number.MAX_VALUE,g=o.lineHeight+"px",C=this.$useSvgGutterIcons?"ace_gutter-cell_svg-icons ":"ace_gutter-cell ",T=this.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",x=(m?m.getText($,h):h+S).toString();if(this.$highlightGutterLine&&(h==this.$cursorRow||l&&h=E&&this.$cursorRow<=l.end.row)&&(C+="ace_gutter-active-line ",this.$cursorCell!=n&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=n)),A[h]&&(C+=A[h]),b[h]&&(C+=b[h]),this.$annotations[h]&&h!==E&&(C+=this.$annotations[h].className),k){var D=k[h];D==null&&(D=k[h]=$.getFoldWidget(h))}if(D){var V="ace_fold-widget ace_"+D,F=D=="start"&&h==E&&hl.right-o.right)return"foldWidgets"},e}();i.prototype.$fixedWidth=!1,i.prototype.$highlightGutterLine=!0,i.prototype.$renderer="",i.prototype.$showLineNumbers=!0,i.prototype.$showFoldWidgets=!0,_.implement(i.prototype,a);function r(e){var n=document.createTextNode("");e.appendChild(n);var o=d.createElement("span");e.appendChild(o);var l=d.createElement("span");e.appendChild(l);var h=d.createElement("span");return l.appendChild(h),e}L.Gutter=i}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(y,L,I){var d=y("../range").Range,_=y("../lib/dom"),p=function(){function c(t){this.element=_.createElement("div"),this.element.className="ace_layer ace_marker-layer",t.appendChild(this.element)}return c.prototype.setPadding=function(t){this.$padding=t},c.prototype.setSession=function(t){this.session=t},c.prototype.setMarkers=function(t){this.markers=t},c.prototype.elt=function(t,i){var r=this.i!=-1&&this.element.childNodes[this.i];r?this.i++:(r=document.createElement("div"),this.element.appendChild(r),this.i=-1),r.style.cssText=i,r.className=t},c.prototype.update=function(t){if(t){this.config=t,this.i=0;var i;for(var r in this.markers){var e=this.markers[r];if(!e.range){e.update(i,this,this.session,t);continue}var n=e.range.clipRows(t.firstRow,t.lastRow);if(!n.isEmpty())if(n=n.toScreenRange(this.session),e.renderer){var o=this.$getTop(n.start.row,t),l=this.$padding+n.start.column*t.characterWidth;e.renderer(i,n,l,o,t)}else e.type=="fullLine"?this.drawFullLineMarker(i,n,e.clazz,t):e.type=="screenLine"?this.drawScreenLineMarker(i,n,e.clazz,t):n.isMultiLine()?e.type=="text"?this.drawTextMarker(i,n,e.clazz,t):this.drawMultiLineMarker(i,n,e.clazz,t):this.drawSingleLineMarker(i,n,e.clazz+" ace_start ace_br15",t)}if(this.i!=-1)for(;this.iv,u==h),e,u==h?0:1,n)},c.prototype.drawMultiLineMarker=function(t,i,r,e,n){var o=this.$padding,l=e.lineHeight,h=this.$getTop(i.start.row,e),u=o+i.start.column*e.characterWidth;if(n=n||"",this.session.$bidiHandler.isBidiRow(i.start.row)){var $=i.clone();$.end.row=$.start.row,$.end.column=this.session.getLine($.start.row).length,this.drawBidiSingleLineMarker(t,$,r+" ace_br1 ace_start",e,null,n)}else this.elt(r+" ace_br1 ace_start","height:"+l+"px;right:0;top:"+h+"px;left:"+u+"px;"+(n||""));if(this.session.$bidiHandler.isBidiRow(i.end.row)){var $=i.clone();$.start.row=$.end.row,$.start.column=0,this.drawBidiSingleLineMarker(t,$,r+" ace_br12",e,null,n)}else{h=this.$getTop(i.end.row,e);var w=i.end.column*e.characterWidth;this.elt(r+" ace_br12","height:"+l+"px;width:"+w+"px;top:"+h+"px;left:"+o+"px;"+(n||""))}if(l=(i.end.row-i.start.row-1)*e.lineHeight,!(l<=0)){h=this.$getTop(i.start.row+1,e);var v=(i.start.column?1:0)|(i.end.column?0:8);this.elt(r+(v?" ace_br"+v:""),"height:"+l+"px;right:0;top:"+h+"px;left:"+o+"px;"+(n||""))}},c.prototype.drawSingleLineMarker=function(t,i,r,e,n,o){if(this.session.$bidiHandler.isBidiRow(i.start.row))return this.drawBidiSingleLineMarker(t,i,r,e,n,o);var l=e.lineHeight,h=(i.end.column+(n||0)-i.start.column)*e.characterWidth,u=this.$getTop(i.start.row,e),$=this.$padding+i.start.column*e.characterWidth;this.elt(r,"height:"+l+"px;width:"+h+"px;top:"+u+"px;left:"+$+"px;"+(o||""))},c.prototype.drawBidiSingleLineMarker=function(t,i,r,e,n,o){var l=e.lineHeight,h=this.$getTop(i.start.row,e),u=this.$padding,$=this.session.$bidiHandler.getSelections(i.start.column,i.end.column);$.forEach(function(w){this.elt(r,"height:"+l+"px;width:"+(w.width+(n||0))+"px;top:"+h+"px;left:"+(u+w.left)+"px;"+(o||""))},this)},c.prototype.drawFullLineMarker=function(t,i,r,e,n){var o=this.$getTop(i.start.row,e),l=e.lineHeight;i.start.row!=i.end.row&&(l+=this.$getTop(i.end.row,e)-o),this.elt(r,"height:"+l+"px;top:"+o+"px;left:0;right:0;"+(n||""))},c.prototype.drawScreenLineMarker=function(t,i,r,e,n){var o=this.$getTop(i.start.row,e),l=e.lineHeight;this.elt(r,"height:"+l+"px;top:"+o+"px;left:0;right:0;"+(n||""))},c}();p.prototype.$padding=0;function a(c,t,i,r){return(c?1:0)|(t?2:0)|(i?4:0)|(r?8:0)}L.Marker=p}),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter","ace/config"],function(y,L,I){var d=y("../lib/oop"),_=y("../lib/dom"),p=y("../lib/lang"),a=y("./lines").Lines,c=y("../lib/event_emitter").EventEmitter,t=y("../config").nls,i=function(){function r(e){this.dom=_,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new a(this.element)}return r.prototype.$updateEolChar=function(){var e=this.session.doc,n=e.getNewLineCharacter()==` `&&e.getNewLineMode()!="windows",o=n?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=o)return this.EOL_CHAR=o,!0},r.prototype.setPadding=function(e){this.$padding=e,this.element.style.margin="0 "+e+"px"},r.prototype.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},r.prototype.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},r.prototype.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on("changeCharacterSize",function(n){this._signal("changeCharacterSize",n)}.bind(this)),this.$pollSizeChanges()},r.prototype.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},r.prototype.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},r.prototype.setSession=function(e){this.session=e,e&&this.$computeTabString()},r.prototype.setShowInvisibles=function(e){return this.showInvisibles==e?!1:(this.showInvisibles=e,typeof e=="string"?(this.showSpaces=/tab/i.test(e),this.showTabs=/space/i.test(e),this.showEOL=/eol/i.test(e)):this.showSpaces=this.showTabs=this.showEOL=e,this.$computeTabString(),!0)},r.prototype.setDisplayIndentGuides=function(e){return this.displayIndentGuides==e?!1:(this.displayIndentGuides=e,this.$computeTabString(),!0)},r.prototype.setHighlightIndentGuides=function(e){return this.$highlightIndentGuides===e?!1:(this.$highlightIndentGuides=e,e)},r.prototype.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var n=this.$tabStrings=[0],o=1;oM&&(v=f.end.row+1,f=this.session.getNextFoldLine(v,f),M=f?f.start.row:1/0),!(v>h);){var S=u[$++];if(S){this.dom.removeChildren(S),this.$renderLine(S,v,v==M?f:!1),w&&(S.style.top=this.$lines.computeLineTop(v,e,this.session)+"px");var A=e.lineHeight*this.session.getRowLength(v)+"px";S.style.height!=A&&(w=!0,S.style.height=A)}v++}if(w)for(;$0;h--)this.$lines.shift();if(n.lastRow>e.lastRow)for(var h=this.session.getFoldedRowCount(e.lastRow+1,n.lastRow);h>0;h--)this.$lines.pop();e.firstRown.lastRow&&this.$lines.push(this.$renderLinesFragment(e,n.lastRow+1,e.lastRow)),this.$highlightIndentGuide()},r.prototype.$renderLinesFragment=function(e,n,o){for(var l=[],h=n,u=this.session.getNextFoldLine(h),$=u?u.start.row:1/0;h>$&&(h=u.end.row+1,u=this.session.getNextFoldLine(h,u),$=u?u.start.row:1/0),!(h>o);){var w=this.$lines.createCell(h,e,this.session),v=w.element;this.dom.removeChildren(v),_.setStyle(v.style,"height",this.$lines.computeLineHeight(h,e,this.session)+"px"),_.setStyle(v.style,"top",this.$lines.computeLineTop(h,e,this.session)+"px"),this.$renderLine(v,h,h==$?u:!1),this.$useLineGroups()?v.className="ace_line_group":v.className="ace_line",l.push(w),h++}return l},r.prototype.update=function(e){this.$lines.moveContainer(e),this.config=e;for(var n=e.firstRow,o=e.lastRow,l=this.$lines;l.getLength();)l.pop();l.push(this.$renderLinesFragment(e,n,o))},r.prototype.$renderToken=function(e,n,o,l){for(var h=this,u=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC\u2066\u2067\u2068\u202A\u202B\u202D\u202E\u202C\u2069]+)|(\u3000)|([\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF])/g,$=this.dom.createFragment(this.element),w,v=0;w=u.exec(l);){var f=w[1],M=w[2],S=w[3],A=w[4],b=w[5];if(!(!h.showSpaces&&M)){var m=v!=w.index?l.slice(v,w.index):"";if(v=w.index+w[0].length,m&&$.appendChild(this.dom.createTextNode(m,this.element)),f){var k=h.session.getScreenTabSize(n+w.index);$.appendChild(h.$tabStrings[k].cloneNode(!0)),n+=k-1}else if(M)if(h.showSpaces){var E=this.dom.createElement("span");E.className="ace_invisible ace_invisible_space",E.textContent=p.stringRepeat(h.SPACE_CHAR,M.length),$.appendChild(E)}else $.appendChild(this.com.createTextNode(M,this.element));else if(S){var E=this.dom.createElement("span");E.className="ace_invisible ace_invisible_space ace_invalid",E.textContent=p.stringRepeat(h.SPACE_CHAR,S.length),$.appendChild(E)}else if(A){n+=1;var E=this.dom.createElement("span");E.style.width=h.config.characterWidth*2+"px",E.className=h.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",E.textContent=h.showSpaces?h.SPACE_CHAR:A,$.appendChild(E)}else if(b){n+=1;var E=this.dom.createElement("span");E.style.width=h.config.characterWidth*2+"px",E.className="ace_cjk",E.textContent=b,$.appendChild(E)}}}if($.appendChild(this.dom.createTextNode(v?l.slice(v):l,this.element)),this.$textToken[o.type])e.appendChild($);else{var g="ace_"+o.type.replace(/\./g," ace_"),E=this.dom.createElement("span");o.type=="fold"&&(E.style.width=o.value.length*this.config.characterWidth+"px",E.setAttribute("title",t("Unfold code"))),E.className=g,E.appendChild($),e.appendChild(E)}return n+l.length},r.prototype.renderIndentGuide=function(e,n,o){var l=n.search(this.$indentGuideRe);if(l<=0||l>=o)return n;if(n[0]==" "){l-=l%this.tabSize;for(var h=l/this.tabSize,u=0;uu[$].start.row?this.$highlightIndentGuideMarker.dir=-1:this.$highlightIndentGuideMarker.dir=1;break}}if(!this.$highlightIndentGuideMarker.end&&e[n.row]!==""&&n.column===e[n.row].length){this.$highlightIndentGuideMarker.dir=1;for(var $=n.row+1;$0){for(var h=0;h=this.$highlightIndentGuideMarker.start+1){if(l.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(l,n)}}else for(var o=e.length-1;o>=0;o--){var l=e[o];if(this.$highlightIndentGuideMarker.end&&l.row=u;)$=this.$renderToken(w,$,f,M.substring(0,u-l)),M=M.substring(u-l),l=u,w=this.$createLineElement(),e.appendChild(w),w.appendChild(this.dom.createTextNode(p.stringRepeat(" ",o.indent),this.element)),h++,$=0,u=o[h]||Number.MAX_VALUE;M.length!=0&&(l+=M.length,$=this.$renderToken(w,$,f,M))}}o[o.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(w,$,null,"",!0)},r.prototype.$renderSimpleLine=function(e,n){for(var o=0,l=0;lthis.MAX_LINE_LENGTH)return this.$renderOverflowMessage(e,o,h,u);o=this.$renderToken(e,o,h,u)}}},r.prototype.$renderOverflowMessage=function(e,n,o,l,h){o&&this.$renderToken(e,n,o,l.slice(0,this.MAX_LINE_LENGTH-n));var u=this.dom.createElement("span");u.className="ace_inline_button ace_keyword ace_toggle_wrap",u.textContent=h?"":"",e.appendChild(u)},r.prototype.$renderLine=function(e,n,o){if(!o&&o!=!1&&(o=this.session.getFoldLine(n)),o)var l=this.$getFoldLineTokens(n,o);else var l=this.session.getTokens(n);var h=e;if(l.length){var u=this.session.getRowSplitData(n);if(u&&u.length){this.$renderWrappedLine(e,l,u);var h=e.lastChild}else{var h=e;this.$useLineGroups()&&(h=this.$createLineElement(),e.appendChild(h)),this.$renderSimpleLine(h,l)}}else this.$useLineGroups()&&(h=this.$createLineElement(),e.appendChild(h));if(this.showEOL&&h){o&&(n=o.end.row);var $=this.dom.createElement("span");$.className="ace_invisible ace_invisible_eol",$.textContent=n==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,h.appendChild($)}},r.prototype.$getFoldLineTokens=function(e,n){var o=this.session,l=[];function h($,w,v){for(var f=0,M=0;M+$[f].value.lengthv-w&&(S=S.substring(0,v-w)),l.push({type:$[f].type,value:S}),M=w+S.length,f+=1}for(;Mv?l.push({type:$[f].type,value:S.substring(0,v-M)}):l.push($[f]),M+=S.length,f+=1}}var u=o.getTokens(e);return n.walk(function($,w,v,f,M){$!=null?l.push({type:"fold",value:$}):(M&&(u=o.getTokens(w)),u.length&&h(u,f,v))},n.end.row,this.session.getLine(n.end.row).length),l},r.prototype.$useLineGroups=function(){return this.session.getUseWrapMode()},r}();i.prototype.$textToken={text:!0,rparen:!0,lparen:!0},i.prototype.EOF_CHAR="¶",i.prototype.EOL_CHAR_LF="¬",i.prototype.EOL_CHAR_CRLF="¤",i.prototype.EOL_CHAR=i.prototype.EOL_CHAR_LF,i.prototype.TAB_CHAR="—",i.prototype.SPACE_CHAR="·",i.prototype.$padding=0,i.prototype.MAX_LINE_LENGTH=1e4,i.prototype.showInvisibles=!1,i.prototype.showSpaces=!1,i.prototype.showTabs=!1,i.prototype.showEOL=!1,i.prototype.displayIndentGuides=!0,i.prototype.$highlightIndentGuides=!0,i.prototype.$tabStrings=[],i.prototype.destroy={},i.prototype.onChangeTabSize=i.prototype.$computeTabString,d.implement(i.prototype,c),L.Text=i}),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(y,L,I){var d=y("../lib/dom"),_=function(){function p(a){this.element=d.createElement("div"),this.element.className="ace_layer ace_cursor-layer",a.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),d.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)}return p.prototype.$updateOpacity=function(a){for(var c=this.cursors,t=c.length;t--;)d.setStyle(c[t].style,"opacity",a?"":"0")},p.prototype.$startCssAnimation=function(){for(var a=this.cursors,c=a.length;c--;)a[c].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&d.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},p.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,d.removeCssClass(this.element,"ace_animate-blinking")},p.prototype.setPadding=function(a){this.$padding=a},p.prototype.setSession=function(a){this.session=a},p.prototype.setBlinking=function(a){a!=this.isBlinking&&(this.isBlinking=a,this.restartTimer())},p.prototype.setBlinkInterval=function(a){a!=this.blinkInterval&&(this.blinkInterval=a,this.restartTimer())},p.prototype.setSmoothBlinking=function(a){a!=this.smoothBlinking&&(this.smoothBlinking=a,d.setCssClass(this.element,"ace_smooth-blinking",a),this.$updateCursors(!0),this.restartTimer())},p.prototype.addCursor=function(){var a=d.createElement("div");return a.className="ace_cursor",this.element.appendChild(a),this.cursors.push(a),a},p.prototype.removeCursor=function(){if(this.cursors.length>1){var a=this.cursors.pop();return a.parentNode.removeChild(a),a}},p.prototype.hideCursor=function(){this.isVisible=!1,d.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},p.prototype.showCursor=function(){this.isVisible=!0,d.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},p.prototype.restartTimer=function(){var a=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,d.removeCssClass(this.element,"ace_smooth-blinking")),a(!0),!this.isBlinking||!this.blinkInterval||!this.isVisible){this.$stopCssAnimation();return}if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout(function(){this.$isSmoothBlinking&&d.addCssClass(this.element,"ace_smooth-blinking")}.bind(this))),d.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var c=function(){this.timeoutId=setTimeout(function(){a(!1)},.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval(function(){a(!0),c()},this.blinkInterval),c()}},p.prototype.getPixelPosition=function(a,c){if(!this.config||!this.session)return{left:0,top:0};a||(a=this.session.selection.getCursor());var t=this.session.documentToScreenPosition(a),i=this.$padding+(this.session.$bidiHandler.isBidiRow(t.row,a.row)?this.session.$bidiHandler.getPosLeft(t.column):t.column*this.config.characterWidth),r=(t.row-(c?this.config.firstRowScreen:0))*this.config.lineHeight;return{left:i,top:r}},p.prototype.isCursorInView=function(a,c){return a.top>=0&&a.topa.height+a.offset||e.top<0)&&t>1)){var n=this.cursors[i++]||this.addCursor(),o=n.style;this.drawCursor?this.drawCursor(n,e,a,c[t],this.session):this.isCursorInView(e,a)?(d.setStyle(o,"display","block"),d.translate(n,e.left,e.top),d.setStyle(o,"width",Math.round(a.characterWidth)+"px"),d.setStyle(o,"height",a.lineHeight+"px")):d.setStyle(o,"display","none")}}for(;this.cursors.length>i;)this.removeCursor();var l=this.session.getOverwrite();this.$setOverwrite(l),this.$pixelPos=e,this.restartTimer()},p.prototype.$setOverwrite=function(a){a!=this.overwrite&&(this.overwrite=a,a?d.addCssClass(this.element,"ace_overwrite-cursors"):d.removeCssClass(this.element,"ace_overwrite-cursors"))},p.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},p}();_.prototype.$padding=0,_.prototype.drawCursor=null,L.Cursor=_}),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(y,L,I){var d=this&&this.__extends||function(){var n=function(o,l){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,u){h.__proto__=u}||function(h,u){for(var $ in u)Object.prototype.hasOwnProperty.call(u,$)&&(h[$]=u[$])},n(o,l)};return function(o,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");n(o,l);function h(){this.constructor=o}o.prototype=l===null?Object.create(l):(h.prototype=l.prototype,new h)}}(),_=y("./lib/oop"),p=y("./lib/dom"),a=y("./lib/event"),c=y("./lib/event_emitter").EventEmitter,t=32768,i=function(){function n(o,l){this.element=p.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+l,this.inner=p.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent=" ",this.element.appendChild(this.inner),o.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,a.addListener(this.element,"scroll",this.onScroll.bind(this)),a.addListener(this.element,"mousedown",a.preventDefault)}return n.prototype.setVisible=function(o){this.element.style.display=o?"":"none",this.isVisible=o,this.coeff=1},n}();_.implement(i.prototype,c);var r=function(n){d(o,n);function o(l,h){var u=n.call(this,l,"-v")||this;return u.scrollTop=0,u.scrollHeight=0,h.$scrollbarWidth=u.width=p.scrollbarWidth(l.ownerDocument),u.inner.style.width=u.element.style.width=(u.width||15)+5+"px",u.$minWidth=0,u}return o.prototype.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,this.coeff!=1){var l=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-l)/(this.coeff-l)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},o.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},o.prototype.setHeight=function(l){this.element.style.height=l+"px"},o.prototype.setScrollHeight=function(l){this.scrollHeight=l,l>t?(this.coeff=t/l,l=t):this.coeff!=1&&(this.coeff=1),this.inner.style.height=l+"px"},o.prototype.setScrollTop=function(l){this.scrollTop!=l&&(this.skipEvent=!0,this.scrollTop=l,this.element.scrollTop=l*this.coeff)},o}(i);r.prototype.setInnerHeight=r.prototype.setScrollHeight;var e=function(n){d(o,n);function o(l,h){var u=n.call(this,l,"-h")||this;return u.scrollLeft=0,u.height=h.$scrollbarWidth,u.inner.style.height=u.element.style.height=(u.height||15)+5+"px",u}return o.prototype.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},o.prototype.getHeight=function(){return this.isVisible?this.height:0},o.prototype.setWidth=function(l){this.element.style.width=l+"px"},o.prototype.setInnerWidth=function(l){this.inner.style.width=l+"px"},o.prototype.setScrollWidth=function(l){this.inner.style.width=l+"px"},o.prototype.setScrollLeft=function(l){this.scrollLeft!=l&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=l)},o}(i);L.ScrollBar=r,L.ScrollBarV=r,L.ScrollBarH=e,L.VScrollBar=r,L.HScrollBar=e}),ace.define("ace/scrollbar_custom",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(y,L,I){var d=this&&this.__extends||function(){var e=function(n,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,h){l.__proto__=h}||function(l,h){for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&(l[u]=h[u])},e(n,o)};return function(n,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(n,o);function l(){this.constructor=n}n.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}}(),_=y("./lib/oop"),p=y("./lib/dom"),a=y("./lib/event"),c=y("./lib/event_emitter").EventEmitter;p.importCssString(`.ace_editor>.ace_sb-v div, .ace_editor>.ace_sb-h div{ position: absolute; background: rgba(128, 128, 128, 0.6); -moz-box-sizing: border-box; box-sizing: border-box; border: 1px solid #bbb; border-radius: 2px; z-index: 8; } .ace_editor>.ace_sb-v, .ace_editor>.ace_sb-h { position: absolute; z-index: 6; background: none; overflow: hidden!important; } .ace_editor>.ace_sb-v { z-index: 6; right: 0; top: 0; width: 12px; } .ace_editor>.ace_sb-v div { z-index: 8; right: 0; width: 100%; } .ace_editor>.ace_sb-h { bottom: 0; left: 0; height: 12px; } .ace_editor>.ace_sb-h div { bottom: 0; height: 100%; } .ace_editor>.ace_sb_grabbed { z-index: 8; background: #000; }`,"ace_scrollbar.css",!1);var t=function(){function e(n,o){this.element=p.createElement("div"),this.element.className="ace_sb"+o,this.inner=p.createElement("div"),this.inner.className="",this.element.appendChild(this.inner),this.VScrollWidth=12,this.HScrollHeight=12,n.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,a.addMultiMouseDownListener(this.element,[500,300,300],this,"onMouseDown")}return e.prototype.setVisible=function(n){this.element.style.display=n?"":"none",this.isVisible=n,this.coeff=1},e}();_.implement(t.prototype,c);var i=function(e){d(n,e);function n(o,l){var h=e.call(this,o,"-v")||this;return h.scrollTop=0,h.scrollHeight=0,h.parent=o,h.width=h.VScrollWidth,h.renderer=l,h.inner.style.width=h.element.style.width=(h.width||15)+"px",h.$minWidth=0,h}return n.prototype.onMouseDown=function(o,l){if(o==="mousedown"&&!(a.getButton(l)!==0||l.detail===2)){if(l.target===this.inner){var h=this,u=l.clientY,$=function(b){u=b.clientY},w=function(){clearInterval(S)},v=l.clientY,f=this.thumbTop,M=function(){if(u!==void 0){var b=h.scrollTopFromThumbTop(f+u-v);b!==h.scrollTop&&h._emit("scroll",{data:b})}};a.capture(this.inner,$,w);var S=setInterval(M,20);return a.preventDefault(l)}var A=l.clientY-this.element.getBoundingClientRect().top-this.thumbHeight/2;return this._emit("scroll",{data:this.scrollTopFromThumbTop(A)}),a.preventDefault(l)}},n.prototype.getHeight=function(){return this.height},n.prototype.scrollTopFromThumbTop=function(o){var l=o*(this.pageHeight-this.viewHeight)/(this.slideHeight-this.thumbHeight);return l=l>>0,l<0?l=0:l>this.pageHeight-this.viewHeight&&(l=this.pageHeight-this.viewHeight),l},n.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},n.prototype.setHeight=function(o){this.height=Math.max(0,o),this.slideHeight=this.height,this.viewHeight=this.height,this.setScrollHeight(this.pageHeight,!0)},n.prototype.setScrollHeight=function(o,l){this.pageHeight===o&&!l||(this.pageHeight=o,this.thumbHeight=this.slideHeight*this.viewHeight/this.pageHeight,this.thumbHeight>this.slideHeight&&(this.thumbHeight=this.slideHeight),this.thumbHeight<15&&(this.thumbHeight=15),this.inner.style.height=this.thumbHeight+"px",this.scrollTop>this.pageHeight-this.viewHeight&&(this.scrollTop=this.pageHeight-this.viewHeight,this.scrollTop<0&&(this.scrollTop=0),this._emit("scroll",{data:this.scrollTop})))},n.prototype.setScrollTop=function(o){this.scrollTop=o,o<0&&(o=0),this.thumbTop=o*(this.slideHeight-this.thumbHeight)/(this.pageHeight-this.viewHeight),this.inner.style.top=this.thumbTop+"px"},n}(t);i.prototype.setInnerHeight=i.prototype.setScrollHeight;var r=function(e){d(n,e);function n(o,l){var h=e.call(this,o,"-h")||this;return h.scrollLeft=0,h.scrollWidth=0,h.height=h.HScrollHeight,h.inner.style.height=h.element.style.height=(h.height||12)+"px",h.renderer=l,h}return n.prototype.onMouseDown=function(o,l){if(o==="mousedown"&&!(a.getButton(l)!==0||l.detail===2)){if(l.target===this.inner){var h=this,u=l.clientX,$=function(b){u=b.clientX},w=function(){clearInterval(S)},v=l.clientX,f=this.thumbLeft,M=function(){if(u!==void 0){var b=h.scrollLeftFromThumbLeft(f+u-v);b!==h.scrollLeft&&h._emit("scroll",{data:b})}};a.capture(this.inner,$,w);var S=setInterval(M,20);return a.preventDefault(l)}var A=l.clientX-this.element.getBoundingClientRect().left-this.thumbWidth/2;return this._emit("scroll",{data:this.scrollLeftFromThumbLeft(A)}),a.preventDefault(l)}},n.prototype.getHeight=function(){return this.isVisible?this.height:0},n.prototype.scrollLeftFromThumbLeft=function(o){var l=o*(this.pageWidth-this.viewWidth)/(this.slideWidth-this.thumbWidth);return l=l>>0,l<0?l=0:l>this.pageWidth-this.viewWidth&&(l=this.pageWidth-this.viewWidth),l},n.prototype.setWidth=function(o){this.width=Math.max(0,o),this.element.style.width=this.width+"px",this.slideWidth=this.width,this.viewWidth=this.width,this.setScrollWidth(this.pageWidth,!0)},n.prototype.setScrollWidth=function(o,l){this.pageWidth===o&&!l||(this.pageWidth=o,this.thumbWidth=this.slideWidth*this.viewWidth/this.pageWidth,this.thumbWidth>this.slideWidth&&(this.thumbWidth=this.slideWidth),this.thumbWidth<15&&(this.thumbWidth=15),this.inner.style.width=this.thumbWidth+"px",this.scrollLeft>this.pageWidth-this.viewWidth&&(this.scrollLeft=this.pageWidth-this.viewWidth,this.scrollLeft<0&&(this.scrollLeft=0),this._emit("scroll",{data:this.scrollLeft})))},n.prototype.setScrollLeft=function(o){this.scrollLeft=o,o<0&&(o=0),this.thumbLeft=o*(this.slideWidth-this.thumbWidth)/(this.pageWidth-this.viewWidth),this.inner.style.left=this.thumbLeft+"px"},n}(t);r.prototype.setInnerWidth=r.prototype.setScrollWidth,L.ScrollBar=i,L.ScrollBarV=i,L.ScrollBarH=r,L.VScrollBar=i,L.HScrollBar=r}),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],function(y,L,I){var d=y("./lib/event"),_=function(){function p(a,c){this.onRender=a,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=c||window;var t=this;this._flush=function(i){t.pending=!1;var r=t.changes;if(r&&(d.blockIdle(100),t.changes=0,t.onRender(r)),t.changes){if(t.$recursionLimit--<0)return;t.schedule()}else t.$recursionLimit=2}}return p.prototype.schedule=function(a){this.changes=this.changes|a,this.changes&&!this.pending&&(d.nextFrame(this._flush),this.pending=!0)},p.prototype.clear=function(a){var c=this.changes;return this.changes=0,c},p}();L.RenderLoop=_}),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/lib/useragent","ace/lib/event_emitter"],function(y,L,I){var d=y("../lib/oop"),_=y("../lib/dom"),p=y("../lib/lang"),a=y("../lib/event"),c=y("../lib/useragent"),t=y("../lib/event_emitter").EventEmitter,i=512,r=typeof ResizeObserver=="function",e=200,n=function(){function o(l){this.el=_.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=_.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=_.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),l.appendChild(this.el),this.$measureNode.textContent=p.stringRepeat("X",i),this.$characterSize={width:0,height:0},r?this.$addObserver():this.checkForSizeChanges()}return o.prototype.$setMeasureNodeStyles=function(l,h){l.width=l.height="auto",l.left=l.top="0px",l.visibility="hidden",l.position="absolute",l.whiteSpace="pre",c.isIE<8?l["font-family"]="inherit":l.font="inherit",l.overflow=h?"hidden":"visible"},o.prototype.checkForSizeChanges=function(l){if(l===void 0&&(l=this.$measureSizes()),l&&(this.$characterSize.width!==l.width||this.$characterSize.height!==l.height)){this.$measureNode.style.fontWeight="bold";var h=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=l,this.charSizes=Object.create(null),this.allowBoldFonts=h&&h.width===l.width&&h.height===l.height,this._emit("changeCharacterSize",{data:l})}},o.prototype.$addObserver=function(){var l=this;this.$observer=new window.ResizeObserver(function(h){l.checkForSizeChanges()}),this.$observer.observe(this.$measureNode)},o.prototype.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var l=this;return this.$pollSizeChangesTimer=a.onIdle(function h(){l.checkForSizeChanges(),a.onIdle(h,500)},500)},o.prototype.setPolling=function(l){l?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},o.prototype.$measureSizes=function(l){var h={height:(l||this.$measureNode).clientHeight,width:(l||this.$measureNode).clientWidth/i};return h.width===0||h.height===0?null:h},o.prototype.$measureCharWidth=function(l){this.$main.textContent=p.stringRepeat(l,i);var h=this.$main.getBoundingClientRect();return h.width/i},o.prototype.getCharacterWidth=function(l){var h=this.charSizes[l];return h===void 0&&(h=this.charSizes[l]=this.$measureCharWidth(l)/this.$characterSize.width),h},o.prototype.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},o.prototype.$getZoom=function(l){return!l||!l.parentElement?1:(window.getComputedStyle(l).zoom||1)*this.$getZoom(l.parentElement)},o.prototype.$initTransformMeasureNodes=function(){var l=function(h,u){return["div",{style:"position: absolute;top:"+h+"px;left:"+u+"px;"}]};this.els=_.buildDom([l(0,0),l(e,0),l(0,e),l(e,e)],this.el)},o.prototype.transformCoordinates=function(l,h){if(l){var u=this.$getZoom(this.el);l=f(1/u,l)}function $(F,N,U){var W=F[1]*N[0]-F[0]*N[1];return[(-N[1]*U[0]+N[0]*U[1])/W,(+F[1]*U[0]-F[0]*U[1])/W]}function w(F,N){return[F[0]-N[0],F[1]-N[1]]}function v(F,N){return[F[0]+N[0],F[1]+N[1]]}function f(F,N){return[F*N[0],F*N[1]]}this.els||this.$initTransformMeasureNodes();function M(F){var N=F.getBoundingClientRect();return[N.left,N.top]}var S=M(this.els[0]),A=M(this.els[1]),b=M(this.els[2]),m=M(this.els[3]),k=$(w(m,A),w(m,b),w(v(A,b),v(m,S))),E=f(1+k[0],w(A,S)),g=f(1+k[1],w(b,S));if(h){var C=h,T=k[0]*C[0]/e+k[1]*C[1]/e+1,x=v(f(C[0],E),f(C[1],g));return v(f(1/T/e,x),S)}var D=w(l,S),V=$(w(E,f(k[0],D)),w(g,f(k[1],D)),D);return f(e,V)},o}();n.prototype.$characterSize={width:0,height:0},d.implement(n.prototype,t),L.FontMetrics=n}),ace.define("ace/css/editor-css",["require","exports","module"],function(y,L,I){I.exports=` .ace_br1 {border-top-left-radius : 3px;} .ace_br2 {border-top-right-radius : 3px;} .ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;} .ace_br4 {border-bottom-right-radius: 3px;} .ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;} .ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;} .ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;} .ace_br8 {border-bottom-left-radius : 3px;} .ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;} .ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;} .ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;} .ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;} .ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;} .ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;} .ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;} .ace_editor { position: relative; overflow: hidden; padding: 0; font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Source Code Pro', 'source-code-pro', monospace; direction: ltr; text-align: left; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .ace_scroller { position: absolute; overflow: hidden; top: 0; bottom: 0; background-color: inherit; -ms-user-select: none; -moz-user-select: none; -webkit-user-select: none; user-select: none; cursor: text; } .ace_content { position: absolute; box-sizing: border-box; min-width: 100%; contain: style size layout; font-variant-ligatures: no-common-ligatures; } .ace_keyboard-focus:focus { box-shadow: inset 0 0 0 2px #5E9ED6; outline: none; } .ace_dragging .ace_scroller:before{ position: absolute; top: 0; left: 0; right: 0; bottom: 0; content: ''; background: rgba(250, 250, 250, 0.01); z-index: 1000; } .ace_dragging.ace_dark .ace_scroller:before{ background: rgba(0, 0, 0, 0.01); } .ace_gutter { position: absolute; overflow : hidden; width: auto; top: 0; bottom: 0; left: 0; cursor: default; z-index: 4; -ms-user-select: none; -moz-user-select: none; -webkit-user-select: none; user-select: none; contain: style size layout; } .ace_gutter-active-line { position: absolute; left: 0; right: 0; } .ace_scroller.ace_scroll-left:after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset; pointer-events: none; } .ace_gutter-cell, .ace_gutter-cell_svg-icons { position: absolute; top: 0; left: 0; right: 0; padding-left: 19px; padding-right: 6px; background-repeat: no-repeat; } .ace_gutter-cell_svg-icons .ace_gutter_annotation { margin-left: -14px; float: left; } .ace_gutter-cell .ace_gutter_annotation { margin-left: -19px; float: left; } .ace_gutter-cell.ace_error, .ace_icon.ace_error, .ace_icon.ace_error_fold { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg=="); background-repeat: no-repeat; background-position: 2px center; } .ace_gutter-cell.ace_warning, .ace_icon.ace_warning, .ace_icon.ace_warning_fold { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg=="); background-repeat: no-repeat; background-position: 2px center; } .ace_gutter-cell.ace_info, .ace_icon.ace_info { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII="); background-repeat: no-repeat; background-position: 2px center; } .ace_dark .ace_gutter-cell.ace_info, .ace_dark .ace_icon.ace_info { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC"); } .ace_icon_svg.ace_error { -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJyZWQiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIj4KPGNpcmNsZSBmaWxsPSJub25lIiBjeD0iOCIgY3k9IjgiIHI9IjciIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPGxpbmUgeDE9IjExIiB5MT0iNSIgeDI9IjUiIHkyPSIxMSIvPgo8bGluZSB4MT0iMTEiIHkxPSIxMSIgeDI9IjUiIHkyPSI1Ii8+CjwvZz4KPC9zdmc+"); background-color: crimson; } .ace_icon_svg.ace_warning { -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJkYXJrb3JhbmdlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+Cjxwb2x5Z29uIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGZpbGw9Im5vbmUiIHBvaW50cz0iOCAxIDE1IDE1IDEgMTUgOCAxIi8+CjxyZWN0IHg9IjgiIHk9IjEyIiB3aWR0aD0iMC4wMSIgaGVpZ2h0PSIwLjAxIi8+CjxsaW5lIHgxPSI4IiB5MT0iNiIgeDI9IjgiIHkyPSIxMCIvPgo8L2c+Cjwvc3ZnPg=="); background-color: darkorange; } .ace_icon_svg.ace_info { -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJibHVlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CjxjaXJjbGUgZmlsbD0ibm9uZSIgY3g9IjgiIGN5PSI4IiByPSI3IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjxwb2x5bGluZSBwb2ludHM9IjggMTEgOCA4Ii8+Cjxwb2x5bGluZSBwb2ludHM9IjkgOCA2IDgiLz4KPGxpbmUgeDE9IjEwIiB5MT0iMTEiIHgyPSI2IiB5Mj0iMTEiLz4KPHJlY3QgeD0iOCIgeT0iNSIgd2lkdGg9IjAuMDEiIGhlaWdodD0iMC4wMSIvPgo8L2c+Cjwvc3ZnPg=="); background-color: royalblue; } .ace_icon_svg.ace_error_fold { -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSI+CiAgPHBhdGggZD0ibSAxOC45Mjk4NTEsNy44Mjk4MDc2IGMgMC4xNDYzNTMsNi4zMzc0NjA0IC02LjMyMzE0Nyw3Ljc3Nzg0NDQgLTcuNDc3OTEyLDcuNzc3ODQ0NCAtMi4xMDcyNzI2LC0wLjEyODc1IDUuMTE3Njc4LDAuMzU2MjQ5IDUuMDUxNjk4LC03Ljg3MDA2MTggLTAuNjA0NjcyLC04LjAwMzk3MzQ5IC03LjA3NzI3MDYsLTcuNTYzMTE4OSAtNC44NTczLC03LjQzMDM5NTU2IDEuNjA2LC0wLjExNTE0MjI1IDYuODk3NDg1LDEuMjYyNTQ1OTYgNy4yODM1MTQsNy41MjI2MTI5NiB6IiBmaWxsPSJjcmltc29uIiBzdHJva2Utd2lkdGg9IjIiLz4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0ibSA4LjExNDc1NjIsMi4wNTI5ODI4IGMgMy4zNDkxNjk4LDAgNi4wNjQxMzI4LDIuNjc2ODYyNyA2LjA2NDEzMjgsNS45Nzg5NTMgMCwzLjMwMjExMjIgLTIuNzE0OTYzLDUuOTc4OTIwMiAtNi4wNjQxMzI4LDUuOTc4OTIwMiAtMy4zNDkxNDczLDAgLTYuMDY0MTc3MiwtMi42NzY4MDggLTYuMDY0MTc3MiwtNS45Nzg5MjAyIDAuMDA1MzksLTMuMjk5ODg2MSAyLjcxNzI2NTYsLTUuOTczNjQwOCA2LjA2NDE3NzIsLTUuOTc4OTUzIHogbSAwLC0xLjczNTgyNzE5IGMgLTQuMzIxNDgzNiwwIC03LjgyNDc0MDM4LDMuNDU0MDE4NDkgLTcuODI0NzQwMzgsNy43MTQ3ODAxOSAwLDQuMjYwNzI4MiAzLjUwMzI1Njc4LDcuNzE0NzQ1MiA3LjgyNDc0MDM4LDcuNzE0NzQ1MiA0LjMyMTQ0OTgsMCA3LjgyNDY5OTgsLTMuNDU0MDE3IDcuODI0Njk5OCwtNy43MTQ3NDUyIDAsLTIuMDQ2MDkxNCAtMC44MjQzOTIsLTQuMDA4MzY3MiAtMi4yOTE3NTYsLTUuNDU1MTc0NiBDIDEyLjE4MDIyNSwxLjEyOTk2NDggMTAuMTkwMDEzLDAuMzE3MTU1NjEgOC4xMTQ3NTYyLDAuMzE3MTU1NjEgWiBNIDYuOTM3NDU2Myw4LjI0MDU5ODUgNC42NzE4Njg1LDEwLjQ4NTg1MiA2LjAwODY4MTQsMTEuODc2NzI4IDguMzE3MDAzNSw5LjYwMDc5MTEgMTAuNjI1MzM3LDExLjg3NjcyOCAxMS45NjIxMzgsMTAuNDg1ODUyIDkuNjk2NTUwOCw4LjI0MDU5ODUgMTEuOTYyMTM4LDYuMDA2ODA2NiAxMC41NzMyNDYsNC42Mzc0MzM1IDguMzE3MDAzNSw2Ljg3MzQyOTcgNi4wNjA3NjA3LDQuNjM3NDMzNSA0LjY3MTg2ODUsNi4wMDY4MDY2IFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4="); background-color: crimson; } .ace_icon_svg.ace_warning_fold { -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNC43NzY5IDE0LjczMzdMOC42NTE5MiAyLjQ4MzY5QzguMzI5NDYgMS44Mzg3NyA3LjQwOTEzIDEuODM4NzcgNy4wODY2NyAyLjQ4MzY5TDAuOTYxNjY5IDE0LjczMzdDMC42NzA3NzUgMTUuMzE1NSAxLjA5MzgzIDE2IDEuNzQ0MjkgMTZIMTMuOTk0M0MxNC42NDQ4IDE2IDE1LjA2NzggMTUuMzE1NSAxNC43NzY5IDE0LjczMzdaTTMuMTYwMDcgMTQuMjVMNy44NjkyOSA0LjgzMTU2TDEyLjU3ODUgMTQuMjVIMy4xNjAwN1pNOC43NDQyOSAxMS42MjVWMTMuMzc1SDYuOTk0MjlWMTEuNjI1SDguNzQ0MjlaTTYuOTk0MjkgMTAuNzVWNy4yNUg4Ljc0NDI5VjEwLjc1SDYuOTk0MjlaIiBmaWxsPSIjRUM3MjExIi8+CjxwYXRoIGQ9Ik0xMS4xOTkxIDIuOTUyMzhDMTAuODgwOSAyLjMxNDY3IDEwLjM1MzcgMS44MDUyNiA5LjcwNTUgMS41MDlMMTEuMDQxIDEuMDY5NzhDMTEuNjg4MyAwLjk0OTgxNCAxMi4zMzcgMS4yNzI2MyAxMi42MzE3IDEuODYxNDFMMTcuNjEzNiAxMS44MTYxQzE4LjM1MjcgMTMuMjkyOSAxNy41OTM4IDE1LjA4MDQgMTYuMDE4IDE1LjU3NDVDMTYuNDA0NCAxNC40NTA3IDE2LjMyMzEgMTMuMjE4OCAxNS43OTI0IDEyLjE1NTVMMTEuMTk5MSAyLjk1MjM4WiIgZmlsbD0iI0VDNzIxMSIvPgo8L3N2Zz4="); background-color: darkorange; } .ace_scrollbar { contain: strict; position: absolute; right: 0; bottom: 0; z-index: 6; } .ace_scrollbar-inner { position: absolute; cursor: text; left: 0; top: 0; } .ace_scrollbar-v{ overflow-x: hidden; overflow-y: scroll; top: 0; } .ace_scrollbar-h { overflow-x: scroll; overflow-y: hidden; left: 0; } .ace_print-margin { position: absolute; height: 100%; } .ace_text-input { position: absolute; z-index: 0; width: 0.5em; height: 1em; opacity: 0; background: transparent; -moz-appearance: none; appearance: none; border: none; resize: none; outline: none; overflow: hidden; font: inherit; padding: 0 1px; margin: 0 -1px; contain: strict; -ms-user-select: text; -moz-user-select: text; -webkit-user-select: text; user-select: text; /*with \`pre-line\` chrome inserts   instead of space*/ white-space: pre!important; } .ace_text-input.ace_composition { background: transparent; color: inherit; z-index: 1000; opacity: 1; } .ace_composition_placeholder { color: transparent } .ace_composition_marker { border-bottom: 1px solid; position: absolute; border-radius: 0; margin-top: 1px; } [ace_nocontext=true] { transform: none!important; filter: none!important; clip-path: none!important; mask : none!important; contain: none!important; perspective: none!important; mix-blend-mode: initial!important; z-index: auto; } .ace_layer { z-index: 1; position: absolute; overflow: hidden; /* workaround for chrome bug https://github.com/ajaxorg/ace/issues/2312*/ word-wrap: normal; white-space: pre; height: 100%; width: 100%; box-sizing: border-box; /* setting pointer-events: auto; on node under the mouse, which changes during scroll, will break mouse wheel scrolling in Safari */ pointer-events: none; } .ace_gutter-layer { position: relative; width: auto; text-align: right; pointer-events: auto; height: 1000000px; contain: style size layout; } .ace_text-layer { font: inherit !important; position: absolute; height: 1000000px; width: 1000000px; contain: style size layout; } .ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group { contain: style size layout; position: absolute; top: 0; left: 0; right: 0; } .ace_hidpi .ace_text-layer, .ace_hidpi .ace_gutter-layer, .ace_hidpi .ace_content, .ace_hidpi .ace_gutter { contain: strict; } .ace_hidpi .ace_text-layer > .ace_line, .ace_hidpi .ace_text-layer > .ace_line_group { contain: strict; } .ace_cjk { display: inline-block; text-align: center; } .ace_cursor-layer { z-index: 4; } .ace_cursor { z-index: 4; position: absolute; box-sizing: border-box; border-left: 2px solid; /* workaround for smooth cursor repaintng whole screen in chrome */ transform: translatez(0); } .ace_multiselect .ace_cursor { border-left-width: 1px; } .ace_slim-cursors .ace_cursor { border-left-width: 1px; } .ace_overwrite-cursors .ace_cursor { border-left-width: 0; border-bottom: 1px solid; } .ace_hidden-cursors .ace_cursor { opacity: 0.2; } .ace_hasPlaceholder .ace_hidden-cursors .ace_cursor { opacity: 0; } .ace_smooth-blinking .ace_cursor { transition: opacity 0.18s; } .ace_animate-blinking .ace_cursor { animation-duration: 1000ms; animation-timing-function: step-end; animation-name: blink-ace-animate; animation-iteration-count: infinite; } .ace_animate-blinking.ace_smooth-blinking .ace_cursor { animation-duration: 1000ms; animation-timing-function: ease-in-out; animation-name: blink-ace-animate-smooth; } @keyframes blink-ace-animate { from, to { opacity: 1; } 60% { opacity: 0; } } @keyframes blink-ace-animate-smooth { from, to { opacity: 1; } 45% { opacity: 1; } 60% { opacity: 0; } 85% { opacity: 0; } } .ace_marker-layer .ace_step, .ace_marker-layer .ace_stack { position: absolute; z-index: 3; } .ace_marker-layer .ace_selection { position: absolute; z-index: 5; } .ace_marker-layer .ace_bracket { position: absolute; z-index: 6; } .ace_marker-layer .ace_error_bracket { position: absolute; border-bottom: 1px solid #DE5555; border-radius: 0; } .ace_marker-layer .ace_active-line { position: absolute; z-index: 2; } .ace_marker-layer .ace_selected-word { position: absolute; z-index: 4; box-sizing: border-box; } .ace_line .ace_fold { box-sizing: border-box; display: inline-block; height: 11px; margin-top: -2px; vertical-align: middle; background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="), url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII="); background-repeat: no-repeat, repeat-x; background-position: center center, top left; color: transparent; border: 1px solid black; border-radius: 2px; cursor: pointer; pointer-events: auto; } .ace_dark .ace_fold { } .ace_fold:hover{ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="), url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC"); } .ace_tooltip { background-color: #f5f5f5; border: 1px solid gray; border-radius: 1px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); color: black; max-width: 100%; padding: 3px 4px; position: fixed; z-index: 999999; box-sizing: border-box; cursor: default; white-space: pre; word-wrap: break-word; line-height: normal; font-style: normal; font-weight: normal; letter-spacing: normal; pointer-events: none; } .ace_tooltip.ace_dark { background-color: #636363; color: #fff; } .ace_tooltip:focus { outline: 1px solid #5E9ED6; } .ace_icon { display: inline-block; width: 18px; vertical-align: top; } .ace_icon_svg { display: inline-block; width: 12px; vertical-align: top; -webkit-mask-repeat: no-repeat; -webkit-mask-size: 12px; -webkit-mask-position: center; } .ace_folding-enabled > .ace_gutter-cell, .ace_folding-enabled > .ace_gutter-cell_svg-icons { padding-right: 13px; } .ace_fold-widget { box-sizing: border-box; margin: 0 -12px 0 1px; display: none; width: 11px; vertical-align: top; background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg=="); background-repeat: no-repeat; background-position: center; border-radius: 3px; border: 1px solid transparent; cursor: pointer; } .ace_folding-enabled .ace_fold-widget { display: inline-block; } .ace_fold-widget.ace_end { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg=="); } .ace_fold-widget.ace_closed { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA=="); } .ace_fold-widget:hover { border: 1px solid rgba(0, 0, 0, 0.3); background-color: rgba(255, 255, 255, 0.2); box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7); } .ace_fold-widget:active { border: 1px solid rgba(0, 0, 0, 0.4); background-color: rgba(0, 0, 0, 0.05); box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8); } /** * Dark version for fold widgets */ .ace_dark .ace_fold-widget { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC"); } .ace_dark .ace_fold-widget.ace_end { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg=="); } .ace_dark .ace_fold-widget.ace_closed { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg=="); } .ace_dark .ace_fold-widget:hover { box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2); background-color: rgba(255, 255, 255, 0.1); } .ace_dark .ace_fold-widget:active { box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2); } .ace_inline_button { border: 1px solid lightgray; display: inline-block; margin: -1px 8px; padding: 0 5px; pointer-events: auto; cursor: pointer; } .ace_inline_button:hover { border-color: gray; background: rgba(200,200,200,0.2); display: inline-block; pointer-events: auto; } .ace_fold-widget.ace_invalid { background-color: #FFB4B4; border-color: #DE5555; } .ace_fade-fold-widgets .ace_fold-widget { transition: opacity 0.4s ease 0.05s; opacity: 0; } .ace_fade-fold-widgets:hover .ace_fold-widget { transition: opacity 0.05s ease 0.05s; opacity:1; } .ace_underline { text-decoration: underline; } .ace_bold { font-weight: bold; } .ace_nobold .ace_bold { font-weight: normal; } .ace_italic { font-style: italic; } .ace_error-marker { background-color: rgba(255, 0, 0,0.2); position: absolute; z-index: 9; } .ace_highlight-marker { background-color: rgba(255, 255, 0,0.2); position: absolute; z-index: 8; } .ace_mobile-menu { position: absolute; line-height: 1.5; border-radius: 4px; -ms-user-select: none; -moz-user-select: none; -webkit-user-select: none; user-select: none; background: white; box-shadow: 1px 3px 2px grey; border: 1px solid #dcdcdc; color: black; } .ace_dark > .ace_mobile-menu { background: #333; color: #ccc; box-shadow: 1px 3px 2px grey; border: 1px solid #444; } .ace_mobile-button { padding: 2px; cursor: pointer; overflow: hidden; } .ace_mobile-button:hover { background-color: #eee; opacity:1; } .ace_mobile-button:active { background-color: #ddd; } .ace_placeholder { font-family: arial; transform: scale(0.9); transform-origin: left; white-space: pre; opacity: 0.7; margin: 0 10px; } .ace_ghost_text { opacity: 0.5; font-style: italic; white-space: pre; }`}),ace.define("ace/layer/decorators",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter"],function(y,L,I){var d=y("../lib/dom"),_=y("../lib/oop"),p=y("../lib/event_emitter").EventEmitter,a=function(){function c(t,i){this.canvas=d.createElement("canvas"),this.renderer=i,this.pixelRatio=1,this.maxHeight=i.layerConfig.maxHeight,this.lineHeight=i.layerConfig.lineHeight,this.canvasHeight=t.parent.scrollHeight,this.heightRatio=this.canvasHeight/this.maxHeight,this.canvasWidth=t.width,this.minDecorationHeight=2*this.pixelRatio|0,this.halfMinDecorationHeight=this.minDecorationHeight/2|0,this.canvas.width=this.canvasWidth,this.canvas.height=this.canvasHeight,this.canvas.style.top="0px",this.canvas.style.right="0px",this.canvas.style.zIndex="7px",this.canvas.style.position="absolute",this.colors={},this.colors.dark={error:"rgba(255, 18, 18, 1)",warning:"rgba(18, 136, 18, 1)",info:"rgba(18, 18, 136, 1)"},this.colors.light={error:"rgb(255,51,51)",warning:"rgb(32,133,72)",info:"rgb(35,68,138)"},t.element.appendChild(this.canvas)}return c.prototype.$updateDecorators=function(t){var i=this.renderer.theme.isDark===!0?this.colors.dark:this.colors.light;if(t){this.maxHeight=t.maxHeight,this.lineHeight=t.lineHeight,this.canvasHeight=t.height;var r=(t.lastRow+1)*this.lineHeight;rk.priority?1:0}var o=this.renderer.session.$annotations;if(e.clearRect(0,0,this.canvas.width,this.canvas.height),o){var l={info:1,warning:2,error:3};o.forEach(function(m){m.priority=l[m.type]||null}),o=o.sort(n);for(var h=this.renderer.session.$foldData,u=0;uthis.canvasHeight&&(A=this.canvasHeight-this.halfMinDecorationHeight),f=Math.round(A-this.halfMinDecorationHeight),M=Math.round(A+this.halfMinDecorationHeight)}e.fillStyle=i[o[u].type]||null,e.fillRect(0,v,this.canvasWidth,M-f)}}var b=this.renderer.session.selection.getCursor();if(b){var w=this.compensateFoldRows(b.row,h),v=Math.round((b.row-w)*this.lineHeight*this.heightRatio);e.fillStyle="rgba(0, 0, 0, 0.5)",e.fillRect(0,v,this.canvasWidth,2)}},c.prototype.compensateFoldRows=function(t,i){var r=0;if(i&&i.length>0)for(var e=0;ei[e].start.row&&t=i[e].end.row&&(r+=i[e].end.row-i[e].start.row);return r},c}();_.implement(a.prototype,p),L.Decorator=a}),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/scrollbar_custom","ace/scrollbar_custom","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/css/editor-css","ace/layer/decorators","ace/lib/useragent"],function(y,L,I){var d=y("./lib/oop"),_=y("./lib/dom"),p=y("./lib/lang"),a=y("./config"),c=y("./layer/gutter").Gutter,t=y("./layer/marker").Marker,i=y("./layer/text").Text,r=y("./layer/cursor").Cursor,e=y("./scrollbar").HScrollBar,n=y("./scrollbar").VScrollBar,o=y("./scrollbar_custom").HScrollBar,l=y("./scrollbar_custom").VScrollBar,h=y("./renderloop").RenderLoop,u=y("./layer/font_metrics").FontMetrics,$=y("./lib/event_emitter").EventEmitter,w=y("./css/editor-css"),v=y("./layer/decorators").Decorator,f=y("./lib/useragent");_.importCssString(w,"ace_editor.css",!1);var M=function(){function S(A,b){var m=this;this.container=A||_.createElement("div"),_.addCssClass(this.container,"ace_editor"),_.HI_DPI&&_.addCssClass(this.container,"ace_hidpi"),this.setTheme(b),a.get("useStrictCSP")==null&&a.set("useStrictCSP",!1),this.$gutter=_.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden",!0),this.scroller=_.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=_.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new c(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new t(this.content);var k=this.$textLayer=new i(this.content);this.canvas=k.element,this.$markerFront=new t(this.content),this.$cursorLayer=new r(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new n(this.container,this),this.scrollBarH=new e(this.container,this),this.scrollBarV.on("scroll",function(E){m.$scrollAnimation||m.session.setScrollTop(E.data-m.scrollMargin.top)}),this.scrollBarH.on("scroll",function(E){m.$scrollAnimation||m.session.setScrollLeft(E.data-m.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new u(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",function(E){m.updateCharacterSize(),m.onResize(!0,m.gutterWidth,m.$size.width,m.$size.height),m._signal("changeCharacterSize",E)}),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.margin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$keepTextAreaAtCursor=!f.isIOS,this.$loop=new h(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),this.$addResizeObserver(),a.resetOptions(this),a._signal("renderer",this)}return S.prototype.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),_.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},S.prototype.setSession=function(A){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=A,A&&this.scrollMargin.top&&A.getScrollTop()<=0&&A.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(A),this.$markerBack.setSession(A),this.$markerFront.setSession(A),this.$gutterLayer.setSession(A),this.$textLayer.setSession(A),A&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},S.prototype.updateLines=function(A,b,m){if(b===void 0&&(b=1/0),this.$changedLines?(this.$changedLines.firstRow>A&&(this.$changedLines.firstRow=A),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},S.prototype.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},S.prototype.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},S.prototype.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},S.prototype.updateFull=function(A){A?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},S.prototype.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},S.prototype.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},S.prototype.onResize=function(A,b,m,k){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=A?1:0;var E=this.container;k||(k=E.clientHeight||E.scrollHeight),m||(m=E.clientWidth||E.scrollWidth);var g=this.$updateCachedSize(A,b,m,k);if(this.$resizeTimer&&this.$resizeTimer.cancel(),!this.$size.scrollerHeight||!m&&!k)return this.resizing=0;A&&(this.$gutterLayer.$padding=null),A?this.$renderChanges(g|this.$changes,!0):this.$loop.schedule(g|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.$customScrollbar&&this.$updateCustomScrollbar(!0)}},S.prototype.$updateCachedSize=function(A,b,m,k){k-=this.$extraHeight||0;var E=0,g=this.$size,C={width:g.width,height:g.height,scrollerHeight:g.scrollerHeight,scrollerWidth:g.scrollerWidth};if(k&&(A||g.height!=k)&&(g.height=k,E|=this.CHANGE_SIZE,g.scrollerHeight=g.height,this.$horizScroll&&(g.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.setHeight(g.scrollerHeight),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",E=E|this.CHANGE_SCROLL),m&&(A||g.width!=m)){E|=this.CHANGE_SIZE,g.width=m,b==null&&(b=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=b,_.setStyle(this.scrollBarH.element.style,"left",b+"px"),_.setStyle(this.scroller.style,"left",b+this.margin.left+"px"),g.scrollerWidth=Math.max(0,m-b-this.scrollBarV.getWidth()-this.margin.h),_.setStyle(this.$gutter.style,"left",this.margin.left+"px");var T=this.scrollBarV.getWidth()+"px";_.setStyle(this.scrollBarH.element.style,"right",T),_.setStyle(this.scroller.style,"right",T),_.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(g.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||A)&&(E|=this.CHANGE_FULL)}return g.$dirty=!m||!k,E&&this._signal("resize",C),E},S.prototype.onGutterResize=function(A){var b=this.$showGutter?A:0;b!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,b,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()?this.$loop.schedule(this.CHANGE_FULL):this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},S.prototype.adjustWrapLimit=function(){var A=this.$size.scrollerWidth-this.$padding*2,b=Math.floor(A/this.characterWidth);return this.session.adjustWrapLimit(b,this.$showPrintMargin&&this.$printMarginColumn)},S.prototype.setAnimatedScroll=function(A){this.setOption("animatedScroll",A)},S.prototype.getAnimatedScroll=function(){return this.$animatedScroll},S.prototype.setShowInvisibles=function(A){this.setOption("showInvisibles",A),this.session.$bidiHandler.setShowInvisibles(A)},S.prototype.getShowInvisibles=function(){return this.getOption("showInvisibles")},S.prototype.getDisplayIndentGuide=function(){return this.getOption("displayIndentGuides")},S.prototype.setDisplayIndentGuides=function(A){this.setOption("displayIndentGuides",A)},S.prototype.getHighlightIndentGuides=function(){return this.getOption("highlightIndentGuides")},S.prototype.setHighlightIndentGuides=function(A){this.setOption("highlightIndentGuides",A)},S.prototype.setShowPrintMargin=function(A){this.setOption("showPrintMargin",A)},S.prototype.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},S.prototype.setPrintMarginColumn=function(A){this.setOption("printMarginColumn",A)},S.prototype.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},S.prototype.getShowGutter=function(){return this.getOption("showGutter")},S.prototype.setShowGutter=function(A){return this.setOption("showGutter",A)},S.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},S.prototype.setFadeFoldWidgets=function(A){this.setOption("fadeFoldWidgets",A)},S.prototype.setHighlightGutterLine=function(A){this.setOption("highlightGutterLine",A)},S.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},S.prototype.$updatePrintMargin=function(){if(!(!this.$showPrintMargin&&!this.$printMarginEl)){if(!this.$printMarginEl){var A=_.createElement("div");A.className="ace_layer ace_print-margin-layer",this.$printMarginEl=_.createElement("div"),this.$printMarginEl.className="ace_print-margin",A.appendChild(this.$printMarginEl),this.content.insertBefore(A,this.content.firstChild)}var b=this.$printMarginEl.style;b.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",b.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&this.session.$wrap==-1&&this.adjustWrapLimit()}},S.prototype.getContainerElement=function(){return this.container},S.prototype.getMouseEventTarget=function(){return this.scroller},S.prototype.getTextAreaContainer=function(){return this.container},S.prototype.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var A=this.textarea.style,b=this.$composition;if(!this.$keepTextAreaAtCursor&&!b){_.translate(this.textarea,-100,0);return}var m=this.$cursorLayer.$pixelPos;if(m){b&&b.markerRange&&(m=this.$cursorLayer.getPixelPosition(b.markerRange.start,!0));var k=this.layerConfig,E=m.top,g=m.left;E-=k.offset;var C=b&&b.useTextareaForIME||f.isMobile?this.lineHeight:1;if(E<0||E>k.height-C){_.translate(this.textarea,0,0);return}var T=1,x=this.$size.height-C;if(!b)E+=this.lineHeight;else if(b.useTextareaForIME){var D=this.textarea.value;T=this.characterWidth*this.session.$getStringScreenWidth(D)[0]}else E+=this.lineHeight+2;g-=this.scrollLeft,g>this.$size.scrollerWidth-T&&(g=this.$size.scrollerWidth-T),g+=this.gutterWidth+this.margin.left,_.setStyle(A,"height",C+"px"),_.setStyle(A,"width",T+"px"),_.translate(this.textarea,Math.min(g,this.$size.scrollerWidth-T),Math.min(E,x))}}},S.prototype.getFirstVisibleRow=function(){return this.layerConfig.firstRow},S.prototype.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(this.layerConfig.offset===0?0:1)},S.prototype.getLastFullyVisibleRow=function(){var A=this.layerConfig,b=A.lastRow,m=this.session.documentToScreenRow(b,0)*A.lineHeight;return m-this.session.getScrollTop()>A.height-A.lineHeight?b-1:b},S.prototype.getLastVisibleRow=function(){return this.layerConfig.lastRow},S.prototype.setPadding=function(A){this.$padding=A,this.$textLayer.setPadding(A),this.$cursorLayer.setPadding(A),this.$markerFront.setPadding(A),this.$markerBack.setPadding(A),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},S.prototype.setScrollMargin=function(A,b,m,k){var E=this.scrollMargin;E.top=A|0,E.bottom=b|0,E.right=k|0,E.left=m|0,E.v=E.top+E.bottom,E.h=E.left+E.right,E.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-E.top),this.updateFull()},S.prototype.setMargin=function(A,b,m,k){var E=this.margin;E.top=A|0,E.bottom=b|0,E.right=k|0,E.left=m|0,E.v=E.top+E.bottom,E.h=E.left+E.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},S.prototype.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},S.prototype.setHScrollBarAlwaysVisible=function(A){this.setOption("hScrollBarAlwaysVisible",A)},S.prototype.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},S.prototype.setVScrollBarAlwaysVisible=function(A){this.setOption("vScrollBarAlwaysVisible",A)},S.prototype.$updateScrollBarV=function(){var A=this.layerConfig.maxHeight,b=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(A-=(b-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>A-b&&(A=this.scrollTop+b,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(A+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},S.prototype.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},S.prototype.freeze=function(){this.$frozen=!0},S.prototype.unfreeze=function(){this.$frozen=!1},S.prototype.$renderChanges=function(A,b){if(this.$changes&&(A|=this.$changes,this.$changes=0),!this.session||!this.container.offsetWidth||this.$frozen||!A&&!b){this.$changes|=A;return}if(this.$size.$dirty)return this.$changes|=A,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",A),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var m=this.layerConfig;if(A&this.CHANGE_FULL||A&this.CHANGE_SIZE||A&this.CHANGE_TEXT||A&this.CHANGE_LINES||A&this.CHANGE_SCROLL||A&this.CHANGE_H_SCROLL){if(A|=this.$computeLayerConfig()|this.$loop.clear(),m.firstRow!=this.layerConfig.firstRow&&m.firstRowScreen==this.layerConfig.firstRowScreen){var k=this.scrollTop+(m.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight;k>0&&(this.scrollTop=k,A=A|this.CHANGE_SCROLL,A|=this.$computeLayerConfig()|this.$loop.clear())}m=this.layerConfig,this.$updateScrollBarV(),A&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),_.translate(this.content,-this.scrollLeft,-m.offset);var E=m.width+2*this.$padding+"px",g=m.minHeight+"px";_.setStyle(this.content.style,"width",E),_.setStyle(this.content.style,"height",g)}if(A&this.CHANGE_H_SCROLL&&(_.translate(this.content,-this.scrollLeft,-m.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller ":"ace_scroller ace_scroll-left ",this.enableKeyboardAccessibility&&(this.scroller.className+=this.keyboardFocusClassName)),A&this.CHANGE_FULL){this.$changedLines=null,this.$textLayer.update(m),this.$showGutter&&this.$gutterLayer.update(m),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(m),this.$markerBack.update(m),this.$markerFront.update(m),this.$cursorLayer.update(m),this.$moveTextAreaToCursor(),this._signal("afterRender",A);return}if(A&this.CHANGE_SCROLL){this.$changedLines=null,A&this.CHANGE_TEXT||A&this.CHANGE_LINES?this.$textLayer.update(m):this.$textLayer.scrollLines(m),this.$showGutter&&(A&this.CHANGE_GUTTER||A&this.CHANGE_LINES?this.$gutterLayer.update(m):this.$gutterLayer.scrollLines(m)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(m),this.$markerBack.update(m),this.$markerFront.update(m),this.$cursorLayer.update(m),this.$moveTextAreaToCursor(),this._signal("afterRender",A);return}A&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(m),this.$showGutter&&this.$gutterLayer.update(m),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(m)):A&this.CHANGE_LINES?((this.$updateLines()||A&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(m),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(m)):A&this.CHANGE_TEXT||A&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(m),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(m)):A&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(m),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(m)),A&this.CHANGE_CURSOR&&(this.$cursorLayer.update(m),this.$moveTextAreaToCursor()),A&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(m),A&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(m),this._signal("afterRender",A)},S.prototype.$autosize=function(){var A=this.session.getScreenLength()*this.lineHeight,b=this.$maxLines*this.lineHeight,m=Math.min(b,Math.max((this.$minLines||1)*this.lineHeight,A))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(m+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&m>this.$maxPixelHeight&&(m=this.$maxPixelHeight);var k=m<=2*this.lineHeight,E=!k&&A>b;if(m!=this.desiredHeight||this.$size.height!=this.desiredHeight||E!=this.$vScroll){E!=this.$vScroll&&(this.$vScroll=E,this.scrollBarV.setVisible(E));var g=this.container.clientWidth;this.container.style.height=m+"px",this.$updateCachedSize(!0,this.$gutterWidth,g,m),this.desiredHeight=m,this._signal("autosize")}},S.prototype.$computeLayerConfig=function(){var A=this.session,b=this.$size,m=b.height<=2*this.lineHeight,k=this.session.getScreenLength(),E=k*this.lineHeight,g=this.$getLongestLine(),C=!m&&(this.$hScrollBarAlwaysVisible||b.scrollerWidth-g-2*this.$padding<0),T=this.$horizScroll!==C;T&&(this.$horizScroll=C,this.scrollBarH.setVisible(C));var x=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var D=b.scrollerHeight+this.lineHeight,V=!this.$maxLines&&this.$scrollPastEnd?(b.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;E+=V;var F=this.scrollMargin;this.session.setScrollTop(Math.max(-F.top,Math.min(this.scrollTop,E-b.scrollerHeight+F.bottom))),this.session.setScrollLeft(Math.max(-F.left,Math.min(this.scrollLeft,g+2*this.$padding-b.scrollerWidth+F.right)));var N=!m&&(this.$vScrollBarAlwaysVisible||b.scrollerHeight-E+V<0||this.scrollTop>F.top),U=x!==N;U&&(this.$vScroll=N,this.scrollBarV.setVisible(N));var W=this.scrollTop%this.lineHeight,B=Math.ceil(D/this.lineHeight)-1,z=Math.max(0,Math.round((this.scrollTop-W)/this.lineHeight)),G=z+B,X,Y,Q=this.lineHeight;z=A.screenToDocumentRow(z,0);var q=A.getFoldLine(z);q&&(z=q.start.row),X=A.documentToScreenRow(z,0),Y=A.getRowLength(z)*Q,G=Math.min(A.screenToDocumentRow(G,0),A.getLength()-1),D=b.scrollerHeight+A.getRowLength(G)*Q+Y,W=this.scrollTop-X*Q;var ne=0;return(this.layerConfig.width!=g||T)&&(ne=this.CHANGE_H_SCROLL),(T||U)&&(ne|=this.$updateCachedSize(!0,this.gutterWidth,b.width,b.height),this._signal("scrollbarVisibilityChanged"),U&&(g=this.$getLongestLine())),this.layerConfig={width:g,padding:this.$padding,firstRow:z,firstRowScreen:X,lastRow:G,lineHeight:Q,characterWidth:this.characterWidth,minHeight:D,maxHeight:E,offset:W,gutterOffset:Q?Math.max(0,Math.ceil((W+b.height-b.scrollerHeight)/Q)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(g-this.$padding),ne},S.prototype.$updateLines=function(){if(this.$changedLines){var A=this.$changedLines.firstRow,b=this.$changedLines.lastRow;this.$changedLines=null;var m=this.layerConfig;if(!(A>m.lastRow+1)&&!(bthis.$textLayer.MAX_LINE_LENGTH&&(A=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(A*this.characterWidth))},S.prototype.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},S.prototype.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},S.prototype.addGutterDecoration=function(A,b){this.$gutterLayer.addGutterDecoration(A,b)},S.prototype.removeGutterDecoration=function(A,b){this.$gutterLayer.removeGutterDecoration(A,b)},S.prototype.updateBreakpoints=function(A){this.$loop.schedule(this.CHANGE_GUTTER)},S.prototype.setAnnotations=function(A){this.$gutterLayer.setAnnotations(A),this.$loop.schedule(this.CHANGE_GUTTER)},S.prototype.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},S.prototype.hideCursor=function(){this.$cursorLayer.hideCursor()},S.prototype.showCursor=function(){this.$cursorLayer.showCursor()},S.prototype.scrollSelectionIntoView=function(A,b,m){this.scrollCursorIntoView(A,m),this.scrollCursorIntoView(b,m)},S.prototype.scrollCursorIntoView=function(A,b,m){if(this.$size.scrollerHeight!==0){var k=this.$cursorLayer.getPixelPosition(A),E=k.left,g=k.top,C=m&&m.top||0,T=m&&m.bottom||0;this.$scrollAnimation&&(this.$stopAnimation=!0);var x=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;x+C>g?(b&&x+C>g+this.lineHeight&&(g-=b*this.$size.scrollerHeight),g===0&&(g=-this.scrollMargin.top),this.session.setScrollTop(g)):x+this.$size.scrollerHeight-T=1-this.scrollMargin.top||b>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||A<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||A>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right)return!0},S.prototype.pixelToScreenCoordinates=function(A,b){var m;if(this.$hasCssTransforms){m={top:0,left:0};var k=this.$fontMetrics.transformCoordinates([A,b]);A=k[1]-this.gutterWidth-this.margin.left,b=k[0]}else m=this.scroller.getBoundingClientRect();var E=A+this.scrollLeft-m.left-this.$padding,g=E/this.characterWidth,C=Math.floor((b+this.scrollTop-m.top)/this.lineHeight),T=this.$blockCursor?Math.floor(g):Math.round(g);return{row:C,column:T,side:g-T>0?1:-1,offsetX:E}},S.prototype.screenToTextCoordinates=function(A,b){var m;if(this.$hasCssTransforms){m={top:0,left:0};var k=this.$fontMetrics.transformCoordinates([A,b]);A=k[1]-this.gutterWidth-this.margin.left,b=k[0]}else m=this.scroller.getBoundingClientRect();var E=A+this.scrollLeft-m.left-this.$padding,g=E/this.characterWidth,C=this.$blockCursor?Math.floor(g):Math.round(g),T=Math.floor((b+this.scrollTop-m.top)/this.lineHeight);return this.session.screenToDocumentPosition(T,Math.max(C,0),E)},S.prototype.textToScreenCoordinates=function(A,b){var m=this.scroller.getBoundingClientRect(),k=this.session.documentToScreenPosition(A,b),E=this.$padding+(this.session.$bidiHandler.isBidiRow(k.row,A)?this.session.$bidiHandler.getPosLeft(k.column):Math.round(k.column*this.characterWidth)),g=k.row*this.lineHeight;return{pageX:m.left+E-this.scrollLeft,pageY:m.top+g-this.scrollTop}},S.prototype.visualizeFocus=function(){_.addCssClass(this.container,"ace_focus")},S.prototype.visualizeBlur=function(){_.removeCssClass(this.container,"ace_focus")},S.prototype.showComposition=function(A){this.$composition=A,A.cssText||(A.cssText=this.textarea.style.cssText),A.useTextareaForIME==null&&(A.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(_.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):A.markerId=this.session.addMarker(A.markerRange,"ace_composition_marker","text")},S.prototype.setCompositionText=function(A){var b=this.session.selection.cursor;this.addToken(A,"composition_placeholder",b.row,b.column),this.$moveTextAreaToCursor()},S.prototype.hideComposition=function(){if(this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),_.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var A=this.session.selection.cursor;this.removeExtraToken(A.row,A.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},S.prototype.setGhostText=function(A,b){var m=this.session.selection.cursor,k=b||{row:m.row,column:m.column};this.removeGhostText();var E=A.split(` `);this.addToken(E[0],"ghost_text",k.row,k.column),this.$ghostText={text:A,position:{row:k.row,column:k.column}},E.length>1&&(this.$ghostTextWidget={text:E.slice(1).join(` `),row:k.row,column:k.column,className:"ace_ghost_text"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget))},S.prototype.removeGhostText=function(){if(this.$ghostText){var A=this.$ghostText.position;this.removeExtraToken(A.row,A.column),this.$ghostTextWidget&&(this.session.widgetManager.removeLineWidget(this.$ghostTextWidget),this.$ghostTextWidget=null),this.$ghostText=null}},S.prototype.addToken=function(A,b,m,k){var E=this.session;E.bgTokenizer.lines[m]=null;var g={type:b,value:A},C=E.getTokens(m);if(k==null||!C.length)C.push(g);else for(var T=0,x=0;x1||Math.abs(A.$size.height-k)>1?A.$resizeTimer.delay():A.$resizeTimer.cancel()}),this.$resizeObserver.observe(this.container)}},S}();M.prototype.CHANGE_CURSOR=1,M.prototype.CHANGE_MARKER=2,M.prototype.CHANGE_GUTTER=4,M.prototype.CHANGE_SCROLL=8,M.prototype.CHANGE_LINES=16,M.prototype.CHANGE_TEXT=32,M.prototype.CHANGE_SIZE=64,M.prototype.CHANGE_MARKER_BACK=128,M.prototype.CHANGE_MARKER_FRONT=256,M.prototype.CHANGE_FULL=512,M.prototype.CHANGE_H_SCROLL=1024,M.prototype.$changes=0,M.prototype.$padding=null,M.prototype.$frozen=!1,M.prototype.STEPS=8,d.implement(M.prototype,$),a.defineOptions(M.prototype,"renderer",{useResizeObserver:{set:function(S){!S&&this.$resizeObserver?(this.$resizeObserver.disconnect(),this.$resizeTimer.cancel(),this.$resizeTimer=this.$resizeObserver=null):S&&!this.$resizeObserver&&this.$addResizeObserver()}},animatedScroll:{initialValue:!1},showInvisibles:{set:function(S){this.$textLayer.setShowInvisibles(S)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(S){typeof S=="number"&&(this.$printMarginColumn=S),this.$showPrintMargin=!!S,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(S){this.$gutter.style.display=S?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},useSvgGutterIcons:{set:function(S){this.$gutterLayer.$useSvgGutterIcons=S},initialValue:!1},showFoldedAnnotations:{set:function(S){this.$gutterLayer.$showFoldedAnnotations=S},initialValue:!1},fadeFoldWidgets:{set:function(S){_.setCssClass(this.$gutter,"ace_fade-fold-widgets",S)},initialValue:!1},showFoldWidgets:{set:function(S){this.$gutterLayer.setShowFoldWidgets(S),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(S){this.$textLayer.setDisplayIndentGuides(S)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightIndentGuides:{set:function(S){this.$textLayer.setHighlightIndentGuides(S)==!0?this.$textLayer.$highlightIndentGuide():this.$textLayer.$clearActiveIndentGuide(this.$textLayer.$lines.cells)},initialValue:!0},highlightGutterLine:{set:function(S){this.$gutterLayer.setHighlightGutterLine(S),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},hScrollBarAlwaysVisible:{set:function(S){(!this.$hScrollBarAlwaysVisible||!this.$horizScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(S){(!this.$vScrollBarAlwaysVisible||!this.$vScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(S){typeof S=="number"&&(S=S+"px"),this.container.style.fontSize=S,this.updateFontSize()},initialValue:12},fontFamily:{set:function(S){this.container.style.fontFamily=S,this.updateFontSize()}},maxLines:{set:function(S){this.updateFull()}},minLines:{set:function(S){this.$minLines<562949953421311||(this.$minLines=0),this.updateFull()}},maxPixelHeight:{set:function(S){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(S){S=+S||0,this.$scrollPastEnd!=S&&(this.$scrollPastEnd=S,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(S){this.$gutterLayer.$fixedWidth=!!S,this.$loop.schedule(this.CHANGE_GUTTER)}},customScrollbar:{set:function(S){this.$updateCustomScrollbar(S)},initialValue:!1},theme:{set:function(S){this.setTheme(S)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0},hasCssTransforms:{},useTextareaForIME:{initialValue:!f.isMobile&&!f.isIE}}),L.VirtualRenderer=M}),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],function(y,L,I){var d=y("../lib/oop"),_=y("../lib/net"),p=y("../lib/event_emitter").EventEmitter,a=y("../config");function c(e){var n="importScripts('"+_.qualifyURL(e)+"');";try{return new Blob([n],{type:"application/javascript"})}catch{var o=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder,l=new o;return l.append(n),l.getBlob("application/javascript")}}function t(e){if(typeof Worker>"u")return{postMessage:function(){},terminate:function(){}};if(a.get("loadWorkerFromBlob")){var n=c(e),o=window.URL||window.webkitURL,l=o.createObjectURL(n);return new Worker(l)}return new Worker(e)}var i=function(e){e.postMessage||(e=this.$createWorkerFromOldConfig.apply(this,arguments)),this.$worker=e,this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){d.implement(this,p),this.$createWorkerFromOldConfig=function(e,n,o,l,h){if(y.nameToUrl&&!y.toUrl&&(y.toUrl=y.nameToUrl),a.get("packaged")||!y.toUrl)l=l||a.moduleUrl(n,"worker");else{var u=this.$normalizePath;l=l||u(y.toUrl("ace/worker/worker.js",null,"_"));var $={};e.forEach(function(w){$[w]=u(y.toUrl(w,null,"_").replace(/(\.js)?(\?.*)?$/,""))})}return this.$worker=t(l),h&&this.send("importScripts",h),this.$worker.postMessage({init:!0,tlns:$,module:n,classname:o}),this.$worker},this.onMessage=function(e){var n=e.data;switch(n.type){case"event":this._signal(n.name,{data:n.data});break;case"call":var o=this.callbacks[n.id];o&&(o(n.data),delete this.callbacks[n.id]);break;case"error":this.reportError(n.data);break;case"log":window.console&&console.log&&console.log.apply(console,n.data);break}},this.reportError=function(e){window.console&&console.error&&console.error(e)},this.$normalizePath=function(e){return _.qualifyURL(e)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker.onerror=function(e){e.preventDefault()},this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(e,n){this.$worker.postMessage({command:e,args:n})},this.call=function(e,n,o){if(o){var l=this.callbackId++;this.callbacks[l]=o,n.push(l)}this.send(e,n)},this.emit=function(e,n){try{n.data&&n.data.err&&(n.data.err={message:n.data.err.message,stack:n.data.err.stack,code:n.data.err.code}),this.$worker&&this.$worker.postMessage({event:e,data:{data:n.data}})}catch(o){console.error(o.stack)}},this.attachToDocument=function(e){this.$doc&&this.terminate(),this.$doc=e,this.call("setValue",[e.getValue()]),e.on("change",this.changeListener,!0)},this.changeListener=function(e){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),e.action=="insert"?this.deltaQueue.push(e.start,e.lines):this.deltaQueue.push(e.start,e.end)},this.$sendDeltaQueue=function(){var e=this.deltaQueue;e&&(this.deltaQueue=null,e.length>50&&e.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:e}))}}).call(i.prototype);var r=function(e,n,o){var l=null,h=!1,u=Object.create(p),$=[],w=new i({messageBuffer:$,terminate:function(){},postMessage:function(f){$.push(f),l&&(h?setTimeout(v):v())}});w.setEmitSync=function(f){h=f};var v=function(){var f=$.shift();f.command?l[f.command].apply(l,f.args):f.event&&u._signal(f.event,f.data)};return u.postMessage=function(f){w.onMessage({data:f})},u.callback=function(f,M){this.postMessage({type:"call",id:M,data:f})},u.emit=function(f,M){this.postMessage({type:"event",name:f,data:M})},a.loadModule(["worker",n],function(f){for(l=new f[o](u);$.length;)v()}),w};L.UIWorkerClient=r,L.WorkerClient=i,L.createWorker=t}),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(y,L,I){var d=y("./range").Range,_=y("./lib/event_emitter").EventEmitter,p=y("./lib/oop"),a=function(){function c(t,i,r,e,n,o){var l=this;this.length=i,this.session=t,this.doc=t.getDocument(),this.mainClass=n,this.othersClass=o,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate,!0),this.$others=e,this.$onCursorChange=function(){setTimeout(function(){l.onCursorChange()})},this.$pos=r;var h=t.getUndoManager().$undoStack||t.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=h.length,this.setup(),t.selection.on("changeCursor",this.$onCursorChange)}return c.prototype.setup=function(){var t=this,i=this.doc,r=this.session;this.selectionBefore=r.selection.toJSON(),r.selection.inMultiSelectMode&&r.selection.toSingleRange(),this.pos=i.createAnchor(this.$pos.row,this.$pos.column);var e=this.pos;e.$insertRight=!0,e.detach(),e.markerId=r.addMarker(new d(e.row,e.column,e.row,e.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(n){var o=i.createAnchor(n.row,n.column);o.$insertRight=!0,o.detach(),t.others.push(o)}),r.setUndoSelect(!1)},c.prototype.showOtherMarkers=function(){if(!this.othersActive){var t=this.session,i=this;this.othersActive=!0,this.others.forEach(function(r){r.markerId=t.addMarker(new d(r.row,r.column,r.row,r.column+i.length),i.othersClass,null,!1)})}},c.prototype.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var t=0;t=this.pos.column&&i.start.column<=this.pos.column+this.length+1,n=i.start.column-this.pos.column;if(this.updateAnchors(t),e&&(this.length+=r),e&&!this.session.$fromUndo){if(t.action==="insert")for(var o=this.others.length-1;o>=0;o--){var l=this.others[o],h={row:l.row,column:l.column+n};this.doc.insertMergedLines(h,t.lines)}else if(t.action==="remove")for(var o=this.others.length-1;o>=0;o--){var l=this.others[o],h={row:l.row,column:l.column+n};this.doc.remove(new d(h.row,h.column,h.row,h.column-r))}}this.$updating=!1,this.updateMarkers()}},c.prototype.updateAnchors=function(t){this.pos.onChange(t);for(var i=this.others.length;i--;)this.others[i].onChange(t);this.updateMarkers()},c.prototype.updateMarkers=function(){if(!this.$updating){var t=this,i=this.session,r=function(n,o){i.removeMarker(n.markerId),n.markerId=i.addMarker(new d(n.row,n.column,n.row,n.column+t.length),o,null,!1)};r(this.pos,this.mainClass);for(var e=this.others.length;e--;)r(this.others[e],this.othersClass)}},c.prototype.onCursorChange=function(t){if(!(this.$updating||!this.session)){var i=this.session.selection.getCursor();i.row===this.pos.row&&i.column>=this.pos.column&&i.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",t)):(this.hideOtherMarkers(),this._emit("cursorLeave",t))}},c.prototype.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},c.prototype.cancel=function(){if(this.$undoStackDepth!==-1){for(var t=this.session.getUndoManager(),i=(t.$undoStack||t.$undostack).length-this.$undoStackDepth,r=0;r1?_.multiSelect.joinSelections():_.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(_){_.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(_){_.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(_){_.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],L.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(_){_.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(_){return _&&_.inMultiSelectMode}}];var d=y("../keyboard/hash_handler").HashHandler;L.keyboardHandler=new d(L.multiSelectCommands)}),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],function(y,L,I){var d=y("./range_list").RangeList,_=y("./range").Range,p=y("./selection").Selection,a=y("./mouse/multi_select_handler").onMouseDown,c=y("./lib/event"),t=y("./lib/lang"),i=y("./commands/multi_select_commands");L.commands=i.defaultCommands.concat(i.multiSelectCommands);var r=y("./search").Search,e=new r;function n(w,v,f){return e.$options.wrap=!0,e.$options.needle=v,e.$options.backwards=f==-1,e.find(w)}var o=y("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(o.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(w,v){if(w){if(!this.inMultiSelectMode&&this.rangeCount===0){var f=this.toOrientedRange();if(this.rangeList.add(f),this.rangeList.add(w),this.rangeList.ranges.length!=2)return this.rangeList.removeAll(),v||this.fromOrientedRange(w);this.rangeList.removeAll(),this.rangeList.add(f),this.$onAddRange(f)}w.cursor||(w.cursor=w.end);var M=this.rangeList.add(w);return this.$onAddRange(w),M.length&&this.$onRemoveRange(M),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),v||this.fromOrientedRange(w)}},this.toSingleRange=function(w){w=w||this.ranges[0];var v=this.rangeList.removeAll();v.length&&this.$onRemoveRange(v),w&&this.fromOrientedRange(w)},this.substractPoint=function(w){var v=this.rangeList.substractPoint(w);if(v)return this.$onRemoveRange(v),v[0]},this.mergeOverlappingRanges=function(){var w=this.rangeList.merge();w.length&&this.$onRemoveRange(w)},this.$onAddRange=function(w){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(w),this._signal("addRange",{range:w})},this.$onRemoveRange=function(w){if(this.rangeCount=this.rangeList.ranges.length,this.rangeCount==1&&this.inMultiSelectMode){var v=this.rangeList.ranges.pop();w.push(v),this.rangeCount=0}for(var f=w.length;f--;){var M=this.ranges.indexOf(w[f]);this.ranges.splice(M,1)}this._signal("removeRange",{ranges:w}),this.rangeCount===0&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),v=v||this.ranges[0],v&&!v.isEqual(this.getRange())&&this.fromOrientedRange(v)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new d,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var w=this.ranges.length?this.ranges:[this.getRange()],v=[],f=0;f1){var w=this.rangeList.ranges,v=w[w.length-1],f=_.fromPoints(w[0].start,v.end);this.toSingleRange(),this.setSelectionRange(f,v.cursor==v.start)}else{var M=this.session.documentToScreenPosition(this.cursor),S=this.session.documentToScreenPosition(this.anchor),A=this.rectangularRangeBlock(M,S);A.forEach(this.addRange,this)}},this.rectangularRangeBlock=function(w,v,f){var M=[],S=w.column0;)V--;if(V>0)for(var F=0;M[F].isEmpty();)F++;for(var N=V;N>=F;N--)M[N].isEmpty()&&M.splice(N,1)}return M}}.call(p.prototype);var l=y("./editor").Editor;(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(w){w.cursor||(w.cursor=w.end);var v=this.getSelectionStyle();return w.marker=this.session.addMarker(w,"ace_selection",v),this.session.$selectionMarkers.push(w),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,w},this.removeSelectionMarker=function(w){if(w.marker){this.session.removeMarker(w.marker);var v=this.session.$selectionMarkers.indexOf(w);v!=-1&&this.session.$selectionMarkers.splice(v,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(w){for(var v=this.session.$selectionMarkers,f=w.length;f--;){var M=w[f];if(M.marker){this.session.removeMarker(M.marker);var S=v.indexOf(M);S!=-1&&v.splice(S,1)}}this.session.selectionMarkerCount=v.length},this.$onAddRange=function(w){this.addSelectionMarker(w.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(w){this.removeSelectionMarkers(w.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(w){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(i.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(w){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(i.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(w){var v=w.command,f=w.editor;if(f.multiSelect){if(v.multiSelectAction)v.multiSelectAction=="forEach"?M=f.forEachSelection(v,w.args):v.multiSelectAction=="forEachLine"?M=f.forEachSelection(v,w.args,!0):v.multiSelectAction=="single"?(f.exitMultiSelectMode(),M=v.exec(f,w.args||{})):M=v.multiSelectAction(f,w.args||{});else{var M=v.exec(f,w.args||{});f.multiSelect.addRange(f.multiSelect.toOrientedRange()),f.multiSelect.mergeOverlappingRanges()}return M}},this.forEachSelection=function(w,v,f){if(!this.inVirtualSelectionMode){var M=f&&f.keepOrder,S=f==!0||f&&f.$byLines,A=this.session,b=this.selection,m=b.rangeList,k=(M?b:m).ranges,E;if(!k.length)return w.exec?w.exec(this,v||{}):w(this,v||{});var g=b._eventRegistry;b._eventRegistry={};var C=new p(A);this.inVirtualSelectionMode=!0;for(var T=k.length;T--;){if(S)for(;T>0&&k[T].start.row==k[T-1].end.row;)T--;C.fromOrientedRange(k[T]),C.index=T,this.selection=A.selection=C;var x=w.exec?w.exec(this,v||{}):w(this,v||{});!E&&x!==void 0&&(E=x),C.toOrientedRange(k[T])}C.detach(),this.selection=A.selection=b,this.inVirtualSelectionMode=!1,b._eventRegistry=g,b.mergeOverlappingRanges(),b.ranges[0]&&b.fromOrientedRange(b.ranges[0]);var D=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),D&&D.from==D.to&&this.renderer.animateScrolling(D.from),E}},this.exitMultiSelectMode=function(){!this.inMultiSelectMode||this.inVirtualSelectionMode||this.multiSelect.toSingleRange()},this.getSelectedText=function(){var w="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var v=this.multiSelect.rangeList.ranges,f=[],M=0;M0);b<0&&(b=0),m>=E&&(m=E-1)}var C=this.session.removeFullLines(b,m);C=this.$reAlignText(C,k),this.session.insert({row:b,column:0},C.join(` `)+` `),k||(A.start.column=0,A.end.column=C[C.length-1].length),this.selection.setRange(A)}else{S.forEach(function(V){v.substractPoint(V.cursor)});var T=0,x=1/0,D=f.map(function(V){var F=V.cursor,N=w.getLine(F.row),U=N.substr(F.column).search(/\S/g);return U==-1&&(U=0),F.column>T&&(T=F.column),UW?w.insert(N,t.stringRepeat(" ",U-W)):w.remove(new _(N.row,N.column,N.row,N.column-U+W)),V.start.column=V.end.column=T,V.start.row=V.end.row=N.row,V.cursor=V.end}),v.fromOrientedRange(f[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}},this.$reAlignText=function(w,v){var f=!0,M=!0,S,A,b;return w.map(function(C){var T=C.match(/(\s*)(.*?)(\s*)([=:].*)/);return T?S==null?(S=T[1].length,A=T[2].length,b=T[3].length,T):(S+A+b!=T[1].length+T[2].length+T[3].length&&(M=!1),S!=T[1].length&&(f=!1),S>T[1].length&&(S=T[1].length),AT[3].length&&(b=T[3].length),T):[C]}).map(v?k:f?M?E:k:g);function m(C){return t.stringRepeat(" ",C)}function k(C){return C[2]?m(S)+C[2]+m(A-C[2].length+b)+C[4].replace(/^([=:])\s+/,"$1 "):C[0]}function E(C){return C[2]?m(S+A-C[2].length)+C[2]+m(b)+C[4].replace(/^([=:])\s+/,"$1 "):C[0]}function g(C){return C[2]?m(S)+C[2]+m(b)+C[4].replace(/^([=:])\s+/,"$1 "):C[0]}}}).call(l.prototype);function h(w,v){return w.row==v.row&&w.column==v.column}L.onSessionChange=function(w){var v=w.session;v&&!v.multiSelect&&(v.$selectionMarkers=[],v.selection.$initRangeList(),v.multiSelect=v.selection),this.multiSelect=v&&v.multiSelect;var f=w.oldSession;f&&(f.multiSelect.off("addRange",this.$onAddRange),f.multiSelect.off("removeRange",this.$onRemoveRange),f.multiSelect.off("multiSelect",this.$onMultiSelect),f.multiSelect.off("singleSelect",this.$onSingleSelect),f.multiSelect.lead.off("change",this.$checkMultiselectChange),f.multiSelect.anchor.off("change",this.$checkMultiselectChange)),v&&(v.multiSelect.on("addRange",this.$onAddRange),v.multiSelect.on("removeRange",this.$onRemoveRange),v.multiSelect.on("multiSelect",this.$onMultiSelect),v.multiSelect.on("singleSelect",this.$onSingleSelect),v.multiSelect.lead.on("change",this.$checkMultiselectChange),v.multiSelect.anchor.on("change",this.$checkMultiselectChange)),v&&this.inMultiSelectMode!=v.selection.inMultiSelectMode&&(v.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())};function u(w){w.$multiselectOnSessionChange||(w.$onAddRange=w.$onAddRange.bind(w),w.$onRemoveRange=w.$onRemoveRange.bind(w),w.$onMultiSelect=w.$onMultiSelect.bind(w),w.$onSingleSelect=w.$onSingleSelect.bind(w),w.$multiselectOnSessionChange=L.onSessionChange.bind(w),w.$checkMultiselectChange=w.$checkMultiselectChange.bind(w),w.$multiselectOnSessionChange(w),w.on("changeSession",w.$multiselectOnSessionChange),w.on("mousedown",a),w.commands.addCommands(i.defaultCommands),$(w))}function $(w){if(!w.textInput)return;var v=w.textInput.getElement(),f=!1;c.addListener(v,"keydown",function(S){var A=S.keyCode==18&&!(S.ctrlKey||S.shiftKey||S.metaKey);w.$blockSelectEnabled&&A?f||(w.renderer.setMouseCursor("crosshair"),f=!0):f&&M()},w),c.addListener(v,"keyup",M,w),c.addListener(v,"blur",M,w);function M(S){f&&(w.renderer.setMouseCursor(""),f=!1)}}L.MultiSelect=u,y("./config").defineOptions(l.prototype,"editor",{enableMultiselect:{set:function(w){u(this),w?this.on("mousedown",a):this.off("mousedown",a)},value:!0},enableBlockSelect:{set:function(w){this.$blockSelectEnabled=w},value:!0}})}),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],function(y,L,I){var d=y("../../range").Range,_=L.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(p,a,c){var t=p.getLine(c);return this.foldingStartMarker.test(t)?"start":a=="markbeginend"&&this.foldingStopMarker&&this.foldingStopMarker.test(t)?"end":""},this.getFoldWidgetRange=function(p,a,c){return null},this.indentationBlock=function(p,a,c){var t=/\S/,i=p.getLine(a),r=i.search(t);if(r!=-1){for(var e=c||i.length,n=p.getLength(),o=a,l=a;++ao){var $=p.getLine(l).length;return new d(o,e,l,$)}}},this.openingBracketBlock=function(p,a,c,t,i){var r={row:c,column:t+1},e=p.$findClosingBracket(a,r,i);if(e){var n=p.foldWidgets[e.row];return n==null&&(n=p.getFoldWidget(e.row)),n=="start"&&e.row>r.row&&(e.row--,e.column=p.getLine(e.row).length),d.fromPoints(r,e)}},this.closingBracketBlock=function(p,a,c,t,i){var r={row:c,column:t},e=p.$findOpeningBracket(a,r);if(e)return e.column++,r.column--,d.fromPoints(e,r)}}).call(_.prototype)}),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range","ace/config"],function(y,L,I){var d=y("../line_widgets").LineWidgets,_=y("../lib/dom"),p=y("../range").Range,a=y("../config").nls;function c(i,r,e){for(var n=0,o=i.length-1;n<=o;){var l=n+o>>1,h=e(r,i[l]);if(h>0)n=l+1;else if(h<0)o=l-1;else return l}return-(n+1)}function t(i,r,e){var n=i.getAnnotations().sort(p.comparePoints);if(n.length){var o=c(n,{row:r,column:-1},p.comparePoints);o<0&&(o=-o-1),o>=n.length?o=e>0?0:n.length-1:o===0&&e<0&&(o=n.length-1);var l=n[o];if(!(!l||!e)){if(l.row===r){do l=n[o+=e];while(l&&l.row===r);if(!l)return n.slice()}var h=[];r=l.row;do h[e<0?"unshift":"push"](l),l=n[o+=e];while(l&&l.row==r);return h.length&&h}}}L.showErrorMarker=function(i,r){var e=i.session;e.widgetManager||(e.widgetManager=new d(e),e.widgetManager.attach(i));var n=i.getCursorPosition(),o=n.row,l=e.widgetManager.getWidgetsAtRow(o).filter(function(A){return A.type=="errorMarker"})[0];l?l.destroy():o-=r;var h=t(e,o,r),u;if(h){var $=h[0];n.column=($.pos&&typeof $.column!="number"?$.pos.sc:$.column)||0,n.row=$.row,u=i.renderer.$gutterLayer.$annotations[n.row]}else{if(l)return;u={text:[a("Looks good!")],className:"ace_ok"}}i.session.unfold(n.row),i.selection.moveToPosition(n);var w={row:n.row,fixedWidth:!0,coverGutter:!0,el:_.createElement("div"),type:"errorMarker"},v=w.el.appendChild(_.createElement("div")),f=w.el.appendChild(_.createElement("div"));f.className="error_widget_arrow "+u.className;var M=i.renderer.$cursorLayer.getPixelPosition(n).left;f.style.left=M+i.renderer.gutterWidth-5+"px",w.el.className="error_widget_wrapper",v.className="error_widget "+u.className,v.innerHTML=u.text.join("
"),v.appendChild(_.createElement("div"));var S=function(A,b,m){if(b===0&&(m==="esc"||m==="return"))return w.destroy(),{command:"null"}};w.destroy=function(){i.$mouseHandler.isMousePressed||(i.keyBinding.removeKeyboardHandler(S),e.widgetManager.removeLineWidget(w),i.off("changeSelection",w.destroy),i.off("changeSession",w.destroy),i.off("mouseup",w.destroy),i.off("change",w.destroy))},i.keyBinding.addKeyboardHandler(S),i.on("changeSelection",w.destroy),i.on("changeSession",w.destroy),i.on("mouseup",w.destroy),i.on("change",w.destroy),i.session.widgetManager.addLineWidget(w),w.el.onmousedown=i.focus.bind(i),i.renderer.scrollCursorIntoView(null,.5,{bottom:w.el.offsetHeight})},_.importCssString(` .error_widget_wrapper { background: inherit; color: inherit; border:none } .error_widget { border-top: solid 2px; border-bottom: solid 2px; margin: 5px 0; padding: 10px 40px; white-space: pre-wrap; } .error_widget.ace_error, .error_widget_arrow.ace_error{ border-color: #ff5a5a } .error_widget.ace_warning, .error_widget_arrow.ace_warning{ border-color: #F1D817 } .error_widget.ace_info, .error_widget_arrow.ace_info{ border-color: #5a5a5a } .error_widget.ace_ok, .error_widget_arrow.ace_ok{ border-color: #5aaa5a } .error_widget_arrow { position: absolute; border: solid 5px; border-top-color: transparent!important; border-right-color: transparent!important; border-left-color: transparent!important; top: -5px; } `,"error_marker.css",!1)}),ace.define("ace/ace",["require","exports","module","ace/lib/dom","ace/range","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config","ace/loader_build"],function(y,L,I){y("./loader_build")(L);var d=y("./lib/dom"),_=y("./range").Range,p=y("./editor").Editor,a=y("./edit_session").EditSession,c=y("./undomanager").UndoManager,t=y("./virtual_renderer").VirtualRenderer;y("./worker/worker_client"),y("./keyboard/hash_handler"),y("./placeholder"),y("./multi_select"),y("./mode/folding/fold_mode"),y("./theme/textmate"),y("./ext/error_marker"),L.config=y("./config"),L.edit=function(i,r){if(typeof i=="string"){var e=i;if(i=document.getElementById(e),!i)throw new Error("ace.edit can't find div #"+e)}if(i&&i.env&&i.env.editor instanceof p)return i.env.editor;var n="";if(i&&/input|textarea/i.test(i.tagName)){var o=i;n=o.value,i=d.createElement("pre"),o.parentNode.replaceChild(i,o)}else i&&(n=i.textContent,i.innerHTML="");var l=L.createEditSession(n),h=new p(new t(i),l,r),u={document:l,editor:h,onResize:h.resize.bind(h,null)};return o&&(u.textarea=o),h.on("destroy",function(){u.editor.container.env=null}),h.container.env=h.env=u,h},L.createEditSession=function(i,r){var e=new a(i,r);return e.setUndoManager(new c),e},L.Range=_,L.Editor=p,L.EditSession=a,L.UndoManager=c,L.VirtualRenderer=t,L.version=L.config.version}),function(){ace.require(["ace/ace"],function(y){y&&(y.config.init(!0),y.define=ace.define),window.ace||(window.ace=y);for(var L in y)y.hasOwnProperty(L)&&(window.ace[L]=y[L]);window.ace.default=window.ace,s&&(s.exports=window.ace)})}()})(pi);var gt=pi.exports,mt={exports:{}};mt.exports;(function(s,O){var y=200,L="__lodash_hash_undefined__",I=1,d=2,_=9007199254740991,p="[object Arguments]",a="[object Array]",c="[object AsyncFunction]",t="[object Boolean]",i="[object Date]",r="[object Error]",e="[object Function]",n="[object GeneratorFunction]",o="[object Map]",l="[object Number]",h="[object Null]",u="[object Object]",$="[object Promise]",w="[object Proxy]",v="[object RegExp]",f="[object Set]",M="[object String]",S="[object Symbol]",A="[object Undefined]",b="[object WeakMap]",m="[object ArrayBuffer]",k="[object DataView]",E="[object Float32Array]",g="[object Float64Array]",C="[object Int8Array]",T="[object Int16Array]",x="[object Int32Array]",D="[object Uint8Array]",V="[object Uint8ClampedArray]",F="[object Uint16Array]",N="[object Uint32Array]",U=/[\\^$.*+?()[\]{}|]/g,W=/^\[object .+?Constructor\]$/,B=/^(?:0|[1-9]\d*)$/,z={};z[E]=z[g]=z[C]=z[T]=z[x]=z[D]=z[V]=z[F]=z[N]=!0,z[p]=z[a]=z[m]=z[t]=z[k]=z[i]=z[r]=z[e]=z[o]=z[l]=z[u]=z[v]=z[f]=z[M]=z[b]=!1;var G=typeof ye=="object"&&ye&&ye.Object===Object&&ye,X=typeof self=="object"&&self&&self.Object===Object&&self,Y=G||X||Function("return this")(),Q=O&&!O.nodeType&&O,q=Q&&!0&&s&&!s.nodeType&&s,ne=q&&q.exports===Q,ae=ne&&G.process,Ee=function(){try{return ae&&ae.binding&&ae.binding("util")}catch{}}(),ge=Ee&&Ee.isTypedArray;function fe(P,H){for(var K=-1,Z=P==null?0:P.length,pe=0,re=[];++K-1}function Ki(P,H){var K=this.__data__,Z=ct(K,P);return Z<0?(++this.size,K.push([P,H])):K[Z][1]=H,this}ke.prototype.clear=zi,ke.prototype.delete=Ui,ke.prototype.get=Gi,ke.prototype.has=ji,ke.prototype.set=Ki;function ze(P){var H=-1,K=P==null?0:P.length;for(this.clear();++Hwe))return!1;var ve=re.get(P);if(ve&&re.get(H))return ve==H;var $e=-1,Te=!0,Ae=K&d?new lt:void 0;for(re.set(P,H),re.set(H,P);++$e-1&&P%1==0&&P-1&&P%1==0&&P<=_}function qt(P){var H=typeof P;return P!=null&&(H=="object"||H=="function")}function st(P){return P!=null&&typeof P=="object"}var ei=ge?tt(ge):un;function $n(P){return En(P)?an(P):dn(P)}function Sn(){return[]}function Mn(){return!1}s.exports=An})(mt,mt.exports);var gi=mt.exports,Re={};Object.defineProperty(Re,"__esModule",{value:!0});Re.getAceInstance=Re.debounce=Re.editorEvents=Re.editorOptions=void 0;var Tn=["minLines","maxLines","readOnly","highlightActiveLine","tabSize","enableBasicAutocompletion","enableLiveAutocompletion","enableSnippets"];Re.editorOptions=Tn;var Rn=["onChange","onFocus","onInput","onBlur","onCopy","onPaste","onSelectionChange","onCursorChange","onScroll","handleOptions","updateRef"];Re.editorEvents=Rn;var kn=function(){var s;return typeof window>"u"?(ye.window={},s=gt,delete ye.window):window.ace?(s=window.ace,s.acequire=window.ace.require||window.ace.acequire):s=gt,s};Re.getAceInstance=kn;var In=function(s,O){var y=null;return function(){var L=this,I=arguments;clearTimeout(y),y=setTimeout(function(){s.apply(L,I)},O)}};Re.debounce=In;var On=ye&&ye.__extends||function(){var s=function(O,y){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L,I){L.__proto__=I}||function(L,I){for(var d in I)Object.prototype.hasOwnProperty.call(I,d)&&(L[d]=I[d])},s(O,y)};return function(O,y){if(typeof y!="function"&&y!==null)throw new TypeError("Class extends value "+String(y)+" is not a constructor or null");s(O,y);function L(){this.constructor=O}O.prototype=y===null?Object.create(y):(L.prototype=y.prototype,new L)}}(),Rt=ye&&ye.__assign||function(){return Rt=Object.assign||function(s){for(var O,y=1,L=arguments.length;y0&&this.handleMarkers(f);var b=this.editor.$options;Je.editorOptions.forEach(function(m){b.hasOwnProperty(m)?y.editor.setOption(m,y.props[m]):y.props[m]&&console.warn("ReactAce: editor option ".concat(m," was activated but not found. Did you need to import a related tool or did you possibly mispell the option?"))}),this.handleOptions(this.props),Array.isArray(w)&&w.forEach(function(m){typeof m.exec=="string"?y.editor.commands.bindKey(m.bindKey,m.exec):y.editor.commands.addCommand(m)}),u&&this.editor.setKeyboardHandler("ace/keyboard/"+u),I&&(this.refEditor.className+=" "+I),$&&$(this.editor),this.editor.resize(),a&&this.editor.focus()},O.prototype.componentDidUpdate=function(y){for(var L=y,I=this.props,d=0;d 0!";if(i!=this.$splits){if(i>this.$splits){for(;this.$splitsi;)r=this.$editors[this.$splits-1],this.$container.removeChild(r.container),this.$splits--;this.resize()}},this.getSplits=function(){return this.$splits},this.getEditor=function(i){return this.$editors[i]},this.getCurrentEditor=function(){return this.$cEditor},this.focus=function(){this.$cEditor.focus()},this.blur=function(){this.$cEditor.blur()},this.setTheme=function(i){this.$editors.forEach(function(r){r.setTheme(i)})},this.setKeyboardHandler=function(i){this.$editors.forEach(function(r){r.setKeyboardHandler(i)})},this.forEach=function(i,r){this.$editors.forEach(i,r)},this.$fontSize="",this.setFontSize=function(i){this.$fontSize=i,this.forEach(function(r){r.setFontSize(i)})},this.$cloneSession=function(i){var r=new c(i.getDocument(),i.getMode()),e=i.getUndoManager();return r.setUndoManager(e),r.setTabSize(i.getTabSize()),r.setUseSoftTabs(i.getUseSoftTabs()),r.setOverwrite(i.getOverwrite()),r.setBreakpoints(i.getBreakpoints()),r.setUseWrapMode(i.getUseWrapMode()),r.setUseWorker(i.getUseWorker()),r.setWrapLimitRange(i.$wrapLimitRange.min,i.$wrapLimitRange.max),r.$foldData=i.$cloneFoldData(),r},this.setSession=function(i,r){var e;r==null?e=this.$cEditor:e=this.$editors[r];var n=this.$editors.some(function(o){return o.session===i});return n&&(i=this.$cloneSession(i)),e.setSession(i),i},this.getOrientation=function(){return this.$orientation},this.setOrientation=function(i){this.$orientation!=i&&(this.$orientation=i,this.resize())},this.resize=function(){var i=this.$container.clientWidth,r=this.$container.clientHeight,e;if(this.$orientation==this.BESIDE)for(var n=i/this.$splits,o=0;o-1}function fr(s,O){var y=this.__data__,L=_t(y,s);return L<0?y.push([s,O]):y[L][1]=O,this}et.prototype.clear=cr;et.prototype.delete=hr;et.prototype.get=ur;et.prototype.has=dr;et.prototype.set=fr;function Xe(s){var O=-1,y=s?s.length:0;for(this.clear();++O0&&y.handleMarkers(D,k);for(var g=0;g"u"&&(this.Diff_Timeout<=0?a=Number.MAX_VALUE:a=new Date().getTime()+this.Diff_Timeout*1e3);var c=a;if(d==null||_==null)throw new Error("Null input. (diff_main)");if(d==_)return d?[new O.Diff(I,d)]:[];typeof p>"u"&&(p=!0);var t=p,i=this.diff_commonPrefix(d,_),r=d.substring(0,i);d=d.substring(i),_=_.substring(i),i=this.diff_commonSuffix(d,_);var e=d.substring(d.length-i);d=d.substring(0,d.length-i),_=_.substring(0,_.length-i);var n=this.diff_compute_(d,_,t,c);return r&&n.unshift(new O.Diff(I,r)),e&&n.push(new O.Diff(I,e)),this.diff_cleanupMerge(n),n},O.prototype.diff_compute_=function(d,_,p,a){var c;if(!d)return[new O.Diff(L,_)];if(!_)return[new O.Diff(y,d)];var t=d.length>_.length?d:_,i=d.length>_.length?_:d,r=t.indexOf(i);if(r!=-1)return c=[new O.Diff(L,t.substring(0,r)),new O.Diff(I,i),new O.Diff(L,t.substring(r+i.length))],d.length>_.length&&(c[0][0]=c[2][0]=y),c;if(i.length==1)return[new O.Diff(y,d),new O.Diff(L,_)];var e=this.diff_halfMatch_(d,_);if(e){var n=e[0],o=e[1],l=e[2],h=e[3],u=e[4],$=this.diff_main(n,l,p,a),w=this.diff_main(o,h,p,a);return $.concat([new O.Diff(I,u)],w)}return p&&d.length>100&&_.length>100?this.diff_lineMode_(d,_,a):this.diff_bisect_(d,_,a)},O.prototype.diff_lineMode_=function(d,_,p){var a=this.diff_linesToChars_(d,_);d=a.chars1,_=a.chars2;var c=a.lineArray,t=this.diff_main(d,_,!1,p);this.diff_charsToLines_(t,c),this.diff_cleanupSemantic(t),t.push(new O.Diff(I,""));for(var i=0,r=0,e=0,n="",o="";i=1&&e>=1){t.splice(i-r-e,r+e),i=i-r-e;for(var l=this.diff_main(n,o,!1,p),h=l.length-1;h>=0;h--)t.splice(i,0,l[h]);i=i+l.length}e=0,r=0,n="",o="";break}i++}return t.pop(),t},O.prototype.diff_bisect_=function(d,_,p){for(var a=d.length,c=_.length,t=Math.ceil((a+c)/2),i=t,r=2*t,e=new Array(r),n=new Array(r),o=0;op);f++){for(var M=-f+u;M<=f-$;M+=2){var S=i+M,A;M==-f||M!=f&&e[S-1]a)$+=2;else if(b>c)u+=2;else if(h){var m=i+l-M;if(m>=0&&m=k)return this.diff_bisectSplit_(d,_,A,b,p)}}}for(var E=-f+w;E<=f-v;E+=2){var m=i+E,k;E==-f||E!=f&&n[m-1]a)v+=2;else if(g>c)w+=2;else if(!h){var S=i+l-E;if(S>=0&&S=k)return this.diff_bisectSplit_(d,_,A,b,p)}}}}return[new O.Diff(y,d),new O.Diff(L,_)]},O.prototype.diff_bisectSplit_=function(d,_,p,a,c){var t=d.substring(0,p),i=_.substring(0,a),r=d.substring(p),e=_.substring(a),n=this.diff_main(t,i,!1,c),o=this.diff_main(r,e,!1,c);return n.concat(o)},O.prototype.diff_linesToChars_=function(d,_){var p=[],a={};p[0]="";function c(e){for(var n="",o=0,l=-1,h=p.length;la?d=d.substring(p-a):p_.length?d:_,a=d.length>_.length?_:d;if(p.length<4||a.length*2=$.length?[A,b,m,k,S]:null}var i=t(p,a,Math.ceil(p.length/4)),r=t(p,a,Math.ceil(p.length/2)),e;if(!i&&!r)return null;r?i?e=i[4].length>r[4].length?i:r:e=r:e=i;var n,o,l,h;d.length>_.length?(n=e[0],o=e[1],l=e[2],h=e[3]):(l=e[0],h=e[1],n=e[2],o=e[3]);var u=e[4];return[n,o,l,h,u]},O.prototype.diff_cleanupSemantic=function(d){for(var _=!1,p=[],a=0,c=null,t=0,i=0,r=0,e=0,n=0;t0?p[a-1]:-1,i=0,r=0,e=0,n=0,c=null,_=!0)),t++;for(_&&this.diff_cleanupMerge(d),this.diff_cleanupSemanticLossless(d),t=1;t=u?(h>=o.length/2||h>=l.length/2)&&(d.splice(t,0,new O.Diff(I,l.substring(0,h))),d[t-1][1]=o.substring(0,o.length-h),d[t+1][1]=l.substring(h),t++):(u>=o.length/2||u>=l.length/2)&&(d.splice(t,0,new O.Diff(I,o.substring(0,u))),d[t-1][0]=L,d[t-1][1]=l.substring(0,l.length-u),d[t+1][0]=y,d[t+1][1]=o.substring(u),t++),t++}t++}},O.prototype.diff_cleanupSemanticLossless=function(d){function _(u,$){if(!u||!$)return 6;var w=u.charAt(u.length-1),v=$.charAt(0),f=w.match(O.nonAlphaNumericRegex_),M=v.match(O.nonAlphaNumericRegex_),S=f&&w.match(O.whitespaceRegex_),A=M&&v.match(O.whitespaceRegex_),b=S&&w.match(O.linebreakRegex_),m=A&&v.match(O.linebreakRegex_),k=b&&u.match(O.blanklineEndRegex_),E=m&&$.match(O.blanklineStartRegex_);return k||E?5:b||m?4:f&&!S&&A?3:S||A?2:f||M?1:0}for(var p=1;p=l&&(l=h,e=a,n=c,o=t)}d[p-1][1]!=e&&(e?d[p-1][1]=e:(d.splice(p-1,1),p--),d[p][1]=n,o?d[p+1][1]=o:(d.splice(p+1,1),p--))}p++}},O.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,O.whitespaceRegex_=/\s/,O.linebreakRegex_=/[\r\n]/,O.blanklineEndRegex_=/\n\r?\n$/,O.blanklineStartRegex_=/^\r?\n\r?\n/,O.prototype.diff_cleanupEfficiency=function(d){for(var _=!1,p=[],a=0,c=null,t=0,i=!1,r=!1,e=!1,n=!1;t0?p[a-1]:-1,e=n=!1),_=!0)),t++;_&&this.diff_cleanupMerge(d)},O.prototype.diff_cleanupMerge=function(d){d.push(new O.Diff(I,""));for(var _=0,p=0,a=0,c="",t="",i;_1?(p!==0&&a!==0&&(i=this.diff_commonPrefix(t,c),i!==0&&(_-p-a>0&&d[_-p-a-1][0]==I?d[_-p-a-1][1]+=t.substring(0,i):(d.splice(0,0,new O.Diff(I,t.substring(0,i))),_++),t=t.substring(i),c=c.substring(i)),i=this.diff_commonSuffix(t,c),i!==0&&(d[_][1]=t.substring(t.length-i)+d[_][1],t=t.substring(0,t.length-i),c=c.substring(0,c.length-i))),_-=p+a,d.splice(_,p+a),c.length&&(d.splice(_,0,new O.Diff(y,c)),_++),t.length&&(d.splice(_,0,new O.Diff(L,t)),_++),_++):_!==0&&d[_-1][0]==I?(d[_-1][1]+=d[_][1],d.splice(_,1)):_++,a=0,p=0,c="",t="";break}d[d.length-1][1]===""&&d.pop();var r=!1;for(_=1;__));i++)c=p,t=a;return d.length!=i&&d[i][0]===y?t:t+(_-c)},O.prototype.diff_prettyHtml=function(d){for(var _=[],p=/&/g,a=//g,t=/\n/g,i=0;i");switch(r){case L:_[i]=''+n+"";break;case y:_[i]=''+n+"";break;case I:_[i]=""+n+"";break}}return _.join("")},O.prototype.diff_text1=function(d){for(var _=[],p=0;pthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var a=this.match_alphabet_(_),c=this;function t(A,b){var m=A/_.length,k=Math.abs(p-b);return c.Match_Distance?m+k/c.Match_Distance:k?1:m}var i=this.Match_Threshold,r=d.indexOf(_,p);r!=-1&&(i=Math.min(t(0,r),i),r=d.lastIndexOf(_,p+_.length),r!=-1&&(i=Math.min(t(0,r),i)));var e=1<<_.length-1;r=-1;for(var n,o,l=_.length+d.length,h,u=0;u<_.length;u++){for(n=0,o=l;n=$;f--){var M=a[d.charAt(f-1)];if(u===0?v[f]=(v[f+1]<<1|1)&M:v[f]=(v[f+1]<<1|1)&M|((h[f+1]|h[f])<<1|1)|h[f+1],v[f]&e){var S=t(u,f-1);if(S<=i)if(i=S,r=f-1,r>p)$=Math.max(1,2*p-r);else break}}if(t(u+1,p)>i)break;h=v}return r},O.prototype.match_alphabet_=function(d){for(var _={},p=0;p"u")a=d,c=this.diff_main(a,_,!0),c.length>2&&(this.diff_cleanupSemantic(c),this.diff_cleanupEfficiency(c));else if(d&&typeof d=="object"&&typeof _>"u"&&typeof p>"u")c=d,a=this.diff_text1(c);else if(typeof d=="string"&&_&&typeof _=="object"&&typeof p>"u")a=d,c=_;else if(typeof d=="string"&&typeof _=="string"&&p&&typeof p=="object")a=d,c=p;else throw new Error("Unknown call format to patch_make.");if(c.length===0)return[];for(var t=[],i=new O.patch_obj,r=0,e=0,n=0,o=a,l=a,h=0;h=2*this.Patch_Margin&&r&&(this.patch_addContext_(i,o),t.push(i),i=new O.patch_obj,r=0,o=l,e=n);break}u!==L&&(e+=$.length),u!==y&&(n+=$.length)}return r&&(this.patch_addContext_(i,o),t.push(i)),t},O.prototype.patch_deepCopy=function(d){for(var _=[],p=0;pthis.Match_MaxBits?(e=this.match_main(_,r.substring(0,this.Match_MaxBits),i),e!=-1&&(n=this.match_main(_,r.substring(r.length-this.Match_MaxBits),i+r.length-this.Match_MaxBits),(n==-1||e>=n)&&(e=-1))):e=this.match_main(_,r,i),e==-1)c[t]=!1,a-=d[t].length2-d[t].length1;else{c[t]=!0,a=e-i;var o;if(n==-1?o=_.substring(e,e+r.length):o=_.substring(e,n+this.Match_MaxBits),r==o)_=_.substring(0,e)+this.diff_text2(d[t].diffs)+_.substring(e+r.length);else{var l=this.diff_main(r,o,!1);if(r.length>this.Match_MaxBits&&this.diff_levenshtein(l)/r.length>this.Patch_DeleteThreshold)c[t]=!1;else{this.diff_cleanupSemanticLossless(l);for(var h=0,u,$=0;$t[0][1].length){var i=_-t[0][1].length;t[0][1]=p.substring(t[0][1].length)+t[0][1],c.start1-=i,c.start2-=i,c.length1+=i,c.length2+=i}if(c=d[d.length-1],t=c.diffs,t.length==0||t[t.length-1][0]!=I)t.push(new O.Diff(I,p)),c.length1+=_,c.length2+=_;else if(_>t[t.length-1][1].length){var i=_-t[t.length-1][1].length;t[t.length-1][1]+=p.substring(0,i),c.length1+=i,c.length2+=i}return p},O.prototype.patch_splitMax=function(d){for(var _=this.Match_MaxBits,p=0;p2*_?(r.length1+=o.length,c+=o.length,e=!1,r.diffs.push(new O.Diff(n,o)),a.diffs.shift()):(o=o.substring(0,_-r.length1-this.Patch_Margin),r.length1+=o.length,c+=o.length,n===I?(r.length2+=o.length,t+=o.length):e=!1,r.diffs.push(new O.Diff(n,o)),o==a.diffs[0][1]?a.diffs.shift():a.diffs[0][1]=a.diffs[0][1].substring(o.length))}i=this.diff_text2(r.diffs),i=i.substring(i.length-this.Patch_Margin);var l=this.diff_text1(a.diffs).substring(0,this.Patch_Margin);l!==""&&(r.length1+=l.length,r.length2+=l.length,r.diffs.length!==0&&r.diffs[r.diffs.length-1][0]===I?r.diffs[r.diffs.length-1][1]+=l:r.diffs.push(new O.Diff(I,l))),e||d.splice(++p,0,r)}}},O.prototype.patch_toText=function(d){for(var _=[],p=0;ph)break;var u=this.getFoldWidgetRange(c,"all",t);if(u){if(u.start.row<=e)break;if(u.isMultiLine())t=u.end.row;else if(r==h)break}o=t}}return new _(e,n,o,c.getLine(o).length)},this.getCommentRegionBlock=function(c,t,i){for(var r=t.search(/\s*$/),e=c.getLength(),n=i,o=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;++in)return new _(n,r,u,t.length)}}.call(a.prototype)}),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle","ace/worker/worker_client"],function(y,L,I){var d=y("../lib/oop"),_=y("./text").Mode,p=y("./json_highlight_rules").JsonHighlightRules,a=y("./matching_brace_outdent").MatchingBraceOutdent,c=y("./folding/cstyle").FoldMode,t=y("../worker/worker_client").WorkerClient,i=function(){this.HighlightRules=p,this.$outdent=new a,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new c};d.inherits(i,_),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(r,e,n){var o=this.$getIndent(e);if(r=="start"){var l=e.match(/^.*[\{\(\[]\s*$/);l&&(o+=n)}return o},this.checkOutdent=function(r,e,n){return this.$outdent.checkOutdent(e,n)},this.autoOutdent=function(r,e,n){this.$outdent.autoOutdent(e,n)},this.createWorker=function(r){var e=new t(["ace"],"ace/mode/json_worker","JsonWorker");return e.attachToDocument(r.getDocument()),e.on("annotate",function(n){r.setAnnotations(n.data)}),e.on("terminate",function(){r.clearAnnotations()}),e},this.$id="ace/mode/json"}.call(i.prototype),L.Mode=i}),function(){ace.require(["ace/mode/json"],function(y){s&&(s.exports=y)})}()})(Ci);var Ti=Ci.exports;const Qr=Ot(Ti),Zr=xt({__proto__:null,default:Qr},[Ti]);ace.config.setModuleLoader("ace/ext/beautify",()=>R(()=>import("./ext-beautify-df15d89e.js").then(s=>s.e),["assets/ext-beautify-df15d89e.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/ext/code_lens",()=>R(()=>import("./ext-code_lens-c6e2db7b.js").then(s=>s.e),["assets/ext-code_lens-c6e2db7b.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/ext/command_bar",()=>R(()=>import("./ext-command_bar-b000e819.js").then(s=>s.e),["assets/ext-command_bar-b000e819.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/ext/elastic_tabstops_lite",()=>R(()=>import("./ext-elastic_tabstops_lite-c7e25982.js").then(s=>s.e),["assets/ext-elastic_tabstops_lite-c7e25982.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/ext/emmet",()=>R(()=>import("./ext-emmet-4c02e583.js").then(s=>s.e),["assets/ext-emmet-4c02e583.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/ext/error_marker",()=>R(()=>import("./ext-error_marker-ca390715.js").then(s=>s.e),["assets/ext-error_marker-ca390715.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/ext/hardwrap",()=>R(()=>import("./ext-hardwrap-9d986fae.js").then(s=>s.e),["assets/ext-hardwrap-9d986fae.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/ext/inline_autocomplete",()=>R(()=>import("./ext-inline_autocomplete-2d9076b2.js").then(s=>s.e),["assets/ext-inline_autocomplete-2d9076b2.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/ext/keyboard_menu",()=>R(()=>import("./ext-keybinding_menu-f12a8a85.js").then(s=>s.e),["assets/ext-keybinding_menu-f12a8a85.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/ext/language_tools",()=>R(()=>import("./ext-language_tools-25f2eb83.js").then(s=>s.e),["assets/ext-language_tools-25f2eb83.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/ext/linking",()=>R(()=>import("./ext-linking-a9d5b672.js").then(s=>s.e),["assets/ext-linking-a9d5b672.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/ext/modelist",()=>R(()=>import("./ext-modelist-6ccdd88a.js").then(s=>s.e),["assets/ext-modelist-6ccdd88a.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/ext/options",()=>R(()=>import("./ext-options-40b65969.js").then(s=>s.e),["assets/ext-options-40b65969.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/ext/prompt",()=>R(()=>import("./ext-prompt-5ea38e36.js").then(s=>s.e),["assets/ext-prompt-5ea38e36.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/ext/rtl",()=>R(()=>import("./ext-rtl-eed63845.js").then(s=>s.e),["assets/ext-rtl-eed63845.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/ext/searchbox",()=>R(()=>import("./ext-searchbox-c8bd8a8d.js").then(s=>s.e),["assets/ext-searchbox-c8bd8a8d.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/ext/settings_menu",()=>R(()=>import("./ext-settings_menu-4c604993.js").then(s=>s.e),["assets/ext-settings_menu-4c604993.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/ext/spellcheck",()=>R(()=>import("./ext-spellcheck-6c8cb779.js").then(s=>s.e),["assets/ext-spellcheck-6c8cb779.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/ext/split",()=>R(()=>Promise.resolve().then(()=>Vn),void 0));ace.config.setModuleLoader("ace/ext/static_highlight",()=>R(()=>import("./ext-static_highlight-1c5f0b9c.js").then(s=>s.e),["assets/ext-static_highlight-1c5f0b9c.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/ext/statusbar",()=>R(()=>import("./ext-statusbar-e6aec7c3.js").then(s=>s.e),["assets/ext-statusbar-e6aec7c3.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/ext/textarea",()=>R(()=>import("./ext-textarea-1288dba1.js").then(s=>s.e),["assets/ext-textarea-1288dba1.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/ext/themelist",()=>R(()=>import("./ext-themelist-7171613a.js").then(s=>s.e),["assets/ext-themelist-7171613a.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/ext/whitespace",()=>R(()=>import("./ext-whitespace-11f4bc8c.js").then(s=>s.e),["assets/ext-whitespace-11f4bc8c.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/keyboard/emacs",()=>R(()=>import("./keybinding-emacs-3733e368.js").then(s=>s.k),["assets/keybinding-emacs-3733e368.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/keyboard/sublime",()=>R(()=>import("./keybinding-sublime-75572688.js").then(s=>s.k),["assets/keybinding-sublime-75572688.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/keyboard/vim",()=>R(()=>import("./keybinding-vim-79d523d3.js").then(s=>s.k),["assets/keybinding-vim-79d523d3.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/keyboard/vscode",()=>R(()=>import("./keybinding-vscode-457f0732.js").then(s=>s.k),["assets/keybinding-vscode-457f0732.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/abap",()=>R(()=>import("./mode-abap-96f09e1f.js").then(s=>s.m),["assets/mode-abap-96f09e1f.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/abc",()=>R(()=>import("./mode-abc-67b014d0.js").then(s=>s.m),["assets/mode-abc-67b014d0.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/actionscript",()=>R(()=>import("./mode-actionscript-e269f39b.js").then(s=>s.m),["assets/mode-actionscript-e269f39b.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/ada",()=>R(()=>import("./mode-ada-ddfd489d.js").then(s=>s.m),["assets/mode-ada-ddfd489d.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/alda",()=>R(()=>import("./mode-alda-9d8ca586.js").then(s=>s.m),["assets/mode-alda-9d8ca586.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/apache_conf",()=>R(()=>import("./mode-apache_conf-e40f9fd6.js").then(s=>s.m),["assets/mode-apache_conf-e40f9fd6.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/apex",()=>R(()=>import("./mode-apex-4d0dc310.js").then(s=>s.m),["assets/mode-apex-4d0dc310.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/applescript",()=>R(()=>import("./mode-applescript-e390ee40.js").then(s=>s.m),["assets/mode-applescript-e390ee40.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/aql",()=>R(()=>import("./mode-aql-f3dc307b.js").then(s=>s.m),["assets/mode-aql-f3dc307b.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/asciidoc",()=>R(()=>import("./mode-asciidoc-0d89c5b5.js").then(s=>s.m),["assets/mode-asciidoc-0d89c5b5.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/asl",()=>R(()=>import("./mode-asl-1a04818c.js").then(s=>s.m),["assets/mode-asl-1a04818c.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/assembly_x86",()=>R(()=>import("./mode-assembly_x86-42426b31.js").then(s=>s.m),["assets/mode-assembly_x86-42426b31.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/autohotkey",()=>R(()=>import("./mode-autohotkey-64c33861.js").then(s=>s.m),["assets/mode-autohotkey-64c33861.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/batchfile",()=>R(()=>import("./mode-batchfile-bc261a29.js").then(s=>s.m),["assets/mode-batchfile-bc261a29.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/bibtex",()=>R(()=>import("./mode-bibtex-56397832.js").then(s=>s.m),["assets/mode-bibtex-56397832.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/c9search",()=>R(()=>import("./mode-c9search-f57db8b3.js").then(s=>s.m),["assets/mode-c9search-f57db8b3.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/c_cpp",()=>R(()=>import("./mode-c_cpp-2695443e.js").then(s=>s.m),["assets/mode-c_cpp-2695443e.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/cirru",()=>R(()=>import("./mode-cirru-05e73aca.js").then(s=>s.m),["assets/mode-cirru-05e73aca.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/clojure",()=>R(()=>import("./mode-clojure-a9c3bb54.js").then(s=>s.m),["assets/mode-clojure-a9c3bb54.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/cobol",()=>R(()=>import("./mode-cobol-b89ef67f.js").then(s=>s.m),["assets/mode-cobol-b89ef67f.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/coffee",()=>R(()=>import("./mode-coffee-31a7229d.js").then(s=>s.m),["assets/mode-coffee-31a7229d.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/coldfusion",()=>R(()=>import("./mode-coldfusion-40d062c3.js").then(s=>s.m),["assets/mode-coldfusion-40d062c3.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/crystal",()=>R(()=>import("./mode-crystal-3410a057.js").then(s=>s.m),["assets/mode-crystal-3410a057.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/csharp",()=>R(()=>import("./mode-csharp-c2a79411.js").then(s=>s.m),["assets/mode-csharp-c2a79411.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/csound_document",()=>R(()=>import("./mode-csound_document-c69a7dcb.js").then(s=>s.m),["assets/mode-csound_document-c69a7dcb.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/csound_orchestra",()=>R(()=>import("./mode-csound_orchestra-03fc9ce9.js").then(s=>s.m),["assets/mode-csound_orchestra-03fc9ce9.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/csound_score",()=>R(()=>import("./mode-csound_score-d86500b3.js").then(s=>s.m),["assets/mode-csound_score-d86500b3.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/csp",()=>R(()=>import("./mode-csp-b964abed.js").then(s=>s.m),["assets/mode-csp-b964abed.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/css",()=>R(()=>import("./mode-css-aaad20a9.js").then(s=>s.m),["assets/mode-css-aaad20a9.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/curly",()=>R(()=>import("./mode-curly-54fafb57.js").then(s=>s.m),["assets/mode-curly-54fafb57.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/d",()=>R(()=>import("./mode-d-98b6e2e2.js").then(s=>s.m),["assets/mode-d-98b6e2e2.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/dart",()=>R(()=>import("./mode-dart-b647fce2.js").then(s=>s.m),["assets/mode-dart-b647fce2.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/diff",()=>R(()=>import("./mode-diff-6c233c8c.js").then(s=>s.m),["assets/mode-diff-6c233c8c.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/django",()=>R(()=>import("./mode-django-f28a41ef.js").then(s=>s.m),["assets/mode-django-f28a41ef.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/dockerfile",()=>R(()=>import("./mode-dockerfile-62a88248.js").then(s=>s.m),["assets/mode-dockerfile-62a88248.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/dot",()=>R(()=>import("./mode-dot-519d17e1.js").then(s=>s.m),["assets/mode-dot-519d17e1.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/drools",()=>R(()=>import("./mode-drools-cb23241e.js").then(s=>s.m),["assets/mode-drools-cb23241e.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/edifact",()=>R(()=>import("./mode-edifact-b2efe8ac.js").then(s=>s.m),["assets/mode-edifact-b2efe8ac.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/eiffel",()=>R(()=>import("./mode-eiffel-3bd0157d.js").then(s=>s.m),["assets/mode-eiffel-3bd0157d.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/ejs",()=>R(()=>import("./mode-ejs-aa8805b0.js").then(s=>s.m),["assets/mode-ejs-aa8805b0.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/elixir",()=>R(()=>import("./mode-elixir-38d514df.js").then(s=>s.m),["assets/mode-elixir-38d514df.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/elm",()=>R(()=>import("./mode-elm-d763b438.js").then(s=>s.m),["assets/mode-elm-d763b438.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/erlang",()=>R(()=>import("./mode-erlang-35250d19.js").then(s=>s.m),["assets/mode-erlang-35250d19.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/forth",()=>R(()=>import("./mode-forth-8e039bee.js").then(s=>s.m),["assets/mode-forth-8e039bee.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/fortran",()=>R(()=>import("./mode-fortran-17ee2716.js").then(s=>s.m),["assets/mode-fortran-17ee2716.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/fsharp",()=>R(()=>import("./mode-fsharp-0b949c19.js").then(s=>s.m),["assets/mode-fsharp-0b949c19.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/fsl",()=>R(()=>import("./mode-fsl-0010ce78.js").then(s=>s.m),["assets/mode-fsl-0010ce78.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/ftl",()=>R(()=>import("./mode-ftl-a9efce78.js").then(s=>s.m),["assets/mode-ftl-a9efce78.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/gcode",()=>R(()=>import("./mode-gcode-73068458.js").then(s=>s.m),["assets/mode-gcode-73068458.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/gherkin",()=>R(()=>import("./mode-gherkin-e6addbd0.js").then(s=>s.m),["assets/mode-gherkin-e6addbd0.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/gitignore",()=>R(()=>import("./mode-gitignore-8eaab894.js").then(s=>s.m),["assets/mode-gitignore-8eaab894.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/glsl",()=>R(()=>import("./mode-glsl-d2175597.js").then(s=>s.m),["assets/mode-glsl-d2175597.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/gobstones",()=>R(()=>import("./mode-gobstones-c26dc1e8.js").then(s=>s.m),["assets/mode-gobstones-c26dc1e8.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/golang",()=>R(()=>import("./mode-golang-aabe6c80.js").then(s=>s.m),["assets/mode-golang-aabe6c80.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/graphqlschema",()=>R(()=>import("./mode-graphqlschema-2f0a64fa.js").then(s=>s.m),["assets/mode-graphqlschema-2f0a64fa.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/groovy",()=>R(()=>import("./mode-groovy-641946b2.js").then(s=>s.m),["assets/mode-groovy-641946b2.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/haml",()=>R(()=>import("./mode-haml-c7f87db8.js").then(s=>s.m),["assets/mode-haml-c7f87db8.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/handlebars",()=>R(()=>import("./mode-handlebars-78af42d2.js").then(s=>s.m),["assets/mode-handlebars-78af42d2.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/haskell",()=>R(()=>import("./mode-haskell-ec7e4641.js").then(s=>s.m),["assets/mode-haskell-ec7e4641.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/haskell_cabal",()=>R(()=>import("./mode-haskell_cabal-f33acc24.js").then(s=>s.m),["assets/mode-haskell_cabal-f33acc24.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/haxe",()=>R(()=>import("./mode-haxe-bbba8563.js").then(s=>s.m),["assets/mode-haxe-bbba8563.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/hjson",()=>R(()=>import("./mode-hjson-530b86e5.js").then(s=>s.m),["assets/mode-hjson-530b86e5.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/html",()=>R(()=>import("./mode-html-97ec2a94.js").then(s=>s.m),["assets/mode-html-97ec2a94.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/html_elixir",()=>R(()=>import("./mode-html_elixir-79fda324.js").then(s=>s.m),["assets/mode-html_elixir-79fda324.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/html_ruby",()=>R(()=>import("./mode-html_ruby-f2fa3b3b.js").then(s=>s.m),["assets/mode-html_ruby-f2fa3b3b.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/ini",()=>R(()=>import("./mode-ini-69c0675f.js").then(s=>s.m),["assets/mode-ini-69c0675f.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/io",()=>R(()=>import("./mode-io-5c7c1b2a.js").then(s=>s.m),["assets/mode-io-5c7c1b2a.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/ion",()=>R(()=>import("./mode-ion-30fa8388.js").then(s=>s.m),["assets/mode-ion-30fa8388.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/jack",()=>R(()=>import("./mode-jack-37e71093.js").then(s=>s.m),["assets/mode-jack-37e71093.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/jade",()=>R(()=>import("./mode-jade-6b8a8801.js").then(s=>s.m),["assets/mode-jade-6b8a8801.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/java",()=>R(()=>import("./mode-java-b2da0bc2.js").then(s=>s.m),["assets/mode-java-b2da0bc2.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/javascript",()=>R(()=>import("./mode-javascript-386f42b9.js").then(s=>s.m),["assets/mode-javascript-386f42b9.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/jexl",()=>R(()=>import("./mode-jexl-989aadb7.js").then(s=>s.m),["assets/mode-jexl-989aadb7.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/json",()=>R(()=>Promise.resolve().then(()=>Zr),void 0));ace.config.setModuleLoader("ace/mode/json5",()=>R(()=>import("./mode-json5-b1427bf1.js").then(s=>s.m),["assets/mode-json5-b1427bf1.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/jsoniq",()=>R(()=>import("./mode-jsoniq-bd037474.js").then(s=>s.m),["assets/mode-jsoniq-bd037474.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/jsp",()=>R(()=>import("./mode-jsp-a8eecb0d.js").then(s=>s.m),["assets/mode-jsp-a8eecb0d.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/jssm",()=>R(()=>import("./mode-jssm-17c98238.js").then(s=>s.m),["assets/mode-jssm-17c98238.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/jsx",()=>R(()=>import("./mode-jsx-0dff4906.js").then(s=>s.m),["assets/mode-jsx-0dff4906.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/julia",()=>R(()=>import("./mode-julia-50b846c8.js").then(s=>s.m),["assets/mode-julia-50b846c8.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/kotlin",()=>R(()=>import("./mode-kotlin-5bfa787b.js").then(s=>s.m),["assets/mode-kotlin-5bfa787b.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/latex",()=>R(()=>import("./mode-latex-739e44a2.js").then(s=>s.m),["assets/mode-latex-739e44a2.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/latte",()=>R(()=>import("./mode-latte-ab9301fc.js").then(s=>s.m),["assets/mode-latte-ab9301fc.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/less",()=>R(()=>import("./mode-less-947c3460.js").then(s=>s.m),["assets/mode-less-947c3460.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/liquid",()=>R(()=>import("./mode-liquid-26d0436d.js").then(s=>s.m),["assets/mode-liquid-26d0436d.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/lisp",()=>R(()=>import("./mode-lisp-2fe527e8.js").then(s=>s.m),["assets/mode-lisp-2fe527e8.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/livescript",()=>R(()=>import("./mode-livescript-29be4b76.js").then(s=>s.m),["assets/mode-livescript-29be4b76.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/logiql",()=>R(()=>import("./mode-logiql-5997331f.js").then(s=>s.m),["assets/mode-logiql-5997331f.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/logtalk",()=>R(()=>import("./mode-logtalk-c5759e60.js").then(s=>s.m),["assets/mode-logtalk-c5759e60.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/lsl",()=>R(()=>import("./mode-lsl-5c077857.js").then(s=>s.m),["assets/mode-lsl-5c077857.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/lua",()=>R(()=>import("./mode-lua-79d2bc17.js").then(s=>s.m),["assets/mode-lua-79d2bc17.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/luapage",()=>R(()=>import("./mode-luapage-b86f8082.js").then(s=>s.m),["assets/mode-luapage-b86f8082.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/lucene",()=>R(()=>import("./mode-lucene-ddfc04e2.js").then(s=>s.m),["assets/mode-lucene-ddfc04e2.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/makefile",()=>R(()=>import("./mode-makefile-686a54d7.js").then(s=>s.m),["assets/mode-makefile-686a54d7.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/markdown",()=>R(()=>import("./mode-markdown-1cb8817d.js").then(s=>s.m),["assets/mode-markdown-1cb8817d.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/mask",()=>R(()=>import("./mode-mask-1b33cfd8.js").then(s=>s.m),["assets/mode-mask-1b33cfd8.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/matlab",()=>R(()=>import("./mode-matlab-eb1e3c3a.js").then(s=>s.m),["assets/mode-matlab-eb1e3c3a.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/maze",()=>R(()=>import("./mode-maze-59494008.js").then(s=>s.m),["assets/mode-maze-59494008.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/mediawiki",()=>R(()=>import("./mode-mediawiki-dcb09e27.js").then(s=>s.m),["assets/mode-mediawiki-dcb09e27.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/mel",()=>R(()=>import("./mode-mel-fe578f76.js").then(s=>s.m),["assets/mode-mel-fe578f76.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/mips",()=>R(()=>import("./mode-mips-1e6ce51b.js").then(s=>s.m),["assets/mode-mips-1e6ce51b.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/mixal",()=>R(()=>import("./mode-mixal-2f65076e.js").then(s=>s.m),["assets/mode-mixal-2f65076e.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/mushcode",()=>R(()=>import("./mode-mushcode-d1230d1a.js").then(s=>s.m),["assets/mode-mushcode-d1230d1a.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/mysql",()=>R(()=>import("./mode-mysql-b12160ff.js").then(s=>s.m),["assets/mode-mysql-b12160ff.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/nginx",()=>R(()=>import("./mode-nginx-dfded1d2.js").then(s=>s.m),["assets/mode-nginx-dfded1d2.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/nim",()=>R(()=>import("./mode-nim-405ac55c.js").then(s=>s.m),["assets/mode-nim-405ac55c.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/nix",()=>R(()=>import("./mode-nix-9b04dd19.js").then(s=>s.m),["assets/mode-nix-9b04dd19.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/nsis",()=>R(()=>import("./mode-nsis-995543c4.js").then(s=>s.m),["assets/mode-nsis-995543c4.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/nunjucks",()=>R(()=>import("./mode-nunjucks-40d3de24.js").then(s=>s.m),["assets/mode-nunjucks-40d3de24.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/objectivec",()=>R(()=>import("./mode-objectivec-51099661.js").then(s=>s.m),["assets/mode-objectivec-51099661.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/ocaml",()=>R(()=>import("./mode-ocaml-ea0a2769.js").then(s=>s.m),["assets/mode-ocaml-ea0a2769.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/odin",()=>R(()=>import("./mode-odin-1021c483.js").then(s=>s.m),["assets/mode-odin-1021c483.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/partiql",()=>R(()=>import("./mode-partiql-ad9be2c1.js").then(s=>s.m),["assets/mode-partiql-ad9be2c1.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/pascal",()=>R(()=>import("./mode-pascal-aeaada36.js").then(s=>s.m),["assets/mode-pascal-aeaada36.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/perl",()=>R(()=>import("./mode-perl-e7644d35.js").then(s=>s.m),["assets/mode-perl-e7644d35.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/pgsql",()=>R(()=>import("./mode-pgsql-08186fd3.js").then(s=>s.m),["assets/mode-pgsql-08186fd3.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/php",()=>R(()=>import("./mode-php-15ad6dfe.js").then(s=>s.m),["assets/mode-php-15ad6dfe.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/php_laravel_blade",()=>R(()=>import("./mode-php_laravel_blade-9ea0cc5d.js").then(s=>s.m),["assets/mode-php_laravel_blade-9ea0cc5d.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/pig",()=>R(()=>import("./mode-pig-7333bc86.js").then(s=>s.m),["assets/mode-pig-7333bc86.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/plain_text",()=>R(()=>import("./mode-plain_text-2becb103.js").then(s=>s.m),["assets/mode-plain_text-2becb103.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/plsql",()=>R(()=>import("./mode-plsql-e6157cf6.js").then(s=>s.m),["assets/mode-plsql-e6157cf6.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/powershell",()=>R(()=>import("./mode-powershell-ecd6351a.js").then(s=>s.m),["assets/mode-powershell-ecd6351a.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/praat",()=>R(()=>import("./mode-praat-f5f59315.js").then(s=>s.m),["assets/mode-praat-f5f59315.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/prisma",()=>R(()=>import("./mode-prisma-4b1dc2c4.js").then(s=>s.m),["assets/mode-prisma-4b1dc2c4.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/prolog",()=>R(()=>import("./mode-prolog-1d7f96c1.js").then(s=>s.m),["assets/mode-prolog-1d7f96c1.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/properties",()=>R(()=>import("./mode-properties-53a5a270.js").then(s=>s.m),["assets/mode-properties-53a5a270.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/protobuf",()=>R(()=>import("./mode-protobuf-4668020f.js").then(s=>s.m),["assets/mode-protobuf-4668020f.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/puppet",()=>R(()=>import("./mode-puppet-566cc6b2.js").then(s=>s.m),["assets/mode-puppet-566cc6b2.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/python",()=>R(()=>import("./mode-python-55fefc5f.js").then(s=>s.m),["assets/mode-python-55fefc5f.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/qml",()=>R(()=>import("./mode-qml-d4da9796.js").then(s=>s.m),["assets/mode-qml-d4da9796.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/r",()=>R(()=>import("./mode-r-8e1af329.js").then(s=>s.m),["assets/mode-r-8e1af329.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/raku",()=>R(()=>import("./mode-raku-c646a7df.js").then(s=>s.m),["assets/mode-raku-c646a7df.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/razor",()=>R(()=>import("./mode-razor-cc0effe0.js").then(s=>s.m),["assets/mode-razor-cc0effe0.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/rdoc",()=>R(()=>import("./mode-rdoc-3736f030.js").then(s=>s.m),["assets/mode-rdoc-3736f030.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/red",()=>R(()=>import("./mode-red-9f3fc061.js").then(s=>s.m),["assets/mode-red-9f3fc061.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/redshift",()=>R(()=>import("./mode-redshift-41db6141.js").then(s=>s.m),["assets/mode-redshift-41db6141.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/rhtml",()=>R(()=>import("./mode-rhtml-9fe43b62.js").then(s=>s.m),["assets/mode-rhtml-9fe43b62.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/robot",()=>R(()=>import("./mode-robot-cc07c638.js").then(s=>s.m),["assets/mode-robot-cc07c638.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/rst",()=>R(()=>import("./mode-rst-a3d62cdb.js").then(s=>s.m),["assets/mode-rst-a3d62cdb.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/ruby",()=>R(()=>import("./mode-ruby-668573e7.js").then(s=>s.m),["assets/mode-ruby-668573e7.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/rust",()=>R(()=>import("./mode-rust-1be4ab0a.js").then(s=>s.m),["assets/mode-rust-1be4ab0a.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/sac",()=>R(()=>import("./mode-sac-b96976fb.js").then(s=>s.m),["assets/mode-sac-b96976fb.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/sass",()=>R(()=>import("./mode-sass-09a9d20c.js").then(s=>s.m),["assets/mode-sass-09a9d20c.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/scad",()=>R(()=>import("./mode-scad-380b53c1.js").then(s=>s.m),["assets/mode-scad-380b53c1.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/scala",()=>R(()=>import("./mode-scala-6a27bb3e.js").then(s=>s.m),["assets/mode-scala-6a27bb3e.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/scheme",()=>R(()=>import("./mode-scheme-57d2bf78.js").then(s=>s.m),["assets/mode-scheme-57d2bf78.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/scrypt",()=>R(()=>import("./mode-scrypt-1472e379.js").then(s=>s.m),["assets/mode-scrypt-1472e379.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/scss",()=>R(()=>import("./mode-scss-277f4b13.js").then(s=>s.m),["assets/mode-scss-277f4b13.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/sh",()=>R(()=>import("./mode-sh-7d681394.js").then(s=>s.m),["assets/mode-sh-7d681394.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/sjs",()=>R(()=>import("./mode-sjs-1f44fafa.js").then(s=>s.m),["assets/mode-sjs-1f44fafa.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/slim",()=>R(()=>import("./mode-slim-f77ec364.js").then(s=>s.m),["assets/mode-slim-f77ec364.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/smarty",()=>R(()=>import("./mode-smarty-e1c600c8.js").then(s=>s.m),["assets/mode-smarty-e1c600c8.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/smithy",()=>R(()=>import("./mode-smithy-95db4d4c.js").then(s=>s.m),["assets/mode-smithy-95db4d4c.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/snippets",()=>R(()=>import("./mode-snippets-fccf796c.js").then(s=>s.m),["assets/mode-snippets-fccf796c.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/soy_template",()=>R(()=>import("./mode-soy_template-c560536d.js").then(s=>s.m),["assets/mode-soy_template-c560536d.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/space",()=>R(()=>import("./mode-space-ebb0b97b.js").then(s=>s.m),["assets/mode-space-ebb0b97b.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/sparql",()=>R(()=>import("./mode-sparql-861a397e.js").then(s=>s.m),["assets/mode-sparql-861a397e.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/sql",()=>R(()=>import("./mode-sql-54381add.js").then(s=>s.m),["assets/mode-sql-54381add.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/sqlserver",()=>R(()=>import("./mode-sqlserver-2ce3c43a.js").then(s=>s.m),["assets/mode-sqlserver-2ce3c43a.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/stylus",()=>R(()=>import("./mode-stylus-50e285f5.js").then(s=>s.m),["assets/mode-stylus-50e285f5.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/svg",()=>R(()=>import("./mode-svg-18165966.js").then(s=>s.m),["assets/mode-svg-18165966.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/swift",()=>R(()=>import("./mode-swift-89081a67.js").then(s=>s.m),["assets/mode-swift-89081a67.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/tcl",()=>R(()=>import("./mode-tcl-2b7d1868.js").then(s=>s.m),["assets/mode-tcl-2b7d1868.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/terraform",()=>R(()=>import("./mode-terraform-52a1a141.js").then(s=>s.m),["assets/mode-terraform-52a1a141.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/tex",()=>R(()=>import("./mode-tex-a3d17b67.js").then(s=>s.m),["assets/mode-tex-a3d17b67.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/text",()=>R(()=>import("./mode-text-6078a110.js").then(s=>s.m),["assets/mode-text-6078a110.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/textile",()=>R(()=>import("./mode-textile-6f6e9582.js").then(s=>s.m),["assets/mode-textile-6f6e9582.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/toml",()=>R(()=>import("./mode-toml-78a5323c.js").then(s=>s.m),["assets/mode-toml-78a5323c.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/tsx",()=>R(()=>import("./mode-tsx-6cbebedc.js").then(s=>s.m),["assets/mode-tsx-6cbebedc.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/turtle",()=>R(()=>import("./mode-turtle-5c93d30c.js").then(s=>s.m),["assets/mode-turtle-5c93d30c.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/twig",()=>R(()=>import("./mode-twig-891c3084.js").then(s=>s.m),["assets/mode-twig-891c3084.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/typescript",()=>R(()=>import("./mode-typescript-cb9cc021.js").then(s=>s.m),["assets/mode-typescript-cb9cc021.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/vala",()=>R(()=>import("./mode-vala-48ef1d5b.js").then(s=>s.m),["assets/mode-vala-48ef1d5b.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/vbscript",()=>R(()=>import("./mode-vbscript-bf77d058.js").then(s=>s.m),["assets/mode-vbscript-bf77d058.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/velocity",()=>R(()=>import("./mode-velocity-8279dd48.js").then(s=>s.m),["assets/mode-velocity-8279dd48.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/verilog",()=>R(()=>import("./mode-verilog-f6558b64.js").then(s=>s.m),["assets/mode-verilog-f6558b64.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/vhdl",()=>R(()=>import("./mode-vhdl-7b49c574.js").then(s=>s.m),["assets/mode-vhdl-7b49c574.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/visualforce",()=>R(()=>import("./mode-visualforce-87ca1811.js").then(s=>s.m),["assets/mode-visualforce-87ca1811.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/wollok",()=>R(()=>import("./mode-wollok-17af45fe.js").then(s=>s.m),["assets/mode-wollok-17af45fe.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/xml",()=>R(()=>import("./mode-xml-91dd430f.js").then(s=>s.m),["assets/mode-xml-91dd430f.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/xquery",()=>R(()=>import("./mode-xquery-c4d6100f.js").then(s=>s.m),["assets/mode-xquery-c4d6100f.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/yaml",()=>R(()=>import("./mode-yaml-05bfe635.js").then(s=>s.m),["assets/mode-yaml-05bfe635.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/zeek",()=>R(()=>import("./mode-zeek-d9c1ac8f.js").then(s=>s.m),["assets/mode-zeek-d9c1ac8f.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/ambiance-css",()=>R(()=>import("./theme-ambiance-css-da301e4b.js").then(s=>s.t),["assets/theme-ambiance-css-da301e4b.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/ambiance",()=>R(()=>import("./theme-ambiance-1499bf1f.js").then(s=>s.t),["assets/theme-ambiance-1499bf1f.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/chaos-css",()=>R(()=>import("./theme-chaos-css-f3edbe47.js").then(s=>s.t),["assets/theme-chaos-css-f3edbe47.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/chaos",()=>R(()=>import("./theme-chaos-c6d00120.js").then(s=>s.t),["assets/theme-chaos-c6d00120.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/chrome-css",()=>R(()=>import("./theme-chrome-css-3f42f46b.js").then(s=>s.t),["assets/theme-chrome-css-3f42f46b.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/chrome",()=>R(()=>Promise.resolve().then(()=>Xr),void 0));ace.config.setModuleLoader("ace/theme/cloud9_day-css",()=>R(()=>import("./theme-cloud9_day-css-cfbceeb2.js").then(s=>s.t),["assets/theme-cloud9_day-css-cfbceeb2.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/cloud9_day",()=>R(()=>import("./theme-cloud9_day-0806154e.js").then(s=>s.t),["assets/theme-cloud9_day-0806154e.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/cloud9_night-css",()=>R(()=>import("./theme-cloud9_night-css-badcec5d.js").then(s=>s.t),["assets/theme-cloud9_night-css-badcec5d.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/cloud9_night",()=>R(()=>import("./theme-cloud9_night-518c1d4b.js").then(s=>s.t),["assets/theme-cloud9_night-518c1d4b.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/cloud9_night_low_color-css",()=>R(()=>import("./theme-cloud9_night_low_color-css-ae38b071.js").then(s=>s.t),["assets/theme-cloud9_night_low_color-css-ae38b071.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/cloud9_night_low_color",()=>R(()=>import("./theme-cloud9_night_low_color-321b724f.js").then(s=>s.t),["assets/theme-cloud9_night_low_color-321b724f.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/clouds-css",()=>R(()=>import("./theme-clouds-css-e2edc970.js").then(s=>s.t),["assets/theme-clouds-css-e2edc970.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/clouds",()=>R(()=>import("./theme-clouds-0de9609a.js").then(s=>s.t),["assets/theme-clouds-0de9609a.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/clouds_midnight-css",()=>R(()=>import("./theme-clouds_midnight-css-16846f20.js").then(s=>s.t),["assets/theme-clouds_midnight-css-16846f20.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/clouds_midnight",()=>R(()=>import("./theme-clouds_midnight-c2dea1ef.js").then(s=>s.t),["assets/theme-clouds_midnight-c2dea1ef.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/cobalt-css",()=>R(()=>import("./theme-cobalt-css-a46450d9.js").then(s=>s.t),["assets/theme-cobalt-css-a46450d9.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/cobalt",()=>R(()=>import("./theme-cobalt-0e9743c8.js").then(s=>s.t),["assets/theme-cobalt-0e9743c8.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/crimson_editor-css",()=>R(()=>import("./theme-crimson_editor-css-7c8c727a.js").then(s=>s.t),["assets/theme-crimson_editor-css-7c8c727a.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/crimson_editor",()=>R(()=>import("./theme-crimson_editor-d828e186.js").then(s=>s.t),["assets/theme-crimson_editor-d828e186.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/dawn-css",()=>R(()=>import("./theme-dawn-css-cd2c52a9.js").then(s=>s.t),["assets/theme-dawn-css-cd2c52a9.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/dawn",()=>R(()=>import("./theme-dawn-d4eee8af.js").then(s=>s.t),["assets/theme-dawn-d4eee8af.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/dracula-css",()=>R(()=>import("./theme-dracula-css-c83c4e3c.js").then(s=>s.t),["assets/theme-dracula-css-c83c4e3c.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/dracula",()=>R(()=>import("./theme-dracula-b8058b06.js").then(s=>s.t),["assets/theme-dracula-b8058b06.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/dreamweaver-css",()=>R(()=>import("./theme-dreamweaver-css-48cd0c0f.js").then(s=>s.t),["assets/theme-dreamweaver-css-48cd0c0f.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/dreamweaver",()=>R(()=>import("./theme-dreamweaver-b09e94f7.js").then(s=>s.t),["assets/theme-dreamweaver-b09e94f7.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/eclipse-css",()=>R(()=>import("./theme-eclipse-css-f3a35199.js").then(s=>s.t),["assets/theme-eclipse-css-f3a35199.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/eclipse",()=>R(()=>import("./theme-eclipse-a3a0a9de.js").then(s=>s.t),["assets/theme-eclipse-a3a0a9de.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/github-css",()=>R(()=>import("./theme-github-css-5cbed257.js").then(s=>s.t),["assets/theme-github-css-5cbed257.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/github",()=>R(()=>import("./theme-github-31767066.js").then(s=>s.t),["assets/theme-github-31767066.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/github_dark-css",()=>R(()=>import("./theme-github_dark-css-16b3f2ad.js").then(s=>s.t),["assets/theme-github_dark-css-16b3f2ad.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/github_dark",()=>R(()=>import("./theme-github_dark-65801fcf.js").then(s=>s.t),["assets/theme-github_dark-65801fcf.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/gob-css",()=>R(()=>import("./theme-gob-css-cb0d720b.js").then(s=>s.t),["assets/theme-gob-css-cb0d720b.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/gob",()=>R(()=>import("./theme-gob-f04949ea.js").then(s=>s.t),["assets/theme-gob-f04949ea.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/gruvbox-css",()=>R(()=>import("./theme-gruvbox-css-7fb22175.js").then(s=>s.t),["assets/theme-gruvbox-css-7fb22175.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/gruvbox",()=>R(()=>import("./theme-gruvbox-b53ba4ab.js").then(s=>s.t),["assets/theme-gruvbox-b53ba4ab.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/gruvbox_dark_hard-css",()=>R(()=>import("./theme-gruvbox_dark_hard-css-a548acd6.js").then(s=>s.t),["assets/theme-gruvbox_dark_hard-css-a548acd6.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/gruvbox_dark_hard",()=>R(()=>import("./theme-gruvbox_dark_hard-5b3c77f0.js").then(s=>s.t),["assets/theme-gruvbox_dark_hard-5b3c77f0.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/gruvbox_light_hard-css",()=>R(()=>import("./theme-gruvbox_light_hard-css-eb45414a.js").then(s=>s.t),["assets/theme-gruvbox_light_hard-css-eb45414a.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/gruvbox_light_hard",()=>R(()=>import("./theme-gruvbox_light_hard-7a1a6e40.js").then(s=>s.t),["assets/theme-gruvbox_light_hard-7a1a6e40.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/idle_fingers-css",()=>R(()=>import("./theme-idle_fingers-css-65cc2533.js").then(s=>s.t),["assets/theme-idle_fingers-css-65cc2533.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/idle_fingers",()=>R(()=>import("./theme-idle_fingers-01637a6a.js").then(s=>s.t),["assets/theme-idle_fingers-01637a6a.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/iplastic-css",()=>R(()=>import("./theme-iplastic-css-ef757d11.js").then(s=>s.t),["assets/theme-iplastic-css-ef757d11.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/iplastic",()=>R(()=>import("./theme-iplastic-2a1d48bd.js").then(s=>s.t),["assets/theme-iplastic-2a1d48bd.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/katzenmilch-css",()=>R(()=>import("./theme-katzenmilch-css-968c5e33.js").then(s=>s.t),["assets/theme-katzenmilch-css-968c5e33.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/katzenmilch",()=>R(()=>import("./theme-katzenmilch-c66ecd49.js").then(s=>s.t),["assets/theme-katzenmilch-c66ecd49.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/kr_theme-css",()=>R(()=>import("./theme-kr_theme-css-696d45a0.js").then(s=>s.t),["assets/theme-kr_theme-css-696d45a0.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/kr_theme",()=>R(()=>import("./theme-kr_theme-41be3cb5.js").then(s=>s.t),["assets/theme-kr_theme-41be3cb5.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/kuroir-css",()=>R(()=>import("./theme-kuroir-css-e94bee8d.js").then(s=>s.t),["assets/theme-kuroir-css-e94bee8d.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/kuroir",()=>R(()=>import("./theme-kuroir-1ab1df2e.js").then(s=>s.t),["assets/theme-kuroir-1ab1df2e.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/merbivore-css",()=>R(()=>import("./theme-merbivore-css-94475dd4.js").then(s=>s.t),["assets/theme-merbivore-css-94475dd4.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/merbivore",()=>R(()=>import("./theme-merbivore-62fd73b1.js").then(s=>s.t),["assets/theme-merbivore-62fd73b1.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/merbivore_soft-css",()=>R(()=>import("./theme-merbivore_soft-css-04e51fc9.js").then(s=>s.t),["assets/theme-merbivore_soft-css-04e51fc9.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/merbivore_soft",()=>R(()=>import("./theme-merbivore_soft-e03ef7ef.js").then(s=>s.t),["assets/theme-merbivore_soft-e03ef7ef.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/mono_industrial-css",()=>R(()=>import("./theme-mono_industrial-css-d2e6aa25.js").then(s=>s.t),["assets/theme-mono_industrial-css-d2e6aa25.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/mono_industrial",()=>R(()=>import("./theme-mono_industrial-b4902fee.js").then(s=>s.t),["assets/theme-mono_industrial-b4902fee.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/monokai-css",()=>R(()=>import("./theme-monokai-css-88b1d9b6.js").then(s=>s.t),["assets/theme-monokai-css-88b1d9b6.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/monokai",()=>R(()=>import("./theme-monokai-59b4124c.js").then(s=>s.t),["assets/theme-monokai-59b4124c.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/nord_dark-css",()=>R(()=>import("./theme-nord_dark-css-0b82c5b0.js").then(s=>s.t),["assets/theme-nord_dark-css-0b82c5b0.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/nord_dark",()=>R(()=>import("./theme-nord_dark-15b47435.js").then(s=>s.t),["assets/theme-nord_dark-15b47435.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/one_dark-css",()=>R(()=>import("./theme-one_dark-css-e0b3864b.js").then(s=>s.t),["assets/theme-one_dark-css-e0b3864b.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/one_dark",()=>R(()=>import("./theme-one_dark-b57378b5.js").then(s=>s.t),["assets/theme-one_dark-b57378b5.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/pastel_on_dark-css",()=>R(()=>import("./theme-pastel_on_dark-css-b499a17b.js").then(s=>s.t),["assets/theme-pastel_on_dark-css-b499a17b.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/pastel_on_dark",()=>R(()=>import("./theme-pastel_on_dark-3136315d.js").then(s=>s.t),["assets/theme-pastel_on_dark-3136315d.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/solarized_dark-css",()=>R(()=>import("./theme-solarized_dark-css-a6be9115.js").then(s=>s.t),["assets/theme-solarized_dark-css-a6be9115.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/solarized_dark",()=>R(()=>import("./theme-solarized_dark-a55de5dc.js").then(s=>s.t),["assets/theme-solarized_dark-a55de5dc.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/solarized_light-css",()=>R(()=>import("./theme-solarized_light-css-20c5c4fe.js").then(s=>s.t),["assets/theme-solarized_light-css-20c5c4fe.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/solarized_light",()=>R(()=>import("./theme-solarized_light-3c6aeb2a.js").then(s=>s.t),["assets/theme-solarized_light-3c6aeb2a.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/sqlserver-css",()=>R(()=>import("./theme-sqlserver-css-f4043761.js").then(s=>s.t),["assets/theme-sqlserver-css-f4043761.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/sqlserver",()=>R(()=>import("./theme-sqlserver-a70b0833.js").then(s=>s.t),["assets/theme-sqlserver-a70b0833.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/terminal-css",()=>R(()=>import("./theme-terminal-css-83213ef3.js").then(s=>s.t),["assets/theme-terminal-css-83213ef3.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/terminal",()=>R(()=>import("./theme-terminal-d1ab7de2.js").then(s=>s.t),["assets/theme-terminal-d1ab7de2.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/textmate-css",()=>R(()=>import("./theme-textmate-css-969968fe.js").then(s=>s.t),["assets/theme-textmate-css-969968fe.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/textmate",()=>R(()=>import("./theme-textmate-4781de02.js").then(s=>s.t),["assets/theme-textmate-4781de02.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/tomorrow-css",()=>R(()=>import("./theme-tomorrow-css-acf0f3fc.js").then(s=>s.t),["assets/theme-tomorrow-css-acf0f3fc.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/tomorrow",()=>R(()=>import("./theme-tomorrow-287dc2a2.js").then(s=>s.t),["assets/theme-tomorrow-287dc2a2.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/tomorrow_night-css",()=>R(()=>import("./theme-tomorrow_night-css-c16b9228.js").then(s=>s.t),["assets/theme-tomorrow_night-css-c16b9228.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/tomorrow_night",()=>R(()=>import("./theme-tomorrow_night-d6a430fd.js").then(s=>s.t),["assets/theme-tomorrow_night-d6a430fd.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/tomorrow_night_blue-css",()=>R(()=>import("./theme-tomorrow_night_blue-css-c87827a6.js").then(s=>s.t),["assets/theme-tomorrow_night_blue-css-c87827a6.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/tomorrow_night_blue",()=>R(()=>import("./theme-tomorrow_night_blue-c26407b1.js").then(s=>s.t),["assets/theme-tomorrow_night_blue-c26407b1.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/tomorrow_night_bright-css",()=>R(()=>import("./theme-tomorrow_night_bright-css-083f2b15.js").then(s=>s.t),["assets/theme-tomorrow_night_bright-css-083f2b15.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/tomorrow_night_bright",()=>R(()=>import("./theme-tomorrow_night_bright-7d0061ad.js").then(s=>s.t),["assets/theme-tomorrow_night_bright-7d0061ad.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/tomorrow_night_eighties-css",()=>R(()=>import("./theme-tomorrow_night_eighties-css-9f250532.js").then(s=>s.t),["assets/theme-tomorrow_night_eighties-css-9f250532.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/tomorrow_night_eighties",()=>R(()=>import("./theme-tomorrow_night_eighties-5cb12766.js").then(s=>s.t),["assets/theme-tomorrow_night_eighties-5cb12766.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/twilight-css",()=>R(()=>import("./theme-twilight-css-97faceb3.js").then(s=>s.t),["assets/theme-twilight-css-97faceb3.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/twilight",()=>R(()=>import("./theme-twilight-e7b0f7fe.js").then(s=>s.t),["assets/theme-twilight-e7b0f7fe.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/vibrant_ink-css",()=>R(()=>import("./theme-vibrant_ink-css-5d8d7656.js").then(s=>s.t),["assets/theme-vibrant_ink-css-5d8d7656.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/vibrant_ink",()=>R(()=>import("./theme-vibrant_ink-d647271c.js").then(s=>s.t),["assets/theme-vibrant_ink-d647271c.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/xcode-css",()=>R(()=>import("./theme-xcode-css-4fc56d07.js").then(s=>s.t),["assets/theme-xcode-css-4fc56d07.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/theme/xcode",()=>R(()=>import("./theme-xcode-b60b92b8.js").then(s=>s.t),["assets/theme-xcode-b60b92b8.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/base_worker",()=>R(()=>import("./worker-base-804bf40a.js").then(s=>s.w),["assets/worker-base-804bf40a.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/coffee_worker",()=>R(()=>import("./worker-coffee-bdece255.js").then(s=>s.w),["assets/worker-coffee-bdece255.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/css_worker",()=>R(()=>import("./worker-css-79d9d134.js").then(s=>s.w),["assets/worker-css-79d9d134.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/html_worker",()=>R(()=>import("./worker-html-f31ce52f.js").then(s=>s.w),["assets/worker-html-f31ce52f.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/javascript_worker",()=>R(()=>import("./worker-javascript-fc7db37b.js").then(s=>s.w),["assets/worker-javascript-fc7db37b.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/json_worker",()=>R(()=>import("./worker-json-31e11bee.js").then(s=>s.w),["assets/worker-json-31e11bee.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/lua_worker",()=>R(()=>import("./worker-lua-c76a8ac3.js").then(s=>s.w),["assets/worker-lua-c76a8ac3.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/php_worker",()=>R(()=>import("./worker-php-ece77fb2.js").then(s=>s.w),["assets/worker-php-ece77fb2.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/xml_worker",()=>R(()=>import("./worker-xml-ba733237.js").then(s=>s.w),["assets/worker-xml-ba733237.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/xquery_worker",()=>R(()=>import("./worker-xquery-69791305.js").then(s=>s.w),["assets/worker-xquery-69791305.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/mode/yaml_worker",()=>R(()=>import("./worker-yaml-964a16c2.js").then(s=>s.w),["assets/worker-yaml-964a16c2.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/abap",()=>R(()=>import("./abap-7de416ae.js").then(s=>s.a),["assets/abap-7de416ae.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/abc",()=>R(()=>import("./abc-1cd79ad7.js").then(s=>s.a),["assets/abc-1cd79ad7.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/actionscript",()=>R(()=>import("./actionscript-f7c15863.js").then(s=>s.a),["assets/actionscript-f7c15863.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/ada",()=>R(()=>import("./ada-dcec376e.js").then(s=>s.a),["assets/ada-dcec376e.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/alda",()=>R(()=>import("./alda-867670c0.js").then(s=>s.a),["assets/alda-867670c0.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/apache_conf",()=>R(()=>import("./apache_conf-7d4ffc83.js").then(s=>s.a),["assets/apache_conf-7d4ffc83.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/apex",()=>R(()=>import("./apex-e251b3e5.js").then(s=>s.a),["assets/apex-e251b3e5.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/applescript",()=>R(()=>import("./applescript-54a01a3e.js").then(s=>s.a),["assets/applescript-54a01a3e.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/aql",()=>R(()=>import("./aql-84c3b88f.js").then(s=>s.a),["assets/aql-84c3b88f.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/asciidoc",()=>R(()=>import("./asciidoc-ce1cb508.js").then(s=>s.a),["assets/asciidoc-ce1cb508.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/asl",()=>R(()=>import("./asl-e17d29ac.js").then(s=>s.a),["assets/asl-e17d29ac.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/assembly_x86",()=>R(()=>import("./assembly_x86-de61295f.js").then(s=>s.a),["assets/assembly_x86-de61295f.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/autohotkey",()=>R(()=>import("./autohotkey-43a23767.js").then(s=>s.a),["assets/autohotkey-43a23767.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/batchfile",()=>R(()=>import("./batchfile-fb95574e.js").then(s=>s.b),["assets/batchfile-fb95574e.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/bibtex",()=>R(()=>import("./bibtex-ebb3b0a7.js").then(s=>s.b),["assets/bibtex-ebb3b0a7.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/c9search",()=>R(()=>import("./c9search-30a28352.js").then(s=>s.c),["assets/c9search-30a28352.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/c_cpp",()=>R(()=>import("./c_cpp-31e1fce7.js").then(s=>s.c),["assets/c_cpp-31e1fce7.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/cirru",()=>R(()=>import("./cirru-ef08cc23.js").then(s=>s.c),["assets/cirru-ef08cc23.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/clojure",()=>R(()=>import("./clojure-fddcdcc4.js").then(s=>s.c),["assets/clojure-fddcdcc4.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/cobol",()=>R(()=>import("./cobol-6f0672ec.js").then(s=>s.c),["assets/cobol-6f0672ec.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/coffee",()=>R(()=>import("./coffee-6fc7db79.js").then(s=>s.c),["assets/coffee-6fc7db79.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/coldfusion",()=>R(()=>import("./coldfusion-1ef93a96.js").then(s=>s.c),["assets/coldfusion-1ef93a96.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/crystal",()=>R(()=>import("./crystal-87526619.js").then(s=>s.c),["assets/crystal-87526619.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/csharp",()=>R(()=>import("./csharp-d05058f7.js").then(s=>s.c),["assets/csharp-d05058f7.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/csound_document",()=>R(()=>import("./csound_document-2a35405f.js").then(s=>s.c),["assets/csound_document-2a35405f.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/csound_orchestra",()=>R(()=>import("./csound_orchestra-c35c725a.js").then(s=>s.c),["assets/csound_orchestra-c35c725a.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/csound_score",()=>R(()=>import("./csound_score-5f7363e7.js").then(s=>s.c),["assets/csound_score-5f7363e7.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/csp",()=>R(()=>import("./csp-625d96dc.js").then(s=>s.c),["assets/csp-625d96dc.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/css",()=>R(()=>import("./css-bdd38873.js").then(s=>s.c),["assets/css-bdd38873.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/curly",()=>R(()=>import("./curly-17e359fd.js").then(s=>s.c),["assets/curly-17e359fd.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/d",()=>R(()=>import("./d-911810c5.js").then(s=>s.d),["assets/d-911810c5.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/dart",()=>R(()=>import("./dart-ba3250f6.js").then(s=>s.d),["assets/dart-ba3250f6.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/diff",()=>R(()=>import("./diff-c4b80206.js").then(s=>s.d),["assets/diff-c4b80206.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/django",()=>R(()=>import("./django-0daa565c.js").then(s=>s.d),["assets/django-0daa565c.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/dockerfile",()=>R(()=>import("./dockerfile-f6620fb3.js").then(s=>s.d),["assets/dockerfile-f6620fb3.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/dot",()=>R(()=>import("./dot-bc6e4392.js").then(s=>s.d),["assets/dot-bc6e4392.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/drools",()=>R(()=>import("./drools-fb5a06bb.js").then(s=>s.d),["assets/drools-fb5a06bb.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/edifact",()=>R(()=>import("./edifact-b5f5eada.js").then(s=>s.e),["assets/edifact-b5f5eada.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/eiffel",()=>R(()=>import("./eiffel-9e9b79b0.js").then(s=>s.e),["assets/eiffel-9e9b79b0.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/ejs",()=>R(()=>import("./ejs-d8e937fe.js").then(s=>s.e),["assets/ejs-d8e937fe.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/elixir",()=>R(()=>import("./elixir-8b36addf.js").then(s=>s.e),["assets/elixir-8b36addf.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/elm",()=>R(()=>import("./elm-2bedca49.js").then(s=>s.e),["assets/elm-2bedca49.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/erlang",()=>R(()=>import("./erlang-c78fcd72.js").then(s=>s.e),["assets/erlang-c78fcd72.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/forth",()=>R(()=>import("./forth-61af1e0e.js").then(s=>s.f),["assets/forth-61af1e0e.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/fortran",()=>R(()=>import("./fortran-97c1545d.js").then(s=>s.f),["assets/fortran-97c1545d.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/fsharp",()=>R(()=>import("./fsharp-af65a3e6.js").then(s=>s.f),["assets/fsharp-af65a3e6.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/fsl",()=>R(()=>import("./fsl-c6e35faf.js").then(s=>s.f),["assets/fsl-c6e35faf.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/ftl",()=>R(()=>import("./ftl-1a557f48.js").then(s=>s.f),["assets/ftl-1a557f48.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/gcode",()=>R(()=>import("./gcode-6bf91a82.js").then(s=>s.g),["assets/gcode-6bf91a82.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/gherkin",()=>R(()=>import("./gherkin-28605624.js").then(s=>s.g),["assets/gherkin-28605624.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/gitignore",()=>R(()=>import("./gitignore-a08ff048.js").then(s=>s.g),["assets/gitignore-a08ff048.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/glsl",()=>R(()=>import("./glsl-9c3b4ed6.js").then(s=>s.g),["assets/glsl-9c3b4ed6.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/gobstones",()=>R(()=>import("./gobstones-95bb0a10.js").then(s=>s.g),["assets/gobstones-95bb0a10.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/golang",()=>R(()=>import("./golang-8db98f95.js").then(s=>s.g),["assets/golang-8db98f95.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/graphqlschema",()=>R(()=>import("./graphqlschema-7bb2a3d8.js").then(s=>s.g),["assets/graphqlschema-7bb2a3d8.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/groovy",()=>R(()=>import("./groovy-42342665.js").then(s=>s.g),["assets/groovy-42342665.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/haml",()=>R(()=>import("./haml-cc9cb164.js").then(s=>s.h),["assets/haml-cc9cb164.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/handlebars",()=>R(()=>import("./handlebars-2c77c65b.js").then(s=>s.h),["assets/handlebars-2c77c65b.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/haskell",()=>R(()=>import("./haskell-a4375417.js").then(s=>s.h),["assets/haskell-a4375417.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/haskell_cabal",()=>R(()=>import("./haskell_cabal-798da938.js").then(s=>s.h),["assets/haskell_cabal-798da938.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/haxe",()=>R(()=>import("./haxe-83f6c6bf.js").then(s=>s.h),["assets/haxe-83f6c6bf.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/hjson",()=>R(()=>import("./hjson-bd1eb24a.js").then(s=>s.h),["assets/hjson-bd1eb24a.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/html",()=>R(()=>import("./html-adeaf52e.js").then(s=>s.h),["assets/html-adeaf52e.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/html_elixir",()=>R(()=>import("./html_elixir-b270cc85.js").then(s=>s.h),["assets/html_elixir-b270cc85.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/html_ruby",()=>R(()=>import("./html_ruby-57cfc738.js").then(s=>s.h),["assets/html_ruby-57cfc738.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/ini",()=>R(()=>import("./ini-ea5d9c3d.js").then(s=>s.i),["assets/ini-ea5d9c3d.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/io",()=>R(()=>import("./io-84bc7d12.js").then(s=>s.i),["assets/io-84bc7d12.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/ion",()=>R(()=>import("./ion-b9e7c0d5.js").then(s=>s.i),["assets/ion-b9e7c0d5.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/jack",()=>R(()=>import("./jack-31551450.js").then(s=>s.j),["assets/jack-31551450.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/jade",()=>R(()=>import("./jade-f9e11b69.js").then(s=>s.j),["assets/jade-f9e11b69.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/java",()=>R(()=>import("./java-fe6ccff8.js").then(s=>s.j),["assets/java-fe6ccff8.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/javascript",()=>R(()=>import("./javascript-378483f7.js").then(s=>s.j),["assets/javascript-378483f7.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/jexl",()=>R(()=>import("./jexl-e00f5031.js").then(s=>s.j),["assets/jexl-e00f5031.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/json",()=>R(()=>import("./json-b20025b1.js").then(s=>s.j),["assets/json-b20025b1.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/json5",()=>R(()=>import("./json5-d30b2a86.js").then(s=>s.j),["assets/json5-d30b2a86.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/jsoniq",()=>R(()=>import("./jsoniq-dca46cf2.js").then(s=>s.j),["assets/jsoniq-dca46cf2.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/jsp",()=>R(()=>import("./jsp-086bd45d.js").then(s=>s.j),["assets/jsp-086bd45d.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/jssm",()=>R(()=>import("./jssm-4d1135e5.js").then(s=>s.j),["assets/jssm-4d1135e5.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/jsx",()=>R(()=>import("./jsx-c0216964.js").then(s=>s.j),["assets/jsx-c0216964.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/julia",()=>R(()=>import("./julia-9358604c.js").then(s=>s.j),["assets/julia-9358604c.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/kotlin",()=>R(()=>import("./kotlin-21c6d0a5.js").then(s=>s.k),["assets/kotlin-21c6d0a5.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/latex",()=>R(()=>import("./latex-e4594647.js").then(s=>s.l),["assets/latex-e4594647.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/latte",()=>R(()=>import("./latte-ad170320.js").then(s=>s.l),["assets/latte-ad170320.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/less",()=>R(()=>import("./less-c289e7b7.js").then(s=>s.l),["assets/less-c289e7b7.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/liquid",()=>R(()=>import("./liquid-2166c0ce.js").then(s=>s.l),["assets/liquid-2166c0ce.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/lisp",()=>R(()=>import("./lisp-c128ae9d.js").then(s=>s.l),["assets/lisp-c128ae9d.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/livescript",()=>R(()=>import("./livescript-d78ac19d.js").then(s=>s.l),["assets/livescript-d78ac19d.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/logiql",()=>R(()=>import("./logiql-e604ad16.js").then(s=>s.l),["assets/logiql-e604ad16.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/logtalk",()=>R(()=>import("./logtalk-83760368.js").then(s=>s.l),["assets/logtalk-83760368.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/lsl",()=>R(()=>import("./lsl-557be050.js").then(s=>s.l),["assets/lsl-557be050.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/lua",()=>R(()=>import("./lua-fbfa9a77.js").then(s=>s.l),["assets/lua-fbfa9a77.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/luapage",()=>R(()=>import("./luapage-b7431f62.js").then(s=>s.l),["assets/luapage-b7431f62.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/lucene",()=>R(()=>import("./lucene-77e64abd.js").then(s=>s.l),["assets/lucene-77e64abd.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/makefile",()=>R(()=>import("./makefile-0bcb8206.js").then(s=>s.m),["assets/makefile-0bcb8206.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/markdown",()=>R(()=>import("./markdown-af71ce6f.js").then(s=>s.m),["assets/markdown-af71ce6f.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/mask",()=>R(()=>import("./mask-678ddda1.js").then(s=>s.m),["assets/mask-678ddda1.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/matlab",()=>R(()=>import("./matlab-7aad45c3.js").then(s=>s.m),["assets/matlab-7aad45c3.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/maze",()=>R(()=>import("./maze-0e909291.js").then(s=>s.m),["assets/maze-0e909291.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/mediawiki",()=>R(()=>import("./mediawiki-d6f28036.js").then(s=>s.m),["assets/mediawiki-d6f28036.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/mel",()=>R(()=>import("./mel-304efde6.js").then(s=>s.m),["assets/mel-304efde6.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/mips",()=>R(()=>import("./mips-fa6aebe9.js").then(s=>s.m),["assets/mips-fa6aebe9.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/mixal",()=>R(()=>import("./mixal-4d5d90ac.js").then(s=>s.m),["assets/mixal-4d5d90ac.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/mushcode",()=>R(()=>import("./mushcode-8e920a47.js").then(s=>s.m),["assets/mushcode-8e920a47.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/mysql",()=>R(()=>import("./mysql-9d677566.js").then(s=>s.m),["assets/mysql-9d677566.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/nginx",()=>R(()=>import("./nginx-2821d927.js").then(s=>s.n),["assets/nginx-2821d927.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/nim",()=>R(()=>import("./nim-41cdef5e.js").then(s=>s.n),["assets/nim-41cdef5e.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/nix",()=>R(()=>import("./nix-464bc6d8.js").then(s=>s.n),["assets/nix-464bc6d8.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/nsis",()=>R(()=>import("./nsis-258b0c61.js").then(s=>s.n),["assets/nsis-258b0c61.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/nunjucks",()=>R(()=>import("./nunjucks-529523ca.js").then(s=>s.n),["assets/nunjucks-529523ca.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/objectivec",()=>R(()=>import("./objectivec-d945c8a6.js").then(s=>s.o),["assets/objectivec-d945c8a6.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/ocaml",()=>R(()=>import("./ocaml-eb8ddc8e.js").then(s=>s.o),["assets/ocaml-eb8ddc8e.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/odin",()=>R(()=>import("./odin-3e6c0f56.js").then(s=>s.o),["assets/odin-3e6c0f56.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/partiql",()=>R(()=>import("./partiql-35749388.js").then(s=>s.p),["assets/partiql-35749388.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/pascal",()=>R(()=>import("./pascal-20969670.js").then(s=>s.p),["assets/pascal-20969670.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/perl",()=>R(()=>import("./perl-bea34895.js").then(s=>s.p),["assets/perl-bea34895.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/pgsql",()=>R(()=>import("./pgsql-909232f0.js").then(s=>s.p),["assets/pgsql-909232f0.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/php",()=>R(()=>import("./php-880f846e.js").then(s=>s.p),["assets/php-880f846e.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/php_laravel_blade",()=>R(()=>import("./php_laravel_blade-9aa9b7f7.js").then(s=>s.p),["assets/php_laravel_blade-9aa9b7f7.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/pig",()=>R(()=>import("./pig-51496483.js").then(s=>s.p),["assets/pig-51496483.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/plain_text",()=>R(()=>import("./plain_text-c18e5050.js").then(s=>s.p),["assets/plain_text-c18e5050.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/plsql",()=>R(()=>import("./plsql-dff69e3f.js").then(s=>s.p),["assets/plsql-dff69e3f.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/powershell",()=>R(()=>import("./powershell-befb30dd.js").then(s=>s.p),["assets/powershell-befb30dd.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/praat",()=>R(()=>import("./praat-46ec2717.js").then(s=>s.p),["assets/praat-46ec2717.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/prisma",()=>R(()=>import("./prisma-c821d92f.js").then(s=>s.p),["assets/prisma-c821d92f.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/prolog",()=>R(()=>import("./prolog-078fd7ac.js").then(s=>s.p),["assets/prolog-078fd7ac.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/properties",()=>R(()=>import("./properties-6334cf6e.js").then(s=>s.p),["assets/properties-6334cf6e.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/protobuf",()=>R(()=>import("./protobuf-4582698d.js").then(s=>s.p),["assets/protobuf-4582698d.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/puppet",()=>R(()=>import("./puppet-4e1063de.js").then(s=>s.p),["assets/puppet-4e1063de.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/python",()=>R(()=>import("./python-d888167e.js").then(s=>s.p),["assets/python-d888167e.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/qml",()=>R(()=>import("./qml-15bdd4c5.js").then(s=>s.q),["assets/qml-15bdd4c5.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/r",()=>R(()=>import("./r-63a6738f.js").then(s=>s.r),["assets/r-63a6738f.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/raku",()=>R(()=>import("./raku-786a819f.js").then(s=>s.r),["assets/raku-786a819f.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/razor",()=>R(()=>import("./razor-b137dccf.js").then(s=>s.r),["assets/razor-b137dccf.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/rdoc",()=>R(()=>import("./rdoc-f6079f8b.js").then(s=>s.r),["assets/rdoc-f6079f8b.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/red",()=>R(()=>import("./red-f3f76f90.js").then(s=>s.r),["assets/red-f3f76f90.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/redshift",()=>R(()=>import("./redshift-3cb26585.js").then(s=>s.r),["assets/redshift-3cb26585.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/rhtml",()=>R(()=>import("./rhtml-d16612ff.js").then(s=>s.r),["assets/rhtml-d16612ff.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/robot",()=>R(()=>import("./robot-03790116.js").then(s=>s.r),["assets/robot-03790116.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/rst",()=>R(()=>import("./rst-1270fb88.js").then(s=>s.r),["assets/rst-1270fb88.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/ruby",()=>R(()=>import("./ruby-7b66395a.js").then(s=>s.r),["assets/ruby-7b66395a.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/rust",()=>R(()=>import("./rust-1b3f7f47.js").then(s=>s.r),["assets/rust-1b3f7f47.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/sac",()=>R(()=>import("./sac-b312f74d.js").then(s=>s.s),["assets/sac-b312f74d.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/sass",()=>R(()=>import("./sass-115fbaed.js").then(s=>s.s),["assets/sass-115fbaed.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/scad",()=>R(()=>import("./scad-bbb91cf1.js").then(s=>s.s),["assets/scad-bbb91cf1.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/scala",()=>R(()=>import("./scala-83afcaf3.js").then(s=>s.s),["assets/scala-83afcaf3.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/scheme",()=>R(()=>import("./scheme-bbe3c812.js").then(s=>s.s),["assets/scheme-bbe3c812.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/scrypt",()=>R(()=>import("./scrypt-56f9a525.js").then(s=>s.s),["assets/scrypt-56f9a525.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/scss",()=>R(()=>import("./scss-cd547f91.js").then(s=>s.s),["assets/scss-cd547f91.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/sh",()=>R(()=>import("./sh-07307e33.js").then(s=>s.s),["assets/sh-07307e33.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/sjs",()=>R(()=>import("./sjs-72bb0958.js").then(s=>s.s),["assets/sjs-72bb0958.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/slim",()=>R(()=>import("./slim-5a69c806.js").then(s=>s.s),["assets/slim-5a69c806.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/smarty",()=>R(()=>import("./smarty-4912b893.js").then(s=>s.s),["assets/smarty-4912b893.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/smithy",()=>R(()=>import("./smithy-4da37f38.js").then(s=>s.s),["assets/smithy-4da37f38.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/snippets",()=>R(()=>import("./snippets-9921d37e.js").then(s=>s.s),["assets/snippets-9921d37e.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/soy_template",()=>R(()=>import("./soy_template-d65e1fed.js").then(s=>s.s),["assets/soy_template-d65e1fed.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/space",()=>R(()=>import("./space-d20c0a77.js").then(s=>s.s),["assets/space-d20c0a77.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/sparql",()=>R(()=>import("./sparql-286c9947.js").then(s=>s.s),["assets/sparql-286c9947.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/sql",()=>R(()=>import("./sql-e81f0e58.js").then(s=>s.s),["assets/sql-e81f0e58.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/sqlserver",()=>R(()=>import("./sqlserver-10078778.js").then(s=>s.s),["assets/sqlserver-10078778.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/stylus",()=>R(()=>import("./stylus-2d80f9bf.js").then(s=>s.s),["assets/stylus-2d80f9bf.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/svg",()=>R(()=>import("./svg-8c00fa64.js").then(s=>s.s),["assets/svg-8c00fa64.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/swift",()=>R(()=>import("./swift-d8640a93.js").then(s=>s.s),["assets/swift-d8640a93.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/tcl",()=>R(()=>import("./tcl-8af35055.js").then(s=>s.t),["assets/tcl-8af35055.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/terraform",()=>R(()=>import("./terraform-b939a327.js").then(s=>s.t),["assets/terraform-b939a327.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/tex",()=>R(()=>import("./tex-cdaf05e4.js").then(s=>s.t),["assets/tex-cdaf05e4.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/text",()=>R(()=>import("./text-ba35bbd5.js").then(s=>s.t),["assets/text-ba35bbd5.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/textile",()=>R(()=>import("./textile-2544880c.js").then(s=>s.t),["assets/textile-2544880c.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/toml",()=>R(()=>import("./toml-69d4d005.js").then(s=>s.t),["assets/toml-69d4d005.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/tsx",()=>R(()=>import("./tsx-45f2494f.js").then(s=>s.t),["assets/tsx-45f2494f.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/turtle",()=>R(()=>import("./turtle-6abd8efa.js").then(s=>s.t),["assets/turtle-6abd8efa.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/twig",()=>R(()=>import("./twig-3cd9d4bd.js").then(s=>s.t),["assets/twig-3cd9d4bd.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/typescript",()=>R(()=>import("./typescript-f6e4aa00.js").then(s=>s.t),["assets/typescript-f6e4aa00.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/vala",()=>R(()=>import("./vala-490b3b86.js").then(s=>s.v),["assets/vala-490b3b86.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/vbscript",()=>R(()=>import("./vbscript-d241783a.js").then(s=>s.v),["assets/vbscript-d241783a.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/velocity",()=>R(()=>import("./velocity-3b4deb0c.js").then(s=>s.v),["assets/velocity-3b4deb0c.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/verilog",()=>R(()=>import("./verilog-b2906fe9.js").then(s=>s.v),["assets/verilog-b2906fe9.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/vhdl",()=>R(()=>import("./vhdl-1edac96b.js").then(s=>s.v),["assets/vhdl-1edac96b.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/visualforce",()=>R(()=>import("./visualforce-d33eada9.js").then(s=>s.v),["assets/visualforce-d33eada9.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/wollok",()=>R(()=>import("./wollok-be183b3a.js").then(s=>s.w),["assets/wollok-be183b3a.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/xml",()=>R(()=>import("./xml-8494777e.js").then(s=>s.x),["assets/xml-8494777e.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/xquery",()=>R(()=>import("./xquery-b13b4432.js").then(s=>s.x),["assets/xquery-b13b4432.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/yaml",()=>R(()=>import("./yaml-eac650c1.js").then(s=>s.y),["assets/yaml-eac650c1.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));ace.config.setModuleLoader("ace/snippets/zeek",()=>R(()=>import("./zeek-4fc15331.js").then(s=>s.z),["assets/zeek-4fc15331.js","assets/index-91b358e1.js","assets/index-d604e10f.css"]));function ui(s,O){return to(s)||eo(s,O)||qr(s,O)||Jr()}function Jr(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qr(s,O){if(s){if(typeof s=="string")return di(s,O);var y=Object.prototype.toString.call(s).slice(8,-1);if(y==="Object"&&s.constructor&&(y=s.constructor.name),y==="Map"||y==="Set")return Array.from(s);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return di(s,O)}}function di(s,O){(O==null||O>s.length)&&(O=s.length);for(var y=0,L=new Array(O);y