1import{t as e}from"./QTnfLwEv.js";var t=e(((e,t)=>{ace.define(`ace/ext/menu_tools/settings_menu.css`,[`require`,`exports`,`module`],function(e,t,n){n.exports=`#ace_settingsmenu, #kbshortcutmenu { 2 background-color: #F7F7F7; 3 color: black; 4 box-shadow: -5px 4px 5px rgba(126, 126, 126, 0.55); 5 padding: 1em 0.5em 2em 1em; 6 overflow: auto; 7 position: absolute; 8 margin: 0; 9 bottom: 0; 10 right: 0; 11 top: 0; 12 z-index: 9991; 13 cursor: default; 14} 15 16.ace_dark #ace_settingsmenu, .ace_dark #kbshortcutmenu { 17 box-shadow: -20px 10px 25px rgba(126, 126, 126, 0.25); 18 background-color: rgba(255, 255, 255, 0.6); 19 color: black; 20} 21 22.ace_optionsMenuEntry:hover { 23 background-color: rgba(100, 100, 100, 0.1); 24 transition: all 0.3s 25} 26 27.ace_closeButton { 28 background: rgba(245, 146, 146, 0.5); 29 border: 1px solid #F48A8A; 30 border-radius: 50%; 31 padding: 7px; 32 position: absolute; 33 right: -8px; 34 top: -8px; 35 z-index: 100000; 36} 37.ace_closeButton{ 38 background: rgba(245, 146, 146, 0.9); 39} 40.ace_optionsMenuKey { 41 color: darkslateblue; 42 font-weight: bold; 43} 44.ace_optionsMenuCommand { 45 color: darkcyan; 46 font-weight: normal; 47} 48.ace_optionsMenuEntry input, .ace_optionsMenuEntry button { 49 vertical-align: middle; 50} 51 52.ace_optionsMenuEntry button[ace_selected_button=true] { 53 background: #e7e7e7; 54 box-shadow: 1px 0px 2px 0px #adadad inset; 55 border-color: #adadad; 56} 57.ace_optionsMenuEntry button { 58 background: white; 59 border: 1px solid lightgray; 60 margin: 0px; 61} 62.ace_optionsMenuEntry button:hover{ 63 background: #f0f0f0; 64}`}),ace.define(`ace/ext/menu_tools/overlay_page`,[`require`,`exports`,`module`,`ace/ext/menu_tools/overlay_page`,`ace/lib/dom`,`ace/ext/menu_tools/settings_menu.css`],function(e,t,n){var r=e("../../lib/dom"),i=e("./settings_menu.css");r.importCssString(i,`settings_menu.css`,!1),n.exports.overlayPage=function(e,t,n){var r=document.createElement(`div`),i=!1;function a(e){e.keyCode===27&&o()}function o(){r&&(document.removeEventListener(`keydown`,a),r.parentNode.removeChild(r),e&&e.focus(),r=null,n&&n())}function s(e){i=e,e&&(r.style.pointerEvents=`none`,t.style.pointerEvents=`auto`)}return r.style.cssText=`margin: 0; padding: 0; position: fixed; top:0; bottom:0; left:0; right:0;z-index: 9990; `+(e?`background-color: rgba(0, 0, 0, 0.3);`:``),r.addEventListener(`click`,function(e){i||o()}),document.addEventListener(`keydown`,a),t.addEventListener(`click`,function(e){e.stopPropagation()}),r.appendChild(t),document.body.appendChild(r),e&&e.blur(),{close:o,setIgnoreFocusOut:s}}}),ace.define(`ace/ext/menu_tools/get_editor_keyboard_shortcuts`,[`require`,`exports`,`module`,`ace/ext/menu_tools/get_editor_keyboard_shortcuts`,`ace/lib/keys`],function(e,t,n){var r=e("../../lib/keys");n.exports.getEditorKeybordShortcuts=function(e){r.KEY_MODS;var t=[],n={};return e.keyBinding.$handlers.forEach(function(e){var r=e.commandKeyBinding;for(var i in r){var a=i.replace(/(^|-)\w/g,function(e){return e.toUpperCase()}),o=r[i];Array.isArray(o)||(o=[o]),o.forEach(function(e){typeof e!=`string`&&(e=e.name),n[e]?n[e].key+=`|`+a:(n[e]={key:a,command:e},t.push(n[e]))})}}),t}}),ace.define(`ace/ext/keybinding_menu`,[`require`,`exports`,`module`,`ace/editor`,`ace/ext/menu_tools/overlay_page`,`ace/ext/menu_tools/get_editor_keyboard_shortcuts`],function(e,t,n){var r=e("../editor").Editor;function i(t){if(!document.getElementById(`kbshortcutmenu`)){var n=e("./menu_tools/overlay_page").overlayPage,r=e("./menu_tools/get_editor_keyboard_shortcuts").getEditorKeybordShortcuts,i=r(t),a=document.createElement(`div`),o=i.reduce(function(e,t){return e+`<div class="ace_optionsMenuEntry"><span class="ace_optionsMenuCommand">`+t.command+`</span> : <span class="ace_optionsMenuKey">`+t.key+`</span></div>`},``);a.id=`kbshortcutmenu`,a.innerHTML=`<h1>Keyboard Shortcuts</h1>`+o+`</div>`,n(t,a)}}n.exports.init=function(e){r.prototype.showKeyboardShortcuts=function(){i(this)},e.commands.addCommands([{name:`showKeyboardShortcuts`,bindKey:{win:`Ctrl-Alt-h`,mac:`Command-Alt-h`},exec:function(e,t){e.showKeyboardShortcuts()}}])}}),(function(){ace.require([`ace/ext/keybinding_menu`],function(n){typeof t==`object`&&typeof e==`object`&&t&&(t.exports=n)})})()}));export default t();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.