wrong-notebook 2026.10.22 → 2026.10.25-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 (976) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +0 -2
  3. package/.next/build-manifest.json +208 -9
  4. package/.next/prerender-manifest.json +4 -4
  5. package/.next/required-server-files.json +16 -1
  6. package/.next/routes-manifest.json +0 -14
  7. package/.next/server/app/_global-error/page/build-manifest.json +8 -6
  8. package/.next/server/app/_global-error/page.js +9 -8
  9. package/.next/server/app/_global-error/page.js.nft.json +1 -1
  10. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  11. package/.next/server/app/_global-error.html +1 -1
  12. package/.next/server/app/_global-error.rsc +18 -14
  13. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +20 -16
  14. package/.next/server/app/_global-error.segments/_full.segment.rsc +18 -14
  15. package/.next/server/app/_global-error.segments/_tree.segment.rsc +2 -1
  16. package/.next/server/app/_not-found/page/build-manifest.json +8 -6
  17. package/.next/server/app/_not-found/page.js +12 -12
  18. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  19. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  20. package/.next/server/app/admin/page/build-manifest.json +8 -6
  21. package/.next/server/app/admin/page.js +13 -13
  22. package/.next/server/app/admin/page.js.nft.json +1 -1
  23. package/.next/server/app/admin/page_client-reference-manifest.js +1 -1
  24. package/.next/server/app/admin/user/[id]/page/build-manifest.json +8 -6
  25. package/.next/server/app/admin/user/[id]/page.js +13 -13
  26. package/.next/server/app/admin/user/[id]/page.js.nft.json +1 -1
  27. package/.next/server/app/admin/user/[id]/page_client-reference-manifest.js +1 -1
  28. package/.next/server/app/api/admin/dashboard/route.js +20 -9
  29. package/.next/server/app/api/admin/dashboard/route.js.nft.json +1 -1
  30. package/.next/server/app/api/admin/migrate-tags/route.js +10 -8
  31. package/.next/server/app/api/admin/migrate-tags/route.js.nft.json +1 -1
  32. package/.next/server/app/api/admin/system-reset/route.js +9 -7
  33. package/.next/server/app/api/admin/system-reset/route.js.nft.json +1 -1
  34. package/.next/server/app/api/admin/users/[id]/detail/route.js +20 -8
  35. package/.next/server/app/api/admin/users/[id]/detail/route.js.nft.json +1 -1
  36. package/.next/server/app/api/admin/users/[id]/route.js +10 -7
  37. package/.next/server/app/api/admin/users/[id]/route.js.nft.json +1 -1
  38. package/.next/server/app/api/admin/users/route.js +10 -7
  39. package/.next/server/app/api/admin/users/route.js.nft.json +1 -1
  40. package/.next/server/app/api/ai/models/route.js +17 -13
  41. package/.next/server/app/api/ai/models/route.js.nft.json +1 -1
  42. package/.next/server/app/api/ai/test/route.js +18 -14
  43. package/.next/server/app/api/ai/test/route.js.nft.json +1 -1
  44. package/.next/server/app/api/analytics/route.js +12 -8
  45. package/.next/server/app/api/analytics/route.js.nft.json +1 -1
  46. package/.next/server/app/api/analyze/route.js +19 -15
  47. package/.next/server/app/api/analyze/route.js.nft.json +1 -1
  48. package/.next/server/app/api/auth/[...nextauth]/route.js +8 -6
  49. package/.next/server/app/api/auth/[...nextauth]/route.js.nft.json +1 -1
  50. package/.next/server/app/api/error-items/[id]/delete/route.js +9 -7
  51. package/.next/server/app/api/error-items/[id]/delete/route.js.nft.json +1 -1
  52. package/.next/server/app/api/error-items/[id]/figure/route.js +19 -14
  53. package/.next/server/app/api/error-items/[id]/figure/route.js.nft.json +1 -1
  54. package/.next/server/app/api/error-items/[id]/fix-latex/route.js +19 -15
  55. package/.next/server/app/api/error-items/[id]/fix-latex/route.js.nft.json +1 -1
  56. package/.next/server/app/api/error-items/[id]/geogebra/route.js +17 -13
  57. package/.next/server/app/api/error-items/[id]/geogebra/route.js.nft.json +1 -1
  58. package/.next/server/app/api/error-items/[id]/image/route.js +11 -8
  59. package/.next/server/app/api/error-items/[id]/image/route.js.nft.json +1 -1
  60. package/.next/server/app/api/error-items/[id]/notes/route.js +9 -7
  61. package/.next/server/app/api/error-items/[id]/notes/route.js.nft.json +1 -1
  62. package/.next/server/app/api/error-items/[id]/practice-records/route.js +10 -7
  63. package/.next/server/app/api/error-items/[id]/practice-records/route.js.nft.json +1 -1
  64. package/.next/server/app/api/error-items/[id]/reanswer/route.js +19 -15
  65. package/.next/server/app/api/error-items/[id]/reanswer/route.js.nft.json +1 -1
  66. package/.next/server/app/api/error-items/[id]/retag/route.js +20 -15
  67. package/.next/server/app/api/error-items/[id]/retag/route.js.nft.json +1 -1
  68. package/.next/server/app/api/error-items/[id]/route.js +8 -6
  69. package/.next/server/app/api/error-items/[id]/route.js.nft.json +1 -1
  70. package/.next/server/app/api/error-items/[id]/svg-animation/route.js +19 -15
  71. package/.next/server/app/api/error-items/[id]/svg-animation/route.js.nft.json +1 -1
  72. package/.next/server/app/api/error-items/batch-delete/route.js +9 -7
  73. package/.next/server/app/api/error-items/batch-delete/route.js.nft.json +1 -1
  74. package/.next/server/app/api/error-items/clear/route.js +9 -7
  75. package/.next/server/app/api/error-items/clear/route.js.nft.json +1 -1
  76. package/.next/server/app/api/error-items/list/route.js +12 -9
  77. package/.next/server/app/api/error-items/list/route.js.nft.json +1 -1
  78. package/.next/server/app/api/error-items/route.js +23 -16
  79. package/.next/server/app/api/error-items/route.js.nft.json +1 -1
  80. package/.next/server/app/api/error-items/short/[shortId]/route.js +10 -7
  81. package/.next/server/app/api/error-items/short/[shortId]/route.js.nft.json +1 -1
  82. package/.next/server/app/api/error-items/similarity/route.js +11 -8
  83. package/.next/server/app/api/error-items/similarity/route.js.nft.json +1 -1
  84. package/.next/server/app/api/exams/[id]/questions/[questionId]/regenerate/route.js +20 -15
  85. package/.next/server/app/api/exams/[id]/questions/[questionId]/regenerate/route.js.nft.json +1 -1
  86. package/.next/server/app/api/exams/[id]/results/route.js +21 -15
  87. package/.next/server/app/api/exams/[id]/results/route.js.nft.json +1 -1
  88. package/.next/server/app/api/exams/[id]/retry/route.js +20 -15
  89. package/.next/server/app/api/exams/[id]/retry/route.js.nft.json +1 -1
  90. package/.next/server/app/api/exams/[id]/route.js +18 -13
  91. package/.next/server/app/api/exams/[id]/route.js.nft.json +1 -1
  92. package/.next/server/app/api/exams/route.js +20 -15
  93. package/.next/server/app/api/exams/route.js.nft.json +1 -1
  94. package/.next/server/app/api/export/route.js +12 -9
  95. package/.next/server/app/api/export/route.js.nft.json +1 -1
  96. package/.next/server/app/api/geogebra-analyze/route.js +19 -14
  97. package/.next/server/app/api/geogebra-analyze/route.js.nft.json +1 -1
  98. package/.next/server/app/api/health/route.js +7 -6
  99. package/.next/server/app/api/health/route.js.nft.json +1 -1
  100. package/.next/server/app/api/import/route.js +23 -16
  101. package/.next/server/app/api/import/route.js.nft.json +1 -1
  102. package/.next/server/app/api/logs/frontend/route.js +9 -7
  103. package/.next/server/app/api/logs/frontend/route.js.nft.json +1 -1
  104. package/.next/server/app/api/notebooks/[id]/retag/route.js +20 -15
  105. package/.next/server/app/api/notebooks/[id]/retag/route.js.nft.json +1 -1
  106. package/.next/server/app/api/notebooks/[id]/route.js +9 -8
  107. package/.next/server/app/api/notebooks/[id]/route.js.nft.json +1 -1
  108. package/.next/server/app/api/notebooks/route.js +11 -9
  109. package/.next/server/app/api/notebooks/route.js.nft.json +1 -1
  110. package/.next/server/app/api/openclaw/batch-upload/route.js +22 -14
  111. package/.next/server/app/api/openclaw/batch-upload/route.js.nft.json +1 -1
  112. package/.next/server/app/api/practice/generate/route.js +19 -14
  113. package/.next/server/app/api/practice/generate/route.js.nft.json +1 -1
  114. package/.next/server/app/api/practice/record/[id]/route.js +20 -14
  115. package/.next/server/app/api/practice/record/[id]/route.js.nft.json +1 -1
  116. package/.next/server/app/api/practice/record/route.js +20 -15
  117. package/.next/server/app/api/practice/record/route.js.nft.json +1 -1
  118. package/.next/server/app/api/reanswer/route.js +19 -14
  119. package/.next/server/app/api/reanswer/route.js.nft.json +1 -1
  120. package/.next/server/app/api/register/route.js +9 -6
  121. package/.next/server/app/api/register/route.js.nft.json +1 -1
  122. package/.next/server/app/api/register/status/route.js +10 -7
  123. package/.next/server/app/api/register/status/route.js.nft.json +1 -1
  124. package/.next/server/app/api/settings/route.js +12 -9
  125. package/.next/server/app/api/settings/route.js.nft.json +1 -1
  126. package/.next/server/app/api/stats/practice/clear/route.js +9 -7
  127. package/.next/server/app/api/stats/practice/clear/route.js.nft.json +1 -1
  128. package/.next/server/app/api/stats/practice/route.js +12 -8
  129. package/.next/server/app/api/stats/practice/route.js.nft.json +1 -1
  130. package/.next/server/app/api/tags/route.js +9 -8
  131. package/.next/server/app/api/tags/route.js.nft.json +1 -1
  132. package/.next/server/app/api/tags/stats/route.js +10 -7
  133. package/.next/server/app/api/tags/stats/route.js.nft.json +1 -1
  134. package/.next/server/app/api/tags/suggestions/route.js +9 -7
  135. package/.next/server/app/api/tags/suggestions/route.js.nft.json +1 -1
  136. package/.next/server/app/api/tasks/route.js +10 -7
  137. package/.next/server/app/api/tasks/route.js.nft.json +1 -1
  138. package/.next/server/app/api/user/route.js +11 -9
  139. package/.next/server/app/api/user/route.js.nft.json +1 -1
  140. package/.next/server/app/api/version/route.js +7 -6
  141. package/.next/server/app/api/version/route.js.nft.json +1 -1
  142. package/.next/server/app/error-items/[id]/page/build-manifest.json +8 -6
  143. package/.next/server/app/error-items/[id]/page.js +13 -13
  144. package/.next/server/app/error-items/[id]/page.js.nft.json +1 -1
  145. package/.next/server/app/error-items/[id]/page_client-reference-manifest.js +1 -1
  146. package/.next/server/app/exams/[id]/page/build-manifest.json +8 -6
  147. package/.next/server/app/exams/[id]/page.js +13 -13
  148. package/.next/server/app/exams/[id]/page.js.nft.json +1 -1
  149. package/.next/server/app/exams/[id]/page_client-reference-manifest.js +1 -1
  150. package/.next/server/app/exams/[id]/print/page/build-manifest.json +8 -6
  151. package/.next/server/app/exams/[id]/print/page.js +13 -13
  152. package/.next/server/app/exams/[id]/print/page.js.nft.json +1 -1
  153. package/.next/server/app/exams/[id]/print/page_client-reference-manifest.js +1 -1
  154. package/.next/server/app/exams/page/build-manifest.json +8 -6
  155. package/.next/server/app/exams/page.js +13 -13
  156. package/.next/server/app/exams/page.js.nft.json +1 -1
  157. package/.next/server/app/exams/page_client-reference-manifest.js +1 -1
  158. package/.next/server/app/favicon.ico/route.js +7 -7
  159. package/.next/server/app/favicon.ico/route.js.nft.json +1 -1
  160. package/.next/server/app/login/page/build-manifest.json +8 -6
  161. package/.next/server/app/login/page.js +13 -13
  162. package/.next/server/app/login/page.js.nft.json +1 -1
  163. package/.next/server/app/login/page_client-reference-manifest.js +1 -1
  164. package/.next/server/app/manifest.webmanifest/route.js +7 -7
  165. package/.next/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  166. package/.next/server/app/manifest.webmanifest.body +1 -1
  167. package/.next/server/app/notebooks/[id]/add/page/build-manifest.json +8 -6
  168. package/.next/server/app/notebooks/[id]/add/page.js +13 -13
  169. package/.next/server/app/notebooks/[id]/add/page.js.nft.json +1 -1
  170. package/.next/server/app/notebooks/[id]/add/page_client-reference-manifest.js +1 -1
  171. package/.next/server/app/notebooks/[id]/page/build-manifest.json +8 -6
  172. package/.next/server/app/notebooks/[id]/page.js +13 -13
  173. package/.next/server/app/notebooks/[id]/page.js.nft.json +1 -1
  174. package/.next/server/app/notebooks/[id]/page_client-reference-manifest.js +1 -1
  175. package/.next/server/app/notebooks/page/build-manifest.json +8 -6
  176. package/.next/server/app/notebooks/page.js +13 -13
  177. package/.next/server/app/notebooks/page.js.nft.json +1 -1
  178. package/.next/server/app/notebooks/page_client-reference-manifest.js +1 -1
  179. package/.next/server/app/page/build-manifest.json +8 -6
  180. package/.next/server/app/page.js +13 -13
  181. package/.next/server/app/page.js.nft.json +1 -1
  182. package/.next/server/app/page_client-reference-manifest.js +1 -1
  183. package/.next/server/app/practice/page/build-manifest.json +8 -6
  184. package/.next/server/app/practice/page.js +13 -13
  185. package/.next/server/app/practice/page.js.nft.json +1 -1
  186. package/.next/server/app/practice/page_client-reference-manifest.js +1 -1
  187. package/.next/server/app/print-preview/page/build-manifest.json +8 -6
  188. package/.next/server/app/print-preview/page.js +13 -13
  189. package/.next/server/app/print-preview/page.js.nft.json +1 -1
  190. package/.next/server/app/print-preview/page_client-reference-manifest.js +1 -1
  191. package/.next/server/app/register/page/build-manifest.json +8 -6
  192. package/.next/server/app/register/page.js +11 -11
  193. package/.next/server/app/register/page.js.nft.json +1 -1
  194. package/.next/server/app/register/page_client-reference-manifest.js +1 -1
  195. package/.next/server/app/stats/page/build-manifest.json +8 -6
  196. package/.next/server/app/stats/page.js +13 -13
  197. package/.next/server/app/stats/page.js.nft.json +1 -1
  198. package/.next/server/app/stats/page_client-reference-manifest.js +1 -1
  199. package/.next/server/app/tags/page/build-manifest.json +8 -6
  200. package/.next/server/app/tags/page.js +13 -13
  201. package/.next/server/app/tags/page.js.nft.json +1 -1
  202. package/.next/server/app/tags/page_client-reference-manifest.js +1 -1
  203. package/.next/server/app-paths-manifest.json +0 -2
  204. package/.next/server/chunks/0ivl_api_exams_[id]_questions_[questionId]_regenerate_route_actions_1ggead3ywjhli.js +3 -0
  205. package/.next/server/chunks/1oeh_server_app_api_admin_users_[id]_detail_route_actions_0oe_wktcsiz6j.js +3 -0
  206. package/.next/server/chunks/1oeh_server_app_api_error-items_[id]_delete_route_actions_1w26boq5bpk6f.js +3 -0
  207. package/.next/server/chunks/1oeh_server_app_api_error-items_[id]_figure_route_actions_0adlts0sguhrk.js +3 -0
  208. package/.next/server/chunks/1oeh_server_app_api_error-items_[id]_fix-latex_route_actions_0hc7dhxtl9kc9.js +3 -0
  209. package/.next/server/chunks/1oeh_server_app_api_error-items_[id]_geogebra_route_actions_1-ks4uvettiij.js +3 -0
  210. package/.next/server/chunks/1oeh_server_app_api_error-items_[id]_practice-records_route_actions_0z2zuf1oxdmh0.js +3 -0
  211. package/.next/server/chunks/1oeh_server_app_api_error-items_[id]_reanswer_route_actions_1-sw0j2l65i8t.js +3 -0
  212. package/.next/server/chunks/1oeh_server_app_api_error-items_[id]_svg-animation_route_actions_17gckf3idsy15.js +3 -0
  213. package/.next/server/chunks/1oeh_server_app_api_error-items_batch-delete_route_actions_0hiq_1kd60tc2.js +3 -0
  214. package/.next/server/chunks/1oeh_server_app_api_error-items_short_[shortId]_route_actions_02976v-fif6-5.js +3 -0
  215. package/.next/server/chunks/[externals]__04n7qbralh87n._.js +3 -0
  216. package/.next/server/chunks/[externals]__0jzwjtlwxxyw6._.js +3 -0
  217. package/.next/server/chunks/[externals]__0pot68n2q47fn._.js +3 -0
  218. package/.next/server/chunks/[externals]__1oyo6y4k5ao25._.js +3 -0
  219. package/.next/server/chunks/[externals]__1yyxisf-dquqj._.js +3 -0
  220. package/.next/server/chunks/[externals]_assert_1pwe1ri__g5hw._.js +3 -0
  221. package/.next/server/chunks/[externals]_fs_0pplqgcyv2l7l._.js +3 -0
  222. package/.next/server/chunks/[root-of-the-server]__0-g6zoywy7s9r._.js +3 -0
  223. package/.next/server/chunks/[root-of-the-server]__0-i5scl3dk6sv._.js +3 -0
  224. package/.next/server/chunks/[root-of-the-server]__0-odhmcsbillm._.js +3 -0
  225. package/.next/server/chunks/[root-of-the-server]__003ii50e63ws5._.js +3 -0
  226. package/.next/server/chunks/[root-of-the-server]__02izfhede1ge6._.js +3 -0
  227. package/.next/server/chunks/[root-of-the-server]__04k4sy605shy8._.js +3 -0
  228. package/.next/server/chunks/[root-of-the-server]__082k83j3p6okz._.js +3 -0
  229. package/.next/server/chunks/[root-of-the-server]__08p0s4r9g87cn._.js +3 -0
  230. package/.next/server/chunks/[root-of-the-server]__0_a858mm6ofp3._.js +3 -0
  231. package/.next/server/chunks/[root-of-the-server]__0_t7bbz2btvts._.js +3 -0
  232. package/.next/server/chunks/[root-of-the-server]__0a-kmd7e0p8db._.js +3 -0
  233. package/.next/server/chunks/[root-of-the-server]__0an9s6-nn3kpq._.js +3 -0
  234. package/.next/server/chunks/[root-of-the-server]__0b6q7yr-sfcet._.js +3 -0
  235. package/.next/server/chunks/[root-of-the-server]__0g-kb21pws7qu._.js +3 -0
  236. package/.next/server/chunks/[root-of-the-server]__0hbqxdkp_1j_7._.js +3 -0
  237. package/.next/server/chunks/[root-of-the-server]__0hjv7gm7tjgzr._.js +3 -0
  238. package/.next/server/chunks/[root-of-the-server]__0kva0deskq80y._.js +3 -0
  239. package/.next/server/chunks/[root-of-the-server]__0l7y2xk1m7h84._.js +3 -0
  240. package/.next/server/chunks/[root-of-the-server]__0l9qwcb4i27ui._.js +3 -0
  241. package/.next/server/chunks/[root-of-the-server]__0ld-3rbaj1m8-._.js +56 -0
  242. package/.next/server/chunks/[root-of-the-server]__0majzhfobp3nf._.js +3 -0
  243. package/.next/server/chunks/[root-of-the-server]__0mc5h4iz6ua87._.js +3 -0
  244. package/.next/server/chunks/[root-of-the-server]__0nrxl8lqbzwov._.js +3 -0
  245. package/.next/server/chunks/[root-of-the-server]__0nzkvmeik_rk5._.js +3 -0
  246. package/.next/server/chunks/[root-of-the-server]__0pqggfowif112._.js +3 -0
  247. package/.next/server/chunks/[root-of-the-server]__0qvrt0t4xthie._.js +3 -0
  248. package/.next/server/chunks/[root-of-the-server]__0rbqws43qszln._.js +3 -0
  249. package/.next/server/chunks/[root-of-the-server]__0rg4hkgdxbjou._.js +3 -0
  250. package/.next/server/chunks/[root-of-the-server]__0rk_yxyba4meu._.js +9 -0
  251. package/.next/server/chunks/[root-of-the-server]__0ssrmihfi_u6m._.js +3 -0
  252. package/.next/server/chunks/[root-of-the-server]__0w2rkt8xlhqw8._.js +3 -0
  253. package/.next/server/chunks/[root-of-the-server]__0ycg3q_q562tz._.js +3 -0
  254. package/.next/server/chunks/[root-of-the-server]__0ystefe8_e0es._.js +3 -0
  255. package/.next/server/chunks/[root-of-the-server]__0zjg773epx4r_._.js +3 -0
  256. package/.next/server/chunks/[root-of-the-server]__122xu-0xjk0q5._.js +32 -0
  257. package/.next/server/chunks/[root-of-the-server]__139pkgh2w4wv7._.js +3 -0
  258. package/.next/server/chunks/[root-of-the-server]__13fue_8ln57sk._.js +3 -0
  259. package/.next/server/chunks/[root-of-the-server]__14-kwm6jhtwo2._.js +3 -0
  260. package/.next/server/chunks/[root-of-the-server]__15nya_6vffdj1._.js +3 -0
  261. package/.next/server/chunks/[root-of-the-server]__15s-n6e06wf6g._.js +3 -0
  262. package/.next/server/chunks/[root-of-the-server]__15tkoe60wvpdf._.js +10 -0
  263. package/.next/server/chunks/[root-of-the-server]__17rozs-xk_dqd._.js +3 -0
  264. package/.next/server/chunks/[root-of-the-server]__17xqc8-y_hmhm._.js +3 -0
  265. package/.next/server/chunks/[root-of-the-server]__18j9-n7s671bt._.js +3 -0
  266. package/.next/server/chunks/[root-of-the-server]__1_gkx5xy1-3em._.js +3 -0
  267. package/.next/server/chunks/[root-of-the-server]__1_kq0iosz0cgh._.js +3 -0
  268. package/.next/server/chunks/[root-of-the-server]__1a8nqxs0k1ue0._.js +3 -0
  269. package/.next/server/chunks/[root-of-the-server]__1biigyx-bi52y._.js +3 -0
  270. package/.next/server/chunks/[root-of-the-server]__1bmd4mech7kzj._.js +3 -0
  271. package/.next/server/chunks/[root-of-the-server]__1bswuhivogp5u._.js +3 -0
  272. package/.next/server/chunks/[root-of-the-server]__1e_3xwt459gzy._.js +3 -0
  273. package/.next/server/chunks/[root-of-the-server]__1epfgldsr-ls5._.js +3 -0
  274. package/.next/server/chunks/[root-of-the-server]__1fc23i58z_ao2._.js +122 -0
  275. package/.next/server/chunks/[root-of-the-server]__1hejjxeb6bmtm._.js +3 -0
  276. package/.next/server/chunks/[root-of-the-server]__1iydd43toz2hx._.js +3 -0
  277. package/.next/server/chunks/[root-of-the-server]__1j6jbtj3gauq_._.js +3 -0
  278. package/.next/server/chunks/[root-of-the-server]__1jfwn22nquvq-._.js +3 -0
  279. package/.next/server/chunks/[root-of-the-server]__1jtd2ara5taim._.js +6 -0
  280. package/.next/server/chunks/[root-of-the-server]__1k73w0dqrm6gg._.js +3 -0
  281. package/.next/server/chunks/[root-of-the-server]__1k_8n_p3i4my_._.js +3 -0
  282. package/.next/server/chunks/[root-of-the-server]__1msj6a3i2of1g._.js +3 -0
  283. package/.next/server/chunks/[root-of-the-server]__1nmtv65uajre3._.js +10 -0
  284. package/.next/server/chunks/[root-of-the-server]__1q6zz6-dwz42t._.js +3 -0
  285. package/.next/server/chunks/[root-of-the-server]__1qv23loqhxkcf._.js +3 -0
  286. package/.next/server/chunks/[root-of-the-server]__1rcitv6tfajfz._.js +3 -0
  287. package/.next/server/chunks/[root-of-the-server]__1tczl61nfeymj._.js +3 -0
  288. package/.next/server/chunks/[root-of-the-server]__1ve3j8ooyhjgv._.js +3 -0
  289. package/.next/server/chunks/[root-of-the-server]__1vgkjjilvagrv._.js +3 -0
  290. package/.next/server/chunks/[root-of-the-server]__1vj-su-vkz4ng._.js +3 -0
  291. package/.next/server/chunks/[root-of-the-server]__1vw740yzcybw7._.js +32 -0
  292. package/.next/server/chunks/[root-of-the-server]__1y_u-tq43pxmc._.js +3 -0
  293. package/.next/server/chunks/[root-of-the-server]__1yva3qsip39_n._.js +3 -0
  294. package/.next/server/chunks/[root-of-the-server]__1zyka21s1ahtj._.js +3 -0
  295. package/.next/server/chunks/[turbopack]_runtime.js +146 -16
  296. package/.next/server/chunks/_0-ne-bwuvd_6w._.js +3 -0
  297. package/.next/server/chunks/_011-ll5i30j2e._.js +3 -0
  298. package/.next/server/chunks/_029zt0rilrwvt._.js +3 -0
  299. package/.next/server/chunks/_03ovgh1-4xf3f._.js +3 -0
  300. package/.next/server/chunks/_0431fxnqiloso._.js +3 -0
  301. package/.next/server/chunks/_07amw8ha9rney._.js +3 -0
  302. package/.next/server/chunks/_0_3_65z6ak-5i._.js +3 -0
  303. package/.next/server/chunks/_0_e736ff6uhew._.js +3 -0
  304. package/.next/server/chunks/_0anbzuivml30d._.js +3 -0
  305. package/.next/server/chunks/_0at03z7sgwdv3._.js +3 -0
  306. package/.next/server/chunks/_0axy8rynlghzq._.js +3 -0
  307. package/.next/server/chunks/_0d66myj_8567o._.js +3 -0
  308. package/.next/server/chunks/_0ekrwj-qx_6uh._.js +36 -0
  309. package/.next/server/chunks/_0geyrqrvyak26._.js +11 -0
  310. package/.next/server/chunks/_0gxi3zrkhyvx_._.js +3 -0
  311. package/.next/server/chunks/_0h1rbua_hqkox._.js +3 -0
  312. package/.next/server/chunks/_0kkvpy2s_y3-n._.js +11 -0
  313. package/.next/server/chunks/_0kreo-8xn80hb._.js +3 -0
  314. package/.next/server/chunks/_0l2j3br2g32zp._.js +3 -0
  315. package/.next/server/chunks/_0lz3t4lsygbtv._.js +19 -0
  316. package/.next/server/chunks/_0ne4rbj35w-io._.js +11 -0
  317. package/.next/server/chunks/_0qaoat396e0_3._.js +3 -0
  318. package/.next/server/chunks/_0qsjdkq-39qbo._.js +11 -0
  319. package/.next/server/chunks/_0tl0cy5j96d7h._.js +3 -0
  320. package/.next/server/chunks/_0uxp3uhmyw1h3._.js +3 -0
  321. package/.next/server/chunks/_0wegi_sv1s4wx._.js +3 -0
  322. package/.next/server/chunks/_0x3ltk09eli_f._.js +36 -0
  323. package/.next/server/chunks/_0z0zrluul2idw._.js +3 -0
  324. package/.next/server/chunks/_0zs7jfzzshbfq._.js +3 -0
  325. package/.next/server/chunks/_11w6ynlxuzl55._.js +3 -0
  326. package/.next/server/chunks/_12i51zlq-xxrl._.js +3 -0
  327. package/.next/server/chunks/_12w5k19rc45j_._.js +3 -0
  328. package/.next/server/chunks/_13ffmxv8qrwi0._.js +3 -0
  329. package/.next/server/chunks/_14tz_k9desx4n._.js +3 -0
  330. package/.next/server/chunks/_14w9nrdlajz24._.js +3 -0
  331. package/.next/server/chunks/_15fpgekhvv214._.js +3 -0
  332. package/.next/server/chunks/_16jdov0rxh99d._.js +3 -0
  333. package/.next/server/chunks/_17zw8m241gfs3._.js +3 -0
  334. package/.next/server/chunks/_18amra5328v90._.js +3 -0
  335. package/.next/server/chunks/_18hm5aaxkr500._.js +3 -0
  336. package/.next/server/chunks/_1_273cgnpyl9j._.js +3 -0
  337. package/.next/server/chunks/_1_ns7o3cqznv6._.js +3 -0
  338. package/.next/server/chunks/_1a1aqmie1d3u_._.js +3 -0
  339. package/.next/server/chunks/_1a1udq0c4_6ad._.js +3 -0
  340. package/.next/server/chunks/_1b0269xt-c8f7._.js +3 -0
  341. package/.next/server/chunks/_1b7qjlv0nxovi._.js +3 -0
  342. package/.next/server/chunks/_1be-y660a8z-q._.js +3 -0
  343. package/.next/server/chunks/_1cydcmia78z15._.js +3 -0
  344. package/.next/server/chunks/_1e8w9uuebtrcb._.js +3 -0
  345. package/.next/server/chunks/_1ex6ovo_j2jzv._.js +3 -0
  346. package/.next/server/chunks/_1fgb9ve_nfat4._.js +3 -0
  347. package/.next/server/chunks/_1hj7iit2u6xez._.js +3 -0
  348. package/.next/server/chunks/_1lrt8e26anbnm._.js +11 -0
  349. package/.next/server/chunks/_1m-yyz-pl9-03._.js +3 -0
  350. package/.next/server/chunks/_1pvqo-qnv-nqm._.js +3 -0
  351. package/.next/server/chunks/_1q65ai1_dwgjp._.js +3 -0
  352. package/.next/server/chunks/_1s5-ldt8xhtpp._.js +3 -0
  353. package/.next/server/chunks/_1sp0xk1c5jx5r._.js +3 -0
  354. package/.next/server/chunks/_1taeg5t2ai7_x._.js +3 -0
  355. package/.next/server/chunks/_1tjis3pqfxk7_._.js +3 -0
  356. package/.next/server/chunks/_1vtmdpk7p4al9._.js +3 -0
  357. package/.next/server/chunks/_1wulydy4wg9ow._.js +3 -0
  358. package/.next/server/chunks/_1xpj9uk-9zhl8._.js +3 -0
  359. package/.next/server/chunks/_1y5_49ip8l9oe._.js +3 -0
  360. package/.next/server/chunks/_1z_ujac_e_65s._.js +3 -0
  361. package/.next/server/chunks/_211va-dk9519v._.js +3 -0
  362. package/.next/server/chunks/_next-internal_server_app_api_admin_dashboard_route_actions_1ispso-r2eove.js +3 -0
  363. package/.next/server/chunks/{_next-internal_server_app_api_admin_migrate-tags_route_actions_1ztwxhx.js → _next-internal_server_app_api_admin_migrate-tags_route_actions_1ztwxhxi2qsxd.js} +1 -1
  364. package/.next/server/chunks/{_next-internal_server_app_api_admin_system-reset_route_actions_15aselt.js → _next-internal_server_app_api_admin_system-reset_route_actions_15aseltajrio-.js} +1 -1
  365. package/.next/server/chunks/{_next-internal_server_app_api_admin_users_[id]_route_actions_1hhpuc4.js → _next-internal_server_app_api_admin_users_[id]_route_actions_1hhpuc4kr8kus.js} +1 -1
  366. package/.next/server/chunks/_next-internal_server_app_api_admin_users_route_actions_0q-rtz1e15wl4.js +3 -0
  367. package/.next/server/chunks/_next-internal_server_app_api_ai_models_route_actions_0w7iwv-_fbzuj.js +3 -0
  368. package/.next/server/chunks/_next-internal_server_app_api_ai_test_route_actions_1p0n1q8zn22_3.js +3 -0
  369. package/.next/server/chunks/_next-internal_server_app_api_analytics_route_actions_1e0ou17qxwn3t.js +3 -0
  370. package/.next/server/chunks/_next-internal_server_app_api_analyze_route_actions_0lx-23h7r4czj.js +3 -0
  371. package/.next/server/chunks/_next-internal_server_app_api_auth_[___nextauth]_route_actions_08nexdks3z54l.js +3 -0
  372. package/.next/server/chunks/_next-internal_server_app_api_error-items_[id]_image_route_actions_1k9n5ylrz4c3i.js +3 -0
  373. package/.next/server/chunks/{_next-internal_server_app_api_error-items_[id]_notes_route_actions_1cjux7z.js → _next-internal_server_app_api_error-items_[id]_notes_route_actions_1cjux7zwbv-yr.js} +1 -1
  374. package/.next/server/chunks/_next-internal_server_app_api_error-items_[id]_retag_route_actions_0ckki4nf1m1rv.js +3 -0
  375. package/.next/server/chunks/_next-internal_server_app_api_error-items_[id]_route_actions_1kbs4uxgcnwcc.js +3 -0
  376. package/.next/server/chunks/_next-internal_server_app_api_error-items_clear_route_actions_14t_6i-b4usht.js +3 -0
  377. package/.next/server/chunks/_next-internal_server_app_api_error-items_list_route_actions_032x4ue0aseaq.js +3 -0
  378. package/.next/server/chunks/_next-internal_server_app_api_error-items_route_actions_1zdvz0pe68kn6.js +3 -0
  379. package/.next/server/chunks/_next-internal_server_app_api_error-items_similarity_route_actions_1i26if9-yrnuz.js +3 -0
  380. package/.next/server/chunks/{_next-internal_server_app_api_exams_[id]_results_route_actions_1v3vhi4.js → _next-internal_server_app_api_exams_[id]_results_route_actions_1v3vhi4cjl6y6.js} +1 -1
  381. package/.next/server/chunks/_next-internal_server_app_api_exams_[id]_retry_route_actions_1fdi39f5xqz2a.js +3 -0
  382. package/.next/server/chunks/_next-internal_server_app_api_exams_[id]_route_actions_1wuidrq8qisud.js +3 -0
  383. package/.next/server/chunks/{_next-internal_server_app_api_exams_route_actions_1c_zhtj.js → _next-internal_server_app_api_exams_route_actions_1c_zhtjquazbz.js} +2 -2
  384. package/.next/server/chunks/{_next-internal_server_app_api_export_route_actions_0lpcnjc.js → _next-internal_server_app_api_export_route_actions_0lpcnjc9jg57-.js} +2 -2
  385. package/.next/server/chunks/_next-internal_server_app_api_geogebra-analyze_route_actions_1xng0_cc6l98n.js +3 -0
  386. package/.next/server/chunks/{_next-internal_server_app_api_health_route_actions_1ryftkb.js → _next-internal_server_app_api_health_route_actions_1ryftkbeskq31.js} +2 -2
  387. package/.next/server/chunks/{_next-internal_server_app_api_import_route_actions_20ko04x.js → _next-internal_server_app_api_import_route_actions_20ko04xh42fpe.js} +2 -2
  388. package/.next/server/chunks/_next-internal_server_app_api_logs_frontend_route_actions_0nxeptyjby8s8.js +3 -0
  389. package/.next/server/chunks/_next-internal_server_app_api_notebooks_[id]_retag_route_actions_00su_t80igzxy.js +3 -0
  390. package/.next/server/chunks/_next-internal_server_app_api_notebooks_[id]_route_actions_11j3vxgeuqf90.js +3 -0
  391. package/.next/server/chunks/_next-internal_server_app_api_notebooks_route_actions_02cy45r04tykl.js +3 -0
  392. package/.next/server/chunks/_next-internal_server_app_api_openclaw_batch-upload_route_actions_1zz3oenvuk9lp.js +3 -0
  393. package/.next/server/chunks/_next-internal_server_app_api_practice_generate_route_actions_1krr9n_f0vpz7.js +3 -0
  394. package/.next/server/chunks/_next-internal_server_app_api_practice_record_[id]_route_actions_0zreiomdy_l4b.js +3 -0
  395. package/.next/server/chunks/_next-internal_server_app_api_practice_record_route_actions_0py9z__efurdf.js +3 -0
  396. package/.next/server/chunks/_next-internal_server_app_api_reanswer_route_actions_04xweh_hfqgvy.js +3 -0
  397. package/.next/server/chunks/_next-internal_server_app_api_register_route_actions_0vlzh_c4r8obw.js +3 -0
  398. package/.next/server/chunks/_next-internal_server_app_api_register_status_route_actions_0b52_sjq7yjzh.js +3 -0
  399. package/.next/server/chunks/_next-internal_server_app_api_settings_route_actions_1bpm9acuq1z18.js +3 -0
  400. package/.next/server/chunks/_next-internal_server_app_api_stats_practice_clear_route_actions_1iz6iz0hyvj4g.js +3 -0
  401. package/.next/server/chunks/_next-internal_server_app_api_stats_practice_route_actions_1tfoxx-2uzhl0.js +3 -0
  402. package/.next/server/chunks/{_next-internal_server_app_api_tags_route_actions_1nb9ma2.js → _next-internal_server_app_api_tags_route_actions_1nb9ma2pi6m41.js} +2 -2
  403. package/.next/server/chunks/_next-internal_server_app_api_tags_stats_route_actions_0fmeadc45lqi1.js +3 -0
  404. package/.next/server/chunks/_next-internal_server_app_api_tags_suggestions_route_actions_1xpolyvywz3qh.js +3 -0
  405. package/.next/server/chunks/{_next-internal_server_app_api_tasks_route_actions_123tq1_.js → _next-internal_server_app_api_tasks_route_actions_123tq1_b3dlgw.js} +2 -2
  406. package/.next/server/chunks/{_next-internal_server_app_api_user_route_actions_1k-4clg.js → _next-internal_server_app_api_user_route_actions_1k-4clgaupijh.js} +1 -1
  407. package/.next/server/chunks/{_next-internal_server_app_api_version_route_actions_0kbx30h.js → _next-internal_server_app_api_version_route_actions_0kbx30hro8e93.js} +1 -1
  408. package/.next/server/chunks/_next-internal_server_app_favicon_ico_route_actions_0g2jjlssn1kss.js +3 -0
  409. package/.next/server/chunks/_next-internal_server_app_manifest_webmanifest_route_actions_08hcpz02cjxld.js +3 -0
  410. package/.next/server/chunks/node_modules_@anthropic-ai_sdk_1nnmjtbtp2rc6._.js +3 -0
  411. package/.next/server/chunks/node_modules_next_1zdbrneapig6o._.js +10 -0
  412. package/.next/server/chunks/node_modules_node-fetch_src_utils_multipart-parser_0a9aeam58e52_.js +3 -0
  413. package/.next/server/chunks/node_modules_zod_v4_classic_external_19886v847zvfd.js +3 -0
  414. package/.next/server/chunks/node_modules_zod_v4_classic_external_1h9u5hd8e7zk0.js +57 -0
  415. package/.next/server/chunks/src_0tzpy5j8n_1bx._.js +3 -0
  416. package/.next/server/chunks/src_lib_01n35ubnvj7qr._.js +3 -0
  417. package/.next/server/chunks/src_lib_05svhzm9a162-._.js +3 -0
  418. package/.next/server/chunks/src_lib_0if7dmbrjhhw_._.js +3 -0
  419. package/.next/server/chunks/src_lib_0zxy_zn_mlaya._.js +3 -0
  420. package/.next/server/chunks/src_lib_1-tw3_3nqx6ug._.js +3 -0
  421. package/.next/server/chunks/src_lib_15kwif87cuv22._.js +3 -0
  422. package/.next/server/chunks/src_lib_1geq39r7va9gy._.js +3 -0
  423. package/.next/server/chunks/src_lib_1k0xki4wmn54_._.js +3 -0
  424. package/.next/server/chunks/src_lib_1wgxqrl1loni_._.js +3 -0
  425. package/.next/server/chunks/src_lib_1wh1pqmstnzzt._.js +3 -0
  426. package/.next/server/chunks/src_lib_1wm8ay-jqxakc._.js +3 -0
  427. package/.next/server/chunks/{src_lib_ai_prompts_ts_0z36zms._.js → src_lib_ai_prompts_ts_0z36zms4djibp._.js} +52 -51
  428. package/.next/server/chunks/src_lib_auth-utils_ts_20i7biv4dj8pm._.js +3 -0
  429. package/.next/server/chunks/src_lib_current-user_ts_20jgxch2zjmt3._.js +3 -0
  430. package/.next/server/chunks/src_lib_date-time_ts_14chb270f3epb._.js +3 -0
  431. package/.next/server/chunks/src_lib_exam_ts_0d3a4q4r41hcf._.js +3 -0
  432. package/.next/server/chunks/src_lib_logger_ts_067l8txrna0gg._.js +3 -0
  433. package/.next/server/chunks/src_lib_mastery_ts_0ybi94uxn8ut6._.js +3 -0
  434. package/.next/server/chunks/src_lib_question-deduplication_ts_1p1bik-vwl9ue._.js +3 -0
  435. package/.next/server/chunks/src_lib_retag_ts_0eu8ld_86kt3a._.js +3 -0
  436. package/.next/server/chunks/src_lib_tag-recognition_ts_1wkzrdiapau86._.js +3 -0
  437. package/.next/server/chunks/ssr/[root-of-the-server]__03jq7w4crcz_u._.js +3 -0
  438. package/.next/server/chunks/ssr/[root-of-the-server]__070lhtl_a6l81._.js +3 -0
  439. package/.next/server/chunks/ssr/[root-of-the-server]__0egzlmtf23a_j._.js +3 -0
  440. package/.next/server/chunks/ssr/[root-of-the-server]__0fl_sbe1q-l5j._.js +3 -0
  441. package/.next/server/chunks/ssr/[root-of-the-server]__0i73t4kmj3-mp._.js +3 -0
  442. package/.next/server/chunks/ssr/[root-of-the-server]__0py1t7q9ntzgc._.js +3 -0
  443. package/.next/server/chunks/ssr/[root-of-the-server]__0s0807tegp2v8._.js +3 -0
  444. package/.next/server/chunks/ssr/[root-of-the-server]__0snw-y9tp0_06._.js +3 -0
  445. package/.next/server/chunks/ssr/[root-of-the-server]__0ujgpq398o2w1._.js +3 -0
  446. package/.next/server/chunks/ssr/[root-of-the-server]__0uulvxrtw9ld4._.js +3 -0
  447. package/.next/server/chunks/ssr/[root-of-the-server]__0x_ihemma9171._.js +3 -0
  448. package/.next/server/chunks/ssr/[root-of-the-server]__0zqp_pztbsqqc._.js +3 -0
  449. package/.next/server/chunks/ssr/[root-of-the-server]__102i99h9qhhnc._.js +3 -0
  450. package/.next/server/chunks/ssr/[root-of-the-server]__18ej8rcn5j4hs._.js +3 -0
  451. package/.next/server/chunks/ssr/[root-of-the-server]__18sucwsgl0hdl._.js +3 -0
  452. package/.next/server/chunks/ssr/[root-of-the-server]__1a50a5t_t8z_e._.js +3 -0
  453. package/.next/server/chunks/ssr/[root-of-the-server]__1b9f3v7g4ocyf._.js +3 -0
  454. package/.next/server/chunks/ssr/[root-of-the-server]__1gulcy2-2jrfj._.js +3 -0
  455. package/.next/server/chunks/ssr/[root-of-the-server]__1hcwd0rtvz96c._.js +3 -0
  456. package/.next/server/chunks/ssr/[root-of-the-server]__1i2zrji0j2c3l._.js +3 -0
  457. package/.next/server/chunks/ssr/[root-of-the-server]__1qpe9xti5ipq0._.js +3 -0
  458. package/.next/server/chunks/ssr/[root-of-the-server]__1qpi6ed0efnfg._.js +3 -0
  459. package/.next/server/chunks/ssr/[root-of-the-server]__1qwt10yvul4gg._.js +3 -0
  460. package/.next/server/chunks/ssr/[root-of-the-server]__1upv9f0hlagx7._.js +3 -0
  461. package/.next/server/chunks/ssr/[root-of-the-server]__1uw-g6-ij61rl._.js +3 -0
  462. package/.next/server/chunks/ssr/[root-of-the-server]__1vwegr-t8j6qe._.js +3 -0
  463. package/.next/server/chunks/ssr/[root-of-the-server]__1xfc5gf4weasu._.js +3 -0
  464. package/.next/server/chunks/ssr/[root-of-the-server]__1xufj5ntr9bm3._.js +3 -0
  465. package/.next/server/chunks/ssr/[root-of-the-server]__1yy2y09x1rvba._.js +3 -0
  466. package/.next/server/chunks/ssr/[turbopack]_runtime.js +146 -16
  467. package/.next/server/chunks/ssr/_00np6xqvkg6u-._.js +32 -0
  468. package/.next/server/chunks/ssr/_04qlm-w8tebyc._.js +3 -0
  469. package/.next/server/chunks/ssr/_065hikzgj3xg_._.js +3 -0
  470. package/.next/server/chunks/ssr/_08fq-uch-l1g6._.js +8 -0
  471. package/.next/server/chunks/ssr/_0bsjhzelppbjh._.js +3 -0
  472. package/.next/server/chunks/ssr/_0h6qsip9mphaq._.js +3 -0
  473. package/.next/server/chunks/ssr/_0lloy6tp9ov8e._.js +3 -0
  474. package/.next/server/chunks/ssr/_0pxsg9p6gub85._.js +3 -0
  475. package/.next/server/chunks/ssr/_0t2jed64ec8vu._.js +3 -0
  476. package/.next/server/chunks/ssr/_0xey1vceqp1wd._.js +3 -0
  477. package/.next/server/chunks/ssr/_1-bq77e5afl30._.js +3 -0
  478. package/.next/server/chunks/ssr/_1-sbpqghw1pn7._.js +3 -0
  479. package/.next/server/chunks/ssr/_110r17vqu8gol._.js +3 -0
  480. package/.next/server/chunks/ssr/_14d3enlxi54zl._.js +3 -0
  481. package/.next/server/chunks/ssr/_17edi6l2a0p76._.js +8 -0
  482. package/.next/server/chunks/ssr/_17igtpd3u0nhq._.js +3 -0
  483. package/.next/server/chunks/ssr/_19zbvpk25l83u._.js +3 -0
  484. package/.next/server/chunks/ssr/_1b9b1aq5b_1sj._.js +3 -0
  485. package/.next/server/chunks/ssr/_1cl6e0rtwi75o._.js +3 -0
  486. package/.next/server/chunks/ssr/_1em_7aul52rb4._.js +3 -0
  487. package/.next/server/chunks/ssr/_1f1l6ubybak3a._.js +3 -0
  488. package/.next/server/chunks/ssr/_1g12ubvpxwe-j._.js +3 -0
  489. package/.next/server/chunks/ssr/_1g8mzz6qxv2mr._.js +3 -0
  490. package/.next/server/chunks/ssr/_1wfh-5dxhj11n._.js +3 -0
  491. package/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0zi5s8-psc_d2.js +3 -0
  492. package/.next/server/chunks/ssr/{_next-internal_server_app__not-found_page_actions_0pt47yr.js → _next-internal_server_app__not-found_page_actions_0pt47yrisjoev.js} +2 -2
  493. package/.next/server/chunks/ssr/{_next-internal_server_app_admin_page_actions_1mcickz.js → _next-internal_server_app_admin_page_actions_1mcickzfofbmo.js} +2 -2
  494. package/.next/server/chunks/ssr/_next-internal_server_app_admin_user_[id]_page_actions_0baj8gsw9br4u.js +3 -0
  495. package/.next/server/chunks/ssr/_next-internal_server_app_error-items_[id]_page_actions_0qla9akl69m75.js +3 -0
  496. package/.next/server/chunks/ssr/{_next-internal_server_app_exams_[id]_page_actions_1kushg5.js → _next-internal_server_app_exams_[id]_page_actions_1kushg5crt5ed.js} +1 -1
  497. package/.next/server/chunks/ssr/_next-internal_server_app_exams_[id]_print_page_actions_0pxdgxqldskme.js +3 -0
  498. package/.next/server/chunks/ssr/{_next-internal_server_app_exams_page_actions_0av69f-.js → _next-internal_server_app_exams_page_actions_0av69f-jb4_80.js} +2 -2
  499. package/.next/server/chunks/ssr/{_next-internal_server_app_login_page_actions_04fnjo0.js → _next-internal_server_app_login_page_actions_04fnjo0ny9dmg.js} +2 -2
  500. package/.next/server/chunks/ssr/_next-internal_server_app_notebooks_[id]_add_page_actions_0275ft2lc_po5.js +3 -0
  501. package/.next/server/chunks/ssr/_next-internal_server_app_notebooks_[id]_page_actions_1qj0i-7tmcbrj.js +3 -0
  502. package/.next/server/chunks/ssr/{_next-internal_server_app_notebooks_page_actions_06x1kdz.js → _next-internal_server_app_notebooks_page_actions_06x1kdz034ff8.js} +2 -2
  503. package/.next/server/chunks/ssr/{_next-internal_server_app_page_actions_0hhsz1j.js → _next-internal_server_app_page_actions_0hhsz1jew5ls7.js} +2 -2
  504. package/.next/server/chunks/ssr/{_next-internal_server_app_practice_page_actions_0cy-h5n.js → _next-internal_server_app_practice_page_actions_0cy-h5n6gnmoq.js} +2 -2
  505. package/.next/server/chunks/ssr/_next-internal_server_app_print-preview_page_actions_1jhaalnnytwbd.js +3 -0
  506. package/.next/server/chunks/ssr/{_next-internal_server_app_register_page_actions_1op-s-x.js → _next-internal_server_app_register_page_actions_1op-s-xpplkgy.js} +2 -2
  507. package/.next/server/chunks/ssr/{_next-internal_server_app_stats_page_actions_1olf1_a.js → _next-internal_server_app_stats_page_actions_1olf1_ad6s7ee.js} +2 -2
  508. package/.next/server/chunks/ssr/{_next-internal_server_app_tags_page_actions_20v_n--.js → _next-internal_server_app_tags_page_actions_20v_n--6ltjkg.js} +1 -1
  509. package/.next/server/chunks/ssr/node_modules_0gxlxpuufujz9._.js +33 -0
  510. package/.next/server/chunks/ssr/node_modules_1y5ym6hiirb6m._.js +3 -0
  511. package/.next/server/chunks/ssr/node_modules_@radix-ui_0im69oqv_i2ki._.js +3 -0
  512. package/.next/server/chunks/ssr/node_modules_@radix-ui_0zibxpne20gfo._.js +3 -0
  513. package/.next/server/chunks/ssr/node_modules_@radix-ui_react-roving-focus_dist_index_mjs_0jdjq3jxbmizo._.js +3 -0
  514. package/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_15-zi1i74qu9j._.js +3 -0
  515. package/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_1_p6srzucwl-s._.js +3 -0
  516. package/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_1g_su6v6_1gmz._.js +3 -0
  517. package/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_printer_0pprvafgadlwd.js +3 -0
  518. package/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_wand-sparkles_1e4rylzm0nkbv.js +3 -0
  519. package/.next/server/chunks/ssr/node_modules_next_dist_0janj0i6dqko7._.js +6 -0
  520. package/.next/server/chunks/ssr/node_modules_next_dist_0ufsi7bhcumza._.js +23 -0
  521. package/.next/server/chunks/ssr/node_modules_next_dist_1g0hsq_f-fygr._.js +14 -0
  522. package/.next/server/chunks/ssr/node_modules_next_dist_1gey_lsf9b_wo._.js +5 -0
  523. package/.next/server/chunks/ssr/node_modules_next_dist_1khq67j4vo9y4._.js +3 -0
  524. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_0bew68i643j53._.js +33 -0
  525. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j32_ibz4._.js +3 -0
  526. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9mbf-fh.js +3 -0
  527. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0q-w892nagajq.js +3 -0
  528. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0xky89qu.js +3 -0
  529. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0-620erc29b8l.js +3 -0
  530. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_02t4jbzz34_x5.js +3 -0
  531. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_06zp_1r4dyujd.js +3 -0
  532. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_07zpyh6_aix9e.js +3 -0
  533. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_08b8vpe4ydv2l.js +3 -0
  534. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0927yli_zsjiv.js +3 -0
  535. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0ab39qicq17ku.js +3 -0
  536. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0dq5iwc4xesq1.js +3 -0
  537. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0mfa8uq-ofoud.js +3 -0
  538. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_14rvnul2svrv8.js +3 -0
  539. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_15yshykizhy_t.js +3 -0
  540. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_17vx074zs1h7f.js +3 -0
  541. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_18uzvmzy5tpu_.js +3 -0
  542. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_196bmtjcgr159.js +3 -0
  543. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1aq9r3iw9g7qi.js +3 -0
  544. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1e1odqisoi2pv.js +3 -0
  545. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1l6unubiwsg9f.js +3 -0
  546. package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1ya73f4o4_7mr.js +3 -0
  547. package/.next/server/chunks/ssr/src_13u20tdu4gmgj._.js +3 -0
  548. package/.next/server/chunks/ssr/src_1gayunqs8u2e2._.js +3 -0
  549. package/.next/server/chunks/ssr/src_app_admin_page_tsx_0ublbd0w90cx_._.js +3 -0
  550. package/.next/server/chunks/ssr/src_app_admin_user_[id]_page_tsx_0zidp-8hr5upa._.js +3 -0
  551. package/.next/server/chunks/ssr/src_app_error-items_[id]_page_tsx_04xwwdmyh7_9q._.js +3 -0
  552. package/.next/server/chunks/ssr/src_app_exams_[id]_page_tsx_0xcjflkgkwzgd._.js +3 -0
  553. package/.next/server/chunks/ssr/src_app_exams_[id]_print_page_tsx_1i-xvhk8ul1l1._.js +35 -0
  554. package/.next/server/chunks/ssr/src_app_exams_page_tsx_17_d4_gy2i1ds._.js +3 -0
  555. package/.next/server/chunks/ssr/src_app_login_page_tsx_0yrgg2z_juzv9._.js +3 -0
  556. package/.next/server/chunks/ssr/src_app_notebooks_[id]_add_page_tsx_179tow1ql6vc_._.js +3 -0
  557. package/.next/server/chunks/ssr/src_app_notebooks_[id]_page_tsx_08njm-5-txm8_._.js +3 -0
  558. package/.next/server/chunks/ssr/src_app_notebooks_page_tsx_1p9src5gnz_40._.js +3 -0
  559. package/.next/server/chunks/ssr/src_app_page_tsx_1chiuahujsxm1._.js +3 -0
  560. package/.next/server/chunks/ssr/src_app_practice_page_tsx_10gnx53v3kpzb._.js +3 -0
  561. package/.next/server/chunks/ssr/src_app_print-preview_page_tsx_001yt-fzrj7tf._.js +3 -0
  562. package/.next/server/chunks/ssr/src_app_register_page_tsx_0l87b3754fa2j._.js +3 -0
  563. package/.next/server/chunks/ssr/src_app_tags_page_tsx_1h2vkk4hv_zlp._.js +3 -0
  564. package/.next/server/chunks/ssr/src_components_difficulty-stars_tsx_1af9qqfurq7_t._.js +3 -0
  565. package/.next/server/chunks/ssr/src_components_mastery-panel_tsx_1--j5c7mhomdp._.js +3 -0
  566. package/.next/server/chunks/ssr/src_components_practice-result-picker_tsx_06jytymet6adu._.js +3 -0
  567. package/.next/server/chunks/ssr/src_components_providers_tsx_09kw-mv3nb6xs._.js +193 -0
  568. package/.next/server/chunks/ssr/src_components_settings_duplicate-threshold-setting_tsx_06bbmwo1pkaim._.js +3 -0
  569. package/.next/server/chunks/ssr/src_components_tag-input_tsx_0b9sxffna5c9i._.js +3 -0
  570. package/.next/server/chunks/ssr/src_components_ui_checkbox_tsx_0xdylzmai9n53._.js +3 -0
  571. package/.next/server/chunks/ssr/src_components_ui_dialog_tsx_1tn-i_6d3rhzt._.js +7 -0
  572. package/.next/server/chunks/ssr/src_components_ui_tabs_tsx_0skssvsquc-9c._.js +3 -0
  573. package/.next/server/chunks/ssr/src_lib_constants_pagination_ts_02h78dpuabai5._.js +3 -0
  574. package/.next/server/chunks/ssr/src_lib_date-time_ts_0oyqctny6_q66._.js +3 -0
  575. package/.next/server/edge/chunks/[root-of-the-server]__1osrt2u3yic3e._.js +3 -0
  576. package/.next/server/edge/chunks/_1s0wgnupch4sb._.js +3 -0
  577. package/.next/server/edge/chunks/node_modules_0um8zwzayafzq._.js +13 -0
  578. package/.next/server/edge/chunks/turbopack-node_modules_next_dist_esm_build_templates_edge-wrapper_0dxg4rr5z738i.js +3 -0
  579. package/.next/server/edge/chunks/turbopack-node_modules_next_dist_esm_build_templates_edge-wrapper_0dzf5yhexv02u.js +3 -0
  580. package/.next/server/instrumentation.js +3 -3
  581. package/.next/server/middleware-build-manifest.js +208 -9
  582. package/.next/server/middleware-manifest.json +13 -13
  583. package/.next/server/next-font-manifest.js +1 -1
  584. package/.next/server/next-font-manifest.json +0 -4
  585. package/.next/server/pages/500.html +1 -1
  586. package/.next/server/preview-props.json +5 -0
  587. package/.next/server/server-reference-manifest.js +1 -1
  588. package/.next/server/server-reference-manifest.json +1 -1
  589. package/.next/static/{w6W6dMBYlP4wbCdeRcVhA → 0rqQXLDvfc_jhsn1XF-zT}/_clientMiddlewareManifest.js +2 -2
  590. package/.next/static/chunks/02arashg5z9hy.js +1 -0
  591. package/.next/static/chunks/030eh13-7xvy7.js +1 -0
  592. package/.next/static/chunks/06q8lm6y95ac4.css +1 -0
  593. package/.next/static/chunks/07zxudgwttnwv.js +6 -0
  594. package/.next/static/chunks/089-9u4pe2h49.js +1 -0
  595. package/.next/static/chunks/093w4w_19h9qh.js +31 -0
  596. package/.next/static/chunks/0a-rekt06v0sv.js +1 -0
  597. package/.next/static/chunks/0dlztx_6_yfcq.js +1 -0
  598. package/.next/static/chunks/0e7mao0hn_nw4.js +1 -0
  599. package/.next/static/chunks/0fiebviba_0be.js +33 -0
  600. package/.next/static/chunks/0ipduzu-11mee.js +1 -0
  601. package/.next/static/chunks/0myk7euf03qwr.js +1 -0
  602. package/.next/static/chunks/0s6zcnahk3us4.js +5 -0
  603. package/.next/static/chunks/0ub8l5nongf_r.js +1 -0
  604. package/.next/static/chunks/0ykhi6pk49so-.js +1 -0
  605. package/.next/static/chunks/14a1tth-1ddn-.js +1 -0
  606. package/.next/static/chunks/15e5p9740moee.js +1 -0
  607. package/.next/static/chunks/19js5h26_4w0w.js +1 -0
  608. package/.next/static/chunks/1_h2h09t_394a.js +1 -0
  609. package/.next/static/chunks/1fhxsoq06x1_e.js +1 -0
  610. package/.next/static/chunks/1fl98iro7y1bv.js +1 -0
  611. package/.next/static/chunks/1kq7w30gvsyaq.js +1 -0
  612. package/.next/static/chunks/1wqqkfg03tuu1.js +1 -0
  613. package/.next/static/chunks/23v229-qd9o6o.js +1 -0
  614. package/.next/static/chunks/242x7dx0zu3hf.js +1 -0
  615. package/.next/static/chunks/26gl990fowmkx.js +1 -0
  616. package/.next/static/chunks/2c2gi_zxaaa-j.js +3 -0
  617. package/.next/static/chunks/2l-1t8-pfq4ph.js +1 -0
  618. package/.next/static/chunks/2tu_d3t2boag2.js +1 -0
  619. package/.next/static/chunks/2v3rvsf6-bnfs.js +1 -0
  620. package/.next/static/chunks/2xlmm9z_sr1_m.js +1 -0
  621. package/.next/static/chunks/2y8ek6g772mi5.js +191 -0
  622. package/.next/static/chunks/2ysjbje-zsbdp.js +1 -0
  623. package/.next/static/chunks/384cc0iojva04.css +3 -0
  624. package/.next/static/chunks/3mb_v650fie_i.js +22 -0
  625. package/.next/static/chunks/3r4z_6i5z0hd5.js +1 -0
  626. package/.next/static/chunks/3sqcsxnhsnxzo.js +1 -0
  627. package/.next/static/chunks/turbopack-2c3mg3r-05n1w.js +1 -0
  628. package/LICENSE +22 -0
  629. package/launcher.js +22 -6
  630. package/package.json +4 -3
  631. package/prisma/migrations/20261022000141_add_svg_animation_en/migration.sql +2 -0
  632. package/prisma/migrations/20261024000000_add_last_practice/migration.sql +2 -0
  633. package/prisma/schema.prisma +3 -1
  634. package/prisma/seed.db +0 -0
  635. package/public/icons/apple-touch-icon.png +0 -0
  636. package/public/icons/icon-192.png +0 -0
  637. package/public/icons/icon-512.png +0 -0
  638. package/public/icons/icon-maskable-512.png +0 -0
  639. package/public/offline.html +61 -0
  640. package/public/sw.js +84 -0
  641. package/server.js +1 -1
  642. package/.next/server/app/api/error-items/[id]/mastery/route/app-paths-manifest.json +0 -3
  643. package/.next/server/app/api/error-items/[id]/mastery/route/build-manifest.json +0 -12
  644. package/.next/server/app/api/error-items/[id]/mastery/route/server-reference-manifest.json +0 -4
  645. package/.next/server/app/api/error-items/[id]/mastery/route.js +0 -8
  646. package/.next/server/app/api/error-items/[id]/mastery/route.js.map +0 -5
  647. package/.next/server/app/api/error-items/[id]/mastery/route.js.nft.json +0 -1
  648. package/.next/server/app/api/error-items/[id]/mastery/route_client-reference-manifest.js +0 -3
  649. package/.next/server/app/latex-test/page/app-paths-manifest.json +0 -3
  650. package/.next/server/app/latex-test/page/build-manifest.json +0 -20
  651. package/.next/server/app/latex-test/page/next-font-manifest.json +0 -11
  652. package/.next/server/app/latex-test/page/react-loadable-manifest.json +0 -1
  653. package/.next/server/app/latex-test/page/server-reference-manifest.json +0 -4
  654. package/.next/server/app/latex-test/page.js +0 -14
  655. package/.next/server/app/latex-test/page.js.map +0 -5
  656. package/.next/server/app/latex-test/page.js.nft.json +0 -1
  657. package/.next/server/app/latex-test/page_client-reference-manifest.js +0 -3
  658. package/.next/server/chunks/1jng_app_api_exams_[id]_questions_[questionId]_regenerate_route_actions_1ggead3.js +0 -3
  659. package/.next/server/chunks/1oeh_server_app_api_error-items_[id]_practice-records_route_actions_0z2zuf1.js +0 -3
  660. package/.next/server/chunks/1oeh_server_app_api_error-items_[id]_svg-animation_route_actions_17gckf3.js +0 -3
  661. package/.next/server/chunks/[externals]__04n7qbr._.js +0 -3
  662. package/.next/server/chunks/[externals]__0pot68n._.js +0 -3
  663. package/.next/server/chunks/[externals]__1735khz._.js +0 -3
  664. package/.next/server/chunks/[externals]_assert_1pwe1ri._.js +0 -3
  665. package/.next/server/chunks/[root-of-the-server]__00_hq9v._.js +0 -153
  666. package/.next/server/chunks/[root-of-the-server]__01bzczj._.js +0 -3
  667. package/.next/server/chunks/[root-of-the-server]__02j1w81._.js +0 -3
  668. package/.next/server/chunks/[root-of-the-server]__03nfvnm._.js +0 -3
  669. package/.next/server/chunks/[root-of-the-server]__04tyyvs._.js +0 -3
  670. package/.next/server/chunks/[root-of-the-server]__05s4wut._.js +0 -3
  671. package/.next/server/chunks/[root-of-the-server]__06_nln5._.js +0 -3
  672. package/.next/server/chunks/[root-of-the-server]__06h5afw._.js +0 -3
  673. package/.next/server/chunks/[root-of-the-server]__07jl92a._.js +0 -3
  674. package/.next/server/chunks/[root-of-the-server]__0_t7bbz._.js +0 -3
  675. package/.next/server/chunks/[root-of-the-server]__0akadps._.js +0 -3
  676. package/.next/server/chunks/[root-of-the-server]__0be5c5r._.js +0 -3
  677. package/.next/server/chunks/[root-of-the-server]__0bqawi0._.js +0 -3
  678. package/.next/server/chunks/[root-of-the-server]__0bsw5c9._.js +0 -3
  679. package/.next/server/chunks/[root-of-the-server]__0c59gc3._.js +0 -3
  680. package/.next/server/chunks/[root-of-the-server]__0cmxmwt._.js +0 -3
  681. package/.next/server/chunks/[root-of-the-server]__0d5dpu4._.js +0 -3
  682. package/.next/server/chunks/[root-of-the-server]__0d9ijed._.js +0 -3
  683. package/.next/server/chunks/[root-of-the-server]__0e22a4y._.js +0 -122
  684. package/.next/server/chunks/[root-of-the-server]__0fnyu4s._.js +0 -3
  685. package/.next/server/chunks/[root-of-the-server]__0gp88gz._.js +0 -3
  686. package/.next/server/chunks/[root-of-the-server]__0inxsnu._.js +0 -3
  687. package/.next/server/chunks/[root-of-the-server]__0j5231l._.js +0 -3
  688. package/.next/server/chunks/[root-of-the-server]__0jaawra._.js +0 -3
  689. package/.next/server/chunks/[root-of-the-server]__0k-nf6a._.js +0 -3
  690. package/.next/server/chunks/[root-of-the-server]__0k-p1pj._.js +0 -3
  691. package/.next/server/chunks/[root-of-the-server]__0lrdm1u._.js +0 -3
  692. package/.next/server/chunks/[root-of-the-server]__0lro5a7._.js +0 -3
  693. package/.next/server/chunks/[root-of-the-server]__0m8p-6f._.js +0 -3
  694. package/.next/server/chunks/[root-of-the-server]__0mfjf2y._.js +0 -3
  695. package/.next/server/chunks/[root-of-the-server]__0mqorxb._.js +0 -3
  696. package/.next/server/chunks/[root-of-the-server]__0no6umu._.js +0 -3
  697. package/.next/server/chunks/[root-of-the-server]__0nqbham._.js +0 -3
  698. package/.next/server/chunks/[root-of-the-server]__0o9gtvd._.js +0 -3
  699. package/.next/server/chunks/[root-of-the-server]__0obb4y-._.js +0 -3
  700. package/.next/server/chunks/[root-of-the-server]__0p3u6_q._.js +0 -3
  701. package/.next/server/chunks/[root-of-the-server]__0rk_yxy._.js +0 -9
  702. package/.next/server/chunks/[root-of-the-server]__0rmrkd_._.js +0 -3
  703. package/.next/server/chunks/[root-of-the-server]__0tdibjz._.js +0 -3
  704. package/.next/server/chunks/[root-of-the-server]__0u58zap._.js +0 -3
  705. package/.next/server/chunks/[root-of-the-server]__0vhjihq._.js +0 -3
  706. package/.next/server/chunks/[root-of-the-server]__0vz88er._.js +0 -3
  707. package/.next/server/chunks/[root-of-the-server]__0wf9znr._.js +0 -3
  708. package/.next/server/chunks/[root-of-the-server]__0yc8r2x._.js +0 -3
  709. package/.next/server/chunks/[root-of-the-server]__0zv7jom._.js +0 -3
  710. package/.next/server/chunks/[root-of-the-server]__11_-ncy._.js +0 -3
  711. package/.next/server/chunks/[root-of-the-server]__11_1z7m._.js +0 -3
  712. package/.next/server/chunks/[root-of-the-server]__11n87go._.js +0 -3
  713. package/.next/server/chunks/[root-of-the-server]__11p4ahb._.js +0 -3
  714. package/.next/server/chunks/[root-of-the-server]__122xu-0._.js +0 -32
  715. package/.next/server/chunks/[root-of-the-server]__131taws._.js +0 -3
  716. package/.next/server/chunks/[root-of-the-server]__13ebiit._.js +0 -3
  717. package/.next/server/chunks/[root-of-the-server]__1413v0e._.js +0 -3
  718. package/.next/server/chunks/[root-of-the-server]__14dnbrn._.js +0 -3
  719. package/.next/server/chunks/[root-of-the-server]__14jqm9_._.js +0 -3
  720. package/.next/server/chunks/[root-of-the-server]__152lbaw._.js +0 -3
  721. package/.next/server/chunks/[root-of-the-server]__15tkoe6._.js +0 -10
  722. package/.next/server/chunks/[root-of-the-server]__16begv4._.js +0 -3
  723. package/.next/server/chunks/[root-of-the-server]__17duis5._.js +0 -3
  724. package/.next/server/chunks/[root-of-the-server]__17q3k-v._.js +0 -3
  725. package/.next/server/chunks/[root-of-the-server]__184u6de._.js +0 -3
  726. package/.next/server/chunks/[root-of-the-server]__18atlj8._.js +0 -3
  727. package/.next/server/chunks/[root-of-the-server]__18c7l6u._.js +0 -3
  728. package/.next/server/chunks/[root-of-the-server]__18zrkky._.js +0 -3
  729. package/.next/server/chunks/[root-of-the-server]__19vj8qy._.js +0 -3
  730. package/.next/server/chunks/[root-of-the-server]__1_gkx5x._.js +0 -3
  731. package/.next/server/chunks/[root-of-the-server]__1aaux7e._.js +0 -3
  732. package/.next/server/chunks/[root-of-the-server]__1cceu4b._.js +0 -3
  733. package/.next/server/chunks/[root-of-the-server]__1cn6rlb._.js +0 -3
  734. package/.next/server/chunks/[root-of-the-server]__1csfdxc._.js +0 -3
  735. package/.next/server/chunks/[root-of-the-server]__1ezwxao._.js +0 -3
  736. package/.next/server/chunks/[root-of-the-server]__1g1wi9i._.js +0 -3
  737. package/.next/server/chunks/[root-of-the-server]__1gmc_uw._.js +0 -3
  738. package/.next/server/chunks/[root-of-the-server]__1h09r50._.js +0 -3
  739. package/.next/server/chunks/[root-of-the-server]__1hpwwxw._.js +0 -3
  740. package/.next/server/chunks/[root-of-the-server]__1j6mx-v._.js +0 -3
  741. package/.next/server/chunks/[root-of-the-server]__1jdi-1f._.js +0 -3
  742. package/.next/server/chunks/[root-of-the-server]__1jtd2ar._.js +0 -6
  743. package/.next/server/chunks/[root-of-the-server]__1ju8z29._.js +0 -3
  744. package/.next/server/chunks/[root-of-the-server]__1kpo44g._.js +0 -3
  745. package/.next/server/chunks/[root-of-the-server]__1kqv61m._.js +0 -3
  746. package/.next/server/chunks/[root-of-the-server]__1lct0vi._.js +0 -3
  747. package/.next/server/chunks/[root-of-the-server]__1loecue._.js +0 -3
  748. package/.next/server/chunks/[root-of-the-server]__1m4-ab6._.js +0 -3
  749. package/.next/server/chunks/[root-of-the-server]__1mkpya8._.js +0 -3
  750. package/.next/server/chunks/[root-of-the-server]__1nmtv65._.js +0 -10
  751. package/.next/server/chunks/[root-of-the-server]__1nwf3ua._.js +0 -3
  752. package/.next/server/chunks/[root-of-the-server]__1oup682._.js +0 -3
  753. package/.next/server/chunks/[root-of-the-server]__1p8hw44._.js +0 -3
  754. package/.next/server/chunks/[root-of-the-server]__1pplzr1._.js +0 -3
  755. package/.next/server/chunks/[root-of-the-server]__1rsn804._.js +0 -3
  756. package/.next/server/chunks/[root-of-the-server]__1sdtn83._.js +0 -3
  757. package/.next/server/chunks/[root-of-the-server]__1u-1vx4._.js +0 -3
  758. package/.next/server/chunks/[root-of-the-server]__1v6nwhq._.js +0 -3
  759. package/.next/server/chunks/[root-of-the-server]__1vw740y._.js +0 -32
  760. package/.next/server/chunks/[root-of-the-server]__20465pr._.js +0 -3
  761. package/.next/server/chunks/[root-of-the-server]__207mxv8._.js +0 -3
  762. package/.next/server/chunks/_0-eguqv._.js +0 -3
  763. package/.next/server/chunks/_008zx49._.js +0 -3
  764. package/.next/server/chunks/_011-ll5._.js +0 -3
  765. package/.next/server/chunks/_0389uce._.js +0 -3
  766. package/.next/server/chunks/_0431fxn._.js +0 -3
  767. package/.next/server/chunks/_0_o8yhv._.js +0 -3
  768. package/.next/server/chunks/_0c5hvv3._.js +0 -11
  769. package/.next/server/chunks/_0ekrwj-._.js +0 -36
  770. package/.next/server/chunks/_0frix22._.js +0 -11
  771. package/.next/server/chunks/_0gwg6ba._.js +0 -3
  772. package/.next/server/chunks/_0gxi3zr._.js +0 -3
  773. package/.next/server/chunks/_0lz3t4l._.js +0 -19
  774. package/.next/server/chunks/_0rdo0a4._.js +0 -3
  775. package/.next/server/chunks/_0uxp3uh._.js +0 -3
  776. package/.next/server/chunks/_0x3ltk0._.js +0 -36
  777. package/.next/server/chunks/_12w5k19._.js +0 -3
  778. package/.next/server/chunks/_13ffmxv._.js +0 -3
  779. package/.next/server/chunks/_14tz_k9._.js +0 -3
  780. package/.next/server/chunks/_167vv93._.js +0 -3
  781. package/.next/server/chunks/_16jdov0._.js +0 -3
  782. package/.next/server/chunks/_18amra5._.js +0 -3
  783. package/.next/server/chunks/_1_ns7o3._.js +0 -3
  784. package/.next/server/chunks/_1a1aqmi._.js +0 -3
  785. package/.next/server/chunks/_1a1udq0._.js +0 -3
  786. package/.next/server/chunks/_1b0269x._.js +0 -3
  787. package/.next/server/chunks/_1b7qjlv._.js +0 -3
  788. package/.next/server/chunks/_1be-y66._.js +0 -3
  789. package/.next/server/chunks/_1e1h1f1._.js +0 -3
  790. package/.next/server/chunks/_1ex6ovo._.js +0 -3
  791. package/.next/server/chunks/_1fgb9ve._.js +0 -3
  792. package/.next/server/chunks/_1flar98._.js +0 -3
  793. package/.next/server/chunks/_1m-yyz-._.js +0 -3
  794. package/.next/server/chunks/_1oj6gy_._.js +0 -3
  795. package/.next/server/chunks/_1pvqo-q._.js +0 -3
  796. package/.next/server/chunks/_1z_ujac._.js +0 -3
  797. package/.next/server/chunks/_211va-d._.js +0 -3
  798. package/.next/server/chunks/_next-internal_server_app_api_admin_dashboard_route_actions_1ispso-.js +0 -3
  799. package/.next/server/chunks/_next-internal_server_app_api_admin_users_[id]_detail_route_actions_0oe_wkt.js +0 -3
  800. package/.next/server/chunks/_next-internal_server_app_api_admin_users_route_actions_0q-rtz1.js +0 -3
  801. package/.next/server/chunks/_next-internal_server_app_api_ai_models_route_actions_0w7iwv-.js +0 -3
  802. package/.next/server/chunks/_next-internal_server_app_api_ai_test_route_actions_1p0n1q8.js +0 -3
  803. package/.next/server/chunks/_next-internal_server_app_api_analytics_route_actions_1e0ou17.js +0 -3
  804. package/.next/server/chunks/_next-internal_server_app_api_analyze_route_actions_0lx-23h.js +0 -3
  805. package/.next/server/chunks/_next-internal_server_app_api_auth_[___nextauth]_route_actions_08nexdk.js +0 -3
  806. package/.next/server/chunks/_next-internal_server_app_api_error-items_[id]_delete_route_actions_1w26boq.js +0 -3
  807. package/.next/server/chunks/_next-internal_server_app_api_error-items_[id]_figure_route_actions_0adlts0.js +0 -3
  808. package/.next/server/chunks/_next-internal_server_app_api_error-items_[id]_fix-latex_route_actions_0hc7dhx.js +0 -3
  809. package/.next/server/chunks/_next-internal_server_app_api_error-items_[id]_geogebra_route_actions_1-ks4uv.js +0 -3
  810. package/.next/server/chunks/_next-internal_server_app_api_error-items_[id]_image_route_actions_1k9n5yl.js +0 -3
  811. package/.next/server/chunks/_next-internal_server_app_api_error-items_[id]_mastery_route_actions_1l5uan6.js +0 -3
  812. package/.next/server/chunks/_next-internal_server_app_api_error-items_[id]_reanswer_route_actions_1-sw0j2.js +0 -3
  813. package/.next/server/chunks/_next-internal_server_app_api_error-items_[id]_retag_route_actions_0ckki4n.js +0 -3
  814. package/.next/server/chunks/_next-internal_server_app_api_error-items_[id]_route_actions_1kbs4ux.js +0 -3
  815. package/.next/server/chunks/_next-internal_server_app_api_error-items_batch-delete_route_actions_0hiq_1k.js +0 -3
  816. package/.next/server/chunks/_next-internal_server_app_api_error-items_clear_route_actions_14t_6i-.js +0 -3
  817. package/.next/server/chunks/_next-internal_server_app_api_error-items_list_route_actions_032x4ue.js +0 -3
  818. package/.next/server/chunks/_next-internal_server_app_api_error-items_route_actions_1zdvz0p.js +0 -3
  819. package/.next/server/chunks/_next-internal_server_app_api_error-items_short_[shortId]_route_actions_02976v-.js +0 -3
  820. package/.next/server/chunks/_next-internal_server_app_api_error-items_similarity_route_actions_1i26if9.js +0 -3
  821. package/.next/server/chunks/_next-internal_server_app_api_exams_[id]_retry_route_actions_1fdi39f.js +0 -3
  822. package/.next/server/chunks/_next-internal_server_app_api_exams_[id]_route_actions_1wuidrq.js +0 -3
  823. package/.next/server/chunks/_next-internal_server_app_api_geogebra-analyze_route_actions_1xng0_c.js +0 -3
  824. package/.next/server/chunks/_next-internal_server_app_api_logs_frontend_route_actions_0nxepty.js +0 -3
  825. package/.next/server/chunks/_next-internal_server_app_api_notebooks_[id]_retag_route_actions_00su_t8.js +0 -3
  826. package/.next/server/chunks/_next-internal_server_app_api_notebooks_[id]_route_actions_11j3vxg.js +0 -3
  827. package/.next/server/chunks/_next-internal_server_app_api_notebooks_route_actions_02cy45r.js +0 -3
  828. package/.next/server/chunks/_next-internal_server_app_api_openclaw_batch-upload_route_actions_1zz3oen.js +0 -3
  829. package/.next/server/chunks/_next-internal_server_app_api_practice_generate_route_actions_1krr9n_.js +0 -3
  830. package/.next/server/chunks/_next-internal_server_app_api_practice_record_[id]_route_actions_0zreiom.js +0 -3
  831. package/.next/server/chunks/_next-internal_server_app_api_practice_record_route_actions_0py9z__.js +0 -3
  832. package/.next/server/chunks/_next-internal_server_app_api_reanswer_route_actions_04xweh_.js +0 -3
  833. package/.next/server/chunks/_next-internal_server_app_api_register_route_actions_0vlzh_c.js +0 -3
  834. package/.next/server/chunks/_next-internal_server_app_api_register_status_route_actions_0b52_sj.js +0 -3
  835. package/.next/server/chunks/_next-internal_server_app_api_settings_route_actions_1bpm9ac.js +0 -3
  836. package/.next/server/chunks/_next-internal_server_app_api_stats_practice_clear_route_actions_1iz6iz0.js +0 -3
  837. package/.next/server/chunks/_next-internal_server_app_api_stats_practice_route_actions_1tfoxx-.js +0 -3
  838. package/.next/server/chunks/_next-internal_server_app_api_tags_stats_route_actions_0fmeadc.js +0 -3
  839. package/.next/server/chunks/_next-internal_server_app_api_tags_suggestions_route_actions_1xpolyv.js +0 -3
  840. package/.next/server/chunks/_next-internal_server_app_favicon_ico_route_actions_0g2jjls.js +0 -3
  841. package/.next/server/chunks/_next-internal_server_app_manifest_webmanifest_route_actions_08hcpz0.js +0 -3
  842. package/.next/server/chunks/node_modules_next_1zdbrne._.js +0 -10
  843. package/.next/server/chunks/node_modules_zod_v4_classic_external_1-pw2v2.js +0 -22
  844. package/.next/server/chunks/src_0tzpy5j._.js +0 -3
  845. package/.next/server/chunks/src_lib_date-time_ts_14chb27._.js +0 -3
  846. package/.next/server/chunks/src_lib_question-deduplication_ts_1p1bik-._.js +0 -3
  847. package/.next/server/chunks/ssr/[externals]_fs_0pplqgc._.js +0 -3
  848. package/.next/server/chunks/ssr/[root-of-the-server]__00gewu3._.js +0 -35
  849. package/.next/server/chunks/ssr/[root-of-the-server]__05f8wbh._.js +0 -3
  850. package/.next/server/chunks/ssr/[root-of-the-server]__0a0nty7._.js +0 -3
  851. package/.next/server/chunks/ssr/[root-of-the-server]__0ax9dog._.js +0 -3
  852. package/.next/server/chunks/ssr/[root-of-the-server]__0b8kewv._.js +0 -3
  853. package/.next/server/chunks/ssr/[root-of-the-server]__0bvtza7._.js +0 -33
  854. package/.next/server/chunks/ssr/[root-of-the-server]__0g_-bym._.js +0 -3
  855. package/.next/server/chunks/ssr/[root-of-the-server]__0gwwr7e._.js +0 -3
  856. package/.next/server/chunks/ssr/[root-of-the-server]__0hzktoi._.js +0 -3
  857. package/.next/server/chunks/ssr/[root-of-the-server]__0icjezr._.js +0 -3
  858. package/.next/server/chunks/ssr/[root-of-the-server]__0koj8h0._.js +0 -3
  859. package/.next/server/chunks/ssr/[root-of-the-server]__0s87xha._.js +0 -3
  860. package/.next/server/chunks/ssr/[root-of-the-server]__0snpjfe._.js +0 -3
  861. package/.next/server/chunks/ssr/[root-of-the-server]__0y_e9do._.js +0 -3
  862. package/.next/server/chunks/ssr/[root-of-the-server]__0ybs_4c._.js +0 -3
  863. package/.next/server/chunks/ssr/[root-of-the-server]__14l7peq._.js +0 -3
  864. package/.next/server/chunks/ssr/[root-of-the-server]__1507q8a._.js +0 -3
  865. package/.next/server/chunks/ssr/[root-of-the-server]__15ppb9j._.js +0 -3
  866. package/.next/server/chunks/ssr/[root-of-the-server]__191jn5n._.js +0 -3
  867. package/.next/server/chunks/ssr/[root-of-the-server]__1f2jx51._.js +0 -33
  868. package/.next/server/chunks/ssr/[root-of-the-server]__1gth76-._.js +0 -3
  869. package/.next/server/chunks/ssr/[root-of-the-server]__1ko_dw5._.js +0 -3
  870. package/.next/server/chunks/ssr/[root-of-the-server]__1l84pks._.js +0 -3
  871. package/.next/server/chunks/ssr/[root-of-the-server]__1m7qw-2._.js +0 -3
  872. package/.next/server/chunks/ssr/[root-of-the-server]__1ma2oml._.js +0 -3
  873. package/.next/server/chunks/ssr/[root-of-the-server]__1o8jotz._.js +0 -3
  874. package/.next/server/chunks/ssr/[root-of-the-server]__1o__w27._.js +0 -3
  875. package/.next/server/chunks/ssr/[root-of-the-server]__1p7f0va._.js +0 -3
  876. package/.next/server/chunks/ssr/[root-of-the-server]__1sg9eoj._.js +0 -3
  877. package/.next/server/chunks/ssr/[root-of-the-server]__1u74hyi._.js +0 -3
  878. package/.next/server/chunks/ssr/[root-of-the-server]__1xsovpr._.js +0 -3
  879. package/.next/server/chunks/ssr/_054yhx9._.js +0 -3
  880. package/.next/server/chunks/ssr/_07ls0n_._.js +0 -3
  881. package/.next/server/chunks/ssr/_0i9hwpv._.js +0 -3
  882. package/.next/server/chunks/ssr/_0iqp5hs._.js +0 -3
  883. package/.next/server/chunks/ssr/_0m1-rq-._.js +0 -3
  884. package/.next/server/chunks/ssr/_0mgbe2b._.js +0 -3
  885. package/.next/server/chunks/ssr/_0nv22wt._.js +0 -3
  886. package/.next/server/chunks/ssr/_0rz2_qb._.js +0 -151
  887. package/.next/server/chunks/ssr/_0sbbx9z._.js +0 -7
  888. package/.next/server/chunks/ssr/_0sf1gd9._.js +0 -3
  889. package/.next/server/chunks/ssr/_0uemk57._.js +0 -3
  890. package/.next/server/chunks/ssr/_0zj7dlu._.js +0 -3
  891. package/.next/server/chunks/ssr/_12c20v5._.js +0 -3
  892. package/.next/server/chunks/ssr/_17igtpd._.js +0 -3
  893. package/.next/server/chunks/ssr/_1filpif._.js +0 -3
  894. package/.next/server/chunks/ssr/_1gu1rou._.js +0 -3
  895. package/.next/server/chunks/ssr/_1jniqsj._.js +0 -3
  896. package/.next/server/chunks/ssr/_1kgnhmo._.js +0 -8
  897. package/.next/server/chunks/ssr/_1lt1lhz._.js +0 -8
  898. package/.next/server/chunks/ssr/_1yeu09q._.js +0 -3
  899. package/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0zi5s8-.js +0 -3
  900. package/.next/server/chunks/ssr/_next-internal_server_app_admin_user_[id]_page_actions_0baj8gs.js +0 -3
  901. package/.next/server/chunks/ssr/_next-internal_server_app_error-items_[id]_page_actions_0qla9ak.js +0 -3
  902. package/.next/server/chunks/ssr/_next-internal_server_app_exams_[id]_print_page_actions_0pxdgxq.js +0 -3
  903. package/.next/server/chunks/ssr/_next-internal_server_app_latex-test_page_actions_19v7ka0.js +0 -3
  904. package/.next/server/chunks/ssr/_next-internal_server_app_notebooks_[id]_add_page_actions_0275ft2.js +0 -3
  905. package/.next/server/chunks/ssr/_next-internal_server_app_notebooks_[id]_page_actions_1qj0i-7.js +0 -3
  906. package/.next/server/chunks/ssr/_next-internal_server_app_print-preview_page_actions_1jhaaln.js +0 -3
  907. package/.next/server/chunks/ssr/node_modules_0o2aki7._.js +0 -3
  908. package/.next/server/chunks/ssr/node_modules_1y5ym6h._.js +0 -3
  909. package/.next/server/chunks/ssr/node_modules_next_1lnqo1a._.js +0 -5
  910. package/.next/server/chunks/ssr/node_modules_next_dist_077yo5w._.js +0 -3
  911. package/.next/server/chunks/ssr/node_modules_next_dist_0nkkbfv._.js +0 -6
  912. package/.next/server/chunks/ssr/node_modules_next_dist_1_c-t1n._.js +0 -14
  913. package/.next/server/chunks/ssr/node_modules_next_dist_1v8aef8._.js +0 -3
  914. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_0bew68i._.js +0 -33
  915. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j3._.js +0 -3
  916. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9.js +0 -3
  917. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0q-w892.js +0 -3
  918. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0x.js +0 -3
  919. package/.next/server/chunks/ssr/src_1biegcg._.js +0 -3
  920. package/.next/server/chunks/ssr/src_1gayunq._.js +0 -3
  921. package/.next/server/chunks/ssr/src_1o363ao._.js +0 -3
  922. package/.next/server/chunks/ssr/src_app_admin_page_tsx_0ublbd0._.js +0 -3
  923. package/.next/server/chunks/ssr/src_app_error-items_[id]_page_tsx_04xwwdm._.js +0 -3
  924. package/.next/server/chunks/ssr/src_app_notebooks_[id]_page_tsx_08njm-5._.js +0 -3
  925. package/.next/server/chunks/ssr/src_app_notebooks_page_tsx_1p9src5._.js +0 -3
  926. package/.next/server/chunks/ssr/src_app_page_tsx_1chiuah._.js +0 -3
  927. package/.next/server/chunks/ssr/src_app_practice_page_tsx_10gnx53._.js +0 -3
  928. package/.next/server/chunks/ssr/src_app_tags_page_tsx_1h2vkk4._.js +0 -3
  929. package/.next/server/chunks/ssr/src_components_providers_tsx_09kw-mv._.js +0 -193
  930. package/.next/server/chunks/ssr/src_lib_date-time_ts_0oyqctn._.js +0 -3
  931. package/.next/server/edge/chunks/[root-of-the-server]__1osrt2u._.js +0 -3
  932. package/.next/server/edge/chunks/_1s0wgnu._.js +0 -3
  933. package/.next/server/edge/chunks/node_modules_0g4gi6f._.js +0 -13
  934. package/.next/server/edge/chunks/turbopack-node_modules_next_dist_esm_build_templates_edge-wrapper_1iafar9.js +0 -3
  935. package/.next/server/edge/chunks/turbopack-node_modules_next_dist_esm_build_templates_edge-wrapper_1x1n1fx.js +0 -3
  936. package/.next/static/chunks/00pn0o7lymln6.js +0 -1
  937. package/.next/static/chunks/02521degnqmf0.js +0 -1
  938. package/.next/static/chunks/0_w084ms_lq25.js +0 -22
  939. package/.next/static/chunks/0dzfsm6h13fyr.js +0 -1
  940. package/.next/static/chunks/0ehjiuuxbbhq9.js +0 -1
  941. package/.next/static/chunks/0iq53qkw5hvrs.js +0 -1
  942. package/.next/static/chunks/0m81l71kojx8j.js +0 -1
  943. package/.next/static/chunks/0nckb2-62ooyq.js +0 -1
  944. package/.next/static/chunks/0snej-v5yglxr.js +0 -1
  945. package/.next/static/chunks/1-7k9gbbjkcml.js +0 -1
  946. package/.next/static/chunks/130ch9mnvb6mp.css +0 -3
  947. package/.next/static/chunks/17wdtw8hml2n6.js +0 -191
  948. package/.next/static/chunks/1cd32rtomdngh.js +0 -1
  949. package/.next/static/chunks/1io3-cth_2-cd.js +0 -1
  950. package/.next/static/chunks/1oiuiyv1cv06v.js +0 -31
  951. package/.next/static/chunks/1t4-pobw0y5cf.js +0 -1
  952. package/.next/static/chunks/1xg811762s1p1.js +0 -1
  953. package/.next/static/chunks/1z_5sj1wqi06v.js +0 -1
  954. package/.next/static/chunks/2a0kgntckcbvf.js +0 -1
  955. package/.next/static/chunks/2dlme2fdlkms6.js +0 -1
  956. package/.next/static/chunks/2h-exsnhkfnb8.js +0 -1
  957. package/.next/static/chunks/2pmzqbg-qabof.js +0 -1
  958. package/.next/static/chunks/2rmhba08h4qqo.js +0 -33
  959. package/.next/static/chunks/2s07soqug65hc.js +0 -1
  960. package/.next/static/chunks/2w2uo9jjxt-re.js +0 -1
  961. package/.next/static/chunks/2wnnnmbh85mq_.js +0 -1
  962. package/.next/static/chunks/2yl8a-gxngbuq.js +0 -1
  963. package/.next/static/chunks/32bl-oqw9oso0.js +0 -1
  964. package/.next/static/chunks/35cov9g4cgt-v.js +0 -1
  965. package/.next/static/chunks/3b-g5_r9nto3s.js +0 -6
  966. package/.next/static/chunks/3c4-ozf1dxam2.css +0 -1
  967. package/.next/static/chunks/3g1rm2suowncy.js +0 -3
  968. package/.next/static/chunks/3helovsg02qr4.js +0 -1
  969. package/.next/static/chunks/3hz1l3qoxv84t.js +0 -1
  970. package/.next/static/chunks/3jta6jrk-jubq.js +0 -1
  971. package/.next/static/chunks/3yhf6xyypekz6.js +0 -1
  972. package/.next/static/chunks/3z9gc_02gl8n9.js +0 -1
  973. package/.next/static/chunks/427wg73nuzpiz.js +0 -5
  974. package/.next/static/chunks/turbopack-1-0r7_puvz3eq.js +0 -1
  975. /package/.next/static/{w6W6dMBYlP4wbCdeRcVhA → 0rqQXLDvfc_jhsn1XF-zT}/_buildManifest.js +0 -0
  976. /package/.next/static/{w6W6dMBYlP4wbCdeRcVhA → 0rqQXLDvfc_jhsn1XF-zT}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ (()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,871689,e=>{let s=(0,e.i(475254).f)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["f",0,s],871689)},63209,e=>{let s=(0,e.i(475254).f)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);e.s(["f",0,s],63209)},503116,e=>{let s=(0,e.i(475254).f)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);e.s(["f",0,s],503116)},41966,852008,e=>{var s=e.i(475254);let t=(0,s.f)("pen-tool",[["path",{d:"M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z",key:"nt11vn"}],["path",{d:"m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18",key:"15qc1e"}],["path",{d:"m2.3 2.3 7.286 7.286",key:"1wuzzi"}],["circle",{cx:"11",cy:"11",r:"2",key:"xmgehs"}]]);e.s(["f",0,t],41966);let a=(0,s.f)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);e.s(["f",0,a],852008)},25652,e=>{let s=(0,e.i(475254).f)("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]);e.s(["f",0,s],25652)},672906,e=>{var s=e.i(843476),t=e.i(271645),a=e.i(217255),r=e.i(618566),i=e.i(111110),d=e.i(35209),l=e.i(215519),n=e.i(306831),c=e.i(41931),o=e.i(201276),m=e.i(531278);let x=(0,e.i(475254).f)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);var h=e.i(810980),u=e.i(41966),f=e.i(852008),b=e.i(25652),j=e.i(269638),g=e.i(503116),p=e.i(63209),N=e.i(664659),v=e.i(655900),y=e.i(286536),w=e.i(217923),k=e.i(519455),D=e.i(393842),A=e.i(515288),M=e.i(487486);function C({data:e,t}){let a=[{title:t.admin?.dashboard?.totalUsers||"Total Users",value:e.overview.totalUsers,icon:x,color:"text-blue-500",bgColor:"bg-blue-50 dark:bg-blue-950/30"},{title:t.admin?.dashboard?.totalErrors||"Total Errors",value:e.overview.totalErrorItems,icon:h.f,color:"text-red-500",bgColor:"bg-red-50 dark:bg-red-950/30"},{title:t.admin?.dashboard?.totalPractice||"Total Practice",value:e.overview.totalPracticeRecords,icon:u.f,color:"text-green-500",bgColor:"bg-green-50 dark:bg-green-950/30"},{title:t.admin?.dashboard?.totalNotebooks||"Total Notebooks",value:e.overview.totalSubjects,icon:f.f,color:"text-purple-500",bgColor:"bg-purple-50 dark:bg-purple-950/30"}];return(0,s.jsx)("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4",children:a.map(e=>(0,s.jsx)(A.N,{className:"border-0 shadow-sm",children:(0,s.jsxs)(A.O,{className:"p-4 flex items-center gap-4",children:[(0,s.jsx)("div",{className:`p-3 rounded-xl ${e.bgColor}`,children:(0,s.jsx)(e.icon,{className:`h-6 w-6 ${e.color}`})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-sm text-muted-foreground",children:e.title}),(0,s.jsx)("p",{className:"text-2xl font-bold",children:e.value})]})]})},e.title))})}function T({data:e,t}){let a=Math.max(...e.dailyTrend.map(e=>e.count),1);return(0,s.jsxs)(A.N,{className:"border-0 shadow-sm",children:[(0,s.jsx)(A.Y,{className:"pb-2",children:(0,s.jsxs)(A.v,{className:"text-base flex items-center gap-2",children:[(0,s.jsx)(b.f,{className:"h-4 w-4 text-orange-500"}),t.admin?.dashboard?.recentTrend||"Recent 7-Day Trend"]})}),(0,s.jsx)(A.O,{children:(0,s.jsx)("div",{className:"flex items-end gap-2 h-40",children:e.dailyTrend.map(e=>{let t=a>0?e.count/a*100:0,r=e.date.slice(5).replace("-","/");return(0,s.jsxs)("div",{className:"flex-1 flex flex-col items-center gap-1",children:[(0,s.jsx)("span",{className:"text-xs font-medium",children:e.count>0?e.count:""}),(0,s.jsx)("div",{className:"w-full relative",style:{height:"100px"},children:(0,s.jsx)("div",{className:"absolute bottom-0 w-full bg-gradient-to-t from-orange-500 to-orange-400 rounded-t-md transition-all duration-500 min-h-[4px]",style:{height:`${Math.max(t,4)}%`}})}),(0,s.jsx)("span",{className:"text-xs text-muted-foreground",children:r})]},e.date)})})})]})}function R({data:e,t}){let a=e.subjectDistribution.reduce((e,s)=>e+s.count,0),r=["bg-blue-500","bg-green-500","bg-orange-500","bg-purple-500","bg-red-500","bg-cyan-500","bg-yellow-500","bg-pink-500","bg-indigo-500"];return(0,s.jsxs)(A.N,{className:"border-0 shadow-sm",children:[(0,s.jsx)(A.Y,{className:"pb-2",children:(0,s.jsxs)(A.v,{className:"text-base flex items-center gap-2",children:[(0,s.jsx)(w.f,{className:"h-4 w-4 text-blue-500"}),t.admin?.dashboard?.subjectDistribution||"Subject Distribution"]})}),(0,s.jsx)(A.O,{children:0===a?(0,s.jsx)("p",{className:"text-sm text-muted-foreground py-8 text-center",children:t.admin?.dashboard?.noData||"No Data"}):(0,s.jsx)("div",{className:"space-y-3",children:e.subjectDistribution.map((e,t)=>{let i=a>0?Math.round(e.count/a*100):0;return(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsxs)("div",{className:"flex justify-between text-sm",children:[(0,s.jsx)("span",{className:"font-medium",children:e.name}),(0,s.jsxs)("span",{className:"text-muted-foreground",children:[e.count," (",i,"%)"]})]}),(0,s.jsx)("div",{className:"w-full bg-muted rounded-full h-2.5",children:(0,s.jsx)("div",{className:`h-2.5 rounded-full ${r[t%r.length]} transition-all duration-500`,style:{width:`${i}%`}})})]},e.name)})})})]})}function z({data:e,t}){let a=e.masteryDistribution.new+e.masteryDistribution.reviewing+e.masteryDistribution.mastered,r=[{key:"new",label:t.admin?.dashboard?.masteryNew||"To Review",count:e.masteryDistribution.new,icon:p.f,color:"text-red-500",bg:"bg-red-500"},{key:"reviewing",label:t.admin?.dashboard?.masteryReviewing||"Reviewing",count:e.masteryDistribution.reviewing,icon:g.f,color:"text-yellow-500",bg:"bg-yellow-500"},{key:"mastered",label:t.admin?.dashboard?.masteryMastered||"Mastered",count:e.masteryDistribution.mastered,icon:j.f,color:"text-green-500",bg:"bg-green-500"}];return(0,s.jsxs)(A.N,{className:"border-0 shadow-sm",children:[(0,s.jsx)(A.Y,{className:"pb-2",children:(0,s.jsxs)(A.v,{className:"text-base flex items-center gap-2",children:[(0,s.jsx)(j.f,{className:"h-4 w-4 text-green-500"}),t.admin?.dashboard?.masteryDistribution||"Mastery Distribution"]})}),(0,s.jsx)(A.O,{children:0===a?(0,s.jsx)("p",{className:"text-sm text-muted-foreground py-8 text-center",children:t.admin?.dashboard?.noData||"No Data"}):(0,s.jsx)("div",{className:"space-y-3",children:r.map(e=>{let t=a>0?Math.round(e.count/a*100):0;return(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsxs)("div",{className:"flex justify-between text-sm items-center",children:[(0,s.jsxs)("span",{className:"flex items-center gap-1.5 font-medium",children:[(0,s.jsx)(e.icon,{className:`h-4 w-4 ${e.color}`}),e.label]}),(0,s.jsxs)("span",{className:"text-muted-foreground",children:[e.count," (",t,"%)"]})]}),(0,s.jsx)("div",{className:"w-full bg-muted rounded-full h-2.5",children:(0,s.jsx)("div",{className:`h-2.5 rounded-full ${e.bg} transition-all duration-500`,style:{width:`${t}%`}})})]},e.key)})})})]})}function E({users:e,onViewDetail:a}){let{timeZone:r}=(0,l.M)(),{t:d}=(0,i.b)(),[c,o]=(0,t.useState)(null);return(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsx)("div",{className:"hidden md:block border rounded-lg overflow-hidden",children:(0,s.jsxs)("table",{className:"w-full text-sm",children:[(0,s.jsx)("thead",{className:"bg-muted/50",children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{className:"text-left p-3 font-medium",children:d.admin?.dashboard?.userName||"Username"}),(0,s.jsx)("th",{className:"text-left p-3 font-medium",children:d.admin?.dashboard?.email||"Email"}),(0,s.jsx)("th",{className:"text-center p-3 font-medium",children:d.admin?.dashboard?.notebooks||"Notebooks"}),(0,s.jsx)("th",{className:"text-center p-3 font-medium",children:d.admin?.dashboard?.errors||"Errors"}),(0,s.jsx)("th",{className:"text-center p-3 font-medium",children:d.admin?.dashboard?.practice||"Practice"}),(0,s.jsx)("th",{className:"text-center p-3 font-medium",children:d.admin?.dashboard?.status||"Status"}),(0,s.jsx)("th",{className:"text-center p-3 font-medium",children:d.admin?.dashboard?.registeredAt||"Registered At"}),(0,s.jsx)("th",{className:"text-center p-3 font-medium",children:d.admin?.dashboard?.actions||"Actions"})]})}),(0,s.jsx)("tbody",{children:e.map(e=>(0,s.jsxs)("tr",{className:"border-t hover:bg-muted/30 transition-colors",children:[(0,s.jsx)("td",{className:"p-3",children:(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"font-medium",children:e.name||"N/A"}),"admin"===e.role&&(0,s.jsx)(M.f,{variant:"default",className:"text-xs",children:d.admin?.admin||"Admin"})]})}),(0,s.jsx)("td",{className:"p-3 text-muted-foreground",children:e.email}),(0,s.jsx)("td",{className:"p-3 text-center",children:e.notebookCount}),(0,s.jsx)("td",{className:"p-3 text-center font-medium",children:e.errorCount}),(0,s.jsx)("td",{className:"p-3 text-center",children:e.practiceCount}),(0,s.jsx)("td",{className:"p-3 text-center",children:(0,s.jsx)(M.f,{variant:e.isActive?"default":"destructive",className:"text-xs",children:e.isActive?d.admin?.active||"Active":d.admin?.disabled||"Disabled"})}),(0,s.jsx)("td",{className:"p-3 text-center text-muted-foreground text-xs",children:(0,n.r)(e.createdAt,"yyyy-MM-dd",r)}),(0,s.jsx)("td",{className:"p-3 text-center",children:(0,s.jsx)(k.f,{variant:"ghost",size:"sm",onClick:()=>a(e.id),title:d.admin?.dashboard?.viewDetail||"View Detail",children:(0,s.jsx)(y.f,{className:"h-4 w-4"})})})]},e.id))})]})}),(0,s.jsx)("div",{className:"md:hidden space-y-3",children:e.map(e=>(0,s.jsx)(A.N,{className:"border-0 shadow-sm",children:(0,s.jsxs)(A.O,{className:"p-4",children:[(0,s.jsxs)("div",{className:"flex justify-between items-start cursor-pointer",onClick:()=>o(c===e.id?null:e.id),children:[(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"font-medium",children:e.name||"N/A"}),"admin"===e.role&&(0,s.jsx)(M.f,{variant:"default",className:"text-xs",children:d.admin?.admin||"Admin"})]}),(0,s.jsx)("div",{className:"text-sm text-muted-foreground",children:e.email})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(M.f,{variant:e.isActive?"default":"destructive",className:"text-xs",children:e.isActive?d.admin?.active||"Active":d.admin?.disabled||"Disabled"}),c===e.id?(0,s.jsx)(v.f,{className:"h-4 w-4 text-muted-foreground"}):(0,s.jsx)(N.f,{className:"h-4 w-4 text-muted-foreground"})]})]}),c===e.id&&(0,s.jsxs)("div",{className:"mt-3 pt-3 border-t grid grid-cols-3 gap-3 text-center",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-lg font-bold",children:e.notebookCount}),(0,s.jsx)("div",{className:"text-xs text-muted-foreground",children:d.admin?.dashboard?.notebooks||"Notebooks"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-lg font-bold text-red-500",children:e.errorCount}),(0,s.jsx)("div",{className:"text-xs text-muted-foreground",children:d.admin?.dashboard?.errors||"Errors"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-lg font-bold text-green-500",children:e.practiceCount}),(0,s.jsx)("div",{className:"text-xs text-muted-foreground",children:d.admin?.dashboard?.practice||"Practice"})]})]}),c===e.id&&(0,s.jsxs)("div",{className:"mt-3 pt-3 border-t flex justify-between items-center",children:[(0,s.jsx)("span",{className:"text-xs text-muted-foreground",children:(0,n.r)(e.createdAt,"yyyy-MM-dd",r)}),(0,s.jsxs)(k.f,{variant:"ghost",size:"sm",onClick:()=>a(e.id),children:[(0,s.jsx)(y.f,{className:"h-4 w-4 mr-1"}),d.admin?.dashboard?.viewDetail||"View Detail"]})]})]})},e.id))})]})}e.s(["default",0,function(){let{data:e,status:l}=(0,a.useSession)(),n=(0,r.useRouter)(),{t:h}=(0,i.b)(),[u,f]=(0,t.useState)(null);(0,d.f)(h.admin.dashboard.title);let[b,j]=(0,t.useState)(!0),g=(0,t.useCallback)(async()=>{j(!0);try{let e=await c.f.get("/api/admin/dashboard");f(e)}catch(e){o.f.error("[AdminDashboard]","Failed to fetch dashboard data",{error:e})}finally{j(!1)}},[]);return((0,t.useEffect)(()=>{if("loading"!==l){if(!e?.user||"admin"!==e.user.role)return void n.push("/");g()}},[e,l,n,g]),"loading"===l||b)?(0,s.jsx)("div",{className:"flex items-center justify-center min-h-[60vh]",children:(0,s.jsx)(m.f,{className:"h-8 w-8 animate-spin text-muted-foreground"})}):u?(0,s.jsxs)("div",{className:"max-w-6xl mx-auto space-y-6 px-4 py-6 md:px-8 md:py-8",children:[(0,s.jsx)(D.f,{title:h.admin?.dashboard?.title||"Admin Dashboard",description:h.admin?.dashboard?.subtitle||"View all users and error statistics"}),(0,s.jsx)(C,{data:u,t:h}),(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,s.jsx)(T,{data:u,t:h}),(0,s.jsx)(z,{data:u,t:h})]}),(0,s.jsx)(R,{data:u,t:h}),(0,s.jsxs)(A.N,{className:"border-0 shadow-sm",children:[(0,s.jsxs)(A.Y,{className:"pb-2",children:[(0,s.jsxs)(A.v,{className:"text-lg flex items-center gap-2",children:[(0,s.jsx)(x,{className:"h-5 w-5 text-blue-500"}),h.admin?.dashboard?.userList||"User List"]}),(0,s.jsx)(A.u,{children:h.admin?.dashboard?.userListDesc||"All registered users and their error entry status"})]}),(0,s.jsx)(A.O,{children:(0,s.jsx)(E,{users:u.userStats,onViewDetail:e=>n.push(`/admin/user/${e}`)})})]})]}):(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center min-h-[60vh] gap-4",children:[(0,s.jsx)("p",{className:"text-muted-foreground",children:h.common?.error||"Error"}),(0,s.jsx)(k.f,{onClick:g,children:h.admin?.dashboard?.retry||"Retry"})]})}],672906)},590546,e=>{var s=e.i(843476),t=e.i(618566),a=e.i(519455),r=e.i(871689);e.s(["f",0,function({fallbackUrl:e,className:i}){let d=(0,t.useRouter)();return(0,s.jsx)(a.f,{variant:"ghost",size:"icon",onClick:()=>{d.push(e)},className:i,children:(0,s.jsx)(r.f,{className:"h-5 w-5"})})}])},515288,e=>{var s=e.i(843476),t=e.i(975157);e.s(["N",0,function({className:e,...a}){return(0,s.jsx)("div",{"data-slot":"card",className:(0,t.f)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...a})},"O",0,function({className:e,...a}){return(0,s.jsx)("div",{"data-slot":"card-content",className:(0,t.f)("px-6",e),...a})},"u",0,function({className:e,...a}){return(0,s.jsx)("div",{"data-slot":"card-description",className:(0,t.f)("text-muted-foreground text-sm",e),...a})},"Y",0,function({className:e,...a}){return(0,s.jsx)("div",{"data-slot":"card-header",className:(0,t.f)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...a})},"v",0,function({className:e,...a}){return(0,s.jsx)("div",{"data-slot":"card-title",className:(0,t.f)("leading-none font-semibold",e),...a})}])},393842,e=>{var s=e.i(843476),t=e.i(590546),a=e.i(975157);e.s(["f",0,function({title:e,description:r,backHref:i,actions:d,titleAddon:l,className:n}){return(0,s.jsxs)("div",{className:(0,a.f)("flex items-start gap-3",n),children:[i&&(0,s.jsx)(t.f,{fallbackUrl:i,className:"-ml-2 shrink-0"}),(0,s.jsxs)("div",{className:"min-w-0 flex-1 space-y-1",children:[(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsx)("h1",{className:"truncate text-2xl font-bold tracking-tight sm:text-3xl",children:e}),l]}),r&&(0,s.jsx)("p",{className:"text-sm text-muted-foreground sm:text-base",children:r})]}),d&&(0,s.jsx)("div",{className:"flex shrink-0 items-center gap-2",children:d})]})}])},35209,e=>{var s=e.i(271645),t=e.i(111110);e.s(["f",0,function(...e){let{t:a}=(0,t.b)(),r=[a.pageTitle.base,...e.map(e=>"string"==typeof e?e.trim():"").filter(e=>e.length>0)].join("-");(0,s.useEffect)(()=>{document.title=r},[r])}])}])})();
