/**
 * 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,.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.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}.connection-status[data-v-5e1fd1e7]{display:flex;align-items:center;gap:8px;padding:6px 12px;border-radius:20px;font-size:12px;font-weight:500}.status-dot[data-v-5e1fd1e7]{width:8px;height:8px;border-radius:50%;animation:pulse-5e1fd1e7 2s infinite}.connected[data-v-5e1fd1e7]{background:#00ff001a;color:#0f0}.connected .status-dot[data-v-5e1fd1e7]{background:#0f0;box-shadow:0 0 8px #0f0;animation:none}.connecting[data-v-5e1fd1e7]{background:#ffa5001a;color:orange}.connecting .status-dot[data-v-5e1fd1e7]{background:orange}.error[data-v-5e1fd1e7]{background:#ff00001a;color:#f44}.error .status-dot[data-v-5e1fd1e7]{background:#f44;animation:none}@keyframes pulse-5e1fd1e7{0%,to{opacity:1}50%{opacity:.5}}.screenshot-modal[data-v-7b59f0c8]{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000e6;display:flex;justify-content:center;align-items:center;z-index:1000;animation:fadeIn-7b59f0c8 .2s ease}@keyframes fadeIn-7b59f0c8{0%{opacity:0}to{opacity:1}}.modal-content[data-v-7b59f0c8]{background:var(--bg-secondary);border-radius:12px;max-width:90vw;max-height:90vh;display:flex;flex-direction:column;overflow:hidden}.modal-header[data-v-7b59f0c8]{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid var(--border)}.modal-header h3[data-v-7b59f0c8]{margin:0;font-size:16px}.close-btn[data-v-7b59f0c8]{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:transparent;color:var(--text-secondary);font-size:24px;border-radius:8px}.close-btn[data-v-7b59f0c8]:hover{background:#ffffff1a;color:var(--text-primary)}.modal-body[data-v-7b59f0c8]{flex:1;overflow:auto;padding:20px;display:flex;justify-content:center;align-items:center}.screenshot-image[data-v-7b59f0c8]{max-width:100%;max-height:60vh;border-radius:8px;box-shadow:0 4px 24px #0000004d}.modal-footer[data-v-7b59f0c8]{display:flex;justify-content:center;gap:12px;padding:16px 20px;border-top:1px solid var(--border)}.modal-footer .btn[data-v-7b59f0c8]{text-decoration:none}.device-panel-view[data-v-934be27f]{height:100%;display:flex;flex-direction:column;background:#000;position:relative;overflow:hidden}.fullscreen-fab[data-v-934be27f]{position:absolute;top:16px;right:16px;width:36px;height:36px;background:#00000080;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.1);border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:100;transition:all .2s;font-size:18px}.fullscreen-fab[data-v-934be27f]:hover{background:#000c;transform:scale(1.1)}.video-wrapper[data-v-934be27f]{flex:1;background:#000;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;min-height:0}.video-stream[data-v-934be27f]{max-width:100%;max-height:100%;object-fit:contain;touch-action:none}.panel-overlay[data-v-934be27f]{position:absolute;top:0;right:0;bottom:0;left:0;background:#000000d9;display:flex;align-items:center;justify-content:center;z-index:5}.overlay-box[data-v-934be27f]{text-align:center;padding:24px}.mini-spinner[data-v-934be27f]{width:24px;height:24px;border:2px solid rgba(255,255,255,.1);border-top-color:var(--accent);border-radius:50%;animation:spin-934be27f .8s linear infinite;margin:0 auto 12px}@keyframes spin-934be27f{to{transform:rotate(360deg)}}.error-msg[data-v-934be27f]{color:var(--accent);font-weight:600}.error-tip[data-v-934be27f]{font-size:12px;color:#999;margin:8px 0 16px}.retry-btn[data-v-934be27f]{background:var(--accent);color:#fff;border:none;padding:6px 16px;border-radius:4px;font-size:12px;cursor:pointer}.panel-footer-actions[data-v-934be27f]{display:flex;background:#111;padding:12px;gap:8px;border-top:1px solid var(--border)}.action-item[data-v-934be27f]{flex:1;background:#222;border:1px solid #333;color:#ccc;padding:10px 4px;border-radius:6px;font-size:11px;font-weight:600;cursor:pointer}.action-item[data-v-934be27f]:hover{background:#333;border-color:var(--accent);color:#fff}.action-item.danger[data-v-934be27f]:hover{background:#f8514933;border-color:var(--error);color:var(--error)}.console-drawer[data-v-934be27f]{position:absolute;bottom:64px;left:0;right:0;height:360px;background:#151515;border-top:2px solid var(--accent);display:flex;flex-direction:column;z-index:100;box-shadow:0 -10px 30px #0009}.console-header[data-v-934be27f]{background:#222;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #333}.console-tabs[data-v-934be27f]{display:flex}.console-tabs button[data-v-934be27f]{background:none;border:none;color:#666;padding:12px 16px;font-size:12px;cursor:pointer;border-bottom:2px solid transparent}.console-tabs button.active[data-v-934be27f]{color:var(--accent);border-bottom-color:var(--accent);background:#ffffff0d}.close-console[data-v-934be27f]{background:none;border:none;color:#555;cursor:pointer;font-size:18px;padding-right:16px}.console-history[data-v-934be27f]{flex:1;overflow-y:auto;padding:16px;font-family:Fira Code,Courier New,monospace;font-size:12px;background:#0a0a0a}.console-empty[data-v-934be27f]{color:#444;text-align:center;margin-top:40px}.log-item[data-v-934be27f]{margin-bottom:12px}.log-cmd[data-v-934be27f]{color:var(--accent);opacity:.8;font-weight:700}.log-out[data-v-934be27f]{white-space:pre-wrap;word-break:break-all;margin:4px 0 0;color:#eee;line-height:1.4}.log-item.error .log-out[data-v-934be27f]{color:#f55}.log-item.success .log-out[data-v-934be27f]{color:#50fa7b}.console-shortcuts[data-v-934be27f]{display:flex;padding:8px;gap:8px;background:#1a1a1a;overflow-x:auto;border-top:1px solid #333}.console-shortcuts button[data-v-934be27f]{background:#252525;border:1px solid #333;color:#999;padding:4px 10px;border-radius:4px;font-size:10px;white-space:nowrap;cursor:pointer}.console-shortcuts.danger[data-v-934be27f]{border-top:none;padding-top:0;padding-bottom:8px}.console-shortcuts .quit-btn[data-v-934be27f]{color:#f85149;border-color:#f851494d}.console-shortcuts .quit-btn[data-v-934be27f]:hover{background:#f851491a;border-color:#f85149}.console-input-group[data-v-934be27f]{display:flex;padding:10px;gap:8px;background:#222}.cmd-input[data-v-934be27f]{flex:1;background:#000;border:1px solid #444;color:#fff;padding:8px 12px;border-radius:4px;outline:none}.cmd-input[data-v-934be27f]:focus{border-color:var(--accent)}.send-btn[data-v-934be27f]{background:var(--accent);color:#fff;border:none;padding:0 16px;border-radius:4px;font-weight:600;cursor:pointer}.adb-container[data-v-934be27f]{flex:1;background:#000;position:relative;overflow:hidden}.adb-placeholder[data-v-934be27f]{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#666;text-align:center;padding:20px}.adb-connect-btn[data-v-934be27f]{background:var(--accent);color:#fff;border:none;padding:10px 20px;border-radius:6px;margin-bottom:12px;cursor:pointer;font-weight:600}
