wrong-notebook 2026.11.3-2 → 2026.11.4-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 (445) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +3 -0
  3. package/.next/build-manifest.json +3 -3
  4. package/.next/prerender-manifest.json +3 -3
  5. package/.next/routes-manifest.json +18 -0
  6. package/.next/server/app/_global-error.html +1 -1
  7. package/.next/server/app/_global-error.rsc +1 -1
  8. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  9. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  10. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  11. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  12. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  13. package/.next/server/app/admin/page.js.nft.json +1 -1
  14. package/.next/server/app/admin/page_client-reference-manifest.js +1 -1
  15. package/.next/server/app/admin/user/[id]/page.js.nft.json +1 -1
  16. package/.next/server/app/admin/user/[id]/page_client-reference-manifest.js +1 -1
  17. package/.next/server/app/api/admin/cnm-tags/route.js +5 -5
  18. package/.next/server/app/api/admin/cnm-tags/route.js.nft.json +1 -1
  19. package/.next/server/app/api/admin/dashboard/route.js +11 -11
  20. package/.next/server/app/api/admin/dashboard/route.js.nft.json +1 -1
  21. package/.next/server/app/api/admin/debug-logs/export/route.js +1 -1
  22. package/.next/server/app/api/admin/debug-logs/export/route.js.nft.json +1 -1
  23. package/.next/server/app/api/admin/debug-logs/route.js +4 -4
  24. package/.next/server/app/api/admin/debug-logs/route.js.nft.json +1 -1
  25. package/.next/server/app/api/admin/users/[id]/detail/route.js +11 -11
  26. package/.next/server/app/api/admin/users/[id]/detail/route.js.nft.json +1 -1
  27. package/.next/server/app/api/admin/users/route.js +1 -1
  28. package/.next/server/app/api/admin/users/route.js.nft.json +1 -1
  29. package/.next/server/app/api/ai/models/route.js +11 -11
  30. package/.next/server/app/api/ai/models/route.js.nft.json +1 -1
  31. package/.next/server/app/api/ai/test/route.js +10 -10
  32. package/.next/server/app/api/ai/test/route.js.nft.json +1 -1
  33. package/.next/server/app/api/analytics/route.js +16 -15
  34. package/.next/server/app/api/analytics/route.js.nft.json +1 -1
  35. package/.next/server/app/api/analyze/route.js +12 -12
  36. package/.next/server/app/api/analyze/route.js.nft.json +1 -1
  37. package/.next/server/app/api/error-items/[id]/figure/route.js +16 -16
  38. package/.next/server/app/api/error-items/[id]/figure/route.js.nft.json +1 -1
  39. package/.next/server/app/api/error-items/[id]/fix-latex/route.js +15 -15
  40. package/.next/server/app/api/error-items/[id]/fix-latex/route.js.nft.json +1 -1
  41. package/.next/server/app/api/error-items/[id]/geogebra/route.js +11 -11
  42. package/.next/server/app/api/error-items/[id]/geogebra/route.js.nft.json +1 -1
  43. package/.next/server/app/api/error-items/[id]/image/route.js +4 -4
  44. package/.next/server/app/api/error-items/[id]/image/route.js.nft.json +1 -1
  45. package/.next/server/app/api/error-items/[id]/reanswer/route.js +16 -16
  46. package/.next/server/app/api/error-items/[id]/reanswer/route.js.nft.json +1 -1
  47. package/.next/server/app/api/error-items/[id]/retag/route.js +13 -12
  48. package/.next/server/app/api/error-items/[id]/retag/route.js.nft.json +1 -1
  49. package/.next/server/app/api/error-items/[id]/route.js +1 -1
  50. package/.next/server/app/api/error-items/[id]/route.js.nft.json +1 -1
  51. package/.next/server/app/api/error-items/[id]/svg-animation/narration/route.js +16 -16
  52. package/.next/server/app/api/error-items/[id]/svg-animation/narration/route.js.nft.json +1 -1
  53. package/.next/server/app/api/error-items/[id]/svg-animation/route.js +16 -16
  54. package/.next/server/app/api/error-items/[id]/svg-animation/route.js.nft.json +1 -1
  55. package/.next/server/app/api/error-items/answer-space/route.js +4 -4
  56. package/.next/server/app/api/error-items/answer-space/route.js.nft.json +1 -1
  57. package/.next/server/app/api/error-items/list/route.js +1 -1
  58. package/.next/server/app/api/error-items/list/route.js.nft.json +1 -1
  59. package/.next/server/app/api/error-items/route.js +19 -18
  60. package/.next/server/app/api/error-items/route.js.nft.json +1 -1
  61. package/.next/server/app/api/error-items/similarity/route.js +4 -4
  62. package/.next/server/app/api/error-items/similarity/route.js.nft.json +1 -1
  63. package/.next/server/app/api/exams/[id]/questions/[questionId]/regenerate/route.js +16 -16
  64. package/.next/server/app/api/exams/[id]/questions/[questionId]/regenerate/route.js.nft.json +1 -1
  65. package/.next/server/app/api/exams/[id]/results/route.js +15 -14
  66. package/.next/server/app/api/exams/[id]/results/route.js.nft.json +1 -1
  67. package/.next/server/app/api/exams/[id]/retry/route.js +15 -14
  68. package/.next/server/app/api/exams/[id]/retry/route.js.nft.json +1 -1
  69. package/.next/server/app/api/exams/[id]/route.js +15 -15
  70. package/.next/server/app/api/exams/[id]/route.js.nft.json +1 -1
  71. package/.next/server/app/api/exams/route.js +17 -16
  72. package/.next/server/app/api/exams/route.js.nft.json +1 -1
  73. package/.next/server/app/api/export/route.js +1 -1
  74. package/.next/server/app/api/export/route.js.nft.json +1 -1
  75. package/.next/server/app/api/geogebra-analyze/route.js +13 -13
  76. package/.next/server/app/api/geogebra-analyze/route.js.nft.json +1 -1
  77. package/.next/server/app/api/import/route.js +15 -15
  78. package/.next/server/app/api/import/route.js.nft.json +1 -1
  79. package/.next/server/app/api/import-batches/[id]/confirm-all/route.js +21 -21
  80. package/.next/server/app/api/import-batches/[id]/confirm-all/route.js.nft.json +1 -1
  81. package/.next/server/app/api/import-batches/[id]/fix-text/route.js +15 -14
  82. package/.next/server/app/api/import-batches/[id]/fix-text/route.js.nft.json +1 -1
  83. package/.next/server/app/api/import-batches/[id]/read/route.js +21 -21
  84. package/.next/server/app/api/import-batches/[id]/read/route.js.nft.json +1 -1
  85. package/.next/server/app/api/import-batches/[id]/retry/route.js +21 -21
  86. package/.next/server/app/api/import-batches/[id]/retry/route.js.nft.json +1 -1
  87. package/.next/server/app/api/import-batches/[id]/route.js +21 -21
  88. package/.next/server/app/api/import-batches/[id]/route.js.nft.json +1 -1
  89. package/.next/server/app/api/import-batches/[id]/start/route.js +21 -21
  90. package/.next/server/app/api/import-batches/[id]/start/route.js.nft.json +1 -1
  91. package/.next/server/app/api/import-batches/route.js +21 -21
  92. package/.next/server/app/api/import-batches/route.js.nft.json +1 -1
  93. package/.next/server/app/api/import-tasks/[id]/confirm/route.js +17 -17
  94. package/.next/server/app/api/import-tasks/[id]/confirm/route.js.nft.json +1 -1
  95. package/.next/server/app/api/import-tasks/[id]/read/route.js +17 -17
  96. package/.next/server/app/api/import-tasks/[id]/read/route.js.nft.json +1 -1
  97. package/.next/server/app/api/import-tasks/[id]/retry/route.js +17 -17
  98. package/.next/server/app/api/import-tasks/[id]/retry/route.js.nft.json +1 -1
  99. package/.next/server/app/api/import-tasks/[id]/route.js +17 -17
  100. package/.next/server/app/api/import-tasks/[id]/route.js.nft.json +1 -1
  101. package/.next/server/app/api/import-tasks/route.js +21 -21
  102. package/.next/server/app/api/import-tasks/route.js.nft.json +1 -1
  103. package/.next/server/app/api/initialize/route.js +3 -3
  104. package/.next/server/app/api/initialize/route.js.nft.json +1 -1
  105. package/.next/server/app/api/minimax-code/checkin/route.js +1 -1
  106. package/.next/server/app/api/minimax-code/checkin/route.js.nft.json +1 -1
  107. package/.next/server/app/api/minimax-code/route.js +1 -1
  108. package/.next/server/app/api/minimax-code/route.js.nft.json +1 -1
  109. package/.next/server/app/api/notebooks/[id]/retag/route.js +15 -14
  110. package/.next/server/app/api/notebooks/[id]/retag/route.js.nft.json +1 -1
  111. package/.next/server/app/api/notebooks/route.js +1 -1
  112. package/.next/server/app/api/notebooks/route.js.nft.json +1 -1
  113. package/.next/server/app/api/openclaw/batch-upload/route.js +14 -14
  114. package/.next/server/app/api/openclaw/batch-upload/route.js.nft.json +1 -1
  115. package/.next/server/app/api/paper-groups/[id]/route.js +4 -4
  116. package/.next/server/app/api/paper-groups/[id]/route.js.nft.json +1 -1
  117. package/.next/server/app/api/paper-groups/route.js +5 -5
  118. package/.next/server/app/api/paper-groups/route.js.nft.json +1 -1
  119. package/.next/server/app/api/practice/generate/route.js +13 -13
  120. package/.next/server/app/api/practice/generate/route.js.nft.json +1 -1
  121. package/.next/server/app/api/practice/grade/route.js +12 -12
  122. package/.next/server/app/api/practice/grade/route.js.nft.json +1 -1
  123. package/.next/server/app/api/practice/record/[id]/route.js +11 -11
  124. package/.next/server/app/api/practice/record/[id]/route.js.nft.json +1 -1
  125. package/.next/server/app/api/practice/record/route.js +14 -14
  126. package/.next/server/app/api/practice/record/route.js.nft.json +1 -1
  127. package/.next/server/app/api/reanswer/route.js +15 -15
  128. package/.next/server/app/api/reanswer/route.js.nft.json +1 -1
  129. package/.next/server/app/api/register/route.js +5 -5
  130. package/.next/server/app/api/register/route.js.nft.json +1 -1
  131. package/.next/server/app/api/register/status/route.js +5 -5
  132. package/.next/server/app/api/register/status/route.js.nft.json +1 -1
  133. package/.next/server/app/api/review/due/route.js +11 -11
  134. package/.next/server/app/api/review/due/route.js.nft.json +1 -1
  135. package/.next/server/app/api/settings/route.js +5 -5
  136. package/.next/server/app/api/settings/route.js.nft.json +1 -1
  137. package/.next/server/app/api/setup/route.js +1 -1
  138. package/.next/server/app/api/setup/route.js.nft.json +1 -1
  139. package/.next/server/app/api/stats/activity/route/app-paths-manifest.json +3 -0
  140. package/.next/server/app/api/stats/activity/route/build-manifest.json +12 -0
  141. package/.next/server/app/api/stats/activity/route/server-reference-manifest.json +4 -0
  142. package/.next/server/app/api/stats/activity/route.js +14 -0
  143. package/.next/server/app/api/stats/activity/route.js.map +5 -0
  144. package/.next/server/app/api/stats/activity/route.js.nft.json +1 -0
  145. package/.next/server/app/api/stats/activity/route_client-reference-manifest.js +3 -0
  146. package/.next/server/app/api/stats/practice/route.js +6 -5
  147. package/.next/server/app/api/stats/practice/route.js.nft.json +1 -1
  148. package/.next/server/app/api/stats/repeated-mistakes/route/app-paths-manifest.json +3 -0
  149. package/.next/server/app/api/stats/repeated-mistakes/route/build-manifest.json +12 -0
  150. package/.next/server/app/api/stats/repeated-mistakes/route/server-reference-manifest.json +4 -0
  151. package/.next/server/app/api/stats/repeated-mistakes/route.js +26 -0
  152. package/.next/server/app/api/stats/repeated-mistakes/route.js.map +5 -0
  153. package/.next/server/app/api/stats/repeated-mistakes/route.js.nft.json +1 -0
  154. package/.next/server/app/api/stats/repeated-mistakes/route_client-reference-manifest.js +3 -0
  155. package/.next/server/app/api/stats/weak-tags/route/app-paths-manifest.json +3 -0
  156. package/.next/server/app/api/stats/weak-tags/route/build-manifest.json +12 -0
  157. package/.next/server/app/api/stats/weak-tags/route/server-reference-manifest.json +4 -0
  158. package/.next/server/app/api/stats/weak-tags/route.js +26 -0
  159. package/.next/server/app/api/stats/weak-tags/route.js.map +5 -0
  160. package/.next/server/app/api/stats/weak-tags/route.js.nft.json +1 -0
  161. package/.next/server/app/api/stats/weak-tags/route_client-reference-manifest.js +3 -0
  162. package/.next/server/app/api/tags/route.js.nft.json +1 -1
  163. package/.next/server/app/api/tags/stats/route.js.nft.json +1 -1
  164. package/.next/server/app/api/tasks/route.js.nft.json +1 -1
  165. package/.next/server/app/api/tts/[id]/route.js +1 -1
  166. package/.next/server/app/api/tts/[id]/route.js.nft.json +1 -1
  167. package/.next/server/app/api/tts/batch/route.js +9 -9
  168. package/.next/server/app/api/tts/batch/route.js.nft.json +1 -1
  169. package/.next/server/app/api/tts/route.js +7 -7
  170. package/.next/server/app/api/tts/route.js.nft.json +1 -1
  171. package/.next/server/app/api/tts/status/route.js +8 -8
  172. package/.next/server/app/api/tts/status/route.js.nft.json +1 -1
  173. package/.next/server/app/api/user/route.js +14 -13
  174. package/.next/server/app/api/user/route.js.nft.json +1 -1
  175. package/.next/server/app/error-items/[id]/page.js.nft.json +1 -1
  176. package/.next/server/app/error-items/[id]/page_client-reference-manifest.js +1 -1
  177. package/.next/server/app/exams/[id]/page.js.nft.json +1 -1
  178. package/.next/server/app/exams/[id]/page_client-reference-manifest.js +1 -1
  179. package/.next/server/app/exams/[id]/print/page.js.nft.json +1 -1
  180. package/.next/server/app/exams/[id]/print/page_client-reference-manifest.js +1 -1
  181. package/.next/server/app/exams/page.js.nft.json +1 -1
  182. package/.next/server/app/exams/page_client-reference-manifest.js +1 -1
  183. package/.next/server/app/import-batches/[id]/page.js.nft.json +1 -1
  184. package/.next/server/app/import-batches/[id]/page_client-reference-manifest.js +1 -1
  185. package/.next/server/app/import-tasks/[id]/page.js.nft.json +1 -1
  186. package/.next/server/app/import-tasks/[id]/page_client-reference-manifest.js +1 -1
  187. package/.next/server/app/import-tasks/page.js.nft.json +1 -1
  188. package/.next/server/app/import-tasks/page_client-reference-manifest.js +1 -1
  189. package/.next/server/app/initialize/page.js.nft.json +1 -1
  190. package/.next/server/app/initialize/page_client-reference-manifest.js +1 -1
  191. package/.next/server/app/login/page.js.nft.json +1 -1
  192. package/.next/server/app/login/page_client-reference-manifest.js +1 -1
  193. package/.next/server/app/notebooks/[id]/add/page.js.nft.json +1 -1
  194. package/.next/server/app/notebooks/[id]/add/page_client-reference-manifest.js +1 -1
  195. package/.next/server/app/notebooks/[id]/page.js.nft.json +1 -1
  196. package/.next/server/app/notebooks/[id]/page_client-reference-manifest.js +1 -1
  197. package/.next/server/app/notebooks/page.js.nft.json +1 -1
  198. package/.next/server/app/notebooks/page_client-reference-manifest.js +1 -1
  199. package/.next/server/app/page.js.nft.json +1 -1
  200. package/.next/server/app/page_client-reference-manifest.js +1 -1
  201. package/.next/server/app/practice/page.js.nft.json +1 -1
  202. package/.next/server/app/practice/page_client-reference-manifest.js +1 -1
  203. package/.next/server/app/print-preview/page.js.nft.json +1 -1
  204. package/.next/server/app/print-preview/page_client-reference-manifest.js +1 -1
  205. package/.next/server/app/register/page.js.nft.json +1 -1
  206. package/.next/server/app/register/page_client-reference-manifest.js +1 -1
  207. package/.next/server/app/review/page.js.nft.json +1 -1
  208. package/.next/server/app/review/page_client-reference-manifest.js +1 -1
  209. package/.next/server/app/setup/page.js.nft.json +1 -1
  210. package/.next/server/app/setup/page_client-reference-manifest.js +1 -1
  211. package/.next/server/app/stats/page.js.nft.json +1 -1
  212. package/.next/server/app/stats/page_client-reference-manifest.js +1 -1
  213. package/.next/server/app/tags/page.js.nft.json +1 -1
  214. package/.next/server/app/tags/page_client-reference-manifest.js +1 -1
  215. package/.next/server/app-paths-manifest.json +3 -0
  216. package/.next/server/chunks/1oeh_server_app_api_stats_repeated-mistakes_route_actions_06q2817k49p9f.js +3 -0
  217. package/.next/server/chunks/{[root-of-the-server]__0ddvoqy3a719u._.js → [root-of-the-server]__006u92h_madgn._.js} +1 -1
  218. package/.next/server/chunks/[root-of-the-server]__012pau7crikop._.js +3 -0
  219. package/.next/server/chunks/[root-of-the-server]__01jc87mm42cex._.js +3 -0
  220. package/.next/server/chunks/[root-of-the-server]__01newhoirvvb2._.js +3 -0
  221. package/.next/server/chunks/[root-of-the-server]__057qz9ucs7lib._.js +3 -0
  222. package/.next/server/chunks/[root-of-the-server]__06_pvs6rg70ri._.js +3 -0
  223. package/.next/server/chunks/{[root-of-the-server]__0opuw_bsktcnc._.js → [root-of-the-server]__09pkxauucdf_0._.js} +2 -2
  224. package/.next/server/chunks/[root-of-the-server]__0_vinl1oembls._.js +3 -0
  225. package/.next/server/chunks/{[root-of-the-server]__12u4jc5x2ss9k._.js → [root-of-the-server]__0ahni9caaouya._.js} +2 -2
  226. package/.next/server/chunks/[root-of-the-server]__0aq01totjzgkp._.js +3 -0
  227. package/.next/server/chunks/[root-of-the-server]__0b_zf20owrv7l._.js +3 -0
  228. package/.next/server/chunks/[root-of-the-server]__0cel4yig3zcho._.js +3 -0
  229. package/.next/server/chunks/[root-of-the-server]__0fg20m1i6x4y9._.js +3 -0
  230. package/.next/server/chunks/[root-of-the-server]__0fhy87hr0_glw._.js +3 -0
  231. package/.next/server/chunks/{[root-of-the-server]__0ijmyxflggama._.js → [root-of-the-server]__0geynfn2xmdle._.js} +2 -2
  232. package/.next/server/chunks/[root-of-the-server]__0glupa52ge074._.js +3 -0
  233. package/.next/server/chunks/[root-of-the-server]__0imuc7gi1ii-e._.js +3 -0
  234. package/.next/server/chunks/[root-of-the-server]__0jk-9m6ra-_um._.js +3 -0
  235. package/.next/server/chunks/[root-of-the-server]__0jvusk64khb-a._.js +3 -0
  236. package/.next/server/chunks/{[root-of-the-server]__0a5qx2roo_50n._.js → [root-of-the-server]__0k4cyyyh6z6_p._.js} +2 -2
  237. package/.next/server/chunks/[root-of-the-server]__0lqv0n5j2fg24._.js +3 -0
  238. package/.next/server/chunks/[root-of-the-server]__0n5l60oyv1n-1._.js +3 -0
  239. package/.next/server/chunks/[root-of-the-server]__0nkrql6or-tf_._.js +3 -0
  240. package/.next/server/chunks/[root-of-the-server]__0ovdiut1h8kkt._.js +3 -0
  241. package/.next/server/chunks/[root-of-the-server]__0p8wlug4uvmvi._.js +3 -0
  242. package/.next/server/chunks/[root-of-the-server]__0r7f34_38kmvk._.js +3 -0
  243. package/.next/server/chunks/[root-of-the-server]__0ualui9b50ufh._.js +3 -0
  244. package/.next/server/chunks/[root-of-the-server]__0ujfft7untkmq._.js +3 -0
  245. package/.next/server/chunks/[root-of-the-server]__0vw7u-y__gk7p._.js +3 -0
  246. package/.next/server/chunks/[root-of-the-server]__0xj_313186tqc._.js +3 -0
  247. package/.next/server/chunks/{[root-of-the-server]__1679e_8h0w86j._.js → [root-of-the-server]__0z0knsep33lsx._.js} +2 -2
  248. package/.next/server/chunks/{[root-of-the-server]__1sggr1m3ukvts._.js → [root-of-the-server]__1-djdd7tnb-n7._.js} +2 -2
  249. package/.next/server/chunks/{[root-of-the-server]__1r0s6pktkiqkf._.js → [root-of-the-server]__10gp75p89v9a2._.js} +2 -2
  250. package/.next/server/chunks/[root-of-the-server]__112w8xm57okk5._.js +3 -0
  251. package/.next/server/chunks/[root-of-the-server]__12h4ckd6f76pb._.js +3 -0
  252. package/.next/server/chunks/[root-of-the-server]__12ig6-5hpb7s-._.js +3 -0
  253. package/.next/server/chunks/[root-of-the-server]__14c50fhuh_abo._.js +3 -0
  254. package/.next/server/chunks/{[root-of-the-server]__1l-2u-q625i2a._.js → [root-of-the-server]__166997w1su5wq._.js} +2 -2
  255. package/.next/server/chunks/[root-of-the-server]__16xl11-irmhu3._.js +3 -0
  256. package/.next/server/chunks/[root-of-the-server]__19i64i9v32y8o._.js +3 -0
  257. package/.next/server/chunks/[root-of-the-server]__19jqc7tzna13p._.js +3 -0
  258. package/.next/server/chunks/[root-of-the-server]__1azaa45m60iqm._.js +3 -0
  259. package/.next/server/chunks/[root-of-the-server]__1d159cxbdta68._.js +3 -0
  260. package/.next/server/chunks/{[root-of-the-server]__1yct9oj28kq_h._.js → [root-of-the-server]__1dmp3ynxbcyjz._.js} +2 -2
  261. package/.next/server/chunks/[root-of-the-server]__1e5tjfwab0exu._.js +3 -0
  262. package/.next/server/chunks/{[root-of-the-server]__0ahnj8vp1pywj._.js → [root-of-the-server]__1eu_g0k_nr3i-._.js} +2 -2
  263. package/.next/server/chunks/[root-of-the-server]__1f-7-l2abs15s._.js +3 -0
  264. package/.next/server/chunks/[root-of-the-server]__1fepss7g57apj._.js +3 -0
  265. package/.next/server/chunks/[root-of-the-server]__1g11271g0z55n._.js +3 -0
  266. package/.next/server/chunks/[root-of-the-server]__1he8kk4382-0h._.js +3 -0
  267. package/.next/server/chunks/[root-of-the-server]__1j44_t992y-1-._.js +3 -0
  268. package/.next/server/chunks/[root-of-the-server]__1k4f33-z95_7c._.js +3 -0
  269. package/.next/server/chunks/[root-of-the-server]__1kiolpvl5u4e-._.js +3 -0
  270. package/.next/server/chunks/{[root-of-the-server]__0_fisu5brhyk_._.js → [root-of-the-server]__1kx3a0dm7l2wl._.js} +2 -2
  271. package/.next/server/chunks/[root-of-the-server]__1m_y4afrn94oy._.js +3 -0
  272. package/.next/server/chunks/[root-of-the-server]__1o9pbkx7ejxu0._.js +3 -0
  273. package/.next/server/chunks/[root-of-the-server]__1tffqae521gxo._.js +3 -0
  274. package/.next/server/chunks/[root-of-the-server]__1u5c7agj_phnb._.js +3 -0
  275. package/.next/server/chunks/[root-of-the-server]__1vg8sj020j9pp._.js +3 -0
  276. package/.next/server/chunks/[root-of-the-server]__1wfhdwfdvc6j3._.js +3 -0
  277. package/.next/server/chunks/[root-of-the-server]__1zqfz2rc4i280._.js +3 -0
  278. package/.next/server/chunks/[root-of-the-server]__212aaltyh6kc2._.js +3 -0
  279. package/.next/server/chunks/_0-ne-bwuvd_6w._.js +1 -1
  280. package/.next/server/chunks/_01y7-j4vx6cu5._.js +3 -0
  281. package/.next/server/chunks/_0edfmbz_jbxsu._.js +3 -0
  282. package/.next/server/chunks/{_0x3jdlmx-bey5._.js → _0lj59y-ytysr5._.js} +2 -2
  283. package/.next/server/chunks/_0lo1_vwfiel-b._.js +3 -0
  284. package/.next/server/chunks/_0r0hnbjdq-k9-._.js +3 -0
  285. package/.next/server/chunks/_0v762_h-sp94d._.js +3 -0
  286. package/.next/server/chunks/_0vshwghrjetxu._.js +3 -0
  287. package/.next/server/chunks/_0wegi_sv1s4wx._.js +1 -1
  288. package/.next/server/chunks/_11w6ynlxuzl55._.js +1 -1
  289. package/.next/server/chunks/_1a1oatugfke1p._.js +3 -0
  290. package/.next/server/chunks/_1fgb9ve_nfat4._.js +1 -1
  291. package/.next/server/chunks/_1fki7pamd4s-7._.js +3 -0
  292. package/.next/server/chunks/{_1ox156inx113o._.js → _1fsfy4c3rj36b._.js} +2 -2
  293. package/.next/server/chunks/_1hc_es1a3cl6a._.js +3 -0
  294. package/.next/server/chunks/_1ns6y6y2tq8sh._.js +3 -0
  295. package/.next/server/chunks/_next-internal_server_app_api_stats_activity_route_actions_1yux8iszfudpr.js +3 -0
  296. package/.next/server/chunks/_next-internal_server_app_api_stats_weak-tags_route_actions_037n-g-nwrsh6.js +3 -0
  297. package/.next/server/chunks/{node_modules_zod_v4_classic_external_0cradpuc4fjmm.js → node_modules_zod_v4_classic_external_0qoqh-q5drsgn.js} +3 -3
  298. package/.next/server/chunks/src_lib_0fedb0fkc3km1._.js +3 -0
  299. package/.next/server/chunks/src_lib_0okewfjk6p2ci._.js +3 -0
  300. package/.next/server/chunks/ssr/[root-of-the-server]__03208_liub81h._.js +3 -0
  301. package/.next/server/chunks/ssr/[root-of-the-server]__08j-3_6cl3898._.js +3 -0
  302. package/.next/server/chunks/ssr/[root-of-the-server]__0ht0nkzazbnl9._.js +3 -0
  303. package/.next/server/chunks/ssr/[root-of-the-server]__0mqo18mv_ooyq._.js +3 -0
  304. package/.next/server/chunks/ssr/[root-of-the-server]__0r18qmblwuijm._.js +3 -0
  305. package/.next/server/chunks/ssr/[root-of-the-server]__1z2o77biewl3j._.js +3 -0
  306. package/.next/server/chunks/ssr/_002crzzz_cqha._.js +3 -0
  307. package/.next/server/chunks/ssr/_01qu892bisrf0._.js +3 -0
  308. package/.next/server/chunks/ssr/_01rfvhncgnpvl._.js +3 -0
  309. package/.next/server/chunks/ssr/_0k8_zrcalckn6._.js +3 -0
  310. package/.next/server/chunks/ssr/_0rd-teluypcd2._.js +1 -1
  311. package/.next/server/chunks/ssr/_0w83jztp72o20._.js +3 -0
  312. package/.next/server/chunks/ssr/_0wculltrlnokg._.js +3 -0
  313. package/.next/server/chunks/ssr/{_0f2k-q7kimi4o._.js → _0xkk9yj75j2gl._.js} +1 -1
  314. package/.next/server/chunks/ssr/_1-5vj-nfmgwz8._.js +3 -0
  315. package/.next/server/chunks/ssr/_18dt93-y95n-0._.js +3 -0
  316. package/.next/server/chunks/ssr/_1b3pell8an7q7._.js +3 -0
  317. package/.next/server/chunks/ssr/_1gbbaroe3f8p2._.js +3 -0
  318. package/.next/server/chunks/ssr/_1qgg_ll5hkjaf._.js +1 -1
  319. package/.next/server/chunks/ssr/_1sztendo5e5tf._.js +3 -0
  320. package/.next/server/chunks/ssr/_1ujx-n3muyaxs._.js +1 -1
  321. package/.next/server/chunks/ssr/_1ux6eqqkupo6v._.js +1 -1
  322. package/.next/server/chunks/ssr/_1xv0q8o3g3r5d._.js +3 -0
  323. package/.next/server/chunks/ssr/{node_modules_0b0fwrqs9v-g1._.js → node_modules_1d2ueqm41z04k._.js} +2 -2
  324. package/.next/server/chunks/ssr/node_modules_heic-to_dist_csp_heic-to_1_wfmqq00b4vx.js +3 -0
  325. package/.next/server/chunks/ssr/{node_modules_zod_v4_classic_external_0n-w9zu3b6q41.js → node_modules_zod_v4_classic_external_0veaboc415l0m.js} +3 -3
  326. package/.next/server/chunks/ssr/src_app_import-batches_[id]_page_tsx_0mhg_vriwmkkw._.js +1 -1
  327. package/.next/server/chunks/ssr/src_app_notebooks_[id]_add_page_tsx_179tow1ql6vc_._.js +1 -1
  328. package/.next/server/chunks/ssr/src_app_notebooks_[id]_page_tsx_08njm-5-txm8_._.js +1 -1
  329. package/.next/server/chunks/ssr/src_app_page_tsx_1chiuahujsxm1._.js +1 -1
  330. package/.next/server/chunks/ssr/src_components_image-cropper_tsx_0pcp8-ifruyx-._.js +1 -1
  331. package/.next/server/chunks/ssr/src_lib_0-wirad5ziskp._.js +6 -0
  332. package/.next/server/chunks/ssr/src_lib_1vv0-aje_e-zh._.js +6 -0
  333. package/.next/server/middleware-build-manifest.js +3 -3
  334. package/.next/server/pages/500.html +1 -1
  335. package/.next/server/preview-props.json +3 -3
  336. package/.next/server/server-reference-manifest.js +1 -1
  337. package/.next/server/server-reference-manifest.json +1 -1
  338. package/.next/static/chunks/{2467o8uezj--l.js → 0-hqh6zs3hidn.js} +5 -5
  339. package/.next/static/chunks/02xikk3wlibg1.js +1 -0
  340. package/.next/static/chunks/081x3sje_s-_s.js +1 -0
  341. package/.next/static/chunks/093fbi_f_vb46.js +1 -0
  342. package/.next/static/chunks/0_xcjg47jv3ur.js +1 -0
  343. package/.next/static/chunks/0wcwopwk4us6h.js +9 -0
  344. package/.next/static/chunks/0y5zywo-ll2w3.js +1 -0
  345. package/.next/static/chunks/17dk_oppf9-hv.js +12 -0
  346. package/.next/static/chunks/1a9_ien1xt883.js +1 -0
  347. package/.next/static/chunks/21qaa-gzvurvc.js +1 -0
  348. package/.next/static/chunks/2ebh36q8lvor_.js +1 -0
  349. package/.next/static/chunks/{210o9wkszynk8.js → 2j0linvpqza7u.js} +4 -4
  350. package/.next/static/chunks/2qqyq-iqkv_oa.js +9 -0
  351. package/.next/static/chunks/2r5aeenvfl93p.js +1 -0
  352. package/.next/static/chunks/3ayhhtp8n8w82.css +3 -0
  353. package/.next/static/chunks/3fh32b9da9l_5.js +1 -0
  354. package/.next/static/chunks/3kr4ynzxd4_6d.js +2 -0
  355. package/.next/static/chunks/{3wr-25ch-9chk.js → 3oz37kz8n7y3b.js} +1 -1
  356. package/.next/static/chunks/3tv07cyoo_hat.js +1 -0
  357. package/.next/static/chunks/3wch6vphcivq5.js +1 -0
  358. package/package.json +1 -1
  359. package/prisma/seed.db +0 -0
  360. package/.next/server/chunks/[root-of-the-server]__0-f1ktua0hz_g._.js +0 -3
  361. package/.next/server/chunks/[root-of-the-server]__01mz72wf0po36._.js +0 -3
  362. package/.next/server/chunks/[root-of-the-server]__02ez4rqh6y7uu._.js +0 -3
  363. package/.next/server/chunks/[root-of-the-server]__02jcq4nj_tb6l._.js +0 -3
  364. package/.next/server/chunks/[root-of-the-server]__08aldp-j0e_op._.js +0 -3
  365. package/.next/server/chunks/[root-of-the-server]__08crf3zxl7fnv._.js +0 -3
  366. package/.next/server/chunks/[root-of-the-server]__094fb72-14c6v._.js +0 -3
  367. package/.next/server/chunks/[root-of-the-server]__0d31vt-7stly0._.js +0 -3
  368. package/.next/server/chunks/[root-of-the-server]__0h3er81lqy7-3._.js +0 -3
  369. package/.next/server/chunks/[root-of-the-server]__0hy5-7_ikat1_._.js +0 -3
  370. package/.next/server/chunks/[root-of-the-server]__0ik-49062qe6v._.js +0 -3
  371. package/.next/server/chunks/[root-of-the-server]__0j-1ri4yahq6t._.js +0 -3
  372. package/.next/server/chunks/[root-of-the-server]__0l30p58xnmw13._.js +0 -3
  373. package/.next/server/chunks/[root-of-the-server]__0ob0n0xzc2--7._.js +0 -3
  374. package/.next/server/chunks/[root-of-the-server]__0rwxa2doabk45._.js +0 -3
  375. package/.next/server/chunks/[root-of-the-server]__0s-etfexh0i4a._.js +0 -3
  376. package/.next/server/chunks/[root-of-the-server]__0v5o3aoha3nct._.js +0 -3
  377. package/.next/server/chunks/[root-of-the-server]__0xasoo-1cispc._.js +0 -3
  378. package/.next/server/chunks/[root-of-the-server]__121tnm6bol8ow._.js +0 -3
  379. package/.next/server/chunks/[root-of-the-server]__13ofz2qkhwdmd._.js +0 -3
  380. package/.next/server/chunks/[root-of-the-server]__13ogen7pkq8aa._.js +0 -3
  381. package/.next/server/chunks/[root-of-the-server]__18tzik6wyd5b2._.js +0 -3
  382. package/.next/server/chunks/[root-of-the-server]__196oikyiyhn_9._.js +0 -3
  383. package/.next/server/chunks/[root-of-the-server]__19qwvtmhzhh9_._.js +0 -3
  384. package/.next/server/chunks/[root-of-the-server]__19wv3dxe-dx43._.js +0 -3
  385. package/.next/server/chunks/[root-of-the-server]__1azlmjwymm3nj._.js +0 -3
  386. package/.next/server/chunks/[root-of-the-server]__1c5_00hz3u1z7._.js +0 -3
  387. package/.next/server/chunks/[root-of-the-server]__1dtpezu7cisnu._.js +0 -3
  388. package/.next/server/chunks/[root-of-the-server]__1eli1ues3akzx._.js +0 -3
  389. package/.next/server/chunks/[root-of-the-server]__1h545soby66hi._.js +0 -3
  390. package/.next/server/chunks/[root-of-the-server]__1ixotu0p11op8._.js +0 -3
  391. package/.next/server/chunks/[root-of-the-server]__1j0l1jz1c3mpt._.js +0 -3
  392. package/.next/server/chunks/[root-of-the-server]__1ll7fod21jjr6._.js +0 -3
  393. package/.next/server/chunks/[root-of-the-server]__1nv28fsr0vd5p._.js +0 -3
  394. package/.next/server/chunks/[root-of-the-server]__1o_zqaie6w0vc._.js +0 -3
  395. package/.next/server/chunks/[root-of-the-server]__1q-7krekgvk1w._.js +0 -3
  396. package/.next/server/chunks/[root-of-the-server]__1qzd0dm9ny797._.js +0 -3
  397. package/.next/server/chunks/[root-of-the-server]__1rqu8zxkn8yj1._.js +0 -3
  398. package/.next/server/chunks/[root-of-the-server]__1seev7pmug-hj._.js +0 -3
  399. package/.next/server/chunks/[root-of-the-server]__1xkmo8s1c258u._.js +0 -3
  400. package/.next/server/chunks/[root-of-the-server]__1z56ua9u9hadc._.js +0 -3
  401. package/.next/server/chunks/_0ymqtnritje40._.js +0 -3
  402. package/.next/server/chunks/_1duugm0s3-6nw._.js +0 -3
  403. package/.next/server/chunks/_1gjtds8ik0l6x._.js +0 -3
  404. package/.next/server/chunks/_1hvmjv_7xksea._.js +0 -3
  405. package/.next/server/chunks/_1rreh3rgx8xan._.js +0 -3
  406. package/.next/server/chunks/_1wnggnglg9_n1._.js +0 -3
  407. package/.next/server/chunks/src_lib_0dxltm34zaclb._.js +0 -3
  408. package/.next/server/chunks/src_lib_date-time_ts_14chb270f3epb._.js +0 -3
  409. package/.next/server/chunks/ssr/[root-of-the-server]__0_bi5ljcm1i1c._.js +0 -3
  410. package/.next/server/chunks/ssr/[root-of-the-server]__0fy6mc47ccfce._.js +0 -3
  411. package/.next/server/chunks/ssr/[root-of-the-server]__0r_5r-242wwqy._.js +0 -3
  412. package/.next/server/chunks/ssr/[root-of-the-server]__1eutot_8-s4s4._.js +0 -3
  413. package/.next/server/chunks/ssr/[root-of-the-server]__1mrj6vygoasvv._.js +0 -3
  414. package/.next/server/chunks/ssr/[root-of-the-server]__2019hdxvtb4e0._.js +0 -3
  415. package/.next/server/chunks/ssr/_05szyj465au6e._.js +0 -3
  416. package/.next/server/chunks/ssr/_0ks-0g-tu__3m._.js +0 -3
  417. package/.next/server/chunks/ssr/_0nt5dm7rmsp4f._.js +0 -3
  418. package/.next/server/chunks/ssr/_0ueequ0gysrs-._.js +0 -3
  419. package/.next/server/chunks/ssr/_15fdum1ye-k0z._.js +0 -3
  420. package/.next/server/chunks/ssr/_1b8cip9y91_br._.js +0 -3
  421. package/.next/server/chunks/ssr/_1d91l8e5qt82w._.js +0 -3
  422. package/.next/server/chunks/ssr/_1hbrn0tcfh7hd._.js +0 -3
  423. package/.next/server/chunks/ssr/_1w1qijzykerpu._.js +0 -3
  424. package/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_1bq471wvtkwrl._.js +0 -3
  425. package/.next/server/chunks/ssr/src_components_difficulty-stars_tsx_1af9qqfurq7_t._.js +0 -3
  426. package/.next/server/chunks/ssr/src_lib_question-split_text_ts_0h4uz23xrlybm._.js +0 -6
  427. package/.next/static/chunks/0_ar7dth9hybc.js +0 -1
  428. package/.next/static/chunks/0ajfstfi1ibjf.js +0 -1
  429. package/.next/static/chunks/1d0ltu2dk4a0v.js +0 -1
  430. package/.next/static/chunks/1hwk1kmheoccm.js +0 -9
  431. package/.next/static/chunks/1qj8u6q02qbty.js +0 -1
  432. package/.next/static/chunks/1rvm9ttct-w2q.css +0 -3
  433. package/.next/static/chunks/1upvap68fad8i.js +0 -1
  434. package/.next/static/chunks/289znh7431pug.js +0 -1
  435. package/.next/static/chunks/2q9dw_3pa6om0.js +0 -12
  436. package/.next/static/chunks/2urhwgx3nt7lq.js +0 -1
  437. package/.next/static/chunks/3-se55-6uc0mx.js +0 -2
  438. package/.next/static/chunks/3-w46lg1a_qse.js +0 -1
  439. package/.next/static/chunks/344kc1rli8fy-.js +0 -1
  440. package/.next/static/chunks/34lp-hkkywd8r.js +0 -1
  441. package/.next/static/chunks/3jvftad10pwwg.js +0 -9
  442. package/.next/static/chunks/3lsj4waqfw7eq.js +0 -1
  443. /package/.next/static/{vcaSyuwRLyplMa8bkQEcE → 0_A8rshkxRGdIAt8Ht93Q}/_buildManifest.js +0 -0
  444. /package/.next/static/{vcaSyuwRLyplMa8bkQEcE → 0_A8rshkxRGdIAt8Ht93Q}/_clientMiddlewareManifest.js +0 -0
  445. /package/.next/static/{vcaSyuwRLyplMa8bkQEcE → 0_A8rshkxRGdIAt8Ht93Q}/_ssgManifest.js +0 -0
@@ -27,6 +27,6 @@ Ways to fix this:
27
27
  - [stream] Wrap the component in \`<Suspense fallback={...}>\` so the hook value streams in after prerendering
28
28
  - [block] Set \`export const instant = false\` to allow a blocking route
29
29
 
30
- Learn more: https://nextjs.org/docs/messages/blocking-prerender-client-hook`),this.digest=n}}function p(a){return"object"==typeof a&&null!==a&&"digest"in a&&a.digest===n}let q=new WeakMap;function r(a,b,c){return J(a,new m(b,c))}function s(a,b,c){return J(a,new m(b,c))}function t(a,b,c,d){return N(J(a,new m(b,c)),A.bind(null,d,c))}function u(a,b,c,d){let e=J(a,new m(b,c));return null===d?e:N(e,B.bind(null,d,c))}function v(a,b,c,d){return t(a,b,c,d)}function w(a,b,c){return s(a,b,c)}function x(a,b,c,d){let e=J(a,new m(b,c));return null===d?e:N(e,C.bind(null,d,c))}function y(){return{runtimeDataAccessed:(0,g.createPromiseWithResolvers)(),shouldAttemptStaticShell:!0,shouldAttemptStaticPrefetch:!0}}function z(a){a.runtimeDataAccessed.resolve(!1)}function A(a,b){D(a,1,b)}function B(a,b){D(a,2,b)}function C(a,b){D(a,3,b)}function D(a,b,c){if("prerender"===a.type){let{prerenderDataTracking:d,stagedRendering:e}=a;if(!d||!e)return;let{currentStage:g}=e;if(g===i.RenderStage.Before)return void console.error(new f.InvariantError("Unexpected trackRuntimeDataAccessed in the Before stage."));if(g>=i.RenderStage.NavigationStatic)return;let j=a.ensureStaticLevel??h.EnsureStaticLevel.None;switch(b){case 1:{let a=null;g<=i.RenderStage.ShellStatic&&j<h.EnsureStaticLevel.Shell&&(d.shouldAttemptStaticShell=!1,a??=i.RenderStage.ShellStatic,null==F||F(c,"shell")),g<=i.RenderStage.PrefetchStatic&&j<h.EnsureStaticLevel.Prefetch&&(d.shouldAttemptStaticPrefetch=!1,a??=i.RenderStage.PrefetchStatic,null==F||F(c,"prefetch")),null!==a&&E(d,e,a);break}case 3:if(a.isFallbackUpgradeable){j<h.EnsureStaticLevel.Prefetch&&(E(d,e,i.RenderStage.PrefetchStatic),null==G||G());break}case 2:g<=i.RenderStage.PrefetchStatic&&j<h.EnsureStaticLevel.Prefetch&&(d.shouldAttemptStaticPrefetch=!1,null==F||F(c,"prefetch"),E(d,e,i.RenderStage.PrefetchStatic))}}}function E(a,b,c){let{runtimeDataAccessed:d}=a;b.currentStage>=c?d.resolve(!0):b.onStage(c,d.resolve.bind(null,!0))}let F=process.env.NEXT_PRIVATE_DEBUG_RUNTIME_DATA?(a,b)=>{let{route:c}=j.workAsyncStorage.getStore();console.log(`Route '${c}': deopting to a runtime ${b} because it used ${a}`)}:void 0,G=process.env.NEXT_PRIVATE_DEBUG_RUNTIME_DATA?()=>{let{route:a}=j.workAsyncStorage.getStore();console.log(`Route '${a}': marking upgradeable fallback as runtime prefetchable`)}:void 0;function H(a,b){let{stagedRendering:c}=a;if(!c)return;let{currentStage:d}=c;if(d!==i.RenderStage.Dynamic&&d!==i.RenderStage.Abandoned){if(process.env.NEXT_PRIVATE_DEBUG_VALIDATION){let a=j.workAsyncStorage.getStore();console.log(`Route ${a.route}: Incompatible shell content: ${b}`)}a.hasIncompatibleShellContent=!0}}function I(a,b){return J(a,b)}function J(a,b){if(a.aborted)return Promise.reject(b);{let c=new Promise((c,d)=>{let e=d.bind(null,b),f=q.get(a);if(f)f.push(e);else{let b=[e];q.set(a,b),a.addEventListener("abort",()=>{for(let a=0;a<b.length;a++)b[a]()},{once:!0})}});return c.catch(K),c}}function K(){}function L(a,b){let c=a.then(()=>b);return c.catch(K),c}function M(a,b,c){return b.stagedRendering?b.stagedRendering.delayUntilStage(c,void 0,a):new Promise(b=>{setTimeout(()=>{b(a)},0)})}function N(a,b){return O.from(a,b)}class O extends Promise{#a;static get[Symbol.species](){return Promise}static from(a,b){let c=new O(a.then.bind(a));return c.#a=b,Promise.prototype.then.call(c,void 0,K),c}then(a,b){let c=this.#a;if(c)try{c()}catch(a){console.error(a)}return Promise.prototype.then.call(this,a,b)}constructor(...a){super(...a),this.#a=null}}let P={sessionData:i.RenderStage.ShellRuntime,staticUrlData:{prefetchApi:{static:i.RenderStage.PrefetchStatic_prefetchApi,runtime:i.RenderStage.PrefetchRuntime_prefetchApi},static:i.RenderStage.PrefetchStatic,runtime:i.RenderStage.PrefetchRuntime},runtimeUrlData:i.RenderStage.PrefetchRuntime};function Q(a){return a}},913925,(a,b,c)=>{Object.defineProperty(c,"__esModule",{value:!0});var d={getComponentTypeModule:function(){return h},getLayoutOrPageModule:function(){return g}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(739118);async function g(a){let b,c,d,{layout:e,page:g,defaultPage:h}=a[2],i=void 0!==e,j=void 0!==g,k=void 0!==h&&a[0]===f.DEFAULT_SEGMENT_KEY;return i?(b=await e[0](),c="layout",d=e[1]):j?(b=await g[0](),c="page",d=g[1]):k&&(b=await h[0](),c="page",d=h[1]),{mod:b,modType:c,filePath:d}}async function h(a,b){let{[b]:c}=a[2];if(void 0!==c)return await c[0]()}},588644,(a,b,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},441997,(a,b,c)=>{Object.defineProperty(c,"__esModule",{value:!0});var d={BailoutToCSRError:function(){return g},isBailoutToCSRError:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f="BAILOUT_TO_CLIENT_SIDE_RENDERING";class g extends Error{constructor(a){super(`Bail out to client-side rendering: ${a}`),this.reason=a,this.digest=f}}function h(a){return"object"==typeof a&&null!==a&&"digest"in a&&a.digest===f}},882794,(a,b,c)=>{Object.defineProperty(c,"__esModule",{value:!0});var d={createReactBrowserBailoutReason:function(){return g},getReactBrowserBailoutReason:function(){return h},isNextBrowserBailoutError:function(){return i}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=Symbol.for("next.browser-bailout-reason");function g(a){return{$$typeof:f,reason:a}}function h(a){let b=a?.cause;return b?.$$typeof===f?b.reason:void 0}function i(a){return void 0!==h(a)}},554427,(a,b,c)=>{function d(){let a,b,c=new Promise((c,d)=>{a=c,b=d});return{resolve:a,reject:b,promise:c}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"createPromiseWithResolvers",{enumerable:!0,get:function(){return d}})},204560,(a,b,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"parseLoaderTree",{enumerable:!0,get:function(){return e}});let d=a.r(739118);function e(a){let[b,c,e,f]=a,{layout:g,template:h}=e,{page:i}=e;i=b===d.DEFAULT_SEGMENT_KEY?e.defaultPage:i;let j=g?.[1]||h?.[1]||i?.[1];return{page:i,segment:b,modules:e,conventionPath:j,parallelRoutes:c,staticSiblings:f}}},739118,(a,b,c)=>{Object.defineProperty(c,"__esModule",{value:!0});var d={DEFAULT_SEGMENT_KEY:function(){return k},NOT_FOUND_SEGMENT_KEY:function(){return l},PAGE_SEGMENT_KEY:function(){return j},computeSelectedLayoutSegment:function(){return i},getSegmentValue:function(){return f},getSelectedLayoutSegmentPath:function(){return function a(b,c,d=!0,e=[]){let g;if(d)g=b[1][c];else{let a=b[1];g=a.children??Object.values(a)[0]}if(!g)return e;let h=f(g[0]);return h&&h!==j?(e.push(h),a(g,c,!1,e)):e}},isGroupSegment:function(){return g},isParallelRouteSegment:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});function f(a){return Array.isArray(a)?a[1]:a}function g(a){return"("===a[0]&&a.endsWith(")")}function h(a){return a.startsWith("@")&&"@children"!==a}function i(a,b){if(!a||0===a.length)return null;let c="children"===b?a[0]:a[a.length-1];return c===k?null:c}let j="__PAGE__",k="__DEFAULT__",l="/_not-found"},699570,a=>{var b=a.i(187924),c=a.i(811011),d=a.i(400187),e=a.i(368114);let f=(0,d.f)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});a.s(["f",0,function({className:a,variant:d,size:g,asChild:h=!1,...i}){let j=h?c.M:"button";return(0,b.jsx)(j,{"data-slot":"button",className:(0,e.f)(f({variant:d,size:g,className:a})),...i})}])},550194,a=>{var b=a.i(187924),c=a.i(572131),d=a.i(931642);let e=(0,c.createContext)(void 0),f="app-language",g=new Set;function h(a){return g.add(a),window.addEventListener("storage",a),()=>{g.delete(a),window.removeEventListener("storage",a)}}function i(){let a=localStorage.getItem(f);return"zh"===a||"en"===a?a:"zh"}a.s(["w",0,function({children:a}){let j=(0,c.useSyncExternalStore)(h,i,()=>"zh"),k={language:j,setLanguage:a=>{localStorage.setItem(f,a),g.forEach(a=>a())},t:d.f[j]};return(0,b.jsx)(e.Provider,{value:k,children:a})},"b",0,function(){let a=(0,c.useContext)(e);if(void 0===a)throw Error("useLanguage must be used within a LanguageProvider");return a}])},630534,a=>{let b=new class{buffer=[];flushTimer=null;addToBuffer(a,b,c,d){let e={level:a,prefix:b,message:c,context:d?Object.fromEntries(Object.entries(d).map(([a,b])=>[a,b instanceof Error?{name:b.name,message:b.message}:b])):d,timestamp:new Date().toISOString(),url:"",userAgent:"u">typeof navigator?navigator.userAgent:""};(this.buffer.push(e),this.buffer.length>=20)?this.flush():this.scheduleFlush()}scheduleFlush(){this.flushTimer||(this.flushTimer=setTimeout(()=>{this.flush()},1e3))}flush(){if(this.flushTimer&&(clearTimeout(this.flushTimer),this.flushTimer=null),0===this.buffer.length)return;let a=[...this.buffer];this.buffer=[],this.sendBatch(a)}async sendBatch(a){try{fetch("/api/logs/frontend",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({logs:a})}).catch(a=>{console.warn("Failed to send logs to backend:",a)})}catch{}}info(a,b,c,d={}){console.log(`${a} ${b}`,c||""),!1!==d.sendToBackend&&this.addToBuffer("info",a,b,c)}warn(a,b,c,d={}){console.warn(`${a} ${b}`,c||""),!1!==d.sendToBackend&&this.addToBuffer("warn",a,b,c)}error(a,b,c,d={}){console.error(`${a} ${b}`,c||""),!1!==d.sendToBackend&&this.addToBuffer("error",a,b,c)}forceFlush(){this.flush()}};a.s(["V",0,b,"m",0,function(){return()=>void 0}])},931642,a=>{a.s(["f",0,{en:{questionGrade:{label:"Grade recognition for new questions",fixed:"Fixed grade",ai:"AI recognition",fixedDescription:"Use the selected grade and semester for new questions. If unset, use the current grade calculated from your account profile.",aiDescription:"AI determines the grade and semester from the question content. If it cannot determine them, they stay unset. Direct entry without a grade also uses AI and counts toward your daily AI limit.",description:"Saved for your account and applied to all new question entry. Manual changes take priority; existing questions and restored backups keep their grades.",save:"Save grade rule",loadFailed:"Could not load the grade rule. Please retry."},gradeSelection:{edit:"Edit grade/semester",firstSemester:"1st Semester",secondSemester:"2nd Semester",names:["Grade 1","Grade 2","Grade 3","Grade 4","Grade 5","Grade 6","Junior High Grade 1","Junior High Grade 2","Junior High Grade 3","Senior High Grade 1","Senior High Grade 2","Senior High Grade 3","Freshman","Sophomore","Junior","Senior"]},pageTitle:{base:"AI Smart Error Notebook",home:"Add Mistakes",addError:"Add Mistakes",examPrint:"Print",login:"Login",register:"Register"},common:{loading:"Loading...",colon:": ",listSeparator:", ",showPassword:"Show",hidePassword:"Hide",error:"Error",success:"Success",save:"Save",cancel:"Cancel",confirm:"Confirm",back:"Back",delete:"Delete",default:"Default",add:"Add",rename:"Rename",activate:"Activate",deactivate:"Deactivate",inactive:"Inactive",welcome:"Welcome back, ",pleaseWait:"Please wait...",notSet:"Not set",edit:"Edit",expand:"Expand",collapse:"Collapse",close:"Close",confirmTitle:"Please confirm",cropper:{title:"Crop Image",hint:"💡 Drag to adjust the crop area; scroll or pinch to zoom",zoomIn:"Zoom in",zoomOut:"Zoom out",resetZoom:"Reset to 100%"},progress:{reading:"Reading photo...",converting:"Converting HEIC/HEIF photo...",compressing:"Preparing image...",uploading:"Uploading...",analyzing:"Waiting for AI analysis...",processing:"Processing result...",saving:"Saving...",estimated:"Stage estimate: {percent}%",elapsed:"Elapsed: {time}",estimateHint:"The percentage is estimated by processing stage."},messages:{analysisFailed:"AI analysis failed, please try again",missingImage:"Missing image data",saveSuccess:"Saved successfully!",saveFailed:"Failed to save",loadFailed:"Failed to load item",updateFailed:"Update failed",deleteSuccess:"Deleted successfully",deleteFailed:"Delete failed",tagUpdateSuccess:"Tags updated successfully!",metaUpdateSuccess:"Metadata updated successfully!",noteSaveSuccess:"Notes saved successfully",confirmDelete:"Are you sure you want to delete this error item?"}},home:{greetingMorning:"Good morning",greetingAfternoon:"Good afternoon",greetingEvening:"Good evening",heroSubtitle:"Snap or type a question — AI will analyze, tag and file it for you.",notebookCount:"Notebooks",itemCount:"Mistakes",dueCount:"Due today",targetNotebook:"Adding to: {name}"},review:{title:"Today's Review",desc:"Questions due today, scheduled at 1, 2, 4, 7, 15 and 30 days. A correct answer moves a question to the next interval; a wrong answer starts over.",dueCount:"{count} due today",practice:"Practice",dueOn:"Due {date}",overdue:"Overdue since {date}",round:"Round {round} of {total}",empty:"Nothing to review today",emptyHint:"Questions come back on schedule after you record practice results. Add new mistakes or check back tomorrow."},nav:{home:"Add",notebooks:"Notebooks",review:"Review",stats:"Stats",exams:"Exams",admin:"Admin",menu:"Account"},theme:{toggle:"Theme",system:"Auto (follow system)",light:"Light",dark:"Dark"},app:{title:"Smart Error Notebook",subtitle:"AI-powered analysis and intelligent review",dragDrop:"Drag and drop an image here, or click to browse",analyzing:"AI is analyzing...",compressing:"Compressing image...",supportedFormats:"Supports JPG, PNG, HEIC",gallery:"Photo Gallery",tags:"Tags",stats:"Stats",logout:"Logout",uploadNew:"Upload New",directInput:"Manual Entry",addError:"Add Error Item",viewNotebook:"View Notebook",practiceProblem:"Practice Problem",yourAnswer:"Your Answer",answerPlaceholder:"Enter your answer...",notesPlaceholder:"Record your thinking process (optional)...",submitAnswer:"Submit Answer",uploadImage:"Take Photo",manualInput:"Manual Input",textInputHint:"Enter question text",textInputPlaceholder:"Paste or type question text here...\nSupports Markdown and LaTeX formulas (e.g. $x^2 + y^2 = 1$)\n\nCtrl+Enter to submit",aiSolve:"AI Solve",textInputTip:"After entering the question, AI will automatically solve and generate analysis",multiDetected:"{count} numbered questions detected",splitPreview:"Preview {count} questions",solveAsOne:"Solve as one question",aiSplit:"Several questions without numbers? Split with AI",aiSplitMulti:"Split wrong? Split with AI",aiSplitHint:"Uses one AI call to find question boundaries. Each question is solved only after you confirm.",creatingBatch:"Preparing preview…",subQuestionsHint:"The {count} numbered items look like sub-questions of one question, so they are kept together.",splitAnyway:"Split into {count} questions anyway",overflowHint:"At most 60 questions per batch; the other {count} will be listed as not counted.",textTooLong:"The text exceeds 20,000 characters. Please enter it in several parts."},wrongAnswerStats:{title:"Wrong Answer Statistics",totalErrors:"Total Wrong Answers",totalErrorsDesc:"Questions collected",mastered:"Mastered",masteredDesc:"Questions conquered",masteryRate:"Mastery Rate",masteryRateDesc:"Completion rate",weeklyActivity:"Monthly Activity",MonthlyTrend:"Monthly Trend",SubjectDistribution:"Subject Distribution",activity:"Activity"},upload:{support:"JPG, PNG, WebP and HEIC/HEIF photos",camera:"Take photo",cameraDesc:"Opens the camera directly",album:"Photo album",albumDesc:"Choose from your photos",file:"Choose file",fileDesc:"Use this if a photo does not show up in the album",noCamera:"No camera found on this device. Choose from the album or a file instead.",decodeErrors:{HEIC_DECODE_FAILED:"This HEIC/HEIF photo could not be decoded. Export it as JPG in your photo app (or forward it through a chat app) and try again.",IMAGE_DECODE_FAILED:"This image ({format}) could not be read. It may be damaged or unsupported by this browser.",UNSUPPORTED_IMAGE:"The selected file is not a recognized image. Choose a JPG, PNG, WebP or HEIC photo."},stages:{read:"Read",convert:"Convert",compress:"Crop & compress"},analyze:"Analyze with AI",screenshot:"Screenshot",screenshotDesc:"Capture screen content (select 'This Tab' to avoid switching)",screenshotNotSupported:"Screenshot not supported in this browser",screenshotFailed:"Screenshot failed",screenshotPermissionDenied:"Screenshot permission denied",screenshotComplete:"Screenshot captured! Returning to upload page...",paste:"Paste from Clipboard",pasteDesc:"Or press Ctrl/⌘+V on this page to paste an image",pasteNoImage:"No image found in clipboard",pasteNotSupported:"This browser cannot read the clipboard directly. Please press Ctrl/⌘+V to paste",pastePermissionDenied:"Clipboard permission denied. Please press Ctrl/⌘+V to paste",pasteFailed:"Failed to read clipboard. Please press Ctrl/⌘+V to paste"},editor:{title:"Review & Correct",question:"Question Text",answer:"Answer",analysis:"Analysis / Explanation",mistakeAnalysisTitle:"Mistake Analysis",mistakeStatus:"Attempt Status",wrongAnswerText:"Wrong Answer / Work",mistakeAnalysis:"Mistake Cause Analysis",wrongAnswerPlaceholder:"Leave blank if no wrong answer is visible",mistakeAnalysisPlaceholder:"Explain where and why the mistake happened",mistakeStatuses:{notAttempted:"Not attempted",wrongAttempt:"Wrong attempt",unknown:"Unknown"},tags:"Knowledge Points (Press Enter to add)",addTag:"Add a tag...",cancel:"Cancel",save:"Save to Notebook",selectNotebook:"Select Notebook",gradeSemester:"Grade/Semester",preview:{question:"Question Preview",answer:"Answer Preview",analysis:"Analysis Preview",mistakeAnalysis:"Mistake Analysis Preview"},tagsPlaceholder:"Enter knowledge tags, select from suggestions...",tagsHint:"💡 Tag suggestions will appear as you type",createTagHint:"Press Enter to create new tag",messages:{selectNotebook:"Please select a notebook"},paperLevel:"Paper Level",paperLevels:{a:"Paper A",b:"Paper B",other:"Other"},reanswerSuccess:"✅ Answer and analysis updated!",enterQuestionFirst:"Please enter question text first",reanswering:"AI solving...",reanswer:"🔄 Reanswer (based on corrected question)",reanswerHint:"💡 If the question was misrecognized, correct it and click to regenerate answer",placeholder:"Supports Markdown and LaTeX..."},notebook:{emptyList:"No mistakes found",emptyListHint:"Try other filters, or add a new mistake to this notebook.",title:"My Notebook",subtitle:"Review and master your past mistakes.",addNew:"Add New Wrong Answer",search:"Search questions or tags...",filter:"Filter",mastered:"Mastered",reviewing:"Reviewing",review:"To Review",gradeSemesterPlaceholder:"e.g. Grade 7, Semester 1",added:"Added",exportPrint:"Export for Print",selectMode:"Select",cancelSelect:"Cancel",deleteSelected:"Delete Selected",selectedCount:"{count} selected",confirmBatchDelete:"Delete {count} items?",batchDeleteSuccess:"Deleted successfully"},notebooks:{title:"My Notebooks",subtitle:"Manage your mistakes by subject",create:"New Notebook",createFirst:"Create Notebook",empty:"No notebooks yet. Click above to create your first one!",deleteConfirm:"Are you sure you want to delete this notebook?",createError:"Failed to create",deleteError:"Failed to delete",deleteNotEmpty:"Please clear all items in this notebook first.",items:"items",cardItems:"items",notFound:"Notebook not found",totalErrors:"Total {count} wrong answers",addError:"Add Wrong Answer",collapseTags:"Collapse",expandTags:"+{count} more",expandTagsTooltip:"Click to expand {count} tags",collapseTagsTooltip:"Click to collapse",dialog:{stageLabel:"Stage",subjectLabel:"Subject",tagSetLabel:"Tag System",tagSetDefault:"Built-in",tagSetNames:{cnm:"People's Education Press Curriculum Standard"},scopeHint:"Stage, subject and tag system cannot be changed after creation. AI picks knowledge tags only from this scope and tag system.",title:"Create New Notebook",desc:"Create separate notebooks for different subjects or chapters",nameLabel:"Notebook Name",placeholder:"e.g. Math, Physics, Chemistry...",enterName:"Please enter notebook name",creating:"Creating...",create:"Create"},rename:"Rename",renameDialog:{title:"Rename Notebook",nameLabel:"New Name",placeholder:"Enter new notebook name",enterName:"Please enter notebook name",renaming:"Renaming...",rename:"Rename"},selector:{placeholder:"Select Notebook",empty:"No notebooks available"}},detail:{viewImage:"View image",hideImage:"Hide image",referenceImageAlt:"Reference image",wrongAnswerImageAlt:"My answer image",title:"Wrong Answer Detail",question:"Question",originalProblem:"Original Problem",yourNotes:"Your Answer / Notes",noNotes:"No notes added yet.",notFound:"Item not found",editNotes:"Edit",notesPlaceholder:"Enter your notes...",correctAnswer:"Correct Answer",analysis:"Analysis",referenceDiagram:"Reference Diagram",practice:"Practice Similar",delete:"Delete",clickToView:"Click to view full image",clickToEnlarge:"Click to enlarge",questionInfo:"Question Info",mistakeAnalysis:"Mistake Analysis",noMistakeAnalysis:"No mistake analysis yet.",close:"Close",clickOutside:"Click outside to close"},practice:{title:"Smart Practice",subtitle:"Generate a similar problem to test your understanding.",generate:"Generate Practice Question",generating:"Generating AI Question...",regenerate:"Regenerate",lastGeneratedAt:"Generated at {time}. Click Regenerate for a new question.",correct:"Correct!",correctMessage:"Great job, keep it up!",incorrect:"Incorrect",incorrectMessage:"Review the analysis and try again!",grading:"Checking your answer...",aiGradeReason:"AI check: {reason}",gradeFailed:"Your answer could not be checked automatically. Compare it with the answer below and choose the result yourself.",yourNotes:"Your Notes:",checkAnswer:"Check Answer",hideAnswer:"Hide Answer",correctAnswer:"Correct Answer",detailedAnalysis:"Detailed Analysis",referenceDiagram:"Reference Diagram",invalidRequest:"Invalid Request",errors:{IMPORT_TASK_INVALID_INPUT:"The upload is invalid. Please choose the photo again.",IMPORT_TASK_INVALID_NOTEBOOK:"The notebook does not exist or does not belong to you.",IMPORT_TASK_NOT_FOUND:"The recognition task does not exist or has been discarded.",IMPORT_TASK_BUSY:"This task is being saved. Please wait.",IMPORT_TASK_NOT_REVIEWABLE:"This task is not waiting for review.",IMPORT_TASK_NOT_RETRYABLE:"This task cannot be retried right now.",SERVER_RESTARTED:"Interrupted by a server restart. Please try again.",connection:"Network error. Please check your connection and try again.",response:"AI response error. Please try again or switch to a different model.",auth:"Authentication failed. Please check your API key configuration.",unknown:"An unknown error occurred. Please try again later.",default:"Failed to generate question. Please try again."},difficulty:{label:"Difficulty",easy:"Easy",medium:"Medium",hard:"Hard",harder:"Challenge",Unknown:"Unknown"}},tags:{title:"Tag Management",subtitle:"View and manage knowledge point tags",unitChapters:"chapters",otherGroup:"Other",tabs:{standard:"Standard Tags",custom:"Custom Tags",stats:"Usage Statistics"},subjects:{math:"Math",english:"English",physics:"Physics",chemistry:"Chemistry",biology:"Biology",chinese:"Chinese",history:"History",geography:"Geography",politics:"Politics",other:"Other"},categories:{algebra:"Algebra",geometry:"Geometry",numbers:"Numbers",statistics:"Statistics",mechanics:"Mechanics",electricity:"Electricity",optics:"Optics",thermology:"Thermology",acoustics:"Acoustics",basic:"Basic",elements:"Elements",compounds:"Compounds",reactions:"Reactions",calculation:"Calculation",grammar:"Grammar",sentence:"Sentence",reading:"Reading",writing:"Writing"},custom:{addTitle:"Add Custom Tag",placeholder:"Enter tag name...",add:"Add",hint:"💡 Custom tags will automatically appear in tag suggestions",empty:"No custom tags yet, click above to add!",enterName:"Please enter tag name",success:"Tag added successfully!",exists:"Tag already exists",deleteConfirm:'Are you sure you want to delete tag "{tag}"?',selectGrade:"Select Grade",noGrade:"No Grade"},stats:{loading:"Loading...",empty:"No tag usage records yet",frequency:"Tag Usage Frequency (Top 20)",count:"times"}},filter:{masteryStatus:"Mastery Status",all:"All",review:"To Review",reviewing:"Reviewing",mastered:"Mastered",timeRange:"Time Range",allTime:"All Time",lastWeek:"Last Week",lastMonth:"Last Month",filteringByTag:"Filtering by tag",grade:"Grade/Semester",paperLevel:"Paper Level",gradeShort:"Grade",chapter:"Chapter",knowledgePoint:"Tag",allGrades:"All grades",allChapters:"All chapters",allKnowledgePoints:"All tags"},setup:{pageTitle:"Setup Wizard",step:"Step {current} of {total}",logout:"Sign out",password:{title:"Change the default password",desc:"This account still uses the default password 123456. Set a new password before continuing.",newPassword:"New password",confirmPassword:"Confirm new password",submit:"Save new password",tooShort:"Password must be at least 6 characters",mismatch:"Passwords do not match",sameAsDefault:"The new password must not be the default password",success:"Password changed",failed:"Failed to change password"},ai:{title:"Set up an AI provider",desc:"Question recognition, answers and tagging all rely on AI. MiniMax Code (sign in on the web, free daily credits) is a good start; you can also enter an API key for another provider and change it later in Settings → AI."},notebook:{title:"Create your first notebook",desc:"Notebooks are organized by school stage and subject, which cannot be changed after creation.",create:"Create notebook",created:"Created notebook: {name}"},next:"Next",skip:"Skip",finish:"Finish",skipAll:"Skip setup",finished:"All set. Let's get started!",completeFailed:"Failed to save setup status",rerun:"Run setup wizard again"},stats:{title:"Practice Statistics",headerTitle:"Statistics Center",headerDesc:"View your learning progress, data analysis and knowledge points",tagStats:"Knowledge Point Stats",tagManagement:"Knowledge Points",totalPractices:"Total Practices",correctRate:"Correct Rate",activeDays:"Active Months",subjectDistribution:"Subject Distribution",weeklyTrend:"Monthly Trend",total:"Total",correct:"Correct"},settings:{title:"Settings",save:"Save Settings",desc:"Manage your preferences and data.",paperGroups:{title:"Paper Groups",desc:"Customize paper groups like Unit Test, Midterm, Final. Default groups A/B/Other can be renamed but not deleted.",addPlaceholder:"e.g. Unit Test",renamePrompt:"Rename group",deleteConfirm:'Delete group "{name}"?',deleteConfirmWithItems:'Group "{name}" has {count} questions. Deleting will clear their group assignment. Continue?',systemBadge:"Default"},general:{timeZoneLabel:"Application time zone",timeZoneDesc:"Used for dates, times and statistics throughout the app. Default: Asia/Shanghai. Administrators can enter an IANA time zone and save.",invalidTimeZone:"Enter a valid IANA time zone, such as Asia/Shanghai.",timeoutLabel:"AI Analysis Timeout (Seconds)",timeoutDesc:"Increase this value if you experience frequent timeouts during AI analysis."},tabs:{general:"General",account:"Account",ai:"AI Provider",prompts:"Prompts",admin:"User Management",danger:"Danger",about:"About"},about:{title:"About",version:"Version",github:"GitHub Repository",desc:"Smart Error Notebook - AI-powered learning assistant",releaseNotes:"Release Notes",feedback:"Feedback",copyright:"© 2026 margrop · Based on wttwins/wrong-notebook · MIT License",androidServer:"Server",changeServer:"Change server",androidStandalone:"Running on this device. Data is stored only on this device."},account:{changePassword:"Change Password (Leave empty to keep)",update:"Update Profile",currentGrade:"Current Grade & Semester",selectGrade:"Select Grade",selectSemester:"Select Semester",firstSemester:"1st Semester",secondSemester:"2nd Semester",gradeAppliedHint:"New questions will default to this grade. You can also configure AI grade recognition in General Settings."},ai:{anthropicBaseUrlHint:"Leave empty for the official API. For compatible services enter the base URL without /v1 (e.g. https://api.example.com/anthropic).",vendorApiKeyHint:"Get an API key from the official console:",vendorBaseUrlHint:"Leave empty for the official mainland China endpoint shown above. For the international site, enter its OpenAI-compatible URL instead.",providerErrorDetail:"Provider error: ",docLinks:{apiKey:"How to get",models:"Model list"},providerDocs:{title:"Official API docs:",official:"Docs",cn:"China site",intl:"International site"},stepfunBaseUrlHint:"The default is the Step Plan endpoint (recommended; the plan includes speech synthesis). For a pay-as-you-go key, enter https://api.stepfun.com/v1; for the international site, https://api.stepfun.ai/v1.",volcengineBaseUrlHint:"This channel is pay-as-you-go. With an Agent Plan or Coding Plan subscription, choose the matching Volcengine plan channel instead (it uses the plan endpoint, so calls count toward the plan). For the international site (BytePlus ModelArk), enter https://ark.ap-southeast.bytepluses.com/api/v3.",volcengineAgentBaseUrlHint:"Agent Plan endpoint. Use the plan's dedicated API key from the Agent Plan page in the Ark console; a regular Ark key does not work here. The plan includes Doubao speech synthesis, which can be chosen under Voice narration. The default model is doubao-seed-evolving (Doubao's continuously updated model); enter ark-code-latest instead to use the model selected under Activation Management in the Ark console (changes take about 3-5 minutes). Question recognition needs a model that understands images.",volcengineCodingBaseUrlHint:"Coding Plan endpoint, used with your Ark API key. Do not change it to /api/v3: calls there do not count toward the plan and are billed pay-as-you-go. Coding Plan does not include speech synthesis; for cloud voice choose Volcengine Agent Plan, Doubao Speech or another provider under Voice narration. The default model is doubao-seed-evolving (Doubao's continuously updated model); enter ark-code-latest instead to use the model selected under Activation Management in the Ark console (changes take about 3-5 minutes). Question recognition needs a model that understands images.",volcengineFree:{title:"Free trial",body:"New Volcengine accounts get a free inference quota for each model (500,000 tokens per model, per Volcengine's docs). Turn on worry-free trial mode under Activation Management in the Ark console: calls only use the free quota and pause when it is nearly used up, so you are never charged. To keep going afterwards, verify your identity and switch to the regular Volcengine channel."},qwenBaseUrlHint:"The default is the Alibaba Cloud Model Studio Token Plan endpoint (recommended; keys start with sk-sp-). For a pay-as-you-go key, enter https://dashscope.aliyuncs.com/compatible-mode/v1.",minimaxCode:{title:"MiniMax Code account",intro:"Sign in to your MiniMax Code account in the browser. The app uses this login to call MiniMax Code models, so no API key is needed.",risk:"This channel uses the sign-in of the MiniMax Code desktop client rather than an official open API, and MiniMax may change or restrict it at any time.",loginStatus:"Login status",statusNone:"Not signed in",statusActive:"Signed in",statusExpired:"Login expired. Please sign in again.",credits:"Remaining credits",creditsUnavailable:"Unavailable right now",creditsDetail:"Free {free} · Purchased {purchased}",login:"Sign in with browser",relogin:"Sign in again",logout:"Sign out",refresh:"Refresh",waiting:"Finish authorizing on the page that opened. Waiting…",openLink:"Open the authorization page",userCode:"Verification code",loginSuccess:"Signed in to MiniMax Code",loginExpired:"The authorization timed out. Please try again.",loginDenied:"The authorization was declined",loginFailed:"Sign-in failed",model:"Model",modelHint:"Defaults to MiniMax-M3.1-Flash. Pick one from the list or type a model name.",checkinToday:"Today's check-in",checkinAuto:"Checked in automatically today at {time} (+{points} credits, day {days} in a row)",checkinDone:"Checked in today (+{points} credits, day {days} in a row)",checkinNotYet:"Not checked in yet today",checkinWillAuto:"Not checked in yet today. The app will check in automatically within the hour.",checkinFailed:"Check-in failed: {error}",checkinNow:"Check in now",checkinSuccess:"Checked in",autoCheckin:"Daily auto check-in",autoCheckinHint:"Collects the daily MiniMax Code check-in credits (Beijing time) while the service is running. Takes effect after you save the settings."},save:"Save AI Settings",instances:"Instances",addInstance:"Add",deleteInstance:"Delete",instanceName:"Instance Name",selectInstance:"Select Instance",noInstances:"No instances configured. Click 'Add' to create one.",maxInstancesReached:"Maximum instances reached (10)",confirmDelete:"Delete this instance?",validationNameRequired:"Instance name is required",validationApiKeyRequired:"API Key is required",validationBaseUrlRequired:"Base URL is required",validationModelRequired:"Model name is required",azureEndpoint:"Azure Endpoint",azureEndpointPlaceholder:"https://your-resource.openai.azure.com",azureDeployment:"Deployment Name",azureDeploymentPlaceholder:"gpt-4o-deployment",azureApiVersion:"API Version",azureApiVersionPlaceholder:"2024-02-15-preview",azureModel:"Model Display Name",validationAzureEndpointRequired:"Azure Endpoint is required",validationAzureDeploymentRequired:"Deployment Name is required",testConnection:"Test Connection",testing:"Testing...",testSuccess:"Connection Successful",testFailed:"Connection Failed",testNetworkNote:"* Results may be inaccurate due to network conditions",textSupport:"Text Generation",visionSupport:"Vision/Multimodal",supported:"Supported",notSupported:"Not Supported",errors:{AI_AUTH_ERROR:"Invalid or expired API Key",AI_PERMISSION_DENIED:"Permission denied, check API Key permissions",AI_NOT_FOUND:"Endpoint or model not found (404)",AI_QUOTA_EXCEEDED:"Rate limit exceeded or quota exhausted",AI_CONNECTION_FAILED:"Cannot connect to AI server, check network or Base URL",AI_TIMEOUT_ERROR:"Request timeout, server response too slow",AI_RESPONSE_ERROR:"AI response format error, model may be incompatible",AI_SERVICE_UNAVAILABLE:"AI service unavailable (503), no available channel",AI_UNKNOWN_ERROR:"AI service error, check config or try again",VISION_NOT_SUPPORTED:"This model does not support vision"}},tts:{title:"Voice narration",modes:{browser:"Browser voice (Web Speech, free)",minimax:"Cloud voice: MiniMax (M Plan recommended)",qwen:"Cloud voice: Qwen (Token Plan recommended)",glm:"Cloud voice: Zhipu GLM-TTS (GLM Coding Plan recommended)",stepfun:"Cloud voice: StepFun (Step Plan recommended)",volcengine:"Cloud voice: Volcengine Doubao Speech (free trial available; resource pack recommended)","volcengine-agent":"Cloud voice: Volcengine Agent Plan (Doubao speech synthesis 2.0, counts toward the plan)",openai:"Cloud voice: OpenAI (gpt-4o-mini-tts)"},browserHint:"Animation narration is read by the speech engine of each viewer's browser or system. The voice depends on the device, and some devices have no voice at all.",cloudHint:"The server synthesizes the narration with the provider below and normalizes it to about -15 LUFS, so every device hears the same voice. Each segment is synthesized once and then cached; synthesis uses the provider's quota.",apiKeyHint:{minimax:"Shared with the MiniMax channel in AI settings. A MiniMax M Plan key is recommended.",qwen:"Shared with the Qwen channel in AI settings. An Alibaba Cloud Model Studio Token Plan key (starts with sk-sp-) is recommended.",glm:"Shared with the Zhipu GLM channel in AI settings. A GLM Coding Plan subscription is recommended over pay-as-you-go; check Zhipu's plan terms for whether speech synthesis is included.",stepfun:"Shared with the StepFun channel in AI settings. A Step Plan key is recommended (it includes speech synthesis; the default base URL is the Step Plan one). For a pay-as-you-go key, set the channel base URL to https://api.stepfun.com/v1.",volcengine:"Doubao Speech has its own key, separate from Volcengine Ark: enable speech synthesis 2.0 and create an API key in the Doubao Speech console (https://console.volcengine.com/speech). A resource pack or plan is recommended over pay-as-you-go.","volcengine-agent":"Shared with the Volcengine Agent Plan channel in AI settings (the plan's dedicated API key from the Agent Plan page in the Ark console). Speech counts toward the plan quota; speech models only have daily and monthly limits.",openai:"Optional. Leave empty to use the API key and base URL of the OpenAI configuration currently active in AI settings. Fill it in to use OpenAI for voice only."},model:"Speech model",voice:"Voice",voiceHint:{minimax:"Defaults to the system voice male-qn-jingying (young male, clear and natural). Enter any voice_id from the MiniMax voice list.",qwen:"Defaults to longanlufeng (young male, bright). The app asks for a natural, clear, slightly techy delivery without a broadcast tone. The voice must belong to the model.",glm:"Defaults to xiaochen (young, professional). Other system voices include tongtong and chuichui; see the docs for the full list.",stepfun:"Defaults to qingniandaxuesheng (young university student). The stepaudio models also get the natural, clear, no-broadcast-tone instruction. See the voice list for options supported by each model.",volcengine:"Defaults to zh_male_yangguangqingnian_uranus_bigtts (sunny young man). The speech model field is the resource ID (seed-tts-2.0 for Doubao speech synthesis 2.0 voices); the voice must match it.","volcengine-agent":"Defaults to zh_male_yangguangqingnian_uranus_bigtts (sunny young man). The speech model field is the resource ID (seed-tts-2.0); the voice must be a Doubao speech synthesis 2.0 voice.",openai:"Defaults to cedar, which OpenAI recommends for quality, with the natural, clear, no-broadcast-tone instruction. OpenAI voices are tuned for English, so check Chinese narration with a preview. OpenAI plans to retire gpt-4o-mini-tts and the tts-1 models on 2027-01-06."},endpoint:"Speech API URL (optional)",docs:"Docs",speechApiKey:"Doubao Speech API Key",freeTrial:"Volcengine offers a free trial quota for new users; follow the docs to turn it on. The models it covers, including speech, are shown under Activation Management in the console.",freeTrialLink:"Free trial docs",voiceList:"Voice list",endpointHint:"Leave empty to derive it from the channel's base URL. Fill it in when your plan uses a different speech endpoint.",preview:"Save and preview",previewText:"Hi, I'll walk you through this problem. First, let's find what the question gives us.",previewFailed:"Preview failed. Check the API key, model and voice.",notConfigured:"Enter the API key first",providerError:"The speech provider returned an error. Check the API key, model and voice.",save:"Save voice settings"},prompts:{save:"Save Prompt Settings",analysisTab:"Analysis Prompt",similarTab:"Similar Question Prompt",customAnalysis:"Custom Analysis Template",customSimilar:"Custom Similar Question Template",reset:"Reset Default",resetConfirm:"Are you sure you want to reset to default?",caution:"Modify with Caution",warning:"Use {{variables}} to reference question data and adjust teaching style. The application always adds its output format, language, grade, tag and generated-question rules, including when an older template omits these variables.",variables:"Available Variables",vars:{languageInstruction:"Preserves the original question language and selects the explanation language from the interface language; stored subject, grade and tag values are not translated.",languageInstructionShort:"Language formatting instructions.",knowledgePointsList:"Injects the standard list of knowledge point tags for the specific subject.",providerHints:"Provider compatibility hints that follow the application output contract.",difficultyLevel:"Target difficulty level.",difficultyInstruction:"Specific writing instructions for the target difficulty.",originalQuestion:"The full text of the original question.",knowledgePoints:"List of knowledge points to test."}},messages:{saved:"Settings saved",saveFailed:"Failed to save",profileUpdated:"Profile updated",updateFailed:"Update failed",passwordMismatch:"Passwords do not match"},clearData:"Clear Practice Data",clearDataConfirm:"Are you sure? This will delete all your practice history.",clearDataDesc:"This will permanently delete all practice history. Irreversible.",clearErrorData:"Clear Error Data",clearErrorDataConfirm:"Are you sure? This will delete all your error items.",clearErrorDataDesc:"This will permanently delete all error items. Irreversible.",clearSuccess:"Data cleared successfully",clearError:"Failed to clear data",dangerZone:"Danger Zone",systemReset:"System Initialization (Factory Reset)",systemResetConfirm:"EXTREME WARNING: This will delete ALL data including all notebooks, questions, custom tags, and practice logs. This action cannot be undone. Are you absolutely sure?",systemResetDesc:"Resets the system to its initial state. Deletes all user data and custom configurations. Keeps default system tags.",systemResetPrompt:"Type 'RESET' to confirm system initialization:",migrateTags:"Tag System Migration (Seed)",migrateTagsConfirm:"This will reset all SYSTEM tags to the defaults defined in the codebase. Custom tags are unaffected. Are you sure?",migrateTagsDesc:"Re-populates the standard curriculum tags from file configuration. Useful if system tags are missing.",language:"Language",dataManagement:"Data Management",exportData:"Export Data",exportDataDesc:"Export all error items, notebooks, tags, and practice records as a JSON file.",exportSuccess:"Export successful",exportFailed:"Export failed",importData:"Import Data",importDataDesc:"Import data from a JSON file. Duplicate questions are recorded as incorrect attempts in the existing question's practice history.",importSuccess:"Import successful",importFailed:"Import failed",importConfirm:"Are you sure you want to import? This will add new data to your account without deleting existing data.",importResult:"Import Result",importResultDesc:"Imported {subjects} notebooks, {tags} tags, {items} error items, {schedules} review schedules, {records} practice records, {papers} exam papers and {voices} cloud voice clips. {duplicates} duplicate questions were skipped and recorded as incorrect attempts.",exportAllData:"Export All",exportAllConfirm:"Export all users' data? This may take a while.",importAllData:"Import All",importAllConfirm:"Import all users' data? This will restore data for all users from the export file.",selectFile:"Select File",noFileSelected:"No file selected"},questionSave:{invalidField:"{field} is invalid. Please check it and try again.",tooLong:"{field} must contain at most {maximum} characters.",tooMany:"{field} must contain at most {maximum} entries.",databaseCode:"Database error code: {code}"},errors:{QUESTION_SAVE_GRADE_FAILED:"Could not save because AI grade recognition failed. Enter a grade manually or choose Fixed grade in Settings → General, then save again.",QUESTION_SAVE_SCHEMA_MISMATCH:"The database structure does not match this version. Ask an administrator to check the database migrations in the startup logs. Keep the existing data directory.",QUESTION_SAVE_READ_ONLY:"The database cannot be written to. Ask an administrator to check write permissions for the database directory and Docker volume mounts.",QUESTION_SAVE_STORAGE_FULL:"The database disk is full. Ask an administrator to free space, then try saving again.",QUESTION_SAVE_DATABASE_BUSY:"The database is busy or locked. Wait for other imports to finish, then try saving again.",QUESTION_SAVE_DATABASE_UNAVAILABLE:"The database is unavailable. Ask an administrator to check the database path, mounted directories and container logs.",QUESTION_SAVE_REFERENCE_INVALID:"The selected notebook or related data no longer exists. Refresh the page, select it again and save.",QUESTION_SAVE_CONFLICT:"The data conflicts with another saved record. Refresh the page and check the notebook and paper group before saving again.",QUESTION_SAVE_INVALID_PAPER_LEVEL:"The selected paper group is unavailable. It may have been disabled or deleted. Refresh the page and select a group again.",QUESTION_SAVE_INVALID_INPUT:"Some question fields are invalid. Check the fields below and save again.",QUESTION_SAVE_INVALID_JSON:"The save request is not valid JSON. Refresh the page and try again.",QUESTION_SAVE_UNAUTHORIZED:"Your session has expired or you are not signed in. Copy your input, sign in again, then save.",QUESTION_SAVE_FORBIDDEN:"You do not have permission to save this question. Check your account permissions or contact an administrator.",QUESTION_SAVE_NETWORK_ERROR:"Could not connect to the server. Check your network and the container or proxy. Before retrying, check whether the question was saved.",QUESTION_SAVE_TIMEOUT:"Saving timed out. Check whether the question was saved before retrying to avoid submitting it twice.",QUESTION_SAVE_TOO_LARGE:"The save request is too large. Shorten the question or images, or ask an administrator to check the proxy request-size limit.",QUESTION_SAVE_RATE_LIMITED:"Too many save requests. Wait a moment and try again.",QUESTION_SAVE_SERVER_UNAVAILABLE:"The server or proxy is unavailable. Try again later; if this continues, ask an administrator to check the container and proxy logs.",QUESTION_SAVE_FAILED:"Could not save the question. Try again; if this continues, ask an administrator to enable debug mode and check the logs.",AI_CONNECTION_FAILED:"Network error. Please check your connection.",AI_RESPONSE_ERROR:"AI response invalid. Please try again.",AI_AUTH_ERROR:"AI service authentication failed. Please check API key.",aiAuth:"⚠️ Invalid API key\n\nPlease check your AI provider settings and verify the API key is correct",aiConnectionFailed:"⚠️ Cannot connect to AI service\n\nPlease check:\n• Internet connection\n• Proxy settings\n• Firewall configuration",aiResponseError:"⚠️ AI returned invalid response\n\nPlease try again, contact support if issue persists",AI_TIMEOUT_ERROR:"Request timeout. Please try again.",AI_QUOTA_EXCEEDED:"API quota exceeded or insufficient balance. Please check your account.",AI_PERMISSION_DENIED:"Permission denied (403). Please check your API key permissions.",AI_NOT_FOUND:"Resource not found (404). Please check endpoint URL or model name.",AI_SERVICE_UNAVAILABLE:"AI service unavailable (503). No available channel.",AI_UNKNOWN_ERROR:"Unknown AI error occurred.",AI_DAILY_LIMIT_EXCEEDED:"You have used up today's AI allowance. Try again tomorrow or ask an administrator to raise the limit.",AI_OUTPUT_TRUNCATED:"The AI spent its whole output budget thinking and returned no answer. Please try again, or crop the image to a single question.",AI_IMAGE_NOT_SUPPORTED:"The current AI model does not accept images. Switch to a model with image input, or enter the questions as text.",SPLIT_NO_QUESTIONS:"No questions were found. Check the photo or text, try again, or draw boxes manually.",IMPORT_BATCH_INVALID_INPUT:"The submission is invalid. Please try again.",IMPORT_BATCH_INVALID_DRAFT:"The question list could not be saved. Refresh the page and try again.",IMPORT_BATCH_NOT_FOUND:"This batch does not exist or was discarded.",IMPORT_BATCH_VERSION_CONFLICT:"These questions were changed on another page. The latest version has been loaded.",IMPORT_BATCH_NOT_EDITABLE:"This batch has already started and can no longer be edited.",IMPORT_BATCH_EMPTY:"No questions to process. Select at least one question.",IMPORT_BATCH_IMAGE_MISSING:"Some selected questions have no image area. Mark them on the photo first.",IMPORT_BATCH_TOO_LARGE:"The question images are too large. Select fewer questions at a time.",IMPORT_BATCH_INVALID_TEXT_FIX:"The questions to fix are invalid. Refresh the page and try again.",IMPORT_BATCH_TEXT_FIX_FAILED:"Could not fix the text. The original text is kept; please try again.",IMPORT_BATCH_START_FAILED:"Could not submit. Nothing has started yet and your preview is kept; please try again.",IMPORT_BATCH_TEXT_TOO_LONG:"The text is too long (up to 20,000 characters and 1,000 lines). Please enter it in several parts.",IMPORT_BATCH_NOT_RETRYABLE:"This batch cannot be retried right now.",IMPORT_BATCH_NOTHING_TO_RETRY:"There are no failed questions to retry.",IMPORT_TASK_NOT_FOUND:"The recognition task does not exist or has been discarded.",IMPORT_TASK_BUSY:"This task is being saved. Please wait.",IMPORT_TASK_NOT_RETRYABLE:"This task cannot be retried right now.",SERVER_RESTARTED:"Interrupted by a server restart. Please try again.",GENERIC_ERROR:"Failed to generate question.",reanswer:{default:"Reanswer failed",authError:"⚠️ AI key configuration error\n\nPlease check your API key in settings",connectionFailed:"⚠️ AI service connection failed\n\nPossible causes:\n• Network issue\n• AI service temporarily unavailable\n• Proxy required\n\nPlease try again later",responseError:"⚠️ AI response format error\n\nPlease retry, contact support if issue persists"}},admin:{title:"User Management",users:"Users",role:"Role",status:"Status",actions:"Actions",active:"Active",disabled:"Disabled",disable:"Disable",enable:"Enable",delete:"Delete User",confirmDisable:"Are you sure you want to disable this user?",confirmEnable:"Are you sure you want to enable this user?",confirmDelete:"Are you sure you want to delete this user? This will remove all their data.",allowRegistration:"Allow New Registrations",allowRegistrationDesc:"When disabled, new users cannot register",aiDailyLimit:"Daily AI Limit per User",aiDailyLimitDesc:"How many AI actions (recognition, explanations, practice, grading, exams…) each regular user can start per day. 0 means unlimited; admins are not limited.",aiDailyLimitSaved:"Daily AI limit saved",aiConcurrencyLimit:"AI Concurrency per Model",aiConcurrencyLimitDesc:"How many AI calls the same model may run at once (1–100, default 5). Further calls wait in a queue, which avoids rate-limit (429) errors from the provider.",aiConcurrencyLimitSaved:"AI concurrency limit saved",aiUsageToday:"AI today",debugLog:{title:"Debug Logs",desc:"When a problem occurs: turn on debug mode, reproduce the problem, then export the debug log and send it to the author for troubleshooting.",enable:"Debug mode",enabledHint:"Recording since {since}; turns off automatically at {until}.",disabledHint:"Off. Turning it on clears the previously recorded logs.",entries:"{count} entries recorded",dropped:"({count} oldest entries discarded)",export:"Export Debug Log",clear:"Clear",privacyNote:"API keys, passwords and tokens are removed automatically, but the log may still contain question text and usernames. Logs are kept in memory only and are cleared when the service restarts.",enabled:"Debug mode is on. Please reproduce the problem now.",disabled:"Debug mode is off",cleared:"Debug logs cleared",exported:"Debug log exported",failed:"Operation failed"},cnmTags:{title:"PEP Curriculum Knowledge Points",desc:'Import the PEP curriculum knowledge points (mainly math, also including Chinese, English, physics and more) as a separate tag system. Once imported, "PEP Curriculum Standard" can be chosen as the tag system when creating a notebook.',downloadHint:"Download the required JSON file (topics.json, about 2.6 MB) first, then select it below:",sourceLabel:"Source:",status:"{count} knowledge points imported",notImported:"Not imported yet",select:"Select topics.json and Import",importing:"Importing…",imported:"Import complete: {created} new, {skipped} already existed",invalidFile:"The file is not a valid topics.json",failed:"Import failed",note:"Import is incremental and safe to repeat; it does not change the built-in tag system or existing questions."},admin:"Admin",user:"User",createdAt:"Created At",stats:"Stats",nameEmail:"Name/Email",errors:"Errors",practiceCount:"Practice",dashboard:{title:"Admin Dashboard",subtitle:"View all users and error statistics",totalUsers:"Total Users",totalErrors:"Total Errors",totalPractice:"Total Practice",totalNotebooks:"Total Notebooks",recentTrend:"Recent 7-Day Trend",subjectDistribution:"Subject Distribution",masteryDistribution:"Mastery Distribution",masteryNew:"To Review",masteryReviewing:"Reviewing",masteryMastered:"Mastered",userList:"User List",userListDesc:"All registered users and their error entry status",userName:"Username",email:"Email",notebooks:"Notebooks",errors:"Errors",practice:"Practice",status:"Status",registeredAt:"Registered At",actions:"Actions",viewDetail:"View Detail",recent7Days:"Last 7 Days",recentErrors:"Recent Error Items",userNotebooks:"Notebooks",noData:"No Data",retry:"Retry",questionCount:"{count} questions",noQuestionText:"(No question text)"}},auth:{initialize:{pageTitle:"Create Admin",title:"Create the admin account",desc:"This is a fresh install. Choose the admin email and password you will sign in with. The setup link works only once.",name:"Name",defaultName:"Admin",passwordHint:"At least 6 characters; the old default password 123456 is not allowed.",passwordMismatch:"Passwords do not match",submit:"Create and sign in",submitting:"Creating...",invalidLink:"This setup link is invalid or has been used. Check that the whole link was copied, or use the latest link in the startup log.",alreadyInitialized:"An admin account already exists. Please sign in.",emailExists:"This email is already used by another account.",failed:"Could not create the admin account. Please try again.",signInFailed:"The admin account was created, but signing in failed. Please sign in manually.",goLogin:"Go to sign in"},setupGuide:{title:"No admin account yet",intro:"To start, open the one-time setup link generated at install time and create the admin account:",desktop:"Desktop app and standalone Android app: the link opens automatically on first launch. fnOS: sign in with the admin set in the install wizard.",docker:"Docker: look for the link containing /initialize?token= in the container log (docker logs wrong-notebook).",npm:"npm or running from source: the link is printed in the terminal that started the server.",tokenFile:"You can also open /initialize?token=<token> yourself; the token is in config/setup-token in the data directory.",docs:"Installation guide"},email:"Email",password:"Password",confirmPassword:"Confirm Password",name:"Name",educationStage:"Education Stage",enrollmentYear:"Enrollment Year",selectStage:"Select Stage",primary:"Primary School",juniorHigh:"Junior High",seniorHigh:"Senior High",university:"University",login:{title:"Login to Wrong Notebook",failed:"Login failed, please check your credentials",tooManyAttempts:"Too many failed attempts. Please try again in 15 minutes.",error:"An error occurred, please try again",loggingIn:"Logging in...",action:"Login",noAccount:"Don't have an account? ",registerNow:"Register now",registrationClosed:"Need an account? Ask your administrator to turn on registration.",firstUseTitle:"First time here?",firstUseAccount:"The admin account is created with the one-time setup link generated at install time. Instances installed with earlier versions use the default admin {email}; the initial password is in the documentation.",firstUseNext:"Other people sign up themselves after the admin turns on registration.",firstUseDocs:"Open the documentation"},register:{tooManyAttempts:"Too many registration attempts. Please try again later.",title:"Create an Account",passwordMismatch:"Passwords do not match",emailExists:"User with this email already exists",success:"Registration successful! Please login",failed:"Registration failed",disabled:"Registration Disabled",disabledMessage:"Registration is currently disabled by administrator. Please contact admin for access.",backToLogin:"Back to Login",registering:"Registering...",action:"Register",hasAccount:"Already have an account? ",loginHere:"Login here"}},printPreview:{title:"Print Preview",questionCount:"{count} questions",imageScale:"Image Scale",showQuestionText:"Question Text",showAnswers:"Show Answers",showAnalysis:"Show Analysis",showTags:"Show Tags",printButton:"Print / Save PDF",questionNumber:"Question {num}",source:"Source {id}",paperLevel:"Paper Level",knowledgePoints:"Knowledge Points",selectItems:"Select Items",selectAll:"Select All",clearSelection:"Clear Selection",referenceAnswer:"Reference Answer",analysis:"Analysis",noItems:"No matching error items",noSelection:"No items selected"},modelSelector:{modelName:"Model Name",selectFromList:"Select from List",selectModel:"Select Model",customInput:"Custom Input...",enterApiKeyFirst:"Please enter API Key first",noVisionModel:"No vision model found, please enter manually",fetchFailed:"Failed to fetch models",enterManually:", please enter manually"},pagination:{showing:"Showing {start}-{end} of {total}",first:"First page",prev:"Previous page",next:"Next page",last:"Last page"},shortId:{label:"ID",copy:"Copy ID",copied:"ID copied",locateTitle:"Locate by ID",locatePlaceholder:"Enter 6-character question ID",locate:"Go",notFound:"No question found with this ID",invalid:"A question ID has 6 characters (letters and digits)",searchHint:"Press Enter on a 6-character ID to open that question"},mastery:{probability:"Mastery probability",notEvaluated:"Not evaluated yet",estimated:"Estimated",aiEvaluated:"AI evaluated",evaluatedAt:"Evaluated at",pending:"Re-evaluating…",history:"Practice History",noHistory:"No practice records yet",result:"Result",date:"Date",difficulty:"Difficulty",source:"Source",results:{correct:"Correct",wrong:"Wrong",not_attempted:"Couldn't solve"},sources:{practice:"Practice",manual:"Manual entry",exam:"Exam paper",duplicate_import:"Repeated question import"},addRecord:"Record Result",recordDate:"Date",deleteRecord:"Delete record",deleteRecordConfirm:"Delete this record? Mastery will be re-evaluated.",deleteRecordFailed:"Failed to delete record",markResult:"How did it go?",suggested:"Suggested from your answer",saveResult:"Save Result",resultSaved:"Result saved. Mastery will be re-evaluated shortly.",resultSaveFailed:"Failed to save result",viewQuestion:"View question",thresholdHint:"Counted as mastered at {threshold}% or above (adjustable in Settings)",thresholdLabel:"Mastered threshold",thresholdDescription:"Default: 50%. Questions with practice records count as mastered once their mastery probability reaches this value. Applies to your account only. Range: 1–100%, whole numbers.",thresholdInvalid:"Enter a whole number from 1 to 100.",thresholdLoadFailed:"Failed to load the saved threshold. Please retry."},importFlow:{imported:'Imported to "{notebook}" (ID: {id})',duplicate:"This question is a duplicate. This incorrect attempt has been recorded in the existing question's practice history; no new question was imported.",viewItem:"View question",continueUpload:"Upload another",confirmBeforeImport:"Review before importing",confirmBeforeImportDesc:"When off, recognized questions are saved to the notebook directly.",enableGeogebra:"GeoGebra interactive demo",enableGeogebraDesc:"When on, question pages show the GeoGebra demo section, where AI can generate an interactive figure for the question.",enableSvgAnimation:"SVG animated explanation",enableSvgAnimationDesc:"When on, question pages show the SVG animation section, where AI can generate a step-by-step animated explanation for the question.",preferenceSaved:"Preference saved",preferenceSaveFailed:"Failed to save preference",thresholdLabel:"Duplicate question threshold",thresholdDescription:"Default: 90%. Figure descriptions added by AI and blank lengths are ignored when comparing. Questions with similarity strictly above this value are recorded as repeated incorrect attempts. Range: 1–100%, up to 2 decimal places. At 100%, automatic duplicate detection is disabled.",thresholdInvalid:"Enter a value from 1 to 100, with up to 2 decimal places.",thresholdLoadFailed:"Failed to load the saved threshold. Please retry.",saveThreshold:"Save threshold",retryLoad:"Reload"},questionSimilarity:{title:"Compare similarity",description:"Select two questions to compare their full text with the same method used during import. This comparison does not add a practice record.",selectTwo:"Select exactly two questions to compare.",selectQuestion:"Select question {id}",score:"Question similarity",threshold:"Current threshold: {threshold}%",duplicate:"These questions would be treated as duplicates at the current threshold.",different:"These questions would be imported separately at the current threshold.",missingText:"One of these questions has no text to compare. Add its question text first.",failed:"Failed to compare the questions. Please try again.",retry:"Compare again",question:"Question {index}"},importTasks:{entry:"Recognition",entryActive:"Recognizing {count}",entryUnread:"{count} new",title:"Recognition tasks",description:"Photos are recognized on the server after upload. You can leave the page or lock your phone; results stay here until you handle them.",empty:"No recognition tasks yet",backHome:"Back to upload",unread:"New",uploadedHint:"Uploaded. Recognition continues on the server, so you can leave this page and keep using the app.",viewTasks:"View recognition tasks",continueReview:"Continue review",viewItem:"View question",retry:"Retry",discard:"Discard",discardConfirm:"Discard this recognition task? The unreviewed result will be deleted.",discarded:"Task discarded",retried:"Retrying",notFound:"The task does not exist or has been discarded.",finishedToast:'Recognition finished. Open "Recognition" to view it.',createdAt:"Uploaded {time}",attempts:"Attempt {count}",stageEstimate:"Stage estimate, not exact progress",retentionHint:"Drafts awaiting review and failed tasks are kept until you handle them; saved tasks are kept for 7 days.",status:{analyzing:"Recognizing",review:"Ready for review",saving:"Saving",saved:"Saved",failed:"Failed"},mode:{review:"Review before saving",auto:"Save automatically"},savedTo:'Saved to "{notebook}" (ID: {id})',duplicateSaved:"Duplicate question: recorded in the existing question's practice history",itemDeleted:"Saved, but the question has since been deleted",timings:{read:"Read",convert:"Convert",crop:"Crop",compress:"Compress",upload:"Upload",receive:"Receive",analyze:"AI recognition",save:"Save"},elapsed:"Elapsed {time}"},importBatch:{title:"Multiple questions",batchOf:"Batch of {count} questions",source:{text:"Text",image:"Photo"},phase:{splitting:"Splitting questions…",failed:"Splitting failed",draft:"Waiting for confirmation",processing:"Solving",attention:"Needs your attention",done:"Done"},splittingHint:"AI is finding the questions. You can leave this page; the result stays under Recognition tasks.",detected:"{count} questions found",selected:"{count} selected",selectAll:"Select all",selectNone:"Clear selection",ignoredTitle:"Not counted as questions ({count})",ignoredHint:"Titles, name/date lines and similar text are not saved as questions. Add any part that was left out.",addAsQuestion:"Add as question",material:"Shared material",materialHint:"Placed before the question when solving",removeMaterial:"Remove shared material",question:"Question {index}",originalLabel:"No. {label}",edit:"Edit",collapse:"Done",questionText:"Question text",splitHere:"Split at cursor",splitHint:"Put the cursor at the start of the second question, then tap Split at cursor.",mergeUp:"Merge with previous",moveUp:"Move up",moveDown:"Move down",delete:"Delete",duplicate:"Duplicate",undo:"Undo",adjustRegion:"Adjust area",locate:"Mark on photo",hasFigure:"Has figure",fixText:{selected:"AI fix text ({count})",one:"AI fix text",running:"Fixing text…",hint:"Removes scratch work and fixes OCR typos. Numbers and formulas are kept as they are. You confirm each change.",pending:"Fix to confirm",title:"AI suggested fix",legend:"Struck out: removed · Highlighted: changed",uncertain:"Not sure, kept as is:",accept:"Accept fix",reject:"Keep original",acceptAll:"Accept all ({count})",done:"Suggested fixes for {count} questions; check and accept them below.",unchanged:"{count} questions need no fix.",failed:"{count} questions could not be fixed and keep their original text.",pendingHint:"{count} suggested fixes are not accepted yet; those questions will be solved with their original text."},flags:{unclear:"Some text is unclear; please check",partial:"The question may be cut off",unlocated:"Not located; mark it on the photo"},warnings:{blurry:"The photo may be blurry. Check the results carefully.",partial:"The photo may show only part of the worksheet.",truncated:"The AI output was incomplete; later questions may be missing. Please check.",tooMany:"Too many questions; only the first 60 are kept."},save:{saved:"Saved",dirty:"Unsaved changes",saving:"Saving…",error:"Save failed; will retry"},conflict:"These questions were changed on another page. The latest version has been loaded.",conflictKept:"The version saved on another page has been loaded. Your changes on this page are kept and can be restored.",restoreMine:"Restore my changes",discardMine:"Discard my changes",startAuto:"Solve and import {count} questions",startReview:"Solve {count} questions, review later",startHintAuto:"AI solves each question and saves it to your notebook. Duplicates are added to the original question's mistake record.",startHintReview:"Review before import is on: check each question after AI solves it, then save.",nothingSelected:"Select at least one question",needsRegion:"{count} selected questions have no area on the photo yet",cropping:"Cropping question images {done}/{total}…",uploadingImages:"Uploading {count} question images ({size})…",imageTextHint:"The text here only helps you recognize each question. After you start, each question is recognized again from its area on the photo.",submitting:"Submitting…",discard:"Discard batch",discardConfirm:"Discard this batch? Questions already imported are kept; unfinished results will be deleted.",discarded:"Discarded",progress:"{done}/{total} finished",counts:{saved:"Imported {count}",duplicate:"Duplicates {count}",review:"To review {count}",failed:"Failed {count}",active:"In progress {count}"},itemStatus:{analyzing:"Solving",saving:"Saving",review:"To review",saved:"Imported",duplicate:"Duplicate, added to original",failed:"Failed",deleted:"Imported, later deleted"},review:"Review",viewItem:"View",retryFailed:"Retry {count} failed",retrySplit:"Split again",manualFallback:"You can also go back and draw boxes manually.",confirmAll:"Import the other {count} as recognized",confirmAllDone:"{count} questions imported",leaveHint:"Submitted. The server is solving each question; you can leave this page and find progress under Recognition tasks.",notFound:"This batch does not exist or was discarded.",backToBatch:"Back to batch",emptyDraft:"No questions left. Undo the deletion or discard the batch.",showImage:"Show photo",hideImage:"Hide photo",regionDialogTitle:"Question area",regionDialogHint:"Drag to frame the whole question, including options, sub-questions and figures.",regionTab:"Area {index}",addRegion:"Add area",removeRegion:"Remove this area",saveRegion:"Use this area",addQuestion:"Add a question",open:"Open"},batchImport:{singleMode:"Single question",multiMode:"Draw boxes",autoMode:"Auto split",autoHint:"Optionally crop to the worksheet area (whole photo by default). AI finds each question and its position; nothing is solved until you confirm.",autoStart:"Find questions",hint:"Drag on the image to draw a box around each question. One box = one question.",regionCount:"{count} boxes",noRegions:"Draw at least one box",clear:"Clear",removeRegion:"Remove box {index}",start:"Import {count} questions",title:"Batch Import",summary:"{done}/{total} done · {failed} failed",status:{pending:"Waiting",uploading:"Uploading…",analyzing:"Recognizing…",saving:"Saving…",success:"Imported",failed:"Failed"},retry:"Retry",retryFailed:"Retry failed",uploaded:"Uploaded {done}/{total}. Keep this page open until all uploads finish.",finish:"Done",question:"Question {index}"},exam:{nav:"Exams",title:"Practice Exams",subtitle:"Randomly pick mistakes and generate a printable exam from similar questions.",create:"New Exam",createTitle:"Generate an Exam",list:"My Exams",empty:"No exams yet.",notebooks:"Notebooks",selectAll:"Select all",tags:"Knowledge tags (optional)",tagsPlaceholder:"Only pick questions with these tags",scope:"Questions",scopes:{unmastered:"Not mastered",mastered:"Mastered",all:"All"},pickRule:"Selection",pickRules:{least_practiced:"Least practiced first",random:"Fully random"},pickRuleHints:{least_practiced:"Questions with fewer practice records come first; for ties, questions never used in an exam come first, then random.",random:"Every matching question has the same chance."},count:"Number of questions",difficulty:"Difficulty",titleLabel:"Title (optional)",generate:"Generate",creating:"Creating…",noSource:"No questions match these conditions.",fewerThanRequested:"Only {actual} questions matched; the exam has {actual} questions.",noNotebook:"Select at least one notebook",status:{generating:"Generating",ready:"Generated",partial:"Partly failed",failed:"Failed",completed:"Completed"},progress:"{ready}/{total} generated",questionCount:"{count} questions",recorded:"Results entered",notRecorded:"Results not entered",source:"Source",sourceDeleted:"Source deleted",questionFailed:"Generation failed",questionPending:"Generating…",retryFailed:"Regenerate failed questions",regenerateQuestion:"Regenerate question",regenerateAnswer:"Regenerate solution",regenerating:"Generating…",regenerateQuestionConfirm:"AI will generate a new question with its answer and analysis, replacing the current one. Continue?",regenerateAnswerConfirm:"AI will regenerate the answer and analysis for this question; the question stays the same and entered results are kept. Continue?",regenerateHasResults:"Results have been entered for this question, so only the solution can be regenerated",regenerateFailed:"Regeneration failed, please try again later",print:"Print / Export",delete:"Delete",deleteConfirm:"Delete this exam? Entered results stay in each question's history.",showAnswer:"Answer",recordResults:"Enter Results",takenAt:"Exam date",saveResults:"Save Results",resultsSaved:"Results saved. Mastery will be re-evaluated shortly.",resultsSaveFailed:"Failed to save results",recordHint:"Each save adds a new attempt; questions without a selection are skipped.",attemptLabel:"Attempt {n}",noResultSelected:"Select a result for at least one question",cancel:"Cancel",notFound:"Exam not found",back:"Back",printTitle:"Print Preview",includeAnswers:"Include answer key",answerSpace:"Answer space",answerSpaceAuto:"Auto by question type",answerSpaceNone:"Fixed: none",answerSpaceSmall:"Fixed: small",answerSpaceMedium:"Fixed: medium",answerSpaceLarge:"Fixed: large",answerSpaceAutoHint:"Auto: less space for fill-in, choice and true/false questions; more for worked problems, growing with each sub-question.",questionAnswerSpace:"Blank space",questionAnswerSpaceSlider:"Adjust blank space for this question",decreaseAnswerSpace:"Decrease blank space",increaseAnswerSpace:"Increase blank space",resetQuestionAnswerSpace:"Reset",resetAllQuestionAnswerSpaces:"Reset custom spaces",answerSpaceSaveFailed:"Failed to save the answer space; it will revert next time. Check your connection and adjust again.",printNow:"Print",downloadHtml:"Download HTML",nameLine:"Name",dateLine:"Date",scoreLine:"Score",answerKey:"Answer Key",answerLabel:"Answer",analysisLabel:"Analysis",sourceLabel:"Source ID",notReadyHint:"Questions that failed to generate are left out of the printout.",uniformFigureScale:"Uniform figure scale",uniformFigureScaleSlider:"Adjust figure scale for all questions",uniformFigureScaleHint:"10–200%, default 100%. Save to apply to all questions with figures in this exam and their printouts.",uniformFigureAlign:"Uniform figure alignment"},figure:{alt:"Question figure",scale:"Figure display scale",scaleSlider:"Adjust figure scale",scaleHint:"10–200%, default 100%. Save to apply to this question's display and text printouts. Enlarged figures fit the available width.",resetScale:"Reset to 100%",align:"Figure alignment",aligns:{left:"Left",center:"Center",right:"Right"},regenerate:"AI Redraw Figure",regenerating:"Drawing figure…",noFigure:"AI found no figure in this question",failed:"Failed to generate the figure",noImage:"No original image to draw the figure from"},svgAnimation:{title:"SVG Animated Explanation",alt:"Animated explanation",hint:"AI explains the solution step by step with an SVG animation in English",otherLanguageAvailable:"A Chinese version of the animation exists. Switch the language to Chinese to view it, or generate an English version here.",generate:"Generate animation",generating:"Generating animation, this takes a few minutes…",regenerate:"Regenerate",replay:"Replay",play:"Play",pause:"Pause",progress:"Animation progress",fullscreen:"Full screen",exitFullscreen:"Exit full screen",delete:"Delete",confirmDelete:"Delete the English SVG animation? The Chinese version is kept. This cannot be undone.",deleteFailed:"Failed to delete the animation",failed:"Failed to generate the animation, please try again later",noQuestionText:"The question text is empty, so no animation can be generated",invalid:"AI did not return a valid animation, please try again",voiceOn:"Turn on voice narration",voiceOff:"Turn off voice narration",voiceRate:"Narration speed",voiceUnsupported:"This browser has no voice for this language, so narration is unavailable",voiceRegenerate:"Regenerate voice",voiceRegenerating:"Generating voice…",voiceRegenerateHint:"Synthesize the cloud voice for this animation again. Progress appears in background tasks. Uses the speech provider's quota.",voiceRegenerateDone:"Voice regenerated",voiceRegenerateFailed:"Failed to regenerate the voice. Try again later.",voiceRegenerateDisabled:"Cloud voice is turned off",narrationGenerate:"Add narration",narrationRegenerate:"Rewrite narration",narrationGenerating:"Writing narration…",narrationHint:"AI writes a voice narration script for this animation; the picture stays the same",narrationDone:"Narration script updated. Turn on the speaker in the player to listen.",narrationFailed:"Failed to write the narration, please try again later",narrationInvalid:"AI did not return a valid narration script, please try again"},backgroundTasks:{title:"Background tasks",description:"Progress of long-running tasks such as question recognition and AI generation. Tasks keep running on the server after you leave the page.",empty:"No background tasks right now",progress:"{done} / {total}",failedCount:"{count} failed",startedAt:"Started {time}",elapsed:"Elapsed {time}",view:"View",clearFinished:"Clear finished",retentionHint:"Finished tasks are kept for 30 minutes; the list is cleared when the service restarts.",status:{running:"In progress",succeeded:"Done",failed:"Failed"},kinds:{analyze:"Importing question (AI recognition)",split:"Splitting questions (AI)",fix_text:"Fixing question text (AI)",batch_upload:"Batch upload recognition",data_import:"Importing backup data",svg_animation:"Generating SVG animated explanation",svg_narration:"Writing animation narration",tts_voice:"Generating animation voice",reanswer:"Regenerating solution",fix_latex:"Fixing LaTeX",figure:"Redrawing figure",geogebra:"Generating GeoGebra demo",retag:"Regenerating knowledge tags",retag_notebook:"Regenerating tags for notebook",practice:"Generating similar question",exam:"Generating exam paper"},errors:{NO_VALID_ANIMATION:"AI did not return a valid animation",ALL_FAILED:"All items failed",NO_QUESTION_TEXT:"The question text is empty",NO_TAGS_SELECTED:"AI selected no tags",NO_AVAILABLE_TAGS:"No tags available",SERVER_RESTARTED:"Interrupted by a server restart. Please try again."}},replaceImage:{replace:"Replace image",view:"View original image",hide:"Hide original image",add:"Upload question image",uploading:"Uploading…",confirm:"Replace the original question image? The old image will be overwritten and cannot be restored.",done:'Image replaced. To redraw the figure from the new image, click "AI Redraw Figure".',invalid:"Please choose a PNG, JPEG, WebP or GIF image",failed:"Failed to replace the image"},reanswerItem:{button:"Regenerate full solution",running:"Generating solution…",confirm:"AI will regenerate the full answer and analysis and overwrite the current ones. Tags, wrong answer and mistake analysis are kept. Continue?",failed:"Failed to regenerate the solution, please try again later",noQuestionText:"The question text is empty, so no solution can be generated"},fixLatex:{button:"Fix LaTeX",running:"Fixing formulas…",issuesFound:"{count} LaTeX issue(s) found",noIssues:"No LaTeX syntax errors found",fixedAll:"Fixed the formulas in: {fields}",fixedPartly:"Fixed the formulas in: {fields}. {count} issue(s) could not be fixed automatically, please edit them manually.",notFixed:"AI could not fix the formulas automatically; the original content is kept. Please edit it manually.",failed:"Failed to fix LaTeX, please try again later",fields:{questionText:"Question",answerText:"Answer",analysis:"Analysis",wrongAnswerText:"Wrong answer",mistakeAnalysis:"Mistake analysis"}},markdownEditor:{modeLabel:"Editor view",source:"Source",preview:"Preview",empty:"Nothing to preview",doubleClickToEdit:"Double-click to edit the source"},directEntry:{title:"Enter the question directly (Markdown + LaTeX supported)",reset:"Reset",edit:"Edit",preview:"Preview",saving:"Saving...",save:"Save directly",hint:"Fill in the question and answer, then save without AI analysis · Ctrl+Enter to save",gradeSemesterPlaceholder:"e.g. Grade 8, 1st semester",questionPlaceholder:"Enter the question...\nMarkdown and LaTeX formulas are supported\n\nExample:\n# Question 1\n\nGiven $f(x) = x^2 + 2x + 1$, find $f(3)$.\n\n**Requirements:**\n1. Show your steps\n2. Give the final answer",answerPlaceholder:"Enter the reference answer...\n\nExample:\n$f(3) = 3^2 + 2 \\times 3 + 1 = 9 + 6 + 1 = 16$",analysisPlaceholder:"Enter the analysis...\n\nExample:\nThis is a **quadratic function** evaluation problem.\n\nSubstitute $x=3$ into the expression:\n$$f(3) = 3^2 + 2 \\times 3 + 1 = 16$$",wrongAnswerPlaceholder:"Paste the wrong solution here if there is one; otherwise leave it empty",mistakeAnalysisPlaceholder:"Analyze which step went wrong and why..."},geogebra:{title:"GeoGebra interactive demo",generate:"Generate demo",analyzing:"AI analyzing...",hint:"AI checks whether this question suits a GeoGebra demo and, if so, generates an interactive figure.",notSuitable:"This question is not suitable for a GeoGebra demo",analyzeFailed:"Analysis failed, please try again later",authFailed:"AI authentication failed, please check the settings",connectionFailed:"AI connection failed, please check the network",answerRequired:"Generate or enter the answer first",notLoaded:"GeoGebra failed to load",initFailed:"GeoGebra failed to initialize",scriptFailed:"Unable to load the GeoGebra component",regenerate:"Regenerate",reset:"Reset",enlarge:"Enlarge",shrink:"Shrink",loading:"Loading GeoGebra...",delete:"Delete",confirmDelete:"Delete the generated GeoGebra demo? This cannot be undone.",deleteFailed:"Failed to delete the GeoGebra demo"},difficulty:{label:"Difficulty",unrated:"Unrated",starsLabel:"{n} stars",setStars:"Set to {n} stars",clearHint:"Click the current rating again to clear it",saveFailed:"Failed to save difficulty"},retag:{notebookButton:"Re-identify Tags & Difficulty",notebookConfirm:"AI will re-select knowledge tags and rate the difficulty stars for every question in this notebook. System tags and stars are replaced; your custom tags are kept. Continue?",progress:"Re-identifying tags and difficulty: {done}/{total}",finished:"Tags and difficulty re-identified: {success} succeeded, {failed} failed",empty:"No questions in this notebook",itemButton:"AI Re-identify",itemRunning:"Regenerating…",itemFailed:"Failed to re-identify tags and difficulty",noTags:"AI found no matching tags in the library",suggestButton:"AI Suggest Tags",suggestRunning:"Suggesting…"}},zh:{questionGrade:{label:"录入题目的年级识别规则",fixed:"固定年级",ai:"AI 识别",fixedDescription:"新题使用所选年级学期;未指定时使用账户学段与入学年份推算的当前年级。",aiDescription:"AI 根据题目内容判断年级学期,无法确定时保持未设置。直接录入未填年级时也会调用 AI,并计入每日 AI 用量。",description:"按账户保存,适用于各录入入口。手工修改优先,已有题目与备份恢复的年级保持原值。",save:"保存年级规则",loadFailed:"加载年级规则失败,请重试。"},gradeSelection:{edit:"编辑年级/学期",firstSemester:"上学期",secondSemester:"下学期",names:["一年级","二年级","三年级","四年级","五年级","六年级","初一","初二","初三","高一","高二","高三","大一","大二","大三","大四"]},pageTitle:{base:"AI智能错题本",home:"录入错题",addError:"录入错题",examPrint:"打印",login:"登录",register:"注册"},common:{loading:"加载中...",colon:":",listSeparator:"、",showPassword:"显示",hidePassword:"隐藏",error:"错误",success:"成功",save:"保存",cancel:"取消",confirm:"确认",back:"返回",delete:"删除",default:"默认",add:"添加",rename:"重命名",activate:"启用",deactivate:"停用",inactive:"已停用",welcome:"欢迎回来,",pleaseWait:"请稍候...",notSet:"未设置",edit:"编辑",expand:"展开",collapse:"收起",close:"关闭",confirmTitle:"请确认",cropper:{title:"裁剪图片",hint:"💡 拖动选框调整裁剪区域,滚轮或双指可缩放图片",zoomIn:"放大",zoomOut:"缩小",resetZoom:"还原为 100%"},progress:{reading:"正在读取照片...",converting:"正在转换 HEIC/HEIF 照片...",compressing:"正在准备图片...",uploading:"正在上传...",analyzing:"等待 AI 返回分析结果...",processing:"正在处理结果...",saving:"正在保存...",estimated:"阶段估算:{percent}%",elapsed:"已用时:{time}",estimateHint:"百分比按处理阶段估算。"},messages:{analysisFailed:"AI 分析失败,请重试",missingImage:"缺少图片数据",saveSuccess:"保存成功!",saveFailed:"保存失败",loadFailed:"加载失败",updateFailed:"更新失败",deleteSuccess:"删除成功",deleteFailed:"删除失败",tagUpdateSuccess:"标签更新成功!",metaUpdateSuccess:"信息更新成功!",noteSaveSuccess:"笔记保存成功",confirmDelete:"确定要删除这道错题吗?"}},home:{greetingMorning:"早上好",greetingAfternoon:"下午好",greetingEvening:"晚上好",heroSubtitle:"拍照或输入题目,AI 帮你解析、打标签并归档到错题本。",notebookCount:"错题本",itemCount:"道错题",dueCount:"今日待复习",targetNotebook:"录入到:{name}"},review:{title:"今日复习",desc:"按 1、2、4、7、15、30 天的间隔安排复习。做对进入下一轮间隔,做错从头开始。",dueCount:"今日待复习 {count} 道",practice:"举一反三",dueOn:"{date} 到期",overdue:"{date} 起已到期",round:"第 {round} / {total} 轮",empty:"今天没有需要复习的错题",emptyHint:"录入举一反三结果后,错题会按计划回到这里。可以继续录入新错题,或明天再来。"},nav:{home:"录入",notebooks:"错题本",review:"复习",stats:"统计",exams:"试卷",admin:"管理",menu:"账户"},theme:{toggle:"主题",system:"自动(跟随系统)",light:"浅色",dark:"深色"},app:{title:"智能错题本",subtitle:"AI 驱动的题目分析与智能复习",dragDrop:"拖拽图片到此处,或点击浏览",analyzing:"AI 正在分析...",compressing:"正在压缩图片...",supportedFormats:"支持 JPG、PNG、HEIC 格式",gallery:"照片库",tags:"标签管理",stats:"统计中心",logout:"退出登录",uploadNew:"上传新题",directInput:"直接录入",addError:"添加错题",viewNotebook:"查看错题本",practiceProblem:"练习题",yourAnswer:"你的答案",answerPlaceholder:"输入你的答案...",notesPlaceholder:"记录解题思路(可选)...",submitAnswer:"提交答案",uploadImage:"拍照上传",manualInput:"手动输入",textInputHint:"手动输入题目文本",textInputPlaceholder:"在此粘贴或输入题目文本...\n支持 Markdown 和 LaTeX 公式(如 $x^2 + y^2 = 1$)\n\nCtrl+Enter 快捷提交",aiSolve:"AI 解题",textInputTip:"输入题目后,AI 将自动解答并生成解析",multiDetected:"检测到 {count} 道编号题",splitPreview:"分题预览({count} 题)",solveAsOne:"作为一道题解析",aiSplit:"含多道未编号的题?用 AI 分题",aiSplitMulti:"分得不对?用 AI 分题",aiSplitHint:"会调用一次 AI 找出题目边界,确认后才逐题解析。",creatingBatch:"正在准备预览…",subQuestionsHint:"这 {count} 个编号看起来是同一道题的小问,已按一道题处理。",splitAnyway:"仍按 {count} 题分题预览",overflowHint:"每批最多 60 题,其余 {count} 题会列入「未计入题目的内容」。",textTooLong:"文字超过 20000 字,请分几次录入。"},wrongAnswerStats:{title:"错题统计",totalErrors:"累计错题",totalErrorsDesc:"已收集题目",mastered:"已掌握",masteredDesc:"已攻克题目",masteryRate:"掌握率",masteryRateDesc:"完成进度",weeklyActivity:"月度趋势",MonthlyTrend:"月度趋势",SubjectDistribution:"科目分布",activity:"活动"},upload:{support:"支持 JPG、PNG、WebP 和 HEIC/HEIF 照片",camera:"拍照",cameraDesc:"直接打开相机拍摄",album:"相册",albumDesc:"从手机相册选择照片",file:"从文件选择",fileDesc:"相册中找不到照片时使用",noCamera:"未检测到可用的相机,请从相册或文件中选择。",decodeErrors:{HEIC_DECODE_FAILED:"无法解码这张 HEIC/HEIF 照片。可在相册中将其导出为 JPG(或经微信等转存)后重试。",IMAGE_DECODE_FAILED:"无法读取这张图片({format}),可能已损坏或当前浏览器不支持该格式。",UNSUPPORTED_IMAGE:"所选文件不是可识别的图片,请选择 JPG、PNG、WebP 或 HEIC 照片。"},stages:{read:"读取",convert:"转换",compress:"裁剪压缩"},analyze:"AI 智能解析",screenshot:"屏幕截图",screenshotDesc:"捕获屏幕内容(建议选择‘整个屏幕’或‘窗口’以获得最佳效果)",screenshotNotSupported:"此浏览器不支持屏幕截图",screenshotFailed:"截图失败",screenshotPermissionDenied:"截图权限被拒绝",screenshotComplete:"截图完成!正在返回上传页面...",paste:"从剪贴板粘贴",pasteDesc:"也可在本页直接按 Ctrl/⌘+V 粘贴图片",pasteNoImage:"剪贴板中没有图片",pasteNotSupported:"此浏览器无法直接读取剪贴板,请按 Ctrl/⌘+V 粘贴",pastePermissionDenied:"剪贴板权限被拒绝,请按 Ctrl/⌘+V 粘贴",pasteFailed:"读取剪贴板失败,请按 Ctrl/⌘+V 粘贴"},editor:{title:"校对与保存",question:"题目内容",answer:"参考答案",analysis:"解析思路",mistakeAnalysisTitle:"错因分析",mistakeStatus:"作答状态",wrongAnswerText:"错误解答原文",mistakeAnalysis:"错因分析",wrongAnswerPlaceholder:"如果图片里没有错误解答,可留空",mistakeAnalysisPlaceholder:"分析错误可能发生在哪一步、为什么错、导致什么后果",mistakeStatuses:{notAttempted:"不会做",wrongAttempt:"做错了",unknown:"未判断"},tags:"知识点 (回车添加)",addTag:"添加标签...",cancel:"取消",save:"保存到错题本",selectNotebook:"选择错题本",gradeSemester:"年级/学期",preview:{question:"题目预览",answer:"答案预览",analysis:"解析预览",mistakeAnalysis:"错因分析预览"},tagsPlaceholder:"输入知识点标签,可从建议中选择...",tagsHint:"💡 输入时会显示标签建议,支持从标准标签库选择",createTagHint:"按回车键创建新标签",messages:{selectNotebook:"请选择一个错题本"},paperLevel:"所属卷等级",paperLevels:{a:"A卷",b:"B卷",other:"其他"},reanswerSuccess:"✅ 答案和解析已更新!",enterQuestionFirst:"请先输入题目内容",reanswering:"AI 正在解题...",reanswer:"🔄 重新解题(根据校正后的题目)",reanswerHint:"💡 如果题目识别有误,校正题目后点击此按钮让 AI 重新生成答案和解析",placeholder:"支持 Markdown 和 LaTeX..."},notebook:{emptyList:"暂无错题",emptyListHint:"换个筛选条件试试,或者往错题本里录入新的错题。",title:"我的错题本",subtitle:"温故知新,查漏补缺。",addNew:"添加错题",search:"搜索题目或知识点...",filter:"筛选",mastered:"已掌握",reviewing:"复习中",review:"待复习",gradeSemesterPlaceholder:"例如:初一,上期",added:"添加于",exportPrint:"导出打印",selectMode:"多选",cancelSelect:"取消",deleteSelected:"删除选中",selectedCount:"已选 {count} 项",confirmBatchDelete:"确定删除 {count} 道错题?",batchDeleteSuccess:"删除成功"},notebooks:{title:"我的错题本",subtitle:"按科目分类管理你的错题",create:"新建错题本",createFirst:"创建错题本",empty:"还没有错题本,点击上方按钮创建第一个吧!",deleteConfirm:"确定要删除这个错题本吗?",createError:"创建失败",deleteError:"删除失败",deleteNotEmpty:"请先清空错题本中的所有题目,才能删除该错题本。",items:"道题目",cardItems:"题",notFound:"错题本不存在",totalErrors:"共 {count} 道错题",addError:"添加错题",collapseTags:"收起 ↑",expandTags:"+{count} 个 ↓",expandTagsTooltip:"点击展开 {count} 个标签",collapseTagsTooltip:"点击收起",dialog:{stageLabel:"学段",subjectLabel:"学科",tagSetLabel:"标签体系",tagSetDefault:"内置体系",tagSetNames:{cnm:"人教版课标体系"},scopeHint:"学段、学科和标签体系创建后不可修改,AI 只会从该范围内选择知识点标签。",title:"创建新错题本",desc:"为不同科目或章节创建独立的错题本",nameLabel:"错题本名称",placeholder:"例如:数学、物理、化学...",enterName:"请输入错题本名称",creating:"创建中...",create:"创建"},rename:"重命名",renameDialog:{title:"重命名错题本",nameLabel:"新名称",placeholder:"请输入新的错题本名称",enterName:"请输入错题本名称",renaming:"重命名中...",rename:"重命名"},selector:{placeholder:"选择错题本",empty:"暂无错题本"}},detail:{viewImage:"查看图片",hideImage:"隐藏图片",referenceImageAlt:"参考图片",wrongAnswerImageAlt:"我的答案图片",title:"错题详情",question:"题目",originalProblem:"原始问题",yourNotes:"你的笔记 / 答案",noNotes:"暂无笔记",notFound:"未找到该错题",editNotes:"编辑",notesPlaceholder:"输入你的笔记...",correctAnswer:"参考答案",analysis:"解析",referenceDiagram:"参考图形",practice:"举一反三",delete:"删除",clickToView:"点击查看大图",clickToEnlarge:"点击图片查看大图",questionInfo:"试题信息",mistakeAnalysis:"错因分析",noMistakeAnalysis:"暂无错因分析",close:"✕ 关闭",clickOutside:"点击图片外部区域关闭"},practice:{title:"智能练习",subtitle:"生成同类变式题,检测掌握情况。",generate:"生成练习题",generating:"AI 正在出题...",regenerate:"重新生成",lastGeneratedAt:"生成于 {time},点击「重新生成」可换一道新题。",correct:"回答正确!",correctMessage:"太棒了,继续保持!",incorrect:"答案有误",incorrectMessage:"再看看解析,加油!",grading:"正在判题…",aiGradeReason:"AI 判定:{reason}",gradeFailed:"暂时无法自动判定,请对照下方答案自行选择结果。",yourNotes:"你的笔记:",checkAnswer:"查看答案",hideAnswer:"隐藏答案",correctAnswer:"参考答案",detailedAnalysis:"详细解析",referenceDiagram:"参考图形",invalidRequest:"无效请求",errors:{IMPORT_TASK_INVALID_INPUT:"上传内容无效,请重新选择照片。",IMPORT_TASK_INVALID_NOTEBOOK:"错题本不存在或不属于当前账户。",IMPORT_TASK_NOT_FOUND:"识别任务不存在或已被丢弃。",IMPORT_TASK_BUSY:"任务正在保存,请稍候。",IMPORT_TASK_NOT_REVIEWABLE:"该任务当前不是待校对状态。",IMPORT_TASK_NOT_RETRYABLE:"该任务当前不能重试。",SERVER_RESTARTED:"服务重启导致处理中断,请重试。",connection:"网络连接失败,请检查网络设置或代理配置。",response:"AI 解析异常,请重试或切换其他模型。",auth:"认证失败,请检查 API Key 配置。",unknown:"发生未知错误,请稍后重试。",default:"生成失败,请重试。"},difficulty:{label:"难度选择",easy:"简单",medium:"适中",hard:"困难",harder:"挑战",Unknown:"未知"}},tags:{title:"标签管理",subtitle:"查看和管理知识点标签",unitChapters:"章",otherGroup:"其他",tabs:{standard:"标准标签库",custom:"自定义标签",stats:"使用统计"},subjects:{math:"数学",english:"英语",physics:"物理",chemistry:"化学",biology:"生物",chinese:"语文",history:"历史",geography:"地理",politics:"政治",other:"其他"},categories:{algebra:"代数",geometry:"几何",numbers:"数与式",statistics:"统计与概率",mechanics:"力学",electricity:"电学",optics:"光学",thermology:"热学",acoustics:"声学",basic:"基础",elements:"元素",compounds:"化合物",reactions:"反应",calculation:"计算",grammar:"语法",sentence:"句法",reading:"阅读",writing:"写作"},custom:{addTitle:"添加自定义标签",placeholder:"输入标签名称...",add:"添加",hint:"💡 自定义标签会自动出现在标签输入建议中",empty:"还没有自定义标签,点击上方添加吧!",enterName:"请输入标签名称",success:"标签添加成功!",exists:"标签已存在",deleteConfirm:'确定要删除标签 "{tag}" 吗?',selectGrade:"选择年级",noGrade:"不选择年级"},stats:{loading:"加载中...",empty:"还没有任何标签使用记录",frequency:"标签使用频率(Top 20)",count:"次"}},filter:{masteryStatus:"掌握状态",all:"全部",review:"待复习",reviewing:"复习中",mastered:"已掌握",timeRange:"时间范围",allTime:"全部时间",lastWeek:"最近一周",lastMonth:"最近一个月",filteringByTag:"按标签筛选",grade:"年级/学期",paperLevel:"所属卷等级",gradeShort:"年级/学期",chapter:"章节",knowledgePoint:"知识点",allGrades:"全部年级",allChapters:"全部章节",allKnowledgePoints:"全部知识点"},setup:{pageTitle:"安装向导",step:"第 {current} / {total} 步",logout:"退出登录",password:{title:"修改默认密码",desc:"当前账号仍在使用默认密码 123456,为保证安全,请先设置新密码。",newPassword:"新密码",confirmPassword:"确认新密码",submit:"保存新密码",tooShort:"密码至少 6 位",mismatch:"两次输入的密码不一致",sameAsDefault:"新密码不能是默认密码",success:"密码已修改",failed:"修改密码失败"},ai:{title:"配置 AI 渠道",desc:"题目识别、解答和打标签都依赖 AI。推荐先用 MiniMax Code(网页登录,每天有免费积分),也可以填写其他服务的 API Key,之后可在「设置 → AI」中修改。"},notebook:{title:"创建第一个错题本",desc:"错题本按学段和学科划分,创建后不可修改。",create:"创建错题本",created:"已创建错题本:{name}"},next:"下一步",skip:"跳过",finish:"完成",skipAll:"跳过向导",finished:"设置完成,开始使用吧!",completeFailed:"保存向导状态失败",rerun:"重新运行安装向导"},stats:{title:"练习统计",headerTitle:"统计中心",headerDesc:"查看学习进度、数据分析和知识点",tagStats:"知识点统计",tagManagement:"知识点管理",totalPractices:"累计练习",correctRate:"正确率",activeDays:"活跃月份",subjectDistribution:"学科分布",weeklyTrend:"月度趋势",total:"总题数",correct:"正确"},settings:{title:"设置",save:"保存设置",desc:"管理您的应用偏好和数据。",paperGroups:{title:"卷别分组",desc:"自定义卷别分组,如单元测试、期中、期末。默认分组 A卷/B卷/其他 可改名但不可删除。",addPlaceholder:"如:单元测试",renamePrompt:"重命名分组",deleteConfirm:"删除分组「{name}」?",deleteConfirmWithItems:"分组「{name}」下有 {count} 道题目,删除后将清空这些题目的分组。继续?",systemBadge:"默认"},general:{timeZoneLabel:"应用时区",timeZoneDesc:"全站日期、时间和统计统一使用此时区,默认 Asia/Shanghai(北京时间)。管理员可输入 IANA 时区名称并保存。",invalidTimeZone:"请输入有效的 IANA 时区,例如 Asia/Shanghai。",timeoutLabel:"AI 分析超时时间 (秒)",timeoutDesc:"如果 AI 分析频繁超时,请增加此值。"},tabs:{general:"通用",account:"账户",ai:"AI 提供商",prompts:"提示词",admin:"用户管理",danger:"危险",about:"关于"},about:{title:"关于",version:"当前版本",github:"GitHub 仓库",desc:"智能错题本 - AI 驱动的学习助手",releaseNotes:"发行说明",feedback:"问题反馈",copyright:"© 2026 margrop · 基于 wttwins/wrong-notebook 扩展 · MIT 许可证",androidServer:"服务器",changeServer:"更换服务器",androidStandalone:"在本机运行,数据只保存在这台设备上。"},account:{changePassword:"修改密码 (留空不修改)",update:"更新个人信息",currentGrade:"当前年级学期",selectGrade:"选择年级",selectSemester:"选择学期",firstSemester:"上学期",secondSemester:"下学期",gradeAppliedHint:"新录入的错题将默认使用该年级,也可在常规设置中配置 AI 年级识别。"},ai:{anthropicBaseUrlHint:"留空使用官方接口;兼容服务请填写不含 /v1 的地址(如 https://api.example.com/anthropic)。",vendorApiKeyHint:"在官方控制台获取 API Key:",vendorBaseUrlHint:"留空使用上方的中国大陆官方地址;使用国际站时填写其 OpenAI 兼容地址。",providerErrorDetail:"服务商报错:",docLinks:{apiKey:"获取说明",models:"模型列表"},providerDocs:{title:"官方接入文档:",official:"接入文档",cn:"国内站",intl:"国际站"},stepfunBaseUrlHint:"默认为 Step Plan 套餐地址(推荐,套餐含语音合成);使用按量付费的 Key 时填写 https://api.stepfun.com/v1,国际站填写 https://api.stepfun.ai/v1。",volcengineBaseUrlHint:"本渠道按量付费;订阅了 Agent Plan 或 Coding Plan 时请选择对应的火山引擎套餐渠道(使用套餐专属地址,计入套餐额度)。国际站(BytePlus ModelArk)填写 https://ark.ap-southeast.bytepluses.com/api/v3。",volcengineAgentBaseUrlHint:"Agent Plan 专属地址。请使用方舟控制台 Agent Plan 管理页的专属 API Key,普通方舟 Key 不能用于此地址。套餐含豆包语音合成,可在「语音讲解」中选用。默认模型 doubao-seed-evolving(豆包持续迭代的模型);也可填写 ark-code-latest,使用方舟控制台「开通管理」中选择的模型(切换后约 3~5 分钟生效)。识别题目需要支持图片理解的模型。",volcengineCodingBaseUrlHint:"Coding Plan 专属地址,使用方舟 API Key。不要改成 /api/v3:该地址不计入套餐额度,会按量计费。Coding Plan 不含语音合成,云端语音请在「语音讲解」中选择火山引擎 Agent Plan、豆包语音或其他渠道。默认模型 doubao-seed-evolving(豆包持续迭代的模型);也可填写 ark-code-latest,使用方舟控制台「开通管理」中选择的模型(切换后约 3~5 分钟生效)。识别题目需要支持图片理解的模型。",volcengineFree:{title:"免费试用",body:"注册火山引擎即可获得每个模型的免费推理额度(官方文档为每个模型 50 万 tokens)。在火山方舟控制台的「开通管理」中开启「安心体验模式」后,调用只消耗免费额度,额度接近用完时自动暂停,不会产生费用。额度用完后如需继续使用,完成实名认证并改用「火山引擎 豆包」渠道。"},qwenBaseUrlHint:"默认为阿里云百炼 Token Plan 专属地址(推荐,Key 以 sk-sp- 开头);使用按量付费的 Key 时填写 https://dashscope.aliyuncs.com/compatible-mode/v1。",minimaxCode:{title:"MiniMax Code 账号",intro:"用 MiniMax Code 账号在网页登录授权,应用会用这个登录调用 MiniMax Code 的模型,不需要 API Key。",risk:"该渠道使用 MiniMax Code 桌面客户端的登录方式,不是官方开放接口,MiniMax 可能随时调整或限制。",loginStatus:"登录状态",statusNone:"未登录",statusActive:"已登录",statusExpired:"登录已失效,请重新登录",credits:"剩余积分",creditsUnavailable:"暂时无法获取",creditsDetail:"免费 {free} · 购买 {purchased}",login:"网页登录",relogin:"重新登录",logout:"退出登录",refresh:"刷新",waiting:"请在打开的页面中完成授权,正在等待…",openLink:"打开授权页面",userCode:"验证码",loginSuccess:"已登录 MiniMax Code",loginExpired:"授权已超时,请重新发起",loginDenied:"授权被拒绝",loginFailed:"登录失败",model:"模型",modelHint:"默认 MiniMax-M3.1-Flash,可从列表中选择或直接填写模型名。",checkinToday:"今日签到",checkinAuto:"今天 {time} 已自动签到(+{points} 积分,连签 {days} 天)",checkinDone:"今天已签到(+{points} 积分,连签 {days} 天)",checkinNotYet:"今天还未签到",checkinWillAuto:"今天还未签到,一小时内会自动签到",checkinFailed:"签到失败:{error}",checkinNow:"立即签到",checkinSuccess:"签到成功",autoCheckin:"每日自动签到",autoCheckinHint:"服务运行期间每天自动领取 MiniMax Code 签到积分(按北京时间计算),保存设置后生效。"},save:"保存 AI 设置",instances:"配置实例",addInstance:"添加",deleteInstance:"删除",instanceName:"实例名称",selectInstance:"选择实例",noInstances:"暂无配置实例,点击「添加」创建",maxInstancesReached:"已达最大实例数 (10)",confirmDelete:"确定删除此实例?",validationNameRequired:"实例名称不能为空",validationApiKeyRequired:"API Key 不能为空",validationBaseUrlRequired:"Base URL 不能为空",validationModelRequired:"模型名称不能为空",azureEndpoint:"Azure 端点",azureEndpointPlaceholder:"https://your-resource.openai.azure.com",azureDeployment:"部署名称",azureDeploymentPlaceholder:"gpt-4o-deployment",azureApiVersion:"API 版本",azureApiVersionPlaceholder:"2024-02-15-preview",azureModel:"模型显示名",validationAzureEndpointRequired:"Azure 端点不能为空",validationAzureDeploymentRequired:"部署名称不能为空",testConnection:"测试连接",testing:"测试中...",testSuccess:"连接成功",testFailed:"连接失败",testNetworkNote:"* 由于网络问题,可能测试结果不准确",textSupport:"文本生成",visionSupport:"图像识别/多模态",supported:"支持",notSupported:"不支持",errors:{AI_AUTH_ERROR:"API Key 无效或已过期",AI_PERMISSION_DENIED:"权限不足,请检查 API Key 权限",AI_NOT_FOUND:"端点或模型不存在 (404)",AI_QUOTA_EXCEEDED:"请求频率过高或配额不足",AI_CONNECTION_FAILED:"无法连接 AI 服务器,请检查网络或 Base URL",AI_TIMEOUT_ERROR:"请求超时,服务器响应过慢",AI_RESPONSE_ERROR:"AI 返回格式异常,可能模型不兼容",AI_SERVICE_UNAVAILABLE:"AI 服务不可用 (503),无可用渠道",AI_UNKNOWN_ERROR:"AI 服务返回错误,请检查配置或稍后重试",VISION_NOT_SUPPORTED:"该模型不支持图像识别"}},tts:{title:"语音讲解",modes:{browser:"浏览器本地语音(Web Speech,免费)",minimax:"云端语音:MiniMax(建议使用 M Plan)",qwen:"云端语音:千问(建议使用 Token Plan)",glm:"云端语音:智谱 GLM-TTS(建议使用 GLM Coding Plan)",stepfun:"云端语音:阶跃星辰(建议使用 Step Plan)",volcengine:"云端语音:火山引擎豆包语音(可免费试用,建议购买资源包)","volcengine-agent":"云端语音:火山引擎 Agent Plan(豆包语音合成 2.0,计入套餐额度)",openai:"云端语音:OpenAI(gpt-4o-mini-tts)"},browserHint:"动画讲解由观看者的浏览器或系统自带的语音朗读,音色取决于设备,部分设备没有可用语音。",cloudHint:"由服务端调用下方服务商合成讲解语音,并统一到约 -15 LUFS 的响度,所有设备听到的音色一致。每段讲解只合成一次并缓存,合成会消耗服务商额度。",apiKeyHint:{minimax:"与「AI 设置」中的 MiniMax 渠道共用,建议使用 MiniMax M Plan 的 Key。",qwen:"与「AI 设置」中的千问渠道共用,建议使用阿里云百炼 Token Plan 的 Key(以 sk-sp- 开头)。",glm:"与「AI 设置」中的智谱 GLM 渠道共用。建议订阅 GLM Coding Plan 等套餐而不是按量付费,套餐是否包含语音合成以智谱的说明为准。",stepfun:"与「AI 设置」中的阶跃星辰渠道共用。建议使用 Step Plan 套餐的 Key(套餐含语音合成,渠道默认即 Step Plan 地址);按量付费的 Key 需把渠道 Base URL 改为 https://api.stepfun.com/v1。",volcengine:"豆包语音的 Key 与火山方舟不同:在豆包语音控制台(https://console.volcengine.com/speech)开通语音合成 2.0 并创建 API Key。建议购买资源包或套餐而不是按量付费。","volcengine-agent":"与「AI 设置」中的火山引擎 Agent Plan 渠道共用(方舟控制台 Agent Plan 管理页的专属 API Key)。语音计入套餐额度,语音模型只有日限额和月限额。",openai:"可留空:留空时使用「AI 设置」中当前激活的 OpenAI 配置的 API Key 和 Base URL;只用 OpenAI 合成语音时在此填写。"},model:"语音模型",voice:"音色",voiceHint:{minimax:"默认系统音色 male-qn-jingying(精英青年:年轻男声,清晰自然),可填写 MiniMax 音色列表中的任意 voice_id。",qwen:"默认 longanlufeng(龙安鲁风:年轻男声,明亮开朗),并要求自然、清晰、略带科技感,不用播音腔;音色须属于所选模型。",glm:"默认 xiaochen(小陈:年轻、专业),系统音色还有 tongtong(彤彤)、chuichui(锤锤)等,完整列表见文档。",stepfun:"默认 qingniandaxuesheng(青年大学生),stepaudio 模型还会按指令要求自然、清晰、不用播音腔;各模型支持的音色见音色列表。",volcengine:"默认 zh_male_yangguangqingnian_uranus_bigtts(阳光青年 2.0)。「语音模型」填写资源 ID(豆包语音合成模型 2.0 的音色为 seed-tts-2.0),音色须与之对应。","volcengine-agent":"默认 zh_male_yangguangqingnian_uranus_bigtts(阳光青年 2.0)。「语音模型」填写资源 ID(seed-tts-2.0),音色须为豆包语音合成模型 2.0 的音色。",openai:"默认 cedar(OpenAI 推荐的高质量音色),并按指令要求自然、清晰、不用播音腔。OpenAI 的音色针对英语优化,中文讲解请先试听。OpenAI 计划于 2027-01-06 下线 gpt-4o-mini-tts 与 tts-1 系列模型。"},endpoint:"语音接口地址(可选)",docs:"说明文档",speechApiKey:"豆包语音 API Key",freeTrial:"火山引擎为新用户提供免费试用额度,可参考文档自行开通;覆盖哪些模型(包括语音)以控制台「开通管理」显示为准。",freeTrialLink:"免费试用说明",voiceList:"音色列表",endpointHint:"留空时按渠道的 Base URL 推算;套餐的语音接口地址不同时再填写。",preview:"保存并试听",previewText:"你好,我来给你讲讲这道题。我们先看看题目给了哪些条件。",previewFailed:"试听失败,请检查 API Key、模型和音色",notConfigured:"请先填写 API Key",providerError:"语音服务商返回错误,请检查 API Key、模型和音色",save:"保存语音设置"},prompts:{save:"保存提示词设置",analysisTab:"题目分析提示词",similarTab:"举一反三提示词",customAnalysis:"自定义分析提示词模板",customSimilar:"自定义举一反三模板",reset:"恢复默认",resetConfirm:"确定要恢复默认提示词吗?",caution:"请谨慎修改",warning:"可通过变量({{...}})引用题目材料并调整教学风格。应用始终补充输出格式、语言、年级、知识点和生成题型规则,旧模板遗漏变量时也会保留这些约束。",variables:"可用变量说明",vars:{languageInstruction:"保留原题语言,解析使用当前界面语言;存储用的学科、年级及知识点名称不翻译。",languageInstructionShort:"语言格式指令。",knowledgePointsList:"根据科目自动注入对应的标准知识点列表(数学、物理等),帮助 AI 准确分类。",providerHints:"系统自动注入的服务商兼容性提示,须遵守应用统一输出协议。",difficultyLevel:"目标难度等级(Easy / Medium / Hard)。",difficultyInstruction:"针对该难度的具体编写要求。",originalQuestion:"原始错题的完整文本。",knowledgePoints:"需要考察的知识点列表。"}},messages:{saved:"设置已保存",saveFailed:"保存失败",profileUpdated:"个人信息已更新",updateFailed:"更新失败",passwordMismatch:"两次密码不一致"},clearData:"清理练习数据",clearDataConfirm:"确定要清理吗?这将永久删除您的所有练习记录。",clearDataDesc:"此操作将永久删除所有练习记录,不可恢复。",clearErrorData:"清理错题数据",clearErrorDataConfirm:"确定要清理吗?这将永久删除您的所有错题记录。",clearErrorDataDesc:"此操作将永久删除所有错题记录,不可恢复。",clearSuccess:"数据清理成功",clearError:"清理失败",dangerZone:"危险区域",systemReset:"系统初始化 (恢复出厂设置)",systemResetConfirm:"严重警告:此操作将删除所有数据,包括所有错题本、题目、自定义标签和练习记录。还可能删除除您以外的其他用户数据。此操作不可撤销!您绝对确定吗?",systemResetDesc:"将系统重置为初始状态。清理所有用户数据和自定义设置,仅保留标准系统标签。",systemResetPrompt:"请输入 'RESET' 以确认系统初始化:",migrateTags:"标签系统迁移 (重置标准库)",migrateTagsConfirm:"此操作将重置所有【系统默认标签】为代码定义的初始状态。用户自定义标签不受影响。确定执行吗?",migrateTagsDesc:"从服务器配置文件重新导入标准课程大纲。如果系统标签缺失或损坏,请使用此功能。",language:"语言",dataManagement:"数据管理",exportData:"导出数据",exportDataDesc:"将所有错题、笔记本、标签和练习记录导出为 JSON 文件。",exportSuccess:"导出成功",exportFailed:"导出失败",importData:"导入数据",importDataDesc:"从 JSON 文件导入数据。重复题目不再新建,并在已有题目的举一反三记录中记录本次做错信息。",importSuccess:"导入成功",importFailed:"导入失败",importConfirm:"确定要导入数据吗?导入操作将添加新数据到您的账户中,不会删除现有数据。",importResult:"导入结果",importResultDesc:"已导入 {subjects} 个笔记本、{tags} 个标签、{items} 道错题、{schedules} 条复习计划、{records} 条练习记录、{papers} 份试卷、{voices} 段云端语音。另有 {duplicates} 道重复题目未重复导入,已记录本次相同题目的做错信息。",exportAllData:"导出全部",exportAllConfirm:"导出所有用户的数据?这可能需要一些时间。",importAllData:"导入全部",importAllConfirm:"导入所有用户的数据?将从导出文件中恢复所有用户的数据。",selectFile:"选择文件",noFileSelected:"未选择文件"},questionSave:{invalidField:"{field}填写有误,请检查后重新保存。",tooLong:"{field}最多允许 {maximum} 个字符,请缩短后重新保存。",tooMany:"{field}最多允许 {maximum} 项,请减少后重新保存。",databaseCode:"数据库错误码:{code}"},errors:{QUESTION_SAVE_GRADE_FAILED:"保存失败:AI 识别年级失败。请手动填写年级,或在「设置 → 通用」改为固定年级后重新保存。",QUESTION_SAVE_SCHEMA_MISMATCH:"保存失败:数据库结构与当前版本不一致。请管理员检查启动日志中的数据库迁移错误,并保留现有数据目录。",QUESTION_SAVE_READ_ONLY:"保存失败:数据库无法写入。请管理员检查数据库目录的写入权限,以及 Docker 挂载是否为只读。",QUESTION_SAVE_STORAGE_FULL:"保存失败:数据库所在磁盘空间已满,请管理员释放空间后重试。",QUESTION_SAVE_DATABASE_BUSY:"保存失败:数据库繁忙或被锁定,请等待其他导入操作结束后重试。",QUESTION_SAVE_DATABASE_UNAVAILABLE:"保存失败:数据库无法访问。请管理员检查数据库路径、挂载目录和容器日志。",QUESTION_SAVE_REFERENCE_INVALID:"保存失败:所选错题本或关联数据已不存在,请刷新页面后重新选择并保存。",QUESTION_SAVE_CONFLICT:"保存失败:数据与已有记录冲突,请刷新页面并检查错题本和卷别分组后重试。",QUESTION_SAVE_INVALID_PAPER_LEVEL:"保存失败:所选卷别分组不可用,可能已停用或删除,请刷新页面后重新选择。",QUESTION_SAVE_INVALID_INPUT:"保存失败:题目部分字段不符合要求,请根据下方提示修改后重新保存。",QUESTION_SAVE_INVALID_JSON:"保存失败:请求内容不是有效的 JSON,请刷新页面后重试。",QUESTION_SAVE_UNAUTHORIZED:"保存失败:尚未登录或登录已失效,请先复制录入内容,重新登录后再保存。",QUESTION_SAVE_FORBIDDEN:"保存失败:当前账号无权保存此题目,请检查账号权限或联系管理员。",QUESTION_SAVE_NETWORK_ERROR:"保存失败:无法连接服务器,请检查网络、容器和反向代理。重试前请先确认题目是否已经保存。",QUESTION_SAVE_TIMEOUT:"保存请求超时,请先检查错题本中是否已保存,避免重复提交。",QUESTION_SAVE_TOO_LARGE:"保存失败:请求内容过大,请缩短题目或图片内容,或请管理员检查反向代理的请求大小限制。",QUESTION_SAVE_RATE_LIMITED:"保存请求过于频繁,请稍后重试。",QUESTION_SAVE_SERVER_UNAVAILABLE:"保存失败:服务器或反向代理暂时不可用,请稍后重试;若持续失败,请管理员检查容器和代理日志。",QUESTION_SAVE_FAILED:"保存失败,请重试;若仍失败,请管理员开启调试模式并查看日志。",AI_CONNECTION_FAILED:"网络连接失败,请检查网络设置。",AI_RESPONSE_ERROR:"AI 返回数据格式异常,请重试。",AI_AUTH_ERROR:"AI 服务认证失败,请检查 API Key 配置。",aiAuth:"⚠️ API 密钥无效\n\n请检查设置中的 AI 提供商配置,确认 API Key 是否正确",aiConnectionFailed:"⚠️ 无法连接到 AI 服务\n\n请检查:\n• 网络连接是否正常\n• 是否需要配置代理\n• 防火墙设置",aiResponseError:"⚠️ AI 返回了无效的响应\n\n请重试,如果问题持续请联系支持",AI_TIMEOUT_ERROR:"请求超时,请稍后重试。",AI_QUOTA_EXCEEDED:"API 配额不足或余额已用完,请检查您的账户。",AI_PERMISSION_DENIED:"权限被拒绝 (403),请检查 API Key 权限设置。",AI_NOT_FOUND:"资源不存在 (404),请检查端点 URL 或模型名称。",AI_SERVICE_UNAVAILABLE:"AI 服务不可用 (503),无可用渠道。",AI_UNKNOWN_ERROR:"发生未知 AI 错误。",AI_DAILY_LIMIT_EXCEEDED:"今天的 AI 使用次数已达上限,请明天再试,或请管理员调整额度。",AI_OUTPUT_TRUNCATED:"AI 思考过程过长,输出额度用尽仍未给出结果。请重试,或把图片裁剪到只包含一道题。",AI_IMAGE_NOT_SUPPORTED:"当前 AI 模型不支持图片输入。请换用支持图片的模型,或改用文字录入。",SPLIT_NO_QUESTIONS:"没有识别到题目。请检查照片或文字后重试,也可以改用手工框选。",IMPORT_BATCH_INVALID_INPUT:"提交内容无效,请重试。",IMPORT_BATCH_INVALID_DRAFT:"题目列表保存失败,请刷新页面后重试。",IMPORT_BATCH_NOT_FOUND:"这批题目不存在或已被放弃。",IMPORT_BATCH_VERSION_CONFLICT:"这批题目已在其他页面修改,已载入最新内容。",IMPORT_BATCH_NOT_EDITABLE:"这批题目已开始解析,不能再修改分题。",IMPORT_BATCH_EMPTY:"没有要处理的题目,请至少选择一道题。",IMPORT_BATCH_IMAGE_MISSING:"有已选的题还没有图片区域,请先在原图上框选。",IMPORT_BATCH_TOO_LARGE:"题目图片过大,请减少一次处理的题数。",IMPORT_BATCH_INVALID_TEXT_FIX:"要修正的题目无效,请刷新页面后重试。",IMPORT_BATCH_TEXT_FIX_FAILED:"修正文字失败,已保留原文,请重试。",IMPORT_BATCH_START_FAILED:"提交失败,题目尚未开始解析,预览内容已保留,请重试。",IMPORT_BATCH_TEXT_TOO_LONG:"文字过长(最多 20000 字、1000 行),请分几次录入。",IMPORT_BATCH_NOT_RETRYABLE:"这批题目暂时不能重试。",IMPORT_BATCH_NOTHING_TO_RETRY:"没有失败的题需要重试。",IMPORT_TASK_NOT_FOUND:"识别任务不存在或已被丢弃。",IMPORT_TASK_BUSY:"任务正在保存,请稍候。",IMPORT_TASK_NOT_RETRYABLE:"该任务暂时不能重试。",SERVER_RESTARTED:"服务重启导致处理中断,请重试。",GENERIC_ERROR:"生成题目失败,请稍后重试。",reanswer:{default:"重新解题失败",authError:"⚠️ AI 密钥配置错误\n\n请检查设置中的 API Key 是否正确",connectionFailed:"⚠️ AI 服务连接失败\n\n可能原因:\n• 网络连接问题\n• AI 服务暂时不可用\n• 需要代理访问\n\n请稍后重试",responseError:"⚠️ AI 返回格式错误\n\n请重试,如果问题持续请联系支持"}},admin:{title:"用户管理",users:"用户列表",role:"角色",status:"状态",actions:"操作",active:"正常",disabled:"已禁用",disable:"禁用",enable:"启用",delete:"删除用户",confirmDisable:"确定要禁用此用户吗?",confirmEnable:"确定要启用此用户吗?",confirmDelete:"确定要删除此用户吗?所有数据将被永久删除。",allowRegistration:"允许新用户注册",allowRegistrationDesc:"关闭后,新用户将无法注册账号",aiDailyLimit:"每人每日 AI 次数",aiDailyLimitDesc:"普通用户每天可发起的 AI 操作次数(识别、讲解、举一反三、判题、组卷等),0 表示不限制;管理员不受限制。",aiDailyLimitSaved:"每日 AI 次数已保存",aiConcurrencyLimit:"同一模型 AI 并发上限",aiConcurrencyLimitDesc:"同一模型同时进行的 AI 调用数量(1~100,默认 5),超出的调用排队等待,避免服务商返回 429 限流错误。",aiConcurrencyLimitSaved:"AI 并发上限已保存",aiUsageToday:"今日 AI",debugLog:{title:"调试日志",desc:"遇到问题时:打开调试开关,复现问题,再导出调试日志发送给作者,方便排查。",enable:"调试模式",enabledHint:"自 {since} 起记录中,将于 {until} 自动关闭。",disabledHint:"未开启。开启时会清空上一轮记录的日志。",entries:"已记录 {count} 条",dropped:"(已丢弃最早的 {count} 条)",export:"导出调试日志",clear:"清空",privacyNote:"导出时已自动去除 API Key、密码和令牌,但日志中仍可能包含题目内容和用户名。日志只保存在内存中,服务重启后清空。",enabled:"调试模式已开启,请现在复现问题",disabled:"调试模式已关闭",cleared:"调试日志已清空",exported:"调试日志已导出",failed:"操作失败"},cnmTags:{title:"人教版课标知识点",desc:"将人教版课标知识点(以数学为主,也包含语文、英语、物理等)导入为独立的标签体系。导入后创建错题本时可选择「人教版课标体系」。",downloadHint:"请先下载所需的 JSON 文件(topics.json,约 2.6MB),再在下方选择导入:",sourceLabel:"数据来源:",status:"已导入 {count} 个知识点",notImported:"尚未导入",select:"选择 topics.json 并导入",importing:"导入中…",imported:"导入完成:新增 {created} 个,已存在 {skipped} 个",invalidFile:"文件不是有效的 topics.json",failed:"导入失败",note:"增量导入,可重复执行;不会改动内置标签体系和已有题目。"},admin:"管理员",user:"普通用户",createdAt:"注册时间",stats:"统计",nameEmail:"姓名/邮箱",errors:"错题",practiceCount:"练习",dashboard:{title:"管理员仪表盘",subtitle:"查看全站用户和错题统计",totalUsers:"总用户数",totalErrors:"总错题数",totalPractice:"总练习数",totalNotebooks:"总错题本数",recentTrend:"最近 7 天录入趋势",subjectDistribution:"学科错题分布",masteryDistribution:"掌握度分布",masteryNew:"待复习",masteryReviewing:"复习中",masteryMastered:"已掌握",userList:"用户列表",userListDesc:"所有注册用户的错题录入情况",userName:"用户名",email:"邮箱",notebooks:"错题本",errors:"错题",practice:"练习",status:"状态",registeredAt:"注册时间",actions:"操作",viewDetail:"查看详情",recent7Days:"近7天录入",recentErrors:"最近录入的错题",userNotebooks:"错题本列表",noData:"暂无数据",retry:"重试",questionCount:"{count} 题",noQuestionText:"(无题目文本)"}},auth:{initialize:{pageTitle:"创建管理员",title:"创建管理员账号",desc:"这是全新安装。设置管理员的邮箱和密码,以后用它登录。初始化链接只能使用一次。",name:"名称",defaultName:"管理员",passwordHint:"至少 6 位,不能使用旧的默认密码 123456。",passwordMismatch:"两次密码不一致",submit:"创建并登录",submitting:"创建中...",invalidLink:"初始化链接无效或已使用。请确认链接复制完整,或使用启动日志中最新的链接。",alreadyInitialized:"已经创建过管理员账号,请直接登录。",emailExists:"该邮箱已被其他账号使用。",failed:"创建管理员失败,请重试。",signInFailed:"管理员账号已创建,但自动登录失败,请手动登录。",goLogin:"去登录"},setupGuide:{title:"尚未创建管理员",intro:"首次使用需要打开安装时生成的一次性初始化链接,创建管理员账号:",desktop:"桌面版、安卓单机版:首次启动时自动打开;飞牛OS:用安装向导中设置的管理员登录。",docker:"Docker:在容器日志中查找包含 /initialize?token= 的链接(docker logs wrong-notebook)。",npm:"npm、源码运行:链接打印在启动服务的终端里。",tokenFile:"也可以自行打开 /initialize?token=令牌,令牌保存在数据目录的 config/setup-token 文件中。",docs:"查看安装说明"},email:"邮箱",password:"密码",confirmPassword:"确认密码",name:"姓名",educationStage:"教育阶段",enrollmentYear:"入学年份",selectStage:"请选择",primary:"小学",juniorHigh:"初中",seniorHigh:"高中",university:"大学",login:{title:"登录到错题本",failed:"登录失败,请检查邮箱和密码",tooManyAttempts:"密码错误次数过多,请 15 分钟后再试",error:"发生错误,请重试",loggingIn:"登录中...",action:"登录",noAccount:"还没有账号?",registerNow:"立即注册",registrationClosed:"需要账号?请联系管理员开启注册。",firstUseTitle:"首次使用?",firstUseAccount:"管理员账号通过安装时生成的一次性初始化链接创建。早期版本安装的实例默认管理员为 {email},初始密码见使用文档。",firstUseNext:"其他人的账号,由管理员开启注册后自行注册。",firstUseDocs:"查看使用文档"},register:{tooManyAttempts:"注册尝试次数过多,请稍后再试",title:"注册新账号",passwordMismatch:"两次密码不一致",emailExists:"该邮箱已被注册",success:"注册成功!请登录",failed:"注册失败",disabled:"注册已关闭",disabledMessage:"管理员已关闭新用户注册功能。如需账号,请联系管理员。",backToLogin:"返回登录",registering:"注册中...",action:"注册",hasAccount:"已有账号?",loginHere:"去登录"}},printPreview:{title:"打印预览",questionCount:"{count} 道题",imageScale:"图片比例",showQuestionText:"原题文字",showAnswers:"显示答案",showAnalysis:"显示解析",showTags:"显示知识点",printButton:"打印 / 保存 PDF",questionNumber:"题目 {num}",source:"来源 {id}",paperLevel:"试卷等级",knowledgePoints:"知识点",selectItems:"选择题目",selectAll:"全选",clearSelection:"清空选择",referenceAnswer:"参考答案",analysis:"解析",noItems:"没有符合条件的错题",noSelection:"当前未选择任何题目"},modelSelector:{modelName:"模型名称",selectFromList:"从列表中选择",selectModel:"选择模型",customInput:"自定义输入...",enterApiKeyFirst:"请先填写API Key",noVisionModel:"未找到支持vision的模型,请手动输入",fetchFailed:"获取模型列表失败",enterManually:",请手动输入"},pagination:{showing:"显示第 {start}-{end} 条,共 {total} 条",first:"首页",prev:"上一页",next:"下一页",last:"末页"},shortId:{label:"ID",copy:"复制 ID",copied:"已复制 ID",locateTitle:"按 ID 定位题目",locatePlaceholder:"输入 6 位题目 ID",locate:"定位",notFound:"没有找到这个 ID 对应的题目",invalid:"题目 ID 为 6 位字母或数字",searchHint:"输入 6 位题目 ID 后按回车可直接打开该题"},mastery:{probability:"已掌握概率",notEvaluated:"尚未评估",estimated:"估算",aiEvaluated:"AI 评估",evaluatedAt:"评估时间",pending:"正在重新评估…",history:"举一反三记录",noHistory:"暂无举一反三记录",result:"结果",date:"时间",difficulty:"难度",source:"来源",results:{correct:"做对",wrong:"做错",not_attempted:"不会做"},sources:{practice:"单题练习",manual:"手动录入",exam:"试卷",duplicate_import:"重复导入做错"},addRecord:"录入结果",recordDate:"日期",deleteRecord:"删除记录",deleteRecordConfirm:"删除这条记录?掌握概率会重新评估。",deleteRecordFailed:"删除记录失败",markResult:"这道题做得怎么样?",suggested:"根据你的答案预选",saveResult:"保存结果",resultSaved:"结果已保存,稍后会重新评估掌握概率",resultSaveFailed:"保存结果失败",viewQuestion:"查看题目",thresholdHint:"掌握概率达到 {threshold}% 即视为已掌握(可在设置中调整)",thresholdLabel:"已掌握阈值",thresholdDescription:"默认 50%。有举一反三记录的错题,掌握概率达到此值即视为「已掌握」。仅对当前账号生效。支持 1%~100% 的整数。",thresholdInvalid:"请输入 1~100 之间的整数。",thresholdLoadFailed:"读取已保存的阈值失败,请重试。"},importFlow:{imported:"已导入错题本「{notebook}」,题目 ID:{id}",duplicate:"当前题目重复,已在已有题目的举一反三记录中记录本次相同题目的做错信息,未重复导入。",viewItem:"查看题目",continueUpload:"继续上传",confirmBeforeImport:"导入前人工确认",confirmBeforeImportDesc:"关闭时,识别完成的题目会直接保存到错题本。",enableGeogebra:"GeoGebra 动态演示",enableGeogebraDesc:"开启后,题目页面会显示 GeoGebra 动态演示区域,可由 AI 为题目生成交互式图形。",enableSvgAnimation:"SVG 动画讲解",enableSvgAnimationDesc:"开启后,题目页面会显示 SVG 动画讲解区域,可由 AI 为题目生成分步骤的动画讲解。",preferenceSaved:"设置已保存",preferenceSaveFailed:"保存设置失败",thresholdLabel:"题目判重相似度阈值",thresholdDescription:"默认 90%。比较时会忽略 AI 附加的图示描述和填空横线长短。相似度严格大于此值时不再导入,并记录本次做错。支持 1%~100%,最多两位小数;设为 100% 时不自动判重。",thresholdInvalid:"请输入 1~100 之间的数值,最多两位小数。",thresholdLoadFailed:"读取已保存的阈值失败,请重试。",saveThreshold:"保存阈值",retryLoad:"重新加载"},questionSimilarity:{title:"比较相似度",description:"选择两道题,使用与导入判重相同的方法比较完整题干。本次比较不会新增做错记录。",selectTwo:"请选择恰好两道题进行相似度比较。",selectQuestion:"选择题目 {id}",score:"题目相似度",threshold:"当前判重阈值:{threshold}%",duplicate:"按当前阈值,这两道题会被判为重复题目。",different:"按当前阈值,这两道题会分别导入。",missingText:"所选题目缺少可比较的题干,请先补充题目文字。",failed:"相似度比较失败,请重试。",retry:"重新比较",question:"第 {index} 道题"},importTasks:{entry:"识别任务",entryActive:"识别中 {count}",entryUnread:"{count} 个新结果",title:"识别任务",description:"照片上传后在服务器上识别。可以离开页面或锁屏,结果会一直保留在这里,直到你处理。",empty:"暂无识别任务",backHome:"返回上传",unread:"新",uploadedHint:"已上传,服务器正在识别,可以离开此页面继续使用应用。",viewTasks:"查看识别任务",continueReview:"继续校对",viewItem:"查看错题",retry:"重试",discard:"丢弃",discardConfirm:"确定丢弃这个识别任务?未校对的结果将被删除。",discarded:"已丢弃",retried:"正在重试",notFound:"任务不存在或已被丢弃。",finishedToast:"识别已完成,可在「识别任务」中查看。",createdAt:"上传于 {time}",attempts:"第 {count} 次",stageEstimate:"按阶段估算,不是精确进度",retentionHint:"待校对和失败的任务会一直保留到你处理;已保存的任务保留 7 天。",status:{analyzing:"识别中",review:"待校对",saving:"保存中",saved:"已保存",failed:"失败"},mode:{review:"校对后保存",auto:"自动保存"},savedTo:"已保存到「{notebook}」,题目 ID:{id}",duplicateSaved:"重复题:已记入原题的做错记录",itemDeleted:"已保存,但该错题之后已被删除",timings:{read:"读取",convert:"转换",crop:"裁剪",compress:"压缩",upload:"上传",receive:"接收",analyze:"AI 识别",save:"保存"},elapsed:"用时 {time}"},importBatch:{title:"多题录入",batchOf:"一批 {count} 题",source:{text:"文字",image:"照片"},phase:{splitting:"正在分题…",failed:"分题失败",draft:"待确认分题",processing:"解析中",attention:"需要处理",done:"已完成"},splittingHint:"AI 正在识别题目,可以离开此页面;结果会保留在「识别任务」中。",detected:"识别出 {count} 题",selected:"已选 {count} 题",selectAll:"全选",selectNone:"全不选",ignoredTitle:"未计入题目的内容({count})",ignoredHint:"标题、姓名/日期栏等不会作为题目保存;如有遗漏,可加为题目。",addAsQuestion:"加为题目",material:"公共材料",materialHint:"解析时放在题干前",removeMaterial:"不使用公共材料",question:"第 {index} 题",originalLabel:"原题号 {label}",edit:"编辑",collapse:"完成",questionText:"题目文字",splitHere:"在光标处拆分",splitHint:"把光标放到第二道题的开头,再点「在光标处拆分」。",mergeUp:"与上一题合并",moveUp:"上移",moveDown:"下移",delete:"删除",duplicate:"复制一题",undo:"撤销",adjustRegion:"调整区域",locate:"在原图上框选",hasFigure:"含配图",fixText:{selected:"AI 修正文字({count} 题)",one:"AI 修正文字",running:"正在修正文字…",hint:"删去混入的草稿、修正 OCR 错字,数字和算式保持原样;修正结果需要你逐题确认。",pending:"待确认修正",title:"AI 修正建议",legend:"删除线为删去的内容,高亮为改动后的内容",uncertain:"拿不准、已保留原样:",accept:"接受修正",reject:"保留原文",acceptAll:"全部接受({count})",done:"已为 {count} 题生成修正建议,请在下方核对后接受。",unchanged:"{count} 题无需修正。",failed:"{count} 题修正失败,已保留原文。",pendingHint:"还有 {count} 题的修正建议未接受,开始后这些题按原文解析。"},flags:{unclear:"部分文字看不清,请核对",partial:"题目可能不完整",unlocated:"未定位,请在原图上框选"},warnings:{blurry:"图片可能不清晰,请仔细核对识别结果。",partial:"照片可能只拍到部分试卷。",truncated:"AI 输出不完整,后面的题可能缺失,请核对。",tooMany:"题目过多,只保留前 60 题。"},save:{saved:"已保存",dirty:"有未保存的修改",saving:"保存中…",error:"保存失败,将自动重试"},conflict:"这批题目已在其他页面修改,已载入最新内容。",conflictKept:"已载入其他页面保存的版本。你在本页的修改已保留一份,可以恢复。",restoreMine:"恢复我的修改",discardMine:"放弃我的修改",startAuto:"解析并导入 {count} 题",startReview:"解析 {count} 题,稍后逐题校对",startHintAuto:"AI 逐题解析后直接保存到错题本;重复题会记入原题的做错记录。",startHintReview:"已开启「导入前人工确认」:AI 解析完成后逐题校对再保存。",nothingSelected:"请至少选择一道题",needsRegion:"已选的题中有 {count} 道还没有在原图上框选",cropping:"正在裁剪题目图片 {done}/{total}…",uploadingImages:"正在上传 {count} 张题目图片({size})…",imageTextHint:"这里的文字仅用于辨认题目;开始后会按每道题在原图上的区域重新识别。",submitting:"正在提交…",discard:"放弃这批",discardConfirm:"确定放弃这批题目?已导入的错题不受影响,未完成的结果将被删除。",discarded:"已放弃",progress:"已完成 {done}/{total}",counts:{saved:"已导入 {count}",duplicate:"重复 {count}",review:"待校对 {count}",failed:"失败 {count}",active:"进行中 {count}"},itemStatus:{analyzing:"解析中",saving:"保存中",review:"待校对",saved:"已导入",duplicate:"重复题,已记入原题",failed:"失败",deleted:"已导入,之后被删除"},review:"校对",viewItem:"查看",retryFailed:"重试失败的 {count} 题",retrySplit:"重新分题",manualFallback:"也可以返回改用「手工框选」。",confirmAll:"按识别结果导入其余 {count} 题",confirmAllDone:"已导入 {count} 题",leaveHint:"已提交,服务器正在逐题解析,可以离开此页面;进度保留在「识别任务」中。",notFound:"这批题目不存在或已被放弃。",backToBatch:"返回本批题目",emptyDraft:"没有题目了。可以撤销删除,或放弃这批。",showImage:"查看原图",hideImage:"收起原图",regionDialogTitle:"题目区域",regionDialogHint:"拖动框住整道题,包括选项、小问和配图。",regionTab:"区域 {index}",addRegion:"添加区域",removeRegion:"删除此区域",saveRegion:"使用此区域",addQuestion:"添加一题",open:"打开"},batchImport:{singleMode:"单题裁剪",multiMode:"手工框选",autoMode:"自动分题",autoHint:"可先框出试卷区域(默认整张图)。AI 自动找出每道题及其位置,确认后才逐题解析。",autoStart:"自动识别题目",hint:"在图片上拖动,为每道题画一个框;一个框对应一道题。",regionCount:"已框选 {count} 题",noRegions:"请至少框选一道题",clear:"清空",removeRegion:"删除第 {index} 个框",start:"导入 {count} 道题",title:"批量导入",summary:"已完成 {done}/{total},失败 {failed}",status:{pending:"等待中",uploading:"上传中…",analyzing:"识别中…",saving:"保存中…",success:"已导入",failed:"失败"},retry:"重试",retryFailed:"重试失败的题",uploaded:"已上传 {done}/{total},全部上传完成前请勿离开此页面。",finish:"完成",question:"第 {index} 题"},exam:{nav:"错题试卷",title:"错题试卷",subtitle:"从错题中随机抽题,用举一反三生成一套可打印的测试试卷。",create:"新建试卷",createTitle:"生成试卷",list:"我的试卷",empty:"还没有试卷。",notebooks:"错题本",selectAll:"全选",tags:"知识点(可选)",tagsPlaceholder:"只抽取带这些知识点的题目",scope:"题目范围",scopes:{unmastered:"未掌握",mastered:"已掌握",all:"全部"},pickRule:"抽题规则",pickRules:{least_practiced:"优先练习较少",random:"完全随机"},pickRuleHints:{least_practiced:"举一反三记录越少的题目越优先抽到;次数相同时优先抽取未出现在已有试卷中的题目,仍相同时随机。",random:"所有符合条件的题目被抽到的机会相同。"},count:"题目数量",difficulty:"难度",titleLabel:"试卷标题(可选)",generate:"生成试卷",creating:"正在创建…",noSource:"没有符合条件的错题。",fewerThanRequested:"符合条件的错题只有 {actual} 道,试卷共 {actual} 题。",noNotebook:"请至少选择一个错题本",status:{generating:"生成中",ready:"已生成",partial:"部分失败",failed:"生成失败",completed:"已完成"},progress:"已生成 {ready}/{total}",questionCount:"共 {count} 题",recorded:"已录入结果",notRecorded:"未录入结果",source:"来源",sourceDeleted:"原题已删除",questionFailed:"生成失败",questionPending:"生成中…",retryFailed:"重新生成失败的题",regenerateQuestion:"重新生成题目",regenerateAnswer:"重新生成解答",regenerating:"生成中…",regenerateQuestionConfirm:"将由 AI 重新生成一道新题及其答案和解析,并替换当前题目。确定继续吗?",regenerateAnswerConfirm:"将由 AI 重新生成本题的答案和解析,题目不变,已录入的结果保留。确定继续吗?",regenerateHasResults:"本题已录入结果,只能重新生成解答",regenerateFailed:"重新生成失败,请稍后重试",print:"打印 / 导出",delete:"删除",deleteConfirm:"确定删除这份试卷吗?已录入的结果仍保留在各题的举一反三记录中。",showAnswer:"答案",recordResults:"录入结果",takenAt:"考试日期",saveResults:"保存结果",resultsSaved:"结果已保存,稍后会重新评估掌握概率",resultsSaveFailed:"保存结果失败",recordHint:"每次保存都会新增一次作答记录,未选择结果的题目不记录",attemptLabel:"第 {n} 次",noResultSelected:"请至少为一道题选择结果",cancel:"取消",notFound:"试卷不存在",back:"返回",printTitle:"打印预览",includeAnswers:"包含答案页",answerSpace:"留白",answerSpaceAuto:"按题型自动",answerSpaceNone:"固定:不留白",answerSpaceSmall:"固定:小",answerSpaceMedium:"固定:中",answerSpaceLarge:"固定:大",answerSpaceAutoHint:"自动:填空、选择、判断题少留,解答题多留,每多一个小问再加一段。",questionAnswerSpace:"本题留白",questionAnswerSpaceSlider:"调整本题留白高度",decreaseAnswerSpace:"减小本题留白",increaseAnswerSpace:"增大本题留白",resetQuestionAnswerSpace:"恢复默认",resetAllQuestionAnswerSpaces:"重置单题留白",answerSpaceSaveFailed:"留白保存失败,下次打开会恢复原值,请检查网络后重新调整。",printNow:"打印",downloadHtml:"下载 HTML",nameLine:"姓名",dateLine:"日期",scoreLine:"得分",answerKey:"参考答案与解析",answerLabel:"答案",analysisLabel:"解析",sourceLabel:"来源 ID",notReadyHint:"生成失败的题目不会出现在打印稿中。",uniformFigureScale:"统一配图比例",uniformFigureScaleSlider:"统一调整全卷配图比例",uniformFigureScaleHint:"范围 10%~200%,默认 100%。保存后统一应用到本卷所有配图题目并用于打印。",uniformFigureAlign:"统一配图位置"},figure:{alt:"题目配图",scale:"配图显示比例",scaleSlider:"调整配图比例",scaleHint:"范围 10%~200%,默认 100%。保存后同时用于本题的显示和文字打印;放大以可用宽度为上限。",resetScale:"恢复 100%",align:"配图显示位置",aligns:{left:"居左",center:"居中",right:"居右"},regenerate:"AI 重新生成配图",regenerating:"生成配图中…",noFigure:"AI 判断本题没有配图",failed:"生成配图失败",noImage:"没有原题图片,无法生成配图"},svgAnimation:{title:"SVG 动画讲解",alt:"动画讲解",hint:"AI 将按解题思路分步骤生成中文 SVG 动画讲解",otherLanguageAvailable:"已有英文版动画讲解,切换为英文界面即可查看;也可在此生成中文版。",generate:"生成动画讲解",generating:"生成动画中,约需几分钟…",regenerate:"重新生成",replay:"重播",play:"播放",pause:"暂停",progress:"动画进度",fullscreen:"全屏",exitFullscreen:"退出全屏",delete:"删除",confirmDelete:"确定删除中文版 SVG 动画讲解吗?英文版不受影响,删除后无法恢复。",deleteFailed:"删除动画讲解失败",failed:"生成动画讲解失败,请稍后重试",noQuestionText:"题目文字为空,无法生成动画讲解",invalid:"AI 未返回有效的动画,请重试",voiceOn:"开启语音讲解",voiceOff:"关闭语音讲解",voiceRate:"朗读语速",voiceUnsupported:"当前浏览器没有该语言的语音,无法朗读讲解",voiceRegenerate:"重新生成语音",voiceRegenerating:"正在生成语音…",voiceRegenerateHint:"重新合成这个动画的云端语音,可在「后台任务」中查看进度,会消耗语音服务商的额度",voiceRegenerateDone:"语音已重新生成",voiceRegenerateFailed:"重新生成语音失败,请稍后再试",voiceRegenerateDisabled:"云端语音已关闭",narrationGenerate:"补充讲解稿",narrationRegenerate:"重写讲解稿",narrationGenerating:"生成讲解稿中…",narrationHint:"由 AI 为当前动画写语音讲解稿,画面保持不变",narrationDone:"讲解稿已更新,点击播放器上的喇叭即可收听",narrationFailed:"生成讲解稿失败,请稍后重试",narrationInvalid:"AI 未返回有效的讲解稿,请重试"},backgroundTasks:{title:"后台任务",description:"识别题目、AI 生成等耗时事务的进度。离开页面后,事务仍会在服务器上继续执行。",empty:"当前没有后台任务",progress:"{done} / {total}",failedCount:"失败 {count} 个",startedAt:"开始于 {time}",elapsed:"用时 {time}",view:"查看",clearFinished:"清除已结束",retentionHint:"已结束的事务保留 30 分钟;服务重启后列表清空。",status:{running:"进行中",succeeded:"已完成",failed:"失败"},kinds:{analyze:"题目导入中(AI 识别)",split:"多题分题中(AI)",fix_text:"修正题目文字(AI)",batch_upload:"批量上传识别",data_import:"导入备份数据",svg_animation:"SVG 动画讲解生成",svg_narration:"动画语音讲解稿生成",tts_voice:"动画语音生成",reanswer:"重新生成解答",fix_latex:"修复 LaTeX",figure:"重新生成配图",geogebra:"生成 GeoGebra 演示",retag:"重新生成知识点",retag_notebook:"错题本批量重新生成知识点",practice:"生成举一反三题目",exam:"生成试卷"},errors:{NO_VALID_ANIMATION:"AI 未返回有效的动画",ALL_FAILED:"全部失败",NO_QUESTION_TEXT:"题目文字为空",NO_TAGS_SELECTED:"AI 没有选出知识点",NO_AVAILABLE_TAGS:"没有可用的知识点",SERVER_RESTARTED:"服务重启,任务已中断,请重新操作"}},replaceImage:{replace:"替换原题图片",view:"查看原题图片",hide:"隐藏原题图片",add:"上传原题图片",uploading:"上传中…",confirm:"确定替换原题图片吗?原图片会被覆盖,无法恢复。",done:"已替换原题图片。如需按新图片重绘配图,请点「AI 重新生成配图」。",invalid:"请选择 PNG、JPEG、WebP 或 GIF 图片",failed:"替换图片失败"},reanswerItem:{button:"重新生成完整解答",running:"生成解答中…",confirm:"将由 AI 重新生成完整的答案和解析,并覆盖当前内容;知识点、错误解答和错因分析保持不变。确定继续吗?",failed:"重新生成解答失败,请稍后重试",noQuestionText:"题目文字为空,无法生成解答"},fixLatex:{button:"修复 LaTeX",running:"修复公式中…",issuesFound:"检测到 {count} 处 LaTeX 问题",noIssues:"未发现 LaTeX 语法错误",fixedAll:"已修复以下内容中的公式:{fields}",fixedPartly:"已修复以下内容中的公式:{fields}。仍有 {count} 处无法自动修复,请手工编辑。",notFixed:"AI 未能自动修复公式,已保留原内容,请手工编辑。",failed:"修复 LaTeX 失败,请稍后重试",fields:{questionText:"题目",answerText:"答案",analysis:"解析",wrongAnswerText:"错误解答",mistakeAnalysis:"错因分析"}},markdownEditor:{modeLabel:"编辑视图",source:"源代码",preview:"预览",empty:"暂无内容",doubleClickToEdit:"双击切换到源代码编辑"},directEntry:{title:"直接录入错题内容(支持 Markdown + LaTeX)",reset:"重置",edit:"编辑",preview:"预览",saving:"保存中...",save:"直接保存",hint:"填写题目和答案后直接保存,无需 AI 分析 · Ctrl+Enter 快捷保存",gradeSemesterPlaceholder:"如:初二上学期",questionPlaceholder:"输入题目内容...\n支持 Markdown 和 LaTeX 公式\n\n示例:\n# 题目一\n\n已知 $f(x) = x^2 + 2x + 1$,求 $f(3)$ 的值。\n\n**解题要求:**\n1. 写出解题步骤\n2. 给出最终答案",answerPlaceholder:"输入参考答案...\n\n示例:\n$f(3) = 3^2 + 2 \\times 3 + 1 = 9 + 6 + 1 = 16$",analysisPlaceholder:"输入解题分析...\n\n示例:\n这是一个**一元二次函数**求值问题。\n\n将 $x=3$ 代入函数表达式:\n$$f(3) = 3^2 + 2 \\times 3 + 1 = 16$$",wrongAnswerPlaceholder:"如果有错误解答可以粘贴在这里,没有可留空",mistakeAnalysisPlaceholder:"分析错误可能发生在哪一步、为什么错..."},geogebra:{title:"GeoGebra 动态演示",generate:"生成演示",analyzing:"AI 分析中...",hint:"AI 将判断本题是否可以用 GeoGebra 进行动态演示,如适合则自动生成交互式图形",notSuitable:"该题目不适合用 GeoGebra 演示",analyzeFailed:"分析失败,请稍后重试",authFailed:"AI 认证失败,请检查设置",connectionFailed:"AI 连接失败,请检查网络",answerRequired:"请先生成或输入答案",notLoaded:"GeoGebra 未正确加载",initFailed:"GeoGebra 初始化失败",scriptFailed:"无法加载 GeoGebra 组件",regenerate:"重新生成",reset:"重置",enlarge:"放大",shrink:"缩小",loading:"加载 GeoGebra...",delete:"删除",confirmDelete:"确定删除已生成的 GeoGebra 动态演示吗?删除后无法恢复。",deleteFailed:"删除 GeoGebra 演示失败"},difficulty:{label:"难度",unrated:"未评级",starsLabel:"{n} 星",setStars:"设为 {n} 星",clearHint:"再次点击当前星级可清除",saveFailed:"保存难度失败"},retag:{notebookButton:"重新识别知识点和难度",notebookConfirm:"AI 将根据当前知识点库,为本错题本中的每道题重新选择知识点并评定难度星级:替换原有系统标签和星级,保留你添加的自定义标签。是否继续?",progress:"正在重新识别知识点和难度:{done}/{total}",finished:"知识点和难度已重新识别:成功 {success} 道,失败 {failed} 道",empty:"错题本中还没有题目",itemButton:"AI 重新识别",itemRunning:"生成中…",itemFailed:"重新识别知识点和难度失败",noTags:"AI 未能从知识点库中找到匹配的知识点",suggestButton:"AI 识别标签",suggestRunning:"识别中…"}}}])},368114,a=>{let b,c,d,e,f;var g,h=a.i(298621);let i=(a=new Map,b=null,c)=>({nextPart:a,validators:b,classGroupId:c}),j=[],k=(a,b,c)=>{if(0==a.length-b)return c.classGroupId;let d=a[b],e=c.nextPart.get(d);if(e){let c=k(a,b+1,e);if(c)return c}let f=c.validators;if(null===f)return;let g=0===b?a.join("-"):a.slice(b).join("-"),h=f.length;for(let a=0;a<h;a++){let b=f[a];if(b.validator(g))return b.classGroupId}},l=(a,b)=>{let c=i();for(let d in a)m(a[d],c,d,b);return c},m=(a,b,c,d)=>{let e=a.length;for(let f=0;f<e;f++)n(a[f],b,c,d)},n=(a,b,c,d)=>{"string"==typeof a?o(a,b,c):"function"==typeof a?p(a,b,c,d):q(a,b,c,d)},o=(a,b,c)=>{(""===a?b:r(b,a)).classGroupId=c},p=(a,b,c,d)=>{s(a)?m(a(d),b,c,d):(null===b.validators&&(b.validators=[]),b.validators.push({classGroupId:c,validator:a}))},q=(a,b,c,d)=>{let e=Object.entries(a),f=e.length;for(let a=0;a<f;a++){let[f,g]=e[a];m(g,r(b,f),c,d)}},r=(a,b)=>{let c=a,d=b.split("-"),e=d.length;for(let a=0;a<e;a++){let b=d[a],e=c.nextPart.get(b);e||(e=i(),c.nextPart.set(b,e)),c=e}return c},s=a=>"isThemeGetter"in a&&!0===a.isThemeGetter,t=[],u=(a,b,c,d,e)=>({modifiers:a,hasImportantModifier:b,baseClassName:c,maybePostfixModifierPosition:d,isExternal:e}),v=/\s+/,w=a=>{let b;if("string"==typeof a)return a;let c="";for(let d=0;d<a.length;d++)a[d]&&(b=w(a[d]))&&(c&&(c+=" "),c+=b);return c},x=[],y=a=>{let b=b=>b[a]||x;return b.isThemeGetter=!0,b.themeKey=a,b},z=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,A=/^\((?:(\w[\w-]*):)?(.+)\)$/i,B=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,C=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,D=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,E=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/,F=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,G=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,H=a=>B.test(a),I=a=>!!a&&!Number.isNaN(Number(a)),J=a=>!!a&&Number.isInteger(Number(a)),K=a=>a.endsWith("%")&&I(a.slice(0,-1)),L=a=>C.test(a),M=()=>!0,N=a=>D.test(a)&&!E.test(a),O=()=>!1,P=a=>F.test(a),Q=a=>G.test(a),R=a=>!U(a)&&!aa(a),S=a=>a.startsWith("@container")&&("/"===a[10]&&void 0!==a[11]||"s"===a[11]&&void 0!==a[16]&&a.startsWith("-size/",10)||"n"===a[11]&&void 0!==a[18]&&a.startsWith("-normal/",10)),T=a=>ai(a,am,O),U=a=>z.test(a),V=a=>ai(a,an,N),W=a=>ai(a,ao,I),X=a=>ai(a,aq,M),Y=a=>ai(a,ap,O),Z=a=>ai(a,ak,O),$=a=>ai(a,al,Q),_=a=>ai(a,ar,P),aa=a=>A.test(a),ab=a=>aj(a,an),ac=a=>aj(a,ap),ad=a=>aj(a,ak),ae=a=>aj(a,am),af=a=>aj(a,al),ag=a=>aj(a,ar,!0),ah=a=>aj(a,aq,!0),ai=(a,b,c)=>{let d=z.exec(a);return!!d&&(d[1]?b(d[1]):c(d[2]))},aj=(a,b,c=!1)=>{let d=A.exec(a);return!!d&&(d[1]?b(d[1]):c)},ak=a=>"position"===a||"percentage"===a,al=a=>"image"===a||"url"===a,am=a=>"length"===a||"size"===a||"bg-size"===a,an=a=>"length"===a,ao=a=>"number"===a,ap=a=>"family-name"===a,aq=a=>"number"===a||"weight"===a,ar=a=>"shadow"===a,as=(g=()=>{let a=y("color"),b=y("font"),c=y("text"),d=y("font-weight"),e=y("tracking"),f=y("leading"),g=y("breakpoint"),h=y("container"),i=y("spacing"),j=y("radius"),k=y("shadow"),l=y("inset-shadow"),m=y("text-shadow"),n=y("drop-shadow"),o=y("blur"),p=y("perspective"),q=y("aspect"),r=y("ease"),s=y("animate"),t=()=>["auto","avoid","all","avoid-page","page","left","right","column"],u=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],v=()=>[...u(),aa,U],w=()=>["auto","hidden","clip","visible","scroll"],x=()=>["auto","contain","none"],z=()=>[aa,U,i],A=()=>[H,"full","auto",...z()],B=()=>[J,"none","subgrid",aa,U],C=()=>["auto",{span:["full",J,aa,U]},J,aa,U],D=()=>[J,"auto",aa,U],E=()=>["auto","min","max","fr",aa,U],F=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],G=()=>["start","end","center","stretch","center-safe","end-safe"],N=()=>["auto",...z()],O=()=>[H,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...z()],P=()=>[h,H,"screen","full","dvw","lvw","svw","min","max","fit",...z()],Q=()=>[H,"screen","full","lh","dvh","lvh","svh","min","max","fit",...z()],ai=()=>[a,aa,U],aj=()=>[...u(),ad,Z,{position:[aa,U]}],ak=()=>["no-repeat",{repeat:["","x","y","space","round"]}],al=()=>["auto","cover","contain",ae,T,{size:[aa,U]}],am=()=>[K,ab,V],an=()=>["","none","full",j,aa,U],ao=()=>["",I,ab,V],ap=()=>["solid","dashed","dotted","double"],aq=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ar=()=>[I,K,ad,Z],as=()=>["","none",o,aa,U],at=()=>["none",I,aa,U],au=()=>["none",I,aa,U],av=()=>[I,aa,U],aw=()=>[H,"full",...z()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[L],breakpoint:[L],color:[M],container:[L],"drop-shadow":[L],ease:["in","out","in-out"],font:[R],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[L],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[L],shadow:[L],spacing:["px",I],text:[L],"text-shadow":[L],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",H,U,aa,q]}],container:["container"],"container-type":[{"@container":["","normal","size",aa,U]}],"container-named":[S],columns:[{columns:[I,"auto",U,aa,h]}],"break-after":[{"break-after":t()}],"break-before":[{"break-before":t()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:v()}],overflow:[{overflow:w()}],"overflow-x":[{"overflow-x":w()}],"overflow-y":[{"overflow-y":w()}],overscroll:[{overscroll:x()}],"overscroll-x":[{"overscroll-x":x()}],"overscroll-y":[{"overscroll-y":x()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:A()}],"inset-x":[{"inset-x":A()}],"inset-y":[{"inset-y":A()}],start:[{"inset-s":A(),start:A()}],end:[{"inset-e":A(),end:A()}],"inset-bs":[{"inset-bs":A()}],"inset-be":[{"inset-be":A()}],top:[{top:A()}],right:[{right:A()}],bottom:[{bottom:A()}],left:[{left:A()}],visibility:["visible","invisible","collapse"],z:[{z:[J,"auto",aa,U]}],basis:[{basis:[H,"full","auto",h,...z()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[I,H,"auto","initial","none",U]}],grow:[{grow:["",I,aa,U]}],shrink:[{shrink:["",I,aa,U]}],order:[{order:[J,"first","last","none",aa,U]}],"grid-cols":[{"grid-cols":B()}],"col-start-end":[{col:C()}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":B()}],"row-start-end":[{row:C()}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":E()}],"auto-rows":[{"auto-rows":E()}],gap:[{gap:z()}],"gap-x":[{"gap-x":z()}],"gap-y":[{"gap-y":z()}],"justify-content":[{justify:[...F(),"normal"]}],"justify-items":[{"justify-items":[...G(),"normal"]}],"justify-self":[{"justify-self":["auto",...G()]}],"align-content":[{content:["normal",...F()]}],"align-items":[{items:[...G(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...G(),{baseline:["","last"]}]}],"place-content":[{"place-content":F()}],"place-items":[{"place-items":[...G(),"baseline"]}],"place-self":[{"place-self":["auto",...G()]}],p:[{p:z()}],px:[{px:z()}],py:[{py:z()}],ps:[{ps:z()}],pe:[{pe:z()}],pbs:[{pbs:z()}],pbe:[{pbe:z()}],pt:[{pt:z()}],pr:[{pr:z()}],pb:[{pb:z()}],pl:[{pl:z()}],m:[{m:N()}],mx:[{mx:N()}],my:[{my:N()}],ms:[{ms:N()}],me:[{me:N()}],mbs:[{mbs:N()}],mbe:[{mbe:N()}],mt:[{mt:N()}],mr:[{mr:N()}],mb:[{mb:N()}],ml:[{ml:N()}],"space-x":[{"space-x":z()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":z()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],"inline-size":[{inline:["auto",...P()]}],"min-inline-size":[{"min-inline":["auto",...P()]}],"max-inline-size":[{"max-inline":["none",...P()]}],"block-size":[{block:["auto",...Q()]}],"min-block-size":[{"min-block":["auto",...Q()]}],"max-block-size":[{"max-block":["none",...Q()]}],w:[{w:[h,"screen",...O()]}],"min-w":[{"min-w":[h,"screen","none",...O()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[g]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh","none",...O()]}],"font-size":[{text:["base",c,ab,V]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[d,ah,X]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",K,U]}],"font-family":[{font:[ac,Y,b]}],"font-features":[{"font-features":[U]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[e,aa,U]}],"line-clamp":[{"line-clamp":[I,"none",aa,W]}],leading:[{leading:["none",f,...z()]}],"list-image":[{"list-image":["none",aa,U]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",aa,U]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ai()}],"text-color":[{text:ai()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ap(),"wavy"]}],"text-decoration-thickness":[{decoration:[I,"from-font","auto",aa,V]}],"text-decoration-color":[{decoration:ai()}],"underline-offset":[{"underline-offset":[I,"auto",aa,U]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:z()}],"tab-size":[{tab:[J,aa,U]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",aa,U]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",aa,U]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:aj()}],"bg-repeat":[{bg:ak()}],"bg-size":[{bg:al()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},J,aa,U],radial:["",aa,U],conic:["",J,aa,U]},af,$]}],"bg-color":[{bg:ai()}],"gradient-from-pos":[{from:am()}],"gradient-via-pos":[{via:am()}],"gradient-to-pos":[{to:am()}],"gradient-from":[{from:ai()}],"gradient-via":[{via:ai()}],"gradient-to":[{to:ai()}],rounded:[{rounded:an()}],"rounded-s":[{"rounded-s":an()}],"rounded-e":[{"rounded-e":an()}],"rounded-t":[{"rounded-t":an()}],"rounded-r":[{"rounded-r":an()}],"rounded-b":[{"rounded-b":an()}],"rounded-l":[{"rounded-l":an()}],"rounded-ss":[{"rounded-ss":an()}],"rounded-se":[{"rounded-se":an()}],"rounded-ee":[{"rounded-ee":an()}],"rounded-es":[{"rounded-es":an()}],"rounded-tl":[{"rounded-tl":an()}],"rounded-tr":[{"rounded-tr":an()}],"rounded-br":[{"rounded-br":an()}],"rounded-bl":[{"rounded-bl":an()}],"border-w":[{border:ao()}],"border-w-x":[{"border-x":ao()}],"border-w-y":[{"border-y":ao()}],"border-w-s":[{"border-s":ao()}],"border-w-e":[{"border-e":ao()}],"border-w-bs":[{"border-bs":ao()}],"border-w-be":[{"border-be":ao()}],"border-w-t":[{"border-t":ao()}],"border-w-r":[{"border-r":ao()}],"border-w-b":[{"border-b":ao()}],"border-w-l":[{"border-l":ao()}],"divide-x":[{"divide-x":ao()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ao()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ap(),"hidden","none"]}],"divide-style":[{divide:[...ap(),"hidden","none"]}],"border-color":[{border:ai()}],"border-color-x":[{"border-x":ai()}],"border-color-y":[{"border-y":ai()}],"border-color-s":[{"border-s":ai()}],"border-color-e":[{"border-e":ai()}],"border-color-bs":[{"border-bs":ai()}],"border-color-be":[{"border-be":ai()}],"border-color-t":[{"border-t":ai()}],"border-color-r":[{"border-r":ai()}],"border-color-b":[{"border-b":ai()}],"border-color-l":[{"border-l":ai()}],"divide-color":[{divide:ai()}],"outline-style":[{outline:[...ap(),"none","hidden"]}],"outline-offset":[{"outline-offset":[I,aa,U]}],"outline-w":[{outline:["",I,ab,V]}],"outline-color":[{outline:ai()}],shadow:[{shadow:["","inner","none",k,ag,_]}],"shadow-color":[{shadow:ai()}],"inset-shadow":[{"inset-shadow":["none",l,ag,_]}],"inset-shadow-color":[{"inset-shadow":ai()}],"ring-w":[{ring:ao()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ai()}],"ring-offset-w":[{"ring-offset":[I,V]}],"ring-offset-color":[{"ring-offset":ai()}],"inset-ring-w":[{"inset-ring":ao()}],"inset-ring-color":[{"inset-ring":ai()}],"text-shadow":[{"text-shadow":["none",m,ag,_]}],"text-shadow-color":[{"text-shadow":ai()}],opacity:[{opacity:[I,aa,U]}],"mix-blend":[{"mix-blend":[...aq(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":aq()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[I]}],"mask-image-linear-from-pos":[{"mask-linear-from":ar()}],"mask-image-linear-to-pos":[{"mask-linear-to":ar()}],"mask-image-linear-from-color":[{"mask-linear-from":ai()}],"mask-image-linear-to-color":[{"mask-linear-to":ai()}],"mask-image-t-from-pos":[{"mask-t-from":ar()}],"mask-image-t-to-pos":[{"mask-t-to":ar()}],"mask-image-t-from-color":[{"mask-t-from":ai()}],"mask-image-t-to-color":[{"mask-t-to":ai()}],"mask-image-r-from-pos":[{"mask-r-from":ar()}],"mask-image-r-to-pos":[{"mask-r-to":ar()}],"mask-image-r-from-color":[{"mask-r-from":ai()}],"mask-image-r-to-color":[{"mask-r-to":ai()}],"mask-image-b-from-pos":[{"mask-b-from":ar()}],"mask-image-b-to-pos":[{"mask-b-to":ar()}],"mask-image-b-from-color":[{"mask-b-from":ai()}],"mask-image-b-to-color":[{"mask-b-to":ai()}],"mask-image-l-from-pos":[{"mask-l-from":ar()}],"mask-image-l-to-pos":[{"mask-l-to":ar()}],"mask-image-l-from-color":[{"mask-l-from":ai()}],"mask-image-l-to-color":[{"mask-l-to":ai()}],"mask-image-x-from-pos":[{"mask-x-from":ar()}],"mask-image-x-to-pos":[{"mask-x-to":ar()}],"mask-image-x-from-color":[{"mask-x-from":ai()}],"mask-image-x-to-color":[{"mask-x-to":ai()}],"mask-image-y-from-pos":[{"mask-y-from":ar()}],"mask-image-y-to-pos":[{"mask-y-to":ar()}],"mask-image-y-from-color":[{"mask-y-from":ai()}],"mask-image-y-to-color":[{"mask-y-to":ai()}],"mask-image-radial":[{"mask-radial":[aa,U]}],"mask-image-radial-from-pos":[{"mask-radial-from":ar()}],"mask-image-radial-to-pos":[{"mask-radial-to":ar()}],"mask-image-radial-from-color":[{"mask-radial-from":ai()}],"mask-image-radial-to-color":[{"mask-radial-to":ai()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":u()}],"mask-image-conic-pos":[{"mask-conic":[I]}],"mask-image-conic-from-pos":[{"mask-conic-from":ar()}],"mask-image-conic-to-pos":[{"mask-conic-to":ar()}],"mask-image-conic-from-color":[{"mask-conic-from":ai()}],"mask-image-conic-to-color":[{"mask-conic-to":ai()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:aj()}],"mask-repeat":[{mask:ak()}],"mask-size":[{mask:al()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",aa,U]}],filter:[{filter:["","none",aa,U]}],blur:[{blur:as()}],brightness:[{brightness:[I,aa,U]}],contrast:[{contrast:[I,aa,U]}],"drop-shadow":[{"drop-shadow":["","none",n,ag,_]}],"drop-shadow-color":[{"drop-shadow":ai()}],grayscale:[{grayscale:["",I,aa,U]}],"hue-rotate":[{"hue-rotate":[I,aa,U]}],invert:[{invert:["",I,aa,U]}],saturate:[{saturate:[I,aa,U]}],sepia:[{sepia:["",I,aa,U]}],"backdrop-filter":[{"backdrop-filter":["","none",aa,U]}],"backdrop-blur":[{"backdrop-blur":as()}],"backdrop-brightness":[{"backdrop-brightness":[I,aa,U]}],"backdrop-contrast":[{"backdrop-contrast":[I,aa,U]}],"backdrop-grayscale":[{"backdrop-grayscale":["",I,aa,U]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[I,aa,U]}],"backdrop-invert":[{"backdrop-invert":["",I,aa,U]}],"backdrop-opacity":[{"backdrop-opacity":[I,aa,U]}],"backdrop-saturate":[{"backdrop-saturate":[I,aa,U]}],"backdrop-sepia":[{"backdrop-sepia":["",I,aa,U]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":z()}],"border-spacing-x":[{"border-spacing-x":z()}],"border-spacing-y":[{"border-spacing-y":z()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",aa,U]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[I,"initial",aa,U]}],ease:[{ease:["linear","initial",r,aa,U]}],delay:[{delay:[I,aa,U]}],animate:[{animate:["none",s,aa,U]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[p,aa,U]}],"perspective-origin":[{"perspective-origin":v()}],rotate:[{rotate:at()}],"rotate-x":[{"rotate-x":at()}],"rotate-y":[{"rotate-y":at()}],"rotate-z":[{"rotate-z":at()}],scale:[{scale:au()}],"scale-x":[{"scale-x":au()}],"scale-y":[{"scale-y":au()}],"scale-z":[{"scale-z":au()}],"scale-3d":["scale-3d"],skew:[{skew:av()}],"skew-x":[{"skew-x":av()}],"skew-y":[{"skew-y":av()}],transform:[{transform:[aa,U,"","none","gpu","cpu"]}],"transform-origin":[{origin:v()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:aw()}],"translate-x":[{"translate-x":aw()}],"translate-y":[{"translate-y":aw()}],"translate-z":[{"translate-z":aw()}],"translate-none":["translate-none"],zoom:[{zoom:[J,aa,U]}],accent:[{accent:ai()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ai()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",aa,U]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":ai()}],"scrollbar-track-color":[{"scrollbar-track":ai()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":z()}],"scroll-mx":[{"scroll-mx":z()}],"scroll-my":[{"scroll-my":z()}],"scroll-ms":[{"scroll-ms":z()}],"scroll-me":[{"scroll-me":z()}],"scroll-mbs":[{"scroll-mbs":z()}],"scroll-mbe":[{"scroll-mbe":z()}],"scroll-mt":[{"scroll-mt":z()}],"scroll-mr":[{"scroll-mr":z()}],"scroll-mb":[{"scroll-mb":z()}],"scroll-ml":[{"scroll-ml":z()}],"scroll-p":[{"scroll-p":z()}],"scroll-px":[{"scroll-px":z()}],"scroll-py":[{"scroll-py":z()}],"scroll-ps":[{"scroll-ps":z()}],"scroll-pe":[{"scroll-pe":z()}],"scroll-pbs":[{"scroll-pbs":z()}],"scroll-pbe":[{"scroll-pbe":z()}],"scroll-pt":[{"scroll-pt":z()}],"scroll-pr":[{"scroll-pr":z()}],"scroll-pb":[{"scroll-pb":z()}],"scroll-pl":[{"scroll-pl":z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",aa,U]}],fill:[{fill:["none",...ai()]}],"stroke-w":[{stroke:[I,ab,V,W]}],stroke:[{stroke:["none",...ai()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["start","end","right","left"],"inset-y":["inset-bs","inset-be","top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["ps","pe","pr","pl"],py:["pbs","pbe","pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["ms","me","mr","ml"],my:["mbs","mbe","mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-s","border-w-e","border-w-r","border-w-l"],"border-w-y":["border-w-bs","border-w-be","border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-s","border-color-e","border-color-r","border-color-l"],"border-color-y":["border-color-bs","border-color-be","border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-ms","scroll-me","scroll-mr","scroll-ml"],"scroll-my":["scroll-mbs","scroll-mbe","scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-ps","scroll-pe","scroll-pr","scroll-pl"],"scroll-py":["scroll-pbs","scroll-pbe","scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},f=a=>{let e=c(a);if(e)return e;let f=((a,b)=>{let{parseClassName:c,getClassGroupId:d,getConflictingClassGroupIds:e,sortModifiers:f,postfixLookupClassGroupIds:g}=b,h=[],i=a.trim().split(v),j="";for(let a=i.length-1;a>=0;a-=1){let b,k=i[a],{isExternal:l,modifiers:m,hasImportantModifier:n,baseClassName:o,maybePostfixModifierPosition:p}=c(k);if(l){j=k+(j.length>0?" "+j:j);continue}let q=!!p;if(q){let a=(b=d(o.substring(0,p)))&&g[b]?d(o):void 0;a&&a!==b&&(b=a,q=!1)}else b=d(o);if(!b){if(!q||!(b=d(o))){j=k+(j.length>0?" "+j:j);continue}q=!1}let r=0===m.length?"":1===m.length?m[0]:f(m).join(":"),s=n?r+"!":r,t=s+b;if(h.indexOf(t)>-1)continue;h.push(t);let u=e(b,q);for(let a=0;a<u.length;++a){let b=u[a];h.push(s+b)}j=k+(j.length>0?" "+j:j)}return j})(a,b);return d(a,f),f},e=a=>{var h;let i;return c=(b={cache:(a=>{if(a<1)return{get:()=>void 0,set:()=>{}};let b=0,c=Object.create(null),d=Object.create(null),e=(e,f)=>{c[e]=f,++b>a&&(b=0,d=c,c=Object.create(null))};return{get(a){let b=c[a];return void 0!==b?b:void 0!==(b=d[a])?(e(a,b),b):void 0},set(a,b){a in c?c[a]=b:e(a,b)}}})((h=[].reduce((a,b)=>b(a),g())).cacheSize),parseClassName:(a=>{let{prefix:b,experimentalParseClassName:c}=a,d=a=>{let b,c=[],d=0,e=0,f=0,g=a.length;for(let h=0;h<g;h++){let g=a[h];if(0===d&&0===e){if(":"===g){c.push(a.slice(f,h)),f=h+1;continue}if("/"===g){b=h;continue}}"["===g?d++:"]"===g?d--:"("===g?e++:")"===g&&e--}let h=0===c.length?a:a.slice(f),i=h,j=!1;return h.endsWith("!")?(i=h.slice(0,-1),j=!0):h.startsWith("!")&&(i=h.slice(1),j=!0),u(c,j,i,b&&b>f?b-f:void 0)};if(b){let a=b+":",c=d;d=b=>b.startsWith(a)?c(b.slice(a.length)):u(t,!1,b,void 0,!0)}if(c){let a=d;d=b=>c({className:b,parseClassName:a})}return d})(h),sortModifiers:(i=new Map,h.orderSensitiveModifiers.forEach((a,b)=>{i.set(a,1e6+b)}),a=>{let b=[],c=[];for(let d=0;d<a.length;d++){let e=a[d],f="["===e[0],g=i.has(e);f||g?(c.length>0&&(c.sort(),b.push(...c),c=[]),b.push(e)):c.push(e)}return c.length>0&&(c.sort(),b.push(...c)),b}),postfixLookupClassGroupIds:(a=>{let b=Object.create(null),c=a.postfixLookupClassGroups;if(c)for(let a=0;a<c.length;a++)b[c[a]]=!0;return b})(h),...(a=>{let b=(a=>{let{theme:b,classGroups:c}=a;return l(c,b)})(a),{conflictingClassGroups:c,conflictingClassGroupModifiers:d}=a;return{getClassGroupId:a=>{if(a.startsWith("[")&&a.endsWith("]")){var c;let b,d,e;return -1===(c=a).slice(1,-1).indexOf(":")?void 0:(d=(b=c.slice(1,-1)).indexOf(":"),(e=b.slice(0,d))?"arbitrary.."+e:void 0)}let d=a.split("-"),e=+(""===d[0]&&d.length>1);return k(d,e,b)},getConflictingClassGroupIds:(a,b)=>{if(b){let b=d[a],e=c[a];if(b){if(e){let a=Array(e.length+b.length);for(let b=0;b<e.length;b++)a[b]=e[b];for(let c=0;c<b.length;c++)a[e.length+c]=b[c];return a}return b}return e||j}return c[a]||j}}})(h)}).cache.get,d=b.cache.set,e=f,f(a)},(...a)=>e(((...a)=>{let b,c,d=0,e="";for(;d<a.length;)(b=a[d++])&&(c=w(b))&&(e&&(e+=" "),e+=c);return e})(...a)));a.s(["f",0,function(...a){return as((0,h.f)(a))}],368114)}],50944,(a,b,c)=>{b.exports=a.r(874137)}];
30
+ Learn more: https://nextjs.org/docs/messages/blocking-prerender-client-hook`),this.digest=n}}function p(a){return"object"==typeof a&&null!==a&&"digest"in a&&a.digest===n}let q=new WeakMap;function r(a,b,c){return J(a,new m(b,c))}function s(a,b,c){return J(a,new m(b,c))}function t(a,b,c,d){return N(J(a,new m(b,c)),A.bind(null,d,c))}function u(a,b,c,d){let e=J(a,new m(b,c));return null===d?e:N(e,B.bind(null,d,c))}function v(a,b,c,d){return t(a,b,c,d)}function w(a,b,c){return s(a,b,c)}function x(a,b,c,d){let e=J(a,new m(b,c));return null===d?e:N(e,C.bind(null,d,c))}function y(){return{runtimeDataAccessed:(0,g.createPromiseWithResolvers)(),shouldAttemptStaticShell:!0,shouldAttemptStaticPrefetch:!0}}function z(a){a.runtimeDataAccessed.resolve(!1)}function A(a,b){D(a,1,b)}function B(a,b){D(a,2,b)}function C(a,b){D(a,3,b)}function D(a,b,c){if("prerender"===a.type){let{prerenderDataTracking:d,stagedRendering:e}=a;if(!d||!e)return;let{currentStage:g}=e;if(g===i.RenderStage.Before)return void console.error(new f.InvariantError("Unexpected trackRuntimeDataAccessed in the Before stage."));if(g>=i.RenderStage.NavigationStatic)return;let j=a.ensureStaticLevel??h.EnsureStaticLevel.None;switch(b){case 1:{let a=null;g<=i.RenderStage.ShellStatic&&j<h.EnsureStaticLevel.Shell&&(d.shouldAttemptStaticShell=!1,a??=i.RenderStage.ShellStatic,null==F||F(c,"shell")),g<=i.RenderStage.PrefetchStatic&&j<h.EnsureStaticLevel.Prefetch&&(d.shouldAttemptStaticPrefetch=!1,a??=i.RenderStage.PrefetchStatic,null==F||F(c,"prefetch")),null!==a&&E(d,e,a);break}case 3:if(a.isFallbackUpgradeable){j<h.EnsureStaticLevel.Prefetch&&(E(d,e,i.RenderStage.PrefetchStatic),null==G||G());break}case 2:g<=i.RenderStage.PrefetchStatic&&j<h.EnsureStaticLevel.Prefetch&&(d.shouldAttemptStaticPrefetch=!1,null==F||F(c,"prefetch"),E(d,e,i.RenderStage.PrefetchStatic))}}}function E(a,b,c){let{runtimeDataAccessed:d}=a;b.currentStage>=c?d.resolve(!0):b.onStage(c,d.resolve.bind(null,!0))}let F=process.env.NEXT_PRIVATE_DEBUG_RUNTIME_DATA?(a,b)=>{let{route:c}=j.workAsyncStorage.getStore();console.log(`Route '${c}': deopting to a runtime ${b} because it used ${a}`)}:void 0,G=process.env.NEXT_PRIVATE_DEBUG_RUNTIME_DATA?()=>{let{route:a}=j.workAsyncStorage.getStore();console.log(`Route '${a}': marking upgradeable fallback as runtime prefetchable`)}:void 0;function H(a,b){let{stagedRendering:c}=a;if(!c)return;let{currentStage:d}=c;if(d!==i.RenderStage.Dynamic&&d!==i.RenderStage.Abandoned){if(process.env.NEXT_PRIVATE_DEBUG_VALIDATION){let a=j.workAsyncStorage.getStore();console.log(`Route ${a.route}: Incompatible shell content: ${b}`)}a.hasIncompatibleShellContent=!0}}function I(a,b){return J(a,b)}function J(a,b){if(a.aborted)return Promise.reject(b);{let c=new Promise((c,d)=>{let e=d.bind(null,b),f=q.get(a);if(f)f.push(e);else{let b=[e];q.set(a,b),a.addEventListener("abort",()=>{for(let a=0;a<b.length;a++)b[a]()},{once:!0})}});return c.catch(K),c}}function K(){}function L(a,b){let c=a.then(()=>b);return c.catch(K),c}function M(a,b,c){return b.stagedRendering?b.stagedRendering.delayUntilStage(c,void 0,a):new Promise(b=>{setTimeout(()=>{b(a)},0)})}function N(a,b){return O.from(a,b)}class O extends Promise{#a;static get[Symbol.species](){return Promise}static from(a,b){let c=new O(a.then.bind(a));return c.#a=b,Promise.prototype.then.call(c,void 0,K),c}then(a,b){let c=this.#a;if(c)try{c()}catch(a){console.error(a)}return Promise.prototype.then.call(this,a,b)}constructor(...a){super(...a),this.#a=null}}let P={sessionData:i.RenderStage.ShellRuntime,staticUrlData:{prefetchApi:{static:i.RenderStage.PrefetchStatic_prefetchApi,runtime:i.RenderStage.PrefetchRuntime_prefetchApi},static:i.RenderStage.PrefetchStatic,runtime:i.RenderStage.PrefetchRuntime},runtimeUrlData:i.RenderStage.PrefetchRuntime};function Q(a){return a}},913925,(a,b,c)=>{Object.defineProperty(c,"__esModule",{value:!0});var d={getComponentTypeModule:function(){return h},getLayoutOrPageModule:function(){return g}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(739118);async function g(a){let b,c,d,{layout:e,page:g,defaultPage:h}=a[2],i=void 0!==e,j=void 0!==g,k=void 0!==h&&a[0]===f.DEFAULT_SEGMENT_KEY;return i?(b=await e[0](),c="layout",d=e[1]):j?(b=await g[0](),c="page",d=g[1]):k&&(b=await h[0](),c="page",d=h[1]),{mod:b,modType:c,filePath:d}}async function h(a,b){let{[b]:c}=a[2];if(void 0!==c)return await c[0]()}},588644,(a,b,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},441997,(a,b,c)=>{Object.defineProperty(c,"__esModule",{value:!0});var d={BailoutToCSRError:function(){return g},isBailoutToCSRError:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f="BAILOUT_TO_CLIENT_SIDE_RENDERING";class g extends Error{constructor(a){super(`Bail out to client-side rendering: ${a}`),this.reason=a,this.digest=f}}function h(a){return"object"==typeof a&&null!==a&&"digest"in a&&a.digest===f}},882794,(a,b,c)=>{Object.defineProperty(c,"__esModule",{value:!0});var d={createReactBrowserBailoutReason:function(){return g},getReactBrowserBailoutReason:function(){return h},isNextBrowserBailoutError:function(){return i}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=Symbol.for("next.browser-bailout-reason");function g(a){return{$$typeof:f,reason:a}}function h(a){let b=a?.cause;return b?.$$typeof===f?b.reason:void 0}function i(a){return void 0!==h(a)}},554427,(a,b,c)=>{function d(){let a,b,c=new Promise((c,d)=>{a=c,b=d});return{resolve:a,reject:b,promise:c}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"createPromiseWithResolvers",{enumerable:!0,get:function(){return d}})},204560,(a,b,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"parseLoaderTree",{enumerable:!0,get:function(){return e}});let d=a.r(739118);function e(a){let[b,c,e,f]=a,{layout:g,template:h}=e,{page:i}=e;i=b===d.DEFAULT_SEGMENT_KEY?e.defaultPage:i;let j=g?.[1]||h?.[1]||i?.[1];return{page:i,segment:b,modules:e,conventionPath:j,parallelRoutes:c,staticSiblings:f}}},739118,(a,b,c)=>{Object.defineProperty(c,"__esModule",{value:!0});var d={DEFAULT_SEGMENT_KEY:function(){return k},NOT_FOUND_SEGMENT_KEY:function(){return l},PAGE_SEGMENT_KEY:function(){return j},computeSelectedLayoutSegment:function(){return i},getSegmentValue:function(){return f},getSelectedLayoutSegmentPath:function(){return function a(b,c,d=!0,e=[]){let g;if(d)g=b[1][c];else{let a=b[1];g=a.children??Object.values(a)[0]}if(!g)return e;let h=f(g[0]);return h&&h!==j?(e.push(h),a(g,c,!1,e)):e}},isGroupSegment:function(){return g},isParallelRouteSegment:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});function f(a){return Array.isArray(a)?a[1]:a}function g(a){return"("===a[0]&&a.endsWith(")")}function h(a){return a.startsWith("@")&&"@children"!==a}function i(a,b){if(!a||0===a.length)return null;let c="children"===b?a[0]:a[a.length-1];return c===k?null:c}let j="__PAGE__",k="__DEFAULT__",l="/_not-found"},699570,a=>{var b=a.i(187924),c=a.i(811011),d=a.i(400187),e=a.i(368114);let f=(0,d.f)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});a.s(["f",0,function({className:a,variant:d,size:g,asChild:h=!1,...i}){let j=h?c.M:"button";return(0,b.jsx)(j,{"data-slot":"button",className:(0,e.f)(f({variant:d,size:g,className:a})),...i})}])},550194,a=>{var b=a.i(187924),c=a.i(572131),d=a.i(931642);let e=(0,c.createContext)(void 0),f="app-language",g=new Set;function h(a){return g.add(a),window.addEventListener("storage",a),()=>{g.delete(a),window.removeEventListener("storage",a)}}function i(){let a=localStorage.getItem(f);return"zh"===a||"en"===a?a:"zh"}a.s(["w",0,function({children:a}){let j=(0,c.useSyncExternalStore)(h,i,()=>"zh"),k={language:j,setLanguage:a=>{localStorage.setItem(f,a),g.forEach(a=>a())},t:d.f[j]};return(0,b.jsx)(e.Provider,{value:k,children:a})},"b",0,function(){let a=(0,c.useContext)(e);if(void 0===a)throw Error("useLanguage must be used within a LanguageProvider");return a}])},630534,a=>{let b=new class{buffer=[];flushTimer=null;addToBuffer(a,b,c,d){let e={level:a,prefix:b,message:c,context:d?Object.fromEntries(Object.entries(d).map(([a,b])=>[a,b instanceof Error?{name:b.name,message:b.message}:b])):d,timestamp:new Date().toISOString(),url:"",userAgent:"u">typeof navigator?navigator.userAgent:""};(this.buffer.push(e),this.buffer.length>=20)?this.flush():this.scheduleFlush()}scheduleFlush(){this.flushTimer||(this.flushTimer=setTimeout(()=>{this.flush()},1e3))}flush(){if(this.flushTimer&&(clearTimeout(this.flushTimer),this.flushTimer=null),0===this.buffer.length)return;let a=[...this.buffer];this.buffer=[],this.sendBatch(a)}async sendBatch(a){try{fetch("/api/logs/frontend",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({logs:a})}).catch(a=>{console.warn("Failed to send logs to backend:",a)})}catch{}}info(a,b,c,d={}){console.log(`${a} ${b}`,c||""),!1!==d.sendToBackend&&this.addToBuffer("info",a,b,c)}warn(a,b,c,d={}){console.warn(`${a} ${b}`,c||""),!1!==d.sendToBackend&&this.addToBuffer("warn",a,b,c)}error(a,b,c,d={}){console.error(`${a} ${b}`,c||""),!1!==d.sendToBackend&&this.addToBuffer("error",a,b,c)}forceFlush(){this.flush()}};a.s(["V",0,b,"m",0,function(){return()=>void 0}])},931642,a=>{a.s(["f",0,{en:{questionGrade:{label:"Grade recognition for new questions",fixed:"Fixed grade",ai:"AI recognition",fixedDescription:"Use the selected grade and semester for new questions. If unset, use the current grade calculated from your account profile.",aiDescription:"AI determines the grade and semester from the question content. If it cannot determine them, they stay unset. Direct entry without a grade also uses AI and counts toward your daily AI limit.",description:"Saved for your account and applied to all new question entry. Manual changes take priority; existing questions and restored backups keep their grades.",save:"Save grade rule",loadFailed:"Could not load the grade rule. Please retry."},gradeSelection:{edit:"Edit grade/semester",firstSemester:"1st Semester",secondSemester:"2nd Semester",names:["Grade 1","Grade 2","Grade 3","Grade 4","Grade 5","Grade 6","Junior High Grade 1","Junior High Grade 2","Junior High Grade 3","Senior High Grade 1","Senior High Grade 2","Senior High Grade 3","Freshman","Sophomore","Junior","Senior"]},pageTitle:{base:"AI Smart Error Notebook",home:"Add Mistakes",addError:"Add Mistakes",examPrint:"Print",login:"Login",register:"Register"},common:{loading:"Loading...",colon:": ",listSeparator:", ",showPassword:"Show",hidePassword:"Hide",error:"Error",success:"Success",save:"Save",cancel:"Cancel",confirm:"Confirm",back:"Back",delete:"Delete",default:"Default",add:"Add",rename:"Rename",activate:"Activate",deactivate:"Deactivate",inactive:"Inactive",welcome:"Welcome back, ",pleaseWait:"Please wait...",notSet:"Not set",edit:"Edit",expand:"Expand",collapse:"Collapse",close:"Close",confirmTitle:"Please confirm",cropper:{title:"Crop Image",hint:"💡 Drag to adjust the crop area; scroll or pinch to zoom",zoomIn:"Zoom in",zoomOut:"Zoom out",resetZoom:"Reset to 100%"},progress:{reading:"Reading photo...",converting:"Converting HEIC/HEIF photo...",compressing:"Preparing image...",uploading:"Uploading...",analyzing:"Waiting for AI analysis...",processing:"Processing result...",saving:"Saving...",estimated:"Stage estimate: {percent}%",elapsed:"Elapsed: {time}",estimateHint:"The percentage is estimated by processing stage."},messages:{analysisFailed:"AI analysis failed, please try again",missingImage:"Missing image data",saveSuccess:"Saved successfully!",saveFailed:"Failed to save",loadFailed:"Failed to load item",updateFailed:"Update failed",deleteSuccess:"Deleted successfully",deleteFailed:"Delete failed",tagUpdateSuccess:"Tags updated successfully!",metaUpdateSuccess:"Metadata updated successfully!",noteSaveSuccess:"Notes saved successfully",confirmDelete:"Are you sure you want to delete this error item?"}},home:{greetingMorning:"Good morning",greetingAfternoon:"Good afternoon",greetingEvening:"Good evening",heroSubtitle:"Snap or type a question — AI will analyze, tag and file it for you.",notebookCount:"Notebooks",itemCount:"Mistakes",dueCount:"Due today",targetNotebook:"Adding to: {name}"},review:{title:"Today's Review",desc:"Questions due today, scheduled at 1, 2, 4, 7, 15 and 30 days. A correct answer moves a question to the next interval; a wrong answer starts over.",dueCount:"{count} due today",practice:"Practice",dueOn:"Due {date}",overdue:"Overdue since {date}",round:"Round {round} of {total}",empty:"Nothing to review today",emptyHint:"Questions come back on schedule after you record practice results. Add new mistakes or check back tomorrow."},nav:{home:"Add",notebooks:"Notebooks",review:"Review",stats:"Stats",exams:"Exams",admin:"Admin",menu:"Account"},theme:{toggle:"Theme",system:"Auto (follow system)",light:"Light",dark:"Dark"},app:{title:"Smart Error Notebook",subtitle:"AI-powered analysis and intelligent review",dragDrop:"Drag and drop an image here, or click to browse",analyzing:"AI is analyzing...",compressing:"Compressing image...",supportedFormats:"Supports JPG, PNG, HEIC",gallery:"Photo Gallery",tags:"Tags",stats:"Stats",logout:"Logout",uploadNew:"Upload New",directInput:"Manual Entry",addError:"Add Error Item",viewNotebook:"View Notebook",practiceProblem:"Practice Problem",yourAnswer:"Your Answer",answerPlaceholder:"Enter your answer...",notesPlaceholder:"Record your thinking process (optional)...",submitAnswer:"Submit Answer",uploadImage:"Take Photo",manualInput:"Manual Input",textInputHint:"Enter question text",textInputPlaceholder:"Paste or type question text here...\nSupports Markdown and LaTeX formulas (e.g. $x^2 + y^2 = 1$)\n\nCtrl+Enter to submit",aiSolve:"AI Solve",textInputTip:"After entering the question, AI will automatically solve and generate analysis",multiDetected:"{count} numbered questions detected",splitPreview:"Preview {count} questions",solveAsOne:"Solve as one question",aiSplit:"Several questions without numbers? Split with AI",aiSplitMulti:"Split wrong? Split with AI",aiSplitHint:"Uses one AI call to find question boundaries. Each question is solved only after you confirm.",creatingBatch:"Preparing preview…",subQuestionsHint:"The {count} numbered items look like sub-questions of one question, so they are kept together.",splitAnyway:"Split into {count} questions anyway",overflowHint:"At most 60 questions per batch; the other {count} will be listed as not counted.",textTooLong:"The text exceeds 20,000 characters. Please enter it in several parts."},wrongAnswerStats:{title:"Wrong Answer Statistics",totalErrors:"Total Wrong Answers",totalErrorsDesc:"Questions collected",new:"To Review",newDesc:"Not yet reviewed",reviewing:"Reviewing",reviewingDesc:"In progress",mastered:"Mastered",masteryRate:"Mastery Rate",dailyTrend:"Daily Trend",monthlyTrend:"Monthly Trend",SubjectDistribution:"Subject Distribution",added:"Added",newlyMastered:"Newly Mastered",trendSubtitle:"Newly added and newly mastered wrong answers",viewNew:"View to-review wrong answers",viewReviewing:"View reviewing wrong answers",viewMastered:"View mastered wrong answers",mistakeCause:"Mistake Cause",mistakeCauseSubtitle:"Attempt status and error type distribution",difficultyDistribution:"Difficulty Distribution",difficultyDistributionSubtitle:"Mastered vs total wrong answers by difficulty stars",errorTypeEmpty:"Fill in the error type when editing a wrong answer to see the distribution here.",errorTypeOther:"Other"},weakTags:{title:"Weak Knowledge Points",subtitle:"Ranked by unmastered wrong answers and recent practice mistakes",unmasteredOf:"Unmastered {unmastered} / Total {total}",recentRate:"Recent accuracy {rate}%",recentNoPractice:"Not practiced recently",loadError:"Failed to load weak knowledge points",empty:"No weak knowledge points in this range."},upload:{support:"JPG, PNG, WebP and HEIC/HEIF photos",parts:{addNext:"Rest is on another sheet",cropHint:"Part {n}: frame this part. On confirm it is joined below the earlier parts and recognized as one question.",confirm:"Join {count} parts and recognize",added:"Part {n} saved. Take or choose the photo with the next part.",title:"{count} parts of this question saved",hint:"Take or choose the photo with the next part and frame it; parts are joined top to bottom into one image. You can also start now.",finish:"Recognize {count} parts as one question",discard:"Discard saved parts",part:"Part {n}",max:"A question can have up to {max} parts"},camera:"Take photo",cameraDesc:"Opens the camera directly",album:"Photo album",albumDesc:"Choose from your photos",file:"Choose file",fileDesc:"Use this if a photo does not show up in the album",noCamera:"No camera found on this device. Choose from the album or a file instead.",decodeErrors:{HEIC_DECODE_FAILED:"This HEIC/HEIF photo could not be decoded. Export it as JPG in your photo app (or forward it through a chat app) and try again.",IMAGE_DECODE_FAILED:"This image ({format}) could not be read. It may be damaged or unsupported by this browser.",UNSUPPORTED_IMAGE:"The selected file is not a recognized image. Choose a JPG, PNG, WebP or HEIC photo."},stages:{read:"Read",convert:"Convert",compress:"Crop & compress"},analyze:"Analyze with AI",screenshot:"Screenshot",screenshotDesc:"Capture screen content (select 'This Tab' to avoid switching)",screenshotNotSupported:"Screenshot not supported in this browser",screenshotFailed:"Screenshot failed",screenshotPermissionDenied:"Screenshot permission denied",screenshotComplete:"Screenshot captured! Returning to upload page...",paste:"Paste from Clipboard",pasteDesc:"Or press Ctrl/⌘+V on this page to paste an image",pasteNoImage:"No image found in clipboard",pasteNotSupported:"This browser cannot read the clipboard directly. Please press Ctrl/⌘+V to paste",pastePermissionDenied:"Clipboard permission denied. Please press Ctrl/⌘+V to paste",pasteFailed:"Failed to read clipboard. Please press Ctrl/⌘+V to paste"},editor:{title:"Review & Correct",question:"Question Text",answer:"Answer",analysis:"Analysis / Explanation",mistakeAnalysisTitle:"Mistake Analysis",mistakeStatus:"Attempt Status",wrongAnswerText:"Wrong Answer / Work",mistakeAnalysis:"Mistake Cause Analysis",wrongAnswerPlaceholder:"Leave blank if no wrong answer is visible",mistakeAnalysisPlaceholder:"Explain where and why the mistake happened",mistakeStatuses:{notAttempted:"Not attempted",wrongAttempt:"Wrong attempt",unknown:"Unknown"},tags:"Knowledge Points (Press Enter to add)",addTag:"Add a tag...",cancel:"Cancel",save:"Save to Notebook",selectNotebook:"Select Notebook",gradeSemester:"Grade/Semester",preview:{question:"Question Preview",answer:"Answer Preview",analysis:"Analysis Preview",mistakeAnalysis:"Mistake Analysis Preview"},tagsPlaceholder:"Enter knowledge tags, select from suggestions...",tagsHint:"💡 Tag suggestions will appear as you type",createTagHint:"Press Enter to create new tag",messages:{selectNotebook:"Please select a notebook"},paperLevel:"Paper Level",paperLevels:{a:"Paper A",b:"Paper B",other:"Other"},reanswerSuccess:"✅ Answer and analysis updated!",enterQuestionFirst:"Please enter question text first",reanswering:"AI solving...",reanswer:"🔄 Reanswer (based on corrected question)",reanswerHint:"💡 If the question was misrecognized, correct it and click to regenerate answer",placeholder:"Supports Markdown and LaTeX..."},notebook:{emptyList:"No mistakes found",emptyListHint:"Try other filters, or add a new mistake to this notebook.",title:"My Notebook",subtitle:"Review and master your past mistakes.",addNew:"Add New Wrong Answer",search:"Search questions or tags...",filter:"Filter",mastered:"Mastered",reviewing:"Reviewing",review:"To Review",gradeSemesterPlaceholder:"e.g. Grade 7, Semester 1",added:"Added",exportPrint:"Export for Print",selectMode:"Select",cancelSelect:"Cancel",deleteSelected:"Delete Selected",selectedCount:"{count} selected",confirmBatchDelete:"Delete {count} items?",batchDeleteSuccess:"Deleted successfully"},notebooks:{title:"My Notebooks",subtitle:"Manage your mistakes by subject",create:"New Notebook",createFirst:"Create Notebook",empty:"No notebooks yet. Click above to create your first one!",deleteConfirm:"Are you sure you want to delete this notebook?",createError:"Failed to create",deleteError:"Failed to delete",deleteNotEmpty:"Please clear all items in this notebook first.",items:"items",cardItems:"items",notFound:"Notebook not found",totalErrors:"Total {count} wrong answers",addError:"Add Wrong Answer",collapseTags:"Collapse",expandTags:"+{count} more",expandTagsTooltip:"Click to expand {count} tags",collapseTagsTooltip:"Click to collapse",dialog:{stageLabel:"Stage",subjectLabel:"Subject",tagSetLabel:"Tag System",tagSetDefault:"Built-in",tagSetNames:{cnm:"People's Education Press Curriculum Standard"},scopeHint:"Stage, subject and tag system cannot be changed after creation. AI picks knowledge tags only from this scope and tag system.",title:"Create New Notebook",desc:"Create separate notebooks for different subjects or chapters",nameLabel:"Notebook Name",placeholder:"e.g. Math, Physics, Chemistry...",enterName:"Please enter notebook name",creating:"Creating...",create:"Create"},rename:"Rename",renameDialog:{title:"Rename Notebook",nameLabel:"New Name",placeholder:"Enter new notebook name",enterName:"Please enter notebook name",renaming:"Renaming...",rename:"Rename"},selector:{placeholder:"Select Notebook",empty:"No notebooks available"}},detail:{viewImage:"View image",hideImage:"Hide image",referenceImageAlt:"Reference image",wrongAnswerImageAlt:"My answer image",title:"Wrong Answer Detail",question:"Question",originalProblem:"Original Problem",yourNotes:"Your Answer / Notes",noNotes:"No notes added yet.",notFound:"Item not found",editNotes:"Edit",notesPlaceholder:"Enter your notes...",correctAnswer:"Correct Answer",analysis:"Analysis",referenceDiagram:"Reference Diagram",practice:"Practice Similar",delete:"Delete",clickToView:"Click to view full image",clickToEnlarge:"Click to enlarge",questionInfo:"Question Info",mistakeAnalysis:"Mistake Analysis",noMistakeAnalysis:"No mistake analysis yet.",close:"Close",clickOutside:"Click outside to close"},practice:{title:"Smart Practice",subtitle:"Generate a similar problem to test your understanding.",generate:"Generate Practice Question",generating:"Generating AI Question...",regenerate:"Regenerate",lastGeneratedAt:"Generated at {time}. Click Regenerate for a new question.",correct:"Correct!",correctMessage:"Great job, keep it up!",incorrect:"Incorrect",incorrectMessage:"Review the analysis and try again!",grading:"Checking your answer...",aiGradeReason:"AI check: {reason}",gradeFailed:"Your answer could not be checked automatically. Compare it with the answer below and choose the result yourself.",yourNotes:"Your Notes:",checkAnswer:"Check Answer",hideAnswer:"Hide Answer",correctAnswer:"Correct Answer",detailedAnalysis:"Detailed Analysis",referenceDiagram:"Reference Diagram",invalidRequest:"Invalid Request",errors:{IMPORT_TASK_INVALID_INPUT:"The upload is invalid. Please choose the photo again.",IMPORT_TASK_INVALID_NOTEBOOK:"The notebook does not exist or does not belong to you.",IMPORT_TASK_NOT_FOUND:"The recognition task does not exist or has been discarded.",IMPORT_TASK_BUSY:"This task is being saved. Please wait.",IMPORT_TASK_NOT_REVIEWABLE:"This task is not waiting for review.",IMPORT_TASK_NOT_RETRYABLE:"This task cannot be retried right now.",SERVER_RESTARTED:"Interrupted by a server restart. Please try again.",connection:"Network error. Please check your connection and try again.",response:"AI response error. Please try again or switch to a different model.",auth:"Authentication failed. Please check your API key configuration.",unknown:"An unknown error occurred. Please try again later.",default:"Failed to generate question. Please try again."},difficulty:{label:"Difficulty",easy:"Easy",medium:"Medium",hard:"Hard",harder:"Challenge",Unknown:"Unknown"}},tags:{title:"Tag Management",subtitle:"View and manage knowledge point tags",unitChapters:"chapters",otherGroup:"Other",tabs:{standard:"Standard Tags",custom:"Custom Tags",stats:"Usage Statistics"},subjects:{math:"Math",english:"English",physics:"Physics",chemistry:"Chemistry",biology:"Biology",chinese:"Chinese",history:"History",geography:"Geography",politics:"Politics",other:"Other"},categories:{algebra:"Algebra",geometry:"Geometry",numbers:"Numbers",statistics:"Statistics",mechanics:"Mechanics",electricity:"Electricity",optics:"Optics",thermology:"Thermology",acoustics:"Acoustics",basic:"Basic",elements:"Elements",compounds:"Compounds",reactions:"Reactions",calculation:"Calculation",grammar:"Grammar",sentence:"Sentence",reading:"Reading",writing:"Writing"},custom:{addTitle:"Add Custom Tag",placeholder:"Enter tag name...",add:"Add",hint:"💡 Custom tags will automatically appear in tag suggestions",empty:"No custom tags yet, click above to add!",enterName:"Please enter tag name",success:"Tag added successfully!",exists:"Tag already exists",deleteConfirm:'Are you sure you want to delete tag "{tag}"?',selectGrade:"Select Grade",noGrade:"No Grade"},stats:{loading:"Loading...",empty:"No tag usage records yet",frequency:"Tag Usage Frequency (Top 20)",count:"times"}},filter:{masteryStatus:"Mastery Status",all:"All",review:"To Review",reviewing:"Reviewing",mastered:"Mastered",timeRange:"Time Range",allTime:"All Time",lastWeek:"Last Week",lastMonth:"Last Month",filteringByTag:"Filtering by tag",grade:"Grade/Semester",paperLevel:"Paper Level",gradeShort:"Grade",chapter:"Chapter",knowledgePoint:"Tag",allGrades:"All grades",allChapters:"All chapters",allKnowledgePoints:"All tags"},setup:{pageTitle:"Setup Wizard",step:"Step {current} of {total}",logout:"Sign out",password:{title:"Change the default password",desc:"This account still uses the default password 123456. Set a new password before continuing.",newPassword:"New password",confirmPassword:"Confirm new password",submit:"Save new password",tooShort:"Password must be at least 6 characters",mismatch:"Passwords do not match",sameAsDefault:"The new password must not be the default password",success:"Password changed",failed:"Failed to change password"},ai:{title:"Set up an AI provider",desc:"Question recognition, answers and tagging all rely on AI. MiniMax Code (sign in on the web, free daily credits) is a good start; you can also enter an API key for another provider and change it later in Settings → AI."},notebook:{title:"Create your first notebook",desc:"Notebooks are organized by school stage and subject, which cannot be changed after creation.",create:"Create notebook",created:"Created notebook: {name}"},next:"Next",skip:"Skip",finish:"Finish",skipAll:"Skip setup",finished:"All set. Let's get started!",completeFailed:"Failed to save setup status",rerun:"Run setup wizard again"},stats:{title:"Practice Statistics",headerTitle:"Statistics Center",headerDesc:"View your learning progress, data analysis and knowledge points",tagManagement:"Knowledge Points",totalPractices:"Total Practices",correctRate:"Correct Rate",activeDays:"Active Days",subjectDistribution:"Subject Distribution",weeklyTrend:"Monthly Trend",dailyTrend:"Daily Trend",monthlyTrend:"Monthly Trend",range7d:"Last 7 Days",range30d:"Last 30 Days",range6m:"Last 6 Months",rangeAll:"All Time",allSubjects:"All Subjects",timeRange:"Time Range",total:"Total",correct:"Correct",attempted:"Attempted"},repeatedMistakes:{title:"Repeated Mistakes",subtitle:"Questions answered wrong 2 or more times in the selected range — review them carefully.",empty:"No questions answered wrong 2 or more times in the selected range.",wrongTimes:"Wrong {count}×",noPreview:"(No question text)"},activityHeatmap:{title:"Learning Calendar",currentStreak:"Current Streak",longestStreak:"Longest Streak",totalActiveDays:"Total Active Days",less:"Less",more:"More",levels:["None","Low","Medium","High","Very High"],weekdays:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],dayTooltip:"{date}: {errors} questions, {practices} practices"},statsState:{errorTitle:"Failed to load statistics",errorDesc:"Please check your network and try again.",retry:"Retry",practiceEmptyTitle:"No practice records yet",practiceEmptyDesc:"Statistics will appear here after you complete practice sessions.",goToReview:"Go to Review",wrongEmptyTitle:"No wrong answers yet",wrongEmptyDesc:"Wrong answers you record will appear here.",goToHome:"Go to Home"},settings:{title:"Settings",save:"Save Settings",desc:"Manage your preferences and data.",paperGroups:{title:"Paper Groups",desc:"Customize paper groups like Unit Test, Midterm, Final. Default groups A/B/Other can be renamed but not deleted.",addPlaceholder:"e.g. Unit Test",renamePrompt:"Rename group",deleteConfirm:'Delete group "{name}"?',deleteConfirmWithItems:'Group "{name}" has {count} questions. Deleting will clear their group assignment. Continue?',systemBadge:"Default"},general:{timeZoneLabel:"Application time zone",timeZoneDesc:"Used for dates, times and statistics throughout the app. Default: Asia/Shanghai. Administrators can enter an IANA time zone and save.",invalidTimeZone:"Enter a valid IANA time zone, such as Asia/Shanghai.",timeoutLabel:"AI Analysis Timeout (Seconds)",timeoutDesc:"Increase this value if you experience frequent timeouts during AI analysis."},tabs:{general:"General",account:"Account",ai:"AI Provider",prompts:"Prompts",admin:"User Management",danger:"Danger",about:"About"},about:{title:"About",version:"Version",github:"GitHub Repository",desc:"Smart Error Notebook - AI-powered learning assistant",releaseNotes:"Release Notes",feedback:"Feedback",copyright:"© 2026 margrop · Based on wttwins/wrong-notebook · MIT License",androidServer:"Server",changeServer:"Change server",androidStandalone:"Running on this device. Data is stored only on this device."},account:{changePassword:"Change Password (Leave empty to keep)",update:"Update Profile",currentGrade:"Current Grade & Semester",selectGrade:"Select Grade",selectSemester:"Select Semester",firstSemester:"1st Semester",secondSemester:"2nd Semester",gradeAppliedHint:"New questions will default to this grade. You can also configure AI grade recognition in General Settings."},ai:{anthropicBaseUrlHint:"Leave empty for the official API. For compatible services enter the base URL without /v1 (e.g. https://api.example.com/anthropic).",vendorApiKeyHint:"Get an API key from the official console:",vendorBaseUrlHint:"Leave empty for the official mainland China endpoint shown above. For the international site, enter its OpenAI-compatible URL instead.",providerErrorDetail:"Provider error: ",docLinks:{apiKey:"How to get",models:"Model list"},providerDocs:{title:"Official API docs:",official:"Docs",cn:"China site",intl:"International site"},stepfunBaseUrlHint:"The default is the Step Plan endpoint (recommended; the plan includes speech synthesis). For a pay-as-you-go key, enter https://api.stepfun.com/v1; for the international site, https://api.stepfun.ai/v1.",volcengineBaseUrlHint:"This channel is pay-as-you-go. With an Agent Plan or Coding Plan subscription, choose the matching Volcengine plan channel instead (it uses the plan endpoint, so calls count toward the plan). For the international site (BytePlus ModelArk), enter https://ark.ap-southeast.bytepluses.com/api/v3.",volcengineAgentBaseUrlHint:"Agent Plan endpoint. Use the plan's dedicated API key from the Agent Plan page in the Ark console; a regular Ark key does not work here. The plan includes Doubao speech synthesis, which can be chosen under Voice narration. The default model is doubao-seed-evolving (Doubao's continuously updated model); enter ark-code-latest instead to use the model selected under Activation Management in the Ark console (changes take about 3-5 minutes). Question recognition needs a model that understands images.",volcengineCodingBaseUrlHint:"Coding Plan endpoint, used with your Ark API key. Do not change it to /api/v3: calls there do not count toward the plan and are billed pay-as-you-go. Coding Plan does not include speech synthesis; for cloud voice choose Volcengine Agent Plan, Doubao Speech or another provider under Voice narration. The default model is doubao-seed-evolving (Doubao's continuously updated model); enter ark-code-latest instead to use the model selected under Activation Management in the Ark console (changes take about 3-5 minutes). Question recognition needs a model that understands images.",volcengineFree:{title:"Free trial",body:"New Volcengine accounts get a free inference quota for each model (500,000 tokens per model, per Volcengine's docs). Turn on worry-free trial mode under Activation Management in the Ark console: calls only use the free quota and pause when it is nearly used up, so you are never charged. To keep going afterwards, verify your identity and switch to the regular Volcengine channel."},qwenBaseUrlHint:"The default is the Alibaba Cloud Model Studio Token Plan endpoint (recommended; keys start with sk-sp-). For a pay-as-you-go key, enter https://dashscope.aliyuncs.com/compatible-mode/v1.",minimaxCode:{title:"MiniMax Code account",intro:"Sign in to your MiniMax Code account in the browser. The app uses this login to call MiniMax Code models, so no API key is needed.",risk:"This channel uses the sign-in of the MiniMax Code desktop client rather than an official open API, and MiniMax may change or restrict it at any time.",loginStatus:"Login status",statusNone:"Not signed in",statusActive:"Signed in",statusExpired:"Login expired. Please sign in again.",credits:"Remaining credits",creditsUnavailable:"Unavailable right now",creditsDetail:"Free {free} · Purchased {purchased}",login:"Sign in with browser",relogin:"Sign in again",logout:"Sign out",refresh:"Refresh",waiting:"Finish authorizing on the page that opened. Waiting…",openLink:"Open the authorization page",userCode:"Verification code",loginSuccess:"Signed in to MiniMax Code",loginExpired:"The authorization timed out. Please try again.",loginDenied:"The authorization was declined",loginFailed:"Sign-in failed",model:"Model",modelHint:"Defaults to MiniMax-M3.1-Flash. Pick one from the list or type a model name.",checkinToday:"Today's check-in",checkinAuto:"Checked in automatically today at {time} (+{points} credits, day {days} in a row)",checkinDone:"Checked in today (+{points} credits, day {days} in a row)",checkinNotYet:"Not checked in yet today",checkinWillAuto:"Not checked in yet today. The app will check in automatically within the hour.",checkinFailed:"Check-in failed: {error}",checkinNow:"Check in now",checkinSuccess:"Checked in",autoCheckin:"Daily auto check-in",autoCheckinHint:"Collects the daily MiniMax Code check-in credits (Beijing time) while the service is running. Takes effect after you save the settings."},save:"Save AI Settings",instances:"Instances",addInstance:"Add",deleteInstance:"Delete",instanceName:"Instance Name",selectInstance:"Select Instance",noInstances:"No instances configured. Click 'Add' to create one.",maxInstancesReached:"Maximum instances reached (10)",confirmDelete:"Delete this instance?",validationNameRequired:"Instance name is required",validationApiKeyRequired:"API Key is required",validationBaseUrlRequired:"Base URL is required",validationModelRequired:"Model name is required",azureEndpoint:"Azure Endpoint",azureEndpointPlaceholder:"https://your-resource.openai.azure.com",azureDeployment:"Deployment Name",azureDeploymentPlaceholder:"gpt-4o-deployment",azureApiVersion:"API Version",azureApiVersionPlaceholder:"2024-02-15-preview",azureModel:"Model Display Name",validationAzureEndpointRequired:"Azure Endpoint is required",validationAzureDeploymentRequired:"Deployment Name is required",testConnection:"Test Connection",testing:"Testing...",testSuccess:"Connection Successful",testFailed:"Connection Failed",testNetworkNote:"* Results may be inaccurate due to network conditions",textSupport:"Text Generation",visionSupport:"Vision/Multimodal",supported:"Supported",notSupported:"Not Supported",errors:{AI_AUTH_ERROR:"Invalid or expired API Key",AI_PERMISSION_DENIED:"Permission denied, check API Key permissions",AI_NOT_FOUND:"Endpoint or model not found (404)",AI_QUOTA_EXCEEDED:"Rate limit exceeded or quota exhausted",AI_CONNECTION_FAILED:"Cannot connect to AI server, check network or Base URL",AI_TIMEOUT_ERROR:"Request timeout, server response too slow",AI_RESPONSE_ERROR:"AI response format error, model may be incompatible",AI_SERVICE_UNAVAILABLE:"AI service unavailable (503), no available channel",AI_UNKNOWN_ERROR:"AI service error, check config or try again",VISION_NOT_SUPPORTED:"This model does not support vision"}},tts:{title:"Voice narration",modes:{browser:"Browser voice (Web Speech, free)",minimax:"Cloud voice: MiniMax (M Plan recommended)",qwen:"Cloud voice: Qwen (Token Plan recommended)",glm:"Cloud voice: Zhipu GLM-TTS (GLM Coding Plan recommended)",stepfun:"Cloud voice: StepFun (Step Plan recommended)",volcengine:"Cloud voice: Volcengine Doubao Speech (free trial available; resource pack recommended)","volcengine-agent":"Cloud voice: Volcengine Agent Plan (Doubao speech synthesis 2.0, counts toward the plan)",openai:"Cloud voice: OpenAI (gpt-4o-mini-tts)"},browserHint:"Animation narration is read by the speech engine of each viewer's browser or system. The voice depends on the device, and some devices have no voice at all.",cloudHint:"The server synthesizes the narration with the provider below and normalizes it to about -15 LUFS, so every device hears the same voice. Each segment is synthesized once and then cached; synthesis uses the provider's quota.",apiKeyHint:{minimax:"Shared with the MiniMax channel in AI settings. A MiniMax M Plan key is recommended.",qwen:"Shared with the Qwen channel in AI settings. An Alibaba Cloud Model Studio Token Plan key (starts with sk-sp-) is recommended.",glm:"Shared with the Zhipu GLM channel in AI settings. A GLM Coding Plan subscription is recommended over pay-as-you-go; check Zhipu's plan terms for whether speech synthesis is included.",stepfun:"Shared with the StepFun channel in AI settings. A Step Plan key is recommended (it includes speech synthesis; the default base URL is the Step Plan one). For a pay-as-you-go key, set the channel base URL to https://api.stepfun.com/v1.",volcengine:"Doubao Speech has its own key, separate from Volcengine Ark: enable speech synthesis 2.0 and create an API key in the Doubao Speech console (https://console.volcengine.com/speech). A resource pack or plan is recommended over pay-as-you-go.","volcengine-agent":"Shared with the Volcengine Agent Plan channel in AI settings (the plan's dedicated API key from the Agent Plan page in the Ark console). Speech counts toward the plan quota; speech models only have daily and monthly limits.",openai:"Optional. Leave empty to use the API key and base URL of the OpenAI configuration currently active in AI settings. Fill it in to use OpenAI for voice only."},model:"Speech model",voice:"Voice",voiceHint:{minimax:"Defaults to the system voice male-qn-jingying (young male, clear and natural). Enter any voice_id from the MiniMax voice list.",qwen:"Defaults to longanlufeng (young male, bright). The app asks for a natural, clear, slightly techy delivery without a broadcast tone. The voice must belong to the model.",glm:"Defaults to xiaochen (young, professional). Other system voices include tongtong and chuichui; see the docs for the full list.",stepfun:"Defaults to qingniandaxuesheng (young university student). The stepaudio models also get the natural, clear, no-broadcast-tone instruction. See the voice list for options supported by each model.",volcengine:"Defaults to zh_male_yangguangqingnian_uranus_bigtts (sunny young man). The speech model field is the resource ID (seed-tts-2.0 for Doubao speech synthesis 2.0 voices); the voice must match it.","volcengine-agent":"Defaults to zh_male_yangguangqingnian_uranus_bigtts (sunny young man). The speech model field is the resource ID (seed-tts-2.0); the voice must be a Doubao speech synthesis 2.0 voice.",openai:"Defaults to cedar, which OpenAI recommends for quality, with the natural, clear, no-broadcast-tone instruction. OpenAI voices are tuned for English, so check Chinese narration with a preview. OpenAI plans to retire gpt-4o-mini-tts and the tts-1 models on 2027-01-06."},endpoint:"Speech API URL (optional)",docs:"Docs",speechApiKey:"Doubao Speech API Key",freeTrial:"Volcengine offers a free trial quota for new users; follow the docs to turn it on. The models it covers, including speech, are shown under Activation Management in the console.",freeTrialLink:"Free trial docs",voiceList:"Voice list",endpointHint:"Leave empty to derive it from the channel's base URL. Fill it in when your plan uses a different speech endpoint.",preview:"Save and preview",previewText:"Hi, I'll walk you through this problem. First, let's find what the question gives us.",previewFailed:"Preview failed. Check the API key, model and voice.",notConfigured:"Enter the API key first",providerError:"The speech provider returned an error. Check the API key, model and voice.",save:"Save voice settings"},prompts:{save:"Save Prompt Settings",analysisTab:"Analysis Prompt",similarTab:"Similar Question Prompt",customAnalysis:"Custom Analysis Template",customSimilar:"Custom Similar Question Template",reset:"Reset Default",resetConfirm:"Are you sure you want to reset to default?",caution:"Modify with Caution",warning:"Use {{variables}} to reference question data and adjust teaching style. The application always adds its output format, language, grade, tag and generated-question rules, including when an older template omits these variables.",variables:"Available Variables",vars:{languageInstruction:"Preserves the original question language and selects the explanation language from the interface language; stored subject, grade and tag values are not translated.",languageInstructionShort:"Language formatting instructions.",knowledgePointsList:"Injects the standard list of knowledge point tags for the specific subject.",providerHints:"Provider compatibility hints that follow the application output contract.",difficultyLevel:"Target difficulty level.",difficultyInstruction:"Specific writing instructions for the target difficulty.",originalQuestion:"The full text of the original question.",knowledgePoints:"List of knowledge points to test."}},messages:{saved:"Settings saved",saveFailed:"Failed to save",profileUpdated:"Profile updated",updateFailed:"Update failed",passwordMismatch:"Passwords do not match"},clearData:"Clear Practice Data",clearDataConfirm:"Are you sure? This will delete all your practice history.",clearDataDesc:"This will permanently delete all practice history. Irreversible.",clearErrorData:"Clear Error Data",clearErrorDataConfirm:"Are you sure? This will delete all your error items.",clearErrorDataDesc:"This will permanently delete all error items. Irreversible.",clearSuccess:"Data cleared successfully",clearError:"Failed to clear data",dangerZone:"Danger Zone",systemReset:"System Initialization (Factory Reset)",systemResetConfirm:"EXTREME WARNING: This will delete ALL data including all notebooks, questions, custom tags, and practice logs. This action cannot be undone. Are you absolutely sure?",systemResetDesc:"Resets the system to its initial state. Deletes all user data and custom configurations. Keeps default system tags.",systemResetPrompt:"Type 'RESET' to confirm system initialization:",migrateTags:"Tag System Migration (Seed)",migrateTagsConfirm:"This will reset all SYSTEM tags to the defaults defined in the codebase. Custom tags are unaffected. Are you sure?",migrateTagsDesc:"Re-populates the standard curriculum tags from file configuration. Useful if system tags are missing.",language:"Language",dataManagement:"Data Management",exportData:"Export Data",exportDataDesc:"Export all error items, notebooks, tags, and practice records as a JSON file.",exportSuccess:"Export successful",exportFailed:"Export failed",importData:"Import Data",importDataDesc:"Import data from a JSON file. Duplicate questions are recorded as incorrect attempts in the existing question's practice history.",importSuccess:"Import successful",importFailed:"Import failed",importConfirm:"Are you sure you want to import? This will add new data to your account without deleting existing data.",importResult:"Import Result",importResultDesc:"Imported {subjects} notebooks, {tags} tags, {items} error items, {schedules} review schedules, {records} practice records, {papers} exam papers and {voices} cloud voice clips. {duplicates} duplicate questions were skipped and recorded as incorrect attempts.",exportAllData:"Export All",exportAllConfirm:"Export all users' data? This may take a while.",importAllData:"Import All",importAllConfirm:"Import all users' data? This will restore data for all users from the export file.",selectFile:"Select File",noFileSelected:"No file selected"},questionSave:{invalidField:"{field} is invalid. Please check it and try again.",tooLong:"{field} must contain at most {maximum} characters.",tooMany:"{field} must contain at most {maximum} entries.",databaseCode:"Database error code: {code}"},errors:{QUESTION_SAVE_GRADE_FAILED:"Could not save because AI grade recognition failed. Enter a grade manually or choose Fixed grade in Settings → General, then save again.",QUESTION_SAVE_SCHEMA_MISMATCH:"The database structure does not match this version. Ask an administrator to check the database migrations in the startup logs. Keep the existing data directory.",QUESTION_SAVE_READ_ONLY:"The database cannot be written to. Ask an administrator to check write permissions for the database directory and Docker volume mounts.",QUESTION_SAVE_STORAGE_FULL:"The database disk is full. Ask an administrator to free space, then try saving again.",QUESTION_SAVE_DATABASE_BUSY:"The database is busy or locked. Wait for other imports to finish, then try saving again.",QUESTION_SAVE_DATABASE_UNAVAILABLE:"The database is unavailable. Ask an administrator to check the database path, mounted directories and container logs.",QUESTION_SAVE_REFERENCE_INVALID:"The selected notebook or related data no longer exists. Refresh the page, select it again and save.",QUESTION_SAVE_CONFLICT:"The data conflicts with another saved record. Refresh the page and check the notebook and paper group before saving again.",QUESTION_SAVE_INVALID_PAPER_LEVEL:"The selected paper group is unavailable. It may have been disabled or deleted. Refresh the page and select a group again.",QUESTION_SAVE_INVALID_INPUT:"Some question fields are invalid. Check the fields below and save again.",QUESTION_SAVE_INVALID_JSON:"The save request is not valid JSON. Refresh the page and try again.",QUESTION_SAVE_UNAUTHORIZED:"Your session has expired or you are not signed in. Copy your input, sign in again, then save.",QUESTION_SAVE_FORBIDDEN:"You do not have permission to save this question. Check your account permissions or contact an administrator.",QUESTION_SAVE_NETWORK_ERROR:"Could not connect to the server. Check your network and the container or proxy. Before retrying, check whether the question was saved.",QUESTION_SAVE_TIMEOUT:"Saving timed out. Check whether the question was saved before retrying to avoid submitting it twice.",QUESTION_SAVE_TOO_LARGE:"The save request is too large. Shorten the question or images, or ask an administrator to check the proxy request-size limit.",QUESTION_SAVE_RATE_LIMITED:"Too many save requests. Wait a moment and try again.",QUESTION_SAVE_SERVER_UNAVAILABLE:"The server or proxy is unavailable. Try again later; if this continues, ask an administrator to check the container and proxy logs.",QUESTION_SAVE_FAILED:"Could not save the question. Try again; if this continues, ask an administrator to enable debug mode and check the logs.",AI_CONNECTION_FAILED:"Network error. Please check your connection.",AI_RESPONSE_ERROR:"AI response invalid. Please try again.",AI_AUTH_ERROR:"AI service authentication failed. Please check API key.",aiAuth:"⚠️ Invalid API key\n\nPlease check your AI provider settings and verify the API key is correct",aiConnectionFailed:"⚠️ Cannot connect to AI service\n\nPlease check:\n• Internet connection\n• Proxy settings\n• Firewall configuration",aiResponseError:"⚠️ AI returned invalid response\n\nPlease try again, contact support if issue persists",AI_TIMEOUT_ERROR:"Request timeout. Please try again.",AI_QUOTA_EXCEEDED:"API quota exceeded or insufficient balance. Please check your account.",AI_PERMISSION_DENIED:"Permission denied (403). Please check your API key permissions.",AI_NOT_FOUND:"Resource not found (404). Please check endpoint URL or model name.",AI_SERVICE_UNAVAILABLE:"AI service unavailable (503). No available channel.",AI_UNKNOWN_ERROR:"Unknown AI error occurred.",AI_DAILY_LIMIT_EXCEEDED:"You have used up today's AI allowance. Try again tomorrow or ask an administrator to raise the limit.",AI_OUTPUT_TRUNCATED:"The AI spent its whole output budget thinking and returned no answer. Please try again, or crop the image to a single question.",AI_IMAGE_NOT_SUPPORTED:"The current AI model does not accept images. Switch to a model with image input, or enter the questions as text.",SPLIT_NO_QUESTIONS:"No questions were found. Check the photo or text, try again, or draw boxes manually.",IMPORT_BATCH_INVALID_INPUT:"The submission is invalid. Please try again.",IMPORT_BATCH_INVALID_DRAFT:"The question list could not be saved. Refresh the page and try again.",IMPORT_BATCH_NOT_FOUND:"This batch does not exist or was discarded.",IMPORT_BATCH_VERSION_CONFLICT:"These questions were changed on another page. The latest version has been loaded.",IMPORT_BATCH_NOT_EDITABLE:"This batch has already started and can no longer be edited.",IMPORT_BATCH_EMPTY:"No questions to process. Select at least one question.",IMPORT_BATCH_IMAGE_MISSING:"Some selected questions have no image area. Mark them on the photo first.",IMPORT_BATCH_TOO_LARGE:"The question images are too large. Select fewer questions at a time.",IMPORT_BATCH_INVALID_TEXT_FIX:"The questions to fix are invalid. Refresh the page and try again.",IMPORT_BATCH_TEXT_FIX_FAILED:"Could not fix the text. The original text is kept; please try again.",IMPORT_BATCH_START_FAILED:"Could not submit. Nothing has started yet and your preview is kept; please try again.",IMPORT_BATCH_TEXT_TOO_LONG:"The text is too long (up to 20,000 characters and 1,000 lines). Please enter it in several parts.",IMPORT_BATCH_NOT_RETRYABLE:"This batch cannot be retried right now.",IMPORT_BATCH_NOTHING_TO_RETRY:"There are no failed questions to retry.",IMPORT_TASK_NOT_FOUND:"The recognition task does not exist or has been discarded.",IMPORT_TASK_BUSY:"This task is being saved. Please wait.",IMPORT_TASK_NOT_RETRYABLE:"This task cannot be retried right now.",SERVER_RESTARTED:"Interrupted by a server restart. Please try again.",GENERIC_ERROR:"Failed to generate question.",reanswer:{default:"Reanswer failed",authError:"⚠️ AI key configuration error\n\nPlease check your API key in settings",connectionFailed:"⚠️ AI service connection failed\n\nPossible causes:\n• Network issue\n• AI service temporarily unavailable\n• Proxy required\n\nPlease try again later",responseError:"⚠️ AI response format error\n\nPlease retry, contact support if issue persists"}},admin:{title:"User Management",users:"Users",role:"Role",status:"Status",actions:"Actions",active:"Active",disabled:"Disabled",disable:"Disable",enable:"Enable",delete:"Delete User",confirmDisable:"Are you sure you want to disable this user?",confirmEnable:"Are you sure you want to enable this user?",confirmDelete:"Are you sure you want to delete this user? This will remove all their data.",allowRegistration:"Allow New Registrations",allowRegistrationDesc:"When disabled, new users cannot register",aiDailyLimit:"Daily AI Limit per User",aiDailyLimitDesc:"How many AI actions (recognition, explanations, practice, grading, exams…) each regular user can start per day. 0 means unlimited; admins are not limited.",aiDailyLimitSaved:"Daily AI limit saved",aiConcurrencyLimit:"AI Concurrency per Model",aiConcurrencyLimitDesc:"How many AI calls the same model may run at once (1–100, default 5). Further calls wait in a queue, which avoids rate-limit (429) errors from the provider.",aiConcurrencyLimitSaved:"AI concurrency limit saved",aiUsageToday:"AI today",debugLog:{title:"Debug Logs",desc:"When a problem occurs: turn on debug mode, reproduce the problem, then export the debug log and send it to the author for troubleshooting.",enable:"Debug mode",enabledHint:"Recording since {since}; turns off automatically at {until}.",disabledHint:"Off. Turning it on clears the previously recorded logs.",entries:"{count} entries recorded",dropped:"({count} oldest entries discarded)",export:"Export Debug Log",clear:"Clear",privacyNote:"API keys, passwords and tokens are removed automatically, but the log may still contain question text and usernames. Logs are kept in memory only and are cleared when the service restarts.",enabled:"Debug mode is on. Please reproduce the problem now.",disabled:"Debug mode is off",cleared:"Debug logs cleared",exported:"Debug log exported",failed:"Operation failed"},cnmTags:{title:"PEP Curriculum Knowledge Points",desc:'Import the PEP curriculum knowledge points (mainly math, also including Chinese, English, physics and more) as a separate tag system. Once imported, "PEP Curriculum Standard" can be chosen as the tag system when creating a notebook.',downloadHint:"Download the required JSON file (topics.json, about 2.6 MB) first, then select it below:",sourceLabel:"Source:",status:"{count} knowledge points imported",notImported:"Not imported yet",select:"Select topics.json and Import",importing:"Importing…",imported:"Import complete: {created} new, {skipped} already existed",invalidFile:"The file is not a valid topics.json",failed:"Import failed",note:"Import is incremental and safe to repeat; it does not change the built-in tag system or existing questions."},admin:"Admin",user:"User",createdAt:"Created At",stats:"Stats",nameEmail:"Name/Email",errors:"Errors",practiceCount:"Practice",dashboard:{title:"Admin Dashboard",subtitle:"View all users and error statistics",totalUsers:"Total Users",totalErrors:"Total Errors",totalPractice:"Total Practice",totalNotebooks:"Total Notebooks",recentTrend:"Recent 7-Day Trend",subjectDistribution:"Subject Distribution",masteryDistribution:"Mastery Distribution",masteryNew:"To Review",masteryReviewing:"Reviewing",masteryMastered:"Mastered",userList:"User List",userListDesc:"All registered users and their error entry status",userName:"Username",email:"Email",notebooks:"Notebooks",errors:"Errors",practice:"Practice",status:"Status",registeredAt:"Registered At",actions:"Actions",viewDetail:"View Detail",recent7Days:"Last 7 Days",recentErrors:"Recent Error Items",userNotebooks:"Notebooks",noData:"No Data",retry:"Retry",questionCount:"{count} questions",noQuestionText:"(No question text)"}},auth:{initialize:{pageTitle:"Create Admin",title:"Create the admin account",desc:"This is a fresh install. Choose the admin email and password you will sign in with. The setup link works only once.",name:"Name",defaultName:"Admin",passwordHint:"At least 6 characters; the old default password 123456 is not allowed.",passwordMismatch:"Passwords do not match",submit:"Create and sign in",submitting:"Creating...",invalidLink:"This setup link is invalid or has been used. Check that the whole link was copied, or use the latest link in the startup log.",alreadyInitialized:"An admin account already exists. Please sign in.",emailExists:"This email is already used by another account.",failed:"Could not create the admin account. Please try again.",signInFailed:"The admin account was created, but signing in failed. Please sign in manually.",goLogin:"Go to sign in"},setupGuide:{title:"No admin account yet",intro:"To start, open the one-time setup link generated at install time and create the admin account:",desktop:"Desktop app and standalone Android app: the link opens automatically on first launch. fnOS: sign in with the admin set in the install wizard.",docker:"Docker: look for the link containing /initialize?token= in the container log (docker logs wrong-notebook).",npm:"npm or running from source: the link is printed in the terminal that started the server.",tokenFile:"You can also open /initialize?token=<token> yourself; the token is in config/setup-token in the data directory.",docs:"Installation guide"},email:"Email",password:"Password",confirmPassword:"Confirm Password",name:"Name",educationStage:"Education Stage",enrollmentYear:"Enrollment Year",selectStage:"Select Stage",primary:"Primary School",juniorHigh:"Junior High",seniorHigh:"Senior High",university:"University",login:{title:"Login to Wrong Notebook",failed:"Login failed, please check your credentials",tooManyAttempts:"Too many failed attempts. Please try again in 15 minutes.",error:"An error occurred, please try again",loggingIn:"Logging in...",action:"Login",noAccount:"Don't have an account? ",registerNow:"Register now",registrationClosed:"Need an account? Ask your administrator to turn on registration.",firstUseTitle:"First time here?",firstUseAccount:"The admin account is created with the one-time setup link generated at install time. Instances installed with earlier versions use the default admin {email}; the initial password is in the documentation.",firstUseNext:"Other people sign up themselves after the admin turns on registration.",firstUseDocs:"Open the documentation"},register:{tooManyAttempts:"Too many registration attempts. Please try again later.",title:"Create an Account",passwordMismatch:"Passwords do not match",emailExists:"User with this email already exists",success:"Registration successful! Please login",failed:"Registration failed",disabled:"Registration Disabled",disabledMessage:"Registration is currently disabled by administrator. Please contact admin for access.",backToLogin:"Back to Login",registering:"Registering...",action:"Register",hasAccount:"Already have an account? ",loginHere:"Login here"}},printPreview:{title:"Print Preview",questionCount:"{count} questions",imageScale:"Image Scale",showQuestionText:"Question Text",showAnswers:"Show Answers",showAnalysis:"Show Analysis",showTags:"Show Tags",printButton:"Print / Save PDF",questionNumber:"Question {num}",source:"Source {id}",paperLevel:"Paper Level",knowledgePoints:"Knowledge Points",selectItems:"Select Items",selectAll:"Select All",clearSelection:"Clear Selection",referenceAnswer:"Reference Answer",analysis:"Analysis",noItems:"No matching error items",noSelection:"No items selected"},modelSelector:{modelName:"Model Name",selectFromList:"Select from List",selectModel:"Select Model",customInput:"Custom Input...",enterApiKeyFirst:"Please enter API Key first",noVisionModel:"No vision model found, please enter manually",fetchFailed:"Failed to fetch models",enterManually:", please enter manually"},pagination:{showing:"Showing {start}-{end} of {total}",first:"First page",prev:"Previous page",next:"Next page",last:"Last page"},shortId:{label:"ID",copy:"Copy ID",copied:"ID copied",locateTitle:"Locate by ID",locatePlaceholder:"Enter 6-character question ID",locate:"Go",notFound:"No question found with this ID",invalid:"A question ID has 6 characters (letters and digits)",searchHint:"Press Enter on a 6-character ID to open that question"},mastery:{probability:"Mastery probability",notEvaluated:"Not evaluated yet",estimated:"Estimated",aiEvaluated:"AI evaluated",evaluatedAt:"Evaluated at",pending:"Re-evaluating…",history:"Practice History",noHistory:"No practice records yet",result:"Result",date:"Date",difficulty:"Difficulty",source:"Source",results:{correct:"Correct",wrong:"Wrong",not_attempted:"Couldn't solve"},sources:{practice:"Practice",manual:"Manual entry",exam:"Exam paper",duplicate_import:"Repeated question import"},addRecord:"Record Result",recordDate:"Date",deleteRecord:"Delete record",deleteRecordConfirm:"Delete this record? Mastery will be re-evaluated.",deleteRecordFailed:"Failed to delete record",markResult:"How did it go?",suggested:"Suggested from your answer",saveResult:"Save Result",resultSaved:"Result saved. Mastery will be re-evaluated shortly.",resultSaveFailed:"Failed to save result",viewQuestion:"View question",thresholdHint:"Counted as mastered at {threshold}% or above (adjustable in Settings)",thresholdLabel:"Mastered threshold",thresholdDescription:"Default: 50%. Questions with practice records count as mastered once their mastery probability reaches this value. Applies to your account only. Range: 1–100%, whole numbers.",thresholdInvalid:"Enter a whole number from 1 to 100.",thresholdLoadFailed:"Failed to load the saved threshold. Please retry."},importFlow:{imported:'Imported to "{notebook}" (ID: {id})',duplicate:"This question is a duplicate. This incorrect attempt has been recorded in the existing question's practice history; no new question was imported.",viewItem:"View question",continueUpload:"Upload another",confirmBeforeImport:"Review before importing",confirmBeforeImportDesc:"When off, recognized questions are saved to the notebook directly.",enableGeogebra:"GeoGebra interactive demo",enableGeogebraDesc:"When on, question pages show the GeoGebra demo section, where AI can generate an interactive figure for the question.",enableSvgAnimation:"SVG animated explanation",enableSvgAnimationDesc:"When on, question pages show the SVG animation section, where AI can generate a step-by-step animated explanation for the question.",preferenceSaved:"Preference saved",preferenceSaveFailed:"Failed to save preference",thresholdLabel:"Duplicate question threshold",thresholdDescription:"Default: 90%. Figure descriptions added by AI and blank lengths are ignored when comparing. Questions with similarity strictly above this value are recorded as repeated incorrect attempts. Range: 1–100%, up to 2 decimal places. At 100%, automatic duplicate detection is disabled.",thresholdInvalid:"Enter a value from 1 to 100, with up to 2 decimal places.",thresholdLoadFailed:"Failed to load the saved threshold. Please retry.",saveThreshold:"Save threshold",retryLoad:"Reload"},questionSimilarity:{title:"Compare similarity",description:"Select two questions to compare their full text with the same method used during import. This comparison does not add a practice record.",selectTwo:"Select exactly two questions to compare.",selectQuestion:"Select question {id}",score:"Question similarity",threshold:"Current threshold: {threshold}%",duplicate:"These questions would be treated as duplicates at the current threshold.",different:"These questions would be imported separately at the current threshold.",missingText:"One of these questions has no text to compare. Add its question text first.",failed:"Failed to compare the questions. Please try again.",retry:"Compare again",question:"Question {index}"},importTasks:{entry:"Recognition",entryActive:"Recognizing {count}",entryUnread:"{count} new",title:"Recognition tasks",description:"Photos are recognized on the server after upload. You can leave the page or lock your phone; results stay here until you handle them.",empty:"No recognition tasks yet",backHome:"Back to upload",unread:"New",uploadedHint:"Uploaded. Recognition continues on the server, so you can leave this page and keep using the app.",viewTasks:"View recognition tasks",continueReview:"Continue review",viewItem:"View question",retry:"Retry",discard:"Discard",discardConfirm:"Discard this recognition task? The unreviewed result will be deleted.",discarded:"Task discarded",retried:"Retrying",notFound:"The task does not exist or has been discarded.",finishedToast:'Recognition finished. Open "Recognition" to view it.',createdAt:"Uploaded {time}",attempts:"Attempt {count}",stageEstimate:"Stage estimate, not exact progress",retentionHint:"Drafts awaiting review and failed tasks are kept until you handle them; saved tasks are kept for 7 days.",status:{analyzing:"Recognizing",review:"Ready for review",saving:"Saving",saved:"Saved",failed:"Failed"},mode:{review:"Review before saving",auto:"Save automatically"},savedTo:'Saved to "{notebook}" (ID: {id})',duplicateSaved:"Duplicate question: recorded in the existing question's practice history",itemDeleted:"Saved, but the question has since been deleted",timings:{read:"Read",convert:"Convert",crop:"Crop",compress:"Compress",upload:"Upload",receive:"Receive",analyze:"AI recognition",save:"Save"},elapsed:"Elapsed {time}"},importBatch:{title:"Multiple questions",batchOf:"Batch of {count} questions",source:{text:"Text",image:"Photo"},phase:{splitting:"Splitting questions…",failed:"Splitting failed",draft:"Waiting for confirmation",processing:"Solving",attention:"Needs your attention",done:"Done"},splittingHint:"AI is finding the questions. You can leave this page; the result stays under Recognition tasks.",detected:"{count} questions found",selected:"{count} selected",selectAll:"Select all",selectNone:"Clear selection",ignoredTitle:"Not counted as questions ({count})",ignoredHint:"Titles, name/date lines and similar text are not saved as questions. Add any part that was left out.",addAsQuestion:"Add as question",material:"Shared material",materialHint:"Placed before the question when solving",removeMaterial:"Remove shared material",question:"Question {index}",originalLabel:"No. {label}",edit:"Edit",collapse:"Done",questionText:"Question text",splitHere:"Split at cursor",splitHint:"Put the cursor at the start of the second question, then tap Split at cursor.",mergeUp:"Merge with previous",moveUp:"Move up",moveDown:"Move down",delete:"Delete",duplicate:"Duplicate",undo:"Undo",adjustRegion:"Adjust area",locate:"Mark on photo",hasFigure:"Has figure",continuation:{button:"Continues on next page",working:"Joining and splitting…",created:"The next page is being split. This question was moved out of this batch and will appear whole in the next batch.",notice:"Page {n} is being split",open:"Open"},fixText:{selected:"AI fix text ({count})",one:"AI fix text",running:"Fixing text…",hint:"Removes scratch work and fixes OCR typos. Numbers and formulas are kept as they are. You confirm each change.",pending:"Fix to confirm",title:"AI suggested fix",legend:"Struck out: removed · Highlighted: changed",uncertain:"Not sure, kept as is:",accept:"Accept fix",reject:"Keep original",acceptAll:"Accept all ({count})",done:"Suggested fixes for {count} questions; check and accept them below.",unchanged:"{count} questions need no fix.",failed:"{count} questions could not be fixed and keep their original text.",pendingHint:"{count} suggested fixes are not accepted yet; those questions will be solved with their original text."},flags:{unclear:"Some text is unclear; please check",partial:"The question may be cut off",unlocated:"Not located; mark it on the photo"},warnings:{blurry:"The photo may be blurry. Check the results carefully.",partial:"The photo may show only part of the worksheet.",truncated:"The AI output was incomplete; later questions may be missing. Please check.",tooMany:"Too many questions; only the first 60 are kept."},save:{saved:"Saved",dirty:"Unsaved changes",saving:"Saving…",error:"Save failed; will retry"},conflict:"These questions were changed on another page. The latest version has been loaded.",conflictKept:"The version saved on another page has been loaded. Your changes on this page are kept and can be restored.",restoreMine:"Restore my changes",discardMine:"Discard my changes",startAuto:"Solve and import {count} questions",startReview:"Solve {count} questions, review later",startHintAuto:"AI solves each question and saves it to your notebook. Duplicates are added to the original question's mistake record.",startHintReview:"Review before import is on: check each question after AI solves it, then save.",nothingSelected:"Select at least one question",needsRegion:"{count} selected questions have no area on the photo yet",cropping:"Cropping question images {done}/{total}…",uploadingImages:"Uploading {count} question images ({size})…",imageTextHint:"The text here only helps you recognize each question. After you start, each question is recognized again from its area on the photo.",submitting:"Submitting…",discard:"Discard batch",discardConfirm:"Discard this batch? Questions already imported are kept; unfinished results will be deleted.",discarded:"Discarded",progress:"{done}/{total} finished",counts:{saved:"Imported {count}",duplicate:"Duplicates {count}",review:"To review {count}",failed:"Failed {count}",active:"In progress {count}"},itemStatus:{analyzing:"Solving",saving:"Saving",review:"To review",saved:"Imported",duplicate:"Duplicate, added to original",failed:"Failed",deleted:"Imported, later deleted"},review:"Review",viewItem:"View",retryFailed:"Retry {count} failed",retrySplit:"Split again",manualFallback:"You can also go back and draw boxes manually.",confirmAll:"Import the other {count} as recognized",confirmAllDone:"{count} questions imported",leaveHint:"Submitted. The server is solving each question; you can leave this page and find progress under Recognition tasks.",notFound:"This batch does not exist or was discarded.",backToBatch:"Back to batch",emptyDraft:"No questions left. Undo the deletion or discard the batch.",showImage:"Show photo",hideImage:"Hide photo",regionDialogTitle:"Question area",regionDialogHint:"Drag to frame the whole question, including options, sub-questions and figures.",regionTab:"Area {index}",addRegion:"Add area",removeRegion:"Remove this area",saveRegion:"Use this area",addQuestion:"Add a question",open:"Open"},batchImport:{singleMode:"Single question",multiMode:"Draw boxes",autoMode:"Auto split",autoHint:"Optionally crop to the worksheet area (whole photo by default). AI finds each question and its position; nothing is solved until you confirm.",autoStart:"Find questions",hint:"Drag on the image to draw a box around each question. One box = one question.",regionCount:"{count} boxes",noRegions:"Draw at least one box",clear:"Clear",removeRegion:"Remove box {index}",start:"Import {count} questions",title:"Batch Import",summary:"{done}/{total} done · {failed} failed",status:{pending:"Waiting",uploading:"Uploading…",analyzing:"Recognizing…",saving:"Saving…",success:"Imported",failed:"Failed"},retry:"Retry",retryFailed:"Retry failed",uploaded:"Uploaded {done}/{total}. Keep this page open until all uploads finish.",finish:"Done",question:"Question {index}"},exam:{nav:"Exams",title:"Practice Exams",subtitle:"Randomly pick mistakes and generate a printable exam from similar questions.",create:"New Exam",createTitle:"Generate an Exam",list:"My Exams",empty:"No exams yet.",notebooks:"Notebooks",selectAll:"Select all",tags:"Knowledge tags (optional)",tagsPlaceholder:"Only pick questions with these tags",scope:"Questions",scopes:{unmastered:"Not mastered",mastered:"Mastered",all:"All"},pickRule:"Selection",pickRules:{least_practiced:"Least practiced first",random:"Fully random"},pickRuleHints:{least_practiced:"Questions with fewer practice records come first; for ties, questions never used in an exam come first, then random.",random:"Every matching question has the same chance."},count:"Number of questions",difficulty:"Difficulty",titleLabel:"Title (optional)",generate:"Generate",creating:"Creating…",noSource:"No questions match these conditions.",fewerThanRequested:"Only {actual} questions matched; the exam has {actual} questions.",noNotebook:"Select at least one notebook",status:{generating:"Generating",ready:"Generated",partial:"Partly failed",failed:"Failed",completed:"Completed"},progress:"{ready}/{total} generated",questionCount:"{count} questions",recorded:"Results entered",notRecorded:"Results not entered",source:"Source",sourceDeleted:"Source deleted",questionFailed:"Generation failed",questionPending:"Generating…",retryFailed:"Regenerate failed questions",regenerateQuestion:"Regenerate question",regenerateAnswer:"Regenerate solution",regenerating:"Generating…",regenerateQuestionConfirm:"AI will generate a new question with its answer and analysis, replacing the current one. Continue?",regenerateAnswerConfirm:"AI will regenerate the answer and analysis for this question; the question stays the same and entered results are kept. Continue?",regenerateHasResults:"Results have been entered for this question, so only the solution can be regenerated",regenerateFailed:"Regeneration failed, please try again later",print:"Print / Export",delete:"Delete",deleteConfirm:"Delete this exam? Entered results stay in each question's history.",showAnswer:"Answer",recordResults:"Enter Results",takenAt:"Exam date",saveResults:"Save Results",resultsSaved:"Results saved. Mastery will be re-evaluated shortly.",resultsSaveFailed:"Failed to save results",recordHint:"Each save adds a new attempt; questions without a selection are skipped.",attemptLabel:"Attempt {n}",noResultSelected:"Select a result for at least one question",cancel:"Cancel",notFound:"Exam not found",back:"Back",printTitle:"Print Preview",includeAnswers:"Include answer key",answerSpace:"Answer space",answerSpaceAuto:"Auto by question type",answerSpaceNone:"Fixed: none",answerSpaceSmall:"Fixed: small",answerSpaceMedium:"Fixed: medium",answerSpaceLarge:"Fixed: large",answerSpaceAutoHint:"Auto: less space for fill-in, choice and true/false questions; more for worked problems, growing with each sub-question.",questionAnswerSpace:"Blank space",questionAnswerSpaceSlider:"Adjust blank space for this question",decreaseAnswerSpace:"Decrease blank space",increaseAnswerSpace:"Increase blank space",resetQuestionAnswerSpace:"Reset",resetAllQuestionAnswerSpaces:"Reset custom spaces",answerSpaceSaveFailed:"Failed to save the answer space; it will revert next time. Check your connection and adjust again.",printNow:"Print",downloadHtml:"Download HTML",nameLine:"Name",dateLine:"Date",scoreLine:"Score",answerKey:"Answer Key",answerLabel:"Answer",analysisLabel:"Analysis",sourceLabel:"Source ID",notReadyHint:"Questions that failed to generate are left out of the printout.",uniformFigureScale:"Uniform figure scale",uniformFigureScaleSlider:"Adjust figure scale for all questions",uniformFigureScaleHint:"10–200%, default 100%. Save to apply to all questions with figures in this exam and their printouts.",uniformFigureAlign:"Uniform figure alignment"},figure:{alt:"Question figure",scale:"Figure display scale",scaleSlider:"Adjust figure scale",scaleHint:"10–200%, default 100%. Save to apply to this question's display and text printouts. Enlarged figures fit the available width.",resetScale:"Reset to 100%",align:"Figure alignment",aligns:{left:"Left",center:"Center",right:"Right"},regenerate:"AI Redraw Figure",regenerating:"Drawing figure…",noFigure:"AI found no figure in this question",failed:"Failed to generate the figure",noImage:"No original image to draw the figure from"},svgAnimation:{title:"SVG Animated Explanation",alt:"Animated explanation",hint:"AI explains the solution step by step with an SVG animation in English",otherLanguageAvailable:"A Chinese version of the animation exists. Switch the language to Chinese to view it, or generate an English version here.",generate:"Generate animation",generating:"Generating animation, this takes a few minutes…",regenerate:"Regenerate",replay:"Replay",play:"Play",pause:"Pause",progress:"Animation progress",fullscreen:"Full screen",exitFullscreen:"Exit full screen",delete:"Delete",confirmDelete:"Delete the English SVG animation? The Chinese version is kept. This cannot be undone.",deleteFailed:"Failed to delete the animation",failed:"Failed to generate the animation, please try again later",noQuestionText:"The question text is empty, so no animation can be generated",invalid:"AI did not return a valid animation, please try again",voiceOn:"Turn on voice narration",voiceOff:"Turn off voice narration",voiceRate:"Narration speed",voiceUnsupported:"This browser has no voice for this language, so narration is unavailable",voiceRegenerate:"Regenerate voice",voiceRegenerating:"Generating voice…",voiceRegenerateHint:"Synthesize the cloud voice for this animation again. Progress appears in background tasks. Uses the speech provider's quota.",voiceRegenerateDone:"Voice regenerated",voiceRegenerateFailed:"Failed to regenerate the voice. Try again later.",voiceRegenerateDisabled:"Cloud voice is turned off",narrationGenerate:"Add narration",narrationRegenerate:"Rewrite narration",narrationGenerating:"Writing narration…",narrationHint:"AI writes a voice narration script for this animation; the picture stays the same",narrationDone:"Narration script updated. Turn on the speaker in the player to listen.",narrationFailed:"Failed to write the narration, please try again later",narrationInvalid:"AI did not return a valid narration script, please try again"},backgroundTasks:{title:"Background tasks",description:"Progress of long-running tasks such as question recognition and AI generation. Tasks keep running on the server after you leave the page.",empty:"No background tasks right now",progress:"{done} / {total}",failedCount:"{count} failed",startedAt:"Started {time}",elapsed:"Elapsed {time}",view:"View",clearFinished:"Clear finished",retentionHint:"Finished tasks are kept for 30 minutes; the list is cleared when the service restarts.",status:{running:"In progress",succeeded:"Done",failed:"Failed"},kinds:{analyze:"Importing question (AI recognition)",split:"Splitting questions (AI)",fix_text:"Fixing question text (AI)",batch_upload:"Batch upload recognition",data_import:"Importing backup data",svg_animation:"Generating SVG animated explanation",svg_narration:"Writing animation narration",tts_voice:"Generating animation voice",reanswer:"Regenerating solution",fix_latex:"Fixing LaTeX",figure:"Redrawing figure",geogebra:"Generating GeoGebra demo",retag:"Regenerating knowledge tags",retag_notebook:"Regenerating tags for notebook",practice:"Generating similar question",exam:"Generating exam paper"},errors:{NO_VALID_ANIMATION:"AI did not return a valid animation",ALL_FAILED:"All items failed",NO_QUESTION_TEXT:"The question text is empty",NO_TAGS_SELECTED:"AI selected no tags",NO_AVAILABLE_TAGS:"No tags available",SERVER_RESTARTED:"Interrupted by a server restart. Please try again."}},replaceImage:{replace:"Replace image",view:"View original image",hide:"Hide original image",add:"Upload question image",uploading:"Uploading…",confirm:"Replace the original question image? The old image will be overwritten and cannot be restored.",done:'Image replaced. To redraw the figure from the new image, click "AI Redraw Figure".',invalid:"Please choose a PNG, JPEG, WebP or GIF image",failed:"Failed to replace the image"},reanswerItem:{button:"Regenerate full solution",running:"Generating solution…",confirm:"AI will regenerate the full answer and analysis and overwrite the current ones. Tags, wrong answer and mistake analysis are kept. Continue?",failed:"Failed to regenerate the solution, please try again later",noQuestionText:"The question text is empty, so no solution can be generated"},fixLatex:{button:"Fix LaTeX",running:"Fixing formulas…",issuesFound:"{count} LaTeX issue(s) found",noIssues:"No LaTeX syntax errors found",fixedAll:"Fixed the formulas in: {fields}",fixedPartly:"Fixed the formulas in: {fields}. {count} issue(s) could not be fixed automatically, please edit them manually.",notFixed:"AI could not fix the formulas automatically; the original content is kept. Please edit it manually.",failed:"Failed to fix LaTeX, please try again later",fields:{questionText:"Question",answerText:"Answer",analysis:"Analysis",wrongAnswerText:"Wrong answer",mistakeAnalysis:"Mistake analysis"}},markdownEditor:{modeLabel:"Editor view",source:"Source",preview:"Preview",empty:"Nothing to preview",doubleClickToEdit:"Double-click to edit the source"},directEntry:{title:"Enter the question directly (Markdown + LaTeX supported)",reset:"Reset",edit:"Edit",preview:"Preview",saving:"Saving...",save:"Save directly",hint:"Fill in the question and answer, then save without AI analysis · Ctrl+Enter to save",gradeSemesterPlaceholder:"e.g. Grade 8, 1st semester",questionPlaceholder:"Enter the question...\nMarkdown and LaTeX formulas are supported\n\nExample:\n# Question 1\n\nGiven $f(x) = x^2 + 2x + 1$, find $f(3)$.\n\n**Requirements:**\n1. Show your steps\n2. Give the final answer",answerPlaceholder:"Enter the reference answer...\n\nExample:\n$f(3) = 3^2 + 2 \\times 3 + 1 = 9 + 6 + 1 = 16$",analysisPlaceholder:"Enter the analysis...\n\nExample:\nThis is a **quadratic function** evaluation problem.\n\nSubstitute $x=3$ into the expression:\n$$f(3) = 3^2 + 2 \\times 3 + 1 = 16$$",wrongAnswerPlaceholder:"Paste the wrong solution here if there is one; otherwise leave it empty",mistakeAnalysisPlaceholder:"Analyze which step went wrong and why..."},geogebra:{title:"GeoGebra interactive demo",generate:"Generate demo",analyzing:"AI analyzing...",hint:"AI checks whether this question suits a GeoGebra demo and, if so, generates an interactive figure.",notSuitable:"This question is not suitable for a GeoGebra demo",analyzeFailed:"Analysis failed, please try again later",authFailed:"AI authentication failed, please check the settings",connectionFailed:"AI connection failed, please check the network",answerRequired:"Generate or enter the answer first",notLoaded:"GeoGebra failed to load",initFailed:"GeoGebra failed to initialize",scriptFailed:"Unable to load the GeoGebra component",regenerate:"Regenerate",reset:"Reset",enlarge:"Enlarge",shrink:"Shrink",loading:"Loading GeoGebra...",delete:"Delete",confirmDelete:"Delete the generated GeoGebra demo? This cannot be undone.",deleteFailed:"Failed to delete the GeoGebra demo"},difficulty:{label:"Difficulty",unrated:"Unrated",starsLabel:"{n} stars",setStars:"Set to {n} stars",clearHint:"Click the current rating again to clear it",saveFailed:"Failed to save difficulty"},retag:{notebookButton:"Re-identify Tags & Difficulty",notebookConfirm:"AI will re-select knowledge tags and rate the difficulty stars for every question in this notebook. System tags and stars are replaced; your custom tags are kept. Continue?",progress:"Re-identifying tags and difficulty: {done}/{total}",finished:"Tags and difficulty re-identified: {success} succeeded, {failed} failed",empty:"No questions in this notebook",itemButton:"AI Re-identify",itemRunning:"Regenerating…",itemFailed:"Failed to re-identify tags and difficulty",noTags:"AI found no matching tags in the library",suggestButton:"AI Suggest Tags",suggestRunning:"Suggesting…"}},zh:{questionGrade:{label:"录入题目的年级识别规则",fixed:"固定年级",ai:"AI 识别",fixedDescription:"新题使用所选年级学期;未指定时使用账户学段与入学年份推算的当前年级。",aiDescription:"AI 根据题目内容判断年级学期,无法确定时保持未设置。直接录入未填年级时也会调用 AI,并计入每日 AI 用量。",description:"按账户保存,适用于各录入入口。手工修改优先,已有题目与备份恢复的年级保持原值。",save:"保存年级规则",loadFailed:"加载年级规则失败,请重试。"},gradeSelection:{edit:"编辑年级/学期",firstSemester:"上学期",secondSemester:"下学期",names:["一年级","二年级","三年级","四年级","五年级","六年级","初一","初二","初三","高一","高二","高三","大一","大二","大三","大四"]},pageTitle:{base:"AI智能错题本",home:"录入错题",addError:"录入错题",examPrint:"打印",login:"登录",register:"注册"},common:{loading:"加载中...",colon:":",listSeparator:"、",showPassword:"显示",hidePassword:"隐藏",error:"错误",success:"成功",save:"保存",cancel:"取消",confirm:"确认",back:"返回",delete:"删除",default:"默认",add:"添加",rename:"重命名",activate:"启用",deactivate:"停用",inactive:"已停用",welcome:"欢迎回来,",pleaseWait:"请稍候...",notSet:"未设置",edit:"编辑",expand:"展开",collapse:"收起",close:"关闭",confirmTitle:"请确认",cropper:{title:"裁剪图片",hint:"💡 拖动选框调整裁剪区域,滚轮或双指可缩放图片",zoomIn:"放大",zoomOut:"缩小",resetZoom:"还原为 100%"},progress:{reading:"正在读取照片...",converting:"正在转换 HEIC/HEIF 照片...",compressing:"正在准备图片...",uploading:"正在上传...",analyzing:"等待 AI 返回分析结果...",processing:"正在处理结果...",saving:"正在保存...",estimated:"阶段估算:{percent}%",elapsed:"已用时:{time}",estimateHint:"百分比按处理阶段估算。"},messages:{analysisFailed:"AI 分析失败,请重试",missingImage:"缺少图片数据",saveSuccess:"保存成功!",saveFailed:"保存失败",loadFailed:"加载失败",updateFailed:"更新失败",deleteSuccess:"删除成功",deleteFailed:"删除失败",tagUpdateSuccess:"标签更新成功!",metaUpdateSuccess:"信息更新成功!",noteSaveSuccess:"笔记保存成功",confirmDelete:"确定要删除这道错题吗?"}},home:{greetingMorning:"早上好",greetingAfternoon:"下午好",greetingEvening:"晚上好",heroSubtitle:"拍照或输入题目,AI 帮你解析、打标签并归档到错题本。",notebookCount:"错题本",itemCount:"道错题",dueCount:"今日待复习",targetNotebook:"录入到:{name}"},review:{title:"今日复习",desc:"按 1、2、4、7、15、30 天的间隔安排复习。做对进入下一轮间隔,做错从头开始。",dueCount:"今日待复习 {count} 道",practice:"举一反三",dueOn:"{date} 到期",overdue:"{date} 起已到期",round:"第 {round} / {total} 轮",empty:"今天没有需要复习的错题",emptyHint:"录入举一反三结果后,错题会按计划回到这里。可以继续录入新错题,或明天再来。"},nav:{home:"录入",notebooks:"错题本",review:"复习",stats:"统计",exams:"试卷",admin:"管理",menu:"账户"},theme:{toggle:"主题",system:"自动(跟随系统)",light:"浅色",dark:"深色"},app:{title:"智能错题本",subtitle:"AI 驱动的题目分析与智能复习",dragDrop:"拖拽图片到此处,或点击浏览",analyzing:"AI 正在分析...",compressing:"正在压缩图片...",supportedFormats:"支持 JPG、PNG、HEIC 格式",gallery:"照片库",tags:"标签管理",stats:"统计中心",logout:"退出登录",uploadNew:"上传新题",directInput:"直接录入",addError:"添加错题",viewNotebook:"查看错题本",practiceProblem:"练习题",yourAnswer:"你的答案",answerPlaceholder:"输入你的答案...",notesPlaceholder:"记录解题思路(可选)...",submitAnswer:"提交答案",uploadImage:"拍照上传",manualInput:"手动输入",textInputHint:"手动输入题目文本",textInputPlaceholder:"在此粘贴或输入题目文本...\n支持 Markdown 和 LaTeX 公式(如 $x^2 + y^2 = 1$)\n\nCtrl+Enter 快捷提交",aiSolve:"AI 解题",textInputTip:"输入题目后,AI 将自动解答并生成解析",multiDetected:"检测到 {count} 道编号题",splitPreview:"分题预览({count} 题)",solveAsOne:"作为一道题解析",aiSplit:"含多道未编号的题?用 AI 分题",aiSplitMulti:"分得不对?用 AI 分题",aiSplitHint:"会调用一次 AI 找出题目边界,确认后才逐题解析。",creatingBatch:"正在准备预览…",subQuestionsHint:"这 {count} 个编号看起来是同一道题的小问,已按一道题处理。",splitAnyway:"仍按 {count} 题分题预览",overflowHint:"每批最多 60 题,其余 {count} 题会列入「未计入题目的内容」。",textTooLong:"文字超过 20000 字,请分几次录入。"},wrongAnswerStats:{title:"错题统计",totalErrors:"累计错题",totalErrorsDesc:"已收集题目",new:"待复习",newDesc:"尚未复习",reviewing:"复习中",reviewingDesc:"正在进行",mastered:"已掌握",masteryRate:"掌握率",dailyTrend:"每日趋势",monthlyTrend:"月度趋势",SubjectDistribution:"科目分布",added:"新增",newlyMastered:"新掌握",trendSubtitle:"新增与新掌握的错题数",viewNew:"查看待复习错题",viewReviewing:"查看复习中错题",viewMastered:"查看已掌握错题",mistakeCause:"错因分布",mistakeCauseSubtitle:"作答状态与错误类型分布",difficultyDistribution:"难度分布",difficultyDistributionSubtitle:"各难度星级已掌握与总错题数",errorTypeEmpty:"编辑错题时填写错误类型后,这里会显示分布。",errorTypeOther:"其他"},weakTags:{title:"薄弱知识点",subtitle:"按未掌握错题多、近期练习错得多排序",unmasteredOf:"未掌握 {unmastered} / 共 {total}",recentRate:"近期正确率 {rate}%",recentNoPractice:"近期未练习",loadError:"薄弱知识点加载失败",empty:"该范围内暂无薄弱知识点。"},upload:{support:"支持 JPG、PNG、WebP 和 HEIC/HEIF 照片",parts:{addNext:"下一段在另一张",cropHint:"第 {n} 段:框选这一段,确认后接在前面各段下方,拼成一道题识别。",confirm:"拼成一题并识别({count} 段)",added:"已暂存第 {n} 段,请拍摄或选择下一段所在的照片。",title:"这道题已暂存 {count} 段",hint:"拍摄或选择下一段所在的照片并框选,各段会按顺序上下拼成一张图;也可以现在开始识别。",finish:"拼成一题并识别({count} 段)",discard:"放弃已暂存的",part:"第 {n} 段",max:"一道题最多分 {max} 段"},camera:"拍照",cameraDesc:"直接打开相机拍摄",album:"相册",albumDesc:"从手机相册选择照片",file:"从文件选择",fileDesc:"相册中找不到照片时使用",noCamera:"未检测到可用的相机,请从相册或文件中选择。",decodeErrors:{HEIC_DECODE_FAILED:"无法解码这张 HEIC/HEIF 照片。可在相册中将其导出为 JPG(或经微信等转存)后重试。",IMAGE_DECODE_FAILED:"无法读取这张图片({format}),可能已损坏或当前浏览器不支持该格式。",UNSUPPORTED_IMAGE:"所选文件不是可识别的图片,请选择 JPG、PNG、WebP 或 HEIC 照片。"},stages:{read:"读取",convert:"转换",compress:"裁剪压缩"},analyze:"AI 智能解析",screenshot:"屏幕截图",screenshotDesc:"捕获屏幕内容(建议选择‘整个屏幕’或‘窗口’以获得最佳效果)",screenshotNotSupported:"此浏览器不支持屏幕截图",screenshotFailed:"截图失败",screenshotPermissionDenied:"截图权限被拒绝",screenshotComplete:"截图完成!正在返回上传页面...",paste:"从剪贴板粘贴",pasteDesc:"也可在本页直接按 Ctrl/⌘+V 粘贴图片",pasteNoImage:"剪贴板中没有图片",pasteNotSupported:"此浏览器无法直接读取剪贴板,请按 Ctrl/⌘+V 粘贴",pastePermissionDenied:"剪贴板权限被拒绝,请按 Ctrl/⌘+V 粘贴",pasteFailed:"读取剪贴板失败,请按 Ctrl/⌘+V 粘贴"},editor:{title:"校对与保存",question:"题目内容",answer:"参考答案",analysis:"解析思路",mistakeAnalysisTitle:"错因分析",mistakeStatus:"作答状态",wrongAnswerText:"错误解答原文",mistakeAnalysis:"错因分析",wrongAnswerPlaceholder:"如果图片里没有错误解答,可留空",mistakeAnalysisPlaceholder:"分析错误可能发生在哪一步、为什么错、导致什么后果",mistakeStatuses:{notAttempted:"不会做",wrongAttempt:"做错了",unknown:"未判断"},tags:"知识点 (回车添加)",addTag:"添加标签...",cancel:"取消",save:"保存到错题本",selectNotebook:"选择错题本",gradeSemester:"年级/学期",preview:{question:"题目预览",answer:"答案预览",analysis:"解析预览",mistakeAnalysis:"错因分析预览"},tagsPlaceholder:"输入知识点标签,可从建议中选择...",tagsHint:"💡 输入时会显示标签建议,支持从标准标签库选择",createTagHint:"按回车键创建新标签",messages:{selectNotebook:"请选择一个错题本"},paperLevel:"所属卷等级",paperLevels:{a:"A卷",b:"B卷",other:"其他"},reanswerSuccess:"✅ 答案和解析已更新!",enterQuestionFirst:"请先输入题目内容",reanswering:"AI 正在解题...",reanswer:"🔄 重新解题(根据校正后的题目)",reanswerHint:"💡 如果题目识别有误,校正题目后点击此按钮让 AI 重新生成答案和解析",placeholder:"支持 Markdown 和 LaTeX..."},notebook:{emptyList:"暂无错题",emptyListHint:"换个筛选条件试试,或者往错题本里录入新的错题。",title:"我的错题本",subtitle:"温故知新,查漏补缺。",addNew:"添加错题",search:"搜索题目或知识点...",filter:"筛选",mastered:"已掌握",reviewing:"复习中",review:"待复习",gradeSemesterPlaceholder:"例如:初一,上期",added:"添加于",exportPrint:"导出打印",selectMode:"多选",cancelSelect:"取消",deleteSelected:"删除选中",selectedCount:"已选 {count} 项",confirmBatchDelete:"确定删除 {count} 道错题?",batchDeleteSuccess:"删除成功"},notebooks:{title:"我的错题本",subtitle:"按科目分类管理你的错题",create:"新建错题本",createFirst:"创建错题本",empty:"还没有错题本,点击上方按钮创建第一个吧!",deleteConfirm:"确定要删除这个错题本吗?",createError:"创建失败",deleteError:"删除失败",deleteNotEmpty:"请先清空错题本中的所有题目,才能删除该错题本。",items:"道题目",cardItems:"题",notFound:"错题本不存在",totalErrors:"共 {count} 道错题",addError:"添加错题",collapseTags:"收起 ↑",expandTags:"+{count} 个 ↓",expandTagsTooltip:"点击展开 {count} 个标签",collapseTagsTooltip:"点击收起",dialog:{stageLabel:"学段",subjectLabel:"学科",tagSetLabel:"标签体系",tagSetDefault:"内置体系",tagSetNames:{cnm:"人教版课标体系"},scopeHint:"学段、学科和标签体系创建后不可修改,AI 只会从该范围内选择知识点标签。",title:"创建新错题本",desc:"为不同科目或章节创建独立的错题本",nameLabel:"错题本名称",placeholder:"例如:数学、物理、化学...",enterName:"请输入错题本名称",creating:"创建中...",create:"创建"},rename:"重命名",renameDialog:{title:"重命名错题本",nameLabel:"新名称",placeholder:"请输入新的错题本名称",enterName:"请输入错题本名称",renaming:"重命名中...",rename:"重命名"},selector:{placeholder:"选择错题本",empty:"暂无错题本"}},detail:{viewImage:"查看图片",hideImage:"隐藏图片",referenceImageAlt:"参考图片",wrongAnswerImageAlt:"我的答案图片",title:"错题详情",question:"题目",originalProblem:"原始问题",yourNotes:"你的笔记 / 答案",noNotes:"暂无笔记",notFound:"未找到该错题",editNotes:"编辑",notesPlaceholder:"输入你的笔记...",correctAnswer:"参考答案",analysis:"解析",referenceDiagram:"参考图形",practice:"举一反三",delete:"删除",clickToView:"点击查看大图",clickToEnlarge:"点击图片查看大图",questionInfo:"试题信息",mistakeAnalysis:"错因分析",noMistakeAnalysis:"暂无错因分析",close:"✕ 关闭",clickOutside:"点击图片外部区域关闭"},practice:{title:"智能练习",subtitle:"生成同类变式题,检测掌握情况。",generate:"生成练习题",generating:"AI 正在出题...",regenerate:"重新生成",lastGeneratedAt:"生成于 {time},点击「重新生成」可换一道新题。",correct:"回答正确!",correctMessage:"太棒了,继续保持!",incorrect:"答案有误",incorrectMessage:"再看看解析,加油!",grading:"正在判题…",aiGradeReason:"AI 判定:{reason}",gradeFailed:"暂时无法自动判定,请对照下方答案自行选择结果。",yourNotes:"你的笔记:",checkAnswer:"查看答案",hideAnswer:"隐藏答案",correctAnswer:"参考答案",detailedAnalysis:"详细解析",referenceDiagram:"参考图形",invalidRequest:"无效请求",errors:{IMPORT_TASK_INVALID_INPUT:"上传内容无效,请重新选择照片。",IMPORT_TASK_INVALID_NOTEBOOK:"错题本不存在或不属于当前账户。",IMPORT_TASK_NOT_FOUND:"识别任务不存在或已被丢弃。",IMPORT_TASK_BUSY:"任务正在保存,请稍候。",IMPORT_TASK_NOT_REVIEWABLE:"该任务当前不是待校对状态。",IMPORT_TASK_NOT_RETRYABLE:"该任务当前不能重试。",SERVER_RESTARTED:"服务重启导致处理中断,请重试。",connection:"网络连接失败,请检查网络设置或代理配置。",response:"AI 解析异常,请重试或切换其他模型。",auth:"认证失败,请检查 API Key 配置。",unknown:"发生未知错误,请稍后重试。",default:"生成失败,请重试。"},difficulty:{label:"难度选择",easy:"简单",medium:"适中",hard:"困难",harder:"挑战",Unknown:"未知"}},tags:{title:"标签管理",subtitle:"查看和管理知识点标签",unitChapters:"章",otherGroup:"其他",tabs:{standard:"标准标签库",custom:"自定义标签",stats:"使用统计"},subjects:{math:"数学",english:"英语",physics:"物理",chemistry:"化学",biology:"生物",chinese:"语文",history:"历史",geography:"地理",politics:"政治",other:"其他"},categories:{algebra:"代数",geometry:"几何",numbers:"数与式",statistics:"统计与概率",mechanics:"力学",electricity:"电学",optics:"光学",thermology:"热学",acoustics:"声学",basic:"基础",elements:"元素",compounds:"化合物",reactions:"反应",calculation:"计算",grammar:"语法",sentence:"句法",reading:"阅读",writing:"写作"},custom:{addTitle:"添加自定义标签",placeholder:"输入标签名称...",add:"添加",hint:"💡 自定义标签会自动出现在标签输入建议中",empty:"还没有自定义标签,点击上方添加吧!",enterName:"请输入标签名称",success:"标签添加成功!",exists:"标签已存在",deleteConfirm:'确定要删除标签 "{tag}" 吗?',selectGrade:"选择年级",noGrade:"不选择年级"},stats:{loading:"加载中...",empty:"还没有任何标签使用记录",frequency:"标签使用频率(Top 20)",count:"次"}},filter:{masteryStatus:"掌握状态",all:"全部",review:"待复习",reviewing:"复习中",mastered:"已掌握",timeRange:"时间范围",allTime:"全部时间",lastWeek:"最近一周",lastMonth:"最近一个月",filteringByTag:"按标签筛选",grade:"年级/学期",paperLevel:"所属卷等级",gradeShort:"年级/学期",chapter:"章节",knowledgePoint:"知识点",allGrades:"全部年级",allChapters:"全部章节",allKnowledgePoints:"全部知识点"},setup:{pageTitle:"安装向导",step:"第 {current} / {total} 步",logout:"退出登录",password:{title:"修改默认密码",desc:"当前账号仍在使用默认密码 123456,为保证安全,请先设置新密码。",newPassword:"新密码",confirmPassword:"确认新密码",submit:"保存新密码",tooShort:"密码至少 6 位",mismatch:"两次输入的密码不一致",sameAsDefault:"新密码不能是默认密码",success:"密码已修改",failed:"修改密码失败"},ai:{title:"配置 AI 渠道",desc:"题目识别、解答和打标签都依赖 AI。推荐先用 MiniMax Code(网页登录,每天有免费积分),也可以填写其他服务的 API Key,之后可在「设置 → AI」中修改。"},notebook:{title:"创建第一个错题本",desc:"错题本按学段和学科划分,创建后不可修改。",create:"创建错题本",created:"已创建错题本:{name}"},next:"下一步",skip:"跳过",finish:"完成",skipAll:"跳过向导",finished:"设置完成,开始使用吧!",completeFailed:"保存向导状态失败",rerun:"重新运行安装向导"},stats:{title:"练习统计",headerTitle:"统计中心",headerDesc:"查看学习进度、数据分析和知识点",tagManagement:"知识点",totalPractices:"累计练习",correctRate:"正确率",activeDays:"活跃天数",subjectDistribution:"学科分布",weeklyTrend:"月度趋势",dailyTrend:"每日趋势",monthlyTrend:"月度趋势",range7d:"近 7 天",range30d:"近 30 天",range6m:"近 6 个月",rangeAll:"全部",allSubjects:"全部学科",timeRange:"时间范围",total:"总题数",correct:"正确",attempted:"已作答"},repeatedMistakes:{title:"反复错题目",subtitle:"所选范围内做错 2 次以上的题目,建议重点复习。",empty:"所选范围内没有错两次以上的题目。",wrongTimes:"错 {count} 次",noPreview:"(无文字题干)"},activityHeatmap:{title:"学习日历",currentStreak:"当前连续",longestStreak:"最长连续",totalActiveDays:"累计活跃",less:"少",more:"多",levels:["无","较少","中等","较多","很多"],weekdays:["一","二","三","四","五","六","日"],dayTooltip:"{date}:录入 {errors} 题,练习 {practices} 次"},statsState:{errorTitle:"统计数据加载失败",errorDesc:"请检查网络后重试。",retry:"重试",practiceEmptyTitle:"还没有练习记录",practiceEmptyDesc:"做过举一反三练习后这里会显示统计。",goToReview:"去复习",wrongEmptyTitle:"还没有错题",wrongEmptyDesc:"录入错题后这里会显示统计。",goToHome:"去首页录入错题"},settings:{title:"设置",save:"保存设置",desc:"管理您的应用偏好和数据。",paperGroups:{title:"卷别分组",desc:"自定义卷别分组,如单元测试、期中、期末。默认分组 A卷/B卷/其他 可改名但不可删除。",addPlaceholder:"如:单元测试",renamePrompt:"重命名分组",deleteConfirm:"删除分组「{name}」?",deleteConfirmWithItems:"分组「{name}」下有 {count} 道题目,删除后将清空这些题目的分组。继续?",systemBadge:"默认"},general:{timeZoneLabel:"应用时区",timeZoneDesc:"全站日期、时间和统计统一使用此时区,默认 Asia/Shanghai(北京时间)。管理员可输入 IANA 时区名称并保存。",invalidTimeZone:"请输入有效的 IANA 时区,例如 Asia/Shanghai。",timeoutLabel:"AI 分析超时时间 (秒)",timeoutDesc:"如果 AI 分析频繁超时,请增加此值。"},tabs:{general:"通用",account:"账户",ai:"AI 提供商",prompts:"提示词",admin:"用户管理",danger:"危险",about:"关于"},about:{title:"关于",version:"当前版本",github:"GitHub 仓库",desc:"智能错题本 - AI 驱动的学习助手",releaseNotes:"发行说明",feedback:"问题反馈",copyright:"© 2026 margrop · 基于 wttwins/wrong-notebook 扩展 · MIT 许可证",androidServer:"服务器",changeServer:"更换服务器",androidStandalone:"在本机运行,数据只保存在这台设备上。"},account:{changePassword:"修改密码 (留空不修改)",update:"更新个人信息",currentGrade:"当前年级学期",selectGrade:"选择年级",selectSemester:"选择学期",firstSemester:"上学期",secondSemester:"下学期",gradeAppliedHint:"新录入的错题将默认使用该年级,也可在常规设置中配置 AI 年级识别。"},ai:{anthropicBaseUrlHint:"留空使用官方接口;兼容服务请填写不含 /v1 的地址(如 https://api.example.com/anthropic)。",vendorApiKeyHint:"在官方控制台获取 API Key:",vendorBaseUrlHint:"留空使用上方的中国大陆官方地址;使用国际站时填写其 OpenAI 兼容地址。",providerErrorDetail:"服务商报错:",docLinks:{apiKey:"获取说明",models:"模型列表"},providerDocs:{title:"官方接入文档:",official:"接入文档",cn:"国内站",intl:"国际站"},stepfunBaseUrlHint:"默认为 Step Plan 套餐地址(推荐,套餐含语音合成);使用按量付费的 Key 时填写 https://api.stepfun.com/v1,国际站填写 https://api.stepfun.ai/v1。",volcengineBaseUrlHint:"本渠道按量付费;订阅了 Agent Plan 或 Coding Plan 时请选择对应的火山引擎套餐渠道(使用套餐专属地址,计入套餐额度)。国际站(BytePlus ModelArk)填写 https://ark.ap-southeast.bytepluses.com/api/v3。",volcengineAgentBaseUrlHint:"Agent Plan 专属地址。请使用方舟控制台 Agent Plan 管理页的专属 API Key,普通方舟 Key 不能用于此地址。套餐含豆包语音合成,可在「语音讲解」中选用。默认模型 doubao-seed-evolving(豆包持续迭代的模型);也可填写 ark-code-latest,使用方舟控制台「开通管理」中选择的模型(切换后约 3~5 分钟生效)。识别题目需要支持图片理解的模型。",volcengineCodingBaseUrlHint:"Coding Plan 专属地址,使用方舟 API Key。不要改成 /api/v3:该地址不计入套餐额度,会按量计费。Coding Plan 不含语音合成,云端语音请在「语音讲解」中选择火山引擎 Agent Plan、豆包语音或其他渠道。默认模型 doubao-seed-evolving(豆包持续迭代的模型);也可填写 ark-code-latest,使用方舟控制台「开通管理」中选择的模型(切换后约 3~5 分钟生效)。识别题目需要支持图片理解的模型。",volcengineFree:{title:"免费试用",body:"注册火山引擎即可获得每个模型的免费推理额度(官方文档为每个模型 50 万 tokens)。在火山方舟控制台的「开通管理」中开启「安心体验模式」后,调用只消耗免费额度,额度接近用完时自动暂停,不会产生费用。额度用完后如需继续使用,完成实名认证并改用「火山引擎 豆包」渠道。"},qwenBaseUrlHint:"默认为阿里云百炼 Token Plan 专属地址(推荐,Key 以 sk-sp- 开头);使用按量付费的 Key 时填写 https://dashscope.aliyuncs.com/compatible-mode/v1。",minimaxCode:{title:"MiniMax Code 账号",intro:"用 MiniMax Code 账号在网页登录授权,应用会用这个登录调用 MiniMax Code 的模型,不需要 API Key。",risk:"该渠道使用 MiniMax Code 桌面客户端的登录方式,不是官方开放接口,MiniMax 可能随时调整或限制。",loginStatus:"登录状态",statusNone:"未登录",statusActive:"已登录",statusExpired:"登录已失效,请重新登录",credits:"剩余积分",creditsUnavailable:"暂时无法获取",creditsDetail:"免费 {free} · 购买 {purchased}",login:"网页登录",relogin:"重新登录",logout:"退出登录",refresh:"刷新",waiting:"请在打开的页面中完成授权,正在等待…",openLink:"打开授权页面",userCode:"验证码",loginSuccess:"已登录 MiniMax Code",loginExpired:"授权已超时,请重新发起",loginDenied:"授权被拒绝",loginFailed:"登录失败",model:"模型",modelHint:"默认 MiniMax-M3.1-Flash,可从列表中选择或直接填写模型名。",checkinToday:"今日签到",checkinAuto:"今天 {time} 已自动签到(+{points} 积分,连签 {days} 天)",checkinDone:"今天已签到(+{points} 积分,连签 {days} 天)",checkinNotYet:"今天还未签到",checkinWillAuto:"今天还未签到,一小时内会自动签到",checkinFailed:"签到失败:{error}",checkinNow:"立即签到",checkinSuccess:"签到成功",autoCheckin:"每日自动签到",autoCheckinHint:"服务运行期间每天自动领取 MiniMax Code 签到积分(按北京时间计算),保存设置后生效。"},save:"保存 AI 设置",instances:"配置实例",addInstance:"添加",deleteInstance:"删除",instanceName:"实例名称",selectInstance:"选择实例",noInstances:"暂无配置实例,点击「添加」创建",maxInstancesReached:"已达最大实例数 (10)",confirmDelete:"确定删除此实例?",validationNameRequired:"实例名称不能为空",validationApiKeyRequired:"API Key 不能为空",validationBaseUrlRequired:"Base URL 不能为空",validationModelRequired:"模型名称不能为空",azureEndpoint:"Azure 端点",azureEndpointPlaceholder:"https://your-resource.openai.azure.com",azureDeployment:"部署名称",azureDeploymentPlaceholder:"gpt-4o-deployment",azureApiVersion:"API 版本",azureApiVersionPlaceholder:"2024-02-15-preview",azureModel:"模型显示名",validationAzureEndpointRequired:"Azure 端点不能为空",validationAzureDeploymentRequired:"部署名称不能为空",testConnection:"测试连接",testing:"测试中...",testSuccess:"连接成功",testFailed:"连接失败",testNetworkNote:"* 由于网络问题,可能测试结果不准确",textSupport:"文本生成",visionSupport:"图像识别/多模态",supported:"支持",notSupported:"不支持",errors:{AI_AUTH_ERROR:"API Key 无效或已过期",AI_PERMISSION_DENIED:"权限不足,请检查 API Key 权限",AI_NOT_FOUND:"端点或模型不存在 (404)",AI_QUOTA_EXCEEDED:"请求频率过高或配额不足",AI_CONNECTION_FAILED:"无法连接 AI 服务器,请检查网络或 Base URL",AI_TIMEOUT_ERROR:"请求超时,服务器响应过慢",AI_RESPONSE_ERROR:"AI 返回格式异常,可能模型不兼容",AI_SERVICE_UNAVAILABLE:"AI 服务不可用 (503),无可用渠道",AI_UNKNOWN_ERROR:"AI 服务返回错误,请检查配置或稍后重试",VISION_NOT_SUPPORTED:"该模型不支持图像识别"}},tts:{title:"语音讲解",modes:{browser:"浏览器本地语音(Web Speech,免费)",minimax:"云端语音:MiniMax(建议使用 M Plan)",qwen:"云端语音:千问(建议使用 Token Plan)",glm:"云端语音:智谱 GLM-TTS(建议使用 GLM Coding Plan)",stepfun:"云端语音:阶跃星辰(建议使用 Step Plan)",volcengine:"云端语音:火山引擎豆包语音(可免费试用,建议购买资源包)","volcengine-agent":"云端语音:火山引擎 Agent Plan(豆包语音合成 2.0,计入套餐额度)",openai:"云端语音:OpenAI(gpt-4o-mini-tts)"},browserHint:"动画讲解由观看者的浏览器或系统自带的语音朗读,音色取决于设备,部分设备没有可用语音。",cloudHint:"由服务端调用下方服务商合成讲解语音,并统一到约 -15 LUFS 的响度,所有设备听到的音色一致。每段讲解只合成一次并缓存,合成会消耗服务商额度。",apiKeyHint:{minimax:"与「AI 设置」中的 MiniMax 渠道共用,建议使用 MiniMax M Plan 的 Key。",qwen:"与「AI 设置」中的千问渠道共用,建议使用阿里云百炼 Token Plan 的 Key(以 sk-sp- 开头)。",glm:"与「AI 设置」中的智谱 GLM 渠道共用。建议订阅 GLM Coding Plan 等套餐而不是按量付费,套餐是否包含语音合成以智谱的说明为准。",stepfun:"与「AI 设置」中的阶跃星辰渠道共用。建议使用 Step Plan 套餐的 Key(套餐含语音合成,渠道默认即 Step Plan 地址);按量付费的 Key 需把渠道 Base URL 改为 https://api.stepfun.com/v1。",volcengine:"豆包语音的 Key 与火山方舟不同:在豆包语音控制台(https://console.volcengine.com/speech)开通语音合成 2.0 并创建 API Key。建议购买资源包或套餐而不是按量付费。","volcengine-agent":"与「AI 设置」中的火山引擎 Agent Plan 渠道共用(方舟控制台 Agent Plan 管理页的专属 API Key)。语音计入套餐额度,语音模型只有日限额和月限额。",openai:"可留空:留空时使用「AI 设置」中当前激活的 OpenAI 配置的 API Key 和 Base URL;只用 OpenAI 合成语音时在此填写。"},model:"语音模型",voice:"音色",voiceHint:{minimax:"默认系统音色 male-qn-jingying(精英青年:年轻男声,清晰自然),可填写 MiniMax 音色列表中的任意 voice_id。",qwen:"默认 longanlufeng(龙安鲁风:年轻男声,明亮开朗),并要求自然、清晰、略带科技感,不用播音腔;音色须属于所选模型。",glm:"默认 xiaochen(小陈:年轻、专业),系统音色还有 tongtong(彤彤)、chuichui(锤锤)等,完整列表见文档。",stepfun:"默认 qingniandaxuesheng(青年大学生),stepaudio 模型还会按指令要求自然、清晰、不用播音腔;各模型支持的音色见音色列表。",volcengine:"默认 zh_male_yangguangqingnian_uranus_bigtts(阳光青年 2.0)。「语音模型」填写资源 ID(豆包语音合成模型 2.0 的音色为 seed-tts-2.0),音色须与之对应。","volcengine-agent":"默认 zh_male_yangguangqingnian_uranus_bigtts(阳光青年 2.0)。「语音模型」填写资源 ID(seed-tts-2.0),音色须为豆包语音合成模型 2.0 的音色。",openai:"默认 cedar(OpenAI 推荐的高质量音色),并按指令要求自然、清晰、不用播音腔。OpenAI 的音色针对英语优化,中文讲解请先试听。OpenAI 计划于 2027-01-06 下线 gpt-4o-mini-tts 与 tts-1 系列模型。"},endpoint:"语音接口地址(可选)",docs:"说明文档",speechApiKey:"豆包语音 API Key",freeTrial:"火山引擎为新用户提供免费试用额度,可参考文档自行开通;覆盖哪些模型(包括语音)以控制台「开通管理」显示为准。",freeTrialLink:"免费试用说明",voiceList:"音色列表",endpointHint:"留空时按渠道的 Base URL 推算;套餐的语音接口地址不同时再填写。",preview:"保存并试听",previewText:"你好,我来给你讲讲这道题。我们先看看题目给了哪些条件。",previewFailed:"试听失败,请检查 API Key、模型和音色",notConfigured:"请先填写 API Key",providerError:"语音服务商返回错误,请检查 API Key、模型和音色",save:"保存语音设置"},prompts:{save:"保存提示词设置",analysisTab:"题目分析提示词",similarTab:"举一反三提示词",customAnalysis:"自定义分析提示词模板",customSimilar:"自定义举一反三模板",reset:"恢复默认",resetConfirm:"确定要恢复默认提示词吗?",caution:"请谨慎修改",warning:"可通过变量({{...}})引用题目材料并调整教学风格。应用始终补充输出格式、语言、年级、知识点和生成题型规则,旧模板遗漏变量时也会保留这些约束。",variables:"可用变量说明",vars:{languageInstruction:"保留原题语言,解析使用当前界面语言;存储用的学科、年级及知识点名称不翻译。",languageInstructionShort:"语言格式指令。",knowledgePointsList:"根据科目自动注入对应的标准知识点列表(数学、物理等),帮助 AI 准确分类。",providerHints:"系统自动注入的服务商兼容性提示,须遵守应用统一输出协议。",difficultyLevel:"目标难度等级(Easy / Medium / Hard)。",difficultyInstruction:"针对该难度的具体编写要求。",originalQuestion:"原始错题的完整文本。",knowledgePoints:"需要考察的知识点列表。"}},messages:{saved:"设置已保存",saveFailed:"保存失败",profileUpdated:"个人信息已更新",updateFailed:"更新失败",passwordMismatch:"两次密码不一致"},clearData:"清理练习数据",clearDataConfirm:"确定要清理吗?这将永久删除您的所有练习记录。",clearDataDesc:"此操作将永久删除所有练习记录,不可恢复。",clearErrorData:"清理错题数据",clearErrorDataConfirm:"确定要清理吗?这将永久删除您的所有错题记录。",clearErrorDataDesc:"此操作将永久删除所有错题记录,不可恢复。",clearSuccess:"数据清理成功",clearError:"清理失败",dangerZone:"危险区域",systemReset:"系统初始化 (恢复出厂设置)",systemResetConfirm:"严重警告:此操作将删除所有数据,包括所有错题本、题目、自定义标签和练习记录。还可能删除除您以外的其他用户数据。此操作不可撤销!您绝对确定吗?",systemResetDesc:"将系统重置为初始状态。清理所有用户数据和自定义设置,仅保留标准系统标签。",systemResetPrompt:"请输入 'RESET' 以确认系统初始化:",migrateTags:"标签系统迁移 (重置标准库)",migrateTagsConfirm:"此操作将重置所有【系统默认标签】为代码定义的初始状态。用户自定义标签不受影响。确定执行吗?",migrateTagsDesc:"从服务器配置文件重新导入标准课程大纲。如果系统标签缺失或损坏,请使用此功能。",language:"语言",dataManagement:"数据管理",exportData:"导出数据",exportDataDesc:"将所有错题、笔记本、标签和练习记录导出为 JSON 文件。",exportSuccess:"导出成功",exportFailed:"导出失败",importData:"导入数据",importDataDesc:"从 JSON 文件导入数据。重复题目不再新建,并在已有题目的举一反三记录中记录本次做错信息。",importSuccess:"导入成功",importFailed:"导入失败",importConfirm:"确定要导入数据吗?导入操作将添加新数据到您的账户中,不会删除现有数据。",importResult:"导入结果",importResultDesc:"已导入 {subjects} 个笔记本、{tags} 个标签、{items} 道错题、{schedules} 条复习计划、{records} 条练习记录、{papers} 份试卷、{voices} 段云端语音。另有 {duplicates} 道重复题目未重复导入,已记录本次相同题目的做错信息。",exportAllData:"导出全部",exportAllConfirm:"导出所有用户的数据?这可能需要一些时间。",importAllData:"导入全部",importAllConfirm:"导入所有用户的数据?将从导出文件中恢复所有用户的数据。",selectFile:"选择文件",noFileSelected:"未选择文件"},questionSave:{invalidField:"{field}填写有误,请检查后重新保存。",tooLong:"{field}最多允许 {maximum} 个字符,请缩短后重新保存。",tooMany:"{field}最多允许 {maximum} 项,请减少后重新保存。",databaseCode:"数据库错误码:{code}"},errors:{QUESTION_SAVE_GRADE_FAILED:"保存失败:AI 识别年级失败。请手动填写年级,或在「设置 → 通用」改为固定年级后重新保存。",QUESTION_SAVE_SCHEMA_MISMATCH:"保存失败:数据库结构与当前版本不一致。请管理员检查启动日志中的数据库迁移错误,并保留现有数据目录。",QUESTION_SAVE_READ_ONLY:"保存失败:数据库无法写入。请管理员检查数据库目录的写入权限,以及 Docker 挂载是否为只读。",QUESTION_SAVE_STORAGE_FULL:"保存失败:数据库所在磁盘空间已满,请管理员释放空间后重试。",QUESTION_SAVE_DATABASE_BUSY:"保存失败:数据库繁忙或被锁定,请等待其他导入操作结束后重试。",QUESTION_SAVE_DATABASE_UNAVAILABLE:"保存失败:数据库无法访问。请管理员检查数据库路径、挂载目录和容器日志。",QUESTION_SAVE_REFERENCE_INVALID:"保存失败:所选错题本或关联数据已不存在,请刷新页面后重新选择并保存。",QUESTION_SAVE_CONFLICT:"保存失败:数据与已有记录冲突,请刷新页面并检查错题本和卷别分组后重试。",QUESTION_SAVE_INVALID_PAPER_LEVEL:"保存失败:所选卷别分组不可用,可能已停用或删除,请刷新页面后重新选择。",QUESTION_SAVE_INVALID_INPUT:"保存失败:题目部分字段不符合要求,请根据下方提示修改后重新保存。",QUESTION_SAVE_INVALID_JSON:"保存失败:请求内容不是有效的 JSON,请刷新页面后重试。",QUESTION_SAVE_UNAUTHORIZED:"保存失败:尚未登录或登录已失效,请先复制录入内容,重新登录后再保存。",QUESTION_SAVE_FORBIDDEN:"保存失败:当前账号无权保存此题目,请检查账号权限或联系管理员。",QUESTION_SAVE_NETWORK_ERROR:"保存失败:无法连接服务器,请检查网络、容器和反向代理。重试前请先确认题目是否已经保存。",QUESTION_SAVE_TIMEOUT:"保存请求超时,请先检查错题本中是否已保存,避免重复提交。",QUESTION_SAVE_TOO_LARGE:"保存失败:请求内容过大,请缩短题目或图片内容,或请管理员检查反向代理的请求大小限制。",QUESTION_SAVE_RATE_LIMITED:"保存请求过于频繁,请稍后重试。",QUESTION_SAVE_SERVER_UNAVAILABLE:"保存失败:服务器或反向代理暂时不可用,请稍后重试;若持续失败,请管理员检查容器和代理日志。",QUESTION_SAVE_FAILED:"保存失败,请重试;若仍失败,请管理员开启调试模式并查看日志。",AI_CONNECTION_FAILED:"网络连接失败,请检查网络设置。",AI_RESPONSE_ERROR:"AI 返回数据格式异常,请重试。",AI_AUTH_ERROR:"AI 服务认证失败,请检查 API Key 配置。",aiAuth:"⚠️ API 密钥无效\n\n请检查设置中的 AI 提供商配置,确认 API Key 是否正确",aiConnectionFailed:"⚠️ 无法连接到 AI 服务\n\n请检查:\n• 网络连接是否正常\n• 是否需要配置代理\n• 防火墙设置",aiResponseError:"⚠️ AI 返回了无效的响应\n\n请重试,如果问题持续请联系支持",AI_TIMEOUT_ERROR:"请求超时,请稍后重试。",AI_QUOTA_EXCEEDED:"API 配额不足或余额已用完,请检查您的账户。",AI_PERMISSION_DENIED:"权限被拒绝 (403),请检查 API Key 权限设置。",AI_NOT_FOUND:"资源不存在 (404),请检查端点 URL 或模型名称。",AI_SERVICE_UNAVAILABLE:"AI 服务不可用 (503),无可用渠道。",AI_UNKNOWN_ERROR:"发生未知 AI 错误。",AI_DAILY_LIMIT_EXCEEDED:"今天的 AI 使用次数已达上限,请明天再试,或请管理员调整额度。",AI_OUTPUT_TRUNCATED:"AI 思考过程过长,输出额度用尽仍未给出结果。请重试,或把图片裁剪到只包含一道题。",AI_IMAGE_NOT_SUPPORTED:"当前 AI 模型不支持图片输入。请换用支持图片的模型,或改用文字录入。",SPLIT_NO_QUESTIONS:"没有识别到题目。请检查照片或文字后重试,也可以改用手工框选。",IMPORT_BATCH_INVALID_INPUT:"提交内容无效,请重试。",IMPORT_BATCH_INVALID_DRAFT:"题目列表保存失败,请刷新页面后重试。",IMPORT_BATCH_NOT_FOUND:"这批题目不存在或已被放弃。",IMPORT_BATCH_VERSION_CONFLICT:"这批题目已在其他页面修改,已载入最新内容。",IMPORT_BATCH_NOT_EDITABLE:"这批题目已开始解析,不能再修改分题。",IMPORT_BATCH_EMPTY:"没有要处理的题目,请至少选择一道题。",IMPORT_BATCH_IMAGE_MISSING:"有已选的题还没有图片区域,请先在原图上框选。",IMPORT_BATCH_TOO_LARGE:"题目图片过大,请减少一次处理的题数。",IMPORT_BATCH_INVALID_TEXT_FIX:"要修正的题目无效,请刷新页面后重试。",IMPORT_BATCH_TEXT_FIX_FAILED:"修正文字失败,已保留原文,请重试。",IMPORT_BATCH_START_FAILED:"提交失败,题目尚未开始解析,预览内容已保留,请重试。",IMPORT_BATCH_TEXT_TOO_LONG:"文字过长(最多 20000 字、1000 行),请分几次录入。",IMPORT_BATCH_NOT_RETRYABLE:"这批题目暂时不能重试。",IMPORT_BATCH_NOTHING_TO_RETRY:"没有失败的题需要重试。",IMPORT_TASK_NOT_FOUND:"识别任务不存在或已被丢弃。",IMPORT_TASK_BUSY:"任务正在保存,请稍候。",IMPORT_TASK_NOT_RETRYABLE:"该任务暂时不能重试。",SERVER_RESTARTED:"服务重启导致处理中断,请重试。",GENERIC_ERROR:"生成题目失败,请稍后重试。",reanswer:{default:"重新解题失败",authError:"⚠️ AI 密钥配置错误\n\n请检查设置中的 API Key 是否正确",connectionFailed:"⚠️ AI 服务连接失败\n\n可能原因:\n• 网络连接问题\n• AI 服务暂时不可用\n• 需要代理访问\n\n请稍后重试",responseError:"⚠️ AI 返回格式错误\n\n请重试,如果问题持续请联系支持"}},admin:{title:"用户管理",users:"用户列表",role:"角色",status:"状态",actions:"操作",active:"正常",disabled:"已禁用",disable:"禁用",enable:"启用",delete:"删除用户",confirmDisable:"确定要禁用此用户吗?",confirmEnable:"确定要启用此用户吗?",confirmDelete:"确定要删除此用户吗?所有数据将被永久删除。",allowRegistration:"允许新用户注册",allowRegistrationDesc:"关闭后,新用户将无法注册账号",aiDailyLimit:"每人每日 AI 次数",aiDailyLimitDesc:"普通用户每天可发起的 AI 操作次数(识别、讲解、举一反三、判题、组卷等),0 表示不限制;管理员不受限制。",aiDailyLimitSaved:"每日 AI 次数已保存",aiConcurrencyLimit:"同一模型 AI 并发上限",aiConcurrencyLimitDesc:"同一模型同时进行的 AI 调用数量(1~100,默认 5),超出的调用排队等待,避免服务商返回 429 限流错误。",aiConcurrencyLimitSaved:"AI 并发上限已保存",aiUsageToday:"今日 AI",debugLog:{title:"调试日志",desc:"遇到问题时:打开调试开关,复现问题,再导出调试日志发送给作者,方便排查。",enable:"调试模式",enabledHint:"自 {since} 起记录中,将于 {until} 自动关闭。",disabledHint:"未开启。开启时会清空上一轮记录的日志。",entries:"已记录 {count} 条",dropped:"(已丢弃最早的 {count} 条)",export:"导出调试日志",clear:"清空",privacyNote:"导出时已自动去除 API Key、密码和令牌,但日志中仍可能包含题目内容和用户名。日志只保存在内存中,服务重启后清空。",enabled:"调试模式已开启,请现在复现问题",disabled:"调试模式已关闭",cleared:"调试日志已清空",exported:"调试日志已导出",failed:"操作失败"},cnmTags:{title:"人教版课标知识点",desc:"将人教版课标知识点(以数学为主,也包含语文、英语、物理等)导入为独立的标签体系。导入后创建错题本时可选择「人教版课标体系」。",downloadHint:"请先下载所需的 JSON 文件(topics.json,约 2.6MB),再在下方选择导入:",sourceLabel:"数据来源:",status:"已导入 {count} 个知识点",notImported:"尚未导入",select:"选择 topics.json 并导入",importing:"导入中…",imported:"导入完成:新增 {created} 个,已存在 {skipped} 个",invalidFile:"文件不是有效的 topics.json",failed:"导入失败",note:"增量导入,可重复执行;不会改动内置标签体系和已有题目。"},admin:"管理员",user:"普通用户",createdAt:"注册时间",stats:"统计",nameEmail:"姓名/邮箱",errors:"错题",practiceCount:"练习",dashboard:{title:"管理员仪表盘",subtitle:"查看全站用户和错题统计",totalUsers:"总用户数",totalErrors:"总错题数",totalPractice:"总练习数",totalNotebooks:"总错题本数",recentTrend:"最近 7 天录入趋势",subjectDistribution:"学科错题分布",masteryDistribution:"掌握度分布",masteryNew:"待复习",masteryReviewing:"复习中",masteryMastered:"已掌握",userList:"用户列表",userListDesc:"所有注册用户的错题录入情况",userName:"用户名",email:"邮箱",notebooks:"错题本",errors:"错题",practice:"练习",status:"状态",registeredAt:"注册时间",actions:"操作",viewDetail:"查看详情",recent7Days:"近7天录入",recentErrors:"最近录入的错题",userNotebooks:"错题本列表",noData:"暂无数据",retry:"重试",questionCount:"{count} 题",noQuestionText:"(无题目文本)"}},auth:{initialize:{pageTitle:"创建管理员",title:"创建管理员账号",desc:"这是全新安装。设置管理员的邮箱和密码,以后用它登录。初始化链接只能使用一次。",name:"名称",defaultName:"管理员",passwordHint:"至少 6 位,不能使用旧的默认密码 123456。",passwordMismatch:"两次密码不一致",submit:"创建并登录",submitting:"创建中...",invalidLink:"初始化链接无效或已使用。请确认链接复制完整,或使用启动日志中最新的链接。",alreadyInitialized:"已经创建过管理员账号,请直接登录。",emailExists:"该邮箱已被其他账号使用。",failed:"创建管理员失败,请重试。",signInFailed:"管理员账号已创建,但自动登录失败,请手动登录。",goLogin:"去登录"},setupGuide:{title:"尚未创建管理员",intro:"首次使用需要打开安装时生成的一次性初始化链接,创建管理员账号:",desktop:"桌面版、安卓单机版:首次启动时自动打开;飞牛OS:用安装向导中设置的管理员登录。",docker:"Docker:在容器日志中查找包含 /initialize?token= 的链接(docker logs wrong-notebook)。",npm:"npm、源码运行:链接打印在启动服务的终端里。",tokenFile:"也可以自行打开 /initialize?token=令牌,令牌保存在数据目录的 config/setup-token 文件中。",docs:"查看安装说明"},email:"邮箱",password:"密码",confirmPassword:"确认密码",name:"姓名",educationStage:"教育阶段",enrollmentYear:"入学年份",selectStage:"请选择",primary:"小学",juniorHigh:"初中",seniorHigh:"高中",university:"大学",login:{title:"登录到错题本",failed:"登录失败,请检查邮箱和密码",tooManyAttempts:"密码错误次数过多,请 15 分钟后再试",error:"发生错误,请重试",loggingIn:"登录中...",action:"登录",noAccount:"还没有账号?",registerNow:"立即注册",registrationClosed:"需要账号?请联系管理员开启注册。",firstUseTitle:"首次使用?",firstUseAccount:"管理员账号通过安装时生成的一次性初始化链接创建。早期版本安装的实例默认管理员为 {email},初始密码见使用文档。",firstUseNext:"其他人的账号,由管理员开启注册后自行注册。",firstUseDocs:"查看使用文档"},register:{tooManyAttempts:"注册尝试次数过多,请稍后再试",title:"注册新账号",passwordMismatch:"两次密码不一致",emailExists:"该邮箱已被注册",success:"注册成功!请登录",failed:"注册失败",disabled:"注册已关闭",disabledMessage:"管理员已关闭新用户注册功能。如需账号,请联系管理员。",backToLogin:"返回登录",registering:"注册中...",action:"注册",hasAccount:"已有账号?",loginHere:"去登录"}},printPreview:{title:"打印预览",questionCount:"{count} 道题",imageScale:"图片比例",showQuestionText:"原题文字",showAnswers:"显示答案",showAnalysis:"显示解析",showTags:"显示知识点",printButton:"打印 / 保存 PDF",questionNumber:"题目 {num}",source:"来源 {id}",paperLevel:"试卷等级",knowledgePoints:"知识点",selectItems:"选择题目",selectAll:"全选",clearSelection:"清空选择",referenceAnswer:"参考答案",analysis:"解析",noItems:"没有符合条件的错题",noSelection:"当前未选择任何题目"},modelSelector:{modelName:"模型名称",selectFromList:"从列表中选择",selectModel:"选择模型",customInput:"自定义输入...",enterApiKeyFirst:"请先填写API Key",noVisionModel:"未找到支持vision的模型,请手动输入",fetchFailed:"获取模型列表失败",enterManually:",请手动输入"},pagination:{showing:"显示第 {start}-{end} 条,共 {total} 条",first:"首页",prev:"上一页",next:"下一页",last:"末页"},shortId:{label:"ID",copy:"复制 ID",copied:"已复制 ID",locateTitle:"按 ID 定位题目",locatePlaceholder:"输入 6 位题目 ID",locate:"定位",notFound:"没有找到这个 ID 对应的题目",invalid:"题目 ID 为 6 位字母或数字",searchHint:"输入 6 位题目 ID 后按回车可直接打开该题"},mastery:{probability:"已掌握概率",notEvaluated:"尚未评估",estimated:"估算",aiEvaluated:"AI 评估",evaluatedAt:"评估时间",pending:"正在重新评估…",history:"举一反三记录",noHistory:"暂无举一反三记录",result:"结果",date:"时间",difficulty:"难度",source:"来源",results:{correct:"做对",wrong:"做错",not_attempted:"不会做"},sources:{practice:"单题练习",manual:"手动录入",exam:"试卷",duplicate_import:"重复导入做错"},addRecord:"录入结果",recordDate:"日期",deleteRecord:"删除记录",deleteRecordConfirm:"删除这条记录?掌握概率会重新评估。",deleteRecordFailed:"删除记录失败",markResult:"这道题做得怎么样?",suggested:"根据你的答案预选",saveResult:"保存结果",resultSaved:"结果已保存,稍后会重新评估掌握概率",resultSaveFailed:"保存结果失败",viewQuestion:"查看题目",thresholdHint:"掌握概率达到 {threshold}% 即视为已掌握(可在设置中调整)",thresholdLabel:"已掌握阈值",thresholdDescription:"默认 50%。有举一反三记录的错题,掌握概率达到此值即视为「已掌握」。仅对当前账号生效。支持 1%~100% 的整数。",thresholdInvalid:"请输入 1~100 之间的整数。",thresholdLoadFailed:"读取已保存的阈值失败,请重试。"},importFlow:{imported:"已导入错题本「{notebook}」,题目 ID:{id}",duplicate:"当前题目重复,已在已有题目的举一反三记录中记录本次相同题目的做错信息,未重复导入。",viewItem:"查看题目",continueUpload:"继续上传",confirmBeforeImport:"导入前人工确认",confirmBeforeImportDesc:"关闭时,识别完成的题目会直接保存到错题本。",enableGeogebra:"GeoGebra 动态演示",enableGeogebraDesc:"开启后,题目页面会显示 GeoGebra 动态演示区域,可由 AI 为题目生成交互式图形。",enableSvgAnimation:"SVG 动画讲解",enableSvgAnimationDesc:"开启后,题目页面会显示 SVG 动画讲解区域,可由 AI 为题目生成分步骤的动画讲解。",preferenceSaved:"设置已保存",preferenceSaveFailed:"保存设置失败",thresholdLabel:"题目判重相似度阈值",thresholdDescription:"默认 90%。比较时会忽略 AI 附加的图示描述和填空横线长短。相似度严格大于此值时不再导入,并记录本次做错。支持 1%~100%,最多两位小数;设为 100% 时不自动判重。",thresholdInvalid:"请输入 1~100 之间的数值,最多两位小数。",thresholdLoadFailed:"读取已保存的阈值失败,请重试。",saveThreshold:"保存阈值",retryLoad:"重新加载"},questionSimilarity:{title:"比较相似度",description:"选择两道题,使用与导入判重相同的方法比较完整题干。本次比较不会新增做错记录。",selectTwo:"请选择恰好两道题进行相似度比较。",selectQuestion:"选择题目 {id}",score:"题目相似度",threshold:"当前判重阈值:{threshold}%",duplicate:"按当前阈值,这两道题会被判为重复题目。",different:"按当前阈值,这两道题会分别导入。",missingText:"所选题目缺少可比较的题干,请先补充题目文字。",failed:"相似度比较失败,请重试。",retry:"重新比较",question:"第 {index} 道题"},importTasks:{entry:"识别任务",entryActive:"识别中 {count}",entryUnread:"{count} 个新结果",title:"识别任务",description:"照片上传后在服务器上识别。可以离开页面或锁屏,结果会一直保留在这里,直到你处理。",empty:"暂无识别任务",backHome:"返回上传",unread:"新",uploadedHint:"已上传,服务器正在识别,可以离开此页面继续使用应用。",viewTasks:"查看识别任务",continueReview:"继续校对",viewItem:"查看错题",retry:"重试",discard:"丢弃",discardConfirm:"确定丢弃这个识别任务?未校对的结果将被删除。",discarded:"已丢弃",retried:"正在重试",notFound:"任务不存在或已被丢弃。",finishedToast:"识别已完成,可在「识别任务」中查看。",createdAt:"上传于 {time}",attempts:"第 {count} 次",stageEstimate:"按阶段估算,不是精确进度",retentionHint:"待校对和失败的任务会一直保留到你处理;已保存的任务保留 7 天。",status:{analyzing:"识别中",review:"待校对",saving:"保存中",saved:"已保存",failed:"失败"},mode:{review:"校对后保存",auto:"自动保存"},savedTo:"已保存到「{notebook}」,题目 ID:{id}",duplicateSaved:"重复题:已记入原题的做错记录",itemDeleted:"已保存,但该错题之后已被删除",timings:{read:"读取",convert:"转换",crop:"裁剪",compress:"压缩",upload:"上传",receive:"接收",analyze:"AI 识别",save:"保存"},elapsed:"用时 {time}"},importBatch:{title:"多题录入",batchOf:"一批 {count} 题",source:{text:"文字",image:"照片"},phase:{splitting:"正在分题…",failed:"分题失败",draft:"待确认分题",processing:"解析中",attention:"需要处理",done:"已完成"},splittingHint:"AI 正在识别题目,可以离开此页面;结果会保留在「识别任务」中。",detected:"识别出 {count} 题",selected:"已选 {count} 题",selectAll:"全选",selectNone:"全不选",ignoredTitle:"未计入题目的内容({count})",ignoredHint:"标题、姓名/日期栏等不会作为题目保存;如有遗漏,可加为题目。",addAsQuestion:"加为题目",material:"公共材料",materialHint:"解析时放在题干前",removeMaterial:"不使用公共材料",question:"第 {index} 题",originalLabel:"原题号 {label}",edit:"编辑",collapse:"完成",questionText:"题目文字",splitHere:"在光标处拆分",splitHint:"把光标放到第二道题的开头,再点「在光标处拆分」。",mergeUp:"与上一题合并",moveUp:"上移",moveDown:"下移",delete:"删除",duplicate:"复制一题",undo:"撤销",adjustRegion:"调整区域",locate:"在原图上框选",hasFigure:"含配图",continuation:{button:"下一页接着这题",working:"正在拼接并分题…",created:"下一页已开始分题。这道题已从本批移出,会在下一批中完整出现。",notice:"第 {n} 页正在分题",open:"查看"},fixText:{selected:"AI 修正文字({count} 题)",one:"AI 修正文字",running:"正在修正文字…",hint:"删去混入的草稿、修正 OCR 错字,数字和算式保持原样;修正结果需要你逐题确认。",pending:"待确认修正",title:"AI 修正建议",legend:"删除线为删去的内容,高亮为改动后的内容",uncertain:"拿不准、已保留原样:",accept:"接受修正",reject:"保留原文",acceptAll:"全部接受({count})",done:"已为 {count} 题生成修正建议,请在下方核对后接受。",unchanged:"{count} 题无需修正。",failed:"{count} 题修正失败,已保留原文。",pendingHint:"还有 {count} 题的修正建议未接受,开始后这些题按原文解析。"},flags:{unclear:"部分文字看不清,请核对",partial:"题目可能不完整",unlocated:"未定位,请在原图上框选"},warnings:{blurry:"图片可能不清晰,请仔细核对识别结果。",partial:"照片可能只拍到部分试卷。",truncated:"AI 输出不完整,后面的题可能缺失,请核对。",tooMany:"题目过多,只保留前 60 题。"},save:{saved:"已保存",dirty:"有未保存的修改",saving:"保存中…",error:"保存失败,将自动重试"},conflict:"这批题目已在其他页面修改,已载入最新内容。",conflictKept:"已载入其他页面保存的版本。你在本页的修改已保留一份,可以恢复。",restoreMine:"恢复我的修改",discardMine:"放弃我的修改",startAuto:"解析并导入 {count} 题",startReview:"解析 {count} 题,稍后逐题校对",startHintAuto:"AI 逐题解析后直接保存到错题本;重复题会记入原题的做错记录。",startHintReview:"已开启「导入前人工确认」:AI 解析完成后逐题校对再保存。",nothingSelected:"请至少选择一道题",needsRegion:"已选的题中有 {count} 道还没有在原图上框选",cropping:"正在裁剪题目图片 {done}/{total}…",uploadingImages:"正在上传 {count} 张题目图片({size})…",imageTextHint:"这里的文字仅用于辨认题目;开始后会按每道题在原图上的区域重新识别。",submitting:"正在提交…",discard:"放弃这批",discardConfirm:"确定放弃这批题目?已导入的错题不受影响,未完成的结果将被删除。",discarded:"已放弃",progress:"已完成 {done}/{total}",counts:{saved:"已导入 {count}",duplicate:"重复 {count}",review:"待校对 {count}",failed:"失败 {count}",active:"进行中 {count}"},itemStatus:{analyzing:"解析中",saving:"保存中",review:"待校对",saved:"已导入",duplicate:"重复题,已记入原题",failed:"失败",deleted:"已导入,之后被删除"},review:"校对",viewItem:"查看",retryFailed:"重试失败的 {count} 题",retrySplit:"重新分题",manualFallback:"也可以返回改用「手工框选」。",confirmAll:"按识别结果导入其余 {count} 题",confirmAllDone:"已导入 {count} 题",leaveHint:"已提交,服务器正在逐题解析,可以离开此页面;进度保留在「识别任务」中。",notFound:"这批题目不存在或已被放弃。",backToBatch:"返回本批题目",emptyDraft:"没有题目了。可以撤销删除,或放弃这批。",showImage:"查看原图",hideImage:"收起原图",regionDialogTitle:"题目区域",regionDialogHint:"拖动框住整道题,包括选项、小问和配图。",regionTab:"区域 {index}",addRegion:"添加区域",removeRegion:"删除此区域",saveRegion:"使用此区域",addQuestion:"添加一题",open:"打开"},batchImport:{singleMode:"单题裁剪",multiMode:"手工框选",autoMode:"自动分题",autoHint:"可先框出试卷区域(默认整张图)。AI 自动找出每道题及其位置,确认后才逐题解析。",autoStart:"自动识别题目",hint:"在图片上拖动,为每道题画一个框;一个框对应一道题。",regionCount:"已框选 {count} 题",noRegions:"请至少框选一道题",clear:"清空",removeRegion:"删除第 {index} 个框",start:"导入 {count} 道题",title:"批量导入",summary:"已完成 {done}/{total},失败 {failed}",status:{pending:"等待中",uploading:"上传中…",analyzing:"识别中…",saving:"保存中…",success:"已导入",failed:"失败"},retry:"重试",retryFailed:"重试失败的题",uploaded:"已上传 {done}/{total},全部上传完成前请勿离开此页面。",finish:"完成",question:"第 {index} 题"},exam:{nav:"错题试卷",title:"错题试卷",subtitle:"从错题中随机抽题,用举一反三生成一套可打印的测试试卷。",create:"新建试卷",createTitle:"生成试卷",list:"我的试卷",empty:"还没有试卷。",notebooks:"错题本",selectAll:"全选",tags:"知识点(可选)",tagsPlaceholder:"只抽取带这些知识点的题目",scope:"题目范围",scopes:{unmastered:"未掌握",mastered:"已掌握",all:"全部"},pickRule:"抽题规则",pickRules:{least_practiced:"优先练习较少",random:"完全随机"},pickRuleHints:{least_practiced:"举一反三记录越少的题目越优先抽到;次数相同时优先抽取未出现在已有试卷中的题目,仍相同时随机。",random:"所有符合条件的题目被抽到的机会相同。"},count:"题目数量",difficulty:"难度",titleLabel:"试卷标题(可选)",generate:"生成试卷",creating:"正在创建…",noSource:"没有符合条件的错题。",fewerThanRequested:"符合条件的错题只有 {actual} 道,试卷共 {actual} 题。",noNotebook:"请至少选择一个错题本",status:{generating:"生成中",ready:"已生成",partial:"部分失败",failed:"生成失败",completed:"已完成"},progress:"已生成 {ready}/{total}",questionCount:"共 {count} 题",recorded:"已录入结果",notRecorded:"未录入结果",source:"来源",sourceDeleted:"原题已删除",questionFailed:"生成失败",questionPending:"生成中…",retryFailed:"重新生成失败的题",regenerateQuestion:"重新生成题目",regenerateAnswer:"重新生成解答",regenerating:"生成中…",regenerateQuestionConfirm:"将由 AI 重新生成一道新题及其答案和解析,并替换当前题目。确定继续吗?",regenerateAnswerConfirm:"将由 AI 重新生成本题的答案和解析,题目不变,已录入的结果保留。确定继续吗?",regenerateHasResults:"本题已录入结果,只能重新生成解答",regenerateFailed:"重新生成失败,请稍后重试",print:"打印 / 导出",delete:"删除",deleteConfirm:"确定删除这份试卷吗?已录入的结果仍保留在各题的举一反三记录中。",showAnswer:"答案",recordResults:"录入结果",takenAt:"考试日期",saveResults:"保存结果",resultsSaved:"结果已保存,稍后会重新评估掌握概率",resultsSaveFailed:"保存结果失败",recordHint:"每次保存都会新增一次作答记录,未选择结果的题目不记录",attemptLabel:"第 {n} 次",noResultSelected:"请至少为一道题选择结果",cancel:"取消",notFound:"试卷不存在",back:"返回",printTitle:"打印预览",includeAnswers:"包含答案页",answerSpace:"留白",answerSpaceAuto:"按题型自动",answerSpaceNone:"固定:不留白",answerSpaceSmall:"固定:小",answerSpaceMedium:"固定:中",answerSpaceLarge:"固定:大",answerSpaceAutoHint:"自动:填空、选择、判断题少留,解答题多留,每多一个小问再加一段。",questionAnswerSpace:"本题留白",questionAnswerSpaceSlider:"调整本题留白高度",decreaseAnswerSpace:"减小本题留白",increaseAnswerSpace:"增大本题留白",resetQuestionAnswerSpace:"恢复默认",resetAllQuestionAnswerSpaces:"重置单题留白",answerSpaceSaveFailed:"留白保存失败,下次打开会恢复原值,请检查网络后重新调整。",printNow:"打印",downloadHtml:"下载 HTML",nameLine:"姓名",dateLine:"日期",scoreLine:"得分",answerKey:"参考答案与解析",answerLabel:"答案",analysisLabel:"解析",sourceLabel:"来源 ID",notReadyHint:"生成失败的题目不会出现在打印稿中。",uniformFigureScale:"统一配图比例",uniformFigureScaleSlider:"统一调整全卷配图比例",uniformFigureScaleHint:"范围 10%~200%,默认 100%。保存后统一应用到本卷所有配图题目并用于打印。",uniformFigureAlign:"统一配图位置"},figure:{alt:"题目配图",scale:"配图显示比例",scaleSlider:"调整配图比例",scaleHint:"范围 10%~200%,默认 100%。保存后同时用于本题的显示和文字打印;放大以可用宽度为上限。",resetScale:"恢复 100%",align:"配图显示位置",aligns:{left:"居左",center:"居中",right:"居右"},regenerate:"AI 重新生成配图",regenerating:"生成配图中…",noFigure:"AI 判断本题没有配图",failed:"生成配图失败",noImage:"没有原题图片,无法生成配图"},svgAnimation:{title:"SVG 动画讲解",alt:"动画讲解",hint:"AI 将按解题思路分步骤生成中文 SVG 动画讲解",otherLanguageAvailable:"已有英文版动画讲解,切换为英文界面即可查看;也可在此生成中文版。",generate:"生成动画讲解",generating:"生成动画中,约需几分钟…",regenerate:"重新生成",replay:"重播",play:"播放",pause:"暂停",progress:"动画进度",fullscreen:"全屏",exitFullscreen:"退出全屏",delete:"删除",confirmDelete:"确定删除中文版 SVG 动画讲解吗?英文版不受影响,删除后无法恢复。",deleteFailed:"删除动画讲解失败",failed:"生成动画讲解失败,请稍后重试",noQuestionText:"题目文字为空,无法生成动画讲解",invalid:"AI 未返回有效的动画,请重试",voiceOn:"开启语音讲解",voiceOff:"关闭语音讲解",voiceRate:"朗读语速",voiceUnsupported:"当前浏览器没有该语言的语音,无法朗读讲解",voiceRegenerate:"重新生成语音",voiceRegenerating:"正在生成语音…",voiceRegenerateHint:"重新合成这个动画的云端语音,可在「后台任务」中查看进度,会消耗语音服务商的额度",voiceRegenerateDone:"语音已重新生成",voiceRegenerateFailed:"重新生成语音失败,请稍后再试",voiceRegenerateDisabled:"云端语音已关闭",narrationGenerate:"补充讲解稿",narrationRegenerate:"重写讲解稿",narrationGenerating:"生成讲解稿中…",narrationHint:"由 AI 为当前动画写语音讲解稿,画面保持不变",narrationDone:"讲解稿已更新,点击播放器上的喇叭即可收听",narrationFailed:"生成讲解稿失败,请稍后重试",narrationInvalid:"AI 未返回有效的讲解稿,请重试"},backgroundTasks:{title:"后台任务",description:"识别题目、AI 生成等耗时事务的进度。离开页面后,事务仍会在服务器上继续执行。",empty:"当前没有后台任务",progress:"{done} / {total}",failedCount:"失败 {count} 个",startedAt:"开始于 {time}",elapsed:"用时 {time}",view:"查看",clearFinished:"清除已结束",retentionHint:"已结束的事务保留 30 分钟;服务重启后列表清空。",status:{running:"进行中",succeeded:"已完成",failed:"失败"},kinds:{analyze:"题目导入中(AI 识别)",split:"多题分题中(AI)",fix_text:"修正题目文字(AI)",batch_upload:"批量上传识别",data_import:"导入备份数据",svg_animation:"SVG 动画讲解生成",svg_narration:"动画语音讲解稿生成",tts_voice:"动画语音生成",reanswer:"重新生成解答",fix_latex:"修复 LaTeX",figure:"重新生成配图",geogebra:"生成 GeoGebra 演示",retag:"重新生成知识点",retag_notebook:"错题本批量重新生成知识点",practice:"生成举一反三题目",exam:"生成试卷"},errors:{NO_VALID_ANIMATION:"AI 未返回有效的动画",ALL_FAILED:"全部失败",NO_QUESTION_TEXT:"题目文字为空",NO_TAGS_SELECTED:"AI 没有选出知识点",NO_AVAILABLE_TAGS:"没有可用的知识点",SERVER_RESTARTED:"服务重启,任务已中断,请重新操作"}},replaceImage:{replace:"替换原题图片",view:"查看原题图片",hide:"隐藏原题图片",add:"上传原题图片",uploading:"上传中…",confirm:"确定替换原题图片吗?原图片会被覆盖,无法恢复。",done:"已替换原题图片。如需按新图片重绘配图,请点「AI 重新生成配图」。",invalid:"请选择 PNG、JPEG、WebP 或 GIF 图片",failed:"替换图片失败"},reanswerItem:{button:"重新生成完整解答",running:"生成解答中…",confirm:"将由 AI 重新生成完整的答案和解析,并覆盖当前内容;知识点、错误解答和错因分析保持不变。确定继续吗?",failed:"重新生成解答失败,请稍后重试",noQuestionText:"题目文字为空,无法生成解答"},fixLatex:{button:"修复 LaTeX",running:"修复公式中…",issuesFound:"检测到 {count} 处 LaTeX 问题",noIssues:"未发现 LaTeX 语法错误",fixedAll:"已修复以下内容中的公式:{fields}",fixedPartly:"已修复以下内容中的公式:{fields}。仍有 {count} 处无法自动修复,请手工编辑。",notFixed:"AI 未能自动修复公式,已保留原内容,请手工编辑。",failed:"修复 LaTeX 失败,请稍后重试",fields:{questionText:"题目",answerText:"答案",analysis:"解析",wrongAnswerText:"错误解答",mistakeAnalysis:"错因分析"}},markdownEditor:{modeLabel:"编辑视图",source:"源代码",preview:"预览",empty:"暂无内容",doubleClickToEdit:"双击切换到源代码编辑"},directEntry:{title:"直接录入错题内容(支持 Markdown + LaTeX)",reset:"重置",edit:"编辑",preview:"预览",saving:"保存中...",save:"直接保存",hint:"填写题目和答案后直接保存,无需 AI 分析 · Ctrl+Enter 快捷保存",gradeSemesterPlaceholder:"如:初二上学期",questionPlaceholder:"输入题目内容...\n支持 Markdown 和 LaTeX 公式\n\n示例:\n# 题目一\n\n已知 $f(x) = x^2 + 2x + 1$,求 $f(3)$ 的值。\n\n**解题要求:**\n1. 写出解题步骤\n2. 给出最终答案",answerPlaceholder:"输入参考答案...\n\n示例:\n$f(3) = 3^2 + 2 \\times 3 + 1 = 9 + 6 + 1 = 16$",analysisPlaceholder:"输入解题分析...\n\n示例:\n这是一个**一元二次函数**求值问题。\n\n将 $x=3$ 代入函数表达式:\n$$f(3) = 3^2 + 2 \\times 3 + 1 = 16$$",wrongAnswerPlaceholder:"如果有错误解答可以粘贴在这里,没有可留空",mistakeAnalysisPlaceholder:"分析错误可能发生在哪一步、为什么错..."},geogebra:{title:"GeoGebra 动态演示",generate:"生成演示",analyzing:"AI 分析中...",hint:"AI 将判断本题是否可以用 GeoGebra 进行动态演示,如适合则自动生成交互式图形",notSuitable:"该题目不适合用 GeoGebra 演示",analyzeFailed:"分析失败,请稍后重试",authFailed:"AI 认证失败,请检查设置",connectionFailed:"AI 连接失败,请检查网络",answerRequired:"请先生成或输入答案",notLoaded:"GeoGebra 未正确加载",initFailed:"GeoGebra 初始化失败",scriptFailed:"无法加载 GeoGebra 组件",regenerate:"重新生成",reset:"重置",enlarge:"放大",shrink:"缩小",loading:"加载 GeoGebra...",delete:"删除",confirmDelete:"确定删除已生成的 GeoGebra 动态演示吗?删除后无法恢复。",deleteFailed:"删除 GeoGebra 演示失败"},difficulty:{label:"难度",unrated:"未评级",starsLabel:"{n} 星",setStars:"设为 {n} 星",clearHint:"再次点击当前星级可清除",saveFailed:"保存难度失败"},retag:{notebookButton:"重新识别知识点和难度",notebookConfirm:"AI 将根据当前知识点库,为本错题本中的每道题重新选择知识点并评定难度星级:替换原有系统标签和星级,保留你添加的自定义标签。是否继续?",progress:"正在重新识别知识点和难度:{done}/{total}",finished:"知识点和难度已重新识别:成功 {success} 道,失败 {failed} 道",empty:"错题本中还没有题目",itemButton:"AI 重新识别",itemRunning:"生成中…",itemFailed:"重新识别知识点和难度失败",noTags:"AI 未能从知识点库中找到匹配的知识点",suggestButton:"AI 识别标签",suggestRunning:"识别中…"}}}])},368114,a=>{let b,c,d,e,f;var g,h=a.i(298621);let i=(a=new Map,b=null,c)=>({nextPart:a,validators:b,classGroupId:c}),j=[],k=(a,b,c)=>{if(0==a.length-b)return c.classGroupId;let d=a[b],e=c.nextPart.get(d);if(e){let c=k(a,b+1,e);if(c)return c}let f=c.validators;if(null===f)return;let g=0===b?a.join("-"):a.slice(b).join("-"),h=f.length;for(let a=0;a<h;a++){let b=f[a];if(b.validator(g))return b.classGroupId}},l=(a,b)=>{let c=i();for(let d in a)m(a[d],c,d,b);return c},m=(a,b,c,d)=>{let e=a.length;for(let f=0;f<e;f++)n(a[f],b,c,d)},n=(a,b,c,d)=>{"string"==typeof a?o(a,b,c):"function"==typeof a?p(a,b,c,d):q(a,b,c,d)},o=(a,b,c)=>{(""===a?b:r(b,a)).classGroupId=c},p=(a,b,c,d)=>{s(a)?m(a(d),b,c,d):(null===b.validators&&(b.validators=[]),b.validators.push({classGroupId:c,validator:a}))},q=(a,b,c,d)=>{let e=Object.entries(a),f=e.length;for(let a=0;a<f;a++){let[f,g]=e[a];m(g,r(b,f),c,d)}},r=(a,b)=>{let c=a,d=b.split("-"),e=d.length;for(let a=0;a<e;a++){let b=d[a],e=c.nextPart.get(b);e||(e=i(),c.nextPart.set(b,e)),c=e}return c},s=a=>"isThemeGetter"in a&&!0===a.isThemeGetter,t=[],u=(a,b,c,d,e)=>({modifiers:a,hasImportantModifier:b,baseClassName:c,maybePostfixModifierPosition:d,isExternal:e}),v=/\s+/,w=a=>{let b;if("string"==typeof a)return a;let c="";for(let d=0;d<a.length;d++)a[d]&&(b=w(a[d]))&&(c&&(c+=" "),c+=b);return c},x=[],y=a=>{let b=b=>b[a]||x;return b.isThemeGetter=!0,b.themeKey=a,b},z=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,A=/^\((?:(\w[\w-]*):)?(.+)\)$/i,B=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,C=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,D=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,E=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/,F=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,G=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,H=a=>B.test(a),I=a=>!!a&&!Number.isNaN(Number(a)),J=a=>!!a&&Number.isInteger(Number(a)),K=a=>a.endsWith("%")&&I(a.slice(0,-1)),L=a=>C.test(a),M=()=>!0,N=a=>D.test(a)&&!E.test(a),O=()=>!1,P=a=>F.test(a),Q=a=>G.test(a),R=a=>!U(a)&&!aa(a),S=a=>a.startsWith("@container")&&("/"===a[10]&&void 0!==a[11]||"s"===a[11]&&void 0!==a[16]&&a.startsWith("-size/",10)||"n"===a[11]&&void 0!==a[18]&&a.startsWith("-normal/",10)),T=a=>ai(a,am,O),U=a=>z.test(a),V=a=>ai(a,an,N),W=a=>ai(a,ao,I),X=a=>ai(a,aq,M),Y=a=>ai(a,ap,O),Z=a=>ai(a,ak,O),$=a=>ai(a,al,Q),_=a=>ai(a,ar,P),aa=a=>A.test(a),ab=a=>aj(a,an),ac=a=>aj(a,ap),ad=a=>aj(a,ak),ae=a=>aj(a,am),af=a=>aj(a,al),ag=a=>aj(a,ar,!0),ah=a=>aj(a,aq,!0),ai=(a,b,c)=>{let d=z.exec(a);return!!d&&(d[1]?b(d[1]):c(d[2]))},aj=(a,b,c=!1)=>{let d=A.exec(a);return!!d&&(d[1]?b(d[1]):c)},ak=a=>"position"===a||"percentage"===a,al=a=>"image"===a||"url"===a,am=a=>"length"===a||"size"===a||"bg-size"===a,an=a=>"length"===a,ao=a=>"number"===a,ap=a=>"family-name"===a,aq=a=>"number"===a||"weight"===a,ar=a=>"shadow"===a,as=(g=()=>{let a=y("color"),b=y("font"),c=y("text"),d=y("font-weight"),e=y("tracking"),f=y("leading"),g=y("breakpoint"),h=y("container"),i=y("spacing"),j=y("radius"),k=y("shadow"),l=y("inset-shadow"),m=y("text-shadow"),n=y("drop-shadow"),o=y("blur"),p=y("perspective"),q=y("aspect"),r=y("ease"),s=y("animate"),t=()=>["auto","avoid","all","avoid-page","page","left","right","column"],u=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],v=()=>[...u(),aa,U],w=()=>["auto","hidden","clip","visible","scroll"],x=()=>["auto","contain","none"],z=()=>[aa,U,i],A=()=>[H,"full","auto",...z()],B=()=>[J,"none","subgrid",aa,U],C=()=>["auto",{span:["full",J,aa,U]},J,aa,U],D=()=>[J,"auto",aa,U],E=()=>["auto","min","max","fr",aa,U],F=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],G=()=>["start","end","center","stretch","center-safe","end-safe"],N=()=>["auto",...z()],O=()=>[H,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...z()],P=()=>[h,H,"screen","full","dvw","lvw","svw","min","max","fit",...z()],Q=()=>[H,"screen","full","lh","dvh","lvh","svh","min","max","fit",...z()],ai=()=>[a,aa,U],aj=()=>[...u(),ad,Z,{position:[aa,U]}],ak=()=>["no-repeat",{repeat:["","x","y","space","round"]}],al=()=>["auto","cover","contain",ae,T,{size:[aa,U]}],am=()=>[K,ab,V],an=()=>["","none","full",j,aa,U],ao=()=>["",I,ab,V],ap=()=>["solid","dashed","dotted","double"],aq=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ar=()=>[I,K,ad,Z],as=()=>["","none",o,aa,U],at=()=>["none",I,aa,U],au=()=>["none",I,aa,U],av=()=>[I,aa,U],aw=()=>[H,"full",...z()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[L],breakpoint:[L],color:[M],container:[L],"drop-shadow":[L],ease:["in","out","in-out"],font:[R],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[L],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[L],shadow:[L],spacing:["px",I],text:[L],"text-shadow":[L],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",H,U,aa,q]}],container:["container"],"container-type":[{"@container":["","normal","size",aa,U]}],"container-named":[S],columns:[{columns:[I,"auto",U,aa,h]}],"break-after":[{"break-after":t()}],"break-before":[{"break-before":t()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:v()}],overflow:[{overflow:w()}],"overflow-x":[{"overflow-x":w()}],"overflow-y":[{"overflow-y":w()}],overscroll:[{overscroll:x()}],"overscroll-x":[{"overscroll-x":x()}],"overscroll-y":[{"overscroll-y":x()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:A()}],"inset-x":[{"inset-x":A()}],"inset-y":[{"inset-y":A()}],start:[{"inset-s":A(),start:A()}],end:[{"inset-e":A(),end:A()}],"inset-bs":[{"inset-bs":A()}],"inset-be":[{"inset-be":A()}],top:[{top:A()}],right:[{right:A()}],bottom:[{bottom:A()}],left:[{left:A()}],visibility:["visible","invisible","collapse"],z:[{z:[J,"auto",aa,U]}],basis:[{basis:[H,"full","auto",h,...z()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[I,H,"auto","initial","none",U]}],grow:[{grow:["",I,aa,U]}],shrink:[{shrink:["",I,aa,U]}],order:[{order:[J,"first","last","none",aa,U]}],"grid-cols":[{"grid-cols":B()}],"col-start-end":[{col:C()}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":B()}],"row-start-end":[{row:C()}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":E()}],"auto-rows":[{"auto-rows":E()}],gap:[{gap:z()}],"gap-x":[{"gap-x":z()}],"gap-y":[{"gap-y":z()}],"justify-content":[{justify:[...F(),"normal"]}],"justify-items":[{"justify-items":[...G(),"normal"]}],"justify-self":[{"justify-self":["auto",...G()]}],"align-content":[{content:["normal",...F()]}],"align-items":[{items:[...G(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...G(),{baseline:["","last"]}]}],"place-content":[{"place-content":F()}],"place-items":[{"place-items":[...G(),"baseline"]}],"place-self":[{"place-self":["auto",...G()]}],p:[{p:z()}],px:[{px:z()}],py:[{py:z()}],ps:[{ps:z()}],pe:[{pe:z()}],pbs:[{pbs:z()}],pbe:[{pbe:z()}],pt:[{pt:z()}],pr:[{pr:z()}],pb:[{pb:z()}],pl:[{pl:z()}],m:[{m:N()}],mx:[{mx:N()}],my:[{my:N()}],ms:[{ms:N()}],me:[{me:N()}],mbs:[{mbs:N()}],mbe:[{mbe:N()}],mt:[{mt:N()}],mr:[{mr:N()}],mb:[{mb:N()}],ml:[{ml:N()}],"space-x":[{"space-x":z()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":z()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],"inline-size":[{inline:["auto",...P()]}],"min-inline-size":[{"min-inline":["auto",...P()]}],"max-inline-size":[{"max-inline":["none",...P()]}],"block-size":[{block:["auto",...Q()]}],"min-block-size":[{"min-block":["auto",...Q()]}],"max-block-size":[{"max-block":["none",...Q()]}],w:[{w:[h,"screen",...O()]}],"min-w":[{"min-w":[h,"screen","none",...O()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[g]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh","none",...O()]}],"font-size":[{text:["base",c,ab,V]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[d,ah,X]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",K,U]}],"font-family":[{font:[ac,Y,b]}],"font-features":[{"font-features":[U]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[e,aa,U]}],"line-clamp":[{"line-clamp":[I,"none",aa,W]}],leading:[{leading:["none",f,...z()]}],"list-image":[{"list-image":["none",aa,U]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",aa,U]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ai()}],"text-color":[{text:ai()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ap(),"wavy"]}],"text-decoration-thickness":[{decoration:[I,"from-font","auto",aa,V]}],"text-decoration-color":[{decoration:ai()}],"underline-offset":[{"underline-offset":[I,"auto",aa,U]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:z()}],"tab-size":[{tab:[J,aa,U]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",aa,U]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",aa,U]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:aj()}],"bg-repeat":[{bg:ak()}],"bg-size":[{bg:al()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},J,aa,U],radial:["",aa,U],conic:["",J,aa,U]},af,$]}],"bg-color":[{bg:ai()}],"gradient-from-pos":[{from:am()}],"gradient-via-pos":[{via:am()}],"gradient-to-pos":[{to:am()}],"gradient-from":[{from:ai()}],"gradient-via":[{via:ai()}],"gradient-to":[{to:ai()}],rounded:[{rounded:an()}],"rounded-s":[{"rounded-s":an()}],"rounded-e":[{"rounded-e":an()}],"rounded-t":[{"rounded-t":an()}],"rounded-r":[{"rounded-r":an()}],"rounded-b":[{"rounded-b":an()}],"rounded-l":[{"rounded-l":an()}],"rounded-ss":[{"rounded-ss":an()}],"rounded-se":[{"rounded-se":an()}],"rounded-ee":[{"rounded-ee":an()}],"rounded-es":[{"rounded-es":an()}],"rounded-tl":[{"rounded-tl":an()}],"rounded-tr":[{"rounded-tr":an()}],"rounded-br":[{"rounded-br":an()}],"rounded-bl":[{"rounded-bl":an()}],"border-w":[{border:ao()}],"border-w-x":[{"border-x":ao()}],"border-w-y":[{"border-y":ao()}],"border-w-s":[{"border-s":ao()}],"border-w-e":[{"border-e":ao()}],"border-w-bs":[{"border-bs":ao()}],"border-w-be":[{"border-be":ao()}],"border-w-t":[{"border-t":ao()}],"border-w-r":[{"border-r":ao()}],"border-w-b":[{"border-b":ao()}],"border-w-l":[{"border-l":ao()}],"divide-x":[{"divide-x":ao()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ao()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ap(),"hidden","none"]}],"divide-style":[{divide:[...ap(),"hidden","none"]}],"border-color":[{border:ai()}],"border-color-x":[{"border-x":ai()}],"border-color-y":[{"border-y":ai()}],"border-color-s":[{"border-s":ai()}],"border-color-e":[{"border-e":ai()}],"border-color-bs":[{"border-bs":ai()}],"border-color-be":[{"border-be":ai()}],"border-color-t":[{"border-t":ai()}],"border-color-r":[{"border-r":ai()}],"border-color-b":[{"border-b":ai()}],"border-color-l":[{"border-l":ai()}],"divide-color":[{divide:ai()}],"outline-style":[{outline:[...ap(),"none","hidden"]}],"outline-offset":[{"outline-offset":[I,aa,U]}],"outline-w":[{outline:["",I,ab,V]}],"outline-color":[{outline:ai()}],shadow:[{shadow:["","inner","none",k,ag,_]}],"shadow-color":[{shadow:ai()}],"inset-shadow":[{"inset-shadow":["none",l,ag,_]}],"inset-shadow-color":[{"inset-shadow":ai()}],"ring-w":[{ring:ao()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ai()}],"ring-offset-w":[{"ring-offset":[I,V]}],"ring-offset-color":[{"ring-offset":ai()}],"inset-ring-w":[{"inset-ring":ao()}],"inset-ring-color":[{"inset-ring":ai()}],"text-shadow":[{"text-shadow":["none",m,ag,_]}],"text-shadow-color":[{"text-shadow":ai()}],opacity:[{opacity:[I,aa,U]}],"mix-blend":[{"mix-blend":[...aq(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":aq()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[I]}],"mask-image-linear-from-pos":[{"mask-linear-from":ar()}],"mask-image-linear-to-pos":[{"mask-linear-to":ar()}],"mask-image-linear-from-color":[{"mask-linear-from":ai()}],"mask-image-linear-to-color":[{"mask-linear-to":ai()}],"mask-image-t-from-pos":[{"mask-t-from":ar()}],"mask-image-t-to-pos":[{"mask-t-to":ar()}],"mask-image-t-from-color":[{"mask-t-from":ai()}],"mask-image-t-to-color":[{"mask-t-to":ai()}],"mask-image-r-from-pos":[{"mask-r-from":ar()}],"mask-image-r-to-pos":[{"mask-r-to":ar()}],"mask-image-r-from-color":[{"mask-r-from":ai()}],"mask-image-r-to-color":[{"mask-r-to":ai()}],"mask-image-b-from-pos":[{"mask-b-from":ar()}],"mask-image-b-to-pos":[{"mask-b-to":ar()}],"mask-image-b-from-color":[{"mask-b-from":ai()}],"mask-image-b-to-color":[{"mask-b-to":ai()}],"mask-image-l-from-pos":[{"mask-l-from":ar()}],"mask-image-l-to-pos":[{"mask-l-to":ar()}],"mask-image-l-from-color":[{"mask-l-from":ai()}],"mask-image-l-to-color":[{"mask-l-to":ai()}],"mask-image-x-from-pos":[{"mask-x-from":ar()}],"mask-image-x-to-pos":[{"mask-x-to":ar()}],"mask-image-x-from-color":[{"mask-x-from":ai()}],"mask-image-x-to-color":[{"mask-x-to":ai()}],"mask-image-y-from-pos":[{"mask-y-from":ar()}],"mask-image-y-to-pos":[{"mask-y-to":ar()}],"mask-image-y-from-color":[{"mask-y-from":ai()}],"mask-image-y-to-color":[{"mask-y-to":ai()}],"mask-image-radial":[{"mask-radial":[aa,U]}],"mask-image-radial-from-pos":[{"mask-radial-from":ar()}],"mask-image-radial-to-pos":[{"mask-radial-to":ar()}],"mask-image-radial-from-color":[{"mask-radial-from":ai()}],"mask-image-radial-to-color":[{"mask-radial-to":ai()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":u()}],"mask-image-conic-pos":[{"mask-conic":[I]}],"mask-image-conic-from-pos":[{"mask-conic-from":ar()}],"mask-image-conic-to-pos":[{"mask-conic-to":ar()}],"mask-image-conic-from-color":[{"mask-conic-from":ai()}],"mask-image-conic-to-color":[{"mask-conic-to":ai()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:aj()}],"mask-repeat":[{mask:ak()}],"mask-size":[{mask:al()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",aa,U]}],filter:[{filter:["","none",aa,U]}],blur:[{blur:as()}],brightness:[{brightness:[I,aa,U]}],contrast:[{contrast:[I,aa,U]}],"drop-shadow":[{"drop-shadow":["","none",n,ag,_]}],"drop-shadow-color":[{"drop-shadow":ai()}],grayscale:[{grayscale:["",I,aa,U]}],"hue-rotate":[{"hue-rotate":[I,aa,U]}],invert:[{invert:["",I,aa,U]}],saturate:[{saturate:[I,aa,U]}],sepia:[{sepia:["",I,aa,U]}],"backdrop-filter":[{"backdrop-filter":["","none",aa,U]}],"backdrop-blur":[{"backdrop-blur":as()}],"backdrop-brightness":[{"backdrop-brightness":[I,aa,U]}],"backdrop-contrast":[{"backdrop-contrast":[I,aa,U]}],"backdrop-grayscale":[{"backdrop-grayscale":["",I,aa,U]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[I,aa,U]}],"backdrop-invert":[{"backdrop-invert":["",I,aa,U]}],"backdrop-opacity":[{"backdrop-opacity":[I,aa,U]}],"backdrop-saturate":[{"backdrop-saturate":[I,aa,U]}],"backdrop-sepia":[{"backdrop-sepia":["",I,aa,U]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":z()}],"border-spacing-x":[{"border-spacing-x":z()}],"border-spacing-y":[{"border-spacing-y":z()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",aa,U]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[I,"initial",aa,U]}],ease:[{ease:["linear","initial",r,aa,U]}],delay:[{delay:[I,aa,U]}],animate:[{animate:["none",s,aa,U]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[p,aa,U]}],"perspective-origin":[{"perspective-origin":v()}],rotate:[{rotate:at()}],"rotate-x":[{"rotate-x":at()}],"rotate-y":[{"rotate-y":at()}],"rotate-z":[{"rotate-z":at()}],scale:[{scale:au()}],"scale-x":[{"scale-x":au()}],"scale-y":[{"scale-y":au()}],"scale-z":[{"scale-z":au()}],"scale-3d":["scale-3d"],skew:[{skew:av()}],"skew-x":[{"skew-x":av()}],"skew-y":[{"skew-y":av()}],transform:[{transform:[aa,U,"","none","gpu","cpu"]}],"transform-origin":[{origin:v()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:aw()}],"translate-x":[{"translate-x":aw()}],"translate-y":[{"translate-y":aw()}],"translate-z":[{"translate-z":aw()}],"translate-none":["translate-none"],zoom:[{zoom:[J,aa,U]}],accent:[{accent:ai()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ai()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",aa,U]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":ai()}],"scrollbar-track-color":[{"scrollbar-track":ai()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":z()}],"scroll-mx":[{"scroll-mx":z()}],"scroll-my":[{"scroll-my":z()}],"scroll-ms":[{"scroll-ms":z()}],"scroll-me":[{"scroll-me":z()}],"scroll-mbs":[{"scroll-mbs":z()}],"scroll-mbe":[{"scroll-mbe":z()}],"scroll-mt":[{"scroll-mt":z()}],"scroll-mr":[{"scroll-mr":z()}],"scroll-mb":[{"scroll-mb":z()}],"scroll-ml":[{"scroll-ml":z()}],"scroll-p":[{"scroll-p":z()}],"scroll-px":[{"scroll-px":z()}],"scroll-py":[{"scroll-py":z()}],"scroll-ps":[{"scroll-ps":z()}],"scroll-pe":[{"scroll-pe":z()}],"scroll-pbs":[{"scroll-pbs":z()}],"scroll-pbe":[{"scroll-pbe":z()}],"scroll-pt":[{"scroll-pt":z()}],"scroll-pr":[{"scroll-pr":z()}],"scroll-pb":[{"scroll-pb":z()}],"scroll-pl":[{"scroll-pl":z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",aa,U]}],fill:[{fill:["none",...ai()]}],"stroke-w":[{stroke:[I,ab,V,W]}],stroke:[{stroke:["none",...ai()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["start","end","right","left"],"inset-y":["inset-bs","inset-be","top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["ps","pe","pr","pl"],py:["pbs","pbe","pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["ms","me","mr","ml"],my:["mbs","mbe","mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-s","border-w-e","border-w-r","border-w-l"],"border-w-y":["border-w-bs","border-w-be","border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-s","border-color-e","border-color-r","border-color-l"],"border-color-y":["border-color-bs","border-color-be","border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-ms","scroll-me","scroll-mr","scroll-ml"],"scroll-my":["scroll-mbs","scroll-mbe","scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-ps","scroll-pe","scroll-pr","scroll-pl"],"scroll-py":["scroll-pbs","scroll-pbe","scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},f=a=>{let e=c(a);if(e)return e;let f=((a,b)=>{let{parseClassName:c,getClassGroupId:d,getConflictingClassGroupIds:e,sortModifiers:f,postfixLookupClassGroupIds:g}=b,h=[],i=a.trim().split(v),j="";for(let a=i.length-1;a>=0;a-=1){let b,k=i[a],{isExternal:l,modifiers:m,hasImportantModifier:n,baseClassName:o,maybePostfixModifierPosition:p}=c(k);if(l){j=k+(j.length>0?" "+j:j);continue}let q=!!p;if(q){let a=(b=d(o.substring(0,p)))&&g[b]?d(o):void 0;a&&a!==b&&(b=a,q=!1)}else b=d(o);if(!b){if(!q||!(b=d(o))){j=k+(j.length>0?" "+j:j);continue}q=!1}let r=0===m.length?"":1===m.length?m[0]:f(m).join(":"),s=n?r+"!":r,t=s+b;if(h.indexOf(t)>-1)continue;h.push(t);let u=e(b,q);for(let a=0;a<u.length;++a){let b=u[a];h.push(s+b)}j=k+(j.length>0?" "+j:j)}return j})(a,b);return d(a,f),f},e=a=>{var h;let i;return c=(b={cache:(a=>{if(a<1)return{get:()=>void 0,set:()=>{}};let b=0,c=Object.create(null),d=Object.create(null),e=(e,f)=>{c[e]=f,++b>a&&(b=0,d=c,c=Object.create(null))};return{get(a){let b=c[a];return void 0!==b?b:void 0!==(b=d[a])?(e(a,b),b):void 0},set(a,b){a in c?c[a]=b:e(a,b)}}})((h=[].reduce((a,b)=>b(a),g())).cacheSize),parseClassName:(a=>{let{prefix:b,experimentalParseClassName:c}=a,d=a=>{let b,c=[],d=0,e=0,f=0,g=a.length;for(let h=0;h<g;h++){let g=a[h];if(0===d&&0===e){if(":"===g){c.push(a.slice(f,h)),f=h+1;continue}if("/"===g){b=h;continue}}"["===g?d++:"]"===g?d--:"("===g?e++:")"===g&&e--}let h=0===c.length?a:a.slice(f),i=h,j=!1;return h.endsWith("!")?(i=h.slice(0,-1),j=!0):h.startsWith("!")&&(i=h.slice(1),j=!0),u(c,j,i,b&&b>f?b-f:void 0)};if(b){let a=b+":",c=d;d=b=>b.startsWith(a)?c(b.slice(a.length)):u(t,!1,b,void 0,!0)}if(c){let a=d;d=b=>c({className:b,parseClassName:a})}return d})(h),sortModifiers:(i=new Map,h.orderSensitiveModifiers.forEach((a,b)=>{i.set(a,1e6+b)}),a=>{let b=[],c=[];for(let d=0;d<a.length;d++){let e=a[d],f="["===e[0],g=i.has(e);f||g?(c.length>0&&(c.sort(),b.push(...c),c=[]),b.push(e)):c.push(e)}return c.length>0&&(c.sort(),b.push(...c)),b}),postfixLookupClassGroupIds:(a=>{let b=Object.create(null),c=a.postfixLookupClassGroups;if(c)for(let a=0;a<c.length;a++)b[c[a]]=!0;return b})(h),...(a=>{let b=(a=>{let{theme:b,classGroups:c}=a;return l(c,b)})(a),{conflictingClassGroups:c,conflictingClassGroupModifiers:d}=a;return{getClassGroupId:a=>{if(a.startsWith("[")&&a.endsWith("]")){var c;let b,d,e;return -1===(c=a).slice(1,-1).indexOf(":")?void 0:(d=(b=c.slice(1,-1)).indexOf(":"),(e=b.slice(0,d))?"arbitrary.."+e:void 0)}let d=a.split("-"),e=+(""===d[0]&&d.length>1);return k(d,e,b)},getConflictingClassGroupIds:(a,b)=>{if(b){let b=d[a],e=c[a];if(b){if(e){let a=Array(e.length+b.length);for(let b=0;b<e.length;b++)a[b]=e[b];for(let c=0;c<b.length;c++)a[e.length+c]=b[c];return a}return b}return e||j}return c[a]||j}}})(h)}).cache.get,d=b.cache.set,e=f,f(a)},(...a)=>e(((...a)=>{let b,c,d=0,e="";for(;d<a.length;)(b=a[d++])&&(c=w(b))&&(e&&(e+=" "),e+=c);return e})(...a)));a.s(["f",0,function(...a){return as((0,h.f)(a))}],368114)}],50944,(a,b,c)=>{b.exports=a.r(874137)}];
31
31
 
32
32
  //# sourceMappingURL=_1ujx-n3muyaxs._.js.map