most-box 0.1.0 → 0.1.1

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 (375) hide show
  1. package/README.md +3 -2
  2. package/out/404/index.html +2 -2
  3. package/out/404.html +2 -2
  4. package/out/__next.__PAGE__.txt +6 -6
  5. package/out/__next._full.txt +23 -20
  6. package/out/__next._head.txt +3 -3
  7. package/out/__next._index.txt +8 -6
  8. package/out/__next._tree.txt +6 -4
  9. package/out/_next/static/chunks/0-n3pg7th.zza.js +1 -0
  10. package/out/_next/static/chunks/0.4j.0k5a64vg.js +1 -0
  11. package/out/_next/static/chunks/0.ozi1_x2.m.~.js +1 -0
  12. package/out/_next/static/chunks/0.t5wlt51zou5.js +1 -0
  13. package/out/_next/static/chunks/0.w4hkvap~bva.js +1 -0
  14. package/out/_next/static/chunks/00-u5nq76f0.j.js +1 -0
  15. package/out/_next/static/chunks/00d9h1tddnnnd.js +1 -0
  16. package/out/_next/static/chunks/00fm8lijienf1.js +1 -0
  17. package/out/_next/static/chunks/00o9ht.f2qm00.css +4 -0
  18. package/out/_next/static/chunks/00tkdqwxch-3s.js +1 -0
  19. package/out/_next/static/chunks/00zi-erhjrny2.js +2 -0
  20. package/out/_next/static/chunks/01l3o90g~1z42.js +1 -0
  21. package/out/_next/static/chunks/01mfky9camw6i.js +1 -0
  22. package/out/_next/static/chunks/01r.v-pqs1vrm.js +1 -0
  23. package/out/_next/static/chunks/03edqrb4zdj~g.js +31 -0
  24. package/out/_next/static/chunks/03h_6oo-gqkhz.js +1 -0
  25. package/out/_next/static/chunks/04hcgsanv1hhu.js +1 -0
  26. package/out/_next/static/chunks/05g2q0w5b34.g.js +1 -0
  27. package/out/_next/static/chunks/05of77xycbt8~.js +1 -0
  28. package/out/_next/static/chunks/05zwemzfjx3sh.js +1 -0
  29. package/out/_next/static/chunks/06dpc5df94.v1.js +1 -0
  30. package/out/_next/static/chunks/06e1~1-z_ic9a.js +1 -0
  31. package/out/_next/static/chunks/075s7sn.ns~u5.js +1 -0
  32. package/out/_next/static/chunks/07dynrbvd3.f4.js +1 -0
  33. package/out/_next/static/chunks/07p~uva5pwgwe.js +1 -0
  34. package/out/_next/static/chunks/07r9nn-pzlgg1.js +1 -0
  35. package/out/_next/static/chunks/08.72abkgwy9g.js +1 -0
  36. package/out/_next/static/chunks/084xf0edl9sfo.js +1 -0
  37. package/out/_next/static/chunks/08576xhv~~jck.js +1 -0
  38. package/out/_next/static/chunks/08u211~k~qu52.js +1 -0
  39. package/out/_next/static/chunks/098.p.2-zm4p7.js +1 -0
  40. package/out/_next/static/chunks/09f1gfke9m5wg.css +1 -0
  41. package/out/_next/static/chunks/09ngvtajm7e5y.js +1 -0
  42. package/out/_next/static/chunks/09ps~-43n5qyo.js +1 -0
  43. package/out/_next/static/chunks/09v7_0gclxr46.js +1 -0
  44. package/out/_next/static/chunks/09xyi6fpro_d-.css +1 -0
  45. package/out/_next/static/chunks/09yql86dir9c4.js +1 -0
  46. package/out/_next/static/chunks/09zmlfljowj1~.js +1 -0
  47. package/out/_next/static/chunks/0_npg_pcoywti.js +5 -0
  48. package/out/_next/static/chunks/0_r_mk1~6bosc.js +1 -0
  49. package/out/_next/static/chunks/0_s~ebb-7b2hr.js +1 -0
  50. package/out/_next/static/chunks/0_w-0-2z5oqd_.js +1 -0
  51. package/out/_next/static/chunks/0ao1lbi4b.sfa.js +1 -0
  52. package/out/_next/static/chunks/0arm0a6adt7cc.css +1 -0
  53. package/out/_next/static/chunks/0bld2u_ld~va2.js +1 -0
  54. package/out/_next/static/chunks/0bliugh5lxw55.js +1 -0
  55. package/out/_next/static/chunks/{0e_h0d3ekzks8.css → 0c9j3eq_14vv2.css} +1 -1
  56. package/out/_next/static/chunks/0cn9a7aimbdzq.js +1 -0
  57. package/out/_next/static/chunks/0d3f-nk3c.2re.js +1 -0
  58. package/out/_next/static/chunks/0d4bueddmcnca.js +1 -0
  59. package/out/_next/static/chunks/0dtohpf7~3d12.js +1 -0
  60. package/out/_next/static/chunks/0e-3e8h7g99yf.js +1 -0
  61. package/out/_next/static/chunks/0e531nije_ln2.js +1 -0
  62. package/out/_next/static/chunks/0e5zvj_rh0z3m.js +1 -0
  63. package/out/_next/static/chunks/0f4y~rkk-n81e.js +1 -0
  64. package/out/_next/static/chunks/0fk~0~p7ivfn1.js +1 -0
  65. package/out/_next/static/chunks/0fw6juc~lsj3z.js +1 -0
  66. package/out/_next/static/chunks/0g0u7785a73vo.js +1 -0
  67. package/out/_next/static/chunks/0g_fpgh7drfda.js +1 -0
  68. package/out/_next/static/chunks/0gtwvy1z9ksa7.css +1 -0
  69. package/out/_next/static/chunks/0gze5uso1mbe9.js +1 -0
  70. package/out/_next/static/chunks/0h4r.qtmpa6eh.js +1 -0
  71. package/out/_next/static/chunks/0hf.aosc-7172.js +1 -0
  72. package/out/_next/static/chunks/0hgz35c1ejbs9.js +1 -0
  73. package/out/_next/static/chunks/0hrw-r.xmvmsq.js +1 -0
  74. package/out/_next/static/chunks/0hzg4al.v~8~m.js +1 -0
  75. package/out/_next/static/chunks/0ip9xrols_83o.js +1 -0
  76. package/out/_next/static/chunks/0j27tcmtt4ly7.js +1 -0
  77. package/out/_next/static/chunks/0j3v4mq67wtnh.js +1 -0
  78. package/out/_next/static/chunks/0j4-d0qf.v~kn.js +1 -0
  79. package/out/_next/static/chunks/0jhdeq.j9_02m.js +1 -0
  80. package/out/_next/static/chunks/0jy63h3i-y69i.js +1 -0
  81. package/out/_next/static/chunks/0kdnx_u-60k9s.js +1 -0
  82. package/out/_next/static/chunks/0kq~edq42o1-c.js +1 -0
  83. package/out/_next/static/chunks/0l682p362d-5w.js +1 -0
  84. package/out/_next/static/chunks/0lkmf5ry.s_7w.js +1 -0
  85. package/out/_next/static/chunks/0m68p9txef5rs.js +1 -0
  86. package/out/_next/static/chunks/0mme-fm5d2oz2.js +1 -0
  87. package/out/_next/static/chunks/0myp4sjagr~h0.js +1 -0
  88. package/out/_next/static/chunks/0n.qlfk~z7o.6.js +1 -0
  89. package/out/_next/static/chunks/0n4t80gjc3q5h.js +1 -0
  90. package/out/_next/static/chunks/{0n~dq4kpx9xxx.js → 0o6lrkxy4jwag.js} +1 -1
  91. package/out/_next/static/chunks/0o98f1yq..o.8.js +1 -0
  92. package/out/_next/static/chunks/0oz3yl6_-716p.js +1 -0
  93. package/out/_next/static/chunks/0p486m03-zfoi.js +1 -0
  94. package/out/_next/static/chunks/0qou.u2e2dy48.css +24 -0
  95. package/out/_next/static/chunks/0qqupeexg83u7.js +1 -0
  96. package/out/_next/static/chunks/0r1~k82nji8sf.js +1 -0
  97. package/out/_next/static/chunks/0rb-ri481.kc9.js +1 -0
  98. package/out/_next/static/chunks/0rsnmahfd.59p.js +1 -0
  99. package/out/_next/static/chunks/0rt6rgnvr-s_p.js +1 -0
  100. package/out/_next/static/chunks/0runh28p_gg6..js +1 -0
  101. package/out/_next/static/chunks/0shy.t1fwqcev.js +1 -0
  102. package/out/_next/static/chunks/{0d3shmwh5_nmn.js → 0t2xr05rlu96l.js} +1 -1
  103. package/out/_next/static/chunks/0t6h56rhg1y5i.js +1 -0
  104. package/out/_next/static/chunks/0tdqd1zunusgk.js +1 -0
  105. package/out/_next/static/chunks/0ujbnp38x63ek.js +1 -0
  106. package/out/_next/static/chunks/0usvo~vu7r8np.js +736 -0
  107. package/out/_next/static/chunks/0v68pdrp54lb-.js +1 -0
  108. package/out/_next/static/chunks/0v7qp4hv-_._r.js +1 -0
  109. package/out/_next/static/chunks/0vsm0m5sxrb.3.js +1 -0
  110. package/out/_next/static/chunks/0vzlz.iboqo3c.js +1 -0
  111. package/out/_next/static/chunks/0w87vbpkf-ogd.js +1 -0
  112. package/out/_next/static/chunks/0wuwlgcn6gxqt.js +1 -0
  113. package/out/_next/static/chunks/0xgg0~kmf3gd-.js +1 -0
  114. package/out/_next/static/chunks/0xj24-70ptdzp.js +1 -0
  115. package/out/_next/static/chunks/0xl5_avhu._i8.js +1 -0
  116. package/out/_next/static/chunks/0xxlx772fr3x4.js +1 -0
  117. package/out/_next/static/chunks/0y.li-~3oybew.js +1 -0
  118. package/out/_next/static/chunks/0yl2t7cs-n_ng.js +1 -0
  119. package/out/_next/static/chunks/0yq3kh.hchtm_.js +1 -0
  120. package/out/_next/static/chunks/0ys0l5au.9c2c.js +1 -0
  121. package/out/_next/static/chunks/0z48pmi6buytt.js +1 -0
  122. package/out/_next/static/chunks/0zapnvgy89mg..js +1 -0
  123. package/out/_next/static/chunks/0~.-vxi5oc.r0.js +1 -0
  124. package/out/_next/static/chunks/0~3ik-hfp9s-7.js +1 -0
  125. package/out/_next/static/chunks/0~4f5p6tvn1lq.js +1 -0
  126. package/out/_next/static/chunks/0~_0ys.2whxbw.js +1 -0
  127. package/out/_next/static/chunks/0~_ui9l7.2sxf.js +1 -0
  128. package/out/_next/static/chunks/1037jlyw5~7ht.js +1 -0
  129. package/out/_next/static/chunks/1045hfzu533z0.js +1 -0
  130. package/out/_next/static/chunks/104e5nmc.c-pl.js +1 -0
  131. package/out/_next/static/chunks/109taw1pbh-0b.js +1 -0
  132. package/out/_next/static/chunks/10kvl8vj_plm-.js +1 -0
  133. package/out/_next/static/chunks/10x7~onqwp338.js +1 -0
  134. package/out/_next/static/chunks/10ynz1dy483wf.js +1 -0
  135. package/out/_next/static/chunks/11hds.mg~4_r-.js +1 -0
  136. package/out/_next/static/chunks/11ibzaklcauw~.js +1 -0
  137. package/out/_next/static/chunks/11z.0s6.42b.p.js +1 -0
  138. package/out/_next/static/chunks/12-9n56l0y3yr.js +1 -0
  139. package/out/_next/static/chunks/126enaq~f7scl.js +1 -0
  140. package/out/_next/static/chunks/1380op_pfk.qo.js +1 -0
  141. package/out/_next/static/chunks/146oiw1bggtn4.js +1 -0
  142. package/out/_next/static/chunks/14_po2rb_arn4.js +1 -0
  143. package/out/_next/static/chunks/14a4fwbiq.l3z.js +1 -0
  144. package/out/_next/static/chunks/14cowsqn95m1k.js +1 -0
  145. package/out/_next/static/chunks/14dtd3l03v.kx.js +1 -0
  146. package/out/_next/static/chunks/14tm3qa-v9o-4.js +1 -0
  147. package/out/_next/static/chunks/15-o4kb-evqd7.js +1 -0
  148. package/out/_next/static/chunks/157z7bowux3xj.js +1 -0
  149. package/out/_next/static/chunks/15m1_677az2cm.js +1 -0
  150. package/out/_next/static/chunks/15v.~.ne6ogkk.js +1 -0
  151. package/out/_next/static/chunks/16i.qbk8t8gf_.js +1 -0
  152. package/out/_next/static/chunks/16m27azcs4k6w.js +1 -0
  153. package/out/_next/static/chunks/16u9f35gylw8l.js +1 -0
  154. package/out/_next/static/chunks/17ajyb5ogk5yj.js +1 -0
  155. package/out/_next/static/chunks/17dyfxbq8yz8n.js +1 -0
  156. package/out/_next/static/chunks/180zln9pcq9ih.js +1 -0
  157. package/out/_next/static/chunks/1814izi5gh.kp.js +1 -0
  158. package/out/_next/static/chunks/turbopack-0xs6mybc~5t_3.js +1 -0
  159. package/out/_next/static/media/KaTeX_AMS-Regular.0b~8ki5y928w2.woff +0 -0
  160. package/out/_next/static/media/KaTeX_AMS-Regular.0p1vbqd84i2~o.woff2 +0 -0
  161. package/out/_next/static/media/KaTeX_AMS-Regular.173t6ktr7uf-w.ttf +0 -0
  162. package/out/_next/static/media/KaTeX_Caligraphic-Bold.01-pzluls4zgb.woff2 +0 -0
  163. package/out/_next/static/media/KaTeX_Caligraphic-Bold.0x2v1lwn~880f.woff +0 -0
  164. package/out/_next/static/media/KaTeX_Caligraphic-Bold.16zv5fax0h0ka.ttf +0 -0
  165. package/out/_next/static/media/KaTeX_Caligraphic-Regular.02i3z7wig438t.ttf +0 -0
  166. package/out/_next/static/media/KaTeX_Caligraphic-Regular.0rysu1t-ncjq8.woff2 +0 -0
  167. package/out/_next/static/media/KaTeX_Caligraphic-Regular.10927swgekwun.woff +0 -0
  168. package/out/_next/static/media/KaTeX_Fraktur-Bold.0e-16u10iuyyf.woff +0 -0
  169. package/out/_next/static/media/KaTeX_Fraktur-Bold.0et27v~3~4uhe.ttf +0 -0
  170. package/out/_next/static/media/KaTeX_Fraktur-Bold.0w23i72~hprpq.woff2 +0 -0
  171. package/out/_next/static/media/KaTeX_Fraktur-Regular.0b.riegzdfue2.woff +0 -0
  172. package/out/_next/static/media/KaTeX_Fraktur-Regular.0rekyoa-52fj_.woff2 +0 -0
  173. package/out/_next/static/media/KaTeX_Fraktur-Regular.0vjwa15znhk~4.ttf +0 -0
  174. package/out/_next/static/media/KaTeX_Main-Bold.09i7~607shf-h.ttf +0 -0
  175. package/out/_next/static/media/KaTeX_Main-Bold.09lmynrorhcbw.woff +0 -0
  176. package/out/_next/static/media/KaTeX_Main-Bold.16pfc63_du6mx.woff2 +0 -0
  177. package/out/_next/static/media/KaTeX_Main-BoldItalic.0cp37g7x1q8h6.woff +0 -0
  178. package/out/_next/static/media/KaTeX_Main-BoldItalic.0d54rk08rx11s.woff2 +0 -0
  179. package/out/_next/static/media/KaTeX_Main-BoldItalic.15j6k~hix2t_0.ttf +0 -0
  180. package/out/_next/static/media/KaTeX_Main-Italic.0382gqciexmbu.woff +0 -0
  181. package/out/_next/static/media/KaTeX_Main-Italic.06o5nq0_91v60.woff2 +0 -0
  182. package/out/_next/static/media/KaTeX_Main-Italic.0su4i6mm18-wo.ttf +0 -0
  183. package/out/_next/static/media/KaTeX_Main-Regular.08zh8z.7shijf.ttf +0 -0
  184. package/out/_next/static/media/KaTeX_Main-Regular.0diheg01zyoph.woff +0 -0
  185. package/out/_next/static/media/KaTeX_Main-Regular.0kaf-ag2_wkm-.woff2 +0 -0
  186. package/out/_next/static/media/KaTeX_Math-BoldItalic.0ajzxypnbx1h1.ttf +0 -0
  187. package/out/_next/static/media/KaTeX_Math-BoldItalic.0ck1myuerwyqw.woff +0 -0
  188. package/out/_next/static/media/KaTeX_Math-BoldItalic.0ja97dn.cpc87.woff2 +0 -0
  189. package/out/_next/static/media/KaTeX_Math-Italic.09xkhecjcn5r9.woff +0 -0
  190. package/out/_next/static/media/KaTeX_Math-Italic.0x23a-bmp-5tg.ttf +0 -0
  191. package/out/_next/static/media/KaTeX_Math-Italic.0zrha2c4sl2je.woff2 +0 -0
  192. package/out/_next/static/media/KaTeX_SansSerif-Bold.05a9.pc1j_zx9.woff2 +0 -0
  193. package/out/_next/static/media/KaTeX_SansSerif-Bold.0jcl-ayi1uun0.woff +0 -0
  194. package/out/_next/static/media/KaTeX_SansSerif-Bold.0re8y.dm7.mt5.ttf +0 -0
  195. package/out/_next/static/media/KaTeX_SansSerif-Italic.0a0234dc3s62j.woff2 +0 -0
  196. package/out/_next/static/media/KaTeX_SansSerif-Italic.0judofdln9731.woff +0 -0
  197. package/out/_next/static/media/KaTeX_SansSerif-Italic.10z1iap9pfus8.ttf +0 -0
  198. package/out/_next/static/media/KaTeX_SansSerif-Regular.0h9yjlugq4q_e.woff +0 -0
  199. package/out/_next/static/media/KaTeX_SansSerif-Regular.0v6gcj32-czft.woff2 +0 -0
  200. package/out/_next/static/media/KaTeX_SansSerif-Regular.0zm18kga42ebc.ttf +0 -0
  201. package/out/_next/static/media/KaTeX_Script-Regular.0c4.h-mer83d_.woff2 +0 -0
  202. package/out/_next/static/media/KaTeX_Script-Regular.0q14y6zkzlpob.ttf +0 -0
  203. package/out/_next/static/media/KaTeX_Script-Regular.0ze6v4r_-99oy.woff +0 -0
  204. package/out/_next/static/media/KaTeX_Size1-Regular.013x6a4ierotp.woff2 +0 -0
  205. package/out/_next/static/media/KaTeX_Size1-Regular.0kidw0oi.m68o.woff +0 -0
  206. package/out/_next/static/media/KaTeX_Size1-Regular.0m6y-i6wfokni.ttf +0 -0
  207. package/out/_next/static/media/KaTeX_Size2-Regular.0blpmluwilgbg.woff +0 -0
  208. package/out/_next/static/media/KaTeX_Size2-Regular.0d5inmyp-tyv3.woff2 +0 -0
  209. package/out/_next/static/media/KaTeX_Size2-Regular.0wnhnvj-.k9d5.ttf +0 -0
  210. package/out/_next/static/media/KaTeX_Size3-Regular.01h0xm_sfctj3.woff +0 -0
  211. package/out/_next/static/media/KaTeX_Size3-Regular.0iukctyhw5j56.woff2 +0 -0
  212. package/out/_next/static/media/KaTeX_Size3-Regular.0jl8mqyf4gzpn.ttf +0 -0
  213. package/out/_next/static/media/KaTeX_Size4-Regular.0w3.rb_c4stzk.woff2 +0 -0
  214. package/out/_next/static/media/KaTeX_Size4-Regular.0wr_9l81-mu06.ttf +0 -0
  215. package/out/_next/static/media/KaTeX_Size4-Regular.12tvaesf3.zl3.woff +0 -0
  216. package/out/_next/static/media/KaTeX_Typewriter-Regular.0c4zdxz~8frhm.woff2 +0 -0
  217. package/out/_next/static/media/KaTeX_Typewriter-Regular.0cgrzn5l3kao5.woff +0 -0
  218. package/out/_next/static/media/KaTeX_Typewriter-Regular.128~qc3858otl.ttf +0 -0
  219. package/out/_not-found/__next._full.txt +21 -19
  220. package/out/_not-found/__next._head.txt +3 -3
  221. package/out/_not-found/__next._index.txt +8 -6
  222. package/out/_not-found/__next._not-found.__PAGE__.txt +4 -4
  223. package/out/_not-found/__next._not-found.txt +3 -3
  224. package/out/_not-found/__next._tree.txt +3 -2
  225. package/out/_not-found/index.html +2 -2
  226. package/out/_not-found/index.txt +21 -19
  227. package/out/admin/__next._full.txt +23 -0
  228. package/out/admin/__next._head.txt +5 -0
  229. package/out/admin/__next._index.txt +9 -0
  230. package/out/admin/__next._tree.txt +5 -0
  231. package/out/admin/__next.admin.__PAGE__.txt +9 -0
  232. package/out/admin/__next.admin.txt +5 -0
  233. package/out/admin/index.html +15 -0
  234. package/out/admin/index.txt +23 -0
  235. package/out/app/__next._full.txt +15 -13
  236. package/out/app/__next._head.txt +3 -3
  237. package/out/app/__next._index.txt +8 -6
  238. package/out/app/__next._tree.txt +4 -2
  239. package/out/app/__next.app.__PAGE__.txt +4 -4
  240. package/out/app/__next.app.txt +3 -4
  241. package/out/app/index.html +2 -2
  242. package/out/app/index.txt +15 -13
  243. package/out/changelog/__next._full.txt +24 -21
  244. package/out/changelog/__next._head.txt +3 -3
  245. package/out/changelog/__next._index.txt +8 -6
  246. package/out/changelog/__next._tree.txt +5 -3
  247. package/out/changelog/__next.changelog.__PAGE__.txt +5 -5
  248. package/out/changelog/__next.changelog.txt +3 -3
  249. package/out/changelog/index.html +2 -2
  250. package/out/changelog/index.txt +24 -21
  251. package/out/chat/__next._full.txt +16 -14
  252. package/out/chat/__next._head.txt +3 -3
  253. package/out/chat/__next._index.txt +8 -6
  254. package/out/chat/__next._tree.txt +5 -3
  255. package/out/chat/__next.chat.__PAGE__.txt +4 -4
  256. package/out/chat/__next.chat.txt +4 -5
  257. package/out/chat/index.html +2 -2
  258. package/out/chat/index.txt +16 -14
  259. package/out/docs/__next._full.txt +24 -21
  260. package/out/docs/__next._head.txt +3 -3
  261. package/out/docs/__next._index.txt +8 -6
  262. package/out/docs/__next._tree.txt +5 -3
  263. package/out/docs/__next.docs.__PAGE__.txt +5 -5
  264. package/out/docs/__next.docs.txt +3 -3
  265. package/out/docs/getting-started/__next._full.txt +24 -21
  266. package/out/docs/getting-started/__next._head.txt +3 -3
  267. package/out/docs/getting-started/__next._index.txt +8 -6
  268. package/out/docs/getting-started/__next._tree.txt +5 -3
  269. package/out/docs/getting-started/__next.docs.getting-started.__PAGE__.txt +5 -5
  270. package/out/docs/getting-started/__next.docs.getting-started.txt +3 -3
  271. package/out/docs/getting-started/__next.docs.txt +3 -3
  272. package/out/docs/getting-started/index.html +2 -2
  273. package/out/docs/getting-started/index.txt +24 -21
  274. package/out/docs/index.html +2 -2
  275. package/out/docs/index.txt +24 -21
  276. package/out/download/__next._full.txt +33 -32
  277. package/out/download/__next._head.txt +3 -3
  278. package/out/download/__next._index.txt +8 -6
  279. package/out/download/__next._tree.txt +5 -3
  280. package/out/download/__next.download.__PAGE__.txt +10 -11
  281. package/out/download/__next.download.txt +3 -3
  282. package/out/download/index.html +2 -2
  283. package/out/download/index.txt +33 -32
  284. package/out/index.html +2 -2
  285. package/out/index.txt +23 -20
  286. package/out/note/__next._full.txt +24 -0
  287. package/out/note/__next._head.txt +5 -0
  288. package/out/note/__next._index.txt +9 -0
  289. package/out/note/__next._tree.txt +4 -0
  290. package/out/note/__next.note.__PAGE__.txt +9 -0
  291. package/out/note/__next.note.txt +5 -0
  292. package/out/note/edit/__next._full.txt +24 -0
  293. package/out/note/edit/__next._head.txt +5 -0
  294. package/out/note/edit/__next._index.txt +9 -0
  295. package/out/note/edit/__next._tree.txt +4 -0
  296. package/out/note/edit/__next.note.edit.__PAGE__.txt +9 -0
  297. package/out/note/edit/__next.note.edit.txt +5 -0
  298. package/out/note/edit/__next.note.txt +5 -0
  299. package/out/note/edit/index.html +15 -0
  300. package/out/note/edit/index.txt +24 -0
  301. package/out/note/index.html +15 -0
  302. package/out/note/index.txt +24 -0
  303. package/out/ping/__next._full.txt +22 -19
  304. package/out/ping/__next._head.txt +3 -3
  305. package/out/ping/__next._index.txt +8 -6
  306. package/out/ping/__next._tree.txt +5 -3
  307. package/out/ping/__next.ping.__PAGE__.txt +5 -5
  308. package/out/ping/__next.ping.txt +3 -3
  309. package/out/ping/index.html +2 -2
  310. package/out/ping/index.txt +22 -19
  311. package/out/web3/__next._full.txt +16 -14
  312. package/out/web3/__next._head.txt +3 -3
  313. package/out/web3/__next._index.txt +8 -6
  314. package/out/web3/__next._tree.txt +5 -3
  315. package/out/web3/__next.web3.__PAGE__.txt +4 -4
  316. package/out/web3/__next.web3.txt +4 -5
  317. package/out/web3/ed25519/__next._full.txt +14 -12
  318. package/out/web3/ed25519/__next._head.txt +3 -3
  319. package/out/web3/ed25519/__next._index.txt +8 -6
  320. package/out/web3/ed25519/__next._tree.txt +5 -3
  321. package/out/web3/ed25519/__next.web3.ed25519.__PAGE__.txt +2 -2
  322. package/out/web3/ed25519/__next.web3.ed25519.txt +3 -3
  323. package/out/web3/ed25519/__next.web3.txt +4 -5
  324. package/out/web3/ed25519/index.html +1 -1
  325. package/out/web3/ed25519/index.txt +14 -12
  326. package/out/web3/index.html +2 -2
  327. package/out/web3/index.txt +16 -14
  328. package/out/web3/tools/__next._full.txt +14 -12
  329. package/out/web3/tools/__next._head.txt +3 -3
  330. package/out/web3/tools/__next._index.txt +8 -6
  331. package/out/web3/tools/__next._tree.txt +5 -3
  332. package/out/web3/tools/__next.web3.tools.__PAGE__.txt +2 -2
  333. package/out/web3/tools/__next.web3.tools.txt +3 -3
  334. package/out/web3/tools/__next.web3.txt +4 -5
  335. package/out/web3/tools/index.html +1 -1
  336. package/out/web3/tools/index.txt +14 -12
  337. package/package.json +12 -5
  338. package/server/index.js +558 -101
  339. package/server/src/config.js +4 -0
  340. package/server/src/core/cid.js +53 -32
  341. package/server/src/index.js +772 -122
  342. package/server/src/node/config.js +159 -0
  343. package/server/src/node/logs.js +94 -0
  344. package/server/src/utils/api.js +80 -2
  345. package/server/src/utils/errors.js +7 -0
  346. package/server/src/utils/mostWallet.js +34 -1
  347. package/server/src/utils/noteBackup.js +119 -0
  348. package/server/src/utils/noteUtils.js +120 -0
  349. package/server/src/utils/userIdentity.js +8 -60
  350. package/out/_next/static/chunks/003jnm.v5tzw5.js +0 -1
  351. package/out/_next/static/chunks/00re8v.gbcywn.js +0 -1
  352. package/out/_next/static/chunks/00s106sbq8t9v.js +0 -1
  353. package/out/_next/static/chunks/012hi627qrdnn.js +0 -1
  354. package/out/_next/static/chunks/0174xh3wfsjm1.js +0 -2
  355. package/out/_next/static/chunks/02~o2nmo5pmy1.js +0 -1
  356. package/out/_next/static/chunks/07t.dhhokszz5.css +0 -1
  357. package/out/_next/static/chunks/0_wia9ofmsi1c.css +0 -2
  358. package/out/_next/static/chunks/0ah8fihozo2_u.js +0 -5
  359. package/out/_next/static/chunks/0bzupvr5gt3k9.js +0 -31
  360. package/out/_next/static/chunks/0gdluj423gso1.js +0 -1
  361. package/out/_next/static/chunks/0gmoiq06srjay.css +0 -1
  362. package/out/_next/static/chunks/0imkasy7kb67u.js +0 -1
  363. package/out/_next/static/chunks/0jjc_b9q_ldi2.js +0 -1
  364. package/out/_next/static/chunks/0jl~j62iz2uvr.js +0 -1
  365. package/out/_next/static/chunks/0lqslm813wk_h.js +0 -1
  366. package/out/_next/static/chunks/0q782fxxd0lx~.js +0 -1
  367. package/out/_next/static/chunks/0slwj0c46k5cu.js +0 -1
  368. package/out/_next/static/chunks/0sorqk.oc6b7j.css +0 -1
  369. package/out/_next/static/chunks/0tapzqc6hgvx-.js +0 -1
  370. package/out/_next/static/chunks/0xsc7z5x8n7wg.js +0 -1
  371. package/out/_next/static/chunks/0zm~gys2jwl0g.js +0 -1
  372. package/out/_next/static/chunks/turbopack-0a_g3u0ud~jb8.js +0 -1
  373. /package/out/_next/static/{iOB2EBwOGZ0iYW7Lbg9u_ → sIuUKxnnGU7K9Tu9UDKE8}/_buildManifest.js +0 -0
  374. /package/out/_next/static/{iOB2EBwOGZ0iYW7Lbg9u_ → sIuUKxnnGU7K9Tu9UDKE8}/_clientMiddlewareManifest.js +0 -0
  375. /package/out/_next/static/{iOB2EBwOGZ0iYW7Lbg9u_ → sIuUKxnnGU7K9Tu9UDKE8}/_ssgManifest.js +0 -0
