wrong-notebook 2026.10.30 → 2026.10.31-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +2 -0
- package/.next/build-manifest.json +14 -3
- package/.next/prerender-manifest.json +3 -3
- package/.next/required-server-files.json +1 -1
- package/.next/routes-manifest.json +40 -1
- package/.next/server/app/_global-error/page.js +3 -3
- package/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js +2 -2
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/page.js +2 -2
- package/.next/server/app/admin/page.js.nft.json +1 -1
- package/.next/server/app/admin/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/user/[id]/page.js +2 -2
- package/.next/server/app/admin/user/[id]/page.js.nft.json +1 -1
- package/.next/server/app/admin/user/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/api/admin/dashboard/route.js +13 -13
- package/.next/server/app/api/admin/dashboard/route.js.nft.json +1 -1
- package/.next/server/app/api/admin/migrate-tags/route.js +5 -5
- package/.next/server/app/api/admin/migrate-tags/route.js.nft.json +1 -1
- package/.next/server/app/api/admin/system-reset/route.js +5 -4
- package/.next/server/app/api/admin/system-reset/route.js.nft.json +1 -1
- package/.next/server/app/api/admin/users/[id]/detail/route.js +13 -13
- package/.next/server/app/api/admin/users/[id]/detail/route.js.nft.json +1 -1
- package/.next/server/app/api/admin/users/[id]/route.js +4 -4
- package/.next/server/app/api/admin/users/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/admin/users/route.js +6 -6
- package/.next/server/app/api/admin/users/route.js.nft.json +1 -1
- package/.next/server/app/api/ai/models/route.js +9 -9
- package/.next/server/app/api/ai/models/route.js.nft.json +1 -1
- package/.next/server/app/api/ai/test/route.js +11 -11
- package/.next/server/app/api/ai/test/route.js.nft.json +1 -1
- package/.next/server/app/api/analytics/route.js +13 -13
- package/.next/server/app/api/analytics/route.js.nft.json +1 -1
- package/.next/server/app/api/analyze/route.js +13 -12
- package/.next/server/app/api/analyze/route.js.nft.json +1 -1
- package/.next/server/app/api/auth/[...nextauth]/route.js +3 -3
- package/.next/server/app/api/auth/[...nextauth]/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/delete/route.js +5 -4
- package/.next/server/app/api/error-items/[id]/delete/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/figure/route.js +15 -14
- package/.next/server/app/api/error-items/[id]/figure/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/fix-latex/route.js +14 -13
- package/.next/server/app/api/error-items/[id]/fix-latex/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/geogebra/route.js +14 -13
- package/.next/server/app/api/error-items/[id]/geogebra/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/image/route.js +4 -4
- package/.next/server/app/api/error-items/[id]/image/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/notes/route.js +5 -4
- package/.next/server/app/api/error-items/[id]/notes/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/practice-records/route.js +5 -5
- package/.next/server/app/api/error-items/[id]/practice-records/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/reanswer/route.js +15 -14
- package/.next/server/app/api/error-items/[id]/reanswer/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/retag/route.js +14 -13
- package/.next/server/app/api/error-items/[id]/retag/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/route.js +5 -5
- package/.next/server/app/api/error-items/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/svg-animation/narration/route.js +15 -14
- package/.next/server/app/api/error-items/[id]/svg-animation/narration/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/svg-animation/route.js +15 -14
- package/.next/server/app/api/error-items/[id]/svg-animation/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/batch-delete/route.js +5 -4
- package/.next/server/app/api/error-items/batch-delete/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/clear/route.js +5 -4
- package/.next/server/app/api/error-items/clear/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/list/route.js +6 -5
- package/.next/server/app/api/error-items/list/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/route.js +16 -16
- package/.next/server/app/api/error-items/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/short/[shortId]/route.js +5 -5
- package/.next/server/app/api/error-items/short/[shortId]/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/similarity/route.js +4 -4
- package/.next/server/app/api/error-items/similarity/route.js.nft.json +1 -1
- package/.next/server/app/api/exams/[id]/questions/[questionId]/regenerate/route.js +17 -16
- package/.next/server/app/api/exams/[id]/questions/[questionId]/regenerate/route.js.nft.json +1 -1
- package/.next/server/app/api/exams/[id]/results/route.js +15 -14
- package/.next/server/app/api/exams/[id]/results/route.js.nft.json +1 -1
- package/.next/server/app/api/exams/[id]/retry/route.js +15 -14
- package/.next/server/app/api/exams/[id]/retry/route.js.nft.json +1 -1
- package/.next/server/app/api/exams/[id]/route.js +15 -14
- package/.next/server/app/api/exams/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/exams/route.js +13 -12
- package/.next/server/app/api/exams/route.js.nft.json +1 -1
- package/.next/server/app/api/export/route.js +6 -6
- package/.next/server/app/api/export/route.js.nft.json +1 -1
- package/.next/server/app/api/geogebra-analyze/route.js +13 -12
- package/.next/server/app/api/geogebra-analyze/route.js.nft.json +1 -1
- package/.next/server/app/api/health/route.js +2 -2
- package/.next/server/app/api/health/route.js.nft.json +1 -1
- package/.next/server/app/api/import/route.js +18 -17
- package/.next/server/app/api/import/route.js.nft.json +1 -1
- package/.next/server/app/api/initialize/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/initialize/route/build-manifest.json +12 -0
- package/.next/server/app/api/initialize/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/initialize/route.js +12 -0
- package/.next/server/app/api/initialize/route.js.map +5 -0
- package/.next/server/app/api/initialize/route.js.nft.json +1 -0
- package/.next/server/app/api/initialize/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/logs/frontend/route.js +5 -4
- package/.next/server/app/api/logs/frontend/route.js.nft.json +1 -1
- package/.next/server/app/api/minimax-code/checkin/route.js +6 -6
- package/.next/server/app/api/minimax-code/checkin/route.js.nft.json +1 -1
- package/.next/server/app/api/minimax-code/login/route.js +5 -5
- package/.next/server/app/api/minimax-code/login/route.js.nft.json +1 -1
- package/.next/server/app/api/minimax-code/route.js +6 -6
- package/.next/server/app/api/minimax-code/route.js.nft.json +1 -1
- package/.next/server/app/api/notebooks/[id]/retag/route.js +16 -15
- package/.next/server/app/api/notebooks/[id]/retag/route.js.nft.json +1 -1
- package/.next/server/app/api/notebooks/[id]/route.js +5 -4
- package/.next/server/app/api/notebooks/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/notebooks/route.js +6 -5
- package/.next/server/app/api/notebooks/route.js.nft.json +1 -1
- package/.next/server/app/api/openclaw/batch-upload/route.js +15 -14
- package/.next/server/app/api/openclaw/batch-upload/route.js.nft.json +1 -1
- package/.next/server/app/api/practice/generate/route.js +15 -14
- package/.next/server/app/api/practice/generate/route.js.nft.json +1 -1
- package/.next/server/app/api/practice/grade/route.js +12 -12
- package/.next/server/app/api/practice/grade/route.js.nft.json +1 -1
- package/.next/server/app/api/practice/record/[id]/route.js +13 -13
- package/.next/server/app/api/practice/record/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/practice/record/route.js +13 -13
- package/.next/server/app/api/practice/record/route.js.nft.json +1 -1
- package/.next/server/app/api/reanswer/route.js +13 -12
- package/.next/server/app/api/reanswer/route.js.nft.json +1 -1
- package/.next/server/app/api/register/route.js +5 -4
- package/.next/server/app/api/register/route.js.nft.json +1 -1
- package/.next/server/app/api/register/status/route.js +5 -3
- package/.next/server/app/api/register/status/route.js.nft.json +1 -1
- package/.next/server/app/api/requests/[id]/route.js +5 -5
- package/.next/server/app/api/requests/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/review/due/route.js +13 -13
- package/.next/server/app/api/review/due/route.js.nft.json +1 -1
- package/.next/server/app/api/settings/route.js +7 -7
- package/.next/server/app/api/settings/route.js.nft.json +1 -1
- package/.next/server/app/api/setup/route.js +5 -5
- package/.next/server/app/api/setup/route.js.nft.json +1 -1
- package/.next/server/app/api/stats/practice/clear/route.js +5 -4
- package/.next/server/app/api/stats/practice/clear/route.js.nft.json +1 -1
- package/.next/server/app/api/stats/practice/route.js +6 -6
- package/.next/server/app/api/stats/practice/route.js.nft.json +1 -1
- package/.next/server/app/api/tags/route.js +4 -4
- package/.next/server/app/api/tags/route.js.nft.json +1 -1
- package/.next/server/app/api/tags/stats/route.js +4 -4
- package/.next/server/app/api/tags/stats/route.js.nft.json +1 -1
- package/.next/server/app/api/tags/suggestions/route.js +4 -4
- package/.next/server/app/api/tags/suggestions/route.js.nft.json +1 -1
- package/.next/server/app/api/tasks/route.js +6 -5
- package/.next/server/app/api/tasks/route.js.nft.json +1 -1
- package/.next/server/app/api/tts/[id]/route.js +7 -7
- package/.next/server/app/api/tts/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/tts/batch/route.js +9 -8
- package/.next/server/app/api/tts/batch/route.js.nft.json +1 -1
- package/.next/server/app/api/tts/route.js +8 -8
- package/.next/server/app/api/tts/route.js.nft.json +1 -1
- package/.next/server/app/api/tts/status/route.js +7 -7
- package/.next/server/app/api/tts/status/route.js.nft.json +1 -1
- package/.next/server/app/api/user/route.js +13 -13
- package/.next/server/app/api/user/route.js.nft.json +1 -1
- package/.next/server/app/api/version/route.js +2 -2
- package/.next/server/app/api/version/route.js.nft.json +1 -1
- package/.next/server/app/error-items/[id]/page.js +2 -2
- package/.next/server/app/error-items/[id]/page.js.nft.json +1 -1
- package/.next/server/app/error-items/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/exams/[id]/page.js +2 -2
- package/.next/server/app/exams/[id]/page.js.nft.json +1 -1
- package/.next/server/app/exams/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/exams/[id]/print/page.js +2 -2
- package/.next/server/app/exams/[id]/print/page.js.nft.json +1 -1
- package/.next/server/app/exams/[id]/print/page_client-reference-manifest.js +1 -1
- package/.next/server/app/exams/page.js +2 -2
- package/.next/server/app/exams/page.js.nft.json +1 -1
- package/.next/server/app/exams/page_client-reference-manifest.js +1 -1
- package/.next/server/app/favicon.ico/route.js +2 -2
- package/.next/server/app/favicon.ico/route.js.nft.json +1 -1
- package/.next/server/app/initialize/page/app-paths-manifest.json +3 -0
- package/.next/server/app/initialize/page/build-manifest.json +22 -0
- package/.next/server/app/initialize/page/next-font-manifest.json +11 -0
- package/.next/server/app/initialize/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/initialize/page/server-reference-manifest.json +4 -0
- package/.next/server/app/initialize/page.js +14 -0
- package/.next/server/app/initialize/page.js.map +5 -0
- package/.next/server/app/initialize/page.js.nft.json +1 -0
- package/.next/server/app/initialize/page_client-reference-manifest.js +3 -0
- package/.next/server/app/login/page.js +2 -2
- package/.next/server/app/login/page.js.nft.json +1 -1
- package/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/.next/server/app/manifest.webmanifest/route.js +2 -2
- package/.next/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/.next/server/app/notebooks/[id]/add/page.js +2 -2
- package/.next/server/app/notebooks/[id]/add/page.js.nft.json +1 -1
- package/.next/server/app/notebooks/[id]/add/page_client-reference-manifest.js +1 -1
- package/.next/server/app/notebooks/[id]/page.js +2 -2
- package/.next/server/app/notebooks/[id]/page.js.nft.json +1 -1
- package/.next/server/app/notebooks/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/notebooks/page.js +2 -2
- package/.next/server/app/notebooks/page.js.nft.json +1 -1
- package/.next/server/app/notebooks/page_client-reference-manifest.js +1 -1
- package/.next/server/app/page.js +2 -2
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/practice/page.js +2 -2
- package/.next/server/app/practice/page.js.nft.json +1 -1
- package/.next/server/app/practice/page_client-reference-manifest.js +1 -1
- package/.next/server/app/print-preview/page.js +2 -2
- package/.next/server/app/print-preview/page.js.nft.json +1 -1
- package/.next/server/app/print-preview/page_client-reference-manifest.js +1 -1
- package/.next/server/app/register/page.js +2 -2
- package/.next/server/app/register/page.js.nft.json +1 -1
- package/.next/server/app/register/page_client-reference-manifest.js +1 -1
- package/.next/server/app/review/page.js +2 -2
- package/.next/server/app/review/page.js.nft.json +1 -1
- package/.next/server/app/review/page_client-reference-manifest.js +1 -1
- package/.next/server/app/setup/page.js +2 -2
- package/.next/server/app/setup/page.js.nft.json +1 -1
- package/.next/server/app/setup/page_client-reference-manifest.js +1 -1
- package/.next/server/app/stats/page.js +2 -2
- package/.next/server/app/stats/page.js.nft.json +1 -1
- package/.next/server/app/stats/page_client-reference-manifest.js +1 -1
- package/.next/server/app/tags/page.js +2 -2
- package/.next/server/app/tags/page.js.nft.json +1 -1
- package/.next/server/app/tags/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +2 -0
- package/.next/server/chunks/{[externals]__1oyo6y4k5ao25._.js → [externals]__00gsgx0wu9vi4._.js} +1 -1
- package/.next/server/chunks/[externals]__0c36n-dcv5nqc._.js +3 -0
- package/.next/server/chunks/[externals]__0r_d96aqau--y._.js +3 -0
- package/.next/server/chunks/[externals]__0t1do1irr2px5._.js +3 -0
- package/.next/server/chunks/{[externals]__04n7qbralh87n._.js → [externals]__1_ij0r5wb4t30._.js} +1 -1
- package/.next/server/chunks/[externals]__1anmfgb7av8ou._.js +3 -0
- package/.next/server/chunks/{[externals]__0jzwjtlwxxyw6._.js → [externals]__1lhov-pp9xqtz._.js} +1 -1
- package/.next/server/chunks/[externals]_node_process_0dvtjkttigk0k._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__00bm6ctglztc6._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__14hy-qeyktudc._.js → [root-of-the-server]__01r1erfsa_no0._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__07ku06p8ztq1g._.js → [root-of-the-server]__02bkgmsvvpgbn._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__024r-wywnoxyp._.js → [root-of-the-server]__02h9d-jzqj4jc._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__03x4rhjqz4rgv._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__05q3msyjhb-j7._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__05vih96sbx1om._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__06nk0robdprys._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__07h2t-yzug3sg._.js → [root-of-the-server]__07dm5fr9tvnrn._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__08djb4rf84-rn._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__09jqnx_673l93._.js +68 -0
- package/.next/server/chunks/[root-of-the-server]__09z4bfwu-9yvs._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0_9ctojy3l6c5._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0_uvtfu0yr-na._.js +33 -0
- package/.next/server/chunks/[root-of-the-server]__0btfk_sy3o9wa._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0j6f-2sb1zvv-._.js → [root-of-the-server]__0bu50xf4g3rn9._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__0rnwilu01f1tc._.js → [root-of-the-server]__0byjfpj2jd58b._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0d-7snynttgf8._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0d-k9ke0ab1db._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0e0qdqkz3jles._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__10s5jgr6l7shg._.js → [root-of-the-server]__0e__jjjf812j0._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0f6h3h6s6tevl._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__14-k7ayd3a8_l._.js → [root-of-the-server]__0g5lbqntkfu-4._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0gbs3uc-1wo62._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0gs7-3gi0pdws._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0odzrih6i03_7._.js → [root-of-the-server]__0gx_zjzm5qgpy._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0hm2dh8ziz93k._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0i3-ol6ehhndm._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0iarbrdd95e-l._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__08d7_pq6_q2gg._.js → [root-of-the-server]__0jjprmuxd9qs1._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0jn95s6x8yat-._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0js5-zgrcuwh3._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__08thdsjzsvn6f._.js → [root-of-the-server]__0lt6jfx01vune._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0m749pvxq5lfv._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0m8bcdajibej0._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__00tywaxi-8b1l._.js → [root-of-the-server]__0mq39j3mkge8x._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__1gx-b_vxyk--4._.js → [root-of-the-server]__0mz6f-h1xkunr._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0n8gneckcpd95._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0nbmu4su_1fb6._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0nujsu6qbn-8o._.js +33 -0
- package/.next/server/chunks/[root-of-the-server]__0p1v7id5tq9qu._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0q083sqdrq0iw._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0qv5f-aznfbwz._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__1h-b09z-j8jp8._.js → [root-of-the-server]__0r438lr8n1t9g._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0rdqfinadfyh1._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0rk_yxyba4meu._.js +6 -6
- package/.next/server/chunks/[root-of-the-server]__0u5ihs_obekst._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__06xho6u8le3e7._.js → [root-of-the-server]__0ulqz3-khwsss._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0uqvlglad9q0i._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__1_gkx5xy1-3em._.js → [root-of-the-server]__0v3y7_fc4q7mu._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__0vz0xv_w6vbpq._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0w9jdzsq8ac3f._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0xcolv22y96_c._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0ld-3rbaj1m8-._.js → [root-of-the-server]__1-hfmp3groi95._.js} +27 -27
- package/.next/server/chunks/[root-of-the-server]__10-orm2n71xqa._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__10zt_0h-5wrjx._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0-b-yvjz48rkt._.js → [root-of-the-server]__11-6zqeermj9a._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__111jxitdjhuoj._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__1g038brpx-jta._.js → [root-of-the-server]__123dnz_qrx_4x._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__13kqbfb17y3bb._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__1h8y4ve4ddvy5._.js → [root-of-the-server]__144bps7ptlcyi._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__06j_-j4ftb5db._.js → [root-of-the-server]__1499m7hr136cz._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__15qkqztuygnfg._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__16eyl8sayqafi._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__17tl0fx9bcvnz._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__18z_cczwqkonn._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__04q1m399dcul6._.js → [root-of-the-server]__19h_colcppf_d._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__1bl85bz9gz7rm._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1cdvl8l8bm9y2._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1difhrtsofqaf._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1enjcnw44fa68._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1f9x9qtsx92o-._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1ff3h7ockrpdf._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1gchlcjngobdc._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1gweth6y-8kb7._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__208t95lee6s99._.js → [root-of-the-server]__1gyiwzftbxnxk._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__1i2xhya11pb1c._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1jim3r90l2x5u._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1l-2u-q625i2a._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1ldgzla7sdl4g._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1mjujo3osgtnm._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1nxfr-1oji1ma._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1oa6zmgy0bz87._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1p3r_x5ii95sv._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1ptzu7aqoga2n._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1qwiiilhyoxmw._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1r33ci5xcutn_._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1s-y00c3-nc_-._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1sf2oa2wkqf_0._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__1f8bfi9fgos0g._.js → [root-of-the-server]__1si5zy-sdtem-._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__1xs41k4v-on1y._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1y2h9r822ft62._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1yii00-p0pyb7._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1yr38xpsck7j-._.js +3 -0
- package/.next/server/chunks/_0-ne-bwuvd_6w._.js +1 -1
- package/.next/server/chunks/_0_rhee7wb6tcg._.js +1 -1
- package/.next/server/chunks/_0a7_sds_l6vgw._.js +5 -5
- package/.next/server/chunks/_0b7ljlcl6h_ro._.js +5 -5
- package/.next/server/chunks/_0d66myj_8567o._.js +1 -1
- package/.next/server/chunks/{_0q-x4ftphyse4._.js → _0gn3jgq5nrxsz._.js} +2 -2
- package/.next/server/chunks/_0qaoat396e0_3._.js +1 -1
- package/.next/server/chunks/_0wegi_sv1s4wx._.js +1 -1
- package/.next/server/chunks/_14w9nrdlajz24._.js +1 -1
- package/.next/server/chunks/{_1btq785jvvco6._.js → _176np74lk54yh._.js} +2 -2
- package/.next/server/chunks/_1b7qjlv0nxovi._.js +1 -1
- package/.next/server/chunks/_1m-yyz-pl9-03._.js +1 -1
- package/.next/server/chunks/_1muwmr6j76v3m._.js +3 -0
- package/.next/server/chunks/_1vtmdpk7p4al9._.js +1 -1
- package/.next/server/chunks/_next-internal_server_app_api_initialize_route_actions_1bd9rtmznpeiv.js +3 -0
- package/.next/server/chunks/node_modules_@anthropic-ai_sdk_1nnmjtbtp2rc6._.js +1 -1
- package/.next/server/chunks/src_0bhf345rd7jho._.js +3 -0
- package/.next/server/chunks/src_lib_02ktrqkdh6_xt._.js +3 -0
- package/.next/server/chunks/{src_lib_1wh1pqmstnzzt._.js → src_lib_031_wmb3hj645._.js} +2 -2
- package/.next/server/chunks/src_lib_0au5a9-5rxkab._.js +3 -0
- package/.next/server/chunks/src_lib_0d7kmnt7v2np8._.js +3 -0
- package/.next/server/chunks/src_lib_0nylv32ppnzk1._.js +3 -0
- package/.next/server/chunks/src_lib_0ximwux0rcb__._.js +3 -0
- package/.next/server/chunks/src_lib_10is5pyogge95._.js +3 -0
- package/.next/server/chunks/src_lib_13hd5uoi-53hn._.js +3 -0
- package/.next/server/chunks/src_lib_1h4xeb9lyx31r._.js +3 -0
- package/.next/server/chunks/src_lib_1qy5aajgog9r2._.js +1 -1
- package/.next/server/chunks/src_lib_1squodf4swo_a._.js +3 -0
- package/.next/server/chunks/src_lib_1uei_xjjj3g7_._.js +3 -0
- package/.next/server/chunks/src_lib_api-errors_ts_1gfd4ojz7efro._.js +3 -0
- package/.next/server/chunks/src_lib_background-tasks_ts_02j9z7pcmiqfj._.js +3 -0
- package/.next/server/chunks/src_lib_constants_pagination_ts_0tz3fg9ib3b-w._.js +3 -0
- package/.next/server/chunks/src_lib_initialization_ts_0uk331d512nu-._.js +57 -0
- package/.next/server/chunks/src_lib_minimax-code_checkin_ts_1j1mpuxc1vgoz._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__01kx6r00ld-i3._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__06epb5zt8i9nl._.js +3 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__0zqp_pztbsqqc._.js → [root-of-the-server]__09gkts39mwkt7._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__09nzl4il765_h._.js +3 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__1uw-g6-ij61rl._.js → [root-of-the-server]__0g3m2_o67ezes._.js} +2 -2
- package/.next/server/chunks/ssr/{[root-of-the-server]__1xufj5ntr9bm3._.js → [root-of-the-server]__0gpba1ifag5cz._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__0ik_fqcvo5l-d._.js +3 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__1qpe9xti5ipq0._.js → [root-of-the-server]__0imb483i37k9-._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__0jg0uiu38i5wt._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0l_a_z149v59o._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0lhmylur63dzg._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0oytrwzt_5qpb._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0p9ee02rz9njl._.js +3 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__0fl_sbe1q-l5j._.js → [root-of-the-server]__0qtqn7_slrnax._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__0rgld9k_-8w_i._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0u9zu26bwv2sw._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__101mpt9jhd3bj._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__11oag3aoydip3._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__12_3pzn1_i3p7._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__12upjtzbfyt0p._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__19q4cpy9jtu0k._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1aqinuht44szz._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1exslx8xrlonp._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1hcp3uk2sxb8s._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1ojkbjq8khldj._.js +3 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__1a50a5t_t8z_e._.js → [root-of-the-server]__1u0_l34j65qiv._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__1upuqpqeyi3o6._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1y--gqu4r-u7n._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__20o0en_6ej3fx._.js +3 -0
- package/.next/server/chunks/ssr/_0-ach07vhfvmq._.js +3 -0
- package/.next/server/chunks/ssr/_02d_2cjn8qw3w._.js +3 -0
- package/.next/server/chunks/ssr/_0am6ugw1ulqzu._.js +3 -0
- package/.next/server/chunks/ssr/_0cmd1ubdlo_by._.js +3 -0
- package/.next/server/chunks/ssr/_0ixj0qb0-qgg2._.js +3 -0
- package/.next/server/chunks/ssr/_0k_0zrnuw5zgx._.js +3 -0
- package/.next/server/chunks/ssr/_0l21zysfjab-0._.js +3 -0
- package/.next/server/chunks/ssr/_0lex0cqdz7zpi._.js +3 -0
- package/.next/server/chunks/ssr/_0pf9e0usy7ohp._.js +3 -0
- package/.next/server/chunks/ssr/_0rd-teluypcd2._.js +1 -1
- package/.next/server/chunks/ssr/_0rwqz_j892v12._.js +3 -0
- package/.next/server/chunks/ssr/_0tqz2g6uwot_g._.js +3 -0
- package/.next/server/chunks/ssr/_0tr-7klbcz1r7._.js +3 -0
- package/.next/server/chunks/ssr/_10da9s0zjn9du._.js +3 -0
- package/.next/server/chunks/ssr/_11xqn1cgzpe6k._.js +1 -1
- package/.next/server/chunks/ssr/_12t46t1u_n1k-._.js +3 -0
- package/.next/server/chunks/ssr/_16dhqh84g_-pd._.js +32 -0
- package/.next/server/chunks/ssr/_1hp7fzio98dms._.js +3 -0
- package/.next/server/chunks/ssr/_1l077fud26z-i._.js +3 -0
- package/.next/server/chunks/ssr/_1m9s9225s4ark._.js +3 -0
- package/.next/server/chunks/ssr/_1qgg_ll5hkjaf._.js +8 -0
- package/.next/server/chunks/ssr/_1sy8ii-gy-3z_._.js +3 -0
- package/.next/server/chunks/ssr/_1ti86x9v9qlrp._.js +3 -0
- package/.next/server/chunks/ssr/_1ux6eqqkupo6v._.js +8 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_initialize_page_actions_1nt69gawi6f37.js +3 -0
- package/.next/server/chunks/ssr/{node_modules_00hekemtvh207._.js → node_modules_0efju2pv0_0yw._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules_next_dist_1g0hsq_f-fygr._.js → node_modules_11z4lth_9u_hn._.js} +2 -2
- package/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_0meo4vt9kfbts._.js +3 -0
- package/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_1da2oxrj0qf5v._.js +3 -0
- package/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_1ez-_7m3ru8ad._.js +3 -0
- package/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_circle-alert_mjs_0i9c9zsf1d3_1._.js +3 -0
- package/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_play_mjs_1al5hft92dlrg._.js +4 -0
- package/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_printer_mjs_0jbt269gi19_7._.js +3 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0g591s5nyuj20.js +3 -0
- package/.next/server/chunks/ssr/src_0_rgx1hl-1b6i._.js +1 -1
- package/.next/server/chunks/ssr/{src_components_04xv7f-d7_fyc._.js → src_0hbb4l46hkkx0._.js} +2 -2
- package/.next/server/chunks/ssr/src_0wxvmqdi_0uno._.js +1 -1
- package/.next/server/chunks/ssr/src_1-cqlnizwbrvz._.js +3 -0
- package/.next/server/chunks/ssr/src_1gayunqs8u2e2._.js +1 -1
- package/.next/server/chunks/ssr/src_app_admin_page_tsx_0ublbd0w90cx_._.js +1 -1
- package/.next/server/chunks/ssr/src_app_admin_user_[id]_page_tsx_0zidp-8hr5upa._.js +1 -1
- package/.next/server/chunks/ssr/src_app_error-items_[id]_page_tsx_04xwwdmyh7_9q._.js +1 -1
- package/.next/server/chunks/ssr/src_app_exams_[id]_page_tsx_0xcjflkgkwzgd._.js +1 -1
- package/.next/server/chunks/ssr/src_app_exams_[id]_print_page_tsx_1i-xvhk8ul1l1._.js +6 -6
- package/.next/server/chunks/ssr/src_app_exams_page_tsx_17_d4_gy2i1ds._.js +1 -1
- package/.next/server/chunks/ssr/src_app_initialize_page_tsx_0v79s64spkms8._.js +3 -0
- package/.next/server/chunks/ssr/src_app_login_page_tsx_0yrgg2z_juzv9._.js +1 -1
- package/.next/server/chunks/ssr/src_app_notebooks_[id]_add_page_tsx_179tow1ql6vc_._.js +1 -1
- package/.next/server/chunks/ssr/src_app_notebooks_[id]_page_tsx_08njm-5-txm8_._.js +1 -1
- package/.next/server/chunks/ssr/src_app_notebooks_page_tsx_1p9src5gnz_40._.js +1 -1
- package/.next/server/chunks/ssr/src_app_page_tsx_1chiuahujsxm1._.js +1 -1
- package/.next/server/chunks/ssr/src_app_practice_page_tsx_10gnx53v3kpzb._.js +1 -1
- package/.next/server/chunks/ssr/src_app_print-preview_page_tsx_001yt-fzrj7tf._.js +1 -1
- package/.next/server/chunks/ssr/src_app_register_page_tsx_0l87b3754fa2j._.js +1 -1
- package/.next/server/chunks/ssr/src_app_review_page_tsx_1rq4ygvo_szv0._.js +1 -1
- package/.next/server/chunks/ssr/src_app_setup_page_tsx_0szlnxow_9skp._.js +1 -1
- package/.next/server/chunks/ssr/src_components_1lbiuzxejiwvf._.js +1 -1
- package/.next/server/chunks/ssr/src_components_difficulty-stars_tsx_1af9qqfurq7_t._.js +1 -1
- package/.next/server/chunks/ssr/src_components_error-list_error-item-card_tsx_1zsiqsrj-jjd7._.js +1 -1
- package/.next/server/chunks/ssr/src_components_mastery-panel_tsx_1--j5c7mhomdp._.js +1 -1
- package/.next/server/chunks/ssr/src_components_providers_tsx_09kw-mv3nb6xs._.js +10 -10
- package/.next/server/chunks/ssr/src_components_settings_duplicate-threshold-setting_tsx_06bbmwo1pkaim._.js +1 -1
- package/.next/server/chunks/ssr/src_components_tag-input_tsx_0b9sxffna5c9i._.js +1 -1
- package/.next/server/chunks/ssr/src_components_ui_checkbox_tsx_0xdylzmai9n53._.js +1 -1
- package/.next/server/chunks/ssr/src_components_ui_dialog_tsx_1tn-i_6d3rhzt._.js +1 -1
- package/.next/server/chunks/ssr/src_lib_api-client_ts_04r2_ex-gua5i._.js +3 -0
- package/.next/server/functions-config-manifest.json +9 -0
- package/.next/server/instrumentation.js +1 -1
- package/.next/server/middleware-build-manifest.js +14 -3
- package/.next/server/middleware-manifest.json +2 -32
- package/.next/server/middleware.js +5 -0
- package/.next/server/next-font-manifest.js +1 -1
- package/.next/server/next-font-manifest.json +4 -0
- package/.next/server/pages/500.html +1 -1
- package/.next/server/preview-props.json +3 -3
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/005nxzvjw9q29.js +1 -0
- package/.next/static/chunks/00rs-o61dxfug.js +1 -0
- package/.next/static/chunks/{02bal925qbinj.js → 01lfibj7hk--1.js} +1 -1
- package/.next/static/chunks/0dlm3crujtk0q.js +1 -0
- package/.next/static/chunks/0em3sfxbygjk8.js +1 -0
- package/.next/static/chunks/{2h685ie6ojjd6.js → 0eoaf9_eucdfm.js} +1 -1
- package/.next/static/chunks/0s11n1c35xok3.js +1 -0
- package/.next/static/chunks/0u8qed0gsmuyb.js +1 -0
- package/.next/static/chunks/10hj0kjrsv_ea.js +1 -0
- package/.next/static/chunks/17fdu98fkgo_3.js +1 -0
- package/.next/static/chunks/17fy-zs1a1djj.js +1 -0
- package/.next/static/chunks/18wxnbx_vshlv.js +1 -0
- package/.next/static/chunks/1d-up0qu0abfy.js +1 -0
- package/.next/static/chunks/1eiokd8-xan7t.js +6 -0
- package/.next/static/chunks/1jg7_r1zx3afu.js +1 -0
- package/.next/static/chunks/1ptb9vuc0d3rg.js +1 -0
- package/.next/static/chunks/2_vszrn30uhv4.css +3 -0
- package/.next/static/chunks/2agtko4ygutd5.js +1 -0
- package/.next/static/chunks/{0p-3zwi9dqdk8.js → 2igkwpp45e7is.js} +1 -1
- package/.next/static/chunks/2m69r4jnazewv.js +191 -0
- package/.next/static/chunks/2mw4064uh0j9h.js +1 -0
- package/.next/static/chunks/2olkrktzfd5ih.js +1 -0
- package/.next/static/chunks/2qy-miqy2qmzd.js +4 -0
- package/.next/static/chunks/2vgyg-z4vzd60.js +1 -0
- package/.next/static/chunks/393urxlf6frd1.js +1 -0
- package/.next/static/chunks/39r5304q8nhrr.js +1 -0
- package/.next/static/chunks/3bvflzs_j0a7o.js +1 -0
- package/.next/static/chunks/3eommddspd-ux.js +1 -0
- package/.next/static/chunks/3j49r9o2bivkf.js +1 -0
- package/.next/static/chunks/3j8kn9zjrlp3t.js +1 -0
- package/.next/static/chunks/3u2t8l45o5ai-.js +33 -0
- package/README.en.md +539 -0
- package/README.md +1 -1
- package/bin/wrong-notebook.js +1 -1
- package/launcher.js +2 -2
- package/package.json +1 -1
- package/prisma/migrations/20261031000000_add_query_indexes/migration.sql +16 -0
- package/prisma/schema.prisma +9 -0
- package/prisma/seed.db +0 -0
- package/server.js +1 -1
- package/.next/server/chunks/[externals]__1242krpdwt3fy._.js +0 -3
- package/.next/server/chunks/[externals]__1pplcusjo3ok7._.js +0 -3
- package/.next/server/chunks/[externals]_fs_0pplqgcyv2l7l._.js +0 -3
- package/.next/server/chunks/[externals]_fs_1d5jh8vp8y6zt._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0-t1auf1a8_or._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__003ii50e63ws5._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__00rgirsp29kma._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__02bjw2uriv5fd._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__02v0ig608r6y0._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__03ru8t856rgvl._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0aganwocduyac._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0an9s6-nn3kpq._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0duevucfb62_h._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0g-kb21pws7qu._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0gvvuk0avtpy9._.js +0 -38
- package/.next/server/chunks/[root-of-the-server]__0iq2agc-dlcyc._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0juklkqip-kat._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0kwkbvjwb6ms2._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0lgsw0kfw-jqc._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0m257tbsmg_jc._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0mtgqo3_a6ft3._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0orbb3gvf9h5l._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0rt84iswe-353._.js +0 -38
- package/.next/server/chunks/[root-of-the-server]__0sg1yp-qgcx3j._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0ssa-hz8b3v1i._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0uvuljzm78r8b._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0vn353txu1ok5._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0w12wrduqkml_._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0wmczeyrx2y7f._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0xe-f_x7j4c7y._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0xicme9m81rzt._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0yx12uf2avp6d._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0zq53ytq2jm_b._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1-jk6umz3qs6r._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__10ffg2l-u0zof._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__11n5u21llw3hz._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1222jdedtloy5._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__13ybp1up1_pp_._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__15v_gsaqeo7q-._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__16c0c0-pt6gz4._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__16h8j4mow34et._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__18vii2hl-fo31._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__190oggsfw-98b._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1_fxjdqa7fwwc._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1ar95f9mysi15._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1ban_cu4u5ktr._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1bvjyahgm4s-0._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1h2nhu8op07o7._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1ixfwffo1gqy1._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1jcp2-lix6if6._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1kff0rbt3ym95._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1krabeg6sihbm._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1mn88gcnj5c8i._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1n2uvss8wfueo._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1nsrbw9jntgo8._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1onv3pfwsqytl._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1pulvd2ac2agx._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1q9pzdlt18lp0._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1sw3rkr-79ykm._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1thdx6loe3xd4._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1ukn55clu33ii._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1uz66pjshld-e._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1vbqkl7rn1dbm._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1wnku4diwmv6z._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1y7job8gfr7ww._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1yaxekogcfb41._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1yhu07loxowr5._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1zp57dov6qagu._.js +0 -3
- package/.next/server/chunks/src_03_og0nynnyx2._.js +0 -3
- package/.next/server/chunks/src_lib_01n35ubnvj7qr._.js +0 -3
- package/.next/server/chunks/src_lib_0csk5er_yd1v8._.js +0 -3
- package/.next/server/chunks/src_lib_0if7dmbrjhhw_._.js +0 -3
- package/.next/server/chunks/src_lib_0whd_w99i5vmm._.js +0 -3
- package/.next/server/chunks/src_lib_1-tw3_3nqx6ug._.js +0 -3
- package/.next/server/chunks/src_lib_1k0xki4wmn54_._.js +0 -3
- package/.next/server/chunks/src_lib_1ki8_85_ajoqn._.js +0 -3
- package/.next/server/chunks/src_lib_1p0k3ud1vrwmg._.js +0 -3
- package/.next/server/chunks/src_lib_1wm8ay-jqxakc._.js +0 -3
- package/.next/server/chunks/src_lib_211d4nepy8zds._.js +0 -3
- package/.next/server/chunks/src_lib_auth-utils_ts_20i7biv4dj8pm._.js +0 -3
- package/.next/server/chunks/src_lib_current-user_ts_20jgxch2zjmt3._.js +0 -3
- package/.next/server/chunks/src_lib_tag-recognition_ts_1wkzrdiapau86._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__03jq7w4crcz_u._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__05d1gc-h-sk6z._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__06cr_rl6w07mf._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0d-q1qjhzf_nt._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0egzlmtf23a_j._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0s0807tegp2v8._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0snw-y9tp0_06._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0u-q2sah-le20._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0uulvxrtw9ld4._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0wbg4fz5qe7h-._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__102i99h9qhhnc._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__14c291vzuew0p._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__18ej8rcn5j4hs._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__18sucwsgl0hdl._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1_zton0k4t3va._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1gulcy2-2jrfj._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1hcwd0rtvz96c._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1kh02fdj3kar7._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1qwt10yvul4gg._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1vkia8gjeangv._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1yy2y09x1rvba._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1zh2txrawxztj._.js +0 -3
- package/.next/server/chunks/ssr/_00np6xqvkg6u-._.js +0 -32
- package/.next/server/chunks/ssr/_05alwt3w7oor-._.js +0 -3
- package/.next/server/chunks/ssr/_06k5kn4q-1k90._.js +0 -3
- package/.next/server/chunks/ssr/_08fq-uch-l1g6._.js +0 -8
- package/.next/server/chunks/ssr/_0h6qsip9mphaq._.js +0 -3
- package/.next/server/chunks/ssr/_0iy-5lwc8jb9d._.js +0 -3
- package/.next/server/chunks/ssr/_0lpyto7r47jl8._.js +0 -3
- package/.next/server/chunks/ssr/_0ms6yihjxbuy1._.js +0 -3
- package/.next/server/chunks/ssr/_0n_xmfdlu07f9._.js +0 -3
- package/.next/server/chunks/ssr/_0p61m7hr-1evu._.js +0 -3
- package/.next/server/chunks/ssr/_0vq069p6upfdb._.js +0 -3
- package/.next/server/chunks/ssr/_0xyykn-ar3ujn._.js +0 -3
- package/.next/server/chunks/ssr/_0z-gzl29_yrkq._.js +0 -3
- package/.next/server/chunks/ssr/_10gxtgntt3mjd._.js +0 -3
- package/.next/server/chunks/ssr/_17edi6l2a0p76._.js +0 -8
- package/.next/server/chunks/ssr/_19ktk2l66yngc._.js +0 -3
- package/.next/server/chunks/ssr/_1g8mzz6qxv2mr._.js +0 -3
- package/.next/server/chunks/ssr/_1pnt2b76-xt6_._.js +0 -3
- package/.next/server/chunks/ssr/_1tg3c_6clbzhd._.js +0 -3
- package/.next/server/chunks/ssr/_1yaa5p1rk6i7c._.js +0 -3
- package/.next/server/chunks/ssr/_20-x85_onge5x._.js +0 -3
- package/.next/server/chunks/ssr/node_modules_004qzwkmt-_w5._.js +0 -3
- package/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_0th0mlz3ys-17._.js +0 -3
- package/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_15-zi1i74qu9j._.js +0 -3
- package/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_1tz6jn4lbq7wr._.js +0 -3
- package/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_play_0upz8-7p5gttr.js +0 -4
- package/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_printer_0pprvafgadlwd.js +0 -3
- package/.next/server/chunks/ssr/src_components_practice-result-picker_tsx_06jytymet6adu._.js +0 -3
- package/.next/server/edge/chunks/[root-of-the-server]__1osrt2u3yic3e._.js +0 -3
- package/.next/server/edge/chunks/_1s0wgnupch4sb._.js +0 -3
- package/.next/server/edge/chunks/node_modules_0um8zwzayafzq._.js +0 -13
- package/.next/server/edge/chunks/turbopack-node_modules_next_dist_esm_build_templates_edge-wrapper_0dxg4rr5z738i.js +0 -3
- package/.next/server/edge/chunks/turbopack-node_modules_next_dist_esm_build_templates_edge-wrapper_0dzf5yhexv02u.js +0 -3
- package/.next/static/chunks/00n2-r3ac3dh5.js +0 -2
- package/.next/static/chunks/00o1s_nir_tbc.js +0 -191
- package/.next/static/chunks/0a6399ins-4-q.js +0 -1
- package/.next/static/chunks/0kh-fx3tssh5w.js +0 -1
- package/.next/static/chunks/0p2fh98qaki45.js +0 -1
- package/.next/static/chunks/0r7n8__w9jr5w.js +0 -1
- package/.next/static/chunks/0znojfm3iv2d7.js +0 -1
- package/.next/static/chunks/1c46asvnosb8-.js +0 -1
- package/.next/static/chunks/1cdwoh8b2ub-t.js +0 -1
- package/.next/static/chunks/1epmdj8kqwbz4.js +0 -1
- package/.next/static/chunks/1fl98iro7y1bv.js +0 -1
- package/.next/static/chunks/1r7yfcltcmwkh.js +0 -1
- package/.next/static/chunks/20x7-uv1sk708.js +0 -3
- package/.next/static/chunks/24gum0cmhhv7z.js +0 -1
- package/.next/static/chunks/26qq8907b9j3d.js +0 -1
- package/.next/static/chunks/2cf27aonkij9_.css +0 -3
- package/.next/static/chunks/2fr8ktozrvacg.js +0 -1
- package/.next/static/chunks/2mawf08h1jfc8.js +0 -1
- package/.next/static/chunks/2r4ddp7izc9sh.js +0 -1
- package/.next/static/chunks/2t6ygiu56xwkx.js +0 -1
- package/.next/static/chunks/2ucdm1a-llop_.js +0 -1
- package/.next/static/chunks/2uobd1ff4vknn.js +0 -33
- package/.next/static/chunks/2ysjbje-zsbdp.js +0 -1
- package/.next/static/chunks/341etzsqr_b1v.js +0 -6
- package/.next/static/chunks/3icoc8gklzn52.js +0 -1
- package/.next/static/chunks/3jb_u6u63wui6.js +0 -1
- package/.next/static/chunks/3tc0l--v631lz.js +0 -1
- package/.next/static/chunks/3wxogk-dqqw8w.js +0 -1
- /package/.next/static/{4KSCavDaw8kyhSyGiE86P → NAW_XaqZEUvPxbVIgnnoN}/_buildManifest.js +0 -0
- /package/.next/static/{4KSCavDaw8kyhSyGiE86P → NAW_XaqZEUvPxbVIgnnoN}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{4KSCavDaw8kyhSyGiE86P → NAW_XaqZEUvPxbVIgnnoN}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(()=>{"use strict";module.exports=[62140,a=>{var b=a.i(164831);let c={name:"list-checks",size:24,node:[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],62140)},88444,a=>{var b=a.i(164831);let c={name:"printer",size:24,node:[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],88444)}]})();
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=node_modules_lucide-react_dist_esm_icons_0meo4vt9kfbts._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(()=>{"use strict";module.exports=[141146,a=>{var b=a.i(164831);let c={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],141146)},961664,a=>{var b=a.i(164831);let c={name:"target",size:24,node:[["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"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],961664)},343419,a=>{var b=a.i(164831);let c={name:"trending-up",size:24,node:[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],343419)}]})();
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=node_modules_lucide-react_dist_esm_icons_1da2oxrj0qf5v._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(()=>{"use strict";module.exports=[97546,a=>{var b=a.i(164831);let c={name:"circle-alert",size:24,node:[["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"}]],aliases:["alert-circle"]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],97546)},308311,a=>{var b=a.i(164831);let c={name:"clock",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],308311)},207812,308658,a=>{var b=a.i(164831);let c={name:"pen-tool",size:24,node:[["path",{d:"m18 13-.654-4.736a4 4 0 00-2.756-3.266l-9.163-2.9a2 2 0 00-2.017.493l-.82.819a2 2 0 00-.492 2.017l2.9 9.163a4 4 0 003.266 2.756L13 18",key:"93nyr4"}],["path",{d:"M18.648 12.352a1.205 1.205 0 011.704 0l1.296 1.296a1.205 1.205 0 010 1.704l-6.296 6.296a1.205 1.205 0 01-1.704 0l-1.296-1.296a1.205 1.205 0 010-1.704z",key:"lnux7s"}],["path",{d:"m3 3 6.586 6.586",key:"1igwcn"}],["circle",{cx:"11",cy:"11",r:"2",key:"xmgehs"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],207812);let e={name:"layers",size:24,node:[["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"}]],aliases:["layers-3"]};e.node;let f=(0,b.f)(e);a.s(["f",0,f],308658)},343419,a=>{var b=a.i(164831);let c={name:"trending-up",size:24,node:[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],343419)}]})();
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=node_modules_lucide-react_dist_esm_icons_1ez-_7m3ru8ad._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[97546,a=>{"use strict";var b=a.i(164831);let c={name:"circle-alert",size:24,node:[["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"}]],aliases:["alert-circle"]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],97546)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=node_modules_lucide-react_dist_esm_icons_circle-alert_mjs_0i9c9zsf1d3_1._.js.map
|
package/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_play_mjs_1al5hft92dlrg._.js
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
module.exports=[738835,975484,a=>{"use strict";var b=a.i(164831);let c={name:"play",size:24,node:[["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"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],738835);var e=a.i(291938);let f=null,g=!1;function h(){return null}let i=new Map,j=(a,b)=>`${b}
|
|
2
|
+
${a}`;function k(a,b,c,d){return e.f.post("/api/tts/batch",{texts:a,language:b,...c?{regenerate:c}:{},...d?{errorItemId:d}:{}},{timeout:6e5,recoverable:!0}).then(({items:a})=>a.map(({id:a,version:b})=>`/api/tts/${a}?v=${b}`))}async function l(a,b,c){let d=await k(a,b,!0,c);a.forEach((a,c)=>i.set(j(a,b),Promise.resolve(d[c])))}a.s(["l",0,h,"v",0,function(){return f??=e.f.get("/api/tts").then(a=>"cloud"===a.mode?"cloud":"browser").catch(()=>"browser")},"h",0,function(){return g},"z",0,function(a,b){return e.f.post("/api/tts/status",{texts:a,language:b}).then(a=>!0===a.ready).catch(()=>!1)},"w",0,function(a,b,c){let d=[...new Set(a)].filter(a=>!i.has(j(a,b)));if(!d.length)return Promise.resolve();let e=k(d,b,!1,c);return d.forEach((a,c)=>{let d=j(a,b),f=e.then(a=>a[c]);f.catch(()=>i.delete(d)),i.set(d,f)}),e.then(()=>void 0)},"H",0,l,"U",0,function(a,b){let c=j(a,b),d=i.get(c);!d&&((d=e.f.post("/api/tts",{text:a,language:b},{timeout:12e4,recoverable:!0}).then(({id:a,version:b})=>`/api/tts/${a}?v=${b}`)).catch(()=>i.delete(c)),i.set(c,d));return d},"p",0,function(){let a=h();if(a&&!g){let b,c,d;g=!0,b=new DataView(new ArrayBuffer(1644)),(c=(a,c)=>[...c].forEach((c,d)=>b.setUint8(a+d,c.charCodeAt(0))))(0,"RIFF"),b.setUint32(4,1636,!0),c(8,"WAVE"),c(12,"fmt "),b.setUint32(16,16,!0),b.setUint16(20,1,!0),b.setUint16(22,1,!0),b.setUint32(24,8e3,!0),b.setUint32(28,16e3,!0),b.setUint16(32,2,!0),b.setUint16(34,16,!0),c(36,"data"),b.setUint32(40,1600,!0),d="",new Uint8Array(b.buffer).forEach(a=>{d+=String.fromCharCode(a)}),a.src=`data:audio/wav;base64,${btoa(d)}`,a.play().catch(()=>{g=!1})}}],975484)}];
|
|
3
|
+
|
|
4
|
+
//# sourceMappingURL=node_modules_lucide-react_dist_esm_icons_play_mjs_1al5hft92dlrg._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[88444,a=>{"use strict";var b=a.i(164831);let c={name:"printer",size:24,node:[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],88444)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=node_modules_lucide-react_dist_esm_icons_printer_mjs_0jbt269gi19_7._.js.map
|
package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0g591s5nyuj20.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[63733,a=>{"use strict";var b=a.i(612948),c=a.i(167436),d=a.i(594331);a.i(670408);let e=(0,b.instrumentModuleGetter)(()=>a.r(68611)),f=(0,b.instrumentModuleGetter)(()=>a.r(650645)),g=(0,b.instrumentModuleGetter)(()=>a.r(43619)),h=(0,b.instrumentModuleGetter)(()=>a.r(13718)),i=(0,b.instrumentModuleGetter)(()=>a.r(118198)),j=(0,b.instrumentModuleGetter)(()=>a.r(262212)),k=["",{children:["initialize",{children:["__PAGE__",{},{metadata:{},page:[(0,b.instrumentModuleGetter)(()=>a.r(216002)),"[project]/src/app/initialize/page.tsx"]},[]]},{metadata:{}},[]]},{metadata:{icon:[async()=>{let a=(0,d.interopDefault)(await e());return[{url:`/favicon.ico?${a.src.split("/").splice(-1)[0]}`,sizes:`${a.width}x${a.height}`,type:"image/x-icon"}]}],manifest:"/manifest.webmanifest"},layout:[f,"[project]/src/app/layout.tsx"],"not-found":[g,"[project]/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[h,"[project]/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[i,"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[j,"[project]/node_modules/next/dist/client/components/builtin/global-error.js"]},[]],l=a.r.bind(a),m=a.l.bind(a),n=(0,c.f)({tree:k,page:"/initialize/page",pathname:"/initialize",require:l,loadChunk:m,interopDefault:d.interopDefault}),o=n.__next_app__,p=n.routeModule,q=n.handler;var r=a.i(722922);a.s(["ClientPageRoot",()=>r.ClientPageRoot,"ClientSegmentRoot",()=>r.ClientSegmentRoot,"Fragment",()=>r.Fragment,"HTTPAccessFallbackBoundary",()=>r.HTTPAccessFallbackBoundary,"InstantValidation",()=>r.InstantValidation,"LayoutRouter",()=>r.LayoutRouter,"LoadingBoundaryProvider",()=>r.LoadingBoundaryProvider,"RenderFromTemplateContext",()=>r.RenderFromTemplateContext,"RootLayoutBoundary",()=>r.RootLayoutBoundary,"SegmentViewNode",()=>r.SegmentViewNode,"SegmentViewStateNode",()=>r.SegmentViewStateNode,"__next_app__",0,o,"captureOwnerStack",()=>r.captureOwnerStack,"collectPrefetchHints",()=>r.collectPrefetchHints,"collectSegmentData",()=>r.collectSegmentData,"createElement",()=>r.createElement,"createMetadataComponents",()=>r.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>r.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>r.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>r.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>r.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>r.createTemporaryReferenceSet,"decodeAction",()=>r.decodeAction,"decodeFormState",()=>r.decodeFormState,"decodeReply",()=>r.decodeReply,"handler",0,q,"isEmptyHTMLPrelude",()=>r.isEmptyHTMLPrelude,"patchFetch",()=>r.patchFetch,"preconnect",()=>r.preconnect,"preloadFont",()=>r.preloadFont,"preloadStyle",()=>r.preloadStyle,"prerender",()=>r.prerender,"prerenderToNodeStream",()=>r.prerenderToNodeStream,"renderToPipeableStream",()=>r.renderToPipeableStream,"renderToReadableStream",()=>r.renderToReadableStream,"routeModule",0,p,"serverHooks",()=>r.serverHooks,"taintObjectReference",()=>r.taintObjectReference],63733)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=node_modules_next_dist_esm_build_templates_app-page_0g591s5nyuj20.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(()=>{"use strict";module.exports=[468368,723222,a=>{var b=a.i(187924),c=a.i(550194),d=a.i(957292);let e=["primary","junior_high","senior_high"],f="primary",g=["math","english","chinese","physics","chemistry","biology","history","geography","politics"];function h(a){return"string"==typeof a&&g.includes(a)}function i(a){var b;let c=h(a.subjectKey)?a.subjectKey:(0,d.f)(a.name);return{stage:"string"==typeof(b=a.stage)&&e.includes(b)?a.stage:f,subject:c&&h(c)?c:null}}function j(){let{t:a}=(0,c.b)();return{stageLabel:b=>({primary:a.auth.primary,junior_high:a.auth.juniorHigh,senior_high:a.auth.seniorHigh})[b],subjectLabel:b=>a.tags.subjects[b]}}a.s(["j",0,f,"c",0,e,"W",0,{primary:["math","english"],junior_high:g,senior_high:g},"v",0,i],723222),a.s(["E",0,function({notebook:a,className:c}){let{stageLabel:d,subjectLabel:e}=j(),f=i(a);return(0,b.jsxs)("span",{className:c,children:[d(f.stage),f.subject?` \xb7 ${e(f.subject)}`:""]})},"O",0,j],468368)},579834,a=>{var b=a.i(187924),c=a.i(368114);a.s(["f",0,function({icon:a,title:d,description:e,action:f,className:g}){return(0,b.jsxs)("div",{className:(0,c.f)("flex flex-col items-center justify-center rounded-2xl border border-dashed bg-card/50 px-6 py-14 text-center",g),children:[(0,b.jsx)("div",{className:"mb-4 flex h-14 w-14 items-center justify-center rounded-2xl bg-accent text-accent-foreground",children:(0,b.jsx)(a,{className:"h-7 w-7"})}),(0,b.jsx)("p",{className:"font-medium",children:d}),e&&(0,b.jsx)("p",{className:"mt-1 max-w-sm text-sm text-muted-foreground",children:e}),f&&(0,b.jsx)("div",{className:"mt-5",children:f})]})}])},506376,a=>{var b=a.i(187924),c=a.i(
|
|
1
|
+
(()=>{"use strict";module.exports=[468368,723222,a=>{var b=a.i(187924),c=a.i(550194),d=a.i(957292);let e=["primary","junior_high","senior_high"],f="primary",g=["math","english","chinese","physics","chemistry","biology","history","geography","politics"];function h(a){return"string"==typeof a&&g.includes(a)}function i(a){var b;let c=h(a.subjectKey)?a.subjectKey:(0,d.f)(a.name);return{stage:"string"==typeof(b=a.stage)&&e.includes(b)?a.stage:f,subject:c&&h(c)?c:null}}function j(){let{t:a}=(0,c.b)();return{stageLabel:b=>({primary:a.auth.primary,junior_high:a.auth.juniorHigh,senior_high:a.auth.seniorHigh})[b],subjectLabel:b=>a.tags.subjects[b]}}a.s(["j",0,f,"c",0,e,"W",0,{primary:["math","english"],junior_high:g,senior_high:g},"v",0,i],723222),a.s(["E",0,function({notebook:a,className:c}){let{stageLabel:d,subjectLabel:e}=j(),f=i(a);return(0,b.jsxs)("span",{className:c,children:[d(f.stage),f.subject?` \xb7 ${e(f.subject)}`:""]})},"O",0,j],468368)},579834,a=>{var b=a.i(187924),c=a.i(368114);a.s(["f",0,function({icon:a,title:d,description:e,action:f,className:g}){return(0,b.jsxs)("div",{className:(0,c.f)("flex flex-col items-center justify-center rounded-2xl border border-dashed bg-card/50 px-6 py-14 text-center",g),children:[(0,b.jsx)("div",{className:"mb-4 flex h-14 w-14 items-center justify-center rounded-2xl bg-accent text-accent-foreground",children:(0,b.jsx)(a,{className:"h-7 w-7"})}),(0,b.jsx)("p",{className:"font-medium",children:d}),e&&(0,b.jsx)("p",{className:"mt-1 max-w-sm text-sm text-muted-foreground",children:e}),f&&(0,b.jsx)("div",{className:"mt-5",children:f})]})}])},506376,a=>{var b=a.i(187924),c=a.i(875160);a.s(["f",0,function({label:a}){return(0,b.jsxs)("div",{className:"flex min-h-[50vh] flex-col items-center justify-center gap-3 text-muted-foreground",children:[(0,b.jsx)(c.f,{className:"h-7 w-7 animate-spin text-primary"}),a&&(0,b.jsx)("p",{className:"text-sm",children:a})]})}])},879188,83715,a=>{var b=a.i(291938);async function c(a){try{return(await b.f.get(`/api/error-items/short/${encodeURIComponent(a)}`)).id}catch{return null}}a.s(["f",0,c],879188);let d=RegExp("^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{6}$");a.s(["f",0,function(a){return"string"==typeof a&&d.test(a)}],83715)}]})();
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=src_0_rgx1hl-1b6i._.js.map
|
package/.next/server/chunks/ssr/{src_components_04xv7f-d7_fyc._.js → src_0hbb4l46hkkx0._.js}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(()=>{"use strict";module.exports=[293530,a=>{var b=a.i(187924),c=a.i(16644),d=a.i(550194);a.s(["f",0,function({children:a,wide:e=!1}){let{t:f}=(0,d.b)();return(0,b.jsxs)("div",{className:"relative flex min-h-screen items-center justify-center overflow-hidden bg-background p-4",children:[(0,b.jsx)("div",{className:"pointer-events-none absolute -left-32 -top-32 h-96 w-96 rounded-full bg-indigo-400/25 blur-3xl"}),(0,b.jsx)("div",{className:"pointer-events-none absolute -bottom-40 -right-24 h-[28rem] w-[28rem] rounded-full bg-violet-400/20 blur-3xl"}),(0,b.jsxs)("div",{className:`relative w-full space-y-6 py-8 ${e?"max-w-xl":"max-w-md"}`,children:[(0,b.jsxs)("div",{className:"flex flex-col items-center gap-3 text-center",children:[(0,b.jsx)(c.default,{src:"/icons/icon.png",alt:"",width:64,height:64,className:"rounded-2xl shadow-lg shadow-indigo-500/30",priority:!0,unoptimized:!0}),(0,b.jsxs)("div",{className:"space-y-1",children:[(0,b.jsx)("p",{className:"text-xl font-bold tracking-tight",children:f.pageTitle.base}),(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:f.app.subtitle})]})]}),a]})]})}])},468368,723222,a=>{var b=a.i(187924),c=a.i(550194),d=a.i(957292);let e=["primary","junior_high","senior_high"],f="primary",g=["math","english","chinese","physics","chemistry","biology","history","geography","politics"];function h(a){return"string"==typeof a&&g.includes(a)}function i(a){var b;let c=h(a.subjectKey)?a.subjectKey:(0,d.f)(a.name);return{stage:"string"==typeof(b=a.stage)&&e.includes(b)?a.stage:f,subject:c&&h(c)?c:null}}function j(){let{t:a}=(0,c.b)();return{stageLabel:b=>({primary:a.auth.primary,junior_high:a.auth.juniorHigh,senior_high:a.auth.seniorHigh})[b],subjectLabel:b=>a.tags.subjects[b]}}a.s(["j",0,f,"c",0,e,"W",0,{primary:["math","english"],junior_high:g,senior_high:g},"v",0,i],723222),a.s(["E",0,function({notebook:a,className:c}){let{stageLabel:d,subjectLabel:e}=j(),f=i(a);return(0,b.jsxs)("span",{className:c,children:[d(f.stage),f.subject?` \xb7 ${e(f.subject)}`:""]})},"O",0,j],468368)}]})();
|
|
1
|
+
(()=>{"use strict";module.exports=[293530,a=>{var b=a.i(187924),c=a.i(16644),d=a.i(550194);a.s(["f",0,function({children:a,wide:e=!1}){let{t:f}=(0,d.b)();return(0,b.jsxs)("div",{className:"relative flex min-h-screen items-center justify-center overflow-hidden bg-background p-4",children:[(0,b.jsx)("div",{className:"pointer-events-none absolute -left-32 -top-32 h-96 w-96 rounded-full bg-indigo-400/25 blur-3xl"}),(0,b.jsx)("div",{className:"pointer-events-none absolute -bottom-40 -right-24 h-[28rem] w-[28rem] rounded-full bg-violet-400/20 blur-3xl"}),(0,b.jsxs)("div",{className:`relative w-full space-y-6 py-8 ${e?"max-w-xl":"max-w-md"}`,children:[(0,b.jsxs)("div",{className:"flex flex-col items-center gap-3 text-center",children:[(0,b.jsx)(c.default,{src:"/icons/icon.png",alt:"",width:64,height:64,className:"rounded-2xl shadow-lg shadow-indigo-500/30",priority:!0,unoptimized:!0}),(0,b.jsxs)("div",{className:"space-y-1",children:[(0,b.jsx)("p",{className:"text-xl font-bold tracking-tight",children:f.pageTitle.base}),(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:f.app.subtitle})]})]}),a]})]})}])},468368,723222,a=>{var b=a.i(187924),c=a.i(550194),d=a.i(957292);let e=["primary","junior_high","senior_high"],f="primary",g=["math","english","chinese","physics","chemistry","biology","history","geography","politics"];function h(a){return"string"==typeof a&&g.includes(a)}function i(a){var b;let c=h(a.subjectKey)?a.subjectKey:(0,d.f)(a.name);return{stage:"string"==typeof(b=a.stage)&&e.includes(b)?a.stage:f,subject:c&&h(c)?c:null}}function j(){let{t:a}=(0,c.b)();return{stageLabel:b=>({primary:a.auth.primary,junior_high:a.auth.juniorHigh,senior_high:a.auth.seniorHigh})[b],subjectLabel:b=>a.tags.subjects[b]}}a.s(["j",0,f,"c",0,e,"W",0,{primary:["math","english"],junior_high:g,senior_high:g},"v",0,i],723222),a.s(["E",0,function({notebook:a,className:c}){let{stageLabel:d,subjectLabel:e}=j(),f=i(a);return(0,b.jsxs)("span",{className:c,children:[d(f.stage),f.subject?` \xb7 ${e(f.subject)}`:""]})},"O",0,j],468368)},702930,a=>{a.s(["J",0,"admin@localhost","v",0,"123456"])}]})();
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=
|
|
3
|
+
//# sourceMappingURL=src_0hbb4l46hkkx0._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(()=>{"use strict";module.exports=[579834,a=>{var b=a.i(187924),c=a.i(368114);a.s(["f",0,function({icon:a,title:d,description:e,action:f,className:g}){return(0,b.jsxs)("div",{className:(0,c.f)("flex flex-col items-center justify-center rounded-2xl border border-dashed bg-card/50 px-6 py-14 text-center",g),children:[(0,b.jsx)("div",{className:"mb-4 flex h-14 w-14 items-center justify-center rounded-2xl bg-accent text-accent-foreground",children:(0,b.jsx)(a,{className:"h-7 w-7"})}),(0,b.jsx)("p",{className:"font-medium",children:d}),e&&(0,b.jsx)("p",{className:"mt-1 max-w-sm text-sm text-muted-foreground",children:e}),f&&(0,b.jsx)("div",{className:"mt-5",children:f})]})}])},506376,a=>{var b=a.i(187924),c=a.i(
|
|
1
|
+
(()=>{"use strict";module.exports=[579834,a=>{var b=a.i(187924),c=a.i(368114);a.s(["f",0,function({icon:a,title:d,description:e,action:f,className:g}){return(0,b.jsxs)("div",{className:(0,c.f)("flex flex-col items-center justify-center rounded-2xl border border-dashed bg-card/50 px-6 py-14 text-center",g),children:[(0,b.jsx)("div",{className:"mb-4 flex h-14 w-14 items-center justify-center rounded-2xl bg-accent text-accent-foreground",children:(0,b.jsx)(a,{className:"h-7 w-7"})}),(0,b.jsx)("p",{className:"font-medium",children:d}),e&&(0,b.jsx)("p",{className:"mt-1 max-w-sm text-sm text-muted-foreground",children:e}),f&&(0,b.jsx)("div",{className:"mt-5",children:f})]})}])},506376,a=>{var b=a.i(187924),c=a.i(875160);a.s(["f",0,function({label:a}){return(0,b.jsxs)("div",{className:"flex min-h-[50vh] flex-col items-center justify-center gap-3 text-muted-foreground",children:[(0,b.jsx)(c.f,{className:"h-7 w-7 animate-spin text-primary"}),a&&(0,b.jsx)("p",{className:"text-sm",children:a})]})}])},957292,a=>{a.i(986705),a.s(["f",0,function(a){if(!a)return null;let b=a.toLowerCase();return b.includes("math")||b.includes("数学")?"math":b.includes("physics")||b.includes("物理")?"physics":b.includes("chemistry")||b.includes("化学")?"chemistry":b.includes("biology")||b.includes("生物")?"biology":b.includes("english")||b.includes("英语")?"english":b.includes("chinese")||b.includes("语文")?"chinese":b.includes("history")||b.includes("历史")?"history":b.includes("geography")||b.includes("地理")?"geography":b.includes("politics")||b.includes("政治")?"politics":null}])}]})();
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=src_0wxvmqdi_0uno._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(()=>{"use strict";module.exports=[69633,a=>{var b=a.i(187924),c=a.i(168370),d=a.i(164831);let e={name:"key-round",size:24,node:[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]};e.node;let f=(0,d.f)(e);var g=a.i(550194),h=a.i(424235);a.s(["f",0,function(){let{t:a,language:d}=(0,g.b)(),e=a.auth.setupGuide,i=`${h.f}/wiki/${"en"===d?"Deployment-en":"Deployment"}`;return(0,b.jsxs)("div",{className:"space-y-2 rounded-lg border border-amber-300 bg-amber-50 p-4 text-sm text-amber-950 dark:border-amber-700 dark:bg-amber-950/40 dark:text-amber-100",children:[(0,b.jsxs)("p",{className:"flex items-center gap-2 font-medium",children:[(0,b.jsx)(f,{className:"h-4 w-4 shrink-0"}),e.title]}),(0,b.jsx)("p",{children:e.intro}),(0,b.jsxs)("ul",{className:"list-disc space-y-1 pl-5",children:[(0,b.jsx)("li",{children:e.desktop}),(0,b.jsx)("li",{children:e.docker}),(0,b.jsx)("li",{children:e.npm}),(0,b.jsx)("li",{children:e.tokenFile})]}),(0,b.jsxs)("a",{href:i,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-1 font-medium underline-offset-2 hover:underline",children:[e.docs,(0,b.jsx)(c.f,{className:"h-3.5 w-3.5"})]})]})}],69633)},702930,a=>{a.s(["J",0,"admin@localhost","v",0,"123456"])}]})();
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=src_1-cqlnizwbrvz._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[[827572,a=>{let b;var c,d,e=a.i(907997),f=a.i(423164);let g={className:f.default.className,style:{fontFamily:"'geistSans', 'geistSans Fallback'"}};null!=f.default.variable&&(g.variable=f.default.variable);var h=a.i(706111);let i={className:h.default.className,style:{fontFamily:"'geistMono', 'geistMono Fallback'"}};null!=h.default.variable&&(i.variable=h.default.variable);var j=a.i(547189),k=a.i(522734),l=a.i(814747);let m={trace:10,debug:20,info:30,warn:40,error:50,fatal:60};function n(a,b={}){let c,d=m[a],e=(c=process.env.LOG_LEVEL?.toLowerCase())&&void 0!==m[c]?m[c]:m.info;return(c,f)=>{let g,h;if(d<e)return;let i=new Date;"string"==typeof c?(g={},h=c):(g=c,h=f||"");{let c=JSON.stringify({level:a,time:i.toISOString(),...b,...g,msg:h});switch(a){case"error":case"fatal":console.error(c);break;case"warn":console.warn(c);break;default:console.log(c)}}}}let o=function a(b={}){return b.module,{trace:n("trace",b),debug:n("debug",b),info:n("info",b),warn:n("warn",b),error:n("error",b),fatal:n("fatal",b),child:c=>a({...b,...c}),box:(a,c,d="📋")=>{console.log(JSON.stringify({level:"info",time:new Date().toISOString(),...b,title:a,..."string"==typeof c?{content:c}:c||{},msg:a}))},divider:(a="-")=>{}}}({env:"production"});new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z"));let p="Asia/Shanghai",q={minimax:{name:"MiniMax",nameEn:"MiniMax",baseUrl:"https://api.minimax.cn/v1",model:"MiniMax-M3.1-Flash",envPrefix:"MINIMAX",consoleUrl:"https://platform.minimax.cn",docs:{cn:"https://platform.minimax.cn/docs/api-reference/api-overview",intl:"https://platform.minimax.io/docs/api-reference/api-overview",apiKey:"https://platform.minimax.cn/docs/guides/quickstart-preparation",models:"https://platform.minimax.cn/docs/guides/models-intro"}},glm:{name:"智谱 GLM",nameEn:"Zhipu GLM",baseUrl:"https://open.bigmodel.cn/api/paas/v4",model:"glm-5.3-flash",envPrefix:"GLM",consoleUrl:"https://open.bigmodel.cn",docs:{cn:"https://docs.bigmodel.cn/cn/guide/start/quick-start",intl:"https://docs.z.ai/guides/overview/quick-start",apiKey:"https://docs.bigmodel.cn/cn/guide/start/quick-start",models:"https://docs.bigmodel.cn/cn/guide/start/model-overview"}},deepseek:{name:"DeepSeek",nameEn:"DeepSeek",baseUrl:"https://api.deepseek.com",model:"deepseek-v4-flash",envPrefix:"DEEPSEEK",consoleUrl:"https://platform.deepseek.com",docs:{cn:"https://api-docs.deepseek.com/zh-cn/",apiKey:"https://api-docs.deepseek.com/zh-cn/",models:"https://api-docs.deepseek.com/zh-cn/quick_start/pricing"}},kimi:{name:"Kimi",nameEn:"Kimi",baseUrl:"https://api.moonshot.cn/v1",model:"kimi-k3.1-pro",envPrefix:"KIMI",consoleUrl:"https://platform.kimi.com",docs:{cn:"https://platform.moonshot.cn/docs/introduction",intl:"https://platform.moonshot.ai/docs/introduction",apiKey:"https://platform.moonshot.cn/docs/introduction",models:"https://platform.moonshot.cn/docs/pricing/chat"}},qwen:{name:"千问 Qwen",nameEn:"Qwen",baseUrl:"https://token-plan.cn-beijing.maas.aliyuncs.com/compatible-mode/v1",model:"qwen3.8-max",envPrefix:"QWEN",consoleUrl:"https://bailian.console.aliyun.com",docs:{cn:"https://help.aliyun.com/zh/model-studio/token-plan-personal-quick-start",intl:"https://www.alibabacloud.com/help/en/model-studio/token-plan-personal-quick-start",apiKey:"https://help.aliyun.com/zh/model-studio/token-plan-personal-quick-start",models:"https://help.aliyun.com/zh/model-studio/models"}},stepfun:{name:"阶跃星辰 StepFun",nameEn:"StepFun",baseUrl:"https://api.stepfun.com/step_plan/v1",model:"step-5-preview",envPrefix:"STEPFUN",consoleUrl:"https://platform.stepfun.com",docs:{cn:"https://platform.stepfun.com/docs/zh/guides/developer/openai",intl:"https://platform.stepfun.ai/docs/en/guides/developer/openai",apiKey:"https://platform.stepfun.com/docs/zh/guides/developer/openai",models:"https://platform.stepfun.com/docs/zh/guides/models/list"}},volcengine:{name:"火山引擎 豆包",nameEn:"Volcengine Doubao",baseUrl:"https://ark.cn-beijing.volces.com/api/v3",model:"doubao-seed-2-1-lite-260915",envPrefix:"VOLCENGINE",consoleUrl:"https://console.volcengine.com/ark",docs:{cn:"https://www.volcengine.com/docs/82379/1330626",intl:"https://docs.byteplus.com/en/docs/ModelArk/1330626",apiKey:"https://www.volcengine.com/docs/82379/1541594",models:"https://www.volcengine.com/docs/82379/1330310"}},"volcengine-agent":{name:"火山引擎 Agent Plan",nameEn:"Volcengine Agent Plan",baseUrl:"https://ark.cn-beijing.volces.com/api/plan/v3",model:"ark-code-latest",envPrefix:"VOLCENGINE_AGENT",consoleUrl:"https://console.volcengine.com/ark",docs:{cn:"https://ark.volcengine.com/region:cn-beijing/docs/82379/2160841?lang=zh",apiKey:"https://ark.volcengine.com/region:cn-beijing/docs/82379/2160841?lang=zh",models:"https://www.volcengine.com/docs/82379/2366394"}},"volcengine-coding":{name:"火山引擎 Coding Plan",nameEn:"Volcengine Coding Plan",baseUrl:"https://ark.cn-beijing.volces.com/api/coding/v3",model:"ark-code-latest",envPrefix:"VOLCENGINE_CODING",consoleUrl:"https://console.volcengine.com/ark",docs:{cn:"https://www.volcengine.com/docs/82379/1928261",apiKey:"https://www.volcengine.com/docs/82379/1928261",models:"https://www.volcengine.com/docs/82379/1928261"}},"volcengine-free":{name:"火山引擎(免费试用)",nameEn:"Volcengine (free trial)",baseUrl:"https://ark.cn-beijing.volces.com/api/v3",model:"doubao-seed-2-1-lite-260915",envPrefix:"VOLCENGINE_FREE",consoleUrl:"https://console.volcengine.com/ark",docs:{cn:"https://www.volcengine.com/docs/82379/1399514",apiKey:"https://www.volcengine.com/docs/82379/1541594",models:"https://www.volcengine.com/docs/82379/1330310"}}},r=Object.keys(q),s=["browser","minimax","qwen","glm","stepfun","volcengine","volcengine-agent","openai"],t=s.filter(a=>"browser"!==a),u=o.child({module:"config"}),v=l.default.join(process.env.CONFIG_DIR||l.default.join(process.cwd(),"config"),"app-config.json"),w={aiProvider:process.env.AI_PROVIDER||"minimax",allowRegistration:"true"===process.env.ALLOW_REGISTRATION,aiDailyLimit:Number.isInteger(b="number"==typeof(c=process.env.AI_DAILY_LIMIT)?c:Number(c))&&b>0?b:0,timeZone:p,openai:{instances:process.env.OPENAI_API_KEY?[{id:"env-default",name:"Default (ENV)",apiKey:process.env.OPENAI_API_KEY,baseUrl:process.env.OPENAI_BASE_URL||"https://api.openai.com/v1",model:process.env.OPENAI_MODEL||"gpt-6.1-sol"}]:[],activeInstanceId:process.env.OPENAI_API_KEY?"env-default":void 0},gemini:{apiKey:process.env.GOOGLE_API_KEY,baseUrl:process.env.GEMINI_BASE_URL,model:process.env.GEMINI_MODEL||"gemini-2.5-flash"},azure:{apiKey:process.env.AZURE_OPENAI_API_KEY,endpoint:process.env.AZURE_OPENAI_ENDPOINT,deploymentName:process.env.AZURE_OPENAI_DEPLOYMENT,apiVersion:process.env.AZURE_OPENAI_API_VERSION||"2024-02-15-preview",model:process.env.AZURE_OPENAI_MODEL||"gpt-4o"},anthropic:{apiKey:process.env.ANTHROPIC_API_KEY,baseUrl:process.env.ANTHROPIC_BASE_URL,model:process.env.ANTHROPIC_MODEL||"claude-sonnet-5-5"},minimaxCode:{model:process.env.MINIMAX_CODE_MODEL,autoCheckin:"false"!==process.env.MINIMAX_CODE_AUTO_CHECKIN},tts:{mode:"string"==typeof(d=process.env.TTS_MODE)&&s.includes(d)?process.env.TTS_MODE:"browser",volcengine:{apiKey:process.env.VOLCENGINE_TTS_API_KEY}},...Object.fromEntries(r.map(a=>{let b=q[a].envPrefix;return[a,{apiKey:process.env[`${b}_API_KEY`],baseUrl:process.env[`${b}_BASE_URL`],model:process.env[`${b}_MODEL`]}]})),prompts:{analyze:"",similar:""},timeouts:{analyze:18e4}};a.s(["default",0,function({children:a}){return(0,e.jsxs)("html",{lang:"en",suppressHydrationWarning:!0,children:[(0,e.jsx)("head",{children:(0,e.jsx)("title",{children:"AI智能错题本"})}),(0,e.jsx)("body",{className:`${g.variable} ${i.variable} antialiased`,suppressHydrationWarning:!0,children:(0,e.jsx)(j.Providers,{timeZone:function(){let a;try{a=function(){try{return k.default.readFileSync(v,"utf-8")}catch(a){if(a?.code==="ENOENT")return null;throw a}}()}catch(a){return u.error({error:a},"Failed to read config file"),w}if(null!==a)try{var b,c,d,e;let f=JSON.parse(a),g=f.openai;if((b=f.openai)&&"object"==typeof b&&"apiKey"in b&&!("instances"in b)){let a;u.info("Detected legacy OpenAI config, migrating to multi-instance format..."),g=function(a){if(!a.apiKey)return{instances:[],activeInstanceId:void 0};let b={id:"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,a=>{let b=16*Math.random()|0;return("x"===a?b:3&b|8).toString(16)}),name:"Default",apiKey:a.apiKey,baseUrl:a.baseUrl||"https://api.openai.com/v1",model:a.model||"gpt-6.1-sol"};return{instances:[b],activeInstanceId:b.id}}(f.openai),c={...f,openai:g},a=`${v}.${process.pid}.tmp`,k.default.writeFileSync(a,JSON.stringify(c,null,2)),k.default.renameSync(a,v),u.info("Legacy OpenAI config migrated successfully")}return{...w,...f,timeZone:!function(a){if("string"!=typeof a||!a.trim())return!1;try{return new Intl.DateTimeFormat("en",{timeZone:a.trim()}).format(),!0}catch{return!1}}(f.timeZone)?p:f.timeZone.trim(),openai:{instances:g?.instances||w.openai?.instances||[],activeInstanceId:g?.activeInstanceId||w.openai?.activeInstanceId},gemini:{...w.gemini,...f.gemini},azure:{...w.azure,...f.azure},anthropic:{...w.anthropic,...f.anthropic},minimaxCode:{...w.minimaxCode,...f.minimaxCode},...Object.fromEntries(r.map(a=>[a,{...w[a],...f[a]}])),prompts:{...w.prompts,...f.prompts},timeouts:{...w.timeouts,...f.timeouts},tts:(d=w.tts,e=f.tts,{mode:e?.mode??d?.mode??"browser",...Object.fromEntries(t.map(a=>[a,{...d?.[a],...e?.[a]}]))})}}catch(a){u.error({error:a},"Failed to read config file")}return w}().timeZone||p,children:a})})]})},"dynamic",0,"force-dynamic","metadata",0,{description:"基于AI的智能错题管理系统,帮助学生高效整理、分析和复习错题",appleWebApp:{capable:!0,statusBarStyle:"default",title:"智能错题本"},formatDetection:{telephone:!1},icons:{icon:"/icons/icon.png",apple:"/icons/apple-touch-icon.png"}},"viewport",0,{themeColor:"#4f46e5",width:"device-width",initialScale:1,maximumScale:1,userScalable:!1}],827572)},207698,a=>{let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call Providers() from the server but Providers is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/providers.tsx","Providers");a.s(["Providers",0,b])},547189,a=>{var b=a.i(207698);a.n(b)}],706111,a=>{a.v({className:"ayGZiq_className",variable:"ayGZiq_variable"})},423164,a=>{a.v({className:"ckR-yq_className",variable:"ckR-yq_variable"})},650645,function(a){a.n(a.i(827572))}];
|
|
1
|
+
module.exports=[[827572,a=>{let b;var c,d,e=a.i(907997),f=a.i(423164);let g={className:f.default.className,style:{fontFamily:"'geistSans', 'geistSans Fallback'"}};null!=f.default.variable&&(g.variable=f.default.variable);var h=a.i(706111);let i={className:h.default.className,style:{fontFamily:"'geistMono', 'geistMono Fallback'"}};null!=h.default.variable&&(i.variable=h.default.variable);var j=a.i(547189),k=a.i(522734),l=a.i(814747);let m={trace:10,debug:20,info:30,warn:40,error:50,fatal:60};function n(a,b={}){let c,d=m[a],e=(c=process.env.LOG_LEVEL?.toLowerCase())&&void 0!==m[c]?m[c]:m.info;return(c,f)=>{let g,h;if(d<e)return;let i=new Date;"string"==typeof c?(g={},h=c):(g=c,h=f||"");{let c=JSON.stringify({level:a,time:i.toISOString(),...b,...g,msg:h});switch(a){case"error":case"fatal":console.error(c);break;case"warn":console.warn(c);break;default:console.log(c)}}}}let o=function a(b={}){return b.module,{trace:n("trace",b),debug:n("debug",b),info:n("info",b),warn:n("warn",b),error:n("error",b),fatal:n("fatal",b),child:c=>a({...b,...c}),box:(a,c,d="📋")=>{console.log(JSON.stringify({level:"info",time:new Date().toISOString(),...b,title:a,..."string"==typeof c?{content:c}:c||{},msg:a}))},divider:(a="-")=>{}}}({env:"production"});new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z"));let p="Asia/Shanghai",q={minimax:{name:"MiniMax",nameEn:"MiniMax",baseUrl:"https://api.minimax.cn/v1",model:"MiniMax-M3.1-Flash",envPrefix:"MINIMAX",consoleUrl:"https://platform.minimax.cn",docs:{cn:"https://platform.minimax.cn/docs/api-reference/api-overview",intl:"https://platform.minimax.io/docs/api-reference/api-overview",apiKey:"https://platform.minimax.cn/docs/guides/quickstart-preparation",models:"https://platform.minimax.cn/docs/guides/models-intro"}},glm:{name:"智谱 GLM",nameEn:"Zhipu GLM",baseUrl:"https://open.bigmodel.cn/api/paas/v4",model:"glm-5.3-flash",envPrefix:"GLM",consoleUrl:"https://open.bigmodel.cn",docs:{cn:"https://docs.bigmodel.cn/cn/guide/start/quick-start",intl:"https://docs.z.ai/guides/overview/quick-start",apiKey:"https://docs.bigmodel.cn/cn/guide/start/quick-start",models:"https://docs.bigmodel.cn/cn/guide/start/model-overview"}},deepseek:{name:"DeepSeek",nameEn:"DeepSeek",baseUrl:"https://api.deepseek.com",model:"deepseek-v4-flash",envPrefix:"DEEPSEEK",consoleUrl:"https://platform.deepseek.com",docs:{cn:"https://api-docs.deepseek.com/zh-cn/",apiKey:"https://api-docs.deepseek.com/zh-cn/",models:"https://api-docs.deepseek.com/zh-cn/quick_start/pricing"}},kimi:{name:"Kimi",nameEn:"Kimi",baseUrl:"https://api.moonshot.cn/v1",model:"kimi-k3.1-pro",envPrefix:"KIMI",consoleUrl:"https://platform.kimi.com",docs:{cn:"https://platform.moonshot.cn/docs/introduction",intl:"https://platform.moonshot.ai/docs/introduction",apiKey:"https://platform.moonshot.cn/docs/introduction",models:"https://platform.moonshot.cn/docs/pricing/chat"}},qwen:{name:"千问 Qwen",nameEn:"Qwen",baseUrl:"https://token-plan.cn-beijing.maas.aliyuncs.com/compatible-mode/v1",model:"qwen3.8-max",envPrefix:"QWEN",consoleUrl:"https://bailian.console.aliyun.com",docs:{cn:"https://help.aliyun.com/zh/model-studio/token-plan-personal-quick-start",intl:"https://www.alibabacloud.com/help/en/model-studio/token-plan-personal-quick-start",apiKey:"https://help.aliyun.com/zh/model-studio/token-plan-personal-quick-start",models:"https://help.aliyun.com/zh/model-studio/models"}},stepfun:{name:"阶跃星辰 StepFun",nameEn:"StepFun",baseUrl:"https://api.stepfun.com/step_plan/v1",model:"step-5-preview",envPrefix:"STEPFUN",consoleUrl:"https://platform.stepfun.com",docs:{cn:"https://platform.stepfun.com/docs/zh/guides/developer/openai",intl:"https://platform.stepfun.ai/docs/en/guides/developer/openai",apiKey:"https://platform.stepfun.com/docs/zh/guides/developer/openai",models:"https://platform.stepfun.com/docs/zh/guides/models/list"}},volcengine:{name:"火山引擎 豆包",nameEn:"Volcengine Doubao",baseUrl:"https://ark.cn-beijing.volces.com/api/v3",model:"doubao-seed-evolving",envPrefix:"VOLCENGINE",consoleUrl:"https://console.volcengine.com/ark",docs:{cn:"https://www.volcengine.com/docs/82379/1330626",intl:"https://docs.byteplus.com/en/docs/ModelArk/1330626",apiKey:"https://www.volcengine.com/docs/82379/1541594",models:"https://www.volcengine.com/docs/82379/1330310"}},"volcengine-agent":{name:"火山引擎 Agent Plan",nameEn:"Volcengine Agent Plan",baseUrl:"https://ark.cn-beijing.volces.com/api/plan/v3",model:"doubao-seed-evolving",envPrefix:"VOLCENGINE_AGENT",consoleUrl:"https://console.volcengine.com/ark",docs:{cn:"https://ark.volcengine.com/region:cn-beijing/docs/82379/2160841?lang=zh",apiKey:"https://ark.volcengine.com/region:cn-beijing/docs/82379/2160841?lang=zh",models:"https://www.volcengine.com/docs/82379/2366394"}},"volcengine-coding":{name:"火山引擎 Coding Plan",nameEn:"Volcengine Coding Plan",baseUrl:"https://ark.cn-beijing.volces.com/api/coding/v3",model:"doubao-seed-evolving",envPrefix:"VOLCENGINE_CODING",consoleUrl:"https://console.volcengine.com/ark",docs:{cn:"https://www.volcengine.com/docs/82379/1928261",apiKey:"https://www.volcengine.com/docs/82379/1928261",models:"https://www.volcengine.com/docs/82379/1928261"}},"volcengine-free":{name:"火山引擎(免费试用)",nameEn:"Volcengine (free trial)",baseUrl:"https://ark.cn-beijing.volces.com/api/v3",model:"doubao-seed-evolving",envPrefix:"VOLCENGINE_FREE",consoleUrl:"https://console.volcengine.com/ark",docs:{cn:"https://www.volcengine.com/docs/82379/1399514",apiKey:"https://www.volcengine.com/docs/82379/1541594",models:"https://www.volcengine.com/docs/82379/1330310"}}},r=Object.keys(q),s=["browser","minimax","qwen","glm","stepfun","volcengine","volcengine-agent","openai"],t=s.filter(a=>"browser"!==a),u=o.child({module:"config"}),v=l.default.join(process.env.CONFIG_DIR||l.default.join(process.cwd(),"config"),"app-config.json"),w={aiProvider:process.env.AI_PROVIDER||"minimax",allowRegistration:"true"===process.env.ALLOW_REGISTRATION,aiDailyLimit:Number.isInteger(b="number"==typeof(c=process.env.AI_DAILY_LIMIT)?c:Number(c))&&b>0?b:0,timeZone:p,openai:{instances:process.env.OPENAI_API_KEY?[{id:"env-default",name:"Default (ENV)",apiKey:process.env.OPENAI_API_KEY,baseUrl:process.env.OPENAI_BASE_URL||"https://api.openai.com/v1",model:process.env.OPENAI_MODEL||"gpt-6.1-sol"}]:[],activeInstanceId:process.env.OPENAI_API_KEY?"env-default":void 0},gemini:{apiKey:process.env.GOOGLE_API_KEY,baseUrl:process.env.GEMINI_BASE_URL,model:process.env.GEMINI_MODEL||"gemini-2.5-flash"},azure:{apiKey:process.env.AZURE_OPENAI_API_KEY,endpoint:process.env.AZURE_OPENAI_ENDPOINT,deploymentName:process.env.AZURE_OPENAI_DEPLOYMENT,apiVersion:process.env.AZURE_OPENAI_API_VERSION||"2024-02-15-preview",model:process.env.AZURE_OPENAI_MODEL||"gpt-4o"},anthropic:{apiKey:process.env.ANTHROPIC_API_KEY,baseUrl:process.env.ANTHROPIC_BASE_URL,model:process.env.ANTHROPIC_MODEL||"claude-sonnet-5-5"},minimaxCode:{model:process.env.MINIMAX_CODE_MODEL,autoCheckin:"false"!==process.env.MINIMAX_CODE_AUTO_CHECKIN},tts:{mode:"string"==typeof(d=process.env.TTS_MODE)&&s.includes(d)?process.env.TTS_MODE:"browser",volcengine:{apiKey:process.env.VOLCENGINE_TTS_API_KEY}},...Object.fromEntries(r.map(a=>{let b=q[a].envPrefix;return[a,{apiKey:process.env[`${b}_API_KEY`],baseUrl:process.env[`${b}_BASE_URL`],model:process.env[`${b}_MODEL`]}]})),prompts:{analyze:"",similar:""},timeouts:{analyze:18e4}};a.s(["default",0,function({children:a}){return(0,e.jsxs)("html",{lang:"en",suppressHydrationWarning:!0,children:[(0,e.jsx)("head",{children:(0,e.jsx)("title",{children:"AI智能错题本"})}),(0,e.jsx)("body",{className:`${g.variable} ${i.variable} antialiased`,suppressHydrationWarning:!0,children:(0,e.jsx)(j.Providers,{timeZone:function(){let a;try{a=function(){try{return k.default.readFileSync(v,"utf-8")}catch(a){if(a?.code==="ENOENT")return null;throw a}}()}catch(a){return u.error({error:a},"Failed to read config file"),w}if(null!==a)try{var b,c,d,e;let f=JSON.parse(a),g=f.openai;if((b=f.openai)&&"object"==typeof b&&"apiKey"in b&&!("instances"in b)){let a;u.info("Detected legacy OpenAI config, migrating to multi-instance format..."),g=function(a){if(!a.apiKey)return{instances:[],activeInstanceId:void 0};let b={id:"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,a=>{let b=16*Math.random()|0;return("x"===a?b:3&b|8).toString(16)}),name:"Default",apiKey:a.apiKey,baseUrl:a.baseUrl||"https://api.openai.com/v1",model:a.model||"gpt-6.1-sol"};return{instances:[b],activeInstanceId:b.id}}(f.openai),c={...f,openai:g},a=`${v}.${process.pid}.tmp`,k.default.writeFileSync(a,JSON.stringify(c,null,2)),k.default.renameSync(a,v),u.info("Legacy OpenAI config migrated successfully")}return{...w,...f,timeZone:!function(a){if("string"!=typeof a||!a.trim())return!1;try{return new Intl.DateTimeFormat("en",{timeZone:a.trim()}).format(),!0}catch{return!1}}(f.timeZone)?p:f.timeZone.trim(),openai:{instances:g?.instances||w.openai?.instances||[],activeInstanceId:g?.activeInstanceId||w.openai?.activeInstanceId},gemini:{...w.gemini,...f.gemini},azure:{...w.azure,...f.azure},anthropic:{...w.anthropic,...f.anthropic},minimaxCode:{...w.minimaxCode,...f.minimaxCode},...Object.fromEntries(r.map(a=>[a,{...w[a],...f[a]}])),prompts:{...w.prompts,...f.prompts},timeouts:{...w.timeouts,...f.timeouts},tts:(d=w.tts,e=f.tts,{mode:e?.mode??d?.mode??"browser",...Object.fromEntries(t.map(a=>[a,{...d?.[a],...e?.[a]}]))})}}catch(a){u.error({error:a},"Failed to read config file")}return w}().timeZone||p,children:a})})]})},"dynamic",0,"force-dynamic","metadata",0,{description:"基于AI的智能错题管理系统,帮助学生高效整理、分析和复习错题",appleWebApp:{capable:!0,statusBarStyle:"default",title:"智能错题本"},formatDetection:{telephone:!1},icons:{icon:"/icons/icon.png",apple:"/icons/apple-touch-icon.png"}},"viewport",0,{themeColor:"#4f46e5",width:"device-width",initialScale:1,maximumScale:1,userScalable:!1}],827572)},207698,a=>{let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call Providers() from the server but Providers is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/providers.tsx","Providers");a.s(["Providers",0,b])},547189,a=>{var b=a.i(207698);a.n(b)}],706111,a=>{a.v({className:"ayGZiq_className",variable:"ayGZiq_variable"})},423164,a=>{a.v({className:"ckR-yq_className",variable:"ckR-yq_variable"})},650645,function(a){a.n(a.i(827572))}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=src_1gayunqs8u2e2._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[510179,a=>{"use strict";var b=a.i(187924),c=a.i(572131),d=a.i(875003),e=a.i(50944),f=a.i(550194),g=a.i(557999),h=a.i(529759),i=a.i(986705),j=a.i(291938),k=a.i(630534),l=a.i(596221);let m=(0,a.i(170106).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 n=a.i(953722),o=a.i(584362),p=a.i(717545),q=a.i(724669),r=a.i(816201),s=a.i(641710),t=a.i(292e3),u=a.i(405784),v=a.i(767552),w=a.i(177156),x=a.i(839761),y=a.i(699570),z=a.i(251538),A=a.i(591119),B=a.i(786304);function C({data:a,t:c}){let d=[{title:c.admin?.dashboard?.totalUsers||"Total Users",value:a.overview.totalUsers,icon:m,color:"text-blue-500",bgColor:"bg-blue-50 dark:bg-blue-950/30"},{title:c.admin?.dashboard?.totalErrors||"Total Errors",value:a.overview.totalErrorItems,icon:n.f,color:"text-red-500",bgColor:"bg-red-50 dark:bg-red-950/30"},{title:c.admin?.dashboard?.totalPractice||"Total Practice",value:a.overview.totalPracticeRecords,icon:o.f,color:"text-green-500",bgColor:"bg-green-50 dark:bg-green-950/30"},{title:c.admin?.dashboard?.totalNotebooks||"Total Notebooks",value:a.overview.totalSubjects,icon:p.f,color:"text-purple-500",bgColor:"bg-purple-50 dark:bg-purple-950/30"}];return(0,b.jsx)("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4",children:d.map(a=>(0,b.jsx)(A.N,{className:"border-0 shadow-sm",children:(0,b.jsxs)(A.O,{className:"p-4 flex items-center gap-4",children:[(0,b.jsx)("div",{className:`p-3 rounded-xl ${a.bgColor}`,children:(0,b.jsx)(a.icon,{className:`h-6 w-6 ${a.color}`})}),(0,b.jsxs)("div",{children:[(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:a.title}),(0,b.jsx)("p",{className:"text-2xl font-bold",children:a.value})]})]})},a.title))})}function D({data:a,t:c}){let d=Math.max(...a.dailyTrend.map(a=>a.count),1);return(0,b.jsxs)(A.N,{className:"border-0 shadow-sm",children:[(0,b.jsx)(A.Y,{className:"pb-2",children:(0,b.jsxs)(A.v,{className:"text-base flex items-center gap-2",children:[(0,b.jsx)(q.f,{className:"h-4 w-4 text-orange-500"}),c.admin?.dashboard?.recentTrend||"Recent 7-Day Trend"]})}),(0,b.jsx)(A.O,{children:(0,b.jsx)("div",{className:"flex items-end gap-2 h-40",children:a.dailyTrend.map(a=>{let c=d>0?a.count/d*100:0,e=a.date.slice(5).replace("-","/");return(0,b.jsxs)("div",{className:"flex-1 flex flex-col items-center gap-1",children:[(0,b.jsx)("span",{className:"text-xs font-medium",children:a.count>0?a.count:""}),(0,b.jsx)("div",{className:"w-full relative",style:{height:"100px"},children:(0,b.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(c,4)}%`}})}),(0,b.jsx)("span",{className:"text-xs text-muted-foreground",children:e})]},a.date)})})})]})}function E({data:a,t:c}){let d=a.subjectDistribution.reduce((a,b)=>a+b.count,0),e=["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,b.jsxs)(A.N,{className:"border-0 shadow-sm",children:[(0,b.jsx)(A.Y,{className:"pb-2",children:(0,b.jsxs)(A.v,{className:"text-base flex items-center gap-2",children:[(0,b.jsx)(x.f,{className:"h-4 w-4 text-blue-500"}),c.admin?.dashboard?.subjectDistribution||"Subject Distribution"]})}),(0,b.jsx)(A.O,{children:0===d?(0,b.jsx)("p",{className:"text-sm text-muted-foreground py-8 text-center",children:c.admin?.dashboard?.noData||"No Data"}):(0,b.jsx)("div",{className:"space-y-3",children:a.subjectDistribution.map((a,c)=>{let f=d>0?Math.round(a.count/d*100):0;return(0,b.jsxs)("div",{className:"space-y-1",children:[(0,b.jsxs)("div",{className:"flex justify-between text-sm",children:[(0,b.jsx)("span",{className:"font-medium",children:a.name}),(0,b.jsxs)("span",{className:"text-muted-foreground",children:[a.count," (",f,"%)"]})]}),(0,b.jsx)("div",{className:"w-full bg-muted rounded-full h-2.5",children:(0,b.jsx)("div",{className:`h-2.5 rounded-full ${e[c%e.length]} transition-all duration-500`,style:{width:`${f}%`}})})]},a.name)})})})]})}function F({data:a,t:c}){let d=a.masteryDistribution.new+a.masteryDistribution.reviewing+a.masteryDistribution.mastered,e=[{key:"new",label:c.admin?.dashboard?.masteryNew||"To Review",count:a.masteryDistribution.new,icon:t.f,color:"text-red-500",bg:"bg-red-500"},{key:"reviewing",label:c.admin?.dashboard?.masteryReviewing||"Reviewing",count:a.masteryDistribution.reviewing,icon:s.f,color:"text-yellow-500",bg:"bg-yellow-500"},{key:"mastered",label:c.admin?.dashboard?.masteryMastered||"Mastered",count:a.masteryDistribution.mastered,icon:r.f,color:"text-green-500",bg:"bg-green-500"}];return(0,b.jsxs)(A.N,{className:"border-0 shadow-sm",children:[(0,b.jsx)(A.Y,{className:"pb-2",children:(0,b.jsxs)(A.v,{className:"text-base flex items-center gap-2",children:[(0,b.jsx)(r.f,{className:"h-4 w-4 text-green-500"}),c.admin?.dashboard?.masteryDistribution||"Mastery Distribution"]})}),(0,b.jsx)(A.O,{children:0===d?(0,b.jsx)("p",{className:"text-sm text-muted-foreground py-8 text-center",children:c.admin?.dashboard?.noData||"No Data"}):(0,b.jsx)("div",{className:"space-y-3",children:e.map(a=>{let c=d>0?Math.round(a.count/d*100):0;return(0,b.jsxs)("div",{className:"space-y-1",children:[(0,b.jsxs)("div",{className:"flex justify-between text-sm items-center",children:[(0,b.jsxs)("span",{className:"flex items-center gap-1.5 font-medium",children:[(0,b.jsx)(a.icon,{className:`h-4 w-4 ${a.color}`}),a.label]}),(0,b.jsxs)("span",{className:"text-muted-foreground",children:[a.count," (",c,"%)"]})]}),(0,b.jsx)("div",{className:"w-full bg-muted rounded-full h-2.5",children:(0,b.jsx)("div",{className:`h-2.5 rounded-full ${a.bg} transition-all duration-500`,style:{width:`${c}%`}})})]},a.key)})})})]})}function G({users:a,onViewDetail:d}){let{timeZone:e}=(0,h.M)(),{t:g}=(0,f.b)(),[j,k]=(0,c.useState)(null);return(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsx)("div",{className:"hidden md:block border rounded-lg overflow-hidden",children:(0,b.jsxs)("table",{className:"w-full text-sm",children:[(0,b.jsx)("thead",{className:"bg-muted/50",children:(0,b.jsxs)("tr",{children:[(0,b.jsx)("th",{className:"text-left p-3 font-medium",children:g.admin?.dashboard?.userName||"Username"}),(0,b.jsx)("th",{className:"text-left p-3 font-medium",children:g.admin?.dashboard?.email||"Email"}),(0,b.jsx)("th",{className:"text-center p-3 font-medium",children:g.admin?.dashboard?.notebooks||"Notebooks"}),(0,b.jsx)("th",{className:"text-center p-3 font-medium",children:g.admin?.dashboard?.errors||"Errors"}),(0,b.jsx)("th",{className:"text-center p-3 font-medium",children:g.admin?.dashboard?.practice||"Practice"}),(0,b.jsx)("th",{className:"text-center p-3 font-medium",children:g.admin?.dashboard?.status||"Status"}),(0,b.jsx)("th",{className:"text-center p-3 font-medium",children:g.admin?.dashboard?.registeredAt||"Registered At"}),(0,b.jsx)("th",{className:"text-center p-3 font-medium",children:g.admin?.dashboard?.actions||"Actions"})]})}),(0,b.jsx)("tbody",{children:a.map(a=>(0,b.jsxs)("tr",{className:"border-t hover:bg-muted/30 transition-colors",children:[(0,b.jsx)("td",{className:"p-3",children:(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("span",{className:"font-medium",children:a.name||"N/A"}),"admin"===a.role&&(0,b.jsx)(B.f,{variant:"default",className:"text-xs",children:g.admin?.admin||"Admin"})]})}),(0,b.jsx)("td",{className:"p-3 text-muted-foreground",children:a.email}),(0,b.jsx)("td",{className:"p-3 text-center",children:a.notebookCount}),(0,b.jsx)("td",{className:"p-3 text-center font-medium",children:a.errorCount}),(0,b.jsx)("td",{className:"p-3 text-center",children:a.practiceCount}),(0,b.jsx)("td",{className:"p-3 text-center",children:(0,b.jsx)(B.f,{variant:a.isActive?"default":"destructive",className:"text-xs",children:a.isActive?g.admin?.active||"Active":g.admin?.disabled||"Disabled"})}),(0,b.jsx)("td",{className:"p-3 text-center text-muted-foreground text-xs",children:(0,i.r)(a.createdAt,"yyyy-MM-dd",e)}),(0,b.jsx)("td",{className:"p-3 text-center",children:(0,b.jsx)(y.f,{variant:"ghost",size:"sm",onClick:()=>d(a.id),title:g.admin?.dashboard?.viewDetail||"View Detail",children:(0,b.jsx)(w.f,{className:"h-4 w-4"})})})]},a.id))})]})}),(0,b.jsx)("div",{className:"md:hidden space-y-3",children:a.map(a=>(0,b.jsx)(A.N,{className:"border-0 shadow-sm",children:(0,b.jsxs)(A.O,{className:"p-4",children:[(0,b.jsxs)("div",{className:"flex justify-between items-start cursor-pointer",onClick:()=>k(j===a.id?null:a.id),children:[(0,b.jsxs)("div",{className:"space-y-1",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("span",{className:"font-medium",children:a.name||"N/A"}),"admin"===a.role&&(0,b.jsx)(B.f,{variant:"default",className:"text-xs",children:g.admin?.admin||"Admin"})]}),(0,b.jsx)("div",{className:"text-sm text-muted-foreground",children:a.email})]}),(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)(B.f,{variant:a.isActive?"default":"destructive",className:"text-xs",children:a.isActive?g.admin?.active||"Active":g.admin?.disabled||"Disabled"}),j===a.id?(0,b.jsx)(v.f,{className:"h-4 w-4 text-muted-foreground"}):(0,b.jsx)(u.f,{className:"h-4 w-4 text-muted-foreground"})]})]}),j===a.id&&(0,b.jsxs)("div",{className:"mt-3 pt-3 border-t grid grid-cols-3 gap-3 text-center",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"text-lg font-bold",children:a.notebookCount}),(0,b.jsx)("div",{className:"text-xs text-muted-foreground",children:g.admin?.dashboard?.notebooks||"Notebooks"})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"text-lg font-bold text-red-500",children:a.errorCount}),(0,b.jsx)("div",{className:"text-xs text-muted-foreground",children:g.admin?.dashboard?.errors||"Errors"})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"text-lg font-bold text-green-500",children:a.practiceCount}),(0,b.jsx)("div",{className:"text-xs text-muted-foreground",children:g.admin?.dashboard?.practice||"Practice"})]})]}),j===a.id&&(0,b.jsxs)("div",{className:"mt-3 pt-3 border-t flex justify-between items-center",children:[(0,b.jsx)("span",{className:"text-xs text-muted-foreground",children:(0,i.r)(a.createdAt,"yyyy-MM-dd",e)}),(0,b.jsxs)(y.f,{variant:"ghost",size:"sm",onClick:()=>d(a.id),children:[(0,b.jsx)(w.f,{className:"h-4 w-4 mr-1"}),g.admin?.dashboard?.viewDetail||"View Detail"]})]})]})},a.id))})]})}a.s(["default",0,function(){let{data:a,status:h}=(0,d.useSession)(),i=(0,e.useRouter)(),{t:n}=(0,f.b)(),[o,p]=(0,c.useState)(null);(0,g.f)(n.admin.dashboard.title);let[q,r]=(0,c.useState)(!0),s=(0,c.useCallback)(async()=>{r(!0);try{let a=await j.f.get("/api/admin/dashboard");p(a)}catch(a){k.f.error("[AdminDashboard]","Failed to fetch dashboard data",{error:a})}finally{r(!1)}},[]);return((0,c.useEffect)(()=>{if("loading"!==h){if(!a?.user||"admin"!==a.user.role)return void i.push("/");s()}},[a,h,i,s]),"loading"===h||q)?(0,b.jsx)("div",{className:"flex items-center justify-center min-h-[60vh]",children:(0,b.jsx)(l.f,{className:"h-8 w-8 animate-spin text-muted-foreground"})}):o?(0,b.jsxs)("div",{className:"max-w-6xl mx-auto space-y-6 px-4 py-6 md:px-8 md:py-8",children:[(0,b.jsx)(z.f,{title:n.admin?.dashboard?.title||"Admin Dashboard",description:n.admin?.dashboard?.subtitle||"View all users and error statistics"}),(0,b.jsx)(C,{data:o,t:n}),(0,b.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,b.jsx)(D,{data:o,t:n}),(0,b.jsx)(F,{data:o,t:n})]}),(0,b.jsx)(E,{data:o,t:n}),(0,b.jsxs)(A.N,{className:"border-0 shadow-sm",children:[(0,b.jsxs)(A.Y,{className:"pb-2",children:[(0,b.jsxs)(A.v,{className:"text-lg flex items-center gap-2",children:[(0,b.jsx)(m,{className:"h-5 w-5 text-blue-500"}),n.admin?.dashboard?.userList||"User List"]}),(0,b.jsx)(A.u,{children:n.admin?.dashboard?.userListDesc||"All registered users and their error entry status"})]}),(0,b.jsx)(A.O,{children:(0,b.jsx)(G,{users:o.userStats,onViewDetail:a=>i.push(`/admin/user/${a}`)})})]})]}):(0,b.jsxs)("div",{className:"flex flex-col items-center justify-center min-h-[60vh] gap-4",children:[(0,b.jsx)("p",{className:"text-muted-foreground",children:n.common?.error||"Error"}),(0,b.jsx)(y.f,{onClick:s,children:n.admin?.dashboard?.retry||"Retry"})]})}],510179)}];
|
|
1
|
+
module.exports=[510179,a=>{"use strict";var b=a.i(187924),c=a.i(572131),d=a.i(875003),e=a.i(50944),f=a.i(875160),g=a.i(164831);let h={name:"users",size:24,node:[["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"}]]};h.node;let i=(0,g.f)(h);var j=a.i(699570),k=a.i(251538),l=a.i(591119),m=a.i(118688),n=a.i(207812),o=a.i(308658),p=a.i(343419),q=a.i(79362),r=a.i(308311),s=a.i(97546),t=a.i(283248);function u({data:a,t:c}){let d=[{title:c.admin?.dashboard?.totalUsers||"Total Users",value:a.overview.totalUsers,icon:i,color:"text-blue-500",bgColor:"bg-blue-50 dark:bg-blue-950/30"},{title:c.admin?.dashboard?.totalErrors||"Total Errors",value:a.overview.totalErrorItems,icon:m.f,color:"text-red-500",bgColor:"bg-red-50 dark:bg-red-950/30"},{title:c.admin?.dashboard?.totalPractice||"Total Practice",value:a.overview.totalPracticeRecords,icon:n.f,color:"text-green-500",bgColor:"bg-green-50 dark:bg-green-950/30"},{title:c.admin?.dashboard?.totalNotebooks||"Total Notebooks",value:a.overview.totalSubjects,icon:o.f,color:"text-purple-500",bgColor:"bg-purple-50 dark:bg-purple-950/30"}];return(0,b.jsx)("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4",children:d.map(a=>(0,b.jsx)(l.N,{className:"border-0 shadow-sm",children:(0,b.jsxs)(l.O,{className:"p-4 flex items-center gap-4",children:[(0,b.jsx)("div",{className:`p-3 rounded-xl ${a.bgColor}`,children:(0,b.jsx)(a.icon,{className:`h-6 w-6 ${a.color}`})}),(0,b.jsxs)("div",{children:[(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:a.title}),(0,b.jsx)("p",{className:"text-2xl font-bold",children:a.value})]})]})},a.title))})}function v({data:a,t:c}){let d=Math.max(...a.dailyTrend.map(a=>a.count),1);return(0,b.jsxs)(l.N,{className:"border-0 shadow-sm",children:[(0,b.jsx)(l.Y,{className:"pb-2",children:(0,b.jsxs)(l.v,{className:"text-base flex items-center gap-2",children:[(0,b.jsx)(p.f,{className:"h-4 w-4 text-orange-500"}),c.admin?.dashboard?.recentTrend||"Recent 7-Day Trend"]})}),(0,b.jsx)(l.O,{children:(0,b.jsx)("div",{className:"flex items-end gap-2 h-40",children:a.dailyTrend.map(a=>{let c=d>0?a.count/d*100:0,e=a.date.slice(5).replace("-","/");return(0,b.jsxs)("div",{className:"flex-1 flex flex-col items-center gap-1",children:[(0,b.jsx)("span",{className:"text-xs font-medium",children:a.count>0?a.count:""}),(0,b.jsx)("div",{className:"w-full relative",style:{height:"100px"},children:(0,b.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(c,4)}%`}})}),(0,b.jsx)("span",{className:"text-xs text-muted-foreground",children:e})]},a.date)})})})]})}function w({data:a,t:c}){let d=a.subjectDistribution.reduce((a,b)=>a+b.count,0),e=["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,b.jsxs)(l.N,{className:"border-0 shadow-sm",children:[(0,b.jsx)(l.Y,{className:"pb-2",children:(0,b.jsxs)(l.v,{className:"text-base flex items-center gap-2",children:[(0,b.jsx)(t.f,{className:"h-4 w-4 text-blue-500"}),c.admin?.dashboard?.subjectDistribution||"Subject Distribution"]})}),(0,b.jsx)(l.O,{children:0===d?(0,b.jsx)("p",{className:"text-sm text-muted-foreground py-8 text-center",children:c.admin?.dashboard?.noData||"No Data"}):(0,b.jsx)("div",{className:"space-y-3",children:a.subjectDistribution.map((a,c)=>{let f=d>0?Math.round(a.count/d*100):0;return(0,b.jsxs)("div",{className:"space-y-1",children:[(0,b.jsxs)("div",{className:"flex justify-between text-sm",children:[(0,b.jsx)("span",{className:"font-medium",children:a.name}),(0,b.jsxs)("span",{className:"text-muted-foreground",children:[a.count," (",f,"%)"]})]}),(0,b.jsx)("div",{className:"w-full bg-muted rounded-full h-2.5",children:(0,b.jsx)("div",{className:`h-2.5 rounded-full ${e[c%e.length]} transition-all duration-500`,style:{width:`${f}%`}})})]},a.name)})})})]})}function x({data:a,t:c}){let d=a.masteryDistribution.new+a.masteryDistribution.reviewing+a.masteryDistribution.mastered,e=[{key:"new",label:c.admin?.dashboard?.masteryNew||"To Review",count:a.masteryDistribution.new,icon:s.f,color:"text-red-500",bg:"bg-red-500"},{key:"reviewing",label:c.admin?.dashboard?.masteryReviewing||"Reviewing",count:a.masteryDistribution.reviewing,icon:r.f,color:"text-yellow-500",bg:"bg-yellow-500"},{key:"mastered",label:c.admin?.dashboard?.masteryMastered||"Mastered",count:a.masteryDistribution.mastered,icon:q.f,color:"text-green-500",bg:"bg-green-500"}];return(0,b.jsxs)(l.N,{className:"border-0 shadow-sm",children:[(0,b.jsx)(l.Y,{className:"pb-2",children:(0,b.jsxs)(l.v,{className:"text-base flex items-center gap-2",children:[(0,b.jsx)(q.f,{className:"h-4 w-4 text-green-500"}),c.admin?.dashboard?.masteryDistribution||"Mastery Distribution"]})}),(0,b.jsx)(l.O,{children:0===d?(0,b.jsx)("p",{className:"text-sm text-muted-foreground py-8 text-center",children:c.admin?.dashboard?.noData||"No Data"}):(0,b.jsx)("div",{className:"space-y-3",children:e.map(a=>{let c=d>0?Math.round(a.count/d*100):0;return(0,b.jsxs)("div",{className:"space-y-1",children:[(0,b.jsxs)("div",{className:"flex justify-between text-sm items-center",children:[(0,b.jsxs)("span",{className:"flex items-center gap-1.5 font-medium",children:[(0,b.jsx)(a.icon,{className:`h-4 w-4 ${a.color}`}),a.label]}),(0,b.jsxs)("span",{className:"text-muted-foreground",children:[a.count," (",c,"%)"]})]}),(0,b.jsx)("div",{className:"w-full bg-muted rounded-full h-2.5",children:(0,b.jsx)("div",{className:`h-2.5 rounded-full ${a.bg} transition-all duration-500`,style:{width:`${c}%`}})})]},a.key)})})})]})}var y=a.i(589027),z=a.i(113608),A=a.i(755681),B=a.i(786304),C=a.i(550194),D=a.i(529759),E=a.i(986705);function F({users:a,onViewDetail:d}){let{timeZone:e}=(0,D.M)(),{t:f}=(0,C.b)(),[g,h]=(0,c.useState)(null);return(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsx)("div",{className:"hidden md:block border rounded-lg overflow-hidden",children:(0,b.jsxs)("table",{className:"w-full text-sm",children:[(0,b.jsx)("thead",{className:"bg-muted/50",children:(0,b.jsxs)("tr",{children:[(0,b.jsx)("th",{className:"text-left p-3 font-medium",children:f.admin?.dashboard?.userName||"Username"}),(0,b.jsx)("th",{className:"text-left p-3 font-medium",children:f.admin?.dashboard?.email||"Email"}),(0,b.jsx)("th",{className:"text-center p-3 font-medium",children:f.admin?.dashboard?.notebooks||"Notebooks"}),(0,b.jsx)("th",{className:"text-center p-3 font-medium",children:f.admin?.dashboard?.errors||"Errors"}),(0,b.jsx)("th",{className:"text-center p-3 font-medium",children:f.admin?.dashboard?.practice||"Practice"}),(0,b.jsx)("th",{className:"text-center p-3 font-medium",children:f.admin?.dashboard?.status||"Status"}),(0,b.jsx)("th",{className:"text-center p-3 font-medium",children:f.admin?.dashboard?.registeredAt||"Registered At"}),(0,b.jsx)("th",{className:"text-center p-3 font-medium",children:f.admin?.dashboard?.actions||"Actions"})]})}),(0,b.jsx)("tbody",{children:a.map(a=>(0,b.jsxs)("tr",{className:"border-t hover:bg-muted/30 transition-colors",children:[(0,b.jsx)("td",{className:"p-3",children:(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("span",{className:"font-medium",children:a.name||"N/A"}),"admin"===a.role&&(0,b.jsx)(B.f,{variant:"default",className:"text-xs",children:f.admin?.admin||"Admin"})]})}),(0,b.jsx)("td",{className:"p-3 text-muted-foreground",children:a.email}),(0,b.jsx)("td",{className:"p-3 text-center",children:a.notebookCount}),(0,b.jsx)("td",{className:"p-3 text-center font-medium",children:a.errorCount}),(0,b.jsx)("td",{className:"p-3 text-center",children:a.practiceCount}),(0,b.jsx)("td",{className:"p-3 text-center",children:(0,b.jsx)(B.f,{variant:a.isActive?"default":"destructive",className:"text-xs",children:a.isActive?f.admin?.active||"Active":f.admin?.disabled||"Disabled"})}),(0,b.jsx)("td",{className:"p-3 text-center text-muted-foreground text-xs",children:(0,E.r)(a.createdAt,"yyyy-MM-dd",e)}),(0,b.jsx)("td",{className:"p-3 text-center",children:(0,b.jsx)(j.f,{variant:"ghost",size:"sm",onClick:()=>d(a.id),title:f.admin?.dashboard?.viewDetail||"View Detail",children:(0,b.jsx)(A.f,{className:"h-4 w-4"})})})]},a.id))})]})}),(0,b.jsx)("div",{className:"md:hidden space-y-3",children:a.map(a=>(0,b.jsx)(l.N,{className:"border-0 shadow-sm",children:(0,b.jsxs)(l.O,{className:"p-4",children:[(0,b.jsxs)("div",{className:"flex justify-between items-start cursor-pointer",onClick:()=>h(g===a.id?null:a.id),children:[(0,b.jsxs)("div",{className:"space-y-1",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("span",{className:"font-medium",children:a.name||"N/A"}),"admin"===a.role&&(0,b.jsx)(B.f,{variant:"default",className:"text-xs",children:f.admin?.admin||"Admin"})]}),(0,b.jsx)("div",{className:"text-sm text-muted-foreground",children:a.email})]}),(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)(B.f,{variant:a.isActive?"default":"destructive",className:"text-xs",children:a.isActive?f.admin?.active||"Active":f.admin?.disabled||"Disabled"}),g===a.id?(0,b.jsx)(z.f,{className:"h-4 w-4 text-muted-foreground"}):(0,b.jsx)(y.f,{className:"h-4 w-4 text-muted-foreground"})]})]}),g===a.id&&(0,b.jsxs)("div",{className:"mt-3 pt-3 border-t grid grid-cols-3 gap-3 text-center",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"text-lg font-bold",children:a.notebookCount}),(0,b.jsx)("div",{className:"text-xs text-muted-foreground",children:f.admin?.dashboard?.notebooks||"Notebooks"})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"text-lg font-bold text-red-500",children:a.errorCount}),(0,b.jsx)("div",{className:"text-xs text-muted-foreground",children:f.admin?.dashboard?.errors||"Errors"})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"text-lg font-bold text-green-500",children:a.practiceCount}),(0,b.jsx)("div",{className:"text-xs text-muted-foreground",children:f.admin?.dashboard?.practice||"Practice"})]})]}),g===a.id&&(0,b.jsxs)("div",{className:"mt-3 pt-3 border-t flex justify-between items-center",children:[(0,b.jsx)("span",{className:"text-xs text-muted-foreground",children:(0,E.r)(a.createdAt,"yyyy-MM-dd",e)}),(0,b.jsxs)(j.f,{variant:"ghost",size:"sm",onClick:()=>d(a.id),children:[(0,b.jsx)(A.f,{className:"h-4 w-4 mr-1"}),f.admin?.dashboard?.viewDetail||"View Detail"]})]})]})},a.id))})]})}var G=a.i(291938),H=a.i(630534),I=a.i(557999);a.s(["default",0,function(){let{data:a,status:g}=(0,d.useSession)(),h=(0,e.useRouter)(),{t:m}=(0,C.b)(),[n,o]=(0,c.useState)(null);(0,I.f)(m.admin.dashboard.title);let[p,q]=(0,c.useState)(!0),r=(0,c.useCallback)(async()=>{q(!0);try{let a=await G.f.get("/api/admin/dashboard");o(a)}catch(a){H.f.error("[AdminDashboard]","Failed to fetch dashboard data",{error:a})}finally{q(!1)}},[]);return((0,c.useEffect)(()=>{if("loading"!==g){if(!a?.user||"admin"!==a.user.role)return void h.push("/");r()}},[a,g,h,r]),"loading"===g||p)?(0,b.jsx)("div",{className:"flex items-center justify-center min-h-[60vh]",children:(0,b.jsx)(f.f,{className:"h-8 w-8 animate-spin text-muted-foreground"})}):n?(0,b.jsxs)("div",{className:"max-w-6xl mx-auto space-y-6 px-4 py-6 md:px-8 md:py-8",children:[(0,b.jsx)(k.f,{title:m.admin?.dashboard?.title||"Admin Dashboard",description:m.admin?.dashboard?.subtitle||"View all users and error statistics"}),(0,b.jsx)(u,{data:n,t:m}),(0,b.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,b.jsx)(v,{data:n,t:m}),(0,b.jsx)(x,{data:n,t:m})]}),(0,b.jsx)(w,{data:n,t:m}),(0,b.jsxs)(l.N,{className:"border-0 shadow-sm",children:[(0,b.jsxs)(l.Y,{className:"pb-2",children:[(0,b.jsxs)(l.v,{className:"text-lg flex items-center gap-2",children:[(0,b.jsx)(i,{className:"h-5 w-5 text-blue-500"}),m.admin?.dashboard?.userList||"User List"]}),(0,b.jsx)(l.u,{children:m.admin?.dashboard?.userListDesc||"All registered users and their error entry status"})]}),(0,b.jsx)(l.O,{children:(0,b.jsx)(F,{users:n.userStats,onViewDetail:a=>h.push(`/admin/user/${a}`)})})]})]}):(0,b.jsxs)("div",{className:"flex flex-col items-center justify-center min-h-[60vh] gap-4",children:[(0,b.jsx)("p",{className:"text-muted-foreground",children:m.common?.error||"Error"}),(0,b.jsx)(j.f,{onClick:r,children:m.admin?.dashboard?.retry||"Retry"})]})}],510179)}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=src_app_admin_page_tsx_0ublbd0w90cx_._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[430818,a=>{"use strict";var b=a.i(187924),c=a.i(572131),d=a.i(875003),e=a.i(50944),f=a.i(550194),g=a.i(557999),h=a.i(529759),i=a.i(986705),j=a.i(291938),k=a.i(630534),l=a.i(
|
|
1
|
+
module.exports=[430818,a=>{"use strict";var b=a.i(187924),c=a.i(572131),d=a.i(875003),e=a.i(50944),f=a.i(550194),g=a.i(557999),h=a.i(529759),i=a.i(986705),j=a.i(291938),k=a.i(630534),l=a.i(875160),m=a.i(219107),n=a.i(344451),o=a.i(118688),p=a.i(207812),q=a.i(308658),r=a.i(164831);let s={name:"calendar",size:24,node:[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}]]};s.node;let t=(0,r.f)(s),u={name:"tag",size:24,node:[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]};u.node;let v=(0,r.f)(u);var w=a.i(79362),x=a.i(308311),y=a.i(97546),z=a.i(755681),A=a.i(699570),B=a.i(591119),C=a.i(786304);a.s(["default",0,function(){let{timeZone:a}=(0,h.M)(),{data:r,status:s}=(0,d.useSession)(),u=(0,e.useRouter)(),D=(0,e.useParams)(),{t:E}=(0,f.b)(),[F,G]=(0,c.useState)(null);(0,g.f)(E.admin.dashboard.title,F?.user.name||F?.user.email);let[H,I]=(0,c.useState)(!0),J=D.id,K=(0,c.useCallback)(async()=>{I(!0);try{let a=await j.f.get(`/api/admin/users/${J}/detail`);G(a)}catch(a){k.f.error("[AdminUserDetail]","Failed to fetch user detail",{error:a})}finally{I(!1)}},[J]);if((0,c.useEffect)(()=>{if("loading"!==s){if(!r?.user||"admin"!==r.user.role)return void u.push("/");K()}},[r,s,u,K]),"loading"===s||H)return(0,b.jsx)("div",{className:"flex items-center justify-center min-h-[60vh]",children:(0,b.jsx)(l.f,{className:"h-8 w-8 animate-spin text-muted-foreground"})});if(!F)return(0,b.jsxs)("div",{className:"flex flex-col items-center justify-center min-h-[60vh] gap-4",children:[(0,b.jsx)("p",{className:"text-muted-foreground",children:E.common?.error||"Error"}),(0,b.jsx)(A.f,{onClick:K,children:E.admin?.dashboard?.retry||"Retry"})]});let L=[{key:"new",label:E.admin?.dashboard?.masteryNew||"To Review",count:F.masteryDistribution.new,icon:y.f,color:"text-red-500"},{key:"reviewing",label:E.admin?.dashboard?.masteryReviewing||"Reviewing",count:F.masteryDistribution.reviewing,icon:x.f,color:"text-yellow-500"},{key:"mastered",label:E.admin?.dashboard?.masteryMastered||"Mastered",count:F.masteryDistribution.mastered,icon:w.f,color:"text-green-500"}],M=F.masteryDistribution.new+F.masteryDistribution.reviewing+F.masteryDistribution.mastered;return(0,b.jsxs)("div",{className:"max-w-5xl mx-auto p-4 sm:p-6 space-y-6",children:[(0,b.jsxs)("div",{className:"flex items-center gap-4",children:[(0,b.jsxs)(A.f,{variant:"ghost",size:"sm",onClick:()=>u.push("/admin"),children:[(0,b.jsx)(m.f,{className:"h-4 w-4 mr-1"}),E.common?.back||"Back"]}),(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)("div",{className:"p-2 rounded-full bg-blue-50 dark:bg-blue-950/30",children:(0,b.jsx)(n.f,{className:"h-6 w-6 text-blue-500"})}),(0,b.jsxs)("div",{children:[(0,b.jsx)("h1",{className:"text-xl font-bold",children:F.user.name||"N/A"}),(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:F.user.email})]}),"admin"===F.user.role&&(0,b.jsx)(C.f,{variant:"default",children:E.admin?.admin||"Admin"}),(0,b.jsx)(C.f,{variant:F.user.isActive?"default":"destructive",children:F.user.isActive?E.admin?.active||"Active":E.admin?.disabled||"Disabled"})]})]}),(0,b.jsxs)("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-4",children:[(0,b.jsx)(B.N,{className:"border-0 shadow-sm",children:(0,b.jsxs)(B.O,{className:"p-4 text-center",children:[(0,b.jsx)(q.f,{className:"h-5 w-5 text-purple-500 mx-auto mb-1"}),(0,b.jsx)("div",{className:"text-2xl font-bold",children:F.notebookCount}),(0,b.jsx)("div",{className:"text-xs text-muted-foreground",children:E.admin?.dashboard?.notebooks||"Notebooks"})]})}),(0,b.jsx)(B.N,{className:"border-0 shadow-sm",children:(0,b.jsxs)(B.O,{className:"p-4 text-center",children:[(0,b.jsx)(o.f,{className:"h-5 w-5 text-red-500 mx-auto mb-1"}),(0,b.jsx)("div",{className:"text-2xl font-bold",children:F.errorCount}),(0,b.jsx)("div",{className:"text-xs text-muted-foreground",children:E.admin?.dashboard?.errors||"Errors"})]})}),(0,b.jsx)(B.N,{className:"border-0 shadow-sm",children:(0,b.jsxs)(B.O,{className:"p-4 text-center",children:[(0,b.jsx)(p.f,{className:"h-5 w-5 text-green-500 mx-auto mb-1"}),(0,b.jsx)("div",{className:"text-2xl font-bold",children:F.practiceCount}),(0,b.jsx)("div",{className:"text-xs text-muted-foreground",children:E.admin?.dashboard?.practice||"Practice"})]})}),(0,b.jsx)(B.N,{className:"border-0 shadow-sm",children:(0,b.jsxs)(B.O,{className:"p-4 text-center",children:[(0,b.jsx)(t,{className:"h-5 w-5 text-blue-500 mx-auto mb-1"}),(0,b.jsx)("div",{className:"text-2xl font-bold",children:F.recent7DaysCount}),(0,b.jsx)("div",{className:"text-xs text-muted-foreground",children:E.admin?.dashboard?.recent7Days||"Last 7 Days"})]})})]}),(0,b.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,b.jsxs)(B.N,{className:"border-0 shadow-sm",children:[(0,b.jsx)(B.Y,{className:"pb-2",children:(0,b.jsxs)(B.v,{className:"text-base flex items-center gap-2",children:[(0,b.jsx)(q.f,{className:"h-4 w-4 text-purple-500"}),E.admin?.dashboard?.userNotebooks||"Notebooks"]})}),(0,b.jsx)(B.O,{children:0===F.notebooks.length?(0,b.jsx)("p",{className:"text-sm text-muted-foreground py-4 text-center",children:E.admin?.dashboard?.noData||"No Data"}):(0,b.jsx)("div",{className:"space-y-2",children:F.notebooks.map(a=>(0,b.jsxs)("div",{className:"flex justify-between items-center p-2 rounded-lg bg-muted/30",children:[(0,b.jsx)("span",{className:"font-medium text-sm",children:a.name}),(0,b.jsx)(C.f,{variant:"secondary",className:"text-xs",children:(E.admin?.dashboard?.questionCount||"{count} questions").replace("{count}",String(a.errorCount))})]},a.id))})})]}),(0,b.jsxs)(B.N,{className:"border-0 shadow-sm",children:[(0,b.jsx)(B.Y,{className:"pb-2",children:(0,b.jsxs)(B.v,{className:"text-base flex items-center gap-2",children:[(0,b.jsx)(w.f,{className:"h-4 w-4 text-green-500"}),E.admin?.dashboard?.masteryDistribution||"Mastery Distribution"]})}),(0,b.jsx)(B.O,{children:0===M?(0,b.jsx)("p",{className:"text-sm text-muted-foreground py-4 text-center",children:E.admin?.dashboard?.noData||"No Data"}):(0,b.jsx)("div",{className:"space-y-3",children:L.map(a=>{let c=M>0?Math.round(a.count/M*100):0;return(0,b.jsxs)("div",{className:"space-y-1",children:[(0,b.jsxs)("div",{className:"flex justify-between text-sm items-center",children:[(0,b.jsxs)("span",{className:"flex items-center gap-1.5 font-medium",children:[(0,b.jsx)(a.icon,{className:`h-4 w-4 ${a.color}`}),a.label]}),(0,b.jsxs)("span",{className:"text-muted-foreground",children:[a.count," (",c,"%)"]})]}),(0,b.jsx)("div",{className:"w-full bg-muted rounded-full h-2",children:(0,b.jsx)("div",{className:"h-2 rounded-full bg-current opacity-60 transition-all duration-500",style:{width:`${c}%`}})})]},a.key)})})})]})]}),F.subjectDistribution.length>0&&(0,b.jsxs)(B.N,{className:"border-0 shadow-sm",children:[(0,b.jsx)(B.Y,{className:"pb-2",children:(0,b.jsxs)(B.v,{className:"text-base flex items-center gap-2",children:[(0,b.jsx)(v,{className:"h-4 w-4 text-blue-500"}),E.admin?.dashboard?.subjectDistribution||"Subject Distribution"]})}),(0,b.jsx)(B.O,{children:(0,b.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-3",children:F.subjectDistribution.map(a=>(0,b.jsxs)("div",{className:"flex items-center justify-between p-3 rounded-lg bg-muted/30",children:[(0,b.jsx)("span",{className:"font-medium text-sm",children:a.name}),(0,b.jsx)(C.f,{variant:"secondary",children:a.count})]},a.name))})})]}),(0,b.jsxs)(B.N,{className:"border-0 shadow-sm",children:[(0,b.jsx)(B.Y,{className:"pb-2",children:(0,b.jsxs)(B.v,{className:"text-base flex items-center gap-2",children:[(0,b.jsx)(z.f,{className:"h-4 w-4 text-orange-500"}),E.admin?.dashboard?.recentErrors||"Recent Error Items"]})}),(0,b.jsx)(B.O,{children:0===F.recentErrorItems.length?(0,b.jsx)("p",{className:"text-sm text-muted-foreground py-4 text-center",children:E.admin?.dashboard?.noData||"No Data"}):(0,b.jsx)("div",{className:"space-y-2",children:F.recentErrorItems.map(c=>(0,b.jsxs)("div",{className:"flex items-start justify-between p-3 rounded-lg bg-muted/30 gap-3",children:[(0,b.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,b.jsx)("p",{className:"text-sm font-medium truncate",children:c.questionText||c.ocrText||E.admin?.dashboard?.noQuestionText}),(0,b.jsxs)("div",{className:"flex items-center gap-2 mt-1",children:[c.subject&&(0,b.jsx)(C.f,{variant:"outline",className:"text-xs",children:c.subject.name}),"mastered"===c.masteryStatus&&(0,b.jsx)(C.f,{variant:"default",className:"text-xs",children:E.admin?.dashboard?.masteryMastered||"Mastered"}),"reviewing"===c.masteryStatus&&(0,b.jsx)(C.f,{variant:"secondary",className:"text-xs",children:E.admin?.dashboard?.masteryReviewing||"Reviewing"}),"new"===c.masteryStatus&&(0,b.jsx)(C.f,{variant:"outline",className:"text-xs",children:E.admin?.dashboard?.masteryNew||"To Review"})]})]}),(0,b.jsx)("span",{className:"text-xs text-muted-foreground whitespace-nowrap",children:(0,i.r)(c.createdAt,"yyyy-MM-dd",a)})]},c.id))})})]})]})}],430818)}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=src_app_admin_user_%5Bid%5D_page_tsx_0zidp-8hr5upa._.js.map
|