/**
 * Copyright (c) 2014 The xterm.js authors. All rights reserved.
 * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
 * https://github.com/chjj/term.js
 * @license MIT
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 *
 * Originally forked from (with the author's permission):
 *   Fabrice Bellard's javascript vt100 for jslinux:
 *   http://bellard.org/jslinux/
 *   Copyright (c) 2011 Fabrice Bellard
 *   The original design remains. The terminal itself
 *   has been extended to include xterm CSI codes, among
 *   other features.
 */.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{-webkit-user-select:text;user-select:text;white-space:pre}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%;overflow:hidden;background:#1e1e1e;color:#ccc}.ide-root{display:flex;flex-direction:column;height:100vh;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:13px}.ide-body{display:flex;flex:1;overflow:hidden;min-height:0}.activity-bar{background:#333;display:flex;flex-direction:column;justify-content:space-between;padding:0;border-right:none;-webkit-user-select:none;user-select:none}.activity-bar-top,.activity-bar-bottom{display:flex;flex-direction:column}.activity-item{background:none;border:none;cursor:pointer;color:#fff6;display:flex;align-items:center;justify-content:center;width:48px;height:48px;position:relative;transition:color .1s}.activity-item:hover{color:#ffffffe6}.activity-item.active{color:#fff;border-left:2px solid #ffffff}.activity-item.active:before{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:#fff}.sidebar{width:240px;background:#252526;border-right:1px solid #3e3e3e;display:flex;flex-direction:column;overflow:hidden;-webkit-user-select:none;user-select:none}.sidebar-header{padding:8px 12px;font-size:11px;font-weight:700;letter-spacing:.1em;color:#bbb;text-transform:uppercase;flex-shrink:0}.sidebar-section-label{display:flex;align-items:center;justify-content:space-between;padding:4px 8px 4px 12px;font-size:11px;font-weight:700;letter-spacing:.08em;color:#bbb;text-transform:uppercase;flex-shrink:0}.sidebar-section-label:hover .sidebar-section-actions{visibility:visible}.sidebar-section-actions{display:flex;gap:2px;visibility:hidden}.sidebar-icon-btn{background:none;border:none;cursor:pointer;color:#ccc;display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:3px}.sidebar-icon-btn:hover{background:#3e3e3e}.sidebar-tree{flex:1;overflow-y:auto;overflow-x:hidden}.sidebar-placeholder{padding:20px 16px;color:#888;font-size:12px}.file-tree{padding:2px 0;position:relative}.tree-item{display:flex;align-items:center;gap:3px;height:22px;cursor:pointer;color:#ccc;white-space:nowrap;overflow:hidden;padding-right:4px;position:relative}.tree-item:hover{background:#2a2d2e}.tree-item.active{background:#37373d}.tree-item:hover .tree-actions{display:flex}.tree-chevron{display:flex;align-items:center;flex-shrink:0;color:gray;width:14px}.tree-icon{display:flex;align-items:center;flex-shrink:0;width:16px}.tree-label{font-size:13px;overflow:hidden;text-overflow:ellipsis;flex:1}.tree-actions{display:none;align-items:center;gap:1px;margin-left:auto}.tree-action-btn{background:none;border:none;cursor:pointer;color:#888;display:flex;align-items:center;padding:2px;border-radius:2px}.tree-action-btn:hover{color:#ccc;background:#4e4e4e}.tree-inline-input{gap:4px}.tree-name-input{flex:1;background:#3c3c3c;border:1px solid #007acc;color:#ccc;font-size:13px;padding:1px 4px;outline:none;border-radius:2px;min-width:0}.tree-loading{padding:10px 12px;color:#888;font-size:12px}.context-menu{position:fixed;background:#252526;border:1px solid #454545;border-radius:4px;min-width:160px;padding:4px 0;z-index:1000;box-shadow:2px 4px 12px #0006}.context-item{display:block;width:100%;background:none;border:none;cursor:pointer;color:#ccc;font-size:13px;padding:5px 16px;text-align:left}.context-item:hover{background:#094771;color:#fff}.context-danger{color:#f48771}.context-danger:hover{background:#5a1d1d;color:#f48771}.context-separator{height:1px;background:#454545;margin:4px 0}.resize-handle-h{width:4px;cursor:col-resize;background:transparent;flex-shrink:0;transition:background .15s}.resize-handle-h:hover{background:#007acc55}.resize-handle-v{height:4px;cursor:row-resize;background:transparent;flex-shrink:0;transition:background .15s}.resize-handle-v:hover{background:#007acc55}.main-area{flex:1;display:flex;flex-direction:column;overflow:hidden;min-width:0;background:#1e1e1e}.tab-bar{display:flex;align-items:stretch;background:#2d2d2d;height:35px;overflow-x:auto;overflow-y:hidden;flex-shrink:0;border-bottom:1px solid #252526}.tab-bar::-webkit-scrollbar{height:0}.tab{display:flex;align-items:center;gap:6px;padding:0 8px 0 12px;min-width:80px;max-width:200px;height:35px;cursor:pointer;border-right:1px solid #252526;color:#969696;font-size:13px;white-space:nowrap;flex-shrink:0;position:relative;overflow:hidden}.tab:hover{background:#323232;color:#ccc}.tab.active{background:#1e1e1e;color:#fff;border-top:1px solid #007acc}.tab-label{display:flex;align-items:center;gap:4px;flex:1;overflow:hidden;text-overflow:ellipsis}.tab-modified{color:#e0af68;font-size:14px;line-height:1}.tab-close{background:none;border:none;cursor:pointer;color:transparent;display:flex;align-items:center;padding:2px;border-radius:2px;flex-shrink:0}.tab:hover .tab-close,.tab.active .tab-close{color:#888}.tab-close:hover{background:#555!important;color:#fff!important}.tab-spacer{flex:1}.tab-icon-btn{background:none;border:none;cursor:pointer;color:#888;padding:0 10px;height:35px;display:flex;align-items:center}.tab-icon-btn:hover{color:#ccc}.editor-area{flex:1;overflow:hidden;min-height:0}.editor-area .cm-editor{height:100%!important}.editor-area .cm-scroller{overflow:auto}.cm-editor{outline:none!important}.editor-welcome{display:flex;align-items:center;justify-content:center;height:100%;background:#1e1e1e}.editor-welcome-inner{text-align:center;color:#555}.editor-welcome-title{font-size:28px;font-weight:300;color:#888;margin-bottom:8px;letter-spacing:2px}.editor-welcome-hint{font-size:13px;margin-bottom:24px}.editor-welcome-shortcuts{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#555}kbd{background:#3a3a3a;border:1px solid #555;border-radius:3px;padding:1px 5px;font-size:11px;font-family:inherit;color:#ccc}.terminal-panel{height:280px;min-height:280px;border-top:1px solid #3e3e3e;display:flex;flex-direction:column;flex-shrink:0}.terminal-header{display:flex;align-items:center;justify-content:space-between;background:#2d2d2d;border-bottom:1px solid #3e3e3e;height:35px;padding:0 8px 0 0;flex-shrink:0}.terminal-tabs{display:flex;align-items:stretch;height:100%}.terminal-tab{display:flex;align-items:center;padding:0 16px;font-size:12px;font-weight:500;letter-spacing:.05em;color:#888;border-right:1px solid #3e3e3e;cursor:pointer}.terminal-tab.active{color:#ccc;border-top:1px solid #007acc;background:#1e1e1e}.terminal-close-btn{background:none;border:none;cursor:pointer;color:#888;display:flex;align-items:center;padding:4px;border-radius:3px}.terminal-close-btn:hover{color:#ccc;background:#3e3e3e}.terminal-body{flex:1;overflow:hidden}.breadcrumb{display:flex;align-items:center;padding:0 14px;height:22px;background:#1e1e1e;border-bottom:1px solid #3e3e3e;flex-shrink:0;font-size:12px;color:#888;overflow:hidden;white-space:nowrap;gap:2px}.breadcrumb-sep{color:#555;display:flex;align-items:center}.breadcrumb-part{cursor:pointer;padding:0 2px}.breadcrumb-part:hover,.breadcrumb-part.active{color:#ccc}.status-bar{display:flex;align-items:center;justify-content:space-between;background:#007acc;color:#fff;font-size:12px;height:22px;padding:0 8px;-webkit-user-select:none;user-select:none;flex-shrink:0}.status-left,.status-right{display:flex;align-items:center;gap:0}.status-item{padding:0 8px;height:22px;display:flex;align-items:center;cursor:pointer;white-space:nowrap}.status-item:hover{background:#ffffff1f}.status-connection.warning{background:#c72e0f}.status-connection.warning:hover{background:#a62708}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#424242;border-radius:5px;border:2px solid transparent;background-clip:content-box}::-webkit-scrollbar-thumb:hover{background:#555;background-clip:content-box;border:2px solid transparent}