@@ -1 +0,0 @@
1
- [data-theme=dark]{--chat-bg-secondary:#1c1c1e99;--chat-bg-tertiary:#2c2c2e66;--chat-border:#ffffff14}.chat-messages{background:0 0;flex-direction:column;flex:1;gap:16px;padding:20px 24px;display:flex;overflow-y:auto}.chat-messages-empty{color:var(--text-muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;display:flex}.chat-messages-empty .empty-icon{border-radius:var(--radius-lg);background:var(--glass-bg-subtle);width:64px;height:64px;-webkit-backdrop-filter:var(--blur-md);border:1px solid var(--glass-border);color:var(--text-muted);justify-content:center;align-items:center;display:flex}.chat-messages-empty p{font-size:14px}.chat-message{align-items:flex-start;gap:10px;max-width:70%;animation:.25s fadeIn;display:flex}.chat-message.self{flex-direction:row-reverse;align-self:flex-end}.chat-message.self .msg-content{align-items:flex-end}.chat-message.self .message-bubble{background:linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 75%, var(--info)));color:#fff;border:1px solid #ffffff1a;border-radius:18px 4px 18px 18px;box-shadow:0 4px 16px #5e6ad240}.chat-message.self .message-author{color:var(--accent)}.chat-message.self .message-time{color:var(--text-muted)}.chat-message.other{align-self:flex-start}.chat-message.other .msg-content{align-items:flex-start}.chat-message.other .message-bubble{background:var(--glass-bg);-webkit-backdrop-filter:var(--blur-md);border:1px solid var(--glass-border);box-shadow:var(--glass-shadow), var(--glass-shadow-inset);border-radius:4px 18px 18px}.chat-message .msg-avatar{flex-shrink:0}.chat-message .msg-content{flex-direction:column;gap:4px;max-width:100%;display:flex}.chat-message .message-author{color:var(--text-muted);font-size:11px;font-weight:500}.chat-message .message-bubble{word-break:break-word;padding:10px 14px;font-size:14px;line-height:1.5}.chat-message .message-time{color:var(--text-muted);opacity:.7;font-size:10px}.chat-message.pending .message-bubble{opacity:.6}.chat-input-area{border-top:1px solid var(--glass-border);background:var(--glass-bg);-webkit-backdrop-filter:var(--blur-xl);gap:12px;padding:16px 24px;display:flex}.chat-input-area .chat-input{border-radius:var(--radius-full);border:1px solid var(--glass-border);background:var(--glass-bg-subtle);color:var(--text-primary);transition:all var(--transition-fast);outline:none;flex:1;padding:12px 18px;font-size:14px}.chat-input-area .chat-input::placeholder{color:var(--text-muted)}.chat-input-area .chat-input:focus{border-color:var(--accent);background:var(--glass-bg);box-shadow:0 0 0 3px var(--accent-soft)}.chat-input-area .send-btn{border:1px solid var(--glass-border);background:var(--accent);color:#fff;cursor:pointer;width:44px;height:44px;transition:all var(--transition-fast);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:flex}.chat-input-area .send-btn:hover:not(:disabled){background:var(--accent-hover);transform:scale(1.05);box-shadow:0 4px 16px #5e6ad24d}.chat-input-area .send-btn:disabled{opacity:.5;cursor:not-allowed}.chat-toast{z-index:200;border-radius:var(--radius-lg);background:var(--glass-bg-heavy);-webkit-backdrop-filter:var(--blur-xl);color:var(--text-primary);box-shadow:var(--glass-shadow-lg), var(--glass-shadow-inset);border:1px solid var(--glass-border);padding:12px 24px;font-size:13px;font-weight:500;animation:.3s toastIn;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}@keyframes toastIn{0%{opacity:0;transform:translate(-50%)translateY(20px)}to{opacity:1;transform:translate(-50%)translateY(0)}}.chat-welcome{text-align:center;background:0 0;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:40px;display:flex}.chat-welcome .welcome-icon{border-radius:var(--radius-xl);background:var(--glass-bg-heavy);width:80px;height:80px;-webkit-backdrop-filter:var(--blur-2xl);border:1px solid var(--glass-border);color:var(--accent);box-shadow:var(--glass-shadow-lg), var(--glass-shadow-inset);justify-content:center;align-items:center;margin-bottom:20px;display:flex}.chat-welcome h2{margin-bottom:8px;font-size:22px;font-weight:700}.chat-welcome p{color:var(--text-secondary);max-width:320px;font-size:14px;line-height:1.6}.create-channel-btn{border-radius:var(--radius-md);border:1.5px dashed var(--glass-border);background:var(--glass-bg-subtle);color:var(--text-secondary);cursor:pointer;transition:all var(--transition);justify-content:center;align-items:center;gap:6px;margin:8px;padding:10px;font-size:13px;font-weight:500;display:flex}.create-channel-btn:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.peer-info{color:var(--text-secondary);align-items:center;gap:8px;font-size:11px;display:flex}.peer-info .peer-dot{background:var(--success);border-radius:50%;width:6px;height:6px}.peer-info .peer-id{font-family:var(--font-mono);text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.leave-channel-btn{opacity:0;color:var(--text-muted);cursor:pointer;border-radius:var(--radius-sm);transition:all var(--transition-fast);background:0 0;border:none;justify-content:center;align-items:center;margin-left:auto;padding:4px;display:flex}.sidebar-nav-btn:hover .leave-channel-btn{opacity:1}.leave-channel-btn:hover{color:var(--danger);background:#ff3b301a}.chat-sidebar-overlay{display:none}@media (max-width:768px){.chat-sidebar{z-index:50;transition:left var(--transition);position:fixed;top:0;bottom:0;left:-240px}.chat-sidebar.open{left:0}.chat-sidebar-overlay{z-index:40;opacity:0;pointer-events:none;transition:opacity var(--transition);background:#0006;display:block;position:fixed;inset:0}.chat-sidebar-overlay.visible{opacity:1;pointer-events:auto}.chat-messages{padding:16px}.chat-message{max-width:85%}.chat-input-area{padding:12px 16px}.sidebar-nav-btn .leave-channel-btn{opacity:1}}
@@ -1 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,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)},95057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={formatUrl:function(){return i},formatWithValidation:function(){return c},urlObjectKeys:function(){return l}};for(var o in s)Object.defineProperty(r,o,{enumerable:!0,get:s[o]});let a=e.r(90809)._(e.r(98183)),n=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,s=e.protocol||"",o=e.pathname||"",i=e.hash||"",l=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),l&&"object"==typeof l&&(l=String(a.urlQueryToSearchParams(l)));let u=e.search||l&&`?${l}`||"";return s&&!s.endsWith(":")&&(s+=":"),e.slashes||(!s||n.test(s))&&!1!==c?(c="//"+(c||""),o&&"/"!==o[0]&&(o="/"+o)):c||(c=""),i&&"#"!==i[0]&&(i="#"+i),u&&"?"!==u[0]&&(u="?"+u),o=o.replace(/[?#]/g,encodeURIComponent),u=u.replace("#","%23"),`${s}${c}${o}${u}${i}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return i(e)}},18581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let s=e.r(71645);function o(e,t){let r=(0,s.useRef)(null),o=(0,s.useRef)(null);return(0,s.useCallback)(s=>{if(null===s){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=a(e,s)),t&&(o.current=a(t,s))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let s=e.r(18967),o=e.r(52817);function a(e){if(!(0,s.isAbsoluteUrl)(e))return!0;try{let t=(0,s.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},84508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return s}});let s=e=>{}},22016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={default:function(){return g},useLinkStatus:function(){return w}};for(var o in s)Object.defineProperty(r,o,{enumerable:!0,get:s[o]});let a=e.r(90809),n=e.r(43476),i=a._(e.r(71645)),l=e.r(95057),c=e.r(8372),u=e.r(18581),h=e.r(18967),d=e.r(5550);e.r(33525);let p=e.r(88540),f=e.r(91949),m=e.r(73668),y=e.r(9396);function g(t){var r,s;let o,a,g,[w,x]=(0,i.useOptimistic)(f.IDLE_LINK_STATUS),v=(0,i.useRef)(null),{href:R,as:k,children:j,prefetch:T=null,passHref:P,replace:S,shallow:q,scroll:E,onClick:N,onMouseEnter:C,onTouchStart:O,legacyBehavior:A=!1,onNavigate:M,transitionTypes:L,ref:B,unstable_dynamicOnHover:U,...D}=t;o=j,A&&("string"==typeof o||"number"==typeof o)&&(o=(0,n.jsx)("a",{children:o}));let z=i.default.useContext(c.AppRouterContext),H=!1!==T,_=!1!==T?null===(s=T)||"auto"===s?y.FetchStrategy.PPR:y.FetchStrategy.Full:y.FetchStrategy.PPR,$="string"==typeof(r=k||R)?r:(0,l.formatUrl)(r);if(A){if(o?.$$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});a=i.default.Children.only(o)}let F=A?a&&"object"==typeof a&&a.ref:B,I=i.default.useCallback(e=>(null!==z&&(v.current=(0,f.mountLinkInstance)(e,$,z,_,H,x)),()=>{v.current&&((0,f.unmountLinkForCurrentNavigation)(v.current),v.current=null),(0,f.unmountPrefetchableInstance)(e)}),[H,$,z,_,x]),W={ref:(0,u.useMergedRef)(I,F),onClick(t){A||"function"!=typeof N||N(t),A&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(t),!z||t.defaultPrevented||function(t,r,s,o,a,n,l){if("u">typeof window){let c,{nodeName:u}=t.currentTarget;if("A"===u.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)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),n){let e=!1;if(n({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:h}=e.r(99781);i.default.startTransition(()=>{h(r,o?"replace":"push",!1===a?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,s.current,l)})}}(t,$,v,S,E,M,L)},onMouseEnter(e){A||"function"!=typeof C||C(e),A&&a.props&&"function"==typeof a.props.onMouseEnter&&a.props.onMouseEnter(e),z&&H&&(0,f.onNavigationIntent)(e.currentTarget,!0===U)},onTouchStart:function(e){A||"function"!=typeof O||O(e),A&&a.props&&"function"==typeof a.props.onTouchStart&&a.props.onTouchStart(e),z&&H&&(0,f.onNavigationIntent)(e.currentTarget,!0===U)}};return(0,h.isAbsoluteUrl)($)?W.href=$:A&&!P&&("a"!==a.type||"href"in a.props)||(W.href=(0,d.addBasePath)($)),g=A?i.default.cloneElement(a,W):(0,n.jsx)("a",{...D,...W,children:o}),(0,n.jsx)(b.Provider,{value:w,children:g})}e.r(84508);let b=(0,i.createContext)(f.IDLE_LINK_STATUS),w=()=>(0,i.useContext)(b);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},96661,e=>{"use strict";e.s(["mergeClasses",0,(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()])},71987,88973,e=>{"use strict";e.s(["default",0,{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}],71987),e.s(["hasA11yProp",0,e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1}],88973)},5014,e=>{"use strict";var t=e.i(71645),r=e.i(71987),s=e.i(88973),o=e.i(96661);let a=(0,t.createContext)({}),n=(0,t.forwardRef)(({color:e,size:n,strokeWidth:i,absoluteStrokeWidth:l,className:c="",children:u,iconNode:h,...d},p)=>{let{size:f=24,strokeWidth:m=2,absoluteStrokeWidth:y=!1,color:g="currentColor",className:b=""}=(0,t.useContext)(a)??{},w=l??y?24*Number(i??m)/Number(n??f):i??m;return(0,t.createElement)("svg",{ref:p,...r.default,width:n??f??r.default.width,height:n??f??r.default.height,stroke:e??g,strokeWidth:w,className:(0,o.mergeClasses)("lucide",b,c),...!u&&!(0,s.hasA11yProp)(d)&&{"aria-hidden":"true"},...d},[...h.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(u)?u:[u]])});e.s(["default",0,n],5014)},56420,e=>{"use strict";var t=e.i(71645),r=e.i(96661);let s=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var o=e.i(5014);e.s(["default",0,(e,a)=>{let n=(0,t.forwardRef)(({className:n,...i},l)=>(0,t.createElement)(o.default,{ref:l,iconNode:a,className:(0,r.mergeClasses)(`lucide-${s(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,n),...i}));return n.displayName=s(e),n}],56420)},35965,96699,93583,e=>{"use strict";var t=e.i(56420);let r=(0,t.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,r],35965);let s=(0,t.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,s],96699);let o=(0,t.default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);e.s(["Menu",0,o],93583)},40983,e=>{"use strict";var t=e.i(43476),r=e.i(71645),s=e.i(22016),o=e.i(35965),a=e.i(96699),n=e.i(93583);function i({size:e=24}){return(0,t.jsxs)("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("rect",{x:"2",y:"2",width:"8",height:"8",rx:"2",fill:"var(--accent)",opacity:"0.4"}),(0,t.jsx)("rect",{x:"14",y:"2",width:"8",height:"8",rx:"2",fill:"var(--accent)",opacity:"0.7"}),(0,t.jsx)("rect",{x:"2",y:"14",width:"8",height:"8",rx:"2",fill:"var(--accent)",opacity:"0.7"}),(0,t.jsx)("rect",{x:"14",y:"14",width:"8",height:"8",rx:"2",fill:"var(--accent)"})]})}let l=[{href:"/docs/getting-started/",label:"文档"},{href:"/changelog/",label:"更新日志"}];function c(){let[e,c]=(0,r.useState)(!1),[u,h]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=localStorage.getItem("theme"),t=window.matchMedia("(prefers-color-scheme: dark)").matches;("dark"===e||!e&&t)&&h(!0)},[]),(0,r.useEffect)(()=>{document.documentElement.setAttribute("data-theme",u?"dark":"light"),localStorage.setItem("theme",u?"dark":"light")},[u]),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("nav",{className:"mkt-nav",children:(0,t.jsxs)("div",{className:"mkt-nav-inner",children:[(0,t.jsxs)(s.default,{href:"/",className:"mkt-nav-logo",children:[(0,t.jsx)(i,{}),"MOST PEOPLE"]}),(0,t.jsxs)("div",{className:`mkt-nav-links ${e?"open":""}`,children:[l.map(e=>(0,t.jsx)(s.default,{href:e.href,onClick:()=>c(!1),children:e.label},e.href)),(0,t.jsxs)("button",{className:"mkt-theme-toggle mkt-mobile-only",onClick:()=>{h(!u),c(!1)},"aria-label":"切换主题",children:[u?(0,t.jsx)(o.Sun,{size:16}):(0,t.jsx)(a.Moon,{size:16}),u?" 亮色模式":" 暗色模式"]})]}),(0,t.jsxs)("div",{className:"mkt-nav-cta",children:[(0,t.jsx)("button",{className:"mkt-theme-toggle mkt-desktop-only",onClick:()=>h(!u),"aria-label":"切换主题",children:u?(0,t.jsx)(o.Sun,{size:16}):(0,t.jsx)(a.Moon,{size:16})}),(0,t.jsx)(s.default,{href:"/app/",className:"mkt-btn-primary",children:"开始使用"}),(0,t.jsx)("button",{className:"mkt-nav-mobile-toggle",onClick:()=>c(!e),"aria-label":"菜单",children:(0,t.jsx)(n.Menu,{size:24})})]})]})})})}let u=[{href:"/",label:"关于"},{href:"/docs/getting-started/",label:"文档"},{href:"/changelog/",label:"更新日志"},{href:"/ping/",label:"网络"},{href:"https://github.com/most-people/most",label:"GitHub",external:!0}];function h(){return(0,t.jsx)("footer",{className:"mkt-footer",children:(0,t.jsx)("div",{className:"mkt-container",children:(0,t.jsxs)("div",{className:"mkt-footer-inner",children:[(0,t.jsx)("div",{className:"mkt-footer-links",children:u.map(e=>(0,t.jsx)(s.default,{href:e.href,...e.external?{target:"_blank",rel:"noopener noreferrer"}:{},children:e.label},e.href))}),(0,t.jsxs)("span",{className:"mkt-footer-copy",children:["© ",new Date().getFullYear()," MOST PEOPLE · MIT License"]})]})})})}e.s(["MarketingLayout",0,function({children:e}){return(0,t.jsxs)("div",{className:"mkt-layout",children:[(0,t.jsx)(c,{}),(0,t.jsx)("main",{className:"mkt-layout-main",children:e}),(0,t.jsx)(h,{})]})}],40983)},89664,e=>{"use strict";let t=(0,e.i(56420).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",0,t],89664)},68590,e=>{"use strict";let t=(0,e.i(56420).default)("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]);e.s(["MessageSquare",0,t],68590)},68877,26913,e=>{"use strict";let t=(0,e.i(56420).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",0,t],68877);class r extends Error{name="KyError";get isKyError(){return!0}}class s extends r{name="HTTPError";response;request;options;data;constructor(e,t,r){const s=e.status||0===e.status?e.status:"",o=e.statusText??"",a=`${s} ${o}`.trim(),n=a?`status code ${a}`:"an unknown error";super(`Request failed with ${n}: ${t.method} ${t.url}`),this.response=e,this.request=t,this.options=r}}class o extends r{name="NetworkError";request;constructor(e,t){super(`Request failed due to a network error: ${e.method} ${e.url}`,t),this.request=e}}class a extends Error{name="NonError";value;constructor(e){let t="Non-error value was thrown";try{"string"==typeof e?t=e:e&&"object"==typeof e&&"message"in e&&"string"==typeof e.message&&(t=e.message)}catch{}super(t),this.value=e}}class n extends r{name="ForceRetryError";customDelay;code;customRequest;constructor(e){const t=e?.cause?e.cause instanceof Error?e.cause:new a(e.cause):void 0;super(e?.code?`Forced retry: ${e.code}`:"Forced retry",t?{cause:t}:void 0),this.customDelay=e?.delay,this.code=e?.code,this.customRequest=e?.request}}class i extends Error{name="SchemaValidationError";issues;constructor(e){super("Response schema validation failed"),this.issues=e}}class l extends r{name="TimeoutError";request;constructor(e){super(`Request timed out: ${e.method} ${e.url}`),this.request=e}}let c=(()=>{let e=!1,t=!1,r="function"==typeof globalThis.Request;if("function"==typeof globalThis.ReadableStream&&r)try{t=new globalThis.Request("https://empty.invalid",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type")}catch(e){if(e instanceof Error&&"unsupported BodyInit type"===e.message)return!1;throw e}return e&&!t})(),u="function"==typeof globalThis.AbortController,h="function"==typeof globalThis.AbortSignal&&"function"==typeof globalThis.AbortSignal.any,d="function"==typeof globalThis.ReadableStream,p="function"==typeof globalThis.FormData,f=["get","post","put","patch","head","delete"],m={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*",bytes:"*/*"},y=Symbol("stop");class g{options;constructor(e){this.options=e}}let b=e=>new g(e),w={json:!0,parseJson:!0,stringifyJson:!0,searchParams:!0,baseUrl:!0,prefix:!0,retry:!0,timeout:!0,totalTimeout:!0,hooks:!0,throwHttpErrors:!0,onDownloadProgress:!0,onUploadProgress:!0,fetch:!0,context:!0},x={method:!0,headers:!0,body:!0,mode:!0,credentials:!0,cache:!0,redirect:!0,referrer:!0,referrerPolicy:!0,integrity:!0,keepalive:!0,signal:!0,window:!0,duplex:!0},v=new TextEncoder,R=(e,t,r)=>{let s,o=0;return e.pipeThrough(new TransformStream({transform(e,a){if(a.enqueue(e),s){o+=s.byteLength;let e=0===t?0:o/t;e>=1&&(e=1-Number.EPSILON),r?.({percent:e,totalBytes:Math.max(t,o),transferredBytes:o},s)}s=e},flush(){s&&(o+=s.byteLength,r?.({percent:1,totalBytes:Math.max(t,o),transferredBytes:o},s))}}))},k=e=>null!==e&&"object"==typeof e,j=Symbol("replaceOption"),T=e=>k(e)&&!0===e[j]?{isReplace:!0,value:e.value}:{isReplace:!1,value:e},P=(...e)=>{for(let t of e)if((!k(t)||Array.isArray(t))&&void 0!==t)throw TypeError("The `options` argument must be an object");return L({},...e)},S=(e={},t={})=>{let r=new globalThis.Headers(e),s=t instanceof globalThis.Headers;for(let[e,o]of new globalThis.Headers(t).entries())s&&"undefined"===o||void 0===o?r.delete(e):r.set(e,o);return r},q=e=>{if(!k(e)||Array.isArray(e))return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||null===t},E=e=>{if(e instanceof URLSearchParams){let t=new URLSearchParams(e),r=e[A];return r&&(t[A]=new Set(r)),t}return e instanceof globalThis.Headers?new globalThis.Headers(e):Array.isArray(e)?[...e]:q(e)?{...e}:e},N=(e,t)=>q(e)&&q(t)?Object.fromEntries(Object.entries({...e,...t}).filter(e=>void 0!==e[1])):S(e,t);function C(e,t,r){return Object.hasOwn(t,r)&&void 0===t[r]?[]:L(e[r]??[],t[r]??[])}let O=(e={},t={})=>({init:C(e,t,"init"),beforeRequest:C(e,t,"beforeRequest"),beforeRetry:C(e,t,"beforeRetry"),beforeError:C(e,t,"beforeError"),afterResponse:C(e,t,"afterResponse")}),A=Symbol("deletedParameters"),M=(e,t)=>{let r=new URLSearchParams,s=new Set;for(let o of[e,t])if(void 0!==o)if(o instanceof URLSearchParams){for(let[e,t]of o.entries())r.append(e,t),s.delete(e);let e=o[A];if(e)for(let t of e)r.delete(t),s.add(t)}else if(Array.isArray(o))for(let e of o){if(!Array.isArray(e)||2!==e.length)throw TypeError("Array search parameters must be provided in [[key, value], ...] format");r.append(String(e[0]),String(e[1])),s.delete(String(e[0]))}else if(k(o))for(let[e,t]of Object.entries(o))void 0===t?(r.delete(e),s.add(e)):(r.append(e,String(t)),s.delete(e));else for(let[e,t]of new URLSearchParams(o).entries())r.append(e,t),s.delete(e);return s.size>0&&(r[A]=s),r},L=(...e)=>{let t,r={},s={},o={},a=[];for(let n of e)if(Array.isArray(n))Array.isArray(r)||(r=[]),r=[...r,...n];else if(k(n)){for(let[e,s]of Object.entries(n)){if("signal"===e&&s instanceof globalThis.AbortSignal){a.push(s);continue}let o=T(s),{isReplace:n}=o;if(s=o.value,"context"===e){if(null!=s&&(!k(s)||Array.isArray(s)))throw TypeError("The `context` option must be an object");r={...r,context:null==s?{}:n?{...s}:{...r.context,...s}};continue}if("searchParams"===e){t=null==s?void 0:n||void 0===t?s:M(t,s);continue}k(s)&&!n&&e in r&&(s=L(r[e],s)),r={...r,[e]:s}}if(k(n.hooks)){let{value:e,isReplace:t}=T(n.hooks);o=t?O({},e):O(o,e),r.hooks=o}if(k(n.headers)){let{value:e,isReplace:t}=T(n.headers);s=t?E(e):N(s,e),r.headers=s}}return void 0!==t&&(r.searchParams=t),a.length>0&&(1===a.length?r.signal=a[0]:h?r.signal=AbortSignal.any(a):r.signal=a.at(-1)),r},B={limit:2,methods:["get","put","head","delete","options","trace"],statusCodes:[408,413,429,500,502,503,504],afterStatusCodes:[413,429,503],maxRetryAfter:1/0,backoffLimit:1/0,delay:e=>.3*2**(e-1)*1e3,jitter:void 0,retryOnTimeout:!1};async function U(e,t,r,s){return new Promise((o,a)=>{let n=setTimeout(()=>{r&&r.abort(),a(new l(e))},s.timeout);s.fetch(e,t).then(o).catch(a).then(()=>{clearTimeout(n)})})}async function D(e,{signal:t}){return new Promise((r,s)=>{function o(){clearTimeout(a),s(t.reason)}t&&(t.throwIfAborted(),t.addEventListener("abort",o,{once:!0}));let a=setTimeout(()=>{t?.removeEventListener("abort",o),r()},e)})}let z=Object.prototype.toString,H=new Set(["network error","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Network request failed","fetch failed","terminated"," A network error occurred.","Network connection lost"]),_=(e,t)=>e instanceof t||e?.name===t.name,$=Symbol("timedOutResponseData"),F="The `schema` argument must follow the Standard Schema specification",I=Object.prototype.toString,W=e=>e instanceof globalThis.Request||"[object Request]"===I.call(e),J=e=>e instanceof globalThis.Response||"[object Response]"===I.call(e),K=async(e,t)=>{if("object"!=typeof t&&"function"!=typeof t||null===t)throw TypeError(F);let r=t["~standard"];if("object"!=typeof r||null===r||"function"!=typeof r.validate)throw TypeError(F);let s=await r.validate(e);if(s.issues)throw new i(s.issues);return s.value};class V{static create(e,t){var r,o;let a,i=t.hooks?.init??[],l=i.length>0?(a={...t,json:E(t.json),context:E(t.context),headers:E(t.headers),searchParams:Array.isArray(r=t.searchParams)?r.map(e=>[...e]):E(r)},void 0!==t.retry&&(a.retry="object"!=typeof(o=t.retry)?o:{...o,...o.methods&&{methods:[...o.methods]},...o.statusCodes&&{statusCodes:[...o.statusCodes]},...o.afterStatusCodes&&{afterStatusCodes:[...o.afterStatusCodes]}}),a):t;for(let e of i)e(l);let c=new V(e,l),u=async()=>{if("number"==typeof c.#e.timeout&&c.#e.timeout>0x7fffffff)throw RangeError("The `timeout` option cannot be greater than 2147483647");if("number"==typeof c.#e.totalTimeout&&c.#e.totalTimeout>0x7fffffff)throw RangeError("The `totalTimeout` option cannot be greater than 2147483647");await Promise.resolve();let e=await c.#t(),t=e??await c.#r(async()=>c.#s()),r=void 0!==e||c.#o();for(;;){if(void 0===t)return t;if(J(t))try{t=await c.#a(t)}catch(s){if(!(s instanceof n))throw s;let e=await c.#n(s,async()=>c.#s());if(void 0===e)return e;t=e,r=c.#o();continue}let e=t;if(!e.ok&&"opaque"!==e.type&&("function"==typeof c.#e.throwHttpErrors?c.#e.throwHttpErrors(e.status):c.#e.throwHttpErrors)){let o=new s(e,c.#i(e),c.#l());if(o.data=await c.#c(e),r)throw o;let a=await c.#n(o,async()=>c.#s());if(void 0===a)return a;t=a,r=c.#o();continue}break}if(!J(t))return t;if(c.#u(t),c.#e.onDownloadProgress){if("function"!=typeof c.#e.onDownloadProgress)throw TypeError("The `onDownloadProgress` option must be a function");if(!d)throw Error("Streams are not supported in your environment. `ReadableStream` is missing.");let e=t.clone();c.#h(t);var o=c.#e.onDownloadProgress;if(!e.body)return e;let r={status:e.status,statusText:e.statusText,headers:e.headers};if(204===e.status)return new Response(null,r);let s=Math.max(0,Number(e.headers.get("content-length"))||0);return new Response(R(e.body,s,o),r)}return t},h=(async()=>{try{return await u()}catch(t){if(!(t instanceof Error)||c.#d.has(t))throw t;let e=t;for(let t of c.#e.hooks.beforeError){let r=await t({request:c.request,options:c.#l(),error:e,retryCount:c.#p});r instanceof Error&&(e=r)}throw e}finally{let e=c.#f;c.#m(e?.body??void 0),c.request!==e&&c.#m(c.request.body??void 0)}})();for(let[e,t]of Object.entries(m))("bytes"!==e||"function"==typeof globalThis.Response?.prototype?.bytes)&&(h[e]=async r=>{c.request.headers.set("accept",c.request.headers.get("accept")||t);let s=await h;if("json"!==e)return s[e]();let o=await s.text();if(""===o)return void 0!==r?K(void 0,r):JSON.parse(o);let a=l.parseJson?await l.parseJson(o,{request:c.#i(s),response:s}):JSON.parse(o);return void 0===r?a:K(a,r)});return h}static #y(e){return!e||"object"!=typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.fromEntries(Object.entries(e).filter(([,e])=>void 0!==e))}request;#g;#p=0;#b;#e;#f;#w;#d=new WeakSet;#x;#v;#R=!1;#k=new WeakMap;constructor(e,t={}){if(this.#b=e,Object.hasOwn(t,"prefixUrl"))throw Error("The `prefixUrl` option has been renamed `prefix` in v2 and enhanced to allow slashes in input. See also the new `baseUrl` option for improved flexibility with standard URL resolution: https://github.com/sindresorhus/ky#baseurl");if(this.#e={...t,headers:S(this.#b.headers,t.headers),hooks:O({},t.hooks),method:(e=>f.includes(e)?e.toUpperCase():e)(t.method??this.#b.method??"GET"),prefix:String(t.prefix||""),retry:((e={})=>{if("number"==typeof e)return{...B,limit:e};if(e.methods&&!Array.isArray(e.methods))throw Error("retry.methods must be an array");if(e.statusCodes&&!Array.isArray(e.statusCodes))throw Error("retry.statusCodes must be an array");let t=Object.fromEntries(Object.entries({...e,methods:e.methods?.map(e=>e.toLowerCase())}).filter(([,e])=>void 0!==e));return{...B,...t}})(t.retry),throwHttpErrors:t.throwHttpErrors??!0,timeout:t.timeout??1e4,totalTimeout:t.totalTimeout??!1,fetch:t.fetch??globalThis.fetch.bind(globalThis),context:t.context??{}},"string"!=typeof this.#b&&!(this.#b instanceof URL||this.#b instanceof globalThis.Request))throw TypeError("`input` must be a string, URL, or Request");if("string"==typeof this.#b){if(this.#e.prefix){const e=this.#e.prefix.replace(/\/+$/,""),t=this.#b.replace(/^\/+/,"");this.#b=`${e}/${t}`}if(this.#e.baseUrl){let e;try{e=new URL(this.#b)}catch{}e||(this.#b=new URL(this.#b,new Request(this.#e.baseUrl).url))}}u&&h&&(this.#w=this.#e.signal??this.#b.signal,this.#g=new globalThis.AbortController,this.#e.signal=this.#j()),c&&(this.#e.duplex="half"),void 0!==this.#e.json&&(this.#e.body=this.#e.stringifyJson?.(this.#e.json)??JSON.stringify(this.#e.json),this.#e.headers.set("content-type",this.#e.headers.get("content-type")??"application/json"));const r=t.headers&&new globalThis.Headers(t.headers).has("content-type");if(this.#b instanceof globalThis.Request&&(p&&this.#e.body instanceof globalThis.FormData||this.#e.body instanceof URLSearchParams)&&!r&&this.#e.headers.delete("content-type"),this.request=new globalThis.Request(this.#b,this.#e),(e=>void 0!==e&&(Array.isArray(e)?e.length>0:e instanceof URLSearchParams?e.size>0||!!e[A]?.size:"object"==typeof e?Object.keys(e).length>0:"string"==typeof e?e.trim().length>0:!!e))(this.#e.searchParams)){const e=new URL(this.request.url),t=this.#e.searchParams?.[A];if(t)for(const r of t)e.searchParams.delete(r);if("string"==typeof this.#e.searchParams){const t=this.#e.searchParams.replace(/^\?/,"");""!==t&&(e.search=e.search?`${e.search}&${t}`:`?${t}`)}else for(const[t,r]of new URLSearchParams(V.#y(this.#e.searchParams)).entries())e.searchParams.append(t,r);if(this.#e.searchParams&&"object"==typeof this.#e.searchParams&&!Array.isArray(this.#e.searchParams)&&!(this.#e.searchParams instanceof URLSearchParams))for(const[t,r]of Object.entries(this.#e.searchParams))void 0===r&&e.searchParams.delete(t);this.request=new globalThis.Request(e,this.#e)}if(this.#e.onUploadProgress&&"function"!=typeof this.#e.onUploadProgress)throw TypeError("The `onUploadProgress` option must be a function");this.#v="number"==typeof this.#e.totalTimeout?this.#T():void 0}#P(){let e=this.#e.retry.delay(this.#p+1),t=e;return!0===this.#e.retry.jitter?t=Math.random()*e:"function"==typeof this.#e.retry.jitter&&(!Number.isFinite(t=this.#e.retry.jitter(e))||t<0)&&(t=e),Math.min(this.#e.retry.backoffLimit,t)}async #S(e){if(this.#p>=this.#e.retry.limit)throw e;let t=e instanceof Error?e:new a(e);if(t instanceof n)return t.customDelay??this.#P();if(!this.#e.retry.methods.includes(this.request.method.toLowerCase()))throw e;if(void 0!==this.#e.retry.shouldRetry){let r=await this.#e.retry.shouldRetry({error:t,retryCount:this.#p+1});if(!1===r)throw e;if(!0===r)return this.#P()}if(_(e,l)){if(!this.#e.retry.retryOnTimeout)throw e;return this.#P()}if(_(e,s)){if(!this.#e.retry.statusCodes.includes(e.response.status))throw e;let t=e.response.headers.get("Retry-After")??e.response.headers.get("RateLimit-Reset")??e.response.headers.get("X-RateLimit-Retry-After")??e.response.headers.get("X-RateLimit-Reset")??e.response.headers.get("X-Rate-Limit-Reset");if(t&&this.#e.retry.afterStatusCodes.includes(e.response.status)){let e=1e3*Number(t);return(Number.isNaN(e)?e=Date.parse(t)-Date.now():e>=Date.parse("2024-01-01")&&(e-=Date.now()),Number.isFinite(e))?(e=Math.max(0,e),Math.min(this.#e.retry.maxRetryAfter,e)):Math.min(this.#e.retry.maxRetryAfter,this.#P())}if(413===e.response.status)throw e;return this.#P()}if(!_(e,o))throw e;return this.#P()}#u(e){let t=this.#i(e);return this.#e.parseJson&&(e.json=async()=>{let r=await e.text();return""===r?JSON.parse(r):this.#e.parseJson(r,{request:t,response:e})}),e}async #c(e){let t=await this.#q(e,this.#E());if(t===$)return void this.#N();if(!t)return;if(!this.#C(e.headers.get("content-type")??""))return t;let r=await this.#O(t,e,this.#E(),this.#i(e));return r===$?void this.#N():r}#E(){let e=!1===this.#e.timeout?1e4:this.#e.timeout,t=this.#A();if(void 0===t)return e;if(t<=0)throw new l(this.request);return Math.min(e,t)}#C(e){let t=(e.split(";",1)[0]??"").trim().toLowerCase();return/\/(?:.*[.+-])?json$/.test(t)}async #q(e,t){let r,{body:s}=e;if(!s)try{return await e.text()}catch{return}try{r=s.getReader()}catch{return}let o=(e=>{let t=/;\s*charset\s*=\s*(?:"([^"]+)"|([^;,\s]+))/i.exec(e),r=t?.[1]??t?.[2];if(r)try{return new TextDecoder(r)}catch{}return new TextDecoder})(e.headers.get("content-type")??""),a=[],n=0,i=(async()=>{try{for(;;){let{done:e,value:t}=await r.read();if(e)break;if((n+=t.byteLength)>0xa00000)return void r.cancel().catch(()=>void 0);a.push(o.decode(t,{stream:!0}))}}catch{return}return a.push(o.decode()),a.join("")})(),l=new Promise(e=>{let r=setTimeout(()=>{e($)},t);i.finally(()=>{clearTimeout(r)})}),c=await Promise.race([i,l]);return c===$&&r.cancel().catch(()=>void 0),c}async #O(e,t,r,s){let o;try{return await Promise.race([Promise.resolve().then(()=>this.#e.parseJson?this.#e.parseJson(e,{request:s,response:t}):JSON.parse(e)),new Promise(e=>{o=setTimeout(()=>{e($)},r)})])}catch{return}finally{clearTimeout(o)}}#m(e){e&&e.cancel().catch(()=>void 0)}#h(e){this.#m(e.body??void 0)}#j(){return this.#w?AbortSignal.any([this.#w,this.#g.signal]):this.#g.signal}#N(){let e=this.#A();if(void 0!==e&&e<=0)throw new l(this.request)}async #t(){for(let e of this.#e.hooks.beforeRequest){let t=await e({request:this.request,options:this.#l(),retryCount:0});if(W(t))this.#M(t);else if(J(t))return t}}async #a(e){let t=this.#i(e);for(let r of this.#e.hooks.afterResponse){let s,o=this.#L(e.clone(),t);this.#u(o);try{s=await r({request:this.request,options:this.#l(),response:o,retryCount:this.#p})}catch(t){throw o!==e&&this.#h(o),this.#h(e),t}if(s instanceof g)throw o!==e&&this.#h(o),this.#h(e),new n(s.options);let a=J(s)?this.#L(s,t):e;o!==e&&o!==a&&o.body!==a.body&&this.#h(o),e!==a&&e.body!==a.body&&this.#h(e),e=a}return e}async #r(e){try{return await e()}catch(t){return this.#n(t,e)}}async #n(e,t){this.#R=!1;let r=Math.min(await this.#S(e),0x7fffffff),s={signal:this.#w},o=this.#A();if(void 0!==o){if(o<=0)throw new l(this.request);if(r>=o)throw await D(o,s),new l(this.request)}if(await D(r,s),this.#N(),e instanceof n&&e.customRequest){let t=new globalThis.Request(e.customRequest,this.#e.signal?{signal:this.#e.signal}:void 0);this.#M(t)}for(let t of this.#e.hooks.beforeRetry){let r;try{r=await t({request:this.request,options:this.#l(),error:e,retryCount:this.#p+1})}catch(t){throw t instanceof Error&&t!==e&&this.#d.add(t),t}if(W(r)){this.#M(r);break}if(J(r))return this.#R=!0,this.#p++,r;if(r===y)return}return this.#N(),this.#p++,this.#r(t)}#o(){let e=this.#R;return this.#R=!1,e}async #s(){this.#g?.signal.aborted&&(this.#g=new globalThis.AbortController,this.#e.signal=this.#j(),this.request=new globalThis.Request(this.request,{signal:this.#e.signal}));let e=(e=>{let t={};for(let r in e)Object.hasOwn(e,r)&&(r in x||r in w||(t[r]=e[r]));return t})(this.#e),t=this.#e.retry.limit>0?this.request.clone():void 0,r=this.#B(this.request,this.#e.body??void 0);this.#f=r,t&&(this.request=t);try{let t=this.#A();if(void 0!==t&&t<=0)throw new l(this.request);let s=!1===this.#e.timeout?t:void 0===t?this.#e.timeout:Math.min(this.#e.timeout,t),o=void 0===s?await this.#e.fetch(r,e):await U(r,e,this.#g,{timeout:s,fetch:this.#e.fetch});return this.#L(o,r)}catch(e){if(function(e){if(!(e&&"[object Error]"===z.call(e)&&"TypeError"===e.name&&"string"==typeof e.message))return!1;let{message:t,stack:r}=e;return"Load failed"===t?void 0===r||"__sentry_captured__"in e:!!(t.startsWith("error sending request for url")||"Failed to fetch"===t||t.startsWith("Failed to fetch (")&&t.endsWith(")"))||H.has(t)}(e))throw new o(this.request,{cause:e});throw e}}#A(){if(void 0===this.#v)return;let e=this.#T()-this.#v;return Math.max(0,this.#e.totalTimeout-e)}#T(){return globalThis.performance?.now()??Date.now()}#l(){if(!this.#x){let{hooks:e,json:t,parseJson:r,stringifyJson:s,searchParams:o,timeout:a,totalTimeout:n,throwHttpErrors:i,fetch:l,...c}=this.#e;this.#x=Object.freeze(c)}return this.#x}#M(e){this.#x=void 0,this.request=e}#i(e){return this.#k.get(e)??this.request}#L(e,t){return this.#k.set(e,t),e}#B(e,t){return this.#e.onUploadProgress&&e.body&&c?((e,t,r)=>{if(!e.body)return e;let s=(e=>{if(!e)return 0;if(e instanceof FormData){let t=0;for(let[r,s]of e)t+=40,t+=v.encode(`Content-Disposition: form-data; name="${r}"`).byteLength,t+="string"==typeof s?v.encode(s).byteLength:s.size;return t}return e instanceof Blob?e.size:e instanceof ArrayBuffer||ArrayBuffer.isView(e)?e.byteLength:"string"==typeof e?v.encode(e).byteLength:e instanceof URLSearchParams?v.encode(e.toString()).byteLength:0})(r??e.body);return new Request(e,{duplex:"half",body:R(e.body,s,t)})})(e,this.#e.onUploadProgress,t??this.#e.body??void 0):e}}let G=e=>{let t=(t,r)=>V.create(t,P(e,r));for(let r of f)t[r]=(t,s)=>V.create(t,P(e,s,{method:r}));return t.create=e=>G(P(e)),t.extend=t=>("function"==typeof t&&(t=t(e??{})),G(P(e,t))),t.stop=y,t.retry=b,t},X=G(),Z="mostbox_backend_url";function Q(){let e=localStorage.getItem(Z)||"";return X.create({prefix:e})}let Y=Q();async function ee(){try{return(await fetch("/api/node-id",{method:"GET",signal:AbortSignal.timeout(2e3)})).ok}catch{return!1}}async function et(){try{return(await fetch("http://localhost:1976/api/node-id",{method:"GET",signal:AbortSignal.timeout(2e3)})).ok}catch{return!1}}e.s(["api",()=>Y,"detectLocalhostBackend",0,et,"detectSameOriginBackend",0,ee,"setBackendUrl",0,function(e){let t=(e||"").trim().replace(/\/+$/,"");t?localStorage.setItem(Z,t):localStorage.removeItem(Z),Y=Q()}],26913)},70904,e=>{"use strict";let t=(0,e.i(56420).default)("wallet",[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]]);e.s(["Wallet",0,t],70904)},82022,e=>{"use strict";let t=(0,e.i(56420).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);e.s(["ExternalLink",0,t],82022)},31713,e=>{"use strict";var t=e.i(43476),r=e.i(71645),s=e.i(22016),o=e.i(56420);let a=(0,o.default)("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]);var n=e.i(68590),i=e.i(70904),l=e.i(68877);let c=(0,o.default)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);var u=e.i(89664),h=e.i(82022),d=e.i(62368),p=e.i(26913);let f=[{id:"app",title:"MostBox",subtitle:"P2P 文件分享",icon:(0,t.jsx)(a,{size:28}),path:"/app/",requiresBackend:!0,hero:"P2P 文件分享,无需注册",desc:"基于 Hyperswarm 的去中心化文件传输,让文件分享回归点对点。不限速、不限量、不追踪。",features:["无需注册,打开浏览器即用","Hyperswarm P2P 直连传输","GB 级大文件流式处理","相同文件 = 相同 CID,链接永久有效","频道加密聊天,实时通讯","MIT 开源,数据完全自主掌控"],steps:[{num:"1",title:"下载桌面客户端",desc:"支持 Windows、macOS 和 Linux。",link:"/download",linkText:"前往下载页"},{num:"2",title:"安装并运行",desc:"安装后打开应用,即可使用。"},{num:"3",title:"开始分享",desc:"上传文件,复制链接,发给朋友即可。"}]},{id:"chat",title:"P2P 聊天",subtitle:"频道加密通讯",icon:(0,t.jsx)(n.MessageSquare,{size:28}),path:"/chat/",requiresBackend:!0,hero:"去中心化频道聊天",desc:"基于 Hypercore 的 P2P 加密即时通讯。创建频道,邀请朋友,端到端加密,无需服务器中转。",features:["P2P 加密频道消息","匿名 / 实名身份切换","消息通过 Hyperswarm 网络同步","离线消息自动同步","无需注册即可使用"],steps:[{num:"1",title:"下载桌面客户端",desc:"支持 Windows、macOS 和 Linux。",link:"/download",linkText:"前往下载页"},{num:"2",title:"创建频道",desc:"输入任意频道名即可加入或创建。"},{num:"3",title:"开始聊天",desc:"发送消息,P2P 网络自动同步给所有在线节点。"}]},{id:"web3",title:"Web3",subtitle:"账户工具箱",icon:(0,t.jsx)(i.Wallet,{size:28}),path:"/web3/",requiresBackend:!1,hero:"确定性密钥派生工具箱",desc:"纯前端运行的 Web3 账户工具。输入用户名和密码,即可生成 Ed25519 / x25519 密钥对、助记词、以太坊地址,支持 PEM 导出和地址派生。",features:["纯前端运行,无需后端","Ed25519 / x25519 密钥对生成","BIP-39 助记词派生","以太坊地址与私钥导出","PEM 格式密钥导出","二维码展示地址与助记词"],steps:[{num:"1",title:"输入用户名",desc:"用户名 + 密码(可选)作为种子。"},{num:"2",title:"查看密钥",desc:"即时生成 Ed25519、x25519 公钥与 IPNS ID。"},{num:"3",title:"导出使用",desc:"复制地址、导出 PEM、派生子地址。"}]}];function m(){let[e,o]=(0,r.useState)("app"),[a,n]=(0,r.useState)(null),[i,m]=(0,r.useState)(!0);(0,r.useEffect)(()=>{!async function(){if(await (0,p.detectSameOriginBackend)()){(0,p.setBackendUrl)(""),n(!0),m(!1);return}if(await (0,p.detectLocalhostBackend)()){(0,p.setBackendUrl)("http://localhost:1976"),n(!0),m(!1);return}n(!1),m(!1)}()},[]);let y=f.find(t=>t.id===e)||f[0];return(0,t.jsxs)("div",{className:"portal-page",children:[(0,t.jsx)("section",{className:"portal-hero",children:(0,t.jsxs)("div",{className:"mkt-container",children:[(0,t.jsx)("h1",{className:"portal-hero-title",children:"MOST PEOPLE"}),(0,t.jsx)("p",{className:"portal-hero-subtitle",children:"去中心化 P2P 工具箱"})]})}),(0,t.jsx)("section",{className:"portal-cards-section",children:(0,t.jsx)("div",{className:"mkt-container",children:(0,t.jsx)("div",{className:"portal-cards",children:f.map(r=>{let n=e===r.id,l=r.requiresBackend,u=i?"checking":l?a?"connected":"disconnected":"none";return(0,t.jsxs)("button",{className:`portal-card ${n?"active":""}`,onClick:()=>o(r.id),children:[(0,t.jsx)(s.default,{href:r.path,className:"portal-card-open-btn",onClick:e=>e.stopPropagation(),title:`打开${r.title}`,children:(0,t.jsx)(c,{size:16})}),(0,t.jsx)("div",{className:"portal-card-icon",children:r.icon}),(0,t.jsx)("div",{className:"portal-card-title",children:r.title}),(0,t.jsx)("div",{className:"portal-card-subtitle",children:r.subtitle}),l?(0,t.jsxs)("div",{className:`portal-card-status ${u}`,children:["checking"===u&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"status-dot checking"}),"检测中"]}),"connected"===u&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"status-dot connected"}),"已连接"]}),"disconnected"===u&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"status-dot disconnected"}),"需下载"]})]}):(0,t.jsxs)("div",{className:"portal-card-status ready",children:[(0,t.jsx)("span",{className:"status-dot ready"}),"已就绪"]})]},r.id)})})})}),(0,t.jsx)("section",{className:"portal-marketing",children:(0,t.jsx)("div",{className:"mkt-container",children:(0,t.jsx)("div",{className:"portal-marketing-inner",children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"portal-marketing-header",children:[(0,t.jsx)("h2",{children:y.hero}),(0,t.jsx)("p",{children:y.desc})]}),(0,t.jsx)("div",{className:"portal-marketing-features",children:y.features.map((e,r)=>(0,t.jsxs)("div",{className:"portal-feature-item",children:[(0,t.jsx)("span",{className:"portal-feature-icon",children:(0,t.jsx)(u.Check,{size:14,strokeWidth:3})}),(0,t.jsx)("span",{children:e})]},r))}),(0,t.jsx)("div",{className:"portal-marketing-steps",children:y.steps.map(e=>(0,t.jsxs)("div",{className:"portal-step",children:[(0,t.jsx)("span",{className:"portal-step-num",children:e.num}),(0,t.jsxs)("div",{className:"portal-step-content",children:[(0,t.jsx)("strong",{children:e.title}),(0,t.jsx)("p",{children:e.desc}),e.code&&(0,t.jsx)("code",{className:"portal-step-code",children:e.code}),e.link&&(0,t.jsx)("p",{className:"portal-step-link",children:(0,t.jsxs)("a",{href:e.link,target:"_blank",rel:"noopener noreferrer",children:[e.linkText," ",(0,t.jsx)(h.ExternalLink,{size:12})]})})]})]},e.num))}),(0,t.jsxs)("div",{className:"portal-actions",children:[(0,t.jsxs)(s.default,{href:y.path,className:"mkt-btn-primary",children:["进入 ",y.title,(0,t.jsx)(l.ArrowRight,{size:16})]}),y.requiresBackend&&!1===a&&(0,t.jsxs)(s.default,{href:"/download",className:"mkt-btn-secondary",children:[(0,t.jsx)(d.Download,{size:16}),"下载桌面客户端"]})]})]})})})})]})}var y=e.i(40983);e.s(["default",0,function(){return(0,t.jsx)(y.MarketingLayout,{children:(0,t.jsx)(m,{})})}],31713)}]);