File size: 2,875 Bytes
db14e6b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>matrixlab — a Hugging Face Space by ruslanmv</title>

<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet" />

<link rel="stylesheet" href="/static/space/hf-theme.css" />

<style>
  /* terminal cursor */
  @keyframes hfBlink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
  .hf-cursor { display: inline-block; width: 0.55em; height: 1.05em; background: #00ff66;
    vertical-align: text-bottom; animation: hfBlink 1.05s steps(1) infinite; box-shadow: 0 0 8px rgba(0,255,102,0.5); }
  @keyframes hfPing { 0% { transform: scale(1); opacity: 0.6; } 80%,100% { transform: scale(2.4); opacity: 0; } }

  /* dark scrollbar inside terminal */
  .hf-term-scroll::-webkit-scrollbar { width: 9px; }
  .hf-term-scroll::-webkit-scrollbar-thumb { background: rgba(0,255,102,0.2); border-radius: 99px; border: 2px solid transparent; background-clip: padding-box; }
  .hf-chip-row::-webkit-scrollbar { display: none; }
  .hf-chip-row { scrollbar-width: none; }

  @keyframes hfRise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
  .hf-app-wrap > * { animation: hfRise .4s cubic-bezier(.2,.8,.2,1) both; }

  /* Embedded mode: when opened inside a modal iframe (?embed=1), fill the
     frame with the dark console and drop the page chrome/margins. */
  html.embed, html.embed body { background: #000402; }
  html.embed .hf-app-wrap { padding: 0; max-width: none; }
  html.embed .hf-app-frame { border: none; border-radius: 0; box-shadow: none; }
  html.embed .hf-console { height: 100vh; }
</style>

<script>
  // Mark embedded mode early so the console fills the modal iframe cleanly.
  try { if (new URLSearchParams(location.search).get("embed")) document.documentElement.classList.add("embed"); } catch (e) {}
</script>

<script src="https://unpkg.com/react@18.3.1/umd/react.development.js" crossorigin="anonymous"></script>
<script src="https://unpkg.com/react-dom@18.3.1/umd/react-dom.development.js" crossorigin="anonymous"></script>
<script src="https://unpkg.com/@babel/standalone@7.29.0/babel.min.js" crossorigin="anonymous"></script>
</head>
<body>
  <div id="hf-root"></div>

  <script type="text/babel" src="/static/space/fx.jsx"></script>
  <script type="text/babel" src="/static/space/data.jsx"></script>
  <script type="text/babel" src="/static/space/sandbox.jsx"></script>
  <script type="text/babel" src="/static/space/hf-console.jsx"></script>
  <script type="text/babel" src="/static/space/hf-space.jsx"></script>
</body>
</html>