@@ -0,0 +1 @@
1
+ (()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,871689,e=>{let t=(0,e.i(475254).f)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["f",0,t],871689)},356909,e=>{let t=(0,e.i(475254).f)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["f",0,t],356909)},652109,e=>{var t=e.i(843476),a=e.i(271645),s=e.i(618566),r=e.i(519455),i=e.i(515288),l=e.i(531278),c=e.i(16715),n=e.i(269638),d=e.i(286536);let o=(0,e.i(475254).f)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);var u=e.i(373884),m=e.i(871689),x=e.i(111110),f=e.i(35209),h=e.i(624687),g=e.i(793479),p=e.i(511445),j=e.i(41931),b=e.i(522016),N=e.i(356909),v=e.i(393733),y=e.i(201276);function w({errorItemId:e,suggested:s,question:c,difficulty:d}){let{t:o}=(0,x.b)(),[u,m]=(0,a.useState)(s),[f,h]=(0,a.useState)(!1),[g,p]=(0,a.useState)(!1),[k,S]=(0,a.useState)(null),C=async()=>{if(u){h(!0),S(null);try{await j.f.post("/api/practice/record",{errorItemId:e,result:u,difficulty:d,subject:c.subject||null,questionText:c.questionText,answerText:c.answerText,analysis:c.analysis,figureSvg:c.figureSvg??null}),p(!0)}catch(e){y.f.error("[Practice]","Failed to save practice result",{error:e instanceof Error?e.message:String(e)}),S(o.mastery.resultSaveFailed)}finally{h(!1)}}};return(0,t.jsxs)(i.N,{className:g?"border-green-500":"border-primary/40",children:[(0,t.jsx)(i.Y,{children:(0,t.jsx)(i.v,{className:"text-base",children:o.mastery.markResult})}),(0,t.jsxs)(i.O,{className:"space-y-3",children:[(0,t.jsx)(v.f,{value:u,onChange:m,disabled:g||f}),s&&!g&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:o.mastery.suggested}),g?(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-center gap-2 text-sm text-green-700",children:[(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsx)(n.f,{className:"h-4 w-4"}),o.mastery.resultSaved]}),(0,t.jsx)(b.default,{href:`/error-items/${e}`,className:"text-primary hover:underline sm:ml-auto",children:o.mastery.viewQuestion})]}):(0,t.jsxs)(r.f,{onClick:C,disabled:!u||f,className:"w-full sm:w-auto",children:[f?(0,t.jsx)(l.f,{className:"mr-2 h-4 w-4 animate-spin"}):(0,t.jsx)(N.f,{className:"mr-2 h-4 w-4"}),o.mastery.saveResult]}),k&&(0,t.jsx)("p",{className:"text-sm text-destructive",children:k})]})]})}var k=e.i(149704),S=e.i(303163);function C(){let e=(0,s.useSearchParams)(),b=(0,s.useRouter)(),N=e.get("id"),{t:v,language:C}=(0,x.b)();(0,f.f)(v.practice.title);let[A,R]=(0,a.useState)(null),[T,E]=(0,a.useState)(!1),[O,I]=(0,a.useState)(!1),[_,P]=(0,a.useState)(""),[q,F]=(0,a.useState)(""),[U,z]=(0,a.useState)(!1),[M,Y]=(0,a.useState)(null),[$,H]=(0,a.useState)("medium"),[D,G]=(0,a.useState)(0),[K,L]=(0,a.useState)(null),[B,W]=(0,a.useState)(null),[V,Q]=(0,a.useState)(!0);(0,a.useEffect)(()=>{j.f.get("/api/settings").then(e=>{L(e),e.timeouts?.analyze&&y.f.info("[Config]","Loaded timeout settings",{analyze:e.timeouts.analyze})}).catch(e=>y.f.error("[Practice]","Failed to fetch config",{error:e}))},[]);let[J,X]=(0,a.useState)("medium");(0,a.useEffect)(()=>{if(!N)return;let e=!1;return j.f.get(`/api/practice/generate?errorItemId=${encodeURIComponent(N)}`).then(({practice:t})=>{!e&&t&&(R(e=>e??{questionText:t.questionText,answerText:t.answerText,analysis:t.analysis,subject:t.subject||"其他",knowledgePoints:[],wrongAnswerText:"",mistakeAnalysis:"",mistakeStatus:"unknown",requiresImage:!1,figureSvg:t.figureSvg??null}),X(t.difficulty),H(t.difficulty),W(t.generatedAt))}).catch(e=>y.f.warn("[Practice]","Failed to load last practice question",{error:e instanceof Error?e.message:String(e)})).finally(()=>{e||Q(!1)}),()=>{e=!0}},[N]);let[Z,ee]=(0,a.useState)(null),et=async()=>{if(N){E(!0),ee(null),P(""),F(""),z(!1),Y(null),I(!1);try{let e=K?.timeouts?.analyze||18e4;y.f.info("[Practice]","Generating question",{timeout:e});let t=await j.f.post("/api/practice/generate",{errorItemId:N,language:C,difficulty:J},{timeout:e});R(t),H(J),W(t.generatedAt??null),G(e=>e+1)}catch(a){y.f.error("[Practice]","Failed to generate practice question",{error:a});let e=(0,S.d)(a)||"",t=v.practice.errors?.default||"Failed to generate";e.includes("AI_CONNECTION_FAILED")?t=v.errors?.aiConnectionFailed||t:e.includes("AI_RESPONSE_ERROR")?t=v.errors?.aiResponseError||t:e.includes("AI_AUTH_ERROR")?t=v.errors?.aiAuth||t:e.includes("AI_OUTPUT_TRUNCATED")?t=v.errors?.AI_OUTPUT_TRUNCATED||t:e.includes("AI_UNKNOWN_ERROR")&&(t=v.errors?.AI_UNKNOWN_ERROR||t),ee(t)}finally{E(!1)}}};return N?(0,t.jsxs)("div",{className:"max-w-3xl mx-auto space-y-8",children:[(0,t.jsx)("div",{className:"flex justify-between items-center mb-4",children:(0,t.jsxs)(r.f,{variant:"ghost",onClick:()=>b.back(),children:[(0,t.jsx)(m.f,{className:"mr-2 h-4 w-4"}),v.common?.back||"Back"]})}),(0,t.jsxs)("div",{className:"text-center space-y-4",children:[(0,t.jsx)("h1",{className:"text-3xl font-bold",children:v.practice.title}),(0,t.jsx)("p",{className:"text-muted-foreground",children:v.practice.subtitle}),Z&&(0,t.jsxs)("div",{className:"relative rounded-xl border border-destructive/30 bg-destructive/10 px-4 py-3 text-destructive",role:"alert",children:[(0,t.jsxs)("strong",{className:"font-bold",children:[v.common?.error||"Error",": "]}),(0,t.jsxs)("span",{className:"block whitespace-pre-wrap",children:[" ",Z]})]}),V&&!A&&(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)(l.f,{className:"h-6 w-6 animate-spin text-muted-foreground"})}),!A&&!V&&(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 bg-muted/50 p-2 rounded-lg",children:[(0,t.jsxs)("span",{className:"text-sm font-medium text-muted-foreground",children:[v.practice.difficulty?.label||"Difficulty",":"]}),(0,t.jsx)("div",{className:"flex gap-1",children:[{value:"easy",label:v.practice.difficulty?.easy||"Easy",color:"bg-green-100 text-green-700 hover:bg-green-200"},{value:"medium",label:v.practice.difficulty?.medium||"Medium",color:"bg-blue-100 text-blue-700 hover:bg-blue-200"},{value:"hard",label:v.practice.difficulty?.hard||"Hard",color:"bg-orange-100 text-orange-700 hover:bg-orange-200"},{value:"harder",label:v.practice.difficulty?.harder||"Challenge",color:"bg-red-100 text-red-700 hover:bg-red-200"}].map(e=>(0,t.jsx)("button",{onClick:()=>X(e.value),className:`px-3 py-1.5 rounded-md text-sm font-medium transition-colors ${J===e.value?e.color.replace("bg-","bg-opacity-100 bg-").replace("text-","ring-2 ring-offset-1 ring-"):"bg-transparent hover:bg-muted text-muted-foreground"} ${J===e.value?e.color:""}`,children:e.label},e.value))})]}),(0,t.jsx)(r.f,{size:"lg",onClick:et,disabled:T,children:T?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.f,{className:"mr-2 h-4 w-4 animate-spin"}),v.practice.generating]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.f,{className:"mr-2 h-4 w-4"}),v.practice.generate]})})]})]}),A&&(0,t.jsxs)("div",{className:"space-y-6 animate-in fade-in slide-in-from-bottom-4 duration-500",children:[(0,t.jsxs)(i.N,{className:"border-primary/50 shadow-lg",children:[(0,t.jsx)(i.Y,{children:(0,t.jsxs)(i.v,{className:"flex justify-between items-center",children:[(0,t.jsx)("span",{children:v.app.practiceProblem}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)("select",{value:J,onChange:e=>X(e.target.value),className:"h-8 text-xs border rounded px-2 bg-background",disabled:T,children:[(0,t.jsx)("option",{value:"easy",children:v.practice.difficulty?.easy||"Easy"}),(0,t.jsx)("option",{value:"medium",children:v.practice.difficulty?.medium||"Medium"}),(0,t.jsx)("option",{value:"hard",children:v.practice.difficulty?.hard||"Hard"}),(0,t.jsx)("option",{value:"harder",children:v.practice.difficulty?.harder||"Challenge"})]}),(0,t.jsx)(r.f,{variant:"ghost",size:"sm",onClick:et,disabled:T,children:T?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.f,{className:"mr-2 h-4 w-4 animate-spin"}),v.practice.generating]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.f,{className:"mr-2 h-4 w-4"}),v.practice.regenerate]})})]})]})}),(0,t.jsxs)(i.O,{children:[B&&(0,t.jsx)("p",{className:"mb-3 text-xs text-muted-foreground",children:(v.practice.lastGeneratedAt||"Generated at {time}").replace("{time}",new Date(B).toLocaleString("zh"===C?"zh-CN":"en-US"))}),(0,t.jsx)(p.f,{content:A.questionText,className:"font-medium"}),(0,t.jsx)(k.f,{svg:A.figureSvg})]})]}),(0,t.jsxs)(i.N,{className:"border-blue-200",children:[(0,t.jsx)(i.Y,{children:(0,t.jsx)(i.v,{className:"text-blue-600",children:v.app.yourAnswer||"Your Answer"})}),(0,t.jsxs)(i.O,{className:"space-y-4",children:[(0,t.jsx)(g.f,{placeholder:v.app.answerPlaceholder||"Enter your answer...",value:_,onChange:e=>P(e.target.value),disabled:U,className:"text-lg"}),(0,t.jsx)(h.f,{placeholder:v.app.notesPlaceholder||"Record your thinking process (optional)...",value:q,onChange:e=>F(e.target.value),disabled:U,rows:3})]})]}),U?null===M?null:(0,t.jsx)(i.N,{className:M?"border-green-500 bg-green-50":"border-red-500 bg-red-50",children:(0,t.jsxs)(i.O,{className:"pt-6",children:[(0,t.jsx)("div",{className:"flex items-center gap-3 mb-4",children:M?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.f,{className:"h-8 w-8 text-green-600"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-xl font-bold text-green-600",children:v.practice.correct||"Correct!"}),(0,t.jsx)("p",{className:"text-green-700",children:v.practice.correctMessage||"Great job, keep it up!"})]})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u.f,{className:"h-8 w-8 text-red-600"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-xl font-bold text-red-600",children:v.practice.incorrect||"Incorrect"}),(0,t.jsx)("p",{className:"text-red-700",children:v.practice.incorrectMessage||"Review the analysis and try again!"})]})]})}),q&&(0,t.jsxs)("div",{className:"mt-4 p-3 bg-white rounded-lg border",children:[(0,t.jsx)("p",{className:"text-sm font-medium text-gray-600 mb-1",children:v.practice.yourNotes||"Your Notes:"}),(0,t.jsx)("p",{className:"text-gray-700 whitespace-pre-wrap",children:q})]})]})}):(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row justify-center gap-2",children:[(0,t.jsxs)(r.f,{size:"lg",onClick:()=>{if(!_.trim()||!A)return;z(!0);let e=e=>e.trim().toLowerCase().replace(/[.,;!]/g,""),t=e(_),a=e(A.answerText),s=t===a;!s&&/^[a-d]$/.test(t)&&(s=a.startsWith(t)),!s&&a.includes(t)&&t.length>1&&(s=!0),Y(s),I(!0)},disabled:!_.trim(),className:"w-full md:w-auto",children:[(0,t.jsx)(o,{className:"mr-2 h-4 w-4"}),v.app.submitAnswer||"Submit Answer"]}),(0,t.jsxs)(r.f,{size:"lg",variant:"outline",onClick:()=>{z(!0),Y(null),I(!0)},className:"w-full md:w-auto",children:[(0,t.jsx)(d.f,{className:"mr-2 h-4 w-4"}),v.practice.checkAnswer||"Check Answer"]})]}),O&&(0,t.jsxs)("div",{className:"space-y-6 animate-in fade-in slide-in-from-top-2",children:[(0,t.jsx)(w,{errorItemId:N,suggested:null===M?null:M?"correct":"wrong",question:A,difficulty:$},D),(0,t.jsxs)(i.N,{className:"bg-muted/50",children:[(0,t.jsx)(i.Y,{children:(0,t.jsx)(i.v,{className:"text-green-600",children:v.practice.correctAnswer})}),(0,t.jsx)(i.O,{children:(0,t.jsx)(p.f,{content:A.answerText,className:"font-bold"})})]}),(0,t.jsxs)(i.N,{children:[(0,t.jsx)(i.Y,{children:(0,t.jsx)(i.v,{children:v.practice.detailedAnalysis})}),(0,t.jsx)(i.O,{className:"space-y-4",children:(0,t.jsx)(p.f,{content:A.analysis})})]})]})]})]}):(0,t.jsx)("div",{className:"p-8 text-center",children:v.practice.invalidRequest||"Invalid Request"})}e.s(["default",0,function(){return(0,t.jsx)("main",{className:"min-h-screen px-4 py-6 md:px-8 md:py-8",children:(0,t.jsx)(a.Suspense,{fallback:(0,t.jsx)("div",{className:"flex justify-center p-8",children:(0,t.jsx)(l.f,{className:"h-8 w-8 animate-spin text-muted-foreground"})}),children:(0,t.jsx)(C,{})})})},"dynamic",0,"force-dynamic"],652109)},393733,e=>{var t=e.i(843476),a=e.i(269638);let s=(0,e.i(475254).f)("circle-question-mark",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var r=e.i(373884),i=e.i(111110);let l=[{value:"correct",icon:a.f,active:"border-green-600 bg-green-50 text-green-700"},{value:"wrong",icon:r.f,active:"border-red-600 bg-red-50 text-red-700"},{value:"not_attempted",icon:s,active:"border-amber-600 bg-amber-50 text-amber-700"}];e.s(["f",0,function({value:e,onChange:a,disabled:s,size:r="md"}){let{t:c}=(0,i.b)(),n="sm"===r?"px-2 py-1 text-xs":"px-3 py-2 text-sm";return(0,t.jsx)("div",{className:"grid grid-cols-3 gap-2",role:"radiogroup",children:l.map(({value:i,icon:l,active:d})=>(0,t.jsxs)("button",{type:"button",role:"radio","aria-checked":e===i,disabled:s,onClick:()=>a(i),className:`flex items-center justify-center gap-1 rounded-md border font-medium transition-colors disabled:opacity-60 ${n} ${e===i?d:"border-input hover:bg-muted"}`,children:[(0,t.jsx)(l,{className:"sm"===r?"h-3 w-3":"h-4 w-4"}),c.mastery.results[i]]},i))})}],393733)},149704,e=>{var t=e.i(843476),a=e.i(111110),s=e.i(975157);e.s(["f",0,function({svg:e,className:r}){let{t:i}=(0,a.b)();return e?(0,t.jsx)("figure",{className:(0,s.f)("question-figure my-3",r),children:(0,t.jsx)("img",{src:`data:image/svg+xml;charset=utf-8,${encodeURIComponent(e)}`,alt:i.figure.alt,className:"mx-auto block h-auto max-w-full rounded border bg-white p-2",style:{maxHeight:360}})}):null}],149704)},515288,e=>{var t=e.i(843476),a=e.i(975157);e.s(["N",0,function({className:e,...s}){return(0,t.jsx)("div",{"data-slot":"card",className:(0,a.f)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...s})},"O",0,function({className:e,...s}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,a.f)("px-6",e),...s})},"u",0,function({className:e,...s}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,a.f)("text-muted-foreground text-sm",e),...s})},"Y",0,function({className:e,...s}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,a.f)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...s})},"v",0,function({className:e,...s}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,a.f)("leading-none font-semibold",e),...s})}])},35209,e=>{var t=e.i(271645),a=e.i(111110);e.s(["f",0,function(...e){let{t:s}=(0,a.b)(),r=[s.pageTitle.base,...e.map(e=>"string"==typeof e?e.trim():"").filter(e=>e.length>0)].join("-");(0,t.useEffect)(()=>{document.title=r},[r])}])}])})();
@@ -0,0 +1 @@
1
+ (()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,871689,e=>{let t=(0,e.i(475254).f)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["f",0,t],871689)},620278,e=>{let t=(0,e.i(475254).f)("target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);e.s(["f",0,t],620278)},25652,e=>{let t=(0,e.i(475254).f)("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]);e.s(["f",0,t],25652)},590546,e=>{var t=e.i(843476),s=e.i(618566),a=e.i(519455),r=e.i(871689);e.s(["f",0,function({fallbackUrl:e,className:i}){let c=(0,s.useRouter)();return(0,t.jsx)(a.f,{variant:"ghost",size:"icon",onClick:()=>{c.push(e)},className:i,children:(0,t.jsx)(r.f,{className:"h-5 w-5"})})}])},515288,e=>{var t=e.i(843476),s=e.i(975157);e.s(["N",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card",className:(0,s.f)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...a})},"O",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,s.f)("px-6",e),...a})},"u",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,s.f)("text-muted-foreground text-sm",e),...a})},"Y",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,s.f)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...a})},"v",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,s.f)("leading-none font-semibold",e),...a})}])},393842,e=>{var t=e.i(843476),s=e.i(590546),a=e.i(975157);e.s(["f",0,function({title:e,description:r,backHref:i,actions:c,titleAddon:l,className:n}){return(0,t.jsxs)("div",{className:(0,a.f)("flex items-start gap-3",n),children:[i&&(0,t.jsx)(s.f,{fallbackUrl:i,className:"-ml-2 shrink-0"}),(0,t.jsxs)("div",{className:"min-w-0 flex-1 space-y-1",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)("h1",{className:"truncate text-2xl font-bold tracking-tight sm:text-3xl",children:e}),l]}),r&&(0,t.jsx)("p",{className:"text-sm text-muted-foreground sm:text-base",children:r})]}),c&&(0,t.jsx)("div",{className:"flex shrink-0 items-center gap-2",children:c})]})}])},35209,e=>{var t=e.i(271645),s=e.i(111110);e.s(["f",0,function(...e){let{t:a}=(0,s.b)(),r=[a.pageTitle.base,...e.map(e=>"string"==typeof e?e.trim():"").filter(e=>e.length>0)].join("-");(0,t.useEffect)(()=>{document.title=r},[r])}])}])})();
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,204573,e=>{"use strict";var t=e.i(843476),a=e.i(271645),s=e.i(522016),r=e.i(618566),i=e.i(871689),n=e.i(475254);let l=(0,n.f)("file-question-mark",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3",key:"mhlwft"}]]);var o=e.i(16715),c=e.i(727612),d=e.i(469937),m=e.i(72664),u=e.i(531278),x=e.i(3198),g=e.i(519455),h=e.i(111110),f=e.i(41931),p=e.i(303163),j=e.i(201276);function v({errorItemId:e,commands:s,onUpdate:r}){let{t:i}=(0,h.b)(),[n,l]=(0,a.useState)(!1),[o,c]=(0,a.useState)(null),d=async()=>{l(!0),c(null);try{let t=await f.f.post(`/api/error-items/${e}/geogebra`,{});t.suitable&&t.commands.length>0?r({geogebraCommands:JSON.stringify(t.commands)}):c(t.description||i.geogebra.notSuitable)}catch(t){j.f.error("[ErrorDetail]","GeoGebra analysis failed",{error:t});let e=(0,p.d)(t)||(0,p.Z)(t);e.includes("AI_AUTH_ERROR")?c(i.geogebra.authFailed):e.includes("AI_CONNECTION")?c(i.geogebra.connectionFailed):c(i.geogebra.analyzeFailed)}finally{l(!1)}},y=async t=>{await f.f.put(`/api/error-items/${e}`,{geogebraCommands:t}),r({geogebraCommands:t})},b=async()=>{await f.f.delete(`/api/error-items/${e}/geogebra`),r({geogebraCommands:null})};return s?(0,t.jsx)(x.f,{commands:s,height:700,showToolBar:!0,showAlgebraInput:!1,showMenuBar:!1,onRegenerate:d,onSaveCommands:y,onDelete:b}):(0,t.jsxs)("div",{className:"rounded-lg border border-dashed p-4",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(m.f,{className:"h-4 w-4"}),(0,t.jsx)("span",{children:i.geogebra.title})]}),(0,t.jsx)(g.f,{variant:"outline",size:"sm",onClick:d,disabled:n,children:n?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u.f,{className:"mr-2 h-4 w-4 animate-spin"}),i.geogebra.analyzing]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.f,{className:"mr-2 h-4 w-4"}),i.geogebra.generate]})})]}),o&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground mt-2",children:o}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground mt-2",children:i.geogebra.hint})]})}function y({src:e,onClose:a}){let{t:s}=(0,h.b)();return e?(0,t.jsx)("div",{className:"fixed inset-0 z-50 bg-black/90 flex items-center justify-center p-4",onClick:a,children:(0,t.jsxs)("div",{className:"relative max-w-7xl max-h-full",children:[(0,t.jsx)("button",{className:"absolute -top-12 right-0 text-white hover:text-gray-300 text-lg font-semibold bg-black/50 px-4 py-2 rounded",onClick:a,children:s.detail?.close||"✕ Close"}),(0,t.jsx)("img",{src:e,alt:"Full size",className:"max-w-full max-h-[90vh] object-contain rounded-lg",onClick:e=>e.stopPropagation()}),(0,t.jsx)("p",{className:"text-center text-white/70 text-sm mt-4",children:s.detail?.clickOutside||"Click outside to close"})]})}):null}var b=e.i(141176),w=e.i(511445),N=e.i(515288);let k=(0,n.f)("square-pen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);var S=e.i(356909),A=e.i(37727);function C({onClick:e,label:a}){let{t:s}=(0,h.b)();return(0,t.jsxs)(g.f,{variant:"ghost",size:"sm",onClick:e,children:[(0,t.jsx)(k,{className:"h-4 w-4 mr-1"}),a||s.common?.edit||"Edit"]})}function I({onSave:e,onCancel:a,children:s}){let{t:r}=(0,h.b)();return(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsxs)(g.f,{size:"sm",onClick:e,children:[(0,t.jsx)(S.f,{className:"h-4 w-4 mr-1"}),r.common?.save||"Save"]}),(0,t.jsxs)(g.f,{size:"sm",variant:"outline",onClick:a,children:[(0,t.jsx)(A.X,{className:"h-4 w-4 mr-1"}),r.common?.cancel||"Cancel"]}),s]})}function L({title:e,actions:a}){return(0,t.jsxs)("div",{className:"flex justify-between items-center",children:[e,a]})}var F=e.i(294114);function T({read:e,save:t,logLabel:s,successMessage:r,failureMessage:i}){let{t:n}=(0,h.b)(),[l,o]=(0,a.useState)(!1),[c,d]=(0,a.useState)(e),m=async()=>{try{await t(c),o(!1),F.c.success(r||n.common?.messages?.saveSuccess||"Saved successfully")}catch(e){j.f.error("[ErrorDetail]",`Failed to save ${s}`,{error:e}),F.c.error(i||n.common?.messages?.saveFailed||"Save failed")}};return{editing:l,value:c,setValue:d,start:()=>{d(e()),o(!0)},cancel:()=>o(!1),submit:m}}function E({title:e,value:a,onSave:s,logLabel:r,rows:i,placeholder:n,editorLabel:l,emptyText:o,cardClassName:c,titleClassName:d,contentClassName:m,headerActions:u,children:x}){let g=T({read:()=>a||"",save:s,logLabel:r}),h=(0,t.jsx)(b.f,{value:g.value,onChange:g.setValue,placeholder:n,rows:i,className:"w-full font-mono text-sm"});return(0,t.jsxs)(N.N,{className:c,children:[(0,t.jsx)(N.Y,{children:(0,t.jsx)(L,{title:(0,t.jsx)(N.v,{className:d,children:e}),actions:!g.editing&&(0,t.jsxs)("div",{className:"flex flex-wrap justify-end",children:[u,(0,t.jsx)(C,{onClick:g.start})]})})}),(0,t.jsxs)(N.O,{className:"space-y-4",children:[g.editing?(0,t.jsxs)("div",{className:"space-y-3",children:[l?(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("label",{className:"text-sm text-muted-foreground",children:l}),h]}):h,(0,t.jsx)(I,{onSave:g.submit,onCancel:g.cancel})]}):!a&&o?(0,t.jsx)("p",{className:"text-sm text-muted-foreground italic",children:o}):(0,t.jsx)(w.f,{content:a,className:m}),x]})]})}var M=e.i(624687);function $({item:e,onUpdate:a}){let{t:s}=(0,h.b)(),r=T({read:()=>e.userNotes||"",save:async t=>{await f.f.patch(`/api/error-items/${e.id}/notes`,{userNotes:t}),a({userNotes:t})},logLabel:"notes",successMessage:s.common?.messages?.noteSaveSuccess||"Notes saved successfully"});return(0,t.jsxs)(N.N,{children:[(0,t.jsx)(N.Y,{children:(0,t.jsx)(L,{title:(0,t.jsx)(N.v,{children:s.detail.yourNotes}),actions:!r.editing&&(0,t.jsx)(C,{onClick:r.start,label:s.detail.editNotes})})}),(0,t.jsx)(N.O,{children:r.editing?(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)(M.f,{value:r.value,onChange:e=>r.setValue(e.target.value),placeholder:s.detail.notesPlaceholder||"Enter your notes...",rows:5,className:"w-full"}),(0,t.jsx)(I,{onSave:r.submit,onCancel:r.cancel})]}):(0,t.jsx)("div",{className:"whitespace-pre-wrap",children:e.userNotes?(0,t.jsx)("p",{className:"text-foreground",children:e.userNotes}):(0,t.jsx)("p",{className:"text-muted-foreground italic",children:s.detail.noNotes})})})]})}var z=e.i(149704);let O=(0,n.f)("shapes",[["path",{d:"M8.3 10a.7.7 0 0 1-.626-1.079L11.4 3a.7.7 0 0 1 1.198-.043L16.3 8.9a.7.7 0 0 1-.572 1.1Z",key:"1bo67w"}],["rect",{x:"3",y:"14",width:"7",height:"7",rx:"1",key:"1bkyp8"}],["circle",{cx:"17.5",cy:"17.5",r:"3.5",key:"w3z12y"}]]);function U({errorItemId:e,onDone:s}){let{t:r}=(0,h.b)(),[i,n]=(0,a.useState)(!1),l=async()=>{n(!0);try{let t=await f.f.post(`/api/error-items/${e}/figure`,{});s(t),t.figureSvg||F.c.warning(r.figure.noFigure)}catch(a){let e=a?.data?.message||"",t=r.errors[e];j.f.error("[RegenerateFigure]","Failed to regenerate figure",{code:e}),F.c.error("NO_ORIGINAL_IMAGE"===e?r.figure.noImage:"string"==typeof t?t:r.figure.failed)}finally{n(!1)}};return(0,t.jsxs)(g.f,{variant:"outline",size:"sm",onClick:l,disabled:i,className:"flex items-center gap-2",children:[i?(0,t.jsx)(u.f,{className:"h-4 w-4 animate-spin"}):(0,t.jsx)(O,{className:"h-4 w-4"}),i?r.figure.regenerating:r.figure.regenerate]})}let D=(0,n.f)("image-plus",[["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 2v6",key:"4bpg5p"}],["path",{d:"M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5",key:"1ue2ih"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]]);var V=e.i(12130),R=e.i(28928);function q({errorItemId:e,hasImage:s,onDone:r}){let{t:i}=(0,h.b)(),n=(0,a.useRef)(null),[l,o]=(0,a.useState)(!1),[c,d]=(0,a.useState)(null);(0,a.useEffect)(()=>()=>{c&&URL.revokeObjectURL(c)},[c]);let m=async()=>{(!s||await (0,F.u)(i.replaceImage.confirm))&&n.current?.click()},x=async t=>{d(null),o(!0);try{let a=new File([t],"question-image.jpg",{type:t.type||"image/jpeg"}),s=await (0,R.f)(a),n=await f.f.put(`/api/error-items/${e}/image`,{imageDataUrl:s});r(n.originalImageUrl),F.c.success(i.replaceImage.done)}catch(t){let e=t?.data?.message||"";j.f.error("[ReplaceImage]","Failed to replace original image",{code:e}),F.c.error("INVALID_IMAGE"===e?i.replaceImage.invalid:i.replaceImage.failed)}finally{o(!1)}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("input",{ref:n,type:"file",accept:"image/png,image/jpeg,image/webp,image/gif",className:"hidden",onChange:e=>{(e=>{if(e){if(!e.type.startsWith("image/"))return F.c.error(i.replaceImage.invalid);d(URL.createObjectURL(e))}})(e.target.files?.[0]),e.target.value=""}}),c&&(0,t.jsx)(V.f,{imageSrc:c,open:!0,onClose:()=>d(null),onCropComplete:x}),(0,t.jsxs)(g.f,{variant:"outline",size:"sm",onClick:m,disabled:l,className:"flex items-center gap-2",children:[l?(0,t.jsx)(u.f,{className:"h-4 w-4 animate-spin"}):(0,t.jsx)(D,{className:"h-4 w-4"}),l?i.replaceImage.uploading:s?i.replaceImage.replace:i.replaceImage.add]})]})}var P=e.i(438465),_=e.i(793479),G=e.i(967489),B=e.i(943710);function H({item:e,onChanged:a}){let{t:s}=(0,h.b)(),r=s.common?.notSet||"Not set",i=T({read:()=>({subjectId:e.subjectId||null,gradeSemester:e.gradeSemester||"",paperLevel:e.paperLevel||(0,B.f)(e.difficultyStars)||"a"}),save:async t=>{await f.f.put(`/api/error-items/${e.id}`,{...t,subjectId:t.subjectId||null}),await a()},logLabel:"metadata",successMessage:s.common?.messages?.metaUpdateSuccess||"Metadata updated successfully!",failureMessage:s.common?.messages?.updateFailed||"Update failed"}),n=e=>i.setValue({...i.value,...e});return(0,t.jsxs)("div",{className:"space-y-2 pt-4 border-t",children:[(0,t.jsx)(L,{title:(0,t.jsx)("h4",{className:"text-sm font-semibold",children:s.detail?.questionInfo||"Question Info"}),actions:!i.editing&&(0,t.jsx)(C,{onClick:i.start})}),i.editing?(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("label",{className:"text-sm text-muted-foreground",children:s.notebooks?.title||"Notebook"}),(0,t.jsx)(P.f,{value:i.value.subjectId||void 0,onChange:e=>n({subjectId:e})})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("label",{className:"text-sm text-muted-foreground",children:s.filter.grade}),(0,t.jsx)(_.f,{value:i.value.gradeSemester,onChange:e=>n({gradeSemester:e.target.value}),placeholder:s.notebook?.gradeSemesterPlaceholder||"e.g. Grade 7, Semester 1"})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("label",{className:"text-sm text-muted-foreground",children:s.filter.paperLevel}),(0,t.jsxs)(G.d,{value:i.value.paperLevel,onValueChange:e=>n({paperLevel:e}),children:[(0,t.jsx)(G.P,{children:(0,t.jsx)(G.U,{})}),(0,t.jsxs)(G.r,{children:[(0,t.jsx)(G.T,{value:"a",children:s.editor.paperLevels?.a||"Paper A"}),(0,t.jsx)(G.T,{value:"b",children:s.editor.paperLevels?.b||"Paper B"}),(0,t.jsx)(G.T,{value:"other",children:s.editor.paperLevels?.other||"Other"})]})]})]}),(0,t.jsx)(I,{onSave:i.submit,onCancel:i.cancel})]}):(0,t.jsxs)("div",{className:"space-y-2 text-sm",children:[(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsxs)("span",{className:"text-muted-foreground",children:[s.notebooks?.title||"Notebook",":"]}),(0,t.jsx)("span",{className:"font-medium",children:e.subject?.name||r})]}),(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsxs)("span",{className:"text-muted-foreground",children:[s.filter.grade,":"]}),(0,t.jsx)("span",{className:"font-medium",children:e.gradeSemester||r})]}),(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsxs)("span",{className:"text-muted-foreground",children:[s.filter.paperLevel,":"]}),(0,t.jsx)("span",{className:"font-medium",children:e.paperLevel?s.editor.paperLevels?.[e.paperLevel]||e.paperLevel:r})]})]})]})}var W=e.i(487486),X=e.i(283086);function K({errorItemId:e,onDone:s,onSuggested:r}){let{t:i}=(0,h.b)(),[n,l]=(0,a.useState)(!1),o=async()=>{l(!0);try{if(r){let t=await f.f.post(`/api/error-items/${e}/retag`,{preview:!0});r(t.tags)}else await f.f.post(`/api/error-items/${e}/retag`,{}),s?.()}catch(a){let e=a?.data?.message||"",t=i.errors[e];j.f.error("[RetagItem]","Failed to regenerate tags",{code:e}),F.c.error("NO_TAGS_SELECTED"===e?i.retag.noTags:"string"==typeof t?t:i.retag.itemFailed)}finally{l(!1)}};return(0,t.jsxs)(g.f,{variant:"ghost",size:"sm",onClick:o,disabled:n,children:[n?(0,t.jsx)(u.f,{className:"h-4 w-4 mr-1 animate-spin"}):(0,t.jsx)(X.f,{className:"h-4 w-4 mr-1"}),r?n?i.retag.suggestRunning:i.retag.suggestButton:n?i.retag.itemRunning:i.retag.itemButton]})}var Q=e.i(574041),Z=e.i(952122),Y=e.i(990745);function J({item:e,educationStage:a,onChanged:s}){let{t:r}=(0,h.b)(),i=(0,Y.f)(e),n=T({read:()=>(0,Y.f)(e),save:async t=>{await f.f.put(`/api/error-items/${e.id}`,{knowledgePoints:t}),await s()},logLabel:"tags",successMessage:r.common?.messages?.tagUpdateSuccess||"Tags updated successfully!",failureMessage:r.common?.messages?.updateFailed||"Update failed"});return(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(L,{title:(0,t.jsx)("h4",{className:"text-sm font-semibold",children:r.editor?.tags||"Knowledge Tags"}),actions:!n.editing&&(0,t.jsxs)("div",{className:"flex",children:[(0,t.jsx)(K,{errorItemId:e.id,onDone:s}),(0,t.jsx)(C,{onClick:n.start})]})}),n.editing?(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)(Q.f,{value:n.value,onChange:n.setValue,placeholder:r.editor?.tagsPlaceholder||"Enter or select knowledge tags...",subject:(0,Z.f)(e.subject?.name||null)||void 0,gradeStage:a}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:r.editor?.tagsHint||"Select from standard or custom tags"}),(0,t.jsx)(I,{onSave:n.submit,onCancel:n.cancel,children:(0,t.jsx)(K,{errorItemId:e.id,onSuggested:n.setValue})})]}):(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:i.map(e=>(0,t.jsx)(W.f,{variant:"secondary",children:e},e))})]})}var ee=e.i(77705);let et=(0,n.f)("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);function ea({src:e,alt:a,showLabel:s,hideLabel:r,visible:i,onVisibleChange:n,onEnlarge:l,variant:o="ghost",actions:c}){let{t:d}=(0,h.b)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[e&&(0,t.jsx)(g.f,{variant:o,size:"sm",onClick:()=>n(!i),className:`flex items-center gap-2 ${"ghost"===o?"text-muted-foreground":""}`,children:i?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ee.f,{className:"h-4 w-4"}),r]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(et,{className:"h-4 w-4"}),s]})}),c]}),e&&i&&(0,t.jsxs)("div",{className:"mt-4",children:[(0,t.jsx)("img",{src:e,alt:a,className:"w-full rounded-lg border cursor-pointer hover:opacity-90 transition-opacity",onClick:()=>l(e)}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground mt-1 text-center",children:d.detail?.clickToEnlarge||"Click to enlarge"})]})]})}function es({item:e,educationStage:s,saveFields:r,onUpdate:i,reload:n,onEnlarge:l}){let{t:o}=(0,h.b)(),[c,d]=(0,a.useState)(!1),m=T({read:()=>e.questionText,save:e=>r({questionText:e}),logLabel:"question"});return(0,t.jsxs)(N.N,{children:[(0,t.jsx)(N.Y,{children:(0,t.jsx)(L,{title:(0,t.jsx)(N.v,{children:o.detail.question}),actions:!m.editing&&(0,t.jsx)(C,{onClick:m.start})})}),(0,t.jsxs)(N.O,{className:"space-y-4",children:[m.editing?(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)(b.f,{value:m.value,onChange:m.setValue,placeholder:"Enter question text...",rows:8,className:"w-full font-mono text-sm"}),(0,t.jsx)(I,{onSave:m.submit,onCancel:m.cancel})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(w.f,{content:e.questionText}),(0,t.jsx)(z.f,{svg:e.figureSvg})]}),(0,t.jsx)(J,{item:e,educationStage:s,onChanged:n}),(0,t.jsx)(H,{item:e,onChanged:n}),(0,t.jsx)("div",{className:"pt-3",children:(0,t.jsx)(ea,{src:e.originalImageUrl,alt:o.detail.originalProblem||"Original Problem",showLabel:o.replaceImage?.view||"View original image",hideLabel:o.replaceImage?.hide||"Hide original image",variant:"outline",visible:c,onVisibleChange:d,onEnlarge:l,actions:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(q,{errorItemId:e.id,hasImage:!!e.originalImageUrl,onDone:e=>{i({originalImageUrl:e}),d(!0)}}),e.originalImageUrl&&(0,t.jsx)(U,{errorItemId:e.id,onDone:i})]})})})]})]})}var er=e.i(62825);function ei({item:e,saveFields:s,onEnlarge:r}){let{t:i,language:n}=(0,h.b)(),[l,o]=(0,a.useState)(!1),c=T({read:()=>({text:e.wrongAnswerText||"",status:e.mistakeStatus||"unknown"}),save:({text:e,status:t})=>s({wrongAnswerText:e,mistakeStatus:(0,er.x)(t,e)}),logLabel:"wrong answer"});return(0,t.jsxs)(N.N,{children:[(0,t.jsx)(N.Y,{children:(0,t.jsx)(L,{title:(0,t.jsx)(N.v,{children:i.editor?.wrongAnswerText||"Wrong Answer / Work"}),actions:!c.editing&&(0,t.jsx)(C,{onClick:c.start})})}),(0,t.jsx)(N.O,{className:"space-y-4",children:c.editing?(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("label",{className:"text-sm text-muted-foreground",children:i.editor?.mistakeStatus||"Attempt Status"}),(0,t.jsxs)(G.d,{value:c.value.status,onValueChange:e=>c.setValue({...c.value,status:e}),children:[(0,t.jsx)(G.P,{children:(0,t.jsx)(G.U,{})}),(0,t.jsxs)(G.r,{children:[(0,t.jsx)(G.T,{value:"not_attempted",children:i.editor?.mistakeStatuses?.notAttempted||"Not attempted"}),(0,t.jsx)(G.T,{value:"wrong_attempt",children:i.editor?.mistakeStatuses?.wrongAttempt||"Wrong attempt"}),(0,t.jsx)(G.T,{value:"unknown",children:i.editor?.mistakeStatuses?.unknown||"Unknown"})]})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("label",{className:"text-sm text-muted-foreground",children:i.editor?.wrongAnswerText||"Wrong Answer / Work"}),(0,t.jsx)(b.f,{value:c.value.text,onChange:e=>c.setValue({text:e,status:e.trim()?"wrong_attempt":c.value.status}),rows:5,className:"w-full font-mono text-sm"})]}),(0,t.jsx)(I,{onSave:c.submit,onCancel:c.cancel})]}):(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)(W.f,{variant:"secondary",children:(0,er.i)(e.mistakeStatus,n)}),e.wrongAnswerText?(0,t.jsx)(w.f,{content:e.wrongAnswerText}):(0,t.jsx)("p",{className:"text-sm text-muted-foreground italic",children:i.detail?.noMistakeAnalysis||"No mistake analysis yet."}),e.wrongAnswerImageUrl&&(0,t.jsx)("div",{className:"pt-3",children:(0,t.jsx)(ea,{src:e.wrongAnswerImageUrl,alt:i.detail.wrongAnswerImageAlt,showLabel:i.detail.viewImage,hideLabel:i.detail.hideImage,visible:l,onVisibleChange:o,onEnlarge:r})})]})})]})}let en=(0,n.f)("square-function",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M9 17c2 0 2.8-1 2.8-2.8V10c0-2 1-3.3 3.2-3",key:"m1af9g"}],["path",{d:"M9 11.2h5.7",key:"3zgcl2"}]]);var el=e.i(716400),eo=e.i(369939);let ec=new Set(["ne","neq","nabla","nu","not","notin","ni","nexists","ngeq","nleq","nmid","nparallel","nsubseteq"]);function ed(e){return e.length>80?`${e.slice(0,80)}…`:e}let em=["questionText","answerText","analysis","wrongAnswerText","mistakeAnalysis"];function eu({errorItemId:e,fields:s,onDone:r}){let{t:i}=(0,h.b)(),[n,l]=(0,a.useState)(!1),o=(0,a.useMemo)(()=>Object.values(function(e){let t={};for(let a of em){let s=function(e){if(!e?.trim())return[];let{masked:t,segments:a}=(0,eo.F)(e),s=[];for(let e of a)try{el.f.renderToString(e.tex,{displayMode:e.displayMode,throwOnError:!0,strict:"ignore"})}catch(a){let t=a instanceof Error?a.message.replace(/^KaTeX parse error:\s*/,""):String(a);s.push({snippet:ed(e.source),message:t})}let r=t.replace(/@@MATH\d+@@/g," "),i=r.replace(/\\\$/g,"").match(/\$/g);i&&s.push({snippet:"$",message:`有 ${i.length} 个未配对的 $ 定界符`});let n=r.match(/\\[()[\]]/g);n&&s.push({snippet:n.join(" "),message:"有未配对的 \\( \\) 或 \\[ \\] 定界符"});let l=[...new Set(r.match(/\\[a-zA-Z]{2,}/g)||[])].filter(e=>!e.startsWith("\\n")||ec.has(e.slice(1)));return l.length>0&&s.push({snippet:ed(l.join(" ")),message:"LaTeX 命令没有放在 $…$ 中,会原样显示"}),s}(e[a]);s.length>0&&(t[a]=s)}return t}(s)).reduce((e,t)=>e+(t?.length??0),0),[s]),c=async()=>{l(!0);try{let t=await f.f.post(`/api/error-items/${e}/fix-latex`,{},{timeout:3e5});r(t.updated);let a=t.fixedFields.map(e=>i.fixLatex.fields[e]).join("、");F.c.info(0===t.issuesBefore?i.fixLatex.noIssues:0===t.fixedFields.length?i.fixLatex.notFixed:0===t.issuesAfter?i.fixLatex.fixedAll.replace("{fields}",a):i.fixLatex.fixedPartly.replace("{fields}",a).replace("{count}",String(t.issuesAfter)))}catch(a){let e=a?.data?.message||"",t=i.errors[e];j.f.error("[FixLatex]","Failed to fix LaTeX",{code:e}),F.c.error("string"==typeof t?t:i.fixLatex.failed)}finally{l(!1)}};return 0!==o||n?(0,t.jsxs)(g.f,{variant:"outline",size:"sm",onClick:c,disabled:n,className:"border-amber-500 text-amber-700 dark:text-amber-400",title:i.fixLatex.issuesFound.replace("{count}",String(o)),children:[n?(0,t.jsx)(u.f,{className:"mr-2 h-4 w-4 animate-spin"}):(0,t.jsx)(en,{className:"mr-2 h-4 w-4"}),n?i.fixLatex.running:i.fixLatex.button,!n&&o>0&&(0,t.jsxs)("span",{className:"ml-1",children:["(",o,")"]})]}):null}var ex=e.i(991686),eg=e.i(846968),eh=e.i(868983);function ef({errorItemId:e,onDone:s}){let{t:r,language:i}=(0,h.b)(),[n,l]=(0,a.useState)(!1),o=async()=>{if(await (0,F.u)(r.reanswerItem.confirm)){l(!0);try{let t=await f.f.post(`/api/error-items/${e}/reanswer`,{language:i},{timeout:6e5});s(t)}catch(a){let e=a?.data?.message||"",t=r.errors[e];j.f.error("[RegenerateAnswer]","Failed to regenerate answer",{code:e}),F.c.error("NO_QUESTION_TEXT"===e?r.reanswerItem.noQuestionText:"string"==typeof t?t:r.reanswerItem.failed)}finally{l(!1)}}};return(0,t.jsxs)(g.f,{variant:"ghost",size:"sm",onClick:o,disabled:n,children:[n?(0,t.jsx)(u.f,{className:"h-4 w-4 mr-1 animate-spin"}):(0,t.jsx)(eh.f,{className:"h-4 w-4 mr-1"}),n?r.reanswerItem.running:r.reanswerItem.button]})}var ep=e.i(643531);let ej=(0,n.f)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);function ev({shortId:e,className:s=""}){let{t:r}=(0,h.b)(),[i,n]=(0,a.useState)(!1);if(!e)return null;let l=async t=>{t.preventDefault(),t.stopPropagation();try{await navigator.clipboard.writeText(e),n(!0),setTimeout(()=>n(!1),1500)}catch{window.prompt(r.shortId.copy,e)}};return(0,t.jsxs)("button",{type:"button",onClick:l,title:i?r.shortId.copied:r.shortId.copy,className:`inline-flex items-center gap-1 rounded-md border bg-muted/50 px-2 py-0.5 font-mono text-xs text-muted-foreground hover:text-foreground transition-colors ${s}`,children:[(0,t.jsx)("span",{children:r.shortId.label}),(0,t.jsx)("span",{className:"font-semibold text-foreground",children:e}),i?(0,t.jsx)(ep.f,{className:"h-3 w-3 text-green-600"}):(0,t.jsx)(ej,{className:"h-3 w-3"})]})}let ey=(0,n.f)("clapperboard",[["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z",key:"1tn4o7"}],["path",{d:"m6.2 5.3 3.1 3.9",key:"iuk76l"}],["path",{d:"m12.4 3.4 3.1 4",key:"6hsd6n"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z",key:"ltgou9"}]]),eb=(0,n.f)("maximize",[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]]),ew=(0,n.f)("minimize",[["path",{d:"M8 3v3a2 2 0 0 1-2 2H3",key:"hohbtr"}],["path",{d:"M21 8h-3a2 2 0 0 1-2-2V3",key:"5jw1f3"}],["path",{d:"M3 16h3a2 2 0 0 1 2 2v3",key:"198tvr"}],["path",{d:"M16 21v-3a2 2 0 0 1 2-2h3",key:"ph8mxp"}]]),eN=(0,n.f)("pause",[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]]),ek=(0,n.f)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]);var eS=e.i(367240);let eA=/<(?:animate|animateTransform|animateMotion|set)\b[^>]*>/gi;function eC(e,t){let a=e.match(RegExp(`\\s${t}\\s*=\\s*("([^"]*)"|'([^']*)')`,"i"));return a?(a[2]??a[3]??"").trim():null}function eI(e){if(!e)return null;let t=e.trim(),a=t.match(/^(?:(\d+):)?(\d+):(\d+(?:\.\d+)?)$/);if(a)return 3600*Number(a[1]??0)+60*Number(a[2])+Number(a[3]);let s=t.match(/^(\d+(?:\.\d+)?)(h|min|s|ms)?$/);if(!s)return null;let r={h:3600,min:60,s:1,ms:.001}[s[2]??"s"]??1;return Number(s[1])*r}var eL=e.i(975157);function eF(e){let t=Math.max(0,Math.floor(e));return`${Math.floor(t/60)}:${String(t%60).padStart(2,"0")}`}function eT({svg:e}){let{t:s}=(0,h.b)(),r=(0,a.useRef)(null),i=(0,a.useRef)(null),n=(0,a.useRef)(null),[l,o]=(0,a.useState)(!1),[c,d]=(0,a.useState)(0),[m,u]=(0,a.useState)(!1),[x,f]=(0,a.useState)(!1),p=m||x,j=(0,a.useMemo)(()=>(function(e){let t=0;for(let a of e.match(eA)||[]){let e=eC(a,"begin"),s=null===e?0:eI(e.split(";")[0]);if(null===s)continue;let r=eC(a,"repeatCount");if("indefinite"!==r&&"indefinite"!==eC(a,"repeatDur"))t=Math.max(t,s+(eI(eC(a,"dur"))??0)*(r&&Number.isFinite(Number(r))?Number(r):1))}return t})(e),[e]),v=(0,a.useMemo)(()=>(function(e){let t=e.match(/<svg\b[^>]*>/i)?.[0]??"",a=eC(t,"viewBox")?.split(/[\s,]+/).map(Number);if(a?.length===4&&a[2]>0&&a[3]>0)return a[2]/a[3];let s=parseFloat(eC(t,"width")??""),r=parseFloat(eC(t,"height")??"");return s>0&&r>0?s/r:1.6})(e),[e]),y=(0,a.useMemo)(()=>`<!doctype html><html><head><meta charset="utf-8"><meta http-equiv="Content-Security-Policy" content="default-src 'none'; style-src 'unsafe-inline'; img-src data:"><style>html,body{margin:0;height:100%;background:#fff;overflow:hidden}svg{display:block;width:100%;height:100%}</style></head><body>${e}</body></html>`,[e]),b=(0,a.useCallback)(()=>{let e=i.current?.contentDocument;return"function"==typeof e?.getAnimations?e.getAnimations():[]},[]),w=(0,a.useCallback)(()=>{n.current?.pauseAnimations(),b().forEach(e=>e.pause()),o(!1)},[b]),N=(0,a.useCallback)(e=>{n.current?.setCurrentTime(e),b().forEach(t=>{t.currentTime=1e3*e}),d(e)},[b]),k=(0,a.useCallback)(()=>{let e=n.current;e&&(j>0&&e.getCurrentTime()>=j&&N(0),e.unpauseAnimations(),b().forEach(e=>e.play()),o(!0))},[b,j,N]),S=async()=>{if(x)return void f(!1);if(document.fullscreenElement)return void await document.exitFullscreen().catch(()=>void 0);let e=r.current;if(e&&"function"==typeof e.requestFullscreen)try{await e.requestFullscreen();return}catch{}f(!0)};return(0,a.useEffect)(()=>{let e=()=>u(document.fullscreenElement===r.current);return document.addEventListener("fullscreenchange",e),()=>document.removeEventListener("fullscreenchange",e)},[]),(0,a.useEffect)(()=>{if(!x)return;let e=e=>{"Escape"===e.key&&f(!1)},t=document.body.style.overflow;return document.body.style.overflow="hidden",document.addEventListener("keydown",e),()=>{document.body.style.overflow=t,document.removeEventListener("keydown",e)}},[x]),(0,a.useEffect)(()=>{if(!l)return;let e=0,t=()=>{let a=n.current?.getCurrentTime()??0;if(j>0&&a>=j){n.current?.setCurrentTime(j),w(),d(j);return}d(a),e=requestAnimationFrame(t)};return e=requestAnimationFrame(t),()=>cancelAnimationFrame(e)},[l,j,w]),(0,t.jsxs)("div",{ref:r,className:(0,eL.f)("space-y-2",p&&"flex flex-col items-center justify-center bg-black p-4",x&&"fixed inset-0 z-50"),children:[(0,t.jsx)("iframe",{ref:i,srcDoc:y,sandbox:"allow-same-origin",title:s.svgAnimation.alt,onLoad:()=>{n.current=i.current?.contentDocument?.querySelector("svg")??null,d(0),o(!!n.current)},className:(0,eL.f)("mx-auto block rounded border bg-white",!p&&"w-full max-w-3xl"),style:p?{aspectRatio:v,width:`min(100%, calc((100dvh - 96px) * ${v}))`}:{aspectRatio:v}}),(0,t.jsxs)("div",{className:(0,eL.f)("mx-auto flex w-full items-center gap-2",p?"max-w-5xl text-white":"max-w-3xl"),children:[(0,t.jsx)(g.f,{variant:"outline",size:"sm",className:"h-8 w-8 shrink-0 p-0 text-foreground",onClick:l?w:k,"aria-label":l?s.svgAnimation.pause:s.svgAnimation.play,title:l?s.svgAnimation.pause:s.svgAnimation.play,children:l?(0,t.jsx)(eN,{className:"h-4 w-4"}):(0,t.jsx)(ek,{className:"h-4 w-4"})}),(0,t.jsx)(g.f,{variant:"ghost",size:"sm",className:(0,eL.f)("h-8 w-8 shrink-0 p-0",p&&"text-white hover:bg-white/20 hover:text-white"),onClick:()=>{N(0),k()},"aria-label":s.svgAnimation.replay,title:s.svgAnimation.replay,children:(0,t.jsx)(eS.f,{className:"h-4 w-4"})}),j>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("input",{type:"range",min:0,max:j,step:.1,value:Math.min(c,j),onChange:e=>N(Number(e.target.value)),"aria-label":s.svgAnimation.progress,className:"h-2 min-w-0 flex-1 cursor-pointer accent-primary"}),(0,t.jsxs)("span",{className:(0,eL.f)("shrink-0 text-xs tabular-nums",p?"text-white/80":"text-muted-foreground"),children:[eF(c)," / ",eF(j)]})]}),(0,t.jsx)(g.f,{variant:"ghost",size:"sm",className:(0,eL.f)("ml-auto h-8 w-8 shrink-0 p-0",p&&"text-white hover:bg-white/20 hover:text-white"),onClick:S,"aria-label":p?s.svgAnimation.exitFullscreen:s.svgAnimation.fullscreen,title:p?s.svgAnimation.exitFullscreen:s.svgAnimation.fullscreen,children:p?(0,t.jsx)(ew,{className:"h-4 w-4"}):(0,t.jsx)(eb,{className:"h-4 w-4"})})]})]})}function eE({errorItemId:e,svgAnimation:s,hasOtherLanguage:r,onChange:i}){let{t:n,language:l}=(0,h.b)(),[d,m]=(0,a.useState)(!1),[x,p]=(0,a.useState)(!1),[v,y]=(0,a.useState)(null),b=async()=>{m(!0),y(null);try{let t=await f.f.post(`/api/error-items/${e}/svg-animation`,{language:l},{timeout:6e5});i(l,t.svgAnimation)}catch(a){let e=a?.data?.message||"",t=n.errors[e];j.f.error("[SvgAnimation]","Failed to generate SVG animation",{code:e}),y("NO_QUESTION_TEXT"===e?n.svgAnimation.noQuestionText:"NO_VALID_ANIMATION"===e?n.svgAnimation.invalid:"string"==typeof t?t:n.svgAnimation.failed)}finally{m(!1)}},w=async()=>{if(await (0,F.u)(n.svgAnimation.confirmDelete,{destructive:!0})){p(!0);try{await f.f.delete(`/api/error-items/${e}/svg-animation?language=${l}`),i(l,null),y(null)}catch(e){j.f.error("[SvgAnimation]","Failed to delete SVG animation",{error:e instanceof Error?e.message:String(e)}),F.c.error(n.svgAnimation.deleteFailed)}finally{p(!1)}}};if(!s)return(0,t.jsxs)("div",{className:"rounded-lg border border-dashed p-4",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(ey,{className:"h-4 w-4"}),(0,t.jsx)("span",{children:n.svgAnimation.title})]}),(0,t.jsxs)(g.f,{variant:"outline",size:"sm",onClick:b,disabled:d,children:[d?(0,t.jsx)(u.f,{className:"mr-2 h-4 w-4 animate-spin"}):(0,t.jsx)(ey,{className:"mr-2 h-4 w-4"}),d?n.svgAnimation.generating:n.svgAnimation.generate]})]}),v&&(0,t.jsx)("p",{className:"text-xs text-destructive mt-2",children:v}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground mt-2",children:r?n.svgAnimation.otherLanguageAvailable:n.svgAnimation.hint})]});let N=d||x;return(0,t.jsxs)("div",{className:"rounded-lg border bg-card",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2 px-3 py-2 border-b bg-muted/30",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-xs font-medium text-muted-foreground",children:n.svgAnimation.title}),N&&(0,t.jsx)(u.f,{className:"h-3 w-3 animate-spin text-muted-foreground"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsxs)(g.f,{variant:"ghost",size:"sm",className:"h-7 px-2 text-xs gap-1",onClick:b,disabled:N,children:[d?(0,t.jsx)(u.f,{className:"h-3.5 w-3.5 animate-spin"}):(0,t.jsx)(o.f,{className:"h-3.5 w-3.5"}),(0,t.jsx)("span",{children:d?n.svgAnimation.generating:n.svgAnimation.regenerate})]}),(0,t.jsxs)(g.f,{variant:"ghost",size:"sm",className:"h-7 px-2 text-xs gap-1 text-destructive hover:text-destructive",onClick:w,disabled:N,children:[(0,t.jsx)(c.f,{className:"h-3.5 w-3.5"}),(0,t.jsx)("span",{children:n.svgAnimation.delete})]})]})]}),v&&(0,t.jsx)("p",{className:"px-3 pt-2 text-xs text-destructive",children:v}),(0,t.jsx)("div",{className:"p-2 sm:p-3",children:(0,t.jsx)(eT,{svg:s})})]})}var eM=e.i(912505),e$=e.i(86963),ez=e.i(35209);e.s(["default",0,function(){let e=(0,r.useParams)(),n=(0,r.useRouter)(),{t:m,language:u}=(0,h.b)(),[x,p]=(0,a.useState)(null);(0,ez.f)(m.detail.title,x?.subject?.name,x?.shortId);let[b,w]=(0,a.useState)(!0),[N,k]=(0,a.useState)(null),[S,A]=(0,a.useState)(!1),[C,I]=(0,a.useState)(void 0),[L,T]=(0,a.useState)(!1),[M,z]=(0,a.useState)(!0),[O,U]=(0,a.useState)(null),[D,V]=(0,a.useState)(!1),R=(0,a.useCallback)(async e=>{try{let t=await f.f.get(`/api/error-items/${e}`);p(t)}catch(e){j.f.error("[ErrorDetail]","Failed to fetch error item",{error:e}),F.c.error(m.common?.messages?.loadFailed||"Failed to load item"),n.push("/notebooks")}finally{w(!1)}},[n,m]);(0,a.useEffect)(()=>{f.f.get("/api/user").then(e=>{e&&e.educationStage&&I(e.educationStage),T(!!e?.enableGeogebra),z(e?.enableSvgAnimation!==!1)}).catch(e=>j.f.error("[ErrorDetail]","Failed to fetch user info",{error:e})),e.id&&R(e.id)},[e.id,R]);let q=(0,a.useCallback)(e=>{p(t=>t&&{...t,...e})},[]),P=async e=>{x&&(await f.f.put(`/api/error-items/${x.id}`,e),q(e))},_=async()=>{x&&await R(x.id)},G=async e=>{if(!x)return;let t=x.difficultyStars??null;q({difficultyStars:e}),V(!0);try{let t=await f.f.put(`/api/error-items/${x.id}`,{difficultyStars:e});q({paperLevel:t.paperLevel})}catch(e){q({difficultyStars:t}),j.f.error("[ErrorDetail]","Failed to save difficulty",{error:e}),F.c.error(m.difficulty.saveFailed)}finally{V(!1)}},B=(0,a.useCallback)((e,t)=>{q({["en"===e?"svgAnimationEn":"svgAnimation"]:t})},[q]),H=async()=>{if(x&&await (0,F.u)(m.common?.messages?.confirmDelete||"Are you sure you want to delete this error item?",{destructive:!0}))try{await f.f.delete(`/api/error-items/${x.id}/delete`),F.c.success(m.common?.messages?.deleteSuccess||"Deleted successfully"),n.push(x.subjectId?`/notebooks/${x.subjectId}`:"/notebooks")}catch(e){j.f.error("[ErrorDetail]","Failed to delete error item",{error:e}),F.c.error(m.common?.messages?.deleteFailed||"Delete failed")}};return b?(0,t.jsx)(e$.f,{label:m.common.loading}):x?(0,t.jsxs)("main",{className:"min-h-screen",children:[(0,t.jsxs)("div",{className:"mx-auto max-w-6xl space-y-6 px-4 py-6 md:px-8 md:py-8",children:[(0,t.jsxs)("div",{className:"flex flex-col md:flex-row justify-between items-start md:items-center gap-4",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-x-4 gap-y-2",children:[(0,t.jsx)(s.default,{href:x.subjectId?`/notebooks/${x.subjectId}`:"/notebooks",children:(0,t.jsx)(g.f,{variant:"ghost",size:"icon",className:"-ml-2",children:(0,t.jsx)(i.f,{className:"h-5 w-5"})})}),(0,t.jsx)("h1",{className:"text-2xl font-bold tracking-tight",children:m.detail.title}),(0,t.jsx)(ev,{shortId:x.shortId}),(0,t.jsx)(d.f,{size:"md",value:x.difficultyStars,onChange:G,disabled:D})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsx)(eu,{errorItemId:x.id,fields:x,onDone:q}),(0,t.jsx)(s.default,{href:`/practice?id=${x.id}`,children:(0,t.jsxs)(g.f,{variant:"outline",size:"sm",children:[(0,t.jsx)(o.f,{className:"mr-2 h-4 w-4"}),m.detail.practice]})}),O&&(0,t.jsx)(eg.x,{status:O,className:"h-8 self-center px-3"}),(0,t.jsxs)(g.f,{variant:"ghost",size:"sm",onClick:H,className:"text-red-600 hover:text-red-700 hover:bg-red-50",children:[(0,t.jsx)(c.f,{className:"mr-2 h-4 w-4"}),m.detail.delete||"Delete"]})]})]}),(0,t.jsx)(es,{item:x,educationStage:C,saveFields:P,onUpdate:q,reload:_,onEnlarge:k}),(0,t.jsx)(ex.K,{errorItemId:x.id,onMasteryStatusChange:U}),(0,t.jsxs)("div",{className:"grid gap-6 lg:grid-cols-2",children:[(0,t.jsx)(E,{title:m.detail.correctAnswer,value:x.answerText,onSave:e=>P({answerText:e}),logLabel:"answer",rows:5,placeholder:"Enter answer...",cardClassName:"border-primary/20",titleClassName:"text-primary",contentClassName:"font-semibold",headerActions:(0,t.jsx)(ef,{errorItemId:x.id,onDone:e=>q({answerText:e.answerText??"",analysis:e.analysis??""})}),children:x.referenceImageUrl&&(0,t.jsx)("div",{className:"pt-3",children:(0,t.jsx)(ea,{src:x.referenceImageUrl,alt:m.detail.referenceImageAlt,showLabel:m.detail.viewImage,hideLabel:m.detail.hideImage,visible:S,onVisibleChange:A,onEnlarge:k})})}),(0,t.jsx)(ei,{item:x,saveFields:P,onEnlarge:k})]}),(0,t.jsxs)("div",{className:"grid gap-6 lg:grid-cols-2",children:[(0,t.jsx)(E,{title:m.detail.analysis,value:x.analysis,onSave:e=>P({analysis:e}),logLabel:"analysis",rows:12,placeholder:"Enter analysis..."}),(0,t.jsx)(E,{title:m.detail?.mistakeAnalysis||"Mistake Analysis",value:x.mistakeAnalysis,onSave:e=>P({mistakeAnalysis:e}),logLabel:"mistake analysis",rows:8,editorLabel:m.editor?.mistakeAnalysis||"Mistake Cause Analysis",emptyText:m.detail?.noMistakeAnalysis||"No mistake analysis yet."})]}),(0,t.jsxs)("div",{className:"space-y-6",children:[M&&(0,t.jsx)(eE,{errorItemId:x.id,svgAnimation:"en"===u?x.svgAnimationEn:x.svgAnimation,hasOtherLanguage:!!("en"===u?x.svgAnimation:x.svgAnimationEn),onChange:B},u),L&&(0,t.jsx)(v,{errorItemId:x.id,commands:x.geogebraCommands,onUpdate:q}),(0,t.jsx)($,{item:x,onUpdate:q})]})]}),(0,t.jsx)(y,{src:N,onClose:()=>k(null)})]}):(0,t.jsx)(eM.f,{icon:l,title:m.detail.notFound||"Item not found",className:"m-4 md:m-8"})}],204573)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[555682,(e,t,r)=>{r._=function(e){return e&&e.__esModule?e:{default:e}}},190809,(e,t,r)=>{function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}r._=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=u?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(o,i,a):o[i]=e[i]}return o.default=e,r&&r.set(e,o),o}},247167,(e,t,r)=>{var n,o;t.exports=(null==(n=e.g.process)?void 0:n.env)&&"object"==typeof(null==(o=e.g.process)?void 0:o.env)?e.g.process:e.r(935451)},879854,(e,t,r)=>{function n(){throw Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled.")}e.i(247167),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"forbidden",{enumerable:!0,get:function(){return n}}),e.r(754394).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},754394,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});var n={HTTPAccessErrorStatus:function(){return u},HTTP_ERROR_FALLBACK_ERROR_CODE:function(){return a},getAccessFallbackErrorTypeByStatus:function(){return f},getAccessFallbackHTTPStatus:function(){return l},isHTTPAccessFallbackError:function(){return c}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u={NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401},i=new Set(Object.values(u)),a="NEXT_HTTP_ERROR_FALLBACK";function c(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,r]=e.digest.split(";");return t===a&&i.has(Number(r))}function l(e){return Number(e.digest.split(";")[1])}function f(e){switch(e){case 401:return"unauthorized";case 403:return"forbidden";case 404:return"not-found";default:return}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},265713,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isNextRouterError",{enumerable:!0,get:function(){return u}});let n=e.r(754394),o=e.r(968391);function u(e){return(0,o.isRedirectError)(e)||(0,n.isHTTPAccessFallbackError)(e)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},314502,(e,t,r)=>{let n,o;Object.defineProperty(r,"__esModule",{value:!0});var u={useDynamicRouteParams:function(){return n},useDynamicSearchParams:function(){return o}};for(var i in u)Object.defineProperty(r,i,{enumerable:!0,get:u[i]});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},976562,(e,t,r)=>{e.i(247167),Object.defineProperty(r,"__esModule",{value:!0});var n={ReadonlyURLSearchParams:function(){return a.ReadonlyURLSearchParams},RedirectType:function(){return d.RedirectType},ServerInsertedHTMLContext:function(){return f.ServerInsertedHTMLContext},forbidden:function(){return d.forbidden},notFound:function(){return d.notFound},permanentRedirect:function(){return d.permanentRedirect},redirect:function(){return d.redirect},unauthorized:function(){return d.unauthorized},unstable_isUnrecognizedActionError:function(){return s.unstable_isUnrecognizedActionError},unstable_rethrow:function(){return d.unstable_rethrow},useParams:function(){return m},usePathname:function(){return v},useRouter:function(){return h},useSearchParams:function(){return b},useSelectedLayoutSegment:function(){return O},useSelectedLayoutSegments:function(){return g},useServerInsertedHTML:function(){return f.useServerInsertedHTML}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=e.r(190809)._(e.r(271645)),i=e.r(8372),a=e.r(261994),c=e.r(813258),l=e.r(314502),f=e.r(13957),s=e.r(292838),d=e.r(592805),{instrumentParamsForClientValidation:p,instrumentSearchParamsForClientValidation:y,expectCompleteParamsInClientValidation:_}={};function b(){l.useDynamicSearchParams?.("useSearchParams()");let e=(0,u.useContext)(a.SearchParamsContext);return(0,u.useMemo)(()=>e?new a.ReadonlyURLSearchParams(e):null,[e])}function v(){return l.useDynamicRouteParams?.("usePathname()"),(0,u.useContext)(a.PathnameContext)}function h(){let e=(0,u.useContext)(i.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");let t=(0,u.useContext)(i.LayoutRouterContext),r=t?.parentRenderTree.data.bfcacheId??0;return(0,u.useMemo)(()=>({back:e.back,forward:e.forward,refresh:e.refresh,hmrRefresh:e.hmrRefresh,push:e.push,replace:e.replace,prefetch:e.prefetch,experimental_gesturePush:e.experimental_gesturePush,bfcacheId:"_b_"+r+"_"}),[e,r])}function m(){return l.useDynamicRouteParams?.("useParams()"),(0,u.useContext)(a.PathParamsContext)}function g(e="children"){l.useDynamicRouteParams?.("useSelectedLayoutSegments()");let t=(0,u.useContext)(i.LayoutRouterContext);return t?(0,c.getSelectedLayoutSegmentPath)(t.parentTree,e):null}function O(e="children"){l.useDynamicRouteParams?.("useSelectedLayoutSegment()"),(0,u.useContext)(a.NavigationPromisesContext);let t=g(e);return(0,c.computeSelectedLayoutSegment)(t,e)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},592805,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});var n={ReadonlyURLSearchParams:function(){return u.ReadonlyURLSearchParams},RedirectType:function(){return d},forbidden:function(){return c.forbidden},notFound:function(){return a.notFound},permanentRedirect:function(){return i.permanentRedirect},redirect:function(){return i.redirect},unauthorized:function(){return l.unauthorized},unstable_isUnrecognizedActionError:function(){return s},unstable_rethrow:function(){return f.unstable_rethrow}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=e.r(903680),i=e.r(124063),a=e.r(222783),c=e.r(879854),l=e.r(122683),f=e.r(115507);function s(){throw Error("`unstable_isUnrecognizedActionError` can only be used on the client.")}let d={push:"push",replace:"replace"};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},222783,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"notFound",{enumerable:!0,get:function(){return u}});let n=e.r(754394),o=`${n.HTTP_ERROR_FALLBACK_ERROR_CODE};404`;function u(){let e=Error(o);throw e.digest=o,e}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},903680,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ReadonlyURLSearchParams",{enumerable:!0,get:function(){return o}});class n extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class o extends URLSearchParams{append(){throw new n}delete(){throw new n}set(){throw new n}sort(){throw new n}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},968391,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});var n={REDIRECT_ERROR_CODE:function(){return i},isRedirectError:function(){return a}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=e.r(476963),i="NEXT_REDIRECT";function a(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let t=e.digest.split(";"),[r,n]=t,o=t.slice(2,-2).join(";"),a=Number(t.at(-2));return r===i&&("replace"===n||"push"===n)&&"string"==typeof o&&!isNaN(a)&&a in u.RedirectStatusCode}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},476963,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"RedirectStatusCode",{enumerable:!0,get:function(){return o}});var n,o=((n={})[n.SeeOther=303]="SeeOther",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",n);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},124063,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});var n={getRedirectError:function(){return c},getRedirectStatusCodeFromError:function(){return p},getRedirectTypeFromError:function(){return d},getURLFromRedirectError:function(){return s},permanentRedirect:function(){return f},redirect:function(){return l}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=e.r(476963),i=e.r(968391),a=e.r(901425);function c(e,t,r=u.RedirectStatusCode.TemporaryRedirect){let n=Error(i.REDIRECT_ERROR_CODE);return n.digest=`${i.REDIRECT_ERROR_CODE};${t};${e};${r};`,n}function l(e,t){throw c(e,t??=a.actionAsyncStorage?.getStore()?.isAction?"push":"replace",u.RedirectStatusCode.TemporaryRedirect)}function f(e,t="replace"){throw c(e,t,u.RedirectStatusCode.PermanentRedirect)}function s(e){return(0,i.isRedirectError)(e)?e.digest.split(";").slice(2,-2).join(";"):null}function d(e){if(!(0,i.isRedirectError)(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function p(e){if(!(0,i.isRedirectError)(e))throw Error("Not a redirect error");return Number(e.digest.split(";").at(-2))}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},901425,(e,t,r)=>{let n,o,u;Object.defineProperty(r,"__esModule",{value:!0});var i={actionAsyncStorage:function(){return n},workAsyncStorage:function(){return o},workUnitAsyncStorage:function(){return u}};for(var a in i)Object.defineProperty(r,a,{enumerable:!0,get:i[a]});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},122683,(e,t,r)=>{function n(){throw Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled.")}e.i(247167),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unauthorized",{enumerable:!0,get:function(){return n}}),e.r(754394).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},292838,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});var n={UnrecognizedActionError:function(){return u},unstable_isUnrecognizedActionError:function(){return i}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});class u extends Error{constructor(...e){super(...e),this.name="UnrecognizedActionError"}}function i(e){return!!(e&&"object"==typeof e&&e instanceof u)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},115507,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unstable_rethrow",{enumerable:!0,get:function(){return function e(t){if((0,o.isNextRouterError)(t)||(0,n.isBailoutToCSRError)(t))throw t;t instanceof Error&&"cause"in t&&e(t.cause)}}});let n=e.r(132061),o=e.r(265713);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},818800,(e,t,r)=>{var n=e.r(271645);function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(){}var i={d:{f:u,r:function(){throw Error(o(522))},D:u,C:u,L:u,m:u,X:u,S:u,M:u},p:0,findDOMNode:null},a=Symbol.for("react.portal"),c=Symbol.for("react.recoverable"),l=Symbol.for("react.optimistic_key"),f=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function s(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,r.browser=function(e){return{$$typeof:c,_reason:e}},r.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(o(299));return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:a,key:null==n?null:n===l?l:""+n,children:e,containerInfo:t,implementation:r}}(e,t,null,r)},r.flushSync=function(e){var t=f.T,r=i.p;try{if(f.T=null,i.p=2,e)return e()}finally{f.T=t,i.p=r,i.d.f()}},r.preconnect=function(e,t){"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,i.d.C(e,t))},r.prefetchDNS=function(e){"string"==typeof e&&i.d.D(e)},r.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var r=t.as,n=s(r,t.crossOrigin),o="string"==typeof t.integrity?t.integrity:void 0,u="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===r?i.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:n,integrity:o,fetchPriority:u}):"script"===r&&i.d.X(e,{crossOrigin:n,integrity:o,fetchPriority:u,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},r.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var r=s(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0})}}else null==t&&i.d.M(e)},r.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var r=t.as,n=s(r,t.crossOrigin);i.d.L(e,r,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},r.preloadModule=function(e,t){if("string"==typeof e)if(t){var r=s(t.as,t.crossOrigin);i.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0})}else i.d.m(e)},r.requestFormReset=function(e){i.d.r(e)},r.unstable_batchedUpdates=function(e,t){return e(t)},r.useFormState=function(e,t,r){return f.H.useFormState(e,t,r)},r.useFormStatus=function(){return f.H.useHostTransitionStatus()},r.version="19.3.0-canary-278794d7-20261002"},174080,(e,t,r)=>{e.i(247167),!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),t.exports=e.r(818800)},745689,(e,t,r)=>{var n=Symbol.for("react.transitional.element");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var u in r={},t)"key"!==u&&(r[u]=t[u]);else r=t;return{$$typeof:n,type:e,key:o,ref:void 0!==(t=r.ref)?t:null,props:r}}r.Fragment=Symbol.for("react.fragment"),r.jsx=o,r.jsxs=o},350740,(e,t,r)=>{var n=e.i(247167),o=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),f=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),_=Symbol.for("react.activity"),b=Symbol.for("react.view_transition"),v=Symbol.iterator,h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function O(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||h}function R(){}function E(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||h}O.prototype.isReactComponent={},O.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},O.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},R.prototype=O.prototype;var P=E.prototype=new R;P.constructor=E,m(P,O.prototype),P.isPureReactComponent=!0;var S=Array.isArray;function j(){}var T={H:null,A:null,T:null,S:null},C=Object.prototype.hasOwnProperty;function x(e,t,r){var n=r.ref;return{$$typeof:o,type:e,key:t,ref:void 0!==n?n:null,props:r}}function M(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var w=/\/+/g;function A(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function L(e,t,r){if(null==e)return e;var n=[],i=0;return!function e(t,r,n,i,a){var c,l,f,s=typeof t;("undefined"===s||"boolean"===s)&&(t=null);var d=!1;if(null===t)d=!0;else switch(s){case"bigint":case"string":case"number":d=!0;break;case"object":switch(t.$$typeof){case o:case u:d=!0;break;case y:return e((d=t._init)(t._payload),r,n,i,a)}}if(d)return a=a(t),d=""===i?"."+A(t,0):i,S(a)?(n="",null!=d&&(n=d.replace(w,"$&/")+"/"),e(a,r,n,"",function(e){return e})):null!=a&&(M(a)&&(c=a,l=n+(null==a.key||t&&t.key===a.key?"":(""+a.key).replace(w,"$&/")+"/")+d,a=x(c.type,l,c.props)),r.push(a)),1;d=0;var p=""===i?".":i+":";if(S(t))for(var _=0;_<t.length;_++)s=p+A(i=t[_],_),d+=e(i,r,n,s,a);else if("function"==typeof(_=null===(f=t)||"object"!=typeof f?null:"function"==typeof(f=v&&f[v]||f["@@iterator"])?f:null))for(t=_.call(t),_=0;!(i=t.next()).done;)s=p+A(i=i.value,_++),d+=e(i,r,n,s,a);else if("object"===s){if("function"==typeof t.then)return e(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(j,j):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(t),r,n,i,a);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(r=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return d}(e,n,"","",function(e){return t.call(r,e,i++)}),n}function N(e){if(-1===e._status){var t=(0,e._result)();t.then(function(r){(0===e._status||-1===e._status)&&(e._status=1,e._result=r,void 0===t.status&&(t.status="fulfilled",t.value=r))},function(r){(0===e._status||-1===e._status)&&(e._status=2,e._result=r,void 0===t.status&&(t.status="rejected",t.reason=r))}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var D="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof n.default&&"function"==typeof n.default.emit)return void n.default.emit("uncaughtException",e);console.error(e)};function H(e){var t=T.T,r={};r.types=null!==t?t.types:null,T.T=r;try{var n=e(),o=T.S;null!==o&&o(r,n),"object"==typeof n&&null!==n&&"function"==typeof n.then&&n.then(j,D)}catch(e){D(e)}finally{null!==t&&null!==r.types&&(t.types=r.types),T.T=t}}function U(e){var t=T.T;if(null!==t){var r=t.types;null===r?t.types=[e]:-1===r.indexOf(e)&&r.push(e)}else H(U.bind(null,e))}r.Activity=_,r.Children={map:L,forEach:function(e,t,r){L(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return L(e,function(){t++}),t},toArray:function(e){return L(e,function(e){return e})||[]},only:function(e){if(!M(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},r.Component=O,r.Fragment=i,r.Profiler=c,r.PureComponent=E,r.StrictMode=a,r.Suspense=d,r.ViewTransition=b,r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=T,r.__COMPILER_RUNTIME={__proto__:null,c:function(e){return T.H.useMemoCache(e)}},r.addTransitionType=U,r.cache=function(e){return function(){return e.apply(null,arguments)}},r.cacheSignal=function(){return null},r.cloneElement=function(e,t,r){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var n=m({},e.props),o=e.key;if(null!=t)for(u in void 0!==t.key&&(o=""+t.key),t)C.call(t,u)&&"key"!==u&&"__self"!==u&&"__source"!==u&&("ref"!==u||void 0!==t.ref)&&(n[u]=t[u]);var u=arguments.length-2;if(1===u)n.children=r;else if(1<u){for(var i=Array(u),a=0;a<u;a++)i[a]=arguments[a+2];n.children=i}return x(e.type,o,n)},r.createContext=function(e){return(e={$$typeof:f,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:l,_context:e},e},r.createElement=function(e,t,r){var n,o={},u=null;if(null!=t)for(n in void 0!==t.key&&(u=""+t.key),t)C.call(t,n)&&"key"!==n&&"__self"!==n&&"__source"!==n&&(o[n]=t[n]);var i=arguments.length-2;if(1===i)o.children=r;else if(1<i){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+2];o.children=a}if(e&&e.defaultProps)for(n in i=e.defaultProps)void 0===o[n]&&(o[n]=i[n]);return x(e,u,o)},r.createRef=function(){return{current:null}},r.forwardRef=function(e){return{$$typeof:s,render:e}},r.isValidElement=M,r.lazy=function(e){return{$$typeof:y,_payload:{_status:-1,_result:e},_init:N}},r.memo=function(e,t){return{$$typeof:p,type:e,compare:void 0===t?null:t}},r.startTransition=H,r.unstable_useCacheRefresh=function(){return T.H.useCacheRefresh()},r.use=function(e){return T.H.use(e)},r.useActionState=function(e,t,r){return T.H.useActionState(e,t,r)},r.useCallback=function(e,t){return T.H.useCallback(e,t)},r.useContext=function(e){return T.H.useContext(e)},r.useDebugValue=function(){},r.useDeferredValue=function(e,t){return T.H.useDeferredValue(e,t)},r.useEffect=function(e,t){return T.H.useEffect(e,t)},r.useEffectEvent=function(e){return T.H.useEffectEvent(e)},r.useId=function(){return T.H.useId()},r.useImperativeHandle=function(e,t,r){return T.H.useImperativeHandle(e,t,r)},r.useInsertionEffect=function(e,t){return T.H.useInsertionEffect(e,t)},r.useLayoutEffect=function(e,t){return T.H.useLayoutEffect(e,t)},r.useMemo=function(e,t){return T.H.useMemo(e,t)},r.useOptimistic=function(e,t){return T.H.useOptimistic(e,t)},r.useReducer=function(e,t,r){return T.H.useReducer(e,t,r)},r.useRef=function(e){return T.H.useRef(e)},r.useState=function(e){return T.H.useState(e)},r.useSyncExternalStore=function(e,t,r){return T.H.useSyncExternalStore(e,t,r)},r.useTransition=function(){return T.H.useTransition()},r.version="19.3.0-canary-278794d7-20261002"},271645,(e,t,r)=>{e.i(247167),t.exports=e.r(350740)},843476,(e,t,r)=>{e.i(247167),t.exports=e.r(745689)},8372,(e,t,r)=>{e.i(247167),Object.defineProperty(r,"__esModule",{value:!0});var n={AppRouterContext:function(){return i},GlobalLayoutRouterContext:function(){return c},LayoutRouterContext:function(){return a},MissingSlotContext:function(){return f},TemplateContext:function(){return l}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=e.r(555682)._(e.r(271645)),i=u.default.createContext(null),a=u.default.createContext(null),c=u.default.createContext(null),l=u.default.createContext(null),f=u.default.createContext(new Set)},261994,(e,t,r)=>{e.i(247167),Object.defineProperty(r,"__esModule",{value:!0});var n={NavigationPromisesContext:function(){return f},PathParamsContext:function(){return l},PathnameContext:function(){return c},ReadonlyURLSearchParams:function(){return i.ReadonlyURLSearchParams},SearchParamsContext:function(){return a},createDevToolsInstrumentedPromise:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=e.r(271645),i=e.r(903680),a=(0,u.createContext)(null),c=(0,u.createContext)(null),l=(0,u.createContext)(null),f=(0,u.createContext)(null);function s(e,t){let r=Promise.resolve(t);return r.status="fulfilled",r.value=t,r.displayName=`${e} (SSR)`,r}},132061,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});var n={BailoutToCSRError:function(){return i},isBailoutToCSRError:function(){return a}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u="BAILOUT_TO_CLIENT_SIDE_RENDERING";class i extends Error{constructor(e){super(`Bail out to client-side rendering: ${e}`),this.reason=e,this.digest=u}}function a(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===u}},813258,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});var n={DEFAULT_SEGMENT_KEY:function(){return f},NOT_FOUND_SEGMENT_KEY:function(){return s},PAGE_SEGMENT_KEY:function(){return l},computeSelectedLayoutSegment:function(){return c},getSegmentValue:function(){return u},getSelectedLayoutSegmentPath:function(){return function e(t,r,n=!0,o=[]){let i;if(n)i=t[1][r];else{let e=t[1];i=e.children??Object.values(e)[0]}if(!i)return o;let a=u(i[0]);return a&&a!==l?(o.push(a),e(i,r,!1,o)):o}},isGroupSegment:function(){return i},isParallelRouteSegment:function(){return a}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function u(e){return Array.isArray(e)?e[1]:e}function i(e){return"("===e[0]&&e.endsWith(")")}function a(e){return e.startsWith("@")&&"@children"!==e}function c(e,t){if(!e||0===e.length)return null;let r="children"===t?e[0]:e[e.length-1];return r===f?null:r}let l="__PAGE__",f="__DEFAULT__",s="/_not-found"},13957,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});var n={ServerInsertedHTMLContext:function(){return i},useServerInsertedHTML:function(){return a}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=e.r(190809)._(e.r(271645)),i=u.default.createContext(null);function a(e){let t=(0,u.useContext)(i);t&&t(e)}}],935451,(e,t,r)=>{var n={156:function(e){var t,r,n,o=e.exports={};function u(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}try{t="function"==typeof setTimeout?setTimeout:u}catch(e){t=u}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===u||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}var c=[],l=!1,f=-1;function s(){l&&n&&(l=!1,n.length?c=n.concat(c):f=-1,c.length&&d())}function d(){if(!l){var e=a(s);l=!0;for(var t=c.length;t;){for(n=c,c=[];++f<t;)n&&n[f].run();f=-1,t=c.length}n=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function y(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new p(e,t)),1!==c.length||l||a(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=y,o.addListener=y,o.once=y,o.off=y,o.removeListener=y,o.removeAllListeners=y,o.emit=y,o.prependListener=y,o.prependOnceListener=y,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}}},o={};function u(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}},i=!0;try{n[e](r,r.exports,u),i=!1}finally{i&&delete o[e]}return r.exports}u.ab="/ROOT/node_modules/next/dist/compiled/process/",t.exports=u(156)}]);