/**
 * 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;inset:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.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{font-family:monospace;user-select:text;white-space:pre}.xterm .xterm-accessibility-tree>div{transform-origin:left;width:fit-content}.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}.xterm .xterm-scrollable-element>.scrollbar{cursor:default}.xterm .xterm-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.xterm .xterm-scrollable-element>.visible{opacity:1;background:#0000;transition:opacity .1s linear;z-index:11}.xterm .xterm-scrollable-element>.invisible{opacity:0;pointer-events:none}.xterm .xterm-scrollable-element>.invisible.fade{transition:opacity .8s linear}.xterm .xterm-scrollable-element>.shadow{position:absolute;display:none}.xterm .xterm-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:var(--vscode-scrollbar-shadow, #000) 0 6px 6px -6px inset}.xterm .xterm-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset}.xterm .xterm-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.xterm .xterm-scrollable-element>.shadow.top.left{box-shadow:var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset}@font-face{font-family:SarasaTermSC;src:url(/fonts/SarasaTermSCNerd-subset.woff2) format("woff2"),local("Sarasa Term SC"),local("Sarasa Mono SC");font-weight:100 900;font-display:block}html,body{margin:0;padding:0;width:100%;height:100%;background:#000;color:#ccc;overflow:hidden;font-family:JetBrains Mono,Cascadia Code,Source Han Sans CN,monospace}#app{position:fixed;inset:0;display:flex;align-items:center;justify-content:center}.sos-stage{position:relative;background:#000;flex:none}.sos-crt-svg{position:absolute;width:0;height:0;overflow:hidden}.sos-monitor{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none;z-index:3}.sos-screen{position:absolute;background:#050505;overflow:visible;isolation:isolate;border-radius:8%/6%;box-shadow:inset 0 0 18px #000000d9,inset 0 0 72px #0012008c;filter:url(#sos-crt-warp) brightness(1.5) saturate(.55) contrast(1.2) drop-shadow(0 0 1px rgba(225,226,210,.55)) drop-shadow(0 0 3px rgba(225,226,210,.22)) drop-shadow(.45px 0 rgba(255,32,96,.16)) drop-shadow(-.45px 0 rgba(0,190,255,.13));transform:translateZ(0);transform-origin:center;z-index:1}.sos-terminal-viewport{position:absolute;overflow:hidden;background:#050505;z-index:1}.sos-subviewport{position:absolute;left:0;top:0;transform-origin:left top;z-index:1}.sos-screen:before,.sos-screen:after{content:"";position:absolute;inset:0;pointer-events:none}.sos-screen:before{z-index:3;opacity:.32;mix-blend-mode:multiply;background:repeating-linear-gradient(to bottom,rgba(0,0,0,.72) 0,rgba(0,0,0,.72) 1px,rgba(255,255,255,.035) 1px,rgba(255,255,255,.035) 2px,transparent 2px,transparent 4px),repeating-linear-gradient(to right,#ff00001f 0 1px,#00ff001a 1px 2px,#0050ff1f 2px 3px)}.sos-screen:after{z-index:4;border-radius:inherit;box-shadow:inset 0 0 8px #e1e2d22e,inset 0 0 24px #e1e2d20d;background:radial-gradient(ellipse at center,transparent 55%,rgba(0,0,0,.05) 80%,rgba(0,0,0,.18) 95%,rgba(0,0,0,.35) 100%)}.sos-terminal-viewport .xterm{position:absolute;inset:0;width:auto;height:auto;padding:0}.sos-terminal-viewport .xterm-viewport{background:transparent!important}.sos-terminal-viewport .xterm-screen canvas{image-rendering:auto}.sos-textual-scrollbar{position:absolute;pointer-events:none;z-index:6}.sos-textual-scrollbar-track,.sos-textual-scrollbar-thumb{position:absolute;left:0;width:100%}.sos-textual-scrollbar-track{top:0;height:100%;background:#040b04a3}.sos-textual-scrollbar-thumb{box-shadow:inset 0 0 0 1px #ffffff40,0 0 2px #0006}.sos-crt-noise{position:absolute;inset:0;pointer-events:none}.sos-crt-noise{z-index:5;opacity:.06;mix-blend-mode:screen;background:repeating-linear-gradient(27deg,rgba(255,255,255,.55) 0 1px,transparent 1px 3px),repeating-linear-gradient(113deg,rgba(255,255,255,.34) 0 1px,transparent 1px 4px);background-size:3px 4px,5px 4px;animation:sos-crt-noise .18s steps(2,end) infinite}@keyframes sos-crt-noise{0%{transform:translate(0);opacity:.035}50%{transform:translate(-.8%,.6%);opacity:.075}to{transform:translate(.7%,-.8%);opacity:.052}}
