ace.define(“ace/ext/settings_menu”,,function(e,t,n){function s(e){var t=document.getElementById(“ace_settingsmenu”);t||i(e,r(e),“0”,“0”,“0”)}var r=e(“./menu_tools/generate_settings_menu”).generateSettingsMenu,i=e(“./menu_tools/overlay_page”).overlayPage;n.exports.init=function(t){var n=e(“ace/editor”).Editor;n.prototype.showSettingsMenu=function(){s(this)}}}),ace.define(“ace/ext/menu_tools/generate_settings_menu”,,function(e,t,n){var r=e(“./element_generator”),i=e(“./add_editor_menu_options”).addEditorMenuOptions,s=e(“./get_set_functions”).getSetFunctions;n.exports.generateSettingsMenu=function(t){function o(){n.sort(function(e,t){var n=e.getAttribute(“contains”),r=t.getAttribute(“contains”);return n.localeCompare®})}function u(){var e=document.createElement(“div”);return e.setAttribute(“id”,“ace_settingsmenu”),n.forEach(function(t){e.appendChild(t)}),e}function a(e,n,i,s){var o,u=document.createElement(“div”);return u.setAttribute(“contains”,i),u.setAttribute(“class”,“ace_optionsMenuEntry”),u.setAttribute(“style”,“clear: both;”),u.appendChild(r.createLabel(i.replace(/^set/,“”).replace(/()/g,“ $1”).trim(),i)),Array.isArray(s)?(o=r.createSelection(i,s,n),o.addEventListener(“change”,function(n){try{t.menuOptions.forEach(function(e){e.textContent!==n.target.textContent&&delete e.selected}),e(n.target.value)}catch®{throw new Error®}})):typeof s==“boolean”?(o=r.createCheckbox(i,s,n),o.addEventListener(“change”,function(t){try{e(!!t.target.checked)}catch(n){throw new Error(n)}})):(o=r.createInput(i,s,n),o.addEventListener(“change”,function(t){try{t.target.value===“true”?e(!0):t.target.value===“false”?e(!1):e(t.target.value)}catch(n){throw new Error(n)}})),o.style.cssText=“float:right;”,u.appendChild(o),u}function f(e,n,r,i){var s=t.menuOptions,o=n();return typeof o==“object”&&(o=o.$id),s.forEach(function(e){e.value===o&&(e.selected=“selected”)}),a(n,r,e,s)}function l(e){var r=e.functionName,i=e.parentObj,s=e.parentName,o,u=r.replace(/^set/,“get”);if(t.menuOptions!==undefined)n.push(f(r,i,s,u));else if(typeof i==“function”)try{o=i(),typeof o==“object”&&(o=o.$id),n.push(a(i,s,r,o))}catch(l){}}var n=[];return i(t),s(t).forEach(function(e){l(e)}),o(),u()}}),ace.define(“ace/ext/menu_tools/element_generator”,,function(e,t,n){n.exports.createOption=function(t){var n,r=document.createElement(“option”);for(n in t)t.hasOwnProperty(n)&&(n===“selected”?r.setAttribute(n,t):r=t);return r},n.exports.createCheckbox=function(t,n,r){var i=document.createElement(“input”);return i.setAttribute(“type”,“checkbox”),i.setAttribute(“id”,t),i.setAttribute(“name”,t),i.setAttribute(“value”,n),i.setAttribute(“class”,r),n&&i.setAttribute(“checked”,“checked”),i},n.exports.createInput=function(t,n,r){var i=document.createElement(“input”);return i.setAttribute(“type”,“text”),i.setAttribute(“id”,t),i.setAttribute(“name”,t),i.setAttribute(“value”,n),i.setAttribute(“class”,r),i},n.exports.createLabel=function(t,n){var r=document.createElement(“label”);return r.setAttribute(“for”,n),r.textContent=t,r},n.exports.createSelection=function(t,r,i){var s=document.createElement(“select”);return s.setAttribute(“id”,t),s.setAttribute(“name”,t),s.setAttribute(“class”,i),r.forEach(function(e){s.appendChild(n.exports.createOption(e))}),s}}),ace.define(“ace/ext/menu_tools/add_editor_menu_options”,,function(e,t,n){n.exports.addEditorMenuOptions=function(n){var r=e(“../modelist”),i=e(“../themelist”);n.menuOptions={setNewLineMode:,setTheme:[],setMode:,setKeyboardHandler:},n.menuOptions.setTheme=i.themes.map(function(e){return{textContent:e.desc,value:e.theme}}),n.menuOptions.setMode=r.modes.map(function(e){return{textContent:e.name,value:e.mode}})}}),ace.define(“ace/ext/modelist”,,function(e,t,n){function i(e){var t=a.text,n=e.split(//).pop();for(var i=0;i.supportsFile(n)){t=r;break}return t}var r=[],s=function(e,t,n){this.name=e,this.caption=t,this.mode=“ace/mode/”+e,this.extensions=n;if(/^/.test(n))var r=n.replace(/|(^)?/g,function(e,t){return“$|”+(t?“^”:“^.*\.”)})+“$”;else var r=“^.*\.(”n“)$”;this.extRe=new RegExp(r,“gi”)};s.prototype.supportsFile=function(e){return e.match(this.extRe)};var o={ABAP:,ADA:,ActionScript:,AsciiDoc:,Assembly_x86:,AutoHotKey:,BatchFile:,C9Search:,C_Cpp:,Clojure:,Cobol:,coffee:,ColdFusion:,CSharp:,CSS:,Curly:,D:,Dart:,Diff:,Dot:,Erlang:,EJS:,Forth:,FTL:,Glsl:,golang:,Groovy:,HAML:,Haskell:,haXe:,HTML:,HTML_Ruby:,Ini:,Jade:,Java:,JavaScript:,JSON:,JSONiq:,JSP:,JSX:,Julia:,LaTeX:,LESS:,Liquid:,Lisp:,LiveScript:,LogiQL:,LSL:,Lua:,LuaPage:,Lucene:,Makefile:,MATLAB:,Markdown:,MySQL:,MUSHCode:,Nix:,ObjectiveC:,OCaml:,Pascal:,Perl:,pgSQL:,PHP:,Powershell:,Prolog:,Properties:,Protobuf:,Python:,R:,RDoc:,RHTML:,Ruby:,Rust:,SASS:,SCAD:,Scala:,Scheme:,SCSS:,SH:,snippets:,SQL:,Stylus:,SVG:,Tcl:,Tex:,Text:,Textile:,Toml:,Twig:,Typescript:,VBScript:,Velocity:,XML:,XQuery:,YAML:},u={ObjectiveC:“Objective-C”,CSharp:“C#”,golang:“Go”,C_Cpp:“C/C++”,coffee:“CoffeeScript”,HTML_Ruby:“HTML (Ruby)”,FTL:“FreeMarker”},a={};for(var f in o){var l=o,c=u||f,h=f.toLowerCase(),p=new s(h,c,l);a=p,r.push(p)}n.exports={getModeForPath:i,modes:r,modesByName:a}}),ace.define(“ace/ext/themelist”,,function(e,t,n){n.exports.themes=e(“ace/ext/themelist_utils/themes”).themes,n.exports.ThemeDescription=function(e){this.name=e,this.desc=e.split(“_”).map(function(e){return e.toUpperCase()+e.slice(1)}).join(“ ”),this.theme=“ace/theme/”+e},n.exports.themesByName={},n.exports.themes=n.exports.themes.map(function(e){return n.exports.themesByName=new n.exports.ThemeDescription(e),n.exports.themesByName})}),ace.define(“ace/ext/themelist_utils/themes”,,function(e,t,n){n.exports.themes=}),ace.define(“ace/ext/menu_tools/get_set_functions”,,function(e,t,n){n.exports.getSetFunctions=function(t){var n=[],r={editor:t,session:t.session,renderer:t.renderer},i=,s=;return.forEach(function(e){var t=r,o=e;for(var u in t)s.indexOf(u)===-1&&/^set/.test(u)&&i.indexOf(u)===-1&&(i.push(u),n.push({functionName:u,parentObj:t,parentName:o}))}),n}}),ace.define(“ace/ext/menu_tools/overlay_page”,,function(e,t,n){var r=e(“../../lib/dom”),i=“#ace_settingsmenu, kbshortcutmenu {background-color: #F7F7F7;color: black;box-shadow: -5px 4px 5px rgba(126, 126, 126, 0.55);padding: 1em 0.5em 2em 1em;overflow: auto;position: absolute;margin: 0;bottom: 0;right: 0;top: 0;z-index: 9991;cursor: default;}.ace_dark ace_settingsmenu, .ace_dark kbshortcutmenu {box-shadow: -20px 10px 25px rgba(126, 126, 126, 0.25);background-color: rgba(255, 255, 255, 0.6);color: black;}.ace_optionsMenuEntry:hover {background-color: rgba(100, 100, 100, 0.1);-webkit-transition: all 0.5s;transition: all 0.3s}.ace_closeButton {background: rgba(245, 146, 146, 0.5);border: 1px solid #F48A8A;border-radius: 50%;padding: 7px;position: absolute;right: -8px;top: -8px;z-index: 1000;}.ace_closeButton{background: rgba(245, 146, 146, 0.9);}.ace_optionsMenuKey {color: darkslateblue;font-weight: bold;}.ace_optionsMenuCommand {color: darkcyan;font-weight: normal;}”;r.importCssString(i),n.exports.overlayPage=function(t,n,i,s,o,u){function l(e){e.keyCode===27&&a.click()}i=i?“top: ”i“;”:“”,o=o?“bottom: ”o“;”:“”,s=s?“right: ”s“;”:“”,u=u?“left: ”u“;”:“”;var a=document.createElement(“div”),f=document.createElement(“div”);a.style.cssText=“margin: 0; padding: 0; position: fixed; top:0; bottom:0; left:0; right:0;z-index: 9990; background-color: rgba(0, 0, 0, 0.3);”,a.addEventListener(“click”,function(){document.removeEventListener(“keydown”,l),a.parentNode.removeChild(a),t.focus(),a=null}),document.addEventListener(“keydown”,l),f.style.cssText=i+s+o+u,f.addEventListener(“click”,function(e){e.stopPropagation()});var c=r.createElement(“div”);c.style.position=“relative”;var h=r.createElement(“div”);h.className=“ace_closeButton”,h.addEventListener(“click”,function(){a.click()}),c.appendChild(h),f.appendChild©,f.appendChild(n),a.appendChild(f),document.body.appendChild(a),t.blur()}})