PageSourceSearch

https://beontime.io/c544bacb.js

js beontime.io collected 2026-10-02 01:57:18 UTC 1,519 bytes, 1 lines download raw bytes

1import{D as m,o as d}from"./70f4644c.js";import{M as f,r as b,P as g,ee as p,R as _,ef as h,w,o as y,E as k,n as v}from"./5068693f.js";import{a as B}from"./47978474.js";import"./8aefb7d6.js";const C={class:"full-page-terminal"},N=f({__name:"WebTerminal",setup(x){const n=b(null);let e;const o=new d,{data:c,send:a,close:i}=B();g(()=>{s(),p(n,()=>{l()})}),_(()=>{u()});function s(){e=new m({convertEol:!0,fontFamily:"Menlo, Monaco, 'SF Mono', 'Courier New', monospace",fontSize:15,fontWeight:400,cursorBlink:!0,scrollback:5e4,theme:{background:"#1d1f21",foreground:"#c5c8c6",cursor:"#c5c8c6",cursorAccent:"#1d1f21",selectionBackground:"rgba(255,255,255,0.18)",black:"#1d1f21",red:"#cc6666",green:"#b5bd68",yellow:"#f0c674",blue:"#81a2be",magenta:"#b294bb",cyan:"#8abeb7",white:"#c5c8c6",brightBlack:"#666666",brightRed:"#d54e53",brightGreen:"#b9ca4a",brightYellow:"#e7c547",brightBlue:"#7aa6da",brightMagenta:"#c397d8",brightCyan:"#70c0b1",brightWhite:"#eaeaea"}}),e.loadAddon(o),e.open(n.value),o.fit(),requestAnimationFrame(()=>{e?.focus()}),e.onData(t=>{a(JSON.stringify({action:"trmmcli.input",data:{input:t}}))})}const l=h(()=>{o.fit();const t={cols:e.cols,rows:e.rows};a(JSON.stringify({action:"trmmcli.resize",data:t}))},300);function u(){e.dispose(),i(),a(JSON.stringify({action:"trmmcli.disconnect"}))}return w(c,t=>{if(t.action==="trmmcli.output"){const r=t.data;e.write(r.output)}}),(t,r)=>(y(),k("div",C,[v("div",{ref_key:"xtermContainer",ref:n,class:"xterm-container"},null,512)]))}});export{N as default};

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.