most-box 0.1.5 → 0.1.6

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.
Files changed (382) hide show
  1. package/README.md +15 -8
  2. package/out/404/index.html +3 -3
  3. package/out/404.html +3 -3
  4. package/out/__next.__PAGE__.txt +6 -6
  5. package/out/__next._full.txt +16 -16
  6. package/out/__next._head.txt +3 -3
  7. package/out/__next._index.txt +8 -8
  8. package/out/__next._tree.txt +5 -5
  9. package/out/_next/static/chunks/{06lttvu7563zo.css → 0-ryc9icn6dql.css} +1 -1
  10. package/out/_next/static/chunks/{0ccalho416.d7.js → 088-v8tzobg5g.js} +1 -1
  11. package/out/_next/static/chunks/0g9303i8psy6z.js +1 -0
  12. package/out/_next/static/chunks/0nwdp-n94owg0.css +1 -0
  13. package/out/_next/static/chunks/0vmjat-s4a3yj.css +1 -0
  14. package/out/_next/static/chunks/10p6-qnuk3p9x.js +1 -0
  15. package/out/_next/static/chunks/1ei8b9nw-ea8p.css +1 -0
  16. package/out/_next/static/chunks/{02jvyg27pp0mz.js → 1v-molv0hbcjl.js} +1 -1
  17. package/out/_next/static/chunks/23kls47vn_rpg.css +23 -0
  18. package/out/_next/static/chunks/2524ggtr3e4fp.js +1 -0
  19. package/out/_next/static/chunks/2fmkcw8ui5xp3.js +5 -0
  20. package/out/_next/static/chunks/2mcmt4yla_xle.js +1 -0
  21. package/out/_next/static/chunks/2uget3ephe4e3.js +736 -0
  22. package/out/_next/static/chunks/2va-v1iiap4zv.js +1 -0
  23. package/out/_next/static/chunks/2vk2ln79gpvm4.js +1 -0
  24. package/out/_next/static/chunks/2vm9uslik2wfi.css +5 -0
  25. package/out/_next/static/chunks/37msy2-4ucgts.js +1 -0
  26. package/out/_next/static/chunks/384w3w4qvhw61.js +1 -0
  27. package/out/_next/static/chunks/3aa-weedhv4e0.js +1 -0
  28. package/out/_next/static/chunks/3erbaukgkw8f2.js +1 -0
  29. package/out/_next/static/chunks/3fea100s764m-.js +1 -0
  30. package/out/_next/static/chunks/3g0c367tk4esf.js +1 -0
  31. package/out/_next/static/chunks/{0gcsdf57gcm6h.js → 3oe03qxgd_rid.js} +1 -1
  32. package/out/_next/static/chunks/3qj5xz_d4cbk6.js +1 -0
  33. package/out/_next/static/chunks/3r5wf57k0gys9.js +1 -0
  34. package/out/_next/static/chunks/3yc_zd5vxq0j7.css +1 -0
  35. package/out/_next/static/chunks/{turbopack-05qngmxam3ar~.js → turbopack-026p0g9v9_pva.js} +1 -1
  36. package/out/_not-found/__next._full.txt +13 -13
  37. package/out/_not-found/__next._head.txt +3 -3
  38. package/out/_not-found/__next._index.txt +8 -8
  39. package/out/_not-found/__next._not-found.__PAGE__.txt +4 -4
  40. package/out/_not-found/__next._not-found.txt +3 -3
  41. package/out/_not-found/__next._tree.txt +3 -3
  42. package/out/_not-found/index.html +3 -3
  43. package/out/_not-found/index.txt +13 -13
  44. package/out/admin/__next._full.txt +15 -15
  45. package/out/admin/__next._head.txt +3 -3
  46. package/out/admin/__next._index.txt +8 -8
  47. package/out/admin/__next._tree.txt +4 -4
  48. package/out/admin/__next.admin.__PAGE__.txt +4 -4
  49. package/out/admin/__next.admin.txt +4 -4
  50. package/out/admin/index.html +3 -3
  51. package/out/admin/index.txt +15 -15
  52. package/out/app/__next._full.txt +14 -14
  53. package/out/app/__next._head.txt +3 -3
  54. package/out/app/__next._index.txt +8 -8
  55. package/out/app/__next._tree.txt +3 -3
  56. package/out/app/__next.app.__PAGE__.txt +4 -4
  57. package/out/app/__next.app.txt +3 -3
  58. package/out/app/index.html +3 -3
  59. package/out/app/index.txt +14 -14
  60. package/out/chat/__next._full.txt +15 -15
  61. package/out/chat/__next._head.txt +3 -3
  62. package/out/chat/__next._index.txt +8 -8
  63. package/out/chat/__next._tree.txt +4 -4
  64. package/out/chat/__next.chat.__PAGE__.txt +4 -4
  65. package/out/chat/__next.chat.txt +4 -4
  66. package/out/chat/index.html +3 -3
  67. package/out/chat/index.txt +15 -15
  68. package/out/chat/join/__next._full.txt +15 -15
  69. package/out/chat/join/__next._head.txt +3 -3
  70. package/out/chat/join/__next._index.txt +8 -8
  71. package/out/chat/join/__next._tree.txt +4 -4
  72. package/out/chat/join/__next.chat.join.__PAGE__.txt +4 -4
  73. package/out/chat/join/__next.chat.join.txt +3 -3
  74. package/out/chat/join/__next.chat.txt +4 -4
  75. package/out/chat/join/index.html +3 -3
  76. package/out/chat/join/index.txt +15 -15
  77. package/out/demo/__next._full.txt +27 -0
  78. package/out/demo/__next._head.txt +5 -0
  79. package/out/demo/__next._index.txt +9 -0
  80. package/out/demo/__next._tree.txt +7 -0
  81. package/out/demo/__next.demo.__PAGE__.txt +12 -0
  82. package/out/demo/__next.demo.txt +5 -0
  83. package/out/demo/index.html +17 -0
  84. package/out/demo/index.txt +27 -0
  85. package/out/download/__next._full.txt +22 -22
  86. package/out/download/__next._head.txt +3 -3
  87. package/out/download/__next._index.txt +8 -8
  88. package/out/download/__next._tree.txt +5 -5
  89. package/out/download/__next.download.__PAGE__.txt +7 -7
  90. package/out/download/__next.download.txt +3 -3
  91. package/out/download/index.html +3 -3
  92. package/out/download/index.txt +22 -22
  93. package/out/game/__next._full.txt +13 -13
  94. package/out/game/__next._head.txt +3 -3
  95. package/out/game/__next._index.txt +8 -8
  96. package/out/game/__next._tree.txt +4 -4
  97. package/out/game/__next.game.__PAGE__.txt +2 -2
  98. package/out/game/__next.game.txt +4 -4
  99. package/out/game/gandengyan/__next._full.txt +16 -16
  100. package/out/game/gandengyan/__next._head.txt +3 -3
  101. package/out/game/gandengyan/__next._index.txt +8 -8
  102. package/out/game/gandengyan/__next._tree.txt +5 -5
  103. package/out/game/gandengyan/__next.game.gandengyan.__PAGE__.txt +5 -5
  104. package/out/game/gandengyan/__next.game.gandengyan.txt +3 -3
  105. package/out/game/gandengyan/__next.game.txt +4 -4
  106. package/out/game/gandengyan/index.html +3 -3
  107. package/out/game/gandengyan/index.txt +16 -16
  108. package/out/game/index.html +1 -1
  109. package/out/game/index.txt +13 -13
  110. package/out/game/zhajinhua/__next._full.txt +15 -15
  111. package/out/game/zhajinhua/__next._head.txt +3 -3
  112. package/out/game/zhajinhua/__next._index.txt +8 -8
  113. package/out/game/zhajinhua/__next._tree.txt +4 -4
  114. package/out/game/zhajinhua/__next.game.txt +4 -4
  115. package/out/game/zhajinhua/__next.game.zhajinhua.__PAGE__.txt +4 -4
  116. package/out/game/zhajinhua/__next.game.zhajinhua.txt +3 -3
  117. package/out/game/zhajinhua/index.html +3 -3
  118. package/out/game/zhajinhua/index.txt +15 -15
  119. package/out/index.html +3 -3
  120. package/out/index.txt +16 -16
  121. package/out/note/__next._full.txt +14 -14
  122. package/out/note/__next._head.txt +3 -3
  123. package/out/note/__next._index.txt +8 -8
  124. package/out/note/__next._tree.txt +3 -3
  125. package/out/note/__next.note.__PAGE__.txt +4 -4
  126. package/out/note/__next.note.txt +3 -3
  127. package/out/note/index.html +3 -3
  128. package/out/note/index.txt +14 -14
  129. package/out/ping/__next._full.txt +16 -16
  130. package/out/ping/__next._head.txt +3 -3
  131. package/out/ping/__next._index.txt +8 -8
  132. package/out/ping/__next._tree.txt +5 -5
  133. package/out/ping/__next.ping.__PAGE__.txt +5 -5
  134. package/out/ping/__next.ping.txt +4 -4
  135. package/out/ping/index.html +3 -3
  136. package/out/ping/index.txt +16 -16
  137. package/out/web3/__next._full.txt +15 -15
  138. package/out/web3/__next._head.txt +3 -3
  139. package/out/web3/__next._index.txt +8 -8
  140. package/out/web3/__next._tree.txt +4 -4
  141. package/out/web3/__next.web3.__PAGE__.txt +4 -4
  142. package/out/web3/__next.web3.txt +4 -4
  143. package/out/web3/ed25519/__next._full.txt +13 -13
  144. package/out/web3/ed25519/__next._head.txt +3 -3
  145. package/out/web3/ed25519/__next._index.txt +8 -8
  146. package/out/web3/ed25519/__next._tree.txt +4 -4
  147. package/out/web3/ed25519/__next.web3.ed25519.__PAGE__.txt +2 -2
  148. package/out/web3/ed25519/__next.web3.ed25519.txt +3 -3
  149. package/out/web3/ed25519/__next.web3.txt +4 -4
  150. package/out/web3/ed25519/index.html +1 -1
  151. package/out/web3/ed25519/index.txt +13 -13
  152. package/out/web3/index.html +3 -3
  153. package/out/web3/index.txt +15 -15
  154. package/out/web3/tools/__next._full.txt +13 -13
  155. package/out/web3/tools/__next._head.txt +3 -3
  156. package/out/web3/tools/__next._index.txt +8 -8
  157. package/out/web3/tools/__next._tree.txt +4 -4
  158. package/out/web3/tools/__next.web3.tools.__PAGE__.txt +2 -2
  159. package/out/web3/tools/__next.web3.tools.txt +3 -3
  160. package/out/web3/tools/__next.web3.txt +4 -4
  161. package/out/web3/tools/index.html +1 -1
  162. package/out/web3/tools/index.txt +13 -13
  163. package/package.json +23 -23
  164. package/server/src/core/mostLink.js +1 -1
  165. package/server/src/games/gandengyan.js +40 -14
  166. package/server/src/http/app.js +25 -2
  167. package/server/src/http/nodeStatus.js +37 -0
  168. package/server/src/index.js +152 -24
  169. package/out/_next/static/chunks/0.4ov9319fecg.css +0 -1
  170. package/out/_next/static/chunks/0._8s6pbfw.xk.js +0 -1
  171. package/out/_next/static/chunks/09h7l4i38xc7q.css +0 -24
  172. package/out/_next/static/chunks/09hqx79-jkvm_.css +0 -1
  173. package/out/_next/static/chunks/09vcm1ku9k7o8.js +0 -1
  174. package/out/_next/static/chunks/0c6e_d2jq179x.js +0 -1
  175. package/out/_next/static/chunks/0exj_tg.ew-t3.js +0 -1
  176. package/out/_next/static/chunks/0f-wz5d~tv-r4.js +0 -1
  177. package/out/_next/static/chunks/0f0jhsujtf-61.js +0 -1
  178. package/out/_next/static/chunks/0h4r.qtmpa6eh.js +0 -1
  179. package/out/_next/static/chunks/0hyds~bp.auvh.js +0 -1
  180. package/out/_next/static/chunks/0iq1h7g4dudg8.js +0 -1
  181. package/out/_next/static/chunks/0knnzo9aih48r.js +0 -1
  182. package/out/_next/static/chunks/0nzyk~sg_tn._.js +0 -1
  183. package/out/_next/static/chunks/0o9ce4cyf76by.js +0 -736
  184. package/out/_next/static/chunks/0t_3xxx4zkerp.js +0 -5
  185. package/out/_next/static/chunks/0xdwau5k2augv.css +0 -4
  186. package/out/_next/static/chunks/0xrqerhosrp9~.js +0 -1
  187. package/out/_next/static/chunks/0xx_10jns1.s7.css +0 -1
  188. package/out/_next/static/chunks/14-fm9r_mom81.js +0 -1
  189. package/out/_next/static/chunks/14jhy~xia8lh8.js +0 -1
  190. /package/out/_next/static/{2smv1H9Y4Z2Ri-SL-UFgR → NPIlpdzQWkiVZpgfhlypH}/_buildManifest.js +0 -0
  191. /package/out/_next/static/{2smv1H9Y4Z2Ri-SL-UFgR → NPIlpdzQWkiVZpgfhlypH}/_clientMiddlewareManifest.js +0 -0
  192. /package/out/_next/static/{2smv1H9Y4Z2Ri-SL-UFgR → NPIlpdzQWkiVZpgfhlypH}/_ssgManifest.js +0 -0
  193. /package/out/_next/static/chunks/{0bld2u_ld~va2.js → 0-jy8rfo075fy.js} +0 -0
  194. /package/out/_next/static/chunks/{0bliugh5lxw55.js → 0-kczrcxjk7lc.js} +0 -0
  195. /package/out/_next/static/chunks/{00d9h1tddnnnd.js → 012yllpioyi-k.js} +0 -0
  196. /package/out/_next/static/chunks/{00tkdqwxch-3s.js → 02f7w-ybfnvpd.js} +0 -0
  197. /package/out/_next/static/chunks/{01l3o90g~1z42.js → 04_v8i3c2y4ni.js} +0 -0
  198. /package/out/_next/static/chunks/{01xlw8hd842-c.js → 05-c3ty_6dwfk.js} +0 -0
  199. /package/out/_next/static/chunks/{01mfky9camw6i.js → 052vp9tk7oqx6.js} +0 -0
  200. /package/out/_next/static/chunks/{01r.v-pqs1vrm.js → 05k6874y7n0cw.js} +0 -0
  201. /package/out/_next/static/chunks/{02zzxfop_k6tl.css → 09g8c9-u_uh1z.css} +0 -0
  202. /package/out/_next/static/chunks/{03edqrb4zdj~g.js → 0az8vxg2gfuhm.js} +0 -0
  203. /package/out/_next/static/chunks/{03h_6oo-gqkhz.js → 0b899y85ei3i_.js} +0 -0
  204. /package/out/_next/static/chunks/{03~yq9q893hmn.js → 0cz1d0mv5g_q7.js} +0 -0
  205. /package/out/_next/static/chunks/{04hcgsanv1hhu.js → 0eg1osglq6nq7.js} +0 -0
  206. /package/out/_next/static/chunks/{05g2q0w5b34.g.js → 0hlvocunlbrjs.js} +0 -0
  207. /package/out/_next/static/chunks/{05of77xycbt8~.js → 0i9k23rx749fx.js} +0 -0
  208. /package/out/_next/static/chunks/{05zwemzfjx3sh.js → 0j6wiyqf1637r.js} +0 -0
  209. /package/out/_next/static/chunks/{06dpc5df94.v1.js → 0knzyzd1jvley.js} +0 -0
  210. /package/out/_next/static/chunks/{06e1~1-z_ic9a.js → 0kp8ujaqwut11.js} +0 -0
  211. /package/out/_next/static/chunks/{075s7sn.ns~u5.js → 0n92y9hb-ta0u.js} +0 -0
  212. /package/out/_next/static/chunks/{07dynrbvd3.f4.js → 0nybb-z3ufrbx.js} +0 -0
  213. /package/out/_next/static/chunks/{07r9nn-pzlgg1.js → 0o-o9af-grvj8.js} +0 -0
  214. /package/out/_next/static/chunks/{07p~uva5pwgwe.js → 0oxr0r0aewn99.js} +0 -0
  215. /package/out/_next/static/chunks/{08576xhv~~jck.js → 0qh3b90ouc9bd.js} +0 -0
  216. /package/out/_next/static/chunks/{08qqf0rsi3oot.js → 0s7i7nfr9j3b1.js} +0 -0
  217. /package/out/_next/static/chunks/{08u211~k~qu52.js → 0sh_jm8siqvek.js} +0 -0
  218. /package/out/_next/static/chunks/{08.72abkgwy9g.js → 0t86ducxkqweb.js} +0 -0
  219. /package/out/_next/static/chunks/{098.p.2-zm4p7.js → 0u0j5i6-n4oqd.js} +0 -0
  220. /package/out/_next/static/chunks/{09ngvtajm7e5y.js → 0v73vfxjds7sj.js} +0 -0
  221. /package/out/_next/static/chunks/{09ps~-43n5qyo.js → 0ve8ixremhwy0.js} +0 -0
  222. /package/out/_next/static/chunks/{09v7_0gclxr46.js → 0vv5cwj6kr506.js} +0 -0
  223. /package/out/_next/static/chunks/{09yql86dir9c4.js → 0w3wf8o-ewec9.js} +0 -0
  224. /package/out/_next/static/chunks/{09zmlfljowj1~.js → 0w6o4o76scrb2.js} +0 -0
  225. /package/out/_next/static/chunks/{0n4t80gjc3q5h.js → 1-88dio6azz54.js} +0 -0
  226. /package/out/_next/static/chunks/{0cn9a7aimbdzq.js → 12zg24u7mbv4z.js} +0 -0
  227. /package/out/_next/static/chunks/{0d3f-nk3c.2re.js → 14lsse587-ccf.js} +0 -0
  228. /package/out/_next/static/chunks/{0dtohpf7~3d12.js → 16qtikqm_sate.js} +0 -0
  229. /package/out/_next/static/chunks/{0e531nije_ln2.js → 17_ly1mk2z3q8.js} +0 -0
  230. /package/out/_next/static/chunks/{0e5zvj_rh0z3m.js → 181421-y2xzj7.js} +0 -0
  231. /package/out/_next/static/chunks/{0myp4sjagr~h0.js → 1_e-vuvfsntao.js} +0 -0
  232. /package/out/_next/static/chunks/{0e-3e8h7g99yf.js → 1aljc62wfhqhr.js} +0 -0
  233. /package/out/_next/static/chunks/{0f4y~rkk-n81e.js → 1b7mbzsylsn-m.js} +0 -0
  234. /package/out/_next/static/chunks/{0fk~0~p7ivfn1.js → 1cjakikh0o1tm.js} +0 -0
  235. /package/out/_next/static/chunks/{0fw6juc~lsj3z.js → 1dfzez629llzh.js} +0 -0
  236. /package/out/_next/static/chunks/{0g0u7785a73vo.js → 1e4ilit3ave6c.js} +0 -0
  237. /package/out/_next/static/chunks/{0gze5uso1mbe9.js → 1gzgcv355ziff.js} +0 -0
  238. /package/out/_next/static/chunks/{0g_fpgh7drfda.js → 1h0o6fj73le9_.js} +0 -0
  239. /package/out/_next/static/chunks/{0hf.aosc-7172.js → 1in766ibz5l-p.js} +0 -0
  240. /package/out/_next/static/chunks/{0hgz35c1ejbs9.js → 1ip_c70si4tj2.js} +0 -0
  241. /package/out/_next/static/chunks/{0hrw-r.xmvmsq.js → 1jlu197-yog_n.js} +0 -0
  242. /package/out/_next/static/chunks/{0hzg4al.v~8~m.js → 1k788fny29y_j.js} +0 -0
  243. /package/out/_next/static/chunks/{0ig8a4sazk3~2.css → 1lxjpnw925-0p.css} +0 -0
  244. /package/out/_next/static/chunks/{0ip9xrols_83o.js → 1mnhfyfn52md5.js} +0 -0
  245. /package/out/_next/static/chunks/{0j4-d0qf.v~kn.js → 1o8brm8yipzn4.js} +0 -0
  246. /package/out/_next/static/chunks/{0jhdeq.j9_02m.js → 1p8oa39bqu6ed.js} +0 -0
  247. /package/out/_next/static/chunks/{0jy63h3i-y69i.js → 1qmnmb_dutuw8.js} +0 -0
  248. /package/out/_next/static/chunks/{0kdnx_u-60k9s.js → 1s6rdcw0q185p.js} +0 -0
  249. /package/out/_next/static/chunks/{0kq~edq42o1-c.js → 1ta0w8zc7tae7.js} +0 -0
  250. /package/out/_next/static/chunks/{0l682p362d-5w.js → 1uvi_hie0s3z5.js} +0 -0
  251. /package/out/_next/static/chunks/{0m68p9txef5rs.js → 1y36s6sv2z7r4.js} +0 -0
  252. /package/out/_next/static/chunks/{0mme-fm5d2oz2.js → 1zf4i-oj7n-ll.js} +0 -0
  253. /package/out/_next/static/chunks/{0y.li-~3oybew.js → 2-vtwv8h_uokj.js} +0 -0
  254. /package/out/_next/static/chunks/{0n.qlfk~z7o.6.js → 2227enga_0c-6.js} +0 -0
  255. /package/out/_next/static/chunks/{0oz3yl6_-716p.js → 24zr4q96g-eii.js} +0 -0
  256. /package/out/_next/static/chunks/{0pqt~8bl3ukh4.js → 27jktro2p5rq9.js} +0 -0
  257. /package/out/_next/static/chunks/{0yl2t7cs-n_ng.js → 2_cqphhur0a6t.js} +0 -0
  258. /package/out/_next/static/chunks/{0yq3kh.hchtm_.js → 2_s88st3j0tql.js} +0 -0
  259. /package/out/_next/static/chunks/{0ys0l5au.9c2c.js → 2_y6edbaubqrt.js} +0 -0
  260. /package/out/_next/static/chunks/{0qqupeexg83u7.js → 2at8y3pbt5cue.js} +0 -0
  261. /package/out/_next/static/chunks/{0rb-ri481.kc9.js → 2cv1zex4has67.js} +0 -0
  262. /package/out/_next/static/chunks/{0rsnmahfd.59p.js → 2e6j5h4ftd4jd.js} +0 -0
  263. /package/out/_next/static/chunks/{0rt6rgnvr-s_p.js → 2e8b26r0td7ou.js} +0 -0
  264. /package/out/_next/static/chunks/{0runh28p_gg6..js → 2ecppdrjm9cs4.js} +0 -0
  265. /package/out/_next/static/chunks/{0shy.t1fwqcev.js → 2gl0wusc9zf3d.js} +0 -0
  266. /package/out/_next/static/chunks/{0t2xr05rlu96l.js → 2im7c515bo69p.js} +0 -0
  267. /package/out/_next/static/chunks/{0t6h56rhg1y5i.js → 2ixaku9ie8hym.js} +0 -0
  268. /package/out/_next/static/chunks/{0tdqd1zunusgk.js → 2jhnrjgj_k2-z.js} +0 -0
  269. /package/out/_next/static/chunks/{0ujbnp38x63ek.js → 2n6pb94vmohgf.js} +0 -0
  270. /package/out/_next/static/chunks/{0ukyg~tkm~h2m.css → 2nbju8t9-ux58.css} +0 -0
  271. /package/out/_next/static/chunks/{0v68pdrp54lb-.js → 2pdxw43rsbho0.js} +0 -0
  272. /package/out/_next/static/chunks/{0vsm0m5sxrb.3.js → 2r6z3vlfw0ppd.js} +0 -0
  273. /package/out/_next/static/chunks/{0vzlz.iboqo3c.js → 2rskzmv3skmq3.js} +0 -0
  274. /package/out/_next/static/chunks/{0w87vbpkf-ogd.js → 2stoe6xiau1b3.js} +0 -0
  275. /package/out/_next/static/chunks/{0w~2fjq86t7c7.css → 2v7_4ps1l4a8o.css} +0 -0
  276. /package/out/_next/static/chunks/{0xgg0~kmf3gd-.js → 2wqoc60afpg_5.js} +0 -0
  277. /package/out/_next/static/chunks/{0xj24-70ptdzp.js → 2wyvwsayrr98o.js} +0 -0
  278. /package/out/_next/static/chunks/{0xxlx772fr3x4.js → 2y3o2mnyfnx68.js} +0 -0
  279. /package/out/_next/static/chunks/{16i.qbk8t8gf_.js → 3-7y7sjol3yto.js} +0 -0
  280. /package/out/_next/static/chunks/{0z48pmi6buytt.js → 3089gugfv3ov9.js} +0 -0
  281. /package/out/_next/static/chunks/{0zapnvgy89mg..js → 30s3_0brd77ky.js} +0 -0
  282. /package/out/_next/static/chunks/{0_s~ebb-7b2hr.js → 35idql3ziq0wz.js} +0 -0
  283. /package/out/_next/static/chunks/{0_w-0-2z5oqd_.js → 35unmm4isvqg5.js} +0 -0
  284. /package/out/_next/static/chunks/{0-n3pg7th.zza.js → 389wmv2b6x2nn.js} +0 -0
  285. /package/out/_next/static/chunks/{0~4f5p6tvn1lq.js → 39-oy5n969lo6.js} +0 -0
  286. /package/out/_next/static/chunks/{0~3ik-hfp9s-7.js → 39yvee40syj70.js} +0 -0
  287. /package/out/_next/static/chunks/{0~_0ys.2whxbw.js → 3clhij8e1eul0.js} +0 -0
  288. /package/out/_next/static/chunks/{0~_ui9l7.2sxf.js → 3cnsdzbvm3q7p.js} +0 -0
  289. /package/out/_next/static/chunks/{0~.-vxi5oc.r0.js → 3cxmalqqghdac.js} +0 -0
  290. /package/out/_next/static/chunks/{0.4j.0k5a64vg.js → 3d9p88evh2scq.js} +0 -0
  291. /package/out/_next/static/chunks/{0.ozi1_x2.m.~.js → 3eyprczj7yrg6.js} +0 -0
  292. /package/out/_next/static/chunks/{0.t5wlt51zou5.js → 3f9v_gtppe4hs.js} +0 -0
  293. /package/out/_next/static/chunks/{0.w4hkvap~bva.js → 3fj0amtzqae6f.js} +0 -0
  294. /package/out/_next/static/chunks/{1037jlyw5~7ht.js → 3gf98e08a-l_e.js} +0 -0
  295. /package/out/_next/static/chunks/{1045hfzu533z0.js → 3gi6og9m_yaak.js} +0 -0
  296. /package/out/_next/static/chunks/{104e5nmc.c-pl.js → 3giw7r1lii84y.js} +0 -0
  297. /package/out/_next/static/chunks/{109taw1pbh-0b.js → 3gzhy1cs_f2oi.js} +0 -0
  298. /package/out/_next/static/chunks/{10ynz1dy483wf.js → 3i_ceknny1oqt.js} +0 -0
  299. /package/out/_next/static/chunks/{10x7~onqwp338.js → 3iw0815ssih3b.js} +0 -0
  300. /package/out/_next/static/chunks/{11hds.mg~4_r-.js → 3kun-vwr7nzd4.js} +0 -0
  301. /package/out/_next/static/chunks/{11ibzaklcauw~.js → 3kxm1e-b1er3_.js} +0 -0
  302. /package/out/_next/static/chunks/{11z.0s6.42b.p.js → 3mc8fynmv71yg.js} +0 -0
  303. /package/out/_next/static/chunks/{126enaq~f7scl.js → 3n6cor2n9zyn7.js} +0 -0
  304. /package/out/_next/static/chunks/{12pep-2t-qg4n.css → 3or2h8swxfxyj.css} +0 -0
  305. /package/out/_next/static/chunks/{12-9n56l0y3yr.js → 3ppt04b6xqz29.js} +0 -0
  306. /package/out/_next/static/chunks/{1380op_pfk.qo.js → 3ql2pi_m5_5p_.js} +0 -0
  307. /package/out/_next/static/chunks/{14a4fwbiq.l3z.js → 3t-6u8caafiu9.js} +0 -0
  308. /package/out/_next/static/chunks/{146oiw1bggtn4.js → 3tqdzb_n12tdm.js} +0 -0
  309. /package/out/_next/static/chunks/{14cowsqn95m1k.js → 3u6zpg943kpst.js} +0 -0
  310. /package/out/_next/static/chunks/{14dtd3l03v.kx.js → 3uaedu2hf291z.js} +0 -0
  311. /package/out/_next/static/chunks/{14tm3qa-v9o-4.js → 3vladx3wh0d4k.js} +0 -0
  312. /package/out/_next/static/chunks/{14_inksek_rth.js → 3w4o9hklow6fg.js} +0 -0
  313. /package/out/_next/static/chunks/{14_po2rb_arn4.js → 3w56w25z6u89b.js} +0 -0
  314. /package/out/_next/static/chunks/{157z7bowux3xj.js → 3x1y_gkazt6kx.js} +0 -0
  315. /package/out/_next/static/chunks/{15m1_677az2cm.js → 3y7r1h96dtcov.js} +0 -0
  316. /package/out/_next/static/chunks/{15v.~.ne6ogkk.js → 3z0hydntmwg19.js} +0 -0
  317. /package/out/_next/static/chunks/{15-o4kb-evqd7.js → 3zhu1svjr0bc5.js} +0 -0
  318. /package/out/_next/static/chunks/{16u9f35gylw8l.js → 404orp1erq__7.js} +0 -0
  319. /package/out/_next/static/chunks/{17ajyb5ogk5yj.js → 41talcs-dc2tc.js} +0 -0
  320. /package/out/_next/static/chunks/{17dyfxbq8yz8n.js → 421pn8weymo-b.js} +0 -0
  321. /package/out/_next/static/chunks/{180zln9pcq9ih.js → 44987pmr20now.js} +0 -0
  322. /package/out/_next/static/chunks/{1814izi5gh.kp.js → 449ygeh62gitc.js} +0 -0
  323. /package/out/_next/static/media/{KaTeX_AMS-Regular.0b~8ki5y928w2.woff → KaTeX_AMS-Regular.10y3kupq4t663.woff} +0 -0
  324. /package/out/_next/static/media/{KaTeX_AMS-Regular.0p1vbqd84i2~o.woff2 → KaTeX_AMS-Regular.25ieegmnh38ts.woff2} +0 -0
  325. /package/out/_next/static/media/{KaTeX_AMS-Regular.173t6ktr7uf-w.ttf → KaTeX_AMS-Regular.418dr7cz3fo2x.ttf} +0 -0
  326. /package/out/_next/static/media/{KaTeX_Caligraphic-Bold.01-pzluls4zgb.woff2 → KaTeX_Caligraphic-Bold.06b-ya9t43ioz.woff2} +0 -0
  327. /package/out/_next/static/media/{KaTeX_Caligraphic-Bold.0x2v1lwn~880f.woff → KaTeX_Caligraphic-Bold.2vmk2hva4ctha.woff} +0 -0
  328. /package/out/_next/static/media/{KaTeX_Caligraphic-Bold.16zv5fax0h0ka.ttf → KaTeX_Caligraphic-Bold.40ltxhe834pns.ttf} +0 -0
  329. /package/out/_next/static/media/{KaTeX_Caligraphic-Regular.02i3z7wig438t.ttf → KaTeX_Caligraphic-Regular.07-7u27-nhn_r.ttf} +0 -0
  330. /package/out/_next/static/media/{KaTeX_Caligraphic-Regular.0rysu1t-ncjq8.woff2 → KaTeX_Caligraphic-Regular.2eph4dlhid_m9.woff2} +0 -0
  331. /package/out/_next/static/media/{KaTeX_Caligraphic-Regular.10927swgekwun.woff → KaTeX_Caligraphic-Regular.3gxeetazf831f.woff} +0 -0
  332. /package/out/_next/static/media/{KaTeX_Fraktur-Bold.0et27v~3~4uhe.ttf → KaTeX_Fraktur-Bold.19yqa_tc9d_gx.ttf} +0 -0
  333. /package/out/_next/static/media/{KaTeX_Fraktur-Bold.0e-16u10iuyyf.woff → KaTeX_Fraktur-Bold.1alcy76__wdj2.woff} +0 -0
  334. /package/out/_next/static/media/{KaTeX_Fraktur-Bold.0w23i72~hprpq.woff2 → KaTeX_Fraktur-Bold.2sasz-d-jtw8y.woff2} +0 -0
  335. /package/out/_next/static/media/{KaTeX_Fraktur-Regular.0b.riegzdfue2.woff → KaTeX_Fraktur-Regular.110oo81prr9n5.woff} +0 -0
  336. /package/out/_next/static/media/{KaTeX_Fraktur-Regular.0rekyoa-52fj_.woff2 → KaTeX_Fraktur-Regular.2d10y4xmjvzlf.woff2} +0 -0
  337. /package/out/_next/static/media/{KaTeX_Fraktur-Regular.0vjwa15znhk~4.ttf → KaTeX_Fraktur-Regular.2qhy34r6a05dn.ttf} +0 -0
  338. /package/out/_next/static/media/{KaTeX_Main-Bold.09i7~607shf-h.ttf → KaTeX_Main-Bold.0us_n0tnxlxu7.ttf} +0 -0
  339. /package/out/_next/static/media/{KaTeX_Main-Bold.09lmynrorhcbw.woff → KaTeX_Main-Bold.0v1esh257kqpe.woff} +0 -0
  340. /package/out/_next/static/media/{KaTeX_Main-Bold.16pfc63_du6mx.woff2 → KaTeX_Main-Bold.3-rowy8o6_4ky.woff2} +0 -0
  341. /package/out/_next/static/media/{KaTeX_Main-BoldItalic.0cp37g7x1q8h6.woff → KaTeX_Main-BoldItalic.13355ck5zr48q.woff} +0 -0
  342. /package/out/_next/static/media/{KaTeX_Main-BoldItalic.0d54rk08rx11s.woff2 → KaTeX_Main-BoldItalic.14r2naom8mrec.woff2} +0 -0
  343. /package/out/_next/static/media/{KaTeX_Main-BoldItalic.15j6k~hix2t_0.ttf → KaTeX_Main-BoldItalic.3x_u9cepaced0.ttf} +0 -0
  344. /package/out/_next/static/media/{KaTeX_Main-Italic.0382gqciexmbu.woff → KaTeX_Main-Italic.0afv392dj4w59.woff} +0 -0
  345. /package/out/_next/static/media/{KaTeX_Main-Italic.06o5nq0_91v60.woff2 → KaTeX_Main-Italic.0lig0v9j0700p.woff2} +0 -0
  346. /package/out/_next/static/media/{KaTeX_Main-Italic.0su4i6mm18-wo.ttf → KaTeX_Main-Italic.2hkw3230mfwcv.ttf} +0 -0
  347. /package/out/_next/static/media/{KaTeX_Main-Regular.08zh8z.7shijf.ttf → KaTeX_Main-Regular.0symfa7dqj6jd.ttf} +0 -0
  348. /package/out/_next/static/media/{KaTeX_Main-Regular.0diheg01zyoph.woff → KaTeX_Main-Regular.15u8r3b2y7fv4.woff} +0 -0
  349. /package/out/_next/static/media/{KaTeX_Main-Regular.0kaf-ag2_wkm-.woff2 → KaTeX_Main-Regular.1ryvsdzh2w1_e.woff2} +0 -0
  350. /package/out/_next/static/media/{KaTeX_Math-BoldItalic.0ajzxypnbx1h1.ttf → KaTeX_Math-BoldItalic.0y5w36a5aq__2.ttf} +0 -0
  351. /package/out/_next/static/media/{KaTeX_Math-BoldItalic.0ck1myuerwyqw.woff → KaTeX_Math-BoldItalic.12pl58orkw9rg.woff} +0 -0
  352. /package/out/_next/static/media/{KaTeX_Math-BoldItalic.0ja97dn.cpc87.woff2 → KaTeX_Math-BoldItalic.1oopuu636h4il.woff2} +0 -0
  353. /package/out/_next/static/media/{KaTeX_Math-Italic.09xkhecjcn5r9.woff → KaTeX_Math-Italic.0w0b1ugh62cfr.woff} +0 -0
  354. /package/out/_next/static/media/{KaTeX_Math-Italic.0x23a-bmp-5tg.ttf → KaTeX_Math-Italic.2vkekfblmz5nb.ttf} +0 -0
  355. /package/out/_next/static/media/{KaTeX_Math-Italic.0zrha2c4sl2je.woff2 → KaTeX_Math-Italic.32405s1aq8vas.woff2} +0 -0
  356. /package/out/_next/static/media/{KaTeX_SansSerif-Bold.05a9.pc1j_zx9.woff2 → KaTeX_SansSerif-Bold.0h3wi2z_eouyg.woff2} +0 -0
  357. /package/out/_next/static/media/{KaTeX_SansSerif-Bold.0jcl-ayi1uun0.woff → KaTeX_SansSerif-Bold.1ovw5p-yjp56g.woff} +0 -0
  358. /package/out/_next/static/media/{KaTeX_SansSerif-Bold.0re8y.dm7.mt5.ttf → KaTeX_SansSerif-Bold.2d03q85pwxpti.ttf} +0 -0
  359. /package/out/_next/static/media/{KaTeX_SansSerif-Italic.0a0234dc3s62j.woff2 → KaTeX_SansSerif-Italic.0wkjc4dm2kcit.woff2} +0 -0
  360. /package/out/_next/static/media/{KaTeX_SansSerif-Italic.0judofdln9731.woff → KaTeX_SansSerif-Italic.1qavw__2zz8gk.woff} +0 -0
  361. /package/out/_next/static/media/{KaTeX_SansSerif-Italic.10z1iap9pfus8.ttf → KaTeX_SansSerif-Italic.3i-q087b23-m8.ttf} +0 -0
  362. /package/out/_next/static/media/{KaTeX_SansSerif-Regular.0h9yjlugq4q_e.woff → KaTeX_SansSerif-Regular.1i4afx8nk8n4r.woff} +0 -0
  363. /package/out/_next/static/media/{KaTeX_SansSerif-Regular.0v6gcj32-czft.woff2 → KaTeX_SansSerif-Regular.2peiewu59z3d-.woff2} +0 -0
  364. /package/out/_next/static/media/{KaTeX_SansSerif-Regular.0zm18kga42ebc.ttf → KaTeX_SansSerif-Regular.31pbu25feko_c.ttf} +0 -0
  365. /package/out/_next/static/media/{KaTeX_Script-Regular.0c4.h-mer83d_.woff2 → KaTeX_Script-Regular.11h14300o9pd0.woff2} +0 -0
  366. /package/out/_next/static/media/{KaTeX_Script-Regular.0q14y6zkzlpob.ttf → KaTeX_Script-Regular.28p_x7iz71ofe.ttf} +0 -0
  367. /package/out/_next/static/media/{KaTeX_Script-Regular.0ze6v4r_-99oy.woff → KaTeX_Script-Regular.3110jb9c-bxna.woff} +0 -0
  368. /package/out/_next/static/media/{KaTeX_Size1-Regular.013x6a4ierotp.woff2 → KaTeX_Size1-Regular.03lhvx36ekcou.woff2} +0 -0
  369. /package/out/_next/static/media/{KaTeX_Size1-Regular.0kidw0oi.m68o.woff → KaTeX_Size1-Regular.1slf4bh0hc6vm.woff} +0 -0
  370. /package/out/_next/static/media/{KaTeX_Size1-Regular.0m6y-i6wfokni.ttf → KaTeX_Size1-Regular.1y57-ck23ey8c.ttf} +0 -0
  371. /package/out/_next/static/media/{KaTeX_Size2-Regular.0blpmluwilgbg.woff → KaTeX_Size2-Regular.0-kwyvx03omo8.woff} +0 -0
  372. /package/out/_next/static/media/{KaTeX_Size2-Regular.0d5inmyp-tyv3.woff2 → KaTeX_Size2-Regular.14s5gg-puz6h-.woff2} +0 -0
  373. /package/out/_next/static/media/{KaTeX_Size2-Regular.0wnhnvj-.k9d5.ttf → KaTeX_Size2-Regular.2u0s-b07k2o9m.ttf} +0 -0
  374. /package/out/_next/static/media/{KaTeX_Size3-Regular.01h0xm_sfctj3.woff → KaTeX_Size3-Regular.04o9a_02gu_e8.woff} +0 -0
  375. /package/out/_next/static/media/{KaTeX_Size3-Regular.0iukctyhw5j56.woff2 → KaTeX_Size3-Regular.1n1rgzz84z8r9.woff2} +0 -0
  376. /package/out/_next/static/media/{KaTeX_Size3-Regular.0jl8mqyf4gzpn.ttf → KaTeX_Size3-Regular.1pkn-dge4q0fv.ttf} +0 -0
  377. /package/out/_next/static/media/{KaTeX_Size4-Regular.0w3.rb_c4stzk.woff2 → KaTeX_Size4-Regular.2sgotkdv3dcyv.woff2} +0 -0
  378. /package/out/_next/static/media/{KaTeX_Size4-Regular.0wr_9l81-mu06.ttf → KaTeX_Size4-Regular.2uelkfk2yna5e.ttf} +0 -0
  379. /package/out/_next/static/media/{KaTeX_Size4-Regular.12tvaesf3.zl3.woff → KaTeX_Size4-Regular.3p2r1l7xmebxv.woff} +0 -0
  380. /package/out/_next/static/media/{KaTeX_Typewriter-Regular.0c4zdxz~8frhm.woff2 → KaTeX_Typewriter-Regular.11gr2d2wuwz77.woff2} +0 -0
  381. /package/out/_next/static/media/{KaTeX_Typewriter-Regular.0cgrzn5l3kao5.woff → KaTeX_Typewriter-Regular.12f8myjij3617.woff} +0 -0
  382. /package/out/_next/static/media/{KaTeX_Typewriter-Regular.128~qc3858otl.ttf → KaTeX_Typewriter-Regular.3nee9kjfy6nm8.ttf} +0 -0
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,31214,e=>{"use strict";let t=(0,e.i(56420).default)("cloud",[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]]);e.s(["Cloud",0,t],31214)},11241,e=>{"use strict";let t=(0,e.i(56420).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",0,t],11241)},96699,e=>{"use strict";let t=(0,e.i(56420).default)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]);e.s(["Moon",0,t],96699)},35965,e=>{"use strict";let t=(0,e.i(56420).default)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);e.s(["Sun",0,t],35965)},59665,5142,e=>{"use strict";var t=e.i(18050),n=e.i(71645);let a=(0,e.i(56420).default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);function r(e=!1,t={}){let[a,s]=(0,n.useState)(e),i=(0,n.useCallback)(()=>{s(e=>e||(t.onOpen?.(),!0))},[t.onOpen]),l=(0,n.useCallback)(()=>{s(e=>e?(t.onClose?.(),!1):e)},[t.onClose]);return[a,{open:i,close:l,toggle:(0,n.useCallback)(()=>{a?l():i()},[l,i,a]),set:s}]}e.s(["useDisclosure",0,r],5142);let s=(0,n.createContext)(null);e.s(["default",0,function({sidebar:e,headerTitle:i,headerRight:l,children:o}){let[c,u]=r(!1),[d,h]=(0,n.useState)(!1),p=function(e,{getInitialValueInEffect:t}={getInitialValueInEffect:!0}){let[a,r]=(0,n.useState)(t?void 0:!!("u">typeof window&&"matchMedia"in window)&&window.matchMedia(e).matches);return(0,n.useEffect)(()=>{try{if("matchMedia"in window){let t=window.matchMedia(e);r(t.matches);let n=e=>r(e.matches);return t.addEventListener("change",n),()=>{t.removeEventListener("change",n)}}}catch(e){return}},[e]),a||!1}("(max-width: 768px)"),f=()=>{p?u.open():h(!1)};return(0,t.jsx)(s.Provider,{value:{closeSidebar:u.close,openSidebar:f,isSidebarVisible:p?c:!d},children:(0,t.jsxs)("div",{className:"app-layout",children:[(0,t.jsx)("div",{className:`sidebar-overlay ${c?"visible":""}`,onClick:()=>u.close()}),(0,t.jsx)("div",{className:`sidebar ${c?"open":""} ${d?"collapsed":""}`,children:e({closeSidebar:u.close,openSidebar:f})}),(0,t.jsxs)("div",{className:"main-content",children:[(0,t.jsxs)("header",{className:"app-header",children:[(0,t.jsxs)("div",{className:"header-left",children:[(0,t.jsx)("button",{onClick:()=>{p?u.toggle():h(!d)},className:"btn btn-icon sidebar-toggle-btn","aria-label":p?"打开菜单":d?"展开侧边栏":"收起侧边栏",children:(0,t.jsx)(a,{size:16})}),i]}),(0,t.jsx)("div",{className:"header-right",children:l})]}),o]})]})})},"useAppShell",0,function(){let e=(0,n.useContext)(s);if(!e)throw Error("useAppShell must be used within AppShell");return e}],59665)},27648,e=>{"use strict";var t=e.i(18050),n=e.i(93957),a=e.i(71192);e.s(["default",0,function({className:e=""}){let r=(0,a.useUserStore)(e=>e.identity),s=(0,a.useUserStore)(e=>e.openLoginModal),i=(0,a.useUserStore)(e=>e.logoutUser);return(0,t.jsxs)("div",{className:`chat-sidebar-footer sidebar-account ${e}`,children:[(0,t.jsxs)("div",{className:"user-info",children:[(0,t.jsx)("img",{className:"user-avatar-img",src:(0,n.generateAvatar)(r?.address,r?.avatar),alt:"avatar"}),(0,t.jsx)("span",{className:"user-name",title:r?.address,children:r?.displayName||"未登录"})]}),r?(0,t.jsx)("button",{className:"btn btn-ghost logout-btn",onClick:i,children:"退出"}):(0,t.jsx)("button",{className:"btn btn-primary login-btn",onClick:s,children:"登录"})]})}])},39626,e=>{"use strict";var t=e.i(18050);let n=(0,e.i(56420).default)("panel-left-open",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]]);var a=e.i(59665);e.s(["default",0,function({label:e="打开侧边栏",className:r="",variant:s="primary"}){let{isSidebarVisible:i,openSidebar:l}=(0,a.useAppShell)();return i?null:(0,t.jsxs)("button",{type:"button",className:`btn ${"primary"===s?"btn-primary":""} sidebar-open-hint ${r}`.trim(),onClick:l,children:[(0,t.jsx)(n,{size:16}),e]})}],39626)},10566,e=>{"use strict";let t=(0,e.i(56420).default)("notebook-pen",[["path",{d:"M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4",key:"re6nr2"}],["path",{d:"M2 6h4",key:"aawbzj"}],["path",{d:"M2 10h4",key:"l0bgd4"}],["path",{d:"M2 14h4",key:"1gsvsf"}],["path",{d:"M2 18h4",key:"1bu2t1"}],["path",{d:"M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"pqwjuv"}]]);e.s(["NotebookPen",0,t],10566)},53138,51757,e=>{"use strict";var t=e.i(56420);let n=(0,t.default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["AlertTriangle",0,n],53138);let a=(0,t.default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["CheckCircle2",0,a],51757)},73474,e=>{"use strict";let t=(0,e.i(56420).default)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);e.s(["Trash2",0,t],73474)},56522,e=>{"use strict";let t=(0,e.i(56420).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["Save",0,t],56522)},22315,(e,t,n)=>{e.e,t.exports=function(){"use strict";var e="millisecond",t="second",n="minute",a="hour",r="week",s="month",i="quarter",l="year",o="date",c="Invalid Date",u=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h=function(e,t,n){var a=String(e);return!a||a.length>=t?e:""+Array(t+1-a.length).join(n)+e},p="en",f={};f[p]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}};var m="$isDayjsObject",y=function(e){return e instanceof v||!(!e||!e[m])},x=function e(t,n,a){var r;if(!t)return p;if("string"==typeof t){var s=t.toLowerCase();f[s]&&(r=s),n&&(f[s]=n,r=s);var i=t.split("-");if(!r&&i.length>1)return e(i[0])}else{var l=t.name;f[l]=t,r=l}return!a&&r&&(p=r),r||!a&&p},j=function(e,t){if(y(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new v(n)},b={s:h,z:function(e){var t=-e.utcOffset(),n=Math.abs(t);return(t<=0?"+":"-")+h(Math.floor(n/60),2,"0")+":"+h(n%60,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var a=12*(n.year()-t.year())+(n.month()-t.month()),r=t.clone().add(a,s),i=n-r<0,l=t.clone().add(a+(i?-1:1),s);return+(-(a+(n-r)/(i?r-l:l-r))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(c){return({M:s,y:l,w:r,d:"day",D:o,h:a,m:n,s:t,ms:e,Q:i})[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};b.l=x,b.i=y,b.w=function(e,t){return j(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var v=function(){function h(e){this.$L=x(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[m]=!0}var p=h.prototype;return p.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(b.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var a=t.match(u);if(a){var r=a[2]-1||0,s=(a[7]||"0").substring(0,3);return n?new Date(Date.UTC(a[1],r,a[3]||1,a[4]||0,a[5]||0,a[6]||0,s)):new Date(a[1],r,a[3]||1,a[4]||0,a[5]||0,a[6]||0,s)}}return new Date(t)}(e),this.init()},p.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},p.$utils=function(){return b},p.isValid=function(){return this.$d.toString()!==c},p.isSame=function(e,t){var n=j(e);return this.startOf(t)<=n&&n<=this.endOf(t)},p.isAfter=function(e,t){return j(e)<this.startOf(t)},p.isBefore=function(e,t){return this.endOf(t)<j(e)},p.$g=function(e,t,n){return b.u(e)?this[t]:this.set(n,e)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(e,i){var c=this,u=!!b.u(i)||i,d=b.p(e),h=function(e,t){var n=b.w(c.$u?Date.UTC(c.$y,t,e):new Date(c.$y,t,e),c);return u?n:n.endOf("day")},p=function(e,t){return b.w(c.toDate()[e].apply(c.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(t)),c)},f=this.$W,m=this.$M,y=this.$D,x="set"+(this.$u?"UTC":"");switch(d){case l:return u?h(1,0):h(31,11);case s:return u?h(1,m):h(0,m+1);case r:var j=this.$locale().weekStart||0,v=(f<j?f+7:f)-j;return h(u?y-v:y+(6-v),m);case"day":case o:return p(x+"Hours",0);case a:return p(x+"Minutes",1);case n:return p(x+"Seconds",2);case t:return p(x+"Milliseconds",3);default:return this.clone()}},p.endOf=function(e){return this.startOf(e,!1)},p.$set=function(r,i){var c,u=b.p(r),d="set"+(this.$u?"UTC":""),h=((c={}).day=d+"Date",c[o]=d+"Date",c[s]=d+"Month",c[l]=d+"FullYear",c[a]=d+"Hours",c[n]=d+"Minutes",c[t]=d+"Seconds",c[e]=d+"Milliseconds",c)[u],p="day"===u?this.$D+(i-this.$W):i;if(u===s||u===l){var f=this.clone().set(o,1);f.$d[h](p),f.init(),this.$d=f.set(o,Math.min(this.$D,f.daysInMonth())).$d}else h&&this.$d[h](p);return this.init(),this},p.set=function(e,t){return this.clone().$set(e,t)},p.get=function(e){return this[b.p(e)]()},p.add=function(e,i){var o,c=this;e=Number(e);var u=b.p(i),d=function(t){var n=j(c);return b.w(n.date(n.date()+Math.round(t*e)),c)};if(u===s)return this.set(s,this.$M+e);if(u===l)return this.set(l,this.$y+e);if("day"===u)return d(1);if(u===r)return d(7);var h=((o={})[n]=6e4,o[a]=36e5,o[t]=1e3,o)[u]||1,p=this.$d.getTime()+e*h;return b.w(p,this)},p.subtract=function(e,t){return this.add(-1*e,t)},p.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||c;var a=e||"YYYY-MM-DDTHH:mm:ssZ",r=b.z(this),s=this.$H,i=this.$m,l=this.$M,o=n.weekdays,u=n.months,h=n.meridiem,p=function(e,n,r,s){return e&&(e[n]||e(t,a))||r[n].slice(0,s)},f=function(e){return b.s(s%12||12,e,"0")},m=h||function(e,t,n){var a=e<12?"AM":"PM";return n?a.toLowerCase():a};return a.replace(d,function(e,a){return a||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return b.s(t.$y,4,"0");case"M":return l+1;case"MM":return b.s(l+1,2,"0");case"MMM":return p(n.monthsShort,l,u,3);case"MMMM":return p(u,l);case"D":return t.$D;case"DD":return b.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return p(n.weekdaysMin,t.$W,o,2);case"ddd":return p(n.weekdaysShort,t.$W,o,3);case"dddd":return o[t.$W];case"H":return String(s);case"HH":return b.s(s,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return m(s,i,!0);case"A":return m(s,i,!1);case"m":return String(i);case"mm":return b.s(i,2,"0");case"s":return String(t.$s);case"ss":return b.s(t.$s,2,"0");case"SSS":return b.s(t.$ms,3,"0");case"Z":return r}return null}(e)||r.replace(":","")})},p.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},p.diff=function(e,o,c){var u,d=this,h=b.p(o),p=j(e),f=(p.utcOffset()-this.utcOffset())*6e4,m=this-p,y=function(){return b.m(d,p)};switch(h){case l:u=y()/12;break;case s:u=y();break;case i:u=y()/3;break;case r:u=(m-f)/6048e5;break;case"day":u=(m-f)/864e5;break;case a:u=m/36e5;break;case n:u=m/6e4;break;case t:u=m/1e3;break;default:u=m}return c?u:b.a(u)},p.daysInMonth=function(){return this.endOf(s).$D},p.$locale=function(){return f[this.$L]},p.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),a=x(e,t,!0);return a&&(n.$L=a),n},p.clone=function(){return b.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},h}(),g=v.prototype;return j.prototype=g,[["$ms",e],["$s",t],["$m",n],["$H",a],["$W","day"],["$M",s],["$y",l],["$D",o]].forEach(function(e){g[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),j.extend=function(e,t){return e.$i||(e(t,v,j),e.$i=!0),j},j.locale=x,j.isDayjs=y,j.unix=function(e){return j(1e3*e)},j.en=f[p],j.Ls=f,j.p={},j}()},16327,e=>{"use strict";let t=(0,e.i(56420).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",0,t],16327)},6537,77816,e=>{"use strict";let t=(0,e.i(56420).default)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);e.s(["Lock",0,t],6537);var n=e.i(22315);function a(e){let t;if(!e)return"";let a=(0,n.default)(Number(e)),r=a.hour();return t=r>=0&&r<3?"凌晨":r>=3&&r<6?"拂晓":r>=6&&r<9?"早晨":r>=9&&r<12?"上午":r>=12&&r<15?"下午":r>=15&&r<18?"傍晚":r>=18&&r<21?"晚上":"深夜",a.format(`YYYY年M月D日 ${t}h:m`)}e.s(["formatDate",0,a,"formatTime",0,a],77816)},26091,e=>{"use strict";let t=(0,e.i(56420).default)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);e.s(["FileText",0,t],26091)},62368,e=>{"use strict";let t=(0,e.i(56420).default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);e.s(["Download",0,t],62368)},66595,e=>{"use strict";let t=(0,e.i(56420).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["Search",0,t],66595)},77071,e=>{"use strict";let t=(0,e.i(56420).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);e.s(["Plus",0,t],77071)},26067,e=>{"use strict";let t=(0,e.i(56420).default)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);e.s(["Folder",0,t],26067)},25981,67927,e=>{"use strict";var t=e.i(56420);let n=(0,t.default)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]);e.s(["Upload",0,n],25981);let a=(0,t.default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",0,a],67927)},32391,60923,86512,e=>{"use strict";var t=e.i(18050),n=e.i(71645),a=e.i(53138),r=e.i(51757),s=e.i(31214),i=e.i(62368);let l=(0,e.i(56420).default)("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);var o=e.i(25981),c=e.i(71192);e.s(["NoteMoreMenu",0,function({sync:e}){let u=(0,n.useRef)(null),[d,h]=(0,n.useState)(!1),p=(0,c.useUserStore)(e=>e.wallet),f=null!==e.action;async function m(e){h(!1),await e()}return(0,n.useEffect)(()=>{if(d)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e);function e(e){u.current?.contains(e.target)||h(!1)}},[d]),(0,t.jsxs)("div",{className:"note-more",ref:u,children:[(0,t.jsx)("button",{className:"btn btn-icon note-more-trigger",onClick:()=>h(e=>!e),title:"更多","aria-label":"更多",children:(0,t.jsx)(l,{size:16})}),d&&(0,t.jsxs)("div",{className:"note-more-menu",children:[(0,t.jsxs)("div",{className:`ui-notice note-sync-status ${e.hasConflict?"warning conflict":""}`,children:[(0,t.jsx)("span",{className:`ui-icon-tile note-sync-status-icon ${e.hasConflict?"warning":""}`,children:e.hasConflict?(0,t.jsx)(a.AlertTriangle,{size:16}):"synced"===e.status?(0,t.jsx)(r.CheckCircle2,{size:16}):(0,t.jsx)(s.Cloud,{size:16})}),(0,t.jsxs)("span",{children:[(0,t.jsx)("strong",{children:"云同步"}),(0,t.jsx)("small",{children:e.statusLabel})]})]}),(0,t.jsxs)("button",{className:"note-more-item",onClick:()=>m(e.exportLocalBackup),disabled:!p||f,children:[(0,t.jsx)(o.Upload,{size:16}),"本地导出"]}),(0,t.jsxs)("button",{className:"note-more-item",onClick:()=>m(e.importLocalBackup),disabled:!p||f,children:[(0,t.jsx)(i.Download,{size:16}),"本地导入"]})]})]})}],32391);var u=e.i(16327),d=e.i(67927),h=e.i(26067),p=e.i(63676);e.i(4121);var f=e.i(57667),m=e.i(3789);e.s(["NoteMoveModal",0,function({target:e,directories:a,onMove:r,onClose:s}){let i=(0,m.normalizeNotePath)(e.path||""),l="directory"===e.type?(0,m.normalizeNotePath)(e.path?`${e.path}/${e.name}`:e.name):(0,m.getNoteFullPath)(e),o=a.filter(t=>"directory"!==e.type||t.path!==l&&!t.path.startsWith(`${l}/`)),[c,y]=(0,n.useState)(i),[x,j]=(0,n.useState)(""),[b,v]=(0,n.useState)(new Set),g=(0,m.normalizeNotePath)(x),k=x.trim()?g:c,w=(0,m.normalizeNotePath)(k)===i,N=new Map;for(let e of o){let t=N.get(e.parentPath)||[];t.push(e),N.set(e.parentPath,t)}let S=o.filter(e=>{if(!e.parentPath)return!0;let t=e.parentPath.split("/").filter(Boolean);return t.every((e,n)=>b.has(t.slice(0,n+1).join("/")))}),M=[{label:"全部笔记",path:""},...c.split("/").filter(Boolean).map((e,t,n)=>({label:e,path:n.slice(0,t+1).join("/")}))];function $(e){y((0,m.normalizeNotePath)(e)),j("")}return(0,t.jsx)(f.ModalOverlay,{onClose:s,children:(0,t.jsxs)("div",{className:"note-move-modal",onClick:e=>e.stopPropagation(),children:[(0,t.jsxs)("div",{className:"modal-header",children:[(0,t.jsx)("h3",{children:"移动笔记"}),(0,t.jsx)("button",{className:"btn btn-icon",onClick:s,children:(0,t.jsx)(p.X,{size:18})})]}),(0,t.jsxs)("div",{className:"note-move-target",children:[(0,t.jsx)("span",{children:"正在移动"}),(0,t.jsx)("strong",{children:e.name})]}),(0,t.jsx)("div",{className:"note-move-path",children:M.map((e,a)=>(0,t.jsxs)(n.default.Fragment,{children:[a>0&&(0,t.jsx)("span",{children:"/"}),(0,t.jsx)("button",{type:"button",onClick:()=>$(e.path),children:e.label})]},e.path||"root"))}),(0,t.jsxs)("div",{className:"note-move-folder-list",children:[(0,t.jsxs)("button",{type:"button",className:`note-move-folder-item ${""===c?"selected":""}`,onClick:()=>$(""),children:[(0,t.jsx)("span",{className:"note-move-folder-spacer"}),(0,t.jsx)(h.Folder,{className:"note-move-folder-icon",size:16}),(0,t.jsx)("span",{children:"全部笔记"})]}),0===o.length?(0,t.jsx)("p",{className:"note-move-empty",children:"还没有可选文件夹"}):S.map(e=>{let n=N.has(e.path),a=b.has(e.path);return(0,t.jsxs)("button",{type:"button",className:`note-move-folder-item note-move-depth-${Math.min(e.depth,4)} ${c===e.path?"selected":""}`,onClick:()=>{var t;$(t=e.path),N.has(t)&&v(e=>{let n=new Set(e);return n.has(t)?n.delete(t):n.add(t),n})},children:[n?a?(0,t.jsx)(u.ChevronDown,{className:"note-move-expander",size:14}):(0,t.jsx)(d.ChevronRight,{className:"note-move-expander",size:14}):(0,t.jsx)("span",{className:"note-move-folder-spacer"}),(0,t.jsx)(h.Folder,{className:"note-move-folder-icon",size:16}),(0,t.jsx)("span",{children:e.name}),e.parentPath&&(0,t.jsx)("small",{children:e.parentPath})]},e.path)})]}),(0,t.jsx)("input",{className:"input input-compact",value:x,onChange:e=>j(e.target.value),placeholder:"或输入新目录路径,如 文章/摘录"}),(0,t.jsxs)("div",{className:"note-move-destination",children:["目标位置:",k||"全部笔记"]}),(0,t.jsxs)("div",{className:"modal-actions",children:[(0,t.jsx)("button",{className:"btn btn-secondary",onClick:s,children:"取消"}),(0,t.jsx)("button",{className:"btn btn-primary",onClick:function(){w||r(k)},disabled:w,children:"移动"})]})]})})}],60923);var y=e.i(11241),x=e.i(27648);e.s(["NoteSidebar",0,function({children:e}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"sidebar-header sidebar-header-link",onClick:()=>{window.location.href="/"},children:[(0,t.jsx)(y.ArrowLeft,{size:18}),(0,t.jsx)("h1",{children:"MOST PEOPLE"})]}),e,(0,t.jsx)(x.default,{})]})}],86512)},67585,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"BailoutToCSR",{enumerable:!0,get:function(){return r}});let a=e.r(32061);function r({reason:e,children:t}){if("u"<typeof window)throw Object.defineProperty(new a.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t}},9885,(e,t,n)=>{"use strict";function a(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"encodeURIPath",{enumerable:!0,get:function(){return a}})},52157,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"PreloadChunks",{enumerable:!0,get:function(){return o}});let a=e.r(18050),r=e.r(74080),s=e.r(63599),i=e.r(9885),l=e.r(43369);function o({moduleIds:e}){if("u">typeof window)return null;let t=s.workAsyncStorage.getStore();if(void 0===t)return null;let n=[];if(t.reactLoadableManifest&&e){let a=t.reactLoadableManifest;for(let t of e){if(!a[t])continue;let e=a[t].files;n.push(...e)}}if(0===n.length)return null;let c=(0,l.getAssetTokenQuery)();return(0,a.jsx)(a.Fragment,{children:n.map(e=>{let n=`${t.assetPrefix}/_next/${(0,i.encodeURIPath)(e)}${c}`;return e.endsWith(".css")?(0,a.jsx)("link",{precedence:"dynamic",href:n,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,r.preload)(n,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},69093,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return c}});let a=e.r(18050),r=e.r(71645),s=e.r(67585),i=e.r(52157);function l(e){return{default:e&&"default"in e?e.default:e}}let o={loader:()=>Promise.resolve(l(()=>null)),loading:null,ssr:!0},c=function(e){let t={...o,...e},n=(0,r.lazy)(()=>t.loader().then(l)),c=t.loading;function u(e){let l=c?(0,a.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,o=!t.ssr||!!t.loading,u=o?r.Suspense:r.Fragment,d=t.ssr?(0,a.jsxs)(a.Fragment,{children:["u"<typeof window?(0,a.jsx)(i.PreloadChunks,{moduleIds:t.modules}):null,(0,a.jsx)(n,{...e})]}):(0,a.jsx)(s.BailoutToCSR,{reason:"next/dynamic",children:(0,a.jsx)(n,{...e})});return(0,a.jsx)(u,{...o?{fallback:l}:{},children:d})}return u.displayName="LoadableComponent",u}},70703,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r}});let a=e.r(55682)._(e.r(69093));function r(e,t){let n={};"function"==typeof e&&(n.loader=e);let r={...n,...t};return(0,a.default)({...r,modules:r.loadableGenerated?.modules})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},58559,e=>{"use strict";var t=e.i(18050),n=e.i(71645),a=e.i(70703),r=e.i(18566),s=e.i(56420);let i=(0,s.default)("pencil-ruler",[["path",{d:"M13 7 8.7 2.7a2.41 2.41 0 0 0-3.4 0L2.7 5.3a2.41 2.41 0 0 0 0 3.4L7 13",key:"orapub"}],["path",{d:"m8 6 2-2",key:"115y1s"}],["path",{d:"m18 16 2-2",key:"ee94s4"}],["path",{d:"m17 11 4.3 4.3c.94.94.94 2.46 0 3.4l-2.6 2.6c-.94.94-2.46.94-3.4 0L11 17",key:"cfq27r"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);var l=e.i(72382),o=e.i(26091),c=e.i(26067);let u=(0,s.default)("move",[["path",{d:"M12 2v20",key:"t6zp3m"}],["path",{d:"m15 19-3 3-3-3",key:"11eu04"}],["path",{d:"m19 9 3 3-3 3",key:"1mg7y2"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"m5 9-3 3 3 3",key:"j64kie"}],["path",{d:"m9 5 3-3 3 3",key:"l8vdw6"}]]);var d=e.i(6537),h=e.i(96699),p=e.i(10566),f=e.i(77071),m=e.i(56522),y=e.i(66595),x=e.i(35965),j=e.i(73474),b=e.i(63676),v=e.i(59665),g=e.i(39626);e.i(4121);var k=e.i(88361),w=e.i(47910),N=e.i(3593),S=e.i(71192),M=e.i(66112),$=e.i(77816),C=e.i(3789),z=e.i(32391),D=e.i(60923),P=e.i(86512);let O="https://api.most.box/auth/backup";async function A(e,t){let n=await e.clone().json().catch(()=>null);return n?.error||t}function T(e,t){return(0,M.mostEncode)(JSON.stringify({notes:e||[]}),t)}function _(e,t){if(!String(e||"").startsWith("mp://1"))throw Error("无效的备份数据格式");let n=(0,M.mostDecode)(e,t);if(!n)throw Error("解密失败,请确认当前 Web3 登录账号正确");let a=JSON.parse(n);if(!Array.isArray(a.notes))throw Error("备份数据缺少 notes");return a}async function L(e){return(0,C.calculateNoteCid)(JSON.stringify({notes:e||[]}))}async function E(e,t,n=O){let a=Date.now().toString(),r=new URL(n).pathname,s=`${a}:${String(t).toUpperCase()}:${r}`,{address:i,signature:l}=await (0,M.mostSignMessage)(e.danger,s);return{Authorization:`${i},${a},${l}`}}async function U(e,t){let n=JSON.stringify({notes:t||[]}),a=await (0,C.calculateNoteCid)(n);return{cid:a,body:T(t,e.danger),headers:{"Content-Type":"text/plain","x-backup-cid":a,...await E(e,"PUT",O)}}}async function R(e,t,n=O){let a=await U(e,t),r=await fetch(n,{method:"PUT",headers:a.headers,body:a.body});if(!r.ok)throw Error(await A(r,"云备份失败"));return{cid:a.cid}}async function H(e,t=O){let n=await fetch(t,{method:"GET",headers:await E(e,"GET",t)});if(404===n.status)return{found:!1,cid:"",time:0,notes:[]};if(!n.ok)throw Error(await A(n,"云端恢复失败"));let a=await n.text();if(!a)throw Error("云端无备份数据");let r=_(a,e.danger);return{found:!0,cid:n.headers.get("x-backup-cid")||"",time:Number(n.headers.get("x-backup-time")||0),notes:r.notes}}let F=!1,W="",Y="";function I(e,t){return e instanceof Error?e.message:t}let B=(0,a.default)(()=>e.A(71504).then(e=>e.MilkdownEditor),{loadableGenerated:{modules:[36975]},ssr:!1,loading:()=>(0,t.jsx)("div",{className:"note-editor-loading",children:"加载编辑器..."})});function V(e,t){return e instanceof Error?e.message:t}function q(){let e=(0,r.useRouter)(),a=(0,r.useSearchParams)(),s=(0,n.useRef)(null),O=function(){let e=(0,S.useUserStore)(e=>e.wallet),t=(0,S.useUserStore)(e=>e.openLoginModal),a=(0,N.useAppStore)(e=>e.addToast),r=(0,N.useAppStore)(e=>e.notes),s=(0,N.useAppStore)(e=>e.importNotes),i=(0,N.useAppStore)(e=>e.localDataReady),[l,o]=(0,n.useState)(null),[c,u]=(0,n.useState)(e?"idle":"disabled"),[d,h]=(0,n.useState)(F),[p,f]=(0,n.useState)(!1),m=(0,n.useRef)(0),y=(0,n.useCallback)(e=>{F=e,h(e)},[]),x=(0,n.useCallback)((e=!1)=>{let n=S.useUserStore.getState().wallet;return n||(e||t(),null)},[a,t]),j=(0,n.useCallback)(async(e={})=>{let{silent:t=!1,confirmConflict:n=!0}=e,r=x(t);if(!r)return u("disabled"),!1;if(F&&n&&!window.confirm("本地数据与云端不一致,本地修改将会覆盖云端数据,是否继续?"))return t||a("已取消同步","info"),u("conflict"),!1;o("save"),u("uploading");try{let e=N.useAppStore.getState().notes;return W=(await R(r,e)).cid,Y=r.address,y(!1),u("synced"),t||a("云端备份已更新","success"),!0}catch(e){return u("error"),t?console.info(I(e,"云备份失败")):a(I(e,"云备份失败"),"error"),!1}finally{o(null)}},[a,x,y]),b=(0,n.useCallback)(async(e={})=>{let{manual:t=!1,uploadWhenMissing:n=!1}=e,r=x(!t);if(!r)return u("disabled"),!1;o(t?"restore":"sync"),u(t?"restoring":"checking");try{let e=await H(r),i=N.useAppStore.getState().notes;if(!e.found){if(y(!1),Y=r.address,n&&i.length>0)return o(null),j({silent:!0,confirmConflict:!1});return u(i.length>0?"idle":"synced"),t&&a("云端暂无备份","info"),!1}let l=e.notes||[],c=await L(i),d=e.cid||await L(l);if(i.length>0&&c!==d&&!window.confirm("云端备份与本地笔记不一致。恢复会覆盖本地笔记,是否继续?"))return y(!0),u("conflict"),t&&a("已取消恢复","info"),!1;return c!==d&&s(l),W=d,Y=r.address,y(!1),u("synced"),t&&a("已从云端恢复","success"),!0}catch(e){return u("error"),t?a(I(e,"云端恢复失败"),"error"):console.info(I(e,"云端恢复失败")),!1}finally{o(null)}},[a,s,x,y,j]),v=(0,n.useCallback)(()=>{let e=x(!1);if(e)try{let t=N.useAppStore.getState().notes,n=T(t,e.danger),r=new Blob([n],{type:"text/plain"}),s=URL.createObjectURL(r),i=document.createElement("a");i.href=s,i.download=`${e.address.slice(-4)}-most-notes-${new Date().toISOString().slice(0,10)}.txt`,i.click(),URL.revokeObjectURL(s),a("笔记已导出到本地","success")}catch(e){a(I(e,"导出失败"),"error")}},[a,x]),g=(0,n.useCallback)(()=>{let e=x(!1);if(!e)return;let t=document.createElement("input");t.type="file",t.accept=".txt",t.onchange=t=>{let n=t.target.files?.[0];if(!n)return;let r=new FileReader;r.onload=async()=>{try{let t=r.result,n=_(t,e.danger);if(N.useAppStore.getState().notes.length>0&&!window.confirm("恢复将覆盖当前本地笔记,是否继续?"))return void a("已取消恢复","info");s(n.notes),a("已从本地恢复笔记","success"),await j({silent:!0})}catch(e){a(I(e,"导入失败"),"error")}},r.readAsText(n)},t.click()},[a,s,x,j]);(0,n.useEffect)(()=>{if(!i)return;if(!e){Y="",W="",f(!1),y(!1),u("disabled");return}if(Y===e.address){f(!0),u(F?"conflict":"synced");return}let t=!1;return f(!1),b({manual:!1,uploadWhenMissing:!0}).finally(()=>{t||f(!0)}),()=>{t=!0}},[i,b,y,e]),(0,n.useEffect)(()=>{if(!e||!i||!p||(m.current+=1,m.current<=1))return;let t=window.setTimeout(async()=>{let e=N.useAppStore.getState().notes;await L(e)!==W&&await j({silent:!0})},900);return()=>window.clearTimeout(t)},[p,i,r,j,e]);let k=(0,n.useMemo)(()=>(function(e){switch(e){case"disabled":return"未登录";case"checking":return"检查中";case"uploading":return"同步中";case"restoring":return"恢复中";case"synced":return"已同步";case"conflict":return"有冲突";case"error":return"同步失败";default:return"待同步"}})(c),[c]);return{action:l,status:c,statusLabel:k,hasConflict:d,uploadNow:j,restoreFromCloud:b,exportLocalBackup:v,importLocalBackup:g}}(),A=(0,N.useAppStore)(e=>e.addToast),E=(0,N.useAppStore)(e=>e.isDarkMode),U=(0,N.useAppStore)(e=>e.setIsDarkMode),q=(0,S.useUserStore)(e=>e.wallet),J=(0,S.useUserStore)(e=>e.openLoginModal),Z=(0,N.useAppStore)(e=>e.notes),G=(0,N.useAppStore)(e=>e.notesPath),K=(0,N.useAppStore)(e=>e.setNotesPath),X=(0,N.useAppStore)(e=>e.saveNote),Q=(0,N.useAppStore)(e=>e.deleteNote),ee=(0,N.useAppStore)(e=>e.renameNote),et=(0,N.useAppStore)(e=>e.localDataReady),en=a.get("cid")||"",ea=Z.find(e=>e.cid===en),er=!!en,es=er&&"edit"===a.get("mode"),[ei,el]=(0,n.useState)(""),[eo,ec]=(0,n.useState)(null),[eu,ed]=(0,n.useState)(null),[eh,ep]=(0,n.useState)(null),[ef,em]=(0,n.useState)(""),[ey,ex]=(0,n.useState)(""),[ej,eb]=(0,n.useState)(""),[ev,eg]=(0,n.useState)(""),[ek,ew]=(0,n.useState)(""),[eN,eS]=(0,n.useState)(""),[eM,e$]=(0,n.useState)(!1),[eC,ez]=(0,n.useState)(""),[eD,eP]=(0,n.useState)(!1);(0,n.useEffect)(()=>{if(!en){em(""),ex("");return}if(!ea){em(""),ex(et?"笔记不存在":"");return}if(ea.content.startsWith("mp://1")){if(!q){em(""),ex("请先登录 Web3 账号以解密此笔记");return}let e=(0,M.mostDecode)(ea.content,q.danger);if(!e){em(""),ex("无法解密,请确认当前 Web3 账号正确");return}em(e),ex("");return}em(ea.content||""),ex("")},[en,et,ea,q]),(0,n.useEffect)(()=>{if(!es)return void eP(!1);if(!en||!ea){eg(""),ew(""),eS(""),e$(!1),ez(et?"笔记不存在":"");return}if(eg(ea.name),ew(ea.path||""),e$(!0===ea.isSecret||ea.content.startsWith("mp://1")),ea.content.startsWith("mp://1")){if(!q){eS(""),ez("请先登录 Web3 账号以解密此笔记");return}let e=(0,M.mostDecode)(ea.content,q.danger);if(!e){eS(""),ez("无法解密,请确认当前 Web3 账号正确");return}eS(e),ez("");return}eS(ea.content||""),ez("")},[en,es,et,ea,q]),(0,n.useEffect)(()=>{eb(ea?.name||"")},[ea?.cid,ea?.name]);let eO=(0,n.useMemo)(()=>(0,C.filterNotesByPath)(Z,G,ei),[Z,G,ei]),eA=eO.filter(e=>"file"===e.type).length,eT=ea?.isSecret===!0||ea?.content.startsWith("mp://1")===!0,e_=(0,n.useMemo)(()=>{let e=G.split("/").filter(Boolean);return[{label:"全部笔记",path:""},...e.map((t,n)=>({label:t,path:e.slice(0,n+1).join("/")}))]},[G]),eL=(0,n.useMemo)(()=>(function(e){let t=new Set;for(let n of e){let e=(0,C.normalizeNotePath)(n.path).split("/").filter(Boolean);for(let n=0;n<e.length;n+=1)t.add(e.slice(0,n+1).join("/"))}return Array.from(t).sort((e,t)=>e.localeCompare(t,"zh-CN")).map(e=>{let t=e.split("/");return{path:e,name:t[t.length-1]||e,parentPath:t.slice(0,-1).join("/"),depth:Math.max(t.length-1,0)}})})(Z),[Z]);function eE(){return!!q||(J(),!1)}async function eU(){if(eE()){if(!ea)return void A("笔记不存在","error");if(!ev.trim())return void A("请输入笔记名称","warning");eP(!0);try{let t=s.current?.getMarkdown()??eN,n=eM?(0,M.mostEncode)(t,q.danger):t,a=await X({cid:ea.cid,name:ev,path:ek,content:n,isSecret:eM});eS(t),A("笔记已保存","success"),await O.uploadNow({silent:!0}),e.replace(`/note/?cid=${encodeURIComponent(a)}`)}catch(e){A(V(e,"保存失败"),"error")}finally{eP(!1)}}}async function eR(){if(!eE()||!ea)return;let e=ej.trim();if(!e){eb(ea.name),A("请输入笔记名称","warning");return}if(e!==ea.name)try{ee((0,C.getNoteFullPath)(ea),ea.path,e),A("已重命名","success"),await O.uploadNow({silent:!0})}catch(e){eb(ea.name),A(V(e,"重命名失败"),"error")}}async function eH(e){if(eh)try{ee("directory"===eh.type?(0,C.normalizeNotePath)(eh.path?`${eh.path}/${eh.name}`:eh.name):(0,C.getNoteFullPath)(eh),e,eh.name),ep(null),A("已移动","success"),await O.uploadNow({silent:!0})}catch(e){A(V(e,"移动失败"),"error")}}let eF=(0,t.jsxs)("div",{className:"note-header-title",children:[(0,t.jsx)("h2",{className:"header-title",children:"笔记"}),(0,t.jsxs)("span",{children:[Z.length," 篇"]})]}),eW=(0,t.jsxs)("div",{className:"note-theme-wrap",children:[(0,t.jsx)("button",{className:"btn btn-icon",onClick:()=>U(!E),title:"切换主题","aria-label":"切换主题",children:E?(0,t.jsx)(x.Sun,{size:16}):(0,t.jsx)(h.Moon,{size:16})}),(0,t.jsx)(z.NoteMoreMenu,{sync:O})]}),eY=(0,t.jsxs)("section",{className:"note-list-panel note-sidebar-list","aria-label":"笔记列表",children:[(0,t.jsxs)("div",{className:"note-list-header",children:[(0,t.jsx)("div",{className:"note-current-location",children:(0,t.jsx)("div",{className:"note-breadcrumbs",children:e_.map((e,a)=>(0,t.jsxs)(n.Fragment,{children:[a>0&&(0,t.jsx)("span",{children:"/"}),(0,t.jsx)("button",{onClick:()=>K(e.path),children:e.label})]},e.path||"root"))})}),(0,t.jsxs)("span",{className:"note-count",children:[eA," 篇"]})]}),(0,t.jsxs)("div",{className:"note-search",children:[(0,t.jsx)(y.Search,{size:16}),(0,t.jsx)("input",{className:"input input-flex",value:ei,onChange:e=>el(e.target.value),placeholder:"搜索笔记"})]}),0===eO.length?(0,t.jsxs)("div",{className:"ui-empty-state note-empty-state",children:[(0,t.jsx)(p.NotebookPen,{size:32}),(0,t.jsx)("p",{children:ei?"未找到笔记":"还没有笔记"})]}):(0,t.jsx)("div",{className:"note-list",children:eO.map(n=>(0,t.jsx)("article",{className:`ui-list-item note-list-item ${"file"===n.type&&n.cid===en?"active":""}`,children:(0,t.jsxs)("button",{className:`ui-list-item-main note-list-item-main ${"directory"===n.type?"folder":""}`,onClick:()=>{if("directory"===n.type)K((0,C.normalizeNotePath)(n.path?`${n.path}/${n.name}`:n.name));else e.push(`/note/?cid=${encodeURIComponent(n.cid)}`)},children:[(0,t.jsx)("span",{className:`ui-list-icon note-list-icon ${"directory"===n.type?"warning":""}`,children:"directory"===n.type?(0,t.jsx)(c.Folder,{size:18}):n.isSecret?(0,t.jsx)(d.Lock,{size:18}):(0,t.jsx)(o.FileText,{size:18})}),(0,t.jsxs)("span",{className:"ui-list-copy note-list-copy",children:[(0,t.jsx)("span",{className:"ui-list-title note-list-name",children:n.name}),"file"===n.type?(0,t.jsx)("span",{className:"ui-list-desc note-list-preview",children:n.isSecret||n.content.startsWith("mp://1")?"私密内容已加密":String(n.content||"").replace(/```[\s\S]*?```/g," ").replace(/!\[[^\]]*]\([^)]*\)/g," ").replace(/\[([^\]]+)]\([^)]*\)/g,"$1").replace(/[#>*_`~|-]/g," ").replace(/\s+/g," ").trim()||"空白笔记"}):(0,t.jsx)("span",{className:"ui-list-desc note-list-preview",children:"文件夹"})]}),"file"===n.type&&(0,t.jsx)("span",{className:"ui-list-meta note-list-date",children:(0,$.formatDate)(n.updated_at)})]})},`${n.cid}:${n.path}:${n.name}`))}),(0,t.jsx)("div",{className:"note-create-btn",children:(0,t.jsxs)("button",{className:"btn",onClick:function(){eE()&&ec({title:"新建笔记",placeholder:"笔记名称",confirmText:"创建",onConfirm:async t=>{if(eE())try{let n=await X({name:t,path:G,content:"",isSecret:!1});ec(null),A("笔记已创建","success"),await O.uploadNow({silent:!0}),e.push(`/note/?cid=${encodeURIComponent(n)}&mode=edit`)}catch(e){A(V(e,"创建失败"),"error")}}})},children:[(0,t.jsx)(f.Plus,{size:16}),"新笔记"]})})]});return(0,t.jsxs)(v.default,{sidebar:()=>(0,t.jsx)(P.NoteSidebar,{children:eY}),headerTitle:eF,headerRight:eW,children:[(0,t.jsx)("main",{className:`note-page note-browser-page ${er?"has-editor":""}`,children:(0,t.jsx)("section",{className:"note-workspace",children:(0,t.jsx)("section",{className:"note-editor-panel","aria-label":es?"笔记编辑器":"笔记阅读器",children:er?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"note-editor-panel-header",children:[(0,t.jsxs)("div",{className:"note-editor-title-area",children:[es?(0,t.jsx)("input",{className:"note-title-input",value:ev,onChange:e=>eg(e.target.value),placeholder:"笔记名称",disabled:!ea}):ea?(0,t.jsx)("input",{className:"note-title-input",value:ej,onBlur:eR,onChange:e=>eb(e.target.value),onKeyDown:e=>{"Enter"===e.key&&e.currentTarget.blur(),"Escape"===e.key&&(eb(ea.name),e.currentTarget.blur())},placeholder:"笔记名称",title:"重命名"}):(0,t.jsx)("h3",{children:"未命名笔记"}),ea&&(0,t.jsxs)("div",{className:"note-editor-info",children:[(0,t.jsx)("span",{children:es?"编辑模式":"阅读模式"}),(0,t.jsx)("span",{children:es?eM?"私密":"公开":eT?"私密":"公开"}),(0,t.jsx)("span",{children:(0,$.formatDate)(ea.updated_at)})]})]}),(0,t.jsxs)("div",{className:"note-editor-actions",children:[(0,t.jsx)("button",{type:"button",className:"btn btn-icon",onClick:es?function(){e.push(ea?`/note/?cid=${encodeURIComponent(ea.cid)}`:"/note/")}:()=>e.push("/note/"),title:es?"取消":"关闭","aria-label":es?"取消":"关闭",children:(0,t.jsx)(b.X,{size:16})}),es?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{className:`btn btn-sm ${eM?"btn-warning":"btn-secondary"}`,onClick:()=>e$(!eM),disabled:!ea,children:[eM?(0,t.jsx)(d.Lock,{size:16}):(0,t.jsx)(l.Eye,{size:16}),eM?"私密":"公开"]}),(0,t.jsxs)("button",{className:"btn btn-sm btn-primary",onClick:eU,disabled:eD||!!eC||!ea,children:[(0,t.jsx)(m.Save,{size:16}),eD?"保存中":"保存"]})]}):ea&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",className:"btn btn-icon",onClick:()=>{eE()&&ep(ea)},title:"移动","aria-label":"移动",children:(0,t.jsx)(u,{size:16})}),(0,t.jsx)("button",{type:"button",className:"btn btn-icon note-editor-action-danger",onClick:()=>(function(t){if(!eE())return;let n="directory"===t.type;ed({title:n?"删除文件夹":"删除笔记",message:`确定要删除「${t.name}」吗?此操作不可撤销。`,confirmText:"删除",onConfirm:async()=>{Q(n?void 0:t.cid,t.path,t.name),ed(null),A("已删除","success"),await O.uploadNow({silent:!0}),"file"===t.type&&t.cid===en&&e.push("/note/")}})})(ea),title:"删除","aria-label":"删除",children:(0,t.jsx)(j.Trash2,{size:16})}),(0,t.jsxs)("button",{type:"button",className:"btn btn-sm btn-primary",onClick:()=>{e.push(`/note/?cid=${encodeURIComponent(ea.cid)}&mode=edit`)},disabled:!!ey,title:"编辑","aria-label":"编辑",children:[(0,t.jsx)(i,{size:16}),"编辑"]})]})]})]}),es?eC?(0,t.jsxs)("div",{className:"note-empty-state editor-error",children:[(0,t.jsx)(d.Lock,{size:36}),(0,t.jsx)("p",{children:eC})]}):ea?(0,t.jsx)("div",{className:"note-editor-frame editing",children:(0,t.jsx)(B,{ref:s,content:eN,onChange:eS,className:"milkdown-editor"})}):(0,t.jsxs)("div",{className:"note-empty-state editor-error",children:[(0,t.jsx)(p.NotebookPen,{size:36}),(0,t.jsx)("p",{children:et?"笔记不存在":"加载中..."})]}):ey?(0,t.jsxs)("div",{className:"ui-empty-state note-empty-state editor-error",children:[(0,t.jsx)(d.Lock,{size:36}),(0,t.jsx)("p",{children:ey})]}):ea?(0,t.jsx)("div",{className:"note-editor-frame reading",children:(0,t.jsx)(B,{content:ef,readOnly:!0,className:"milkdown-editor"})}):(0,t.jsxs)("div",{className:"ui-empty-state note-empty-state editor-error",children:[(0,t.jsx)(p.NotebookPen,{size:36}),(0,t.jsx)("p",{children:et?"笔记不存在":"加载中..."})]})]}):(0,t.jsxs)("div",{className:"ui-empty-state note-editor-empty",children:[(0,t.jsx)("div",{className:"ui-empty-icon note-editor-empty-icon",children:(0,t.jsx)(p.NotebookPen,{size:32})}),(0,t.jsx)("h3",{className:"ui-empty-title",children:"没有打开的笔记"}),(0,t.jsx)("p",{className:"ui-empty-desc",children:Z.length>0?"选择一篇笔记继续":"创建第一篇笔记"}),(0,t.jsx)(g.default,{label:"打开笔记列表",variant:"default"})]})})})}),eo&&(0,t.jsx)(w.InputModal,{title:eo.title,placeholder:eo.placeholder,defaultValue:eo.defaultValue,confirmText:eo.confirmText,onConfirm:eo.onConfirm,onClose:()=>ec(null)}),eu&&(0,t.jsx)(k.ConfirmModal,{title:eu.title,message:eu.message,confirmText:eu.confirmText,danger:!0,onConfirm:eu.onConfirm,onClose:()=>ed(null)}),eh&&(0,t.jsx)(D.NoteMoveModal,{target:eh,directories:eL,onMove:eH,onClose:()=>ep(null)})]})}e.s(["default",0,function(){return(0,t.jsx)(n.Suspense,{fallback:(0,t.jsx)("div",{className:"note-editor-loading",children:"加载中..."}),children:(0,t.jsx)(q,{})})}],58559)},71504,e=>{e.v(t=>Promise.all(["static/chunks/3r5wf57k0gys9.js","static/chunks/0o-o9af-grvj8.js","static/chunks/2uget3ephe4e3.js","static/chunks/3fj0amtzqae6f.js"].map(t=>e.l(t))).then(()=>t(36975)))}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,95057,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={formatUrl:function(){return l},formatWithValidation:function(){return c},urlObjectKeys:function(){return d}};for(var n in r)Object.defineProperty(a,n,{enumerable:!0,get:r[n]});let s=e.r(90809)._(e.r(98183)),i=/https?|ftp|gopher|file/;function l(e){let{auth:t,hostname:a}=e,r=e.protocol||"",n=e.pathname||"",l=e.hash||"",d=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:a&&(c=t+(~a.indexOf(":")?`[${a}]`:a),e.port&&(c+=":"+e.port)),d&&"object"==typeof d&&(d=String(s.urlQueryToSearchParams(d)));let o=e.search||d&&`?${d}`||"";return r&&!r.endsWith(":")&&(r+=":"),e.slashes||(!r||i.test(r))&&!1!==c?(c="//"+(c||""),n&&"/"!==n[0]&&(n="/"+n)):c||(c=""),l&&"#"!==l[0]&&(l="#"+l),o&&"?"!==o[0]&&(o="?"+o),n=n.replace(/[?#]/g,encodeURIComponent),o=o.replace("#","%23"),`${r}${c}${n}${o}${l}`}let d=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return l(e)}},18581,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"useMergedRef",{enumerable:!0,get:function(){return n}});let r=e.r(71645);function n(e,t){let a=(0,r.useRef)(null),n=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=a.current;e&&(a.current=null,e());let t=n.current;t&&(n.current=null,t())}else e&&(a.current=s(e,r)),t&&(n.current=s(t,r))},[e,t])}function s(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let a=e(t);return"function"==typeof a?a:()=>e(null)}}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},73668,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"isLocalURL",{enumerable:!0,get:function(){return s}});let r=e.r(18967),n=e.r(52817);function s(e){if(!(0,r.isAbsoluteUrl)(e))return!0;try{let t=(0,r.getLocationOrigin)(),a=new URL(e,t);return a.origin===t&&(0,n.hasBasePath)(a.pathname)}catch(e){return!1}}},84508,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},22016,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={default:function(){return v},useLinkStatus:function(){return x}};for(var n in r)Object.defineProperty(a,n,{enumerable:!0,get:r[n]});let s=e.r(90809),i=e.r(18050),l=s._(e.r(71645)),d=e.r(95057),c=e.r(8372),o=e.r(18581),u=e.r(18967),h=e.r(5550);e.r(33525);let f=e.r(88540),p=e.r(91949),m=e.r(73668),y=e.r(9396);function v(t){var a,r;let n,s,v,[x,g]=(0,l.useOptimistic)(p.IDLE_LINK_STATUS),b=(0,l.useRef)(null),{href:M,as:$,children:w,prefetch:S=null,passHref:k,replace:_,shallow:N,scroll:D,onClick:C,onMouseEnter:O,onTouchStart:z,legacyBehavior:T=!1,onNavigate:L,transitionTypes:Y,ref:A,unstable_dynamicOnHover:B,...P}=t;n=w,T&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let H=l.default.useContext(c.AppRouterContext),I=!1!==S,E=!1!==S?null===(r=S)||"auto"===r?y.FetchStrategy.PPR:y.FetchStrategy.Full:y.FetchStrategy.PPR,F="string"==typeof(a=$||M)?a:(0,d.formatUrl)(a);if(T){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});s=l.default.Children.only(n)}let U=T?s&&"object"==typeof s&&s.ref:A,R=l.default.useCallback(e=>(null!==H&&(b.current=(0,p.mountLinkInstance)(e,F,H,E,I,g)),()=>{b.current&&((0,p.unmountLinkForCurrentNavigation)(b.current),b.current=null),(0,p.unmountPrefetchableInstance)(e)}),[I,F,H,E,g]),V={ref:(0,o.useMergedRef)(R,U),onClick(t){T||"function"!=typeof C||C(t),T&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(t),!H||t.defaultPrevented||function(t,a,r,n,s,i,d){if("u">typeof window){let c,{nodeName:o}=t.currentTarget;if("A"===o.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(a)){n&&(t.preventDefault(),location.replace(a));return}if(t.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:u}=e.r(99781);l.default.startTransition(()=>{u(a,n?"replace":"push",!1===s?f.ScrollBehavior.NoScroll:f.ScrollBehavior.Default,r.current,d)})}}(t,F,b,_,D,L,Y)},onMouseEnter(e){T||"function"!=typeof O||O(e),T&&s.props&&"function"==typeof s.props.onMouseEnter&&s.props.onMouseEnter(e),H&&I&&(0,p.onNavigationIntent)(e.currentTarget,!0===B)},onTouchStart:function(e){T||"function"!=typeof z||z(e),T&&s.props&&"function"==typeof s.props.onTouchStart&&s.props.onTouchStart(e),H&&I&&(0,p.onNavigationIntent)(e.currentTarget,!0===B)}};return(0,u.isAbsoluteUrl)(F)?V.href=F:T&&!k&&("a"!==s.type||"href"in s.props)||(V.href=(0,h.addBasePath)(F)),v=T?l.default.cloneElement(s,V):(0,i.jsx)("a",{...P,...V,children:n}),(0,i.jsx)(j.Provider,{value:x,children:v})}e.r(84508);let j=(0,l.createContext)(p.IDLE_LINK_STATUS),x=()=>(0,l.useContext)(j);("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},66627,e=>{"use strict";let t=(0,e.i(56420).default)("wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]]);e.s(["Wifi",0,t],66627)},50285,e=>{"use strict";let t=(0,e.i(56420).default)("hard-drive",[["path",{d:"M10 16h.01",key:"1bzywj"}],["path",{d:"M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"18tbho"}],["path",{d:"M21.946 12.013H2.054",key:"zqlbp7"}],["path",{d:"M6 16h.01",key:"1pmjb7"}]]);e.s(["HardDrive",0,t],50285)},22315,(e,t,a)=>{e.e,t.exports=function(){"use strict";var e="millisecond",t="second",a="minute",r="hour",n="week",s="month",i="quarter",l="year",d="date",c="Invalid Date",o=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,u=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h=function(e,t,a){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(a)+e},f="en",p={};p[f]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],a=e%100;return"["+e+(t[(a-20)%10]||t[a]||t[0])+"]"}};var m="$isDayjsObject",y=function(e){return e instanceof g||!(!e||!e[m])},v=function e(t,a,r){var n;if(!t)return f;if("string"==typeof t){var s=t.toLowerCase();p[s]&&(n=s),a&&(p[s]=a,n=s);var i=t.split("-");if(!n&&i.length>1)return e(i[0])}else{var l=t.name;p[l]=t,n=l}return!r&&n&&(f=n),n||!r&&f},j=function(e,t){if(y(e))return e.clone();var a="object"==typeof t?t:{};return a.date=e,a.args=arguments,new g(a)},x={s:h,z:function(e){var t=-e.utcOffset(),a=Math.abs(t);return(t<=0?"+":"-")+h(Math.floor(a/60),2,"0")+":"+h(a%60,2,"0")},m:function e(t,a){if(t.date()<a.date())return-e(a,t);var r=12*(a.year()-t.year())+(a.month()-t.month()),n=t.clone().add(r,s),i=a-n<0,l=t.clone().add(r+(i?-1:1),s);return+(-(r+(a-n)/(i?n-l:l-n))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(c){return({M:s,y:l,w:n,d:"day",D:d,h:r,m:a,s:t,ms:e,Q:i})[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};x.l=v,x.i=y,x.w=function(e,t){return j(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var g=function(){function h(e){this.$L=v(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[m]=!0}var f=h.prototype;return f.parse=function(e){this.$d=function(e){var t=e.date,a=e.utc;if(null===t)return new Date(NaN);if(x.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(o);if(r){var n=r[2]-1||0,s=(r[7]||"0").substring(0,3);return a?new Date(Date.UTC(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(t)}(e),this.init()},f.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},f.$utils=function(){return x},f.isValid=function(){return this.$d.toString()!==c},f.isSame=function(e,t){var a=j(e);return this.startOf(t)<=a&&a<=this.endOf(t)},f.isAfter=function(e,t){return j(e)<this.startOf(t)},f.isBefore=function(e,t){return this.endOf(t)<j(e)},f.$g=function(e,t,a){return x.u(e)?this[t]:this.set(a,e)},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(e,i){var c=this,o=!!x.u(i)||i,u=x.p(e),h=function(e,t){var a=x.w(c.$u?Date.UTC(c.$y,t,e):new Date(c.$y,t,e),c);return o?a:a.endOf("day")},f=function(e,t){return x.w(c.toDate()[e].apply(c.toDate("s"),(o?[0,0,0,0]:[23,59,59,999]).slice(t)),c)},p=this.$W,m=this.$M,y=this.$D,v="set"+(this.$u?"UTC":"");switch(u){case l:return o?h(1,0):h(31,11);case s:return o?h(1,m):h(0,m+1);case n:var j=this.$locale().weekStart||0,g=(p<j?p+7:p)-j;return h(o?y-g:y+(6-g),m);case"day":case d:return f(v+"Hours",0);case r:return f(v+"Minutes",1);case a:return f(v+"Seconds",2);case t:return f(v+"Milliseconds",3);default:return this.clone()}},f.endOf=function(e){return this.startOf(e,!1)},f.$set=function(n,i){var c,o=x.p(n),u="set"+(this.$u?"UTC":""),h=((c={}).day=u+"Date",c[d]=u+"Date",c[s]=u+"Month",c[l]=u+"FullYear",c[r]=u+"Hours",c[a]=u+"Minutes",c[t]=u+"Seconds",c[e]=u+"Milliseconds",c)[o],f="day"===o?this.$D+(i-this.$W):i;if(o===s||o===l){var p=this.clone().set(d,1);p.$d[h](f),p.init(),this.$d=p.set(d,Math.min(this.$D,p.daysInMonth())).$d}else h&&this.$d[h](f);return this.init(),this},f.set=function(e,t){return this.clone().$set(e,t)},f.get=function(e){return this[x.p(e)]()},f.add=function(e,i){var d,c=this;e=Number(e);var o=x.p(i),u=function(t){var a=j(c);return x.w(a.date(a.date()+Math.round(t*e)),c)};if(o===s)return this.set(s,this.$M+e);if(o===l)return this.set(l,this.$y+e);if("day"===o)return u(1);if(o===n)return u(7);var h=((d={})[a]=6e4,d[r]=36e5,d[t]=1e3,d)[o]||1,f=this.$d.getTime()+e*h;return x.w(f,this)},f.subtract=function(e,t){return this.add(-1*e,t)},f.format=function(e){var t=this,a=this.$locale();if(!this.isValid())return a.invalidDate||c;var r=e||"YYYY-MM-DDTHH:mm:ssZ",n=x.z(this),s=this.$H,i=this.$m,l=this.$M,d=a.weekdays,o=a.months,h=a.meridiem,f=function(e,a,n,s){return e&&(e[a]||e(t,r))||n[a].slice(0,s)},p=function(e){return x.s(s%12||12,e,"0")},m=h||function(e,t,a){var r=e<12?"AM":"PM";return a?r.toLowerCase():r};return r.replace(u,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return x.s(t.$y,4,"0");case"M":return l+1;case"MM":return x.s(l+1,2,"0");case"MMM":return f(a.monthsShort,l,o,3);case"MMMM":return f(o,l);case"D":return t.$D;case"DD":return x.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return f(a.weekdaysMin,t.$W,d,2);case"ddd":return f(a.weekdaysShort,t.$W,d,3);case"dddd":return d[t.$W];case"H":return String(s);case"HH":return x.s(s,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return m(s,i,!0);case"A":return m(s,i,!1);case"m":return String(i);case"mm":return x.s(i,2,"0");case"s":return String(t.$s);case"ss":return x.s(t.$s,2,"0");case"SSS":return x.s(t.$ms,3,"0");case"Z":return n}return null}(e)||n.replace(":","")})},f.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},f.diff=function(e,d,c){var o,u=this,h=x.p(d),f=j(e),p=(f.utcOffset()-this.utcOffset())*6e4,m=this-f,y=function(){return x.m(u,f)};switch(h){case l:o=y()/12;break;case s:o=y();break;case i:o=y()/3;break;case n:o=(m-p)/6048e5;break;case"day":o=(m-p)/864e5;break;case r:o=m/36e5;break;case a:o=m/6e4;break;case t:o=m/1e3;break;default:o=m}return c?o:x.a(o)},f.daysInMonth=function(){return this.endOf(s).$D},f.$locale=function(){return p[this.$L]},f.locale=function(e,t){if(!e)return this.$L;var a=this.clone(),r=v(e,t,!0);return r&&(a.$L=r),a},f.clone=function(){return x.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},h}(),b=g.prototype;return j.prototype=b,[["$ms",e],["$s",t],["$m",a],["$H",r],["$W","day"],["$M",s],["$y",l],["$D",d]].forEach(function(e){b[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),j.extend=function(e,t){return e.$i||(e(t,g,j),e.$i=!0),j},j.locale=v,j.isDayjs=y,j.unix=function(e){return j(1e3*e)},j.en=p[f],j.Ls=p,j.p={},j}()},11241,e=>{"use strict";let t=(0,e.i(56420).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",0,t],11241)},62368,e=>{"use strict";let t=(0,e.i(56420).default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);e.s(["Download",0,t],62368)},26091,e=>{"use strict";let t=(0,e.i(56420).default)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);e.s(["FileText",0,t],26091)},73474,e=>{"use strict";let t=(0,e.i(56420).default)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);e.s(["Trash2",0,t],73474)},53138,51757,e=>{"use strict";var t=e.i(56420);let a=(0,t.default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["AlertTriangle",0,a],53138);let r=(0,t.default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["CheckCircle2",0,r],51757)},56522,e=>{"use strict";let t=(0,e.i(56420).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["Save",0,t],56522)},72856,(e,t,a)=>{e.e,t.exports=function(e,t,a){e=e||{};var r=t.prototype,n={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function s(e,t,a,n){return r.fromToBase(e,t,a,n)}a.en.relativeTime=n,r.fromToBase=function(t,r,s,i,l){for(var d,c,o,u=s.$locale().relativeTime||n,h=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],f=h.length,p=0;p<f;p+=1){var m=h[p];m.d&&(d=i?a(t).diff(s,m.d,!0):s.diff(t,m.d,!0));var y=(e.rounding||Math.round)(Math.abs(d));if(o=d>0,y<=m.r||!m.r){y<=1&&p>0&&(m=h[p-1]);var v=u[m.l];l&&(y=l(""+y)),c="string"==typeof v?v.replace("%d",y):v(y,r,m.l,o);break}}if(r)return c;var j=o?u.future:u.past;return"function"==typeof j?j(c):j.replace("%s",c)},r.to=function(e,t){return s(e,t,this,!0)},r.from=function(e,t){return s(e,t,this)};var i=function(e){return e.$u?a.utc():a()};r.toNow=function(e){return this.to(i(this),e)},r.fromNow=function(e){return this.from(i(this),e)}}},56331,(e,t,a)=>{e.e,t.exports=function(e){"use strict";var t={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var a=100*e+t;return a<600?"凌晨":a<900?"早上":a<1100?"上午":a<1300?"中午":a<1800?"下午":"晚上"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(e.r(22315))},23261,e=>{"use strict";var t=e.i(18050),a=e.i(71645),r=e.i(22016),n=e.i(22315),s=e.i(72856);e.i(56331);var i=e.i(56420);let l=(0,i.default)("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);var d=e.i(53138),c=e.i(11241),o=e.i(51757);let u=(0,i.default)("clipboard",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]]),h=(0,i.default)("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);var f=e.i(62368),p=e.i(26091),m=e.i(50285);let y=(0,i.default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);var v=e.i(56522),j=e.i(41220);let x=(0,i.default)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);var g=e.i(73474),b=e.i(66627),M=e.i(26913),$=e.i(3593);function w(e){return!Number.isFinite(e)||e<=0?"0 B":e<1024?`${e} B`:e<1048576?`${(e/1024).toFixed(1)} KB`:e<0x40000000?`${(e/1048576).toFixed(1)} MB`:`${(e/0x40000000).toFixed(2)} GB`}function S(e){return Number.isFinite(e)?String(Math.round(e/0x40000000*100)/100):"0"}function k(e){let t=Number(e);return!Number.isFinite(t)||t<0?0:Math.round(1024*t*1048576)}function _(e,t=12,a=8){return e?e.length<=t+a+3?e:`${e.slice(0,t)}...${e.slice(-a)}`:"-"}n.default.extend(s.default),n.default.locale("zh-cn");let N=[{label:"做种中",tone:"active",desc:"已加入 CID topic,可被其他节点发现并提供完整副本。"},{label:"队列中 / 加入中",tone:"pending",desc:"正在等待或重连 topic,通常会自动进入做种中。"},{label:"已暂停 / 未 join",tone:"muted",desc:"本机仍持有文件,但当前不会对外提供下载。"},{label:"错误",tone:"error",desc:"加入或做种失败,请查看下方节点日志里的 seed 事件。"}],D=[{value:"all",label:"全部"},{value:"join",label:"Join"},{value:"pull",label:"Pull"},{value:"verify",label:"Verify"},{value:"serve",label:"Serve"},{value:"error",label:"Error"}],C={join:["join","joined","topic"],pull:["pull","p2p"],verify:["verify","verified","integrity","download:success"],serve:["seed","seeding","holding","publish:success","topic:joined"],error:["error","failed","fail"]};e.s(["default",0,function(){let e,s,i,O,z=(0,$.useAppStore)(e=>e.hasBackend),T=(0,$.useAppStore)(e=>e.addToast),[L,Y]=(0,a.useState)(null),[A,B]=(0,a.useState)([]),[P,H]=(0,a.useState)(""),[I,E]=(0,a.useState)(!1),[F,U]=(0,a.useState)(!1),[R,V]=(0,a.useState)(!1),[W,G]=(0,a.useState)("all"),[K,J]=(0,a.useState)([]),[q,Z]=(0,a.useState)(""),[Q,X]=(0,a.useState)({dataPath:"",capacityGiB:"100",maxFileSizeGiB:"10",remoteInvites:""}),ee=!0===z;function et(){return!!ee||(T(null===z?"正在检测后端连接,请稍后再试":"未连接后端","warning"),!1)}let ea=(0,a.useMemo)(()=>!L||L.capacity.configuredBytes<=0?0:Math.min(100,Math.round(L.capacity.usedBytes/L.capacity.configuredBytes*100)),[L]),er=(0,a.useMemo)(()=>(L?.holdings||[]).slice(0,100),[L]),en=Math.max(0,(L?.holdings.length||0)-100),es=(0,M.getBackendUrlExport)(),ei=!!es&&!es.includes("localhost")&&!es.includes("127.0.0.1"),el=async()=>{if(!ee)return!1;try{let e=await M.api.get("/api/node/status").json(),t=await M.api.get("/api/node/config").json();return Y(e),X({dataPath:t.dataPath||e.dataPath||"",capacityGiB:S(t.capacityBytes),maxFileSizeGiB:S(t.maxFileSizeBytes),remoteInvites:(t.remoteInvites||[]).join("\n")}),H(""),!0}catch(t){let e=await (0,M.getApiErrorMessage)(t,"无法读取节点状态");return H(e),T(e,"error"),!1}},ed=async()=>{et()&&await el()&&T("节点状态已刷新","success")},ec=async(e=W)=>{if(ee)try{let t=new URLSearchParams({limit:"80",filter:e}),a=await M.api.get(`/api/node/logs?${t.toString()}`).json();B(a.logs||[])}catch{}},eo=async()=>{if(ee)try{let e=await M.api.get("/api/admin/users").json();J(e.users||[])}catch{}},eu=async()=>{if(et()){E(!0);try{var e;await M.api.post("/api/node/config",{json:{dataPath:Q.dataPath,capacityBytes:k(Q.capacityGiB),maxFileSizeBytes:k(Q.maxFileSizeGiB),remoteInvites:(e=Q.remoteInvites,Array.from(new Set(String(e||"").split(/[\n,]/).map(e=>e.trim()).filter(Boolean))))}}).json();let t=Q.dataPath!==(L?.dataPath||"");T(t?"节点配置已保存。修改了数据目录,需要重启 daemon 生效。":"节点配置已保存","success"),await el(),await ec()}catch(t){let e=await (0,M.getApiErrorMessage)(t,"保存配置失败");T(e,"error"),H(e)}finally{E(!1)}}},eh=async()=>{L?.nodeId&&(await navigator.clipboard.writeText(L.nodeId),T("节点 ID 已复制","success"))},ef=async()=>{if(et()){U(!0);try{await M.api.delete("/api/node/logs").json(),B([]),T("节点日志已清空","success")}catch(t){let e=await (0,M.getApiErrorMessage)(t,"清空日志失败");T(e,"error"),H(e)}finally{U(!1)}}},ep=async()=>{if(et()){V(!0);try{let e=await M.api.get("/api/node/diagnostics").json(),t=new Blob([JSON.stringify(e,null,2)],{type:"application/json"}),a=URL.createObjectURL(t),r=document.createElement("a"),n=new Date().toISOString().replace(/[:.]/g,"-");r.href=a,r.download=`mostbox-diagnostics-${n}.json`,document.body.appendChild(r),r.click(),r.remove(),URL.revokeObjectURL(a),T("诊断已导出","success")}catch(t){let e=await (0,M.getApiErrorMessage)(t,"导出诊断失败");T(e,"error"),H(e)}finally{V(!1)}}},em=async e=>{if(et()&&window.confirm(`确定清除用户 ${e.slice(0,6)}...${e.slice(-4)} 的文件记录和回收站吗?无人引用的副本也会被清理。`)){Z(e);try{await M.api.delete(`/api/admin/users/${e}/data`).json(),T("用户数据已清除","success"),await eo(),await el()}catch(t){let e=await (0,M.getApiErrorMessage)(t,"清除用户数据失败");T(e,"error"),H(e)}finally{Z("")}}};return(0,a.useEffect)(()=>{if(!ee||ei)return;el(),ec(),eo();let e=null,t=!1;return(async()=>{if(e=new WebSocket(await (0,M.getAuthenticatedWebSocketUrl)("/ws")),t)return e.close();e.onmessage=e=>{try{let t=JSON.parse(e.data);"node:status"===t.event&&Y(t.data),"node:log"===t.event&&function(e,t){let a=String(t||"all").trim().toLowerCase();if(!a||"all"===a)return!0;let r=function(e){let t="";try{t=JSON.stringify(e.data||{})}catch{}return[e.level,e.event,e.message,t].map(e=>String(e||"").toLowerCase()).join(" ")}(e);return"error"===a?"error"===e.level||C.error.some(e=>r.includes(e)):(C[a]||[a]).some(e=>r.includes(e))}(t.data,W)&&B(e=>[t.data,...e].slice(0,80)),"node:logs:cleared"===t.event&&B([]),("publish:success"===t.event||"download:success"===t.event||"network:status"===t.event)&&el()}catch{}}})(),()=>{t=!0,e?.close()}},[ee,ei,W]),(0,t.jsxs)("main",{className:"admin-page",children:[(0,t.jsxs)("header",{className:"admin-topbar",children:[(0,t.jsxs)("div",{className:"admin-title-group",children:[(0,t.jsx)(r.default,{href:"/",className:"btn btn-icon","aria-label":"返回首页",children:(0,t.jsx)(c.ArrowLeft,{size:16})}),(0,t.jsx)("div",{children:(0,t.jsx)("h1",{children:"节点管理"})})]}),(0,t.jsxs)("div",{className:"admin-topbar-actions",children:[(0,t.jsxs)("span",{className:`admin-status-pill ${L?.status==="online"?"online":""}`,children:[(0,t.jsx)(l,{size:14}),L?.status==="online"?"在线":"等待"]}),(0,t.jsxs)("button",{className:"btn btn-secondary",onClick:ed,children:[(0,t.jsx)(y,{size:16}),"刷新"]})]})]}),!1===z&&(0,t.jsxs)("section",{className:"admin-panel admin-error",children:[(0,t.jsx)(j.Server,{size:20}),(0,t.jsx)("span",{children:"未连接本地 daemon"})]}),ei&&(0,t.jsxs)("section",{className:"admin-panel admin-error",children:[(0,t.jsx)(d.AlertTriangle,{size:18}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{children:"远程节点管理不可用"}),(0,t.jsx)("p",{children:"当前连接的是别人部署的远程节点,普通邀请码不能查看或修改节点管理数据。"})]})]}),!ei&&P&&(0,t.jsxs)("section",{className:"admin-panel admin-error",children:[(0,t.jsx)(p.FileText,{size:20}),(0,t.jsx)("span",{children:P})]}),!ei&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("section",{className:"admin-overview",children:[(0,t.jsxs)("div",{className:"admin-metric",children:[(0,t.jsx)("div",{className:"admin-metric-icon",children:(0,t.jsx)(x,{size:18})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{children:"节点 ID"}),(0,t.jsx)("strong",{children:_(L?.nodeId||"")})]}),(0,t.jsx)("button",{className:"btn btn-icon admin-metric-action",onClick:eh,"aria-label":"复制节点 ID",children:(0,t.jsx)(u,{size:15})})]}),(0,t.jsxs)("div",{className:"admin-metric",children:[(0,t.jsx)("div",{className:"admin-metric-icon",children:(0,t.jsx)(b.Wifi,{size:18})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{children:"连接"}),(0,t.jsx)("strong",{children:L?`${L.network.peers} peers`:"-"})]})]}),(0,t.jsxs)("div",{className:"admin-metric",children:[(0,t.jsx)("div",{className:"admin-metric-icon",children:(0,t.jsx)(m.HardDrive,{size:18})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{children:"容量"}),(0,t.jsxs)("strong",{children:[ea,"%"]})]})]}),(0,t.jsxs)("div",{className:"admin-metric",children:[(0,t.jsx)("div",{className:"admin-metric-icon",children:(0,t.jsx)(j.Server,{size:18})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{children:"运行"}),(0,t.jsx)("strong",{children:L?(s=Math.floor((e=Math.max(0,Number(L.uptimeSeconds)||0))/86400),i=Math.floor(e%86400/3600),O=Math.floor(e%3600/60),s>0?`${s} 天 ${i} 小时`:i>0?`${i} 小时 ${O} 分钟`:`${O} 分钟`):"-"})]})]})]}),(0,t.jsxs)("section",{className:"admin-grid",children:[(0,t.jsxs)("div",{className:"admin-panel admin-span-2",children:[(0,t.jsxs)("div",{className:"admin-panel-header",children:[(0,t.jsx)("div",{children:(0,t.jsx)("h2",{children:"节点状态"})}),(0,t.jsx)(o.CheckCircle2,{size:18})]}),(0,t.jsxs)("div",{className:"admin-status-grid",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{children:"版本"}),(0,t.jsx)("strong",{children:L?.version||"-"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{children:"监听"}),(0,t.jsx)("strong",{children:L?`${L.host}:${L.port}`:"-"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{children:"数据目录"}),(0,t.jsx)("strong",{children:L?.dataPath||"-"})]})]}),(0,t.jsx)("div",{className:"admin-address-list",children:(L?.listen.addresses||[]).map(e=>(0,t.jsxs)("span",{children:[e.label,": ",e.ip,":",L?.port]},`${e.type}-${e.ip}`))})]}),(0,t.jsxs)("div",{className:"admin-panel admin-span-2",children:[(0,t.jsxs)("div",{className:"admin-panel-header",children:[(0,t.jsx)("div",{children:(0,t.jsx)("h2",{children:"用户数据"})}),(0,t.jsx)(h,{size:18})]}),(0,t.jsxs)("div",{className:"admin-table",children:[(0,t.jsxs)("div",{className:"admin-table-row admin-table-head",children:[(0,t.jsx)("span",{children:"用户"}),(0,t.jsx)("span",{children:"文件"}),(0,t.jsx)("span",{children:"回收站"}),(0,t.jsx)("span",{children:"操作"})]}),K.map(e=>(0,t.jsxs)("div",{className:"admin-table-row",children:[(0,t.jsx)("span",{title:e.address,children:_(e.address)}),(0,t.jsx)("span",{children:e.fileCount}),(0,t.jsx)("span",{children:e.trashCount}),(0,t.jsx)("span",{children:(0,t.jsxs)("button",{className:"btn btn-ghost",onClick:()=>em(e.address),disabled:q===e.address,children:[(0,t.jsx)(g.Trash2,{size:16}),"清除"]})})]},e.address)),0===K.length&&(0,t.jsx)("div",{className:"admin-empty-row",children:"暂无用户数据"})]})]}),(0,t.jsxs)("div",{className:"admin-panel admin-span-2",children:[(0,t.jsxs)("div",{className:"admin-panel-header",children:[(0,t.jsx)("div",{children:(0,t.jsx)("h2",{children:"节点设置"})}),(0,t.jsx)(h,{size:18})]}),(0,t.jsxs)("div",{className:"admin-settings-fields",children:[(0,t.jsxs)("label",{className:"admin-field admin-field-wide",children:[(0,t.jsx)("span",{children:"数据目录"}),(0,t.jsx)("input",{className:"input",value:Q.dataPath,onChange:e=>X(t=>({...t,dataPath:e.target.value}))})]}),(0,t.jsxs)("label",{className:"admin-field",children:[(0,t.jsx)("span",{children:"容量上限 GiB"}),(0,t.jsx)("input",{className:"input",type:"number",min:"0",step:"1",value:Q.capacityGiB,onChange:e=>X(t=>({...t,capacityGiB:e.target.value}))})]}),(0,t.jsxs)("label",{className:"admin-field",children:[(0,t.jsx)("span",{children:"单文件最大 GiB"}),(0,t.jsx)("input",{className:"input",type:"number",min:"0",step:"1",value:Q.maxFileSizeGiB,onChange:e=>X(t=>({...t,maxFileSizeGiB:e.target.value}))})]}),(0,t.jsxs)("label",{className:"admin-field admin-field-wide",children:[(0,t.jsx)("span",{children:"远程访问邀请码"}),(0,t.jsx)("textarea",{className:"input admin-textarea",value:Q.remoteInvites,placeholder:"每行一个,或用英文逗号分隔",onChange:e=>X(t=>({...t,remoteInvites:e.target.value}))})]})]}),(0,t.jsx)("p",{className:"admin-field-hint",children:"数据目录变更保存后需要重启 daemon。修改邀请码后新请求立即生效。 发布和下载成功后会固定做种;MostBox 不设同时做种数或传输限速。"}),(0,t.jsxs)("button",{className:"btn btn-primary btn-full",onClick:eu,disabled:I,children:[(0,t.jsx)(v.Save,{size:16}),"保存配置"]})]}),(0,t.jsxs)("div",{className:"admin-panel admin-span-2",children:[(0,t.jsxs)("div",{className:"admin-panel-header",children:[(0,t.jsx)("div",{children:(0,t.jsx)("h2",{children:"持有副本"})}),(0,t.jsx)(m.HardDrive,{size:18})]}),(0,t.jsxs)("div",{className:"admin-capacity-row",children:[(0,t.jsx)("progress",{value:ea,max:"100"}),(0,t.jsxs)("span",{children:[w(L?.capacity.usedBytes||0)," /"," ",w(L?.capacity.configuredBytes||0)]})]}),(0,t.jsx)("div",{className:"admin-seed-help","aria-label":"做种状态说明",children:N.map(e=>(0,t.jsxs)("div",{className:"admin-seed-help-item",children:[(0,t.jsx)("span",{className:`admin-seed-dot ${e.tone}`}),(0,t.jsxs)("div",{children:[(0,t.jsx)("strong",{children:e.label}),(0,t.jsx)("span",{children:e.desc})]})]},e.label))}),en>0&&(0,t.jsxs)("p",{className:"admin-table-note",children:["当前仅展示前 100 个副本,另有 ",en," ","个仍在后台做种。"]}),(0,t.jsxs)("div",{className:"admin-table",children:[(0,t.jsxs)("div",{className:"admin-table-row admin-table-head",children:[(0,t.jsx)("span",{children:"文件"}),(0,t.jsx)("span",{children:"CID"}),(0,t.jsx)("span",{children:"大小"}),(0,t.jsx)("span",{children:"Peer"}),(0,t.jsx)("span",{children:"最近服务"}),(0,t.jsx)("span",{children:"状态"})]}),er.map(e=>(0,t.jsxs)("div",{className:"admin-table-row",children:[(0,t.jsx)("span",{children:e.fileName||"-"}),(0,t.jsx)("span",{title:e.cid,children:_(e.cid)}),(0,t.jsx)("span",{children:w(e.size)}),(0,t.jsx)("span",{children:e.peerCount??0}),(0,t.jsx)("span",{title:e.lastServedAt||"",children:function(e){if(!e)return"从未";let t=(0,n.default)(e);return t.isValid()?t.isAfter((0,n.default)())?"刚刚":t.fromNow():"从未"}(e.lastServedAt)}),(0,t.jsx)("span",{className:`admin-seed-pill ${"error"===e.seedStatus?"error":"active"===e.seedStatus||e.joined?"active":""}`,children:function(e){switch(e.seedStatus){case"queued":return"队列中";case"joining":return"加入中";case"active":return"做种中";case"paused":return"已暂停";case"error":return e.seedError?`错误:${e.seedError}`:"错误";default:return e.joined?"做种中":"未 join"}}(e)})]},e.cid)),(!L||0===L.holdings.length)&&(0,t.jsx)("div",{className:"admin-empty-row",children:"暂无持有副本"})]})]}),(0,t.jsxs)("div",{className:"admin-panel admin-span-2",children:[(0,t.jsxs)("div",{className:"admin-panel-header",children:[(0,t.jsx)("div",{children:(0,t.jsx)("h2",{children:"节点日志"})}),(0,t.jsxs)("div",{className:"admin-panel-actions",children:[(0,t.jsxs)("button",{className:"btn btn-secondary",onClick:ep,disabled:R,children:[(0,t.jsx)(f.Download,{size:16}),"导出诊断"]}),(0,t.jsxs)("button",{className:"btn btn-ghost",onClick:ef,disabled:F||0===A.length,children:[(0,t.jsx)(g.Trash2,{size:16}),"清空日志"]}),(0,t.jsx)(p.FileText,{size:18})]})]}),(0,t.jsx)("div",{className:"admin-log-filter","aria-label":"日志筛选",children:D.map(e=>(0,t.jsx)("button",{type:"button",className:W===e.value?"active":"",onClick:()=>{G(e.value),ec(e.value)},children:e.label},e.value))}),(0,t.jsxs)("div",{className:"admin-log-list",children:[A.map(e=>(0,t.jsxs)("div",{className:"admin-log-row",children:[(0,t.jsx)("time",{children:new Date(e.ts).toLocaleTimeString("zh-CN")}),(0,t.jsx)("span",{className:`admin-log-level ${e.level}`,children:e.level}),(0,t.jsx)("strong",{children:e.event}),(0,t.jsx)("span",{children:e.message})]},e.id)),0===A.length&&(0,t.jsx)("div",{className:"admin-empty-row",children:"暂无日志"})]})]})]})]})]})}],23261)}]);