/**
 * 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:#0004;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;inset: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;inset:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{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}:root{--terminal-font-family: "Fira Code", Menlo, "DejaVu Sans Mono", "Lucida Console", monospace;--terminal-font-size: 16px;--terminal-line-height: 1.2;color:#fff}html{height:100%;width:100%}body{display:flex;flex-direction:column;height:100%;margin:0;padding:0;font-family:var(--terminal-font-family)}.app{flex-direction:column;justify-content:flex-end;margin:10px}.parallax-background{position:relative;overflow:hidden;height:100px}.parallax-layer{position:absolute;height:100px;width:100%}.chord-navigation{img{display:block;width:40px;height:40px;margin:5px}&:after{content:"";display:table;clear:both}}.phrase-names{text-align:left}#root{flex:1}.phrase-name{display:inline-block;width:auto;margin:0 10px 10px 0}.key-container{float:left;flex-direction:column;align-items:left;text-align:left;margin-bottom:15px}.key-container label{line-height:.6em;vertical-align:text-top}.log-line{line-height:var(--terminal-line-height)}.log-line span{background-color:#0007}.log-time{color:gray;font-weight:100}.log-hour{color:#0ff;font-weight:100}.log-minute{color:#ff09;font-weight:700}.log-second{color:green;font-weight:100}.log-prefix{color:gray}#output-container .response{display:inline-block;background-color:#0007;padding-right:10px;line-height:var(--terminal-line-height)}.command-list{font-family:var(--terminal-font-family);white-space:pre;line-height:var(--terminal-line-height)}.command-list .cmd-name{color:#0ff;font-weight:700}.command-list .cmd-desc{color:#aaa}.repo-list-table{font-family:var(--terminal-font-family);line-height:var(--terminal-line-height)}.repo-list-table .repo-name{color:green;font-weight:700;padding-right:1em;white-space:nowrap}.repo-list-table .repo-desc{color:#aaa}.terminal-nav{color:#fff;background-color:#000;font-weight:700;flex-shrink:1;padding:0 10px;line-height:2em}pre#next-chars{padding:0;margin:0;color:#90ee90;font-weight:700;font-size:var(--terminal-font-size);line-height:var(--terminal-line-height);white-space:pre-wrap;word-break:break-word;font-family:var(--terminal-font-family)}video#terminal-video{width:100%;top:0;left:0;margin:0;padding:0;position:absolute;z-index:-1}div.terminal{background-color:#0000;z-index:10}#chord-image-holder .char{font-size:35px}#timer-root{color:#fff;float:left}.wpm-table-row .number{color:#90ee90;text-align:right}.terminal{background-color:#0003;z-index:10;color:#fff;display:flex;height:100%;width:100%;padding:0;margin:0;flex-direction:column;.prompt{color:#20b2aa;.domain{color:#bdb76b}.user{color:#f0f}}}pre#prompt{margin:0;font-size:var(--terminal-font-size);font-family:var(--terminal-font-family);font-weight:600;color:#90ee90;clear:both;.user{color:#f0f}.domain{color:#ff0}.github{color:#0ff}}.hidden-canvas{visibility:hidden;position:absolute;left:-9999px}#output-container{padding:1opx 0 0;z-index:100;background-color:#0000;font-size:var(--terminal-font-size)}#terminal-game{background-color:#0007}#next-chars{background-color:#0007;pre#next-chars{background-color:#0007}}#terminal-output div{z-index:1000}#footer{padding:0 0 15 0;div{float:left;padding:20px 0 0 30px;font-size:var(--terminal-font-size);line-height:var(--terminal-line-height);text-align:center;a{color:#0ff}}img{width:170px;float:right;padding:0 15px 15px 0}}.wpm{color:#ff0;font-weight:700;padding:0 5px}.wpm-label{color:#0ff}@media (max-width: 600px){body{padding-left:2px}.scrolling-text{animation:scrollText 1s linear infinite}#footer{div{font-size:var(--terminal-font-size)}img{width:120px}}}.terminal-line{display:flex;align-items:flex-start}.prompt-tail-container{margin-right:4px}.terminal-prompt.tail{align-self:top}.terminal-input{flex:1;background:none;border:none;color:#ff0;caret-color:#ffffe0;white-space:pre-wrap;overflow-y:hidden;padding:0;vertical-align:top}.terminal-input:focus{outline:none}.terminal-line:not(.first-line){display:flex;align-items:center}.terminal .domain{color:#bdb76b}.terminal-progress-bar{background-color:#00008b}@keyframes scrollText{0%{transform:translate(100%)}to{transform:translate(-100%)}}.scrolling-text{animation:scrollText 5s linear infinite;color:#90ee90;font:italic 60px Arial}.chord-display-container{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;flex-wrap:wrap}.tutorial-component pre{color:#ffa07a;font-size:var(--terminal-font-size)}.tutorial-component pre{white-space:pre-wrap;word-break:break-word;font-family:var(--terminal-font-family)}.CodeMirror div.CodeMirror-cursors{visibility:visible!important}.vim-status-bar{opacity:.25}div.cm-content{background-color:#0007}div.monaco-editor-container{background:#0000}div.monaco-editor-container>section{background:#0000}div.monaco-editor-container>section>div{background:#0000}div.monaco-editor-container>section>div>div{background:#0000}div.monaco-editor-container>section>div>div>div.overflow-guard{background:#0000}div.view-line{background:#0000}div.view-line>span{background:#0000;display:inline-block}div.monaco-editor-container>section>div>div>div.overflow-guard>div.margin{background:#0000}div.monaco-editor-container>section>div>div>div.overflow-guard>div.minimap.slider-mouseover>canvas.minimap-decorations-layer{background:#0000}pre#prompt-header{margin:0;padding:0;font-size:var(--terminal-font-size);line-height:var(--terminal-line-height);font-family:var(--terminal-font-family)}pre#prompt-header .timestamp{padding-right:10px;opacity:.5}.monaco-editor.hasFocus,.monaco-editor{outline:none!important;border:none!important;box-shadow:none!important}div.monaco-editor-container{padding:0!important;margin:0!important}@media (max-width: 600px){.app{margin:5px}}.intro-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;color:#fff;font-family:var(--terminal-font-family);font-size:var(--terminal-font-size);line-height:var(--terminal-line-height);z-index:10}.intro-text p{margin:calc(var(--terminal-line-height) * 1em) 0 0}.intro-title{font-weight:700}.key-indicator{position:absolute;bottom:10px;width:50px;height:50px}.key-indicator:first-of-type{right:70px}.key-indicator:last-of-type{right:10px}
