most-box 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -4
- package/electron/main.js +31 -10
- package/out/404/index.html +2 -2
- package/out/404.html +2 -2
- package/out/__next.__PAGE__.txt +6 -6
- package/out/__next._full.txt +15 -15
- package/out/__next._head.txt +3 -3
- package/out/__next._index.txt +7 -7
- package/out/__next._tree.txt +4 -4
- package/out/_next/static/chunks/{0hpev4am9jpmu.css → 0.4ov9319fecg.css} +1 -1
- package/out/_next/static/chunks/0._8s6pbfw.xk.js +1 -0
- package/out/_next/static/chunks/02jvyg27pp0mz.js +1 -0
- package/out/_next/static/chunks/{0pt.5cg1t09qs.js → 08qqf0rsi3oot.js} +1 -1
- package/out/_next/static/chunks/{0adx~d-j05c9d.css → 09h7l4i38xc7q.css} +1 -1
- package/out/_next/static/chunks/09hqx79-jkvm_.css +1 -0
- package/out/_next/static/chunks/09vcm1ku9k7o8.js +1 -0
- package/out/_next/static/chunks/0c6e_d2jq179x.js +1 -0
- package/out/_next/static/chunks/0ccalho416.d7.js +1 -0
- package/out/_next/static/chunks/0exj_tg.ew-t3.js +1 -0
- package/out/_next/static/chunks/0f-wz5d~tv-r4.js +1 -0
- package/out/_next/static/chunks/0f0jhsujtf-61.js +1 -0
- package/out/_next/static/chunks/0ig8a4sazk3~2.css +1 -0
- package/out/_next/static/chunks/0iq1h7g4dudg8.js +1 -0
- package/out/_next/static/chunks/0knnzo9aih48r.js +1 -0
- package/out/_next/static/chunks/0nzyk~sg_tn._.js +1 -0
- package/out/_next/static/chunks/0w~2fjq86t7c7.css +1 -0
- package/out/_next/static/chunks/0xrqerhosrp9~.js +1 -0
- package/out/_next/static/chunks/14-fm9r_mom81.js +1 -0
- package/out/_next/static/chunks/14jhy~xia8lh8.js +1 -0
- package/out/_next/static/chunks/{turbopack-0xta0kqwzkf28.js → turbopack-05qngmxam3ar~.js} +1 -1
- package/out/_not-found/__next._full.txt +12 -12
- package/out/_not-found/__next._head.txt +3 -3
- package/out/_not-found/__next._index.txt +7 -7
- package/out/_not-found/__next._not-found.__PAGE__.txt +4 -4
- package/out/_not-found/__next._not-found.txt +3 -3
- package/out/_not-found/__next._tree.txt +2 -2
- package/out/_not-found/index.html +2 -2
- package/out/_not-found/index.txt +12 -12
- package/out/admin/__next._full.txt +14 -14
- package/out/admin/__next._head.txt +3 -3
- package/out/admin/__next._index.txt +7 -7
- package/out/admin/__next._tree.txt +3 -3
- package/out/admin/__next.admin.__PAGE__.txt +4 -4
- package/out/admin/__next.admin.txt +4 -4
- package/out/admin/index.html +2 -2
- package/out/admin/index.txt +14 -14
- package/out/app/__next._full.txt +13 -13
- package/out/app/__next._head.txt +3 -3
- package/out/app/__next._index.txt +7 -7
- package/out/app/__next._tree.txt +2 -2
- package/out/app/__next.app.__PAGE__.txt +4 -4
- package/out/app/__next.app.txt +3 -3
- package/out/app/index.html +2 -2
- package/out/app/index.txt +13 -13
- package/out/chat/__next._full.txt +14 -14
- package/out/chat/__next._head.txt +3 -3
- package/out/chat/__next._index.txt +7 -7
- package/out/chat/__next._tree.txt +3 -3
- package/out/chat/__next.chat.__PAGE__.txt +4 -4
- package/out/chat/__next.chat.txt +4 -4
- package/out/chat/index.html +2 -2
- package/out/chat/index.txt +14 -14
- package/out/chat/join/__next._full.txt +14 -14
- package/out/chat/join/__next._head.txt +3 -3
- package/out/chat/join/__next._index.txt +7 -7
- package/out/chat/join/__next._tree.txt +3 -3
- package/out/chat/join/__next.chat.join.__PAGE__.txt +4 -4
- package/out/chat/join/__next.chat.join.txt +3 -3
- package/out/chat/join/__next.chat.txt +4 -4
- package/out/chat/join/index.html +2 -2
- package/out/chat/join/index.txt +14 -14
- package/out/download/__next._full.txt +33 -35
- package/out/download/__next._head.txt +3 -3
- package/out/download/__next._index.txt +7 -7
- package/out/download/__next._tree.txt +3 -3
- package/out/download/__next.download.__PAGE__.txt +6 -6
- package/out/download/__next.download.txt +3 -3
- package/out/download/index.html +2 -2
- package/out/download/index.txt +33 -35
- package/out/favicon.ico +0 -0
- package/out/game/__next._full.txt +11 -11
- package/out/game/__next._head.txt +3 -3
- package/out/game/__next._index.txt +7 -7
- package/out/game/__next._tree.txt +2 -2
- package/out/game/__next.game.__PAGE__.txt +2 -2
- package/out/game/__next.game.txt +3 -3
- package/out/game/gandengyan/__next._full.txt +13 -13
- package/out/game/gandengyan/__next._head.txt +3 -3
- package/out/game/gandengyan/__next._index.txt +7 -7
- package/out/game/gandengyan/__next._tree.txt +2 -2
- package/out/game/gandengyan/__next.game.gandengyan.__PAGE__.txt +4 -4
- package/out/game/gandengyan/__next.game.gandengyan.txt +3 -3
- package/out/game/gandengyan/__next.game.txt +3 -3
- package/out/game/gandengyan/index.html +2 -2
- package/out/game/gandengyan/index.txt +13 -13
- package/out/game/index.html +1 -1
- package/out/game/index.txt +11 -11
- package/out/game/zhajinhua/__next._full.txt +13 -13
- package/out/game/zhajinhua/__next._head.txt +3 -3
- package/out/game/zhajinhua/__next._index.txt +7 -7
- package/out/game/zhajinhua/__next._tree.txt +2 -2
- package/out/game/zhajinhua/__next.game.txt +3 -3
- package/out/game/zhajinhua/__next.game.zhajinhua.__PAGE__.txt +4 -4
- package/out/game/zhajinhua/__next.game.zhajinhua.txt +3 -3
- package/out/game/zhajinhua/index.html +2 -2
- package/out/game/zhajinhua/index.txt +13 -13
- package/out/index.html +2 -2
- package/out/index.txt +15 -15
- package/out/logo-512.png +0 -0
- package/out/logo.ico +0 -0
- package/out/logo.svg +12 -0
- package/out/note/__next._full.txt +13 -13
- package/out/note/__next._head.txt +3 -3
- package/out/note/__next._index.txt +7 -7
- package/out/note/__next._tree.txt +2 -2
- package/out/note/__next.note.__PAGE__.txt +4 -4
- package/out/note/__next.note.txt +3 -3
- package/out/note/index.html +2 -2
- package/out/note/index.txt +13 -13
- package/out/ping/__next._full.txt +14 -14
- package/out/ping/__next._head.txt +3 -3
- package/out/ping/__next._index.txt +7 -7
- package/out/ping/__next._tree.txt +3 -3
- package/out/ping/__next.ping.__PAGE__.txt +5 -5
- package/out/ping/__next.ping.txt +3 -3
- package/out/ping/index.html +2 -2
- package/out/ping/index.txt +14 -14
- package/out/web3/__next._full.txt +13 -13
- package/out/web3/__next._head.txt +3 -3
- package/out/web3/__next._index.txt +7 -7
- package/out/web3/__next._tree.txt +2 -2
- package/out/web3/__next.web3.__PAGE__.txt +4 -4
- package/out/web3/__next.web3.txt +3 -3
- package/out/web3/ed25519/__next._full.txt +11 -11
- package/out/web3/ed25519/__next._head.txt +3 -3
- package/out/web3/ed25519/__next._index.txt +7 -7
- package/out/web3/ed25519/__next._tree.txt +2 -2
- package/out/web3/ed25519/__next.web3.ed25519.__PAGE__.txt +2 -2
- package/out/web3/ed25519/__next.web3.ed25519.txt +3 -3
- package/out/web3/ed25519/__next.web3.txt +3 -3
- package/out/web3/ed25519/index.html +1 -1
- package/out/web3/ed25519/index.txt +11 -11
- package/out/web3/index.html +2 -2
- package/out/web3/index.txt +13 -13
- package/out/web3/tools/__next._full.txt +11 -11
- package/out/web3/tools/__next._head.txt +3 -3
- package/out/web3/tools/__next._index.txt +7 -7
- package/out/web3/tools/__next._tree.txt +2 -2
- package/out/web3/tools/__next.web3.tools.__PAGE__.txt +2 -2
- package/out/web3/tools/__next.web3.tools.txt +3 -3
- package/out/web3/tools/__next.web3.txt +3 -3
- package/out/web3/tools/index.html +1 -1
- package/out/web3/tools/index.txt +11 -11
- package/package.json +5 -5
- package/public/favicon.ico +0 -0
- package/public/logo-512.png +0 -0
- package/public/logo.ico +0 -0
- package/public/logo.svg +12 -0
- package/server/src/games/gandengyan.js +9 -5
- package/server/src/http/app.js +15 -13
- package/server/src/http/uploads.js +1 -0
- package/server/src/index.js +266 -89
- package/server/src/utils/avatar.js +3 -2
- package/out/_next/static/chunks/03gsbg0fr00ey.js +0 -1
- package/out/_next/static/chunks/0ao1lbi4b.sfa.js +0 -1
- package/out/_next/static/chunks/0fo9-h4knidcz.js +0 -1
- package/out/_next/static/chunks/0g_a~e050bgzg.css +0 -1
- package/out/_next/static/chunks/0i9sfdypwuw8~.js +0 -1
- package/out/_next/static/chunks/0olqjomda37-e.js +0 -1
- package/out/_next/static/chunks/0puk.7e.tr2zy.js +0 -1
- package/out/_next/static/chunks/0qgx9t4jx16ua.css +0 -1
- package/out/_next/static/chunks/0s1k6rlwy02c2.js +0 -1
- package/out/_next/static/chunks/0sgltmtk_9s8p.css +0 -1
- package/out/_next/static/chunks/0snehvtvu1n4q.js +0 -1
- package/out/_next/static/chunks/0s~g.l~x049o2.js +0 -1
- package/out/_next/static/chunks/0u38kke9vhobe.js +0 -1
- package/out/_next/static/chunks/0vd4_a5x-wpdh.js +0 -1
- package/out/_next/static/chunks/10f-t2n4y1zx8.js +0 -1
- package/out/_next/static/chunks/13jdyag9a-~kk.js +0 -1
- package/out/_next/static/chunks/153-sz7s.qml2.js +0 -1
- package/out/_next/static/chunks/17cwkb2yn_akx.js +0 -1
- /package/out/_next/static/{sSvbBrwXZY-4lBmcHshga → 2smv1H9Y4Z2Ri-SL-UFgR}/_buildManifest.js +0 -0
- /package/out/_next/static/{sSvbBrwXZY-4lBmcHshga → 2smv1H9Y4Z2Ri-SL-UFgR}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{sSvbBrwXZY-4lBmcHshga → 2smv1H9Y4Z2Ri-SL-UFgR}/_ssgManifest.js +0 -0
- /package/out/{pwa-512x512.png → avatar.png} +0 -0
- /package/public/{pwa-512x512.png → avatar.png} +0 -0
package/README.md
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
[](LICENSE)
|
|
6
6
|
|
|
7
7
|
> P2P 文件分享应用。基于 Hyperswarm/Hyperdrive 的去中心化文件分发。
|
|
8
|
+
>
|
|
9
|
+
> CID 是 MostBox 的文件身份:发布、做种、发现、下载和校验都围绕 CID 进行。文件名和目录只用于展示与本地保存路径,不作为内容是否存在或是否可信的依据。
|
|
8
10
|
|
|
9
11
|
## 为什么用 MostBox?
|
|
10
12
|
|
|
@@ -36,7 +38,7 @@ npx most-box@latest
|
|
|
36
38
|
|
|
37
39
|
### 方式二:桌面客户端
|
|
38
40
|
|
|
39
|
-
前往 [Most.Box](https://Most.Box/download)
|
|
41
|
+
前往 [Most.Box](https://Most.Box/download) 下载客户端,支持 Windows、macOS 和 Linux。
|
|
40
42
|
|
|
41
43
|
## 需求
|
|
42
44
|
|
|
@@ -91,9 +93,10 @@ mostbox.example.com {
|
|
|
91
93
|
|
|
92
94
|
## 核心功能
|
|
93
95
|
|
|
94
|
-
1.
|
|
96
|
+
1. **CID 优先的 P2P 文件发布**
|
|
95
97
|
- 采用标准 IPFS UnixFS Chunking 算法计算 CID v1
|
|
96
98
|
- 相同文件生成一致的 CID 链接
|
|
99
|
+
- CID 决定做种 topic、Hyperdrive 存储 key 和下载校验结果;文件名变化不改变内容身份
|
|
97
100
|
|
|
98
101
|
2. **大文件流式传输**
|
|
99
102
|
- 支持 GB 级别超大文件的发布与下载
|
|
@@ -128,7 +131,7 @@ mostbox.example.com {
|
|
|
128
131
|
|
|
129
132
|
### most:// 链接是什么?
|
|
130
133
|
|
|
131
|
-
`most://` 是 MostBox
|
|
134
|
+
`most://` 是 MostBox 自定义的协议链接,完整格式为 `most://<cid>?filename=...`。CID 决定要下载和校验的内容;`filename` 只是建议展示名或本地保存路径。
|
|
132
135
|
|
|
133
136
|
### 支持大文件吗?
|
|
134
137
|
|
|
@@ -161,7 +164,7 @@ npx most-box
|
|
|
161
164
|
|
|
162
165
|
浏览器访问 `http://localhost:1976`,输入链接即可下载。
|
|
163
166
|
|
|
164
|
-
或者前往 [Most.Box](https://Most.Box/download)
|
|
167
|
+
或者前往 [Most.Box](https://Most.Box/download) 下载客户端。
|
|
165
168
|
|
|
166
169
|
## 路线图
|
|
167
170
|
|
package/electron/main.js
CHANGED
|
@@ -28,14 +28,35 @@ let tray = null
|
|
|
28
28
|
let isQuitting = false
|
|
29
29
|
let hasCheckedForUpdates = false
|
|
30
30
|
|
|
31
|
-
function
|
|
32
|
-
|
|
33
|
-
path.join(__dirname, '..', 'out', '
|
|
34
|
-
path.join(process.resourcesPath, 'app', 'out', '
|
|
35
|
-
path.join(__dirname, '..', 'public', '
|
|
31
|
+
function getIconCandidates() {
|
|
32
|
+
return [
|
|
33
|
+
path.join(__dirname, '..', 'out', 'logo.ico'),
|
|
34
|
+
path.join(process.resourcesPath, 'app', 'out', 'logo.ico'),
|
|
35
|
+
path.join(__dirname, '..', 'public', 'logo.ico'),
|
|
36
|
+
path.join(__dirname, '..', 'out', 'logo-512.png'),
|
|
37
|
+
path.join(process.resourcesPath, 'app', 'out', 'logo-512.png'),
|
|
38
|
+
path.join(__dirname, '..', 'public', 'logo-512.png'),
|
|
39
|
+
path.join(__dirname, '..', 'out', 'logo.svg'),
|
|
40
|
+
path.join(process.resourcesPath, 'app', 'out', 'logo.svg'),
|
|
41
|
+
path.join(__dirname, '..', 'public', 'logo.svg'),
|
|
36
42
|
]
|
|
43
|
+
}
|
|
37
44
|
|
|
38
|
-
|
|
45
|
+
function getIconPath() {
|
|
46
|
+
return getIconCandidates().find(candidate => fs.existsSync(candidate))
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function createNativeIcon() {
|
|
50
|
+
for (const candidate of getIconCandidates()) {
|
|
51
|
+
if (!fs.existsSync(candidate)) continue
|
|
52
|
+
|
|
53
|
+
const image = nativeImage.createFromPath(candidate)
|
|
54
|
+
if (!image.isEmpty()) {
|
|
55
|
+
return image
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
return nativeImage.createEmpty()
|
|
39
60
|
}
|
|
40
61
|
|
|
41
62
|
function showMainWindow() {
|
|
@@ -65,10 +86,7 @@ function createTray() {
|
|
|
65
86
|
return
|
|
66
87
|
}
|
|
67
88
|
|
|
68
|
-
|
|
69
|
-
const image = iconPath ? nativeImage.createFromPath(iconPath) : null
|
|
70
|
-
|
|
71
|
-
tray = new Tray(image && !image.isEmpty() ? image : nativeImage.createEmpty())
|
|
89
|
+
tray = new Tray(createNativeIcon())
|
|
72
90
|
tray.setToolTip('MostBox')
|
|
73
91
|
tray.setContextMenu(
|
|
74
92
|
Menu.buildFromTemplate([
|
|
@@ -82,6 +100,8 @@ function createTray() {
|
|
|
82
100
|
}
|
|
83
101
|
|
|
84
102
|
function createWindow() {
|
|
103
|
+
const iconPath = getIconPath()
|
|
104
|
+
|
|
85
105
|
mainWindow = new BrowserWindow({
|
|
86
106
|
width: 1200,
|
|
87
107
|
height: 800,
|
|
@@ -89,6 +109,7 @@ function createWindow() {
|
|
|
89
109
|
minHeight: 600,
|
|
90
110
|
title: 'MostBox',
|
|
91
111
|
autoHideMenuBar: true,
|
|
112
|
+
...(iconPath ? { icon: iconPath } : {}),
|
|
92
113
|
webPreferences: {
|
|
93
114
|
nodeIntegration: false,
|
|
94
115
|
contextIsolation: true,
|
package/out/404/index.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="zh-CN" data-scroll-behavior="smooth"><head><meta charSet="UTF-8"/><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/
|
|
1
|
+
<!DOCTYPE html><html lang="zh-CN" data-scroll-behavior="smooth"><head><meta charSet="UTF-8"/><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/09h7l4i38xc7q.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/chunks/0xdwau5k2augv.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/03edqrb4zdj~g.js"/><script src="/_next/static/chunks/08qqf0rsi3oot.js" async=""></script><script src="/_next/static/chunks/0gcsdf57gcm6h.js" async=""></script><script src="/_next/static/chunks/14_inksek_rth.js" async=""></script><script src="/_next/static/chunks/0pqt~8bl3ukh4.js" async=""></script><script src="/_next/static/chunks/turbopack-05qngmxam3ar~.js" async=""></script><script src="/_next/static/chunks/0ccalho416.d7.js" async=""></script><script src="/_next/static/chunks/14jhy~xia8lh8.js" async=""></script><script src="/_next/static/chunks/0t2xr05rlu96l.js" async=""></script><script src="/_next/static/chunks/02jvyg27pp0mz.js" async=""></script><meta name="robots" content="noindex"/><link rel="icon" href="/logo.svg" type="image/svg+xml"/><meta name="theme-color" content="#5e6ad2"/><title>MostBox</title><meta name="description" content="P2P 文件分享,无需注册"/><script>
|
|
2
2
|
(function() {
|
|
3
3
|
var theme = localStorage.getItem('theme');
|
|
4
4
|
if (theme === 'dark' || (!theme && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
|
|
@@ -12,4 +12,4 @@
|
|
|
12
12
|
window.onunhandledrejection = function(event) {
|
|
13
13
|
console.error('[Unhandled Promise Rejection]', event.reason);
|
|
14
14
|
};
|
|
15
|
-
</script><div class="not-found-page"><div class="not-found-card"><div class="not-found-icon"><svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-compass" aria-hidden="true"><circle cx="12" cy="12" r="10"></circle><path d="m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z"></path></svg></div><h1 class="not-found-title">页面未找到</h1><p class="not-found-desc">你访问的页面似乎已经迷失在 P2P 网络中了</p><div class="not-found-actions"><button class="btn btn-secondary"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-left" aria-hidden="true"><path d="m12 19-7-7 7-7"></path><path d="M19 12H5"></path></svg>上一页</button><a class="btn btn-primary" href="/"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-house" aria-hidden="true"><path d="M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8"></path><path d="M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path></svg>回首页</a></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/03edqrb4zdj~g.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[14232,[\"/_next/static/chunks/
|
|
15
|
+
</script><div class="not-found-page"><div class="not-found-card"><div class="not-found-icon"><svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-compass" aria-hidden="true"><circle cx="12" cy="12" r="10"></circle><path d="m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z"></path></svg></div><h1 class="not-found-title">页面未找到</h1><p class="not-found-desc">你访问的页面似乎已经迷失在 P2P 网络中了</p><div class="not-found-actions"><button class="btn btn-secondary"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-left" aria-hidden="true"><path d="m12 19-7-7 7-7"></path><path d="M19 12H5"></path></svg>上一页</button><a class="btn btn-primary" href="/"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-house" aria-hidden="true"><path d="M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8"></path><path d="M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path></svg>回首页</a></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/03edqrb4zdj~g.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[14232,[\"/_next/static/chunks/0ccalho416.d7.js\",\"/_next/static/chunks/14jhy~xia8lh8.js\",\"/_next/static/chunks/0t2xr05rlu96l.js\"],\"ErrorBoundary\"]\n3:I[52925,[\"/_next/static/chunks/0ccalho416.d7.js\",\"/_next/static/chunks/14jhy~xia8lh8.js\",\"/_next/static/chunks/0t2xr05rlu96l.js\"],\"default\"]\n4:I[39756,[\"/_next/static/chunks/0ccalho416.d7.js\",\"/_next/static/chunks/14jhy~xia8lh8.js\",\"/_next/static/chunks/0t2xr05rlu96l.js\"],\"default\"]\n5:I[37457,[\"/_next/static/chunks/0ccalho416.d7.js\",\"/_next/static/chunks/14jhy~xia8lh8.js\",\"/_next/static/chunks/0t2xr05rlu96l.js\"],\"default\"]\n6:I[36768,[\"/_next/static/chunks/0ccalho416.d7.js\",\"/_next/static/chunks/14jhy~xia8lh8.js\",\"/_next/static/chunks/0t2xr05rlu96l.js\",\"/_next/static/chunks/02jvyg27pp0mz.js\"],\"default\"]\n7:I[47257,[\"/_next/static/chunks/0ccalho416.d7.js\",\"/_next/static/chunks/14jhy~xia8lh8.js\",\"/_next/static/chunks/0t2xr05rlu96l.js\"],\"ClientPageRoot\"]\na:I[97367,[\"/_next/static/chunks/0ccalho416.d7.js\",\"/_next/static/chunks/14jhy~xia8lh8.js\",\"/_next/static/chunks/0t2xr05rlu96l.js\"],\"OutletBoundary\"]\nb:\"$Sreact.suspense\"\ne:I[97367,[\"/_next/static/chunks/0ccalho416.d7.js\",\"/_next/static/chunks/14jhy~xia8lh8.js\",\"/_next/static/chunks/0t2xr05rlu96l.js\"],\"ViewportBoundary\"]\n10:I[97367,[\"/_next/static/chunks/0ccalho416.d7.js\",\"/_next/static/chunks/14jhy~xia8lh8.js\",\"/_next/static/chunks/0t2xr05rlu96l.js\"],\"MetadataBoundary\"]\n12:I[68027,[\"/_next/static/chunks/0ccalho416.d7.js\",\"/_next/static/chunks/14jhy~xia8lh8.js\",\"/_next/static/chunks/0t2xr05rlu96l.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/09h7l4i38xc7q.css\",\"style\"]\n:HL[\"/_next/static/chunks/0xdwau5k2augv.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\",\"\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/09h7l4i38xc7q.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0xdwau5k2augv.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0ccalho416.d7.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/14jhy~xia8lh8.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/_next/static/chunks/0t2xr05rlu96l.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"zh-CN\",\"suppressHydrationWarning\":true,\"data-scroll-behavior\":\"smooth\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"meta\",null,{\"charSet\":\"UTF-8\"}],[\"$\",\"meta\",null,{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1.0\"}],[\"$\",\"link\",null,{\"rel\":\"icon\",\"href\":\"/logo.svg\",\"type\":\"image/svg+xml\"}],[\"$\",\"meta\",null,{\"name\":\"theme-color\",\"content\":\"#5e6ad2\"}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"\\n (function() {\\n var theme = localStorage.getItem('theme');\\n if (theme === 'dark' || (!theme \u0026\u0026 window.matchMedia('(prefers-color-scheme: dark)').matches)) {\\n document.documentElement.setAttribute('data-theme', 'dark');\\n }\\n })();\\n \"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"children\":[[\"$\",\"$L3\",null,{}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"\\n window.onerror = function(message, source, lineno, colno, error) {\\n console.error('[Global Error]', { message, source, lineno, colno, error });\\n };\\n window.onunhandledrejection = function(event) {\\n console.error('[Unhandled Promise Rejection]', event.reason);\\n };\\n \"}}],[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"$L6\",null,{}],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]}]]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L7\",null,{\"Component\":\"$6\",\"serverProvidedParams\":{\"searchParams\":{},\"params\":{},\"promises\":[\"$@8\",\"$@9\"]}}],[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/02jvyg27pp0mz.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$La\",null,{\"children\":[\"$\",\"$b\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@c\"}]}]]}],{},null,false,null]},null,false,\"$@d\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$Le\",null,{\"children\":\"$Lf\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L10\",null,{\"children\":[\"$\",\"$b\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L11\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$12\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/09h7l4i38xc7q.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0xdwau5k2augv.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"2smv1H9Y4Z2Ri-SL-UFgR\"}\n"])</script><script>self.__next_f.push([1,"13:[]\nd:\"$W13\"\n8:{}\n9:\"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params\"\n"])</script><script>self.__next_f.push([1,"f:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"c:null\n11:[[\"$\",\"title\",\"0\",{\"children\":\"MostBox\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"P2P 文件分享,无需注册\"}]]\n"])</script></body></html>
|
package/out/404.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="zh-CN" data-scroll-behavior="smooth"><head><meta charSet="UTF-8"/><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/
|
|
1
|
+
<!DOCTYPE html><html lang="zh-CN" data-scroll-behavior="smooth"><head><meta charSet="UTF-8"/><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/09h7l4i38xc7q.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/chunks/0xdwau5k2augv.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/03edqrb4zdj~g.js"/><script src="/_next/static/chunks/08qqf0rsi3oot.js" async=""></script><script src="/_next/static/chunks/0gcsdf57gcm6h.js" async=""></script><script src="/_next/static/chunks/14_inksek_rth.js" async=""></script><script src="/_next/static/chunks/0pqt~8bl3ukh4.js" async=""></script><script src="/_next/static/chunks/turbopack-05qngmxam3ar~.js" async=""></script><script src="/_next/static/chunks/0ccalho416.d7.js" async=""></script><script src="/_next/static/chunks/14jhy~xia8lh8.js" async=""></script><script src="/_next/static/chunks/0t2xr05rlu96l.js" async=""></script><script src="/_next/static/chunks/02jvyg27pp0mz.js" async=""></script><meta name="robots" content="noindex"/><link rel="icon" href="/logo.svg" type="image/svg+xml"/><meta name="theme-color" content="#5e6ad2"/><title>MostBox</title><meta name="description" content="P2P 文件分享,无需注册"/><script>
|
|
2
2
|
(function() {
|
|
3
3
|
var theme = localStorage.getItem('theme');
|
|
4
4
|
if (theme === 'dark' || (!theme && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
|
|
@@ -12,4 +12,4 @@
|
|
|
12
12
|
window.onunhandledrejection = function(event) {
|
|
13
13
|
console.error('[Unhandled Promise Rejection]', event.reason);
|
|
14
14
|
};
|
|
15
|
-
</script><div class="not-found-page"><div class="not-found-card"><div class="not-found-icon"><svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-compass" aria-hidden="true"><circle cx="12" cy="12" r="10"></circle><path d="m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z"></path></svg></div><h1 class="not-found-title">页面未找到</h1><p class="not-found-desc">你访问的页面似乎已经迷失在 P2P 网络中了</p><div class="not-found-actions"><button class="btn btn-secondary"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-left" aria-hidden="true"><path d="m12 19-7-7 7-7"></path><path d="M19 12H5"></path></svg>上一页</button><a class="btn btn-primary" href="/"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-house" aria-hidden="true"><path d="M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8"></path><path d="M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path></svg>回首页</a></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/03edqrb4zdj~g.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[14232,[\"/_next/static/chunks/
|
|
15
|
+
</script><div class="not-found-page"><div class="not-found-card"><div class="not-found-icon"><svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-compass" aria-hidden="true"><circle cx="12" cy="12" r="10"></circle><path d="m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z"></path></svg></div><h1 class="not-found-title">页面未找到</h1><p class="not-found-desc">你访问的页面似乎已经迷失在 P2P 网络中了</p><div class="not-found-actions"><button class="btn btn-secondary"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-left" aria-hidden="true"><path d="m12 19-7-7 7-7"></path><path d="M19 12H5"></path></svg>上一页</button><a class="btn btn-primary" href="/"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-house" aria-hidden="true"><path d="M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8"></path><path d="M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path></svg>回首页</a></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/03edqrb4zdj~g.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[14232,[\"/_next/static/chunks/0ccalho416.d7.js\",\"/_next/static/chunks/14jhy~xia8lh8.js\",\"/_next/static/chunks/0t2xr05rlu96l.js\"],\"ErrorBoundary\"]\n3:I[52925,[\"/_next/static/chunks/0ccalho416.d7.js\",\"/_next/static/chunks/14jhy~xia8lh8.js\",\"/_next/static/chunks/0t2xr05rlu96l.js\"],\"default\"]\n4:I[39756,[\"/_next/static/chunks/0ccalho416.d7.js\",\"/_next/static/chunks/14jhy~xia8lh8.js\",\"/_next/static/chunks/0t2xr05rlu96l.js\"],\"default\"]\n5:I[37457,[\"/_next/static/chunks/0ccalho416.d7.js\",\"/_next/static/chunks/14jhy~xia8lh8.js\",\"/_next/static/chunks/0t2xr05rlu96l.js\"],\"default\"]\n6:I[36768,[\"/_next/static/chunks/0ccalho416.d7.js\",\"/_next/static/chunks/14jhy~xia8lh8.js\",\"/_next/static/chunks/0t2xr05rlu96l.js\",\"/_next/static/chunks/02jvyg27pp0mz.js\"],\"default\"]\n7:I[47257,[\"/_next/static/chunks/0ccalho416.d7.js\",\"/_next/static/chunks/14jhy~xia8lh8.js\",\"/_next/static/chunks/0t2xr05rlu96l.js\"],\"ClientPageRoot\"]\na:I[97367,[\"/_next/static/chunks/0ccalho416.d7.js\",\"/_next/static/chunks/14jhy~xia8lh8.js\",\"/_next/static/chunks/0t2xr05rlu96l.js\"],\"OutletBoundary\"]\nb:\"$Sreact.suspense\"\ne:I[97367,[\"/_next/static/chunks/0ccalho416.d7.js\",\"/_next/static/chunks/14jhy~xia8lh8.js\",\"/_next/static/chunks/0t2xr05rlu96l.js\"],\"ViewportBoundary\"]\n10:I[97367,[\"/_next/static/chunks/0ccalho416.d7.js\",\"/_next/static/chunks/14jhy~xia8lh8.js\",\"/_next/static/chunks/0t2xr05rlu96l.js\"],\"MetadataBoundary\"]\n12:I[68027,[\"/_next/static/chunks/0ccalho416.d7.js\",\"/_next/static/chunks/14jhy~xia8lh8.js\",\"/_next/static/chunks/0t2xr05rlu96l.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/09h7l4i38xc7q.css\",\"style\"]\n:HL[\"/_next/static/chunks/0xdwau5k2augv.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\",\"\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/09h7l4i38xc7q.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0xdwau5k2augv.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0ccalho416.d7.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/14jhy~xia8lh8.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/_next/static/chunks/0t2xr05rlu96l.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"zh-CN\",\"suppressHydrationWarning\":true,\"data-scroll-behavior\":\"smooth\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"meta\",null,{\"charSet\":\"UTF-8\"}],[\"$\",\"meta\",null,{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1.0\"}],[\"$\",\"link\",null,{\"rel\":\"icon\",\"href\":\"/logo.svg\",\"type\":\"image/svg+xml\"}],[\"$\",\"meta\",null,{\"name\":\"theme-color\",\"content\":\"#5e6ad2\"}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"\\n (function() {\\n var theme = localStorage.getItem('theme');\\n if (theme === 'dark' || (!theme \u0026\u0026 window.matchMedia('(prefers-color-scheme: dark)').matches)) {\\n document.documentElement.setAttribute('data-theme', 'dark');\\n }\\n })();\\n \"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"children\":[[\"$\",\"$L3\",null,{}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"\\n window.onerror = function(message, source, lineno, colno, error) {\\n console.error('[Global Error]', { message, source, lineno, colno, error });\\n };\\n window.onunhandledrejection = function(event) {\\n console.error('[Unhandled Promise Rejection]', event.reason);\\n };\\n \"}}],[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"$L6\",null,{}],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]}]]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L7\",null,{\"Component\":\"$6\",\"serverProvidedParams\":{\"searchParams\":{},\"params\":{},\"promises\":[\"$@8\",\"$@9\"]}}],[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/02jvyg27pp0mz.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$La\",null,{\"children\":[\"$\",\"$b\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@c\"}]}]]}],{},null,false,null]},null,false,\"$@d\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$Le\",null,{\"children\":\"$Lf\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L10\",null,{\"children\":[\"$\",\"$b\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L11\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$12\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/09h7l4i38xc7q.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0xdwau5k2augv.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"2smv1H9Y4Z2Ri-SL-UFgR\"}\n"])</script><script>self.__next_f.push([1,"13:[]\nd:\"$W13\"\n8:{}\n9:\"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params\"\n"])</script><script>self.__next_f.push([1,"f:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"c:null\n11:[[\"$\",\"title\",\"0\",{\"children\":\"MostBox\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"P2P 文件分享,无需注册\"}]]\n"])</script></body></html>
|
package/out/__next.__PAGE__.txt
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:I[47257,["/_next/static/chunks/
|
|
3
|
-
3:I[31713,["/_next/static/chunks/
|
|
4
|
-
6:I[97367,["/_next/static/chunks/
|
|
2
|
+
2:I[47257,["/_next/static/chunks/0ccalho416.d7.js","/_next/static/chunks/14jhy~xia8lh8.js","/_next/static/chunks/0t2xr05rlu96l.js"],"ClientPageRoot"]
|
|
3
|
+
3:I[31713,["/_next/static/chunks/0ccalho416.d7.js","/_next/static/chunks/14jhy~xia8lh8.js","/_next/static/chunks/0t2xr05rlu96l.js","/_next/static/chunks/0nzyk~sg_tn._.js"],"default"]
|
|
4
|
+
6:I[97367,["/_next/static/chunks/0ccalho416.d7.js","/_next/static/chunks/14jhy~xia8lh8.js","/_next/static/chunks/0t2xr05rlu96l.js"],"OutletBoundary"]
|
|
5
5
|
7:"$Sreact.suspense"
|
|
6
|
-
:HL["/_next/static/chunks/
|
|
7
|
-
:HL["/_next/static/chunks/
|
|
8
|
-
0:{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/
|
|
6
|
+
:HL["/_next/static/chunks/09hqx79-jkvm_.css","style"]
|
|
7
|
+
:HL["/_next/static/chunks/0w~2fjq86t7c7.css","style"]
|
|
8
|
+
0:{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/09hqx79-jkvm_.css","precedence":"next"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/0w~2fjq86t7c7.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0nzyk~sg_tn._.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"2smv1H9Y4Z2Ri-SL-UFgR"}
|
|
9
9
|
4:{}
|
|
10
10
|
5:"$0:rsc:props:children:0:props:serverProvidedParams:params"
|
|
11
11
|
8:null
|
package/out/__next._full.txt
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:I[14232,["/_next/static/chunks/
|
|
3
|
-
3:I[52925,["/_next/static/chunks/
|
|
4
|
-
4:I[39756,["/_next/static/chunks/
|
|
5
|
-
5:I[37457,["/_next/static/chunks/
|
|
6
|
-
6:I[36768,["/_next/static/chunks/
|
|
7
|
-
7:I[47257,["/_next/static/chunks/
|
|
8
|
-
8:I[31713,["/_next/static/chunks/
|
|
9
|
-
b:I[97367,["/_next/static/chunks/
|
|
2
|
+
2:I[14232,["/_next/static/chunks/0ccalho416.d7.js","/_next/static/chunks/14jhy~xia8lh8.js","/_next/static/chunks/0t2xr05rlu96l.js"],"ErrorBoundary"]
|
|
3
|
+
3:I[52925,["/_next/static/chunks/0ccalho416.d7.js","/_next/static/chunks/14jhy~xia8lh8.js","/_next/static/chunks/0t2xr05rlu96l.js"],"default"]
|
|
4
|
+
4:I[39756,["/_next/static/chunks/0ccalho416.d7.js","/_next/static/chunks/14jhy~xia8lh8.js","/_next/static/chunks/0t2xr05rlu96l.js"],"default"]
|
|
5
|
+
5:I[37457,["/_next/static/chunks/0ccalho416.d7.js","/_next/static/chunks/14jhy~xia8lh8.js","/_next/static/chunks/0t2xr05rlu96l.js"],"default"]
|
|
6
|
+
6:I[36768,["/_next/static/chunks/0ccalho416.d7.js","/_next/static/chunks/14jhy~xia8lh8.js","/_next/static/chunks/0t2xr05rlu96l.js","/_next/static/chunks/02jvyg27pp0mz.js"],"default"]
|
|
7
|
+
7:I[47257,["/_next/static/chunks/0ccalho416.d7.js","/_next/static/chunks/14jhy~xia8lh8.js","/_next/static/chunks/0t2xr05rlu96l.js"],"ClientPageRoot"]
|
|
8
|
+
8:I[31713,["/_next/static/chunks/0ccalho416.d7.js","/_next/static/chunks/14jhy~xia8lh8.js","/_next/static/chunks/0t2xr05rlu96l.js","/_next/static/chunks/0nzyk~sg_tn._.js"],"default"]
|
|
9
|
+
b:I[97367,["/_next/static/chunks/0ccalho416.d7.js","/_next/static/chunks/14jhy~xia8lh8.js","/_next/static/chunks/0t2xr05rlu96l.js"],"OutletBoundary"]
|
|
10
10
|
c:"$Sreact.suspense"
|
|
11
|
-
e:I[97367,["/_next/static/chunks/
|
|
12
|
-
10:I[97367,["/_next/static/chunks/
|
|
13
|
-
12:I[68027,["/_next/static/chunks/
|
|
14
|
-
:HL["/_next/static/chunks/
|
|
11
|
+
e:I[97367,["/_next/static/chunks/0ccalho416.d7.js","/_next/static/chunks/14jhy~xia8lh8.js","/_next/static/chunks/0t2xr05rlu96l.js"],"ViewportBoundary"]
|
|
12
|
+
10:I[97367,["/_next/static/chunks/0ccalho416.d7.js","/_next/static/chunks/14jhy~xia8lh8.js","/_next/static/chunks/0t2xr05rlu96l.js"],"MetadataBoundary"]
|
|
13
|
+
12:I[68027,["/_next/static/chunks/0ccalho416.d7.js","/_next/static/chunks/14jhy~xia8lh8.js","/_next/static/chunks/0t2xr05rlu96l.js"],"default",1]
|
|
14
|
+
:HL["/_next/static/chunks/09h7l4i38xc7q.css","style"]
|
|
15
15
|
:HL["/_next/static/chunks/0xdwau5k2augv.css","style"]
|
|
16
16
|
:HC["/",""]
|
|
17
|
-
:HL["/_next/static/chunks/
|
|
18
|
-
:HL["/_next/static/chunks/
|
|
19
|
-
0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/
|
|
17
|
+
:HL["/_next/static/chunks/09hqx79-jkvm_.css","style"]
|
|
18
|
+
:HL["/_next/static/chunks/0w~2fjq86t7c7.css","style"]
|
|
19
|
+
0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/09h7l4i38xc7q.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/0xdwau5k2augv.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0ccalho416.d7.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/14jhy~xia8lh8.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/0t2xr05rlu96l.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"zh-CN","suppressHydrationWarning":true,"data-scroll-behavior":"smooth","children":[["$","head",null,{"children":[["$","meta",null,{"charSet":"UTF-8"}],["$","meta",null,{"name":"viewport","content":"width=device-width, initial-scale=1.0"}],["$","link",null,{"rel":"icon","href":"/logo.svg","type":"image/svg+xml"}],["$","meta",null,{"name":"theme-color","content":"#5e6ad2"}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"\n (function() {\n var theme = localStorage.getItem('theme');\n if (theme === 'dark' || (!theme && window.matchMedia('(prefers-color-scheme: dark)').matches)) {\n document.documentElement.setAttribute('data-theme', 'dark');\n }\n })();\n "}}]]}],["$","body",null,{"children":["$","$L2",null,{"children":[["$","$L3",null,{}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"\n window.onerror = function(message, source, lineno, colno, error) {\n console.error('[Global Error]', { message, source, lineno, colno, error });\n };\n window.onunhandledrejection = function(event) {\n console.error('[Unhandled Promise Rejection]', event.reason);\n };\n "}}],["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","$L6",null,{}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]]}]}]]}]]}],{"children":[["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@9","$@a"]}}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/09hqx79-jkvm_.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/0w~2fjq86t7c7.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0nzyk~sg_tn._.js","async":true,"nonce":"$undefined"}]],["$","$Lb",null,{"children":["$","$c",null,{"name":"Next.MetadataOutlet","children":"$@d"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Le",null,{"children":"$Lf"}],["$","div",null,{"hidden":true,"children":["$","$L10",null,{"children":["$","$c",null,{"name":"Next.Metadata","children":"$L11"}]}]}],null]}],false]],"m":"$undefined","G":["$12",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/09h7l4i38xc7q.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/0xdwau5k2augv.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"2smv1H9Y4Z2Ri-SL-UFgR"}
|
|
20
20
|
9:{}
|
|
21
21
|
a:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params"
|
|
22
22
|
f:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
package/out/__next._head.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:I[97367,["/_next/static/chunks/
|
|
3
|
-
3:I[97367,["/_next/static/chunks/
|
|
2
|
+
2:I[97367,["/_next/static/chunks/0ccalho416.d7.js","/_next/static/chunks/14jhy~xia8lh8.js","/_next/static/chunks/0t2xr05rlu96l.js"],"ViewportBoundary"]
|
|
3
|
+
3:I[97367,["/_next/static/chunks/0ccalho416.d7.js","/_next/static/chunks/14jhy~xia8lh8.js","/_next/static/chunks/0t2xr05rlu96l.js"],"MetadataBoundary"]
|
|
4
4
|
4:"$Sreact.suspense"
|
|
5
|
-
0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"MostBox"}],["$","meta","1",{"name":"description","content":"P2P 文件分享,无需注册"}]]}]}]}],null]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"
|
|
5
|
+
0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"MostBox"}],["$","meta","1",{"name":"description","content":"P2P 文件分享,无需注册"}]]}]}]}],null]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"2smv1H9Y4Z2Ri-SL-UFgR"}
|
package/out/__next._index.txt
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:I[14232,["/_next/static/chunks/
|
|
3
|
-
3:I[52925,["/_next/static/chunks/
|
|
4
|
-
4:I[39756,["/_next/static/chunks/
|
|
5
|
-
5:I[37457,["/_next/static/chunks/
|
|
6
|
-
6:I[36768,["/_next/static/chunks/
|
|
7
|
-
:HL["/_next/static/chunks/
|
|
2
|
+
2:I[14232,["/_next/static/chunks/0ccalho416.d7.js","/_next/static/chunks/14jhy~xia8lh8.js","/_next/static/chunks/0t2xr05rlu96l.js"],"ErrorBoundary"]
|
|
3
|
+
3:I[52925,["/_next/static/chunks/0ccalho416.d7.js","/_next/static/chunks/14jhy~xia8lh8.js","/_next/static/chunks/0t2xr05rlu96l.js"],"default"]
|
|
4
|
+
4:I[39756,["/_next/static/chunks/0ccalho416.d7.js","/_next/static/chunks/14jhy~xia8lh8.js","/_next/static/chunks/0t2xr05rlu96l.js"],"default"]
|
|
5
|
+
5:I[37457,["/_next/static/chunks/0ccalho416.d7.js","/_next/static/chunks/14jhy~xia8lh8.js","/_next/static/chunks/0t2xr05rlu96l.js"],"default"]
|
|
6
|
+
6:I[36768,["/_next/static/chunks/0ccalho416.d7.js","/_next/static/chunks/14jhy~xia8lh8.js","/_next/static/chunks/0t2xr05rlu96l.js","/_next/static/chunks/02jvyg27pp0mz.js"],"default"]
|
|
7
|
+
:HL["/_next/static/chunks/09h7l4i38xc7q.css","style"]
|
|
8
8
|
:HL["/_next/static/chunks/0xdwau5k2augv.css","style"]
|
|
9
|
-
0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/
|
|
9
|
+
0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/09h7l4i38xc7q.css","precedence":"next"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/chunks/0xdwau5k2augv.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0ccalho416.d7.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/14jhy~xia8lh8.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/0t2xr05rlu96l.js","async":true}]],["$","html",null,{"lang":"zh-CN","suppressHydrationWarning":true,"data-scroll-behavior":"smooth","children":[["$","head",null,{"children":[["$","meta",null,{"charSet":"UTF-8"}],["$","meta",null,{"name":"viewport","content":"width=device-width, initial-scale=1.0"}],["$","link",null,{"rel":"icon","href":"/logo.svg","type":"image/svg+xml"}],["$","meta",null,{"name":"theme-color","content":"#5e6ad2"}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"\n (function() {\n var theme = localStorage.getItem('theme');\n if (theme === 'dark' || (!theme && window.matchMedia('(prefers-color-scheme: dark)').matches)) {\n document.documentElement.setAttribute('data-theme', 'dark');\n }\n })();\n "}}]]}],["$","body",null,{"children":["$","$L2",null,{"children":[["$","$L3",null,{}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"\n window.onerror = function(message, source, lineno, colno, error) {\n console.error('[Global Error]', { message, source, lineno, colno, error });\n };\n window.onunhandledrejection = function(event) {\n console.error('[Unhandled Promise Rejection]', event.reason);\n };\n "}}],["$","$L4",null,{"parallelRouterKey":"children","template":["$","$L5",null,{}],"notFound":[["$","$L6",null,{}],[]]}]]}]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"2smv1H9Y4Z2Ri-SL-UFgR"}
|
package/out/__next._tree.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
:HL["/_next/static/chunks/
|
|
1
|
+
:HL["/_next/static/chunks/09h7l4i38xc7q.css","style"]
|
|
2
2
|
:HL["/_next/static/chunks/0xdwau5k2augv.css","style"]
|
|
3
3
|
:HC["/",""]
|
|
4
|
-
:HL["/_next/static/chunks/
|
|
5
|
-
:HL["/_next/static/chunks/
|
|
6
|
-
0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}},"staleTime":300,"buildId":"
|
|
4
|
+
:HL["/_next/static/chunks/09hqx79-jkvm_.css","style"]
|
|
5
|
+
:HL["/_next/static/chunks/0w~2fjq86t7c7.css","style"]
|
|
6
|
+
0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}},"staleTime":300,"buildId":"2smv1H9Y4Z2Ri-SL-UFgR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[data-theme=dark]{--chat-bg-secondary:#1c1c1e99;--chat-bg-tertiary:#2c2c2e66;--chat-border:#ffffff14}.chat-messages{background:0 0;flex-direction:column;flex:1;gap:16px;padding:20px 24px;display:flex;overflow-y:auto}.chat-messages-empty{color:var(--text-muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;display:flex}.chat-messages-empty .empty-icon{border-radius:var(--radius-lg);background:var(--glass-bg-subtle);width:64px;height:64px;-webkit-backdrop-filter:var(--blur-md);border:1px solid var(--glass-border);color:var(--text-muted);justify-content:center;align-items:center;display:flex}.chat-messages-empty p{font-size:14px}.chat-message{align-items:flex-start;gap:10px;max-width:70%;animation:.25s fadeIn;display:flex}.chat-message.self{flex-direction:row-reverse;align-self:flex-end}.chat-message.self .msg-content{align-items:flex-end}.chat-message.self .message-bubble{background:linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 75%, var(--info)));color:#fff;border:1px solid #ffffff1a;border-radius:18px 4px 18px 18px;box-shadow:0 4px 16px #5e6ad240}.chat-message.self .message-author{color:var(--accent)}.chat-message.self .message-time{color:var(--text-muted)}.chat-message.other{align-self:flex-start}.chat-message.other .msg-content{align-items:flex-start}.chat-message.other .message-bubble{background:var(--glass-bg);-webkit-backdrop-filter:var(--blur-md);border:1px solid var(--glass-border);box-shadow:var(--glass-shadow), var(--glass-shadow-inset);border-radius:4px 18px 18px}.chat-message .msg-avatar{flex-shrink:0}.chat-message .msg-content{flex-direction:column;gap:4px;max-width:100%;display:flex}.chat-message .message-author{color:var(--text-muted);font-size:11px;font-weight:500}.chat-message .message-bubble{word-break:break-word;padding:10px 14px;font-size:14px;line-height:1.5}.chat-message .message-bubble.has-attachment{box-shadow:none;color:var(--text-primary);background:0 0;border:none;padding:0}.chat-message .message-time{color:var(--text-muted);opacity:.7;font-size:10px}.chat-message.pending .message-bubble{opacity:.6}.chat-attachment-card{border:1px solid var(--glass-border);border-radius:var(--radius-md);background:var(--glass-bg-heavy);width:min(320px,68vw);min-height:64px;color:var(--text-primary);cursor:pointer;text-align:left;box-shadow:var(--glass-shadow), var(--glass-shadow-inset);transition:all var(--transition-fast);grid-template-columns:42px minmax(0,1fr) 44px;align-items:center;gap:10px;padding:10px;display:grid}.chat-attachment-card:hover:not(:disabled){border-color:var(--accent);transform:translateY(-1px);box-shadow:0 6px 18px #5e6ad229}.chat-attachment-card:disabled{cursor:progress;opacity:.75}.chat-message.self .chat-attachment-card{background:color-mix(in srgb, var(--accent) 12%, var(--glass-bg-heavy));border-color:color-mix(in srgb, var(--accent) 35%, var(--glass-border))}.chat-attachment-icon{border-radius:var(--radius-md);background:var(--accent-soft);width:42px;height:42px;color:var(--accent);justify-content:center;align-items:center;display:flex}.chat-attachment-icon.image{color:var(--success)}.chat-attachment-icon.video{color:var(--danger)}.chat-attachment-icon.audio{color:var(--info)}.chat-attachment-info{flex-direction:column;gap:4px;min-width:0;display:flex}.chat-attachment-name{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.chat-attachment-meta{color:var(--text-muted);font-size:11px}.chat-attachment-action{min-width:0;color:var(--text-secondary);white-space:nowrap;justify-content:center;align-items:center;font-size:12px;display:flex}.chat-attachment-spinner{animation:.8s linear infinite spin}.chat-input-area{border-top:1px solid var(--glass-border);background:var(--glass-bg);-webkit-backdrop-filter:var(--blur-xl);gap:12px;padding:16px 24px;display:flex}.chat-input-area .chat-file-input{display:none}.chat-input-area .chat-tool-btn{border:1px solid var(--glass-border);background:var(--glass-bg-subtle);width:44px;height:44px;color:var(--text-secondary);cursor:pointer;transition:all var(--transition-fast);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:flex}.chat-input-area .chat-tool-btn:hover:not(:disabled){color:var(--accent);border-color:var(--accent);transform:scale(1.05)}.chat-input-area .chat-tool-btn:disabled{opacity:.5;cursor:not-allowed}.chat-input-area .input-pill{flex:1;min-width:0}.chat-input-area .send-btn{border:1px solid var(--glass-border);background:var(--accent);color:#fff;cursor:pointer;width:44px;height:44px;transition:all var(--transition-fast);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:flex}.chat-input-area .send-btn:hover:not(:disabled){background:var(--accent-hover);transform:scale(1.05);box-shadow:0 4px 16px #5e6ad24d}.chat-input-area .send-btn:disabled{opacity:.5;cursor:not-allowed}.chat-welcome{text-align:center;background:0 0;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:40px;display:flex}.chat-welcome .welcome-icon{border-radius:var(--radius-xl);background:var(--glass-bg-heavy);width:80px;height:80px;-webkit-backdrop-filter:var(--blur-2xl);border:1px solid var(--glass-border);color:var(--accent);box-shadow:var(--glass-shadow-lg), var(--glass-shadow-inset);justify-content:center;align-items:center;margin-bottom:20px;display:flex}.chat-welcome h2{margin-bottom:8px;font-size:22px;font-weight:700}.chat-welcome p{color:var(--text-secondary);max-width:320px;font-size:14px;line-height:1.6}.create-channel-btn{border-radius:var(--radius-md);border:1.5px dashed var(--glass-border);background:var(--glass-bg-subtle);color:var(--text-secondary);cursor:pointer;transition:all var(--transition);justify-content:center;align-items:center;gap:6px;margin:8px;padding:10px;font-size:13px;font-weight:500;display:flex}.create-channel-btn:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.peer-info{color:var(--text-secondary);align-items:center;gap:8px;font-size:11px;display:flex}.peer-info .peer-dot{background:var(--success);border-radius:50%;width:6px;height:6px}.peer-info .peer-id{font-family:var(--font-mono);text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.leave-channel-btn{opacity:0;color:var(--text-muted);cursor:pointer;border-radius:var(--radius-sm);transition:all var(--transition-fast);background:0 0;border:none;justify-content:center;align-items:center;margin-left:auto;padding:4px;display:flex}.sidebar-nav-btn:hover .leave-channel-btn{opacity:1}.leave-channel-btn:hover{color:var(--danger);background:#ff3b301a}.chat-sidebar-overlay{display:none}@media (max-width:768px){.chat-sidebar{z-index:50;transition:left var(--transition);position:fixed;top:0;bottom:0;left:-240px}.chat-sidebar.open{left:0}.chat-sidebar-overlay{z-index:40;opacity:0;pointer-events:none;transition:opacity var(--transition);background:#0006;display:block;position:fixed;inset:0}.chat-sidebar-overlay.visible{opacity:1;pointer-events:auto}.chat-messages{padding:16px}.chat-message{max-width:85%}.chat-input-area{padding:12px 16px}.sidebar-nav-btn .leave-channel-btn{opacity:1}}.channel-detail-overlay{z-index:100;background:#0000004d;justify-content:flex-end;animation:.2s fadeIn;display:flex;position:fixed;inset:0}.channel-detail-drawer{background:var(--glass-bg-heavy);width:320px;max-width:90vw;height:100%;-webkit-backdrop-filter:var(--blur-2xl);border-left:1px solid var(--glass-border);flex-direction:column;animation:.25s slideInRight;display:flex}@keyframes slideInRight{0%{transform:translate(100%)}to{transform:translate(0)}}.channel-detail-header{border-bottom:1px solid var(--glass-border);justify-content:space-between;align-items:center;padding:20px;display:flex}.channel-detail-header h3{margin:0;font-size:16px;font-weight:600}.channel-detail-body{flex-direction:column;flex:1;gap:20px;padding:20px;display:flex;overflow-y:auto}.channel-detail-section{flex-direction:column;gap:8px;display:flex}.channel-detail-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;align-items:center;gap:6px;font-size:12px;font-weight:500;display:flex}.channel-detail-value{color:var(--text-primary);background:var(--glass-bg-subtle);border-radius:var(--radius-md);border:1px solid var(--glass-border);padding:10px 12px;font-size:14px}.channel-detail-mono{font-family:var(--font-mono);word-break:break-all;font-size:13px}.channel-detail-footer{border-top:1px solid var(--glass-border);padding:20px}.header-right-actions{align-items:center;gap:4px;display:flex}.chat-join-container{flex:1;justify-content:center;align-items:center;padding:24px;display:flex}.chat-join-loading,.chat-join-error,.chat-join-success{border-radius:var(--radius-lg);background:var(--glass-bg);-webkit-backdrop-filter:var(--blur-md);border:1px solid var(--glass-border);text-align:center;flex-direction:column;align-items:center;gap:16px;width:100%;max-width:480px;padding:48px;display:flex}:is(.chat-join-loading,.chat-join-error,.chat-join-success) p{color:var(--text-secondary);margin:0;font-size:16px}.chat-join-loading{color:var(--accent)}.chat-join-error{color:var(--danger)}.chat-join-success{color:var(--success)}.chat-join-result{border-radius:var(--radius-md);background:var(--glass-bg-subtle);border:1px solid var(--glass-border);font-family:var(--font-mono);color:var(--text-primary);white-space:pre-wrap;word-break:break-all;text-align:left;width:100%;max-height:240px;margin-top:16px;padding:16px;font-size:13px;overflow-y:auto}
|
|
1
|
+
[data-theme=dark]{--chat-bg-secondary:#1c1c1e99;--chat-bg-tertiary:#2c2c2e66;--chat-border:#ffffff14}.chat-messages{background:0 0;flex-direction:column;flex:1;gap:16px;padding:20px 24px;display:flex;overflow-y:auto}.chat-messages-empty{color:var(--text-muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;display:flex}.chat-messages-empty .empty-icon{border-radius:var(--radius-lg);background:var(--glass-bg-subtle);width:64px;height:64px;-webkit-backdrop-filter:var(--blur-md);border:1px solid var(--glass-border);color:var(--text-muted);justify-content:center;align-items:center;display:flex}.chat-messages-empty p{font-size:14px}.chat-message{align-items:flex-start;gap:10px;max-width:70%;animation:.25s fadeIn;display:flex}.chat-message.self{flex-direction:row-reverse;align-self:flex-end}.chat-message.self .msg-content{align-items:flex-end}.chat-message.self .message-bubble{background:linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 75%, var(--info)));color:#fff;border:1px solid #ffffff1a;border-radius:18px 4px 18px 18px;box-shadow:0 4px 16px #5e6ad240}.chat-message.self .message-author{color:var(--accent)}.chat-message.self .message-time{color:var(--text-muted)}.chat-message.other{align-self:flex-start}.chat-message.other .msg-content{align-items:flex-start}.chat-message.other .message-bubble{background:var(--glass-bg);-webkit-backdrop-filter:var(--blur-md);border:1px solid var(--glass-border);box-shadow:var(--glass-shadow), var(--glass-shadow-inset);border-radius:4px 18px 18px}.chat-message .msg-avatar{flex-shrink:0}.chat-message .msg-content{flex-direction:column;gap:4px;max-width:100%;display:flex}.chat-message .message-author{color:var(--text-muted);font-size:11px;font-weight:500}.chat-message .message-bubble{word-break:break-word;padding:10px 14px;font-size:14px;line-height:1.5}.chat-message .message-bubble.has-attachment{box-shadow:none;color:var(--text-primary);background:0 0;border:none;padding:0}.chat-message .message-time{color:var(--text-muted);opacity:.7;font-size:10px}.chat-message.pending .message-bubble{opacity:.6}.chat-attachment-card{border:1px solid var(--glass-border);border-radius:var(--radius-md);background:var(--glass-bg-heavy);width:min(320px,68vw);min-height:64px;color:var(--text-primary);cursor:pointer;text-align:left;box-shadow:var(--glass-shadow), var(--glass-shadow-inset);transition:all var(--transition-fast);grid-template-columns:42px minmax(0,1fr) 44px;align-items:center;gap:10px;padding:10px;display:grid}.chat-attachment-card:hover:not(:disabled){border-color:var(--accent);transform:translateY(-1px);box-shadow:0 6px 18px #5e6ad229}.chat-attachment-card:disabled{cursor:progress;opacity:.75}.chat-message.self .chat-attachment-card{background:color-mix(in srgb, var(--accent) 12%, var(--glass-bg-heavy));border-color:color-mix(in srgb, var(--accent) 35%, var(--glass-border))}.chat-attachment-icon{border-radius:var(--radius-md);background:var(--accent-soft);width:42px;height:42px;color:var(--accent);justify-content:center;align-items:center;display:flex}.chat-attachment-icon.image{color:var(--success)}.chat-attachment-icon.video{color:var(--danger)}.chat-attachment-icon.audio{color:var(--info)}.chat-attachment-info{flex-direction:column;gap:4px;min-width:0;display:flex}.chat-attachment-name{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.chat-attachment-meta{color:var(--text-muted);font-size:11px}.chat-attachment-action{min-width:0;color:var(--text-secondary);white-space:nowrap;justify-content:center;align-items:center;font-size:12px;display:flex}.chat-attachment-spinner{animation:.8s linear infinite spin}.chat-input-area{border-top:1px solid var(--glass-border);background:var(--glass-bg);-webkit-backdrop-filter:var(--blur-xl);gap:12px;padding:16px 24px;display:flex}.chat-input-area .chat-file-input{display:none}.chat-input-area .chat-tool-btn{border:1px solid var(--glass-border);background:var(--glass-bg-subtle);width:44px;height:44px;color:var(--text-secondary);cursor:pointer;transition:all var(--transition-fast);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:flex}.chat-input-area .chat-tool-btn:hover:not(:disabled){color:var(--accent);border-color:var(--accent);transform:scale(1.05)}.chat-input-area .chat-tool-btn:disabled{opacity:.5;cursor:not-allowed}.chat-input-area .input-pill{flex:1;min-width:0}.chat-input-area .send-btn{border:1px solid var(--glass-border);background:var(--accent);color:#fff;cursor:pointer;width:44px;height:44px;transition:all var(--transition-fast);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:flex}.chat-input-area .send-btn:hover:not(:disabled){background:var(--accent-hover);transform:scale(1.05);box-shadow:0 4px 16px #5e6ad24d}.chat-input-area .send-btn:disabled{opacity:.5;cursor:not-allowed}.chat-welcome{text-align:center;background:0 0;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:40px;display:flex}.chat-welcome .welcome-icon{border-radius:var(--radius-xl);background:var(--glass-bg-heavy);width:80px;height:80px;-webkit-backdrop-filter:var(--blur-2xl);border:1px solid var(--glass-border);color:var(--accent);box-shadow:var(--glass-shadow-lg), var(--glass-shadow-inset);justify-content:center;align-items:center;margin-bottom:20px;display:flex}.chat-welcome h2{margin-bottom:8px;font-size:22px;font-weight:700}.chat-welcome p{color:var(--text-secondary);max-width:320px;font-size:14px;line-height:1.6}.create-channel-btn{border-radius:var(--radius-md);border:1.5px dashed var(--glass-border);background:var(--glass-bg-subtle);color:var(--text-secondary);cursor:pointer;transition:all var(--transition);justify-content:center;align-items:center;gap:6px;margin:8px;padding:10px;font-size:13px;font-weight:500;display:flex}.create-channel-btn:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.peer-info{color:var(--text-secondary);align-items:center;gap:8px;font-size:11px;display:flex}.peer-info .peer-dot{background:var(--success);border-radius:50%;width:6px;height:6px}.peer-info .peer-id{font-family:var(--font-mono);text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.leave-channel-btn{opacity:0;color:var(--text-muted);cursor:pointer;border-radius:var(--radius-sm);transition:all var(--transition-fast);background:0 0;border:none;justify-content:center;align-items:center;margin-left:auto;padding:4px;display:flex}.sidebar-nav-btn:hover .leave-channel-btn{opacity:1}.leave-channel-btn:hover{color:var(--danger);background:#ff3b301a}.chat-sidebar-overlay{display:none}@media (max-width:768px){.chat-sidebar{z-index:50;transition:left var(--transition);position:fixed;top:0;bottom:0;left:-240px}.chat-sidebar.open{left:0}.chat-sidebar-overlay{z-index:40;opacity:0;pointer-events:none;transition:opacity var(--transition);background:#0006;display:block;position:fixed;inset:0}.chat-sidebar-overlay.visible{opacity:1;pointer-events:auto}.chat-messages{padding:16px}.chat-message{max-width:85%}.chat-input-area{padding:12px 16px}.sidebar-nav-btn .leave-channel-btn{opacity:1}}.channel-detail-overlay{z-index:100;background:#0000004d;justify-content:flex-end;animation:.2s fadeIn;display:flex;position:fixed;inset:0}.channel-detail-drawer{background:var(--glass-bg-heavy);width:320px;max-width:90vw;height:100%;-webkit-backdrop-filter:var(--blur-2xl);border-left:1px solid var(--glass-border);flex-direction:column;animation:.25s slideInRight;display:flex}@keyframes slideInRight{0%{transform:translate(100%)}to{transform:translate(0)}}.channel-detail-header{border-bottom:1px solid var(--glass-border);justify-content:space-between;align-items:center;padding:20px;display:flex}.channel-detail-header h3{margin:0;font-size:16px;font-weight:600}.channel-detail-body{flex-direction:column;flex:1;gap:20px;padding:20px;display:flex;overflow-y:auto}.channel-detail-section{flex-direction:column;gap:8px;display:flex}.channel-detail-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;align-items:center;gap:6px;font-size:12px;font-weight:500;display:flex}.channel-detail-value{color:var(--text-primary);background:var(--glass-bg-subtle);border-radius:var(--radius-md);border:1px solid var(--glass-border);padding:10px 12px;font-size:14px}.channel-detail-mono{font-family:var(--font-mono);word-break:break-all;font-size:13px}.channel-detail-footer{border-top:1px solid var(--glass-border);padding:20px}.header-right-actions{align-items:center;gap:4px;display:flex}.chat-join-container{flex:1;justify-content:center;align-items:flex-start;min-height:0;padding:24px;display:flex;overflow-y:auto}.chat-join-panel{flex-direction:column;gap:16px;width:100%;max-width:560px;display:flex}.chat-join-helper{border-radius:var(--radius-lg);background:var(--glass-bg);-webkit-backdrop-filter:var(--blur-md);border:1px solid var(--glass-border);flex-direction:column;gap:14px;padding:24px;display:flex}.chat-join-helper-title{color:var(--accent);align-items:center;gap:8px;display:flex}.chat-join-helper-title h3{color:var(--text-primary);margin:0;font-size:16px;font-weight:600}.chat-join-public-key{border-radius:var(--radius-md);background:var(--glass-bg-subtle);border:1px solid var(--glass-border);color:var(--text-primary);font-family:var(--font-mono);overflow-wrap:anywhere;padding:12px;font-size:13px;line-height:1.5;display:block}.chat-join-spec{border-radius:var(--radius-lg);background:var(--glass-bg);-webkit-backdrop-filter:var(--blur-md);border:1px solid var(--glass-border);flex-direction:column;gap:14px;padding:24px;display:flex}.chat-join-field-list{flex-direction:column;gap:10px;display:flex}.chat-join-field{border-radius:var(--radius-md);background:var(--glass-bg-subtle);border:1px solid var(--glass-border);flex-direction:column;gap:6px;padding:12px;display:flex}.chat-join-field p{color:var(--text-secondary);margin:0;font-size:13px;line-height:1.5}.chat-join-field-meta{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;display:flex}.chat-join-field-name{color:var(--text-primary);font-family:var(--font-mono);overflow-wrap:anywhere;font-size:13px}.chat-join-loading,.chat-join-error,.chat-join-success{border-radius:var(--radius-lg);background:var(--glass-bg);-webkit-backdrop-filter:var(--blur-md);border:1px solid var(--glass-border);text-align:center;flex-direction:column;align-items:center;gap:16px;width:100%;padding:48px;display:flex}:is(.chat-join-loading,.chat-join-error,.chat-join-success) p{color:var(--text-secondary);margin:0;font-size:16px}.chat-join-loading{color:var(--accent)}.chat-join-error{color:var(--danger)}.chat-join-success{color:var(--success)}.chat-join-status{color:var(--text-muted);font-size:13px}.chat-join-result{border-radius:var(--radius-md);background:var(--glass-bg-subtle);border:1px solid var(--glass-border);font-family:var(--font-mono);color:var(--text-primary);white-space:pre-wrap;word-break:break-all;text-align:left;width:100%;max-height:240px;margin-top:16px;padding:16px;font-size:13px;overflow-y:auto}
|