"no use strict";(function(e){if(typeofe.window!="undefined"&&e.document)return;e.console=function(){vare=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:e})},e.console.error=e.console.warn=e.console.log=e.console.trace=e.console,e.window=e,e.ace=e,e.normalizeModule=function(e,t){if(t.indexOf("!")!==-1){varn=t.split("!");returnnormalizeModule(e,n[0])+"!"+normalizeModule(e,n[1])}if(t.charAt(0)=="."){varr=e.split("/").slice(0,-1).join("/");t=r+"/"+t;while(t.indexOf(".")!==-1&&i!=t){vari=t;t=t.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}returnt},e.require=function(e,t){t||(t=e,e=null);if(!t.charAt)thrownewError("worker.js require() accepts only (parentId, id) as arguments");t=normalizeModule(e,t);varn=require.modules[t];if(n)returnn.initialized||(n.initialized=!0,n.exports=n.factory().exports),n.exports;varr=t.split("/");if(!require.tlns)returnconsole.log("unable to load "+t);r[0]=require.tlns[r[0]]||r[0];vari=r.join("/")+".js";returnrequire.id=t,importScripts(i),require(e,t)},require.modules={},require.tlns={},e.define=function(e,t,n){arguments.length==2?(n=t,typeofe!="string"&&(t=e,e=require.id)):arguments.length==1&&(n=e,e=require.id);if(e.indexOf("text!")===0)return;varr=function(t,n){returnrequire(e,t,n)};require.modules[e]={exports:{},factory:function(){vare=this,t=n(r,e.exports,e);returnt&&(e.exports=t),e}}},e.initBaseUrls=function(e){require.tlns=e},e.initSender=function(){vare=require("ace/lib/event_emitter").EventEmitter,t=require("ace/lib/oop"),n=function(){};returnfunction(){t.implement(this,e),this.callback=function(e,t){postMessage({type:"call",id:t,data:e})},this.emit=function(e,t){postMessage({type:"event",name:e,data:t})}}.call(n.prototype),newn},e.main=null,e.sender=null,e.onmessage=function(e){vart=e.data;if(t.command){if(!main[t.command])thrownewError("Unknown command:"+t.command);main[t.command].apply(main,t.args)}elseif(t.init){initBaseUrls(t.tlns),require("ace/lib/es5-shim"),sender=initSender();varn=require(t.module)[t.classname];main=newn(sender)}elset.event&&sender&&sender._emit(t.event,t.data)}})(this),ace.define("ace/lib/event_emitter",["require","exports","module"],function(e,t,n){varr={},i=function(){this.propagationStopped=!0},s=function(){this.defaultPrevented=!0};r._emit=r._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});varn=this._eventRegistry[e]||[],r=this._defaultHandlers[e];if(!n.length&&!r)return;if(typeoft!="object"||!t)t={};t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=i),t.preventDefault||(t.preventDefault=s),n=n.slice();for(varo=0;o<n.length;o++){n[o](t,this);if(t.propagationStopped)break}if(r&&!t.defaultPrevented)returnr(t,this)},r._signal=function(e,t){varn=(this._eventRegistry||{})[e];if(!n)return;n=n.slice();for(varr=0;r<n.length;r++)n[r](t,this)},r.once=function(e,t){varn=this;t&&this.addEventListener(e,functionr(){n.removeEventListener(e,r),t.apply(null,arguments)})},r.setDefaultHandler=function(e,t){varn=this._defaultHandlers;n||(n=this._defaultHandlers={_disabled_:{}});if(n[e]){varr=n[e],i=n._disabled_[e];i||(n._disabled_[e]=i=[]),i.push(r);vars=i.indexOf(t);s!=-1&&i.splice(s,1)}n[e]=t},r.removeDefaultHandler=function(e,t){varn=this._defaultHandlers;if(!n)return;varr=n._disabled_[e];if(n[e]==t){vari=n[e];r&&this.setDefaultHandler(e,r.pop())}elseif(r){vars=r.indexOf(t);s!=-1&&r.splice(s,1)}},r.on=r.addEventListener=function(e,t,n){this._eventRegistry=this._eventRegistry||{};varr=this._eventRegistry[e];returnr||(r=this._eventRegistry[e]=[]),r.indexOf(t)==-1&&r[n?"unshift":"push"](t),t},r.off=r.removeListener=r.removeEventListener=function(e,t){this._eventRegistry=this._eventRegistry||{};varn=this._eventRegistry[e];if(!n)return;varr=n.indexOf(t);r!==-1&&n.splice(r,1)},r.removeAllListeners=function(e){this._eventRegistry&&(this._eventRegistry[e]=[])},t.EventEmitter=r}),ace.define("ace/lib/oop",["require","exports","module"],function(e,t,n){t.inherits=function(){vare=function(){};returnfunction(t,n){e.prototype=n.