(function(){functiono(n){vari=e;n&&(e[n]||(e[n]={}),i=e[n]);if(!i.define||!i.define.packaged)t.original=i.define,i.define=t,i.define.packaged=!0;if(!i.require||!i.require.packaged)r.original=i.require,i.require=r,i.require.packaged=!0}varACE_NAMESPACE="ace",e=function(){returnthis}();!e&&typeofwindow!="undefined"&&(e=window);if(!ACE_NAMESPACE&&typeofrequirejs!="undefined")return;vart=function(e,n,r){if(typeofe!="string"){t.original?t.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace());return}arguments.length==2&&(r=n),t.modules[e]||(t.payloads[e]=r,t.modules[e]=null)};t.modules={},t.payloads={};varn=function(e,t,n){if(typeoft=="string"){vari=s(e,t);if(i!=undefined)returnn&&n(),i}elseif(Object.prototype.toString.call(t)==="[object Array]"){varo=[];for(varu=0,a=t.length;u<a;++u){varf=s(e,t[u]);if(f==undefined&&r.original)return;o.push(f)}returnn&&n.apply(null,o)||!0}},r=function(e,t){vari=n("",e,t);returni==undefined&&r.original?r.original.apply(this,arguments):i},i=function(e,t){if(t.indexOf("!")!==-1){varn=t.split("!");returni(e,n[0])+"!"+i(e,n[1])}if(t.charAt(0)=="."){varr=e.split("/").slice(0,-1).join("/");t=r+"/"+t;while(t.indexOf(".")!==-1&&s!=t){vars=t;t=t.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}returnt},s=function(e,r){r=i(e,r);vars=t.modules[r];if(!s){s=t.payloads[r];if(typeofs=="function"){varo={},u={id:r,uri:"",exports:o,packaged:!0},a=function(e,t){returnn(r,e,t)},f=s(a,o,u);o=f||u.exports,t.modules[r]=o,deletet.payloads[r]}s=t.modules[r]=o||s}returns};o(ACE_NAMESPACE)})(),ace.define("ace/lib/regexp",["require","exports","module"],function(e,t,n){"use strict";functiono(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.extended?"x":"")+(e.sticky?"y":"")}functionu(e,t,n){if(Array.prototype.indexOf)returne.indexOf(t,n);for(varr=n||0;r<e.length;r++)if(e[r]===t)returnr;return-1}varr={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},i=r.exec.call(/()??/,"")[1]===undefined,s=function(){vare=/^/g;returnr.test.call(e,""),!e.lastIndex}();if(s&&i)return;RegExp.prototype.exec=function(e){vart=r.exec.apply(this,arguments),n,a;if(typeofe=="string"&&t){!i&&t.length>1&&u(t,"")>-1&&(a=RegExp(this.source,r.replace.call(o(this),"g","")),r.replace.call(e.slice(t.index),a,function(){for(vare=1;e<arguments.length-2;e++)arguments[e]===undefined&&(t[e]=undefined)}));if(this._xregexp&&this._xregexp.captureNames)for(varf=1;f<t.length;f++)n=this._xregexp.captureNames[f-1],n&&(t[n]=t[f]);!s&&this.global&&!t[0].length&&this.lastIndex>t.index&&this.lastIndex--}returnt},s||(RegExp.prototype.test=function(e){vart=r.exec.call(this,e);returnt&&this.global&&!t[0].length&&this.lastIndex>t.index&&this.lastIndex--,!!t})}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(e,t,n){functionr(){}functionw(e){try{returnObject.defineProperty(e,"sentinel",{}),"sentinel"ine}catch(t){}}functionH(e){returne=+e,e!==e?e=0:e!==0&&e!==1/0&&e!==-1/0&&(e=(e>0||-1)*Math.floor(Math.abs(e))),e}functionB(e){vart=typeofe;returne===null||t==="undefined"||t==="boolean"||t==="number"||t==="string"}functionj(e){vart,n,r;if(B(e))returne;n=e.valueOf;if(typeofn=="function"){t=n.call(e);if(B(t))returnt}r=e.toString;if(typeofr=="function"){t=r.call(e);if(B(t))returnt}thrownewTypeError}Function.prototype.bind||(Function.prototype.bind=function(t){varn=this;if(typeofn!="function")thrownewTypeError("Function.prototype.bind called on incompatible "+n);vari=u.call(arguments,1),s=function(){if(thisinstanceofs){vare=n.apply(this,i.concat(u.call(arguments)));returnObject(e)===e?e:this}returnn.apply(t,i.concat(u.call(arguments)))};returnn.prototype&&(r.prototype=n.prototype,s.prototype=newr,r.prototype=null),s});vari=Function.prototype.call,s=Array.prototype,o=Object.prototype,u=s.slice,a=i.bind(o.toString),f=i.bind(o.hasOwnProperty),l,c,h,p,d;if(d=f(o,"__defineGetter__"))l=i.bind(o.__defineGetter__