nielsr HF Staff commited on
Commit
ba9228a
·
verified ·
1 Parent(s): 6c9a736

Sync paperswithcode.co frontend

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .vite/manifest.json +872 -872
  2. assets/{AgentLogos-Da2yWlH1.js → AgentLogos-x9Ckr4O1.js} +1 -1
  3. assets/{AiDeadlinesView-GWkcf__L.js → AiDeadlinesView-5jEuEZv5.js} +1 -1
  4. assets/{ApiDocsView-B2O4WaSc.js → ApiDocsView-CKP3K1Oj.js} +1 -1
  5. assets/{AreaSection-D3xwtKAs.js → AreaSection-DEBdDI6z.js} +1 -1
  6. assets/{AstraForRoboticsView-FJuy-6Nf.js → AstraForRoboticsView-B1wAc0Ip.js} +1 -1
  7. assets/{AuthorAvatar-DfcP8J6o.js → AuthorAvatar-CWdu93Ln.js} +1 -1
  8. assets/{AuthorDetailView-CVKIS9Gu.js → AuthorDetailView-CnQtbPY1.js} +1 -1
  9. assets/{AuthorizePaperEditView-CNpZXbDu.js → AuthorizePaperEditView-ySTmBCjO.js} +1 -1
  10. assets/{AutonomousOperations-ezA9vQMm.js → AutonomousOperations-DUuzrGjW.js} +1 -1
  11. assets/{BenchmarkDetailView-CkTODUAo.js → BenchmarkDetailView-Z8xgNNAy.js} +1 -1
  12. assets/{BenchmarkTrendSparkline-D-gglZuZ.js → BenchmarkTrendSparkline-D4HWxaaf.js} +1 -1
  13. assets/{CatalogEntityPreviewLink-CCV9ov9L.js → CatalogEntityPreviewLink-DZIsK1sR.js} +1 -1
  14. assets/{ChatView-B55g4ggY.js → ChatView-aZQAm7h5.js} +1 -1
  15. assets/{ConferenceDetailView-DeZzVD1a.js → ConferenceDetailView-C2HX8OH1.js} +1 -1
  16. assets/{ConferenceTaskView-CVRhc_dS.js → ConferenceTaskView-D-_TVy6J.js} +1 -1
  17. assets/{ConferencesIndexView-3cS9eR7i.js → ConferencesIndexView-BH-80inW.js} +1 -1
  18. assets/{CronDashboard-u2knzX-u.js → CronDashboard-B3NnmuD0.js} +1 -1
  19. assets/{CronDashboard-t8M9VzNu.js → CronDashboard-QbL2HeKn.js} +1 -1
  20. assets/{ExternalSourceEvalBadge-UIy-nVN9.js → ExternalSourceEvalBadge-DAJYrz2F.js} +1 -1
  21. assets/FeedView-CAdo9nK0.js +16 -0
  22. assets/FeedView-DfsJpV9h.js +0 -16
  23. assets/{FollowerAvatar-CdsnfvtL.js → FollowerAvatar-DMLlkjGd.js} +1 -1
  24. assets/FollowingView-CLvbC_mH.js +0 -1
  25. assets/FollowingView-T5Bkmr1s.js +1 -0
  26. assets/{FrameworksIndexView-CZjFCXYR.js → FrameworksIndexView-B9hUU1Jj.js} +1 -1
  27. assets/{Icon-Cdqu8Hq_.js → Icon-BkpouXtc.js} +1 -1
  28. assets/{LatexTitle-GmCrtZ_I.js → LatexTitle-CXLW2LHS.js} +1 -1
  29. assets/{LoadFailurePage-CF1gemwM.js → LoadFailurePage-BfvJBtL8.js} +1 -1
  30. assets/{MarkdownText-lBRZb4lH.js → MarkdownText-BkbUXFCs.js} +2 -2
  31. assets/MathMarkdownText-B89HB4Jn.js +0 -1
  32. assets/MathMarkdownText-DUGEVFuA.js +1 -0
  33. assets/{McpShowcase-vY65GwKh.js → McpShowcase-BgXu7zJj.js} +1 -1
  34. assets/{McpView-DUS7fpyg.js → McpView-ZimdUhSJ.js} +1 -1
  35. assets/{MethodDetailView-BjDrYrJT.js → MethodDetailView-riKYYg3k.js} +1 -1
  36. assets/{MethodsIndexView-anBxEWt5.js → MethodsIndexView-ul_p2OBG.js} +1 -1
  37. assets/{NotFound-CkpULt19.js → NotFound-iYKf4_7M.js} +1 -1
  38. assets/{OrganizationContributionGraph-DrTL4Nwc.js → OrganizationContributionGraph-Bu2X49MY.js} +1 -1
  39. assets/{OrganizationDetailView-CRjol9bO.js → OrganizationDetailView-BRN5Nr38.js} +1 -1
  40. assets/{OrganizationsIndexView-Cyxt0wfV.js → OrganizationsIndexView-BMEoB4mf.js} +1 -1
  41. assets/{PaperCard-CSOLEzIX.js → PaperCard-CXKXdRil.js} +1 -1
  42. assets/{PaperDetailView-BqZThu4e.js → PaperDetailView-CNoo7fnX.js} +1 -1
  43. assets/{PaperPreviewLink-5XV8BqLE.js → PaperPreviewLink-4dmR6yPp.js} +1 -1
  44. assets/{PaperReaderView-Dk5D9w4-.js → PaperReaderView-B0Ve0npc.js} +1 -1
  45. assets/{PapersListView-BIHyvPx9.js → PapersListView-D8cdOaea.js} +1 -1
  46. assets/{PrivacyView-iWte6OiX.js → PrivacyView-BpGtNuCK.js} +1 -1
  47. assets/{RateLimitsView-Cekgtfu1.js → RateLimitsView-BkWrFwly.js} +1 -1
  48. assets/{ResearchFollowButton-CP34FBeP.js → ResearchFollowButton-D0tv80JF.js} +1 -1
  49. assets/{SavedPapersView-yO4GS4OA.js → SavedPapersView-CiKXIMdJ.js} +1 -1
  50. assets/{SearchOverlay-CWhqioFp.js → SearchOverlay-BJjY8IHv.js} +1 -1
.vite/manifest.json CHANGED
@@ -1,25 +1,25 @@
1
  {
2
- "_AgentLogos-Da2yWlH1.js": {
3
- "file": "assets/AgentLogos-Da2yWlH1.js",
4
  "name": "AgentLogos",
5
  "imports": [
6
  "index.html"
7
  ]
8
  },
9
- "_AreaSection-D3xwtKAs.js": {
10
- "file": "assets/AreaSection-D3xwtKAs.js",
11
  "name": "AreaSection",
12
  "imports": [
13
  "index.html",
14
- "_skeleton-BkbzA0oF.js"
15
  ]
16
  },
17
  "_AuthorAvatar-!~{018}~.js": {
18
  "file": "assets/AuthorAvatar-o5W6pl_W.css",
19
  "src": "_AuthorAvatar-!~{018}~.js"
20
  },
21
- "_AuthorAvatar-DfcP8J6o.js": {
22
- "file": "assets/AuthorAvatar-DfcP8J6o.js",
23
  "name": "AuthorAvatar",
24
  "imports": [
25
  "index.html"
@@ -28,27 +28,27 @@
28
  "assets/AuthorAvatar-o5W6pl_W.css"
29
  ]
30
  },
31
- "_BenchmarkTrendSparkline-D-gglZuZ.js": {
32
- "file": "assets/BenchmarkTrendSparkline-D-gglZuZ.js",
33
  "name": "BenchmarkTrendSparkline",
34
  "imports": [
35
  "index.html"
36
  ]
37
  },
38
- "_CatalogEntityPreviewLink-CCV9ov9L.js": {
39
- "file": "assets/CatalogEntityPreviewLink-CCV9ov9L.js",
40
  "name": "CatalogEntityPreviewLink",
41
  "imports": [
42
  "index.html",
43
- "_hover-card-CM5j_oBo.js"
44
  ]
45
  },
46
  "_CronDashboard-!~{024}~.js": {
47
  "file": "assets/CronDashboard-DwChfW9h.css",
48
  "src": "_CronDashboard-!~{024}~.js"
49
  },
50
- "_CronDashboard-t8M9VzNu.js": {
51
- "file": "assets/CronDashboard-t8M9VzNu.js",
52
  "name": "CronDashboard",
53
  "imports": [
54
  "index.html"
@@ -61,34 +61,34 @@
61
  "file": "assets/ExternalSourceEvalBadge-CWUQ52cV.css",
62
  "src": "_ExternalSourceEvalBadge-!~{01N}~.js"
63
  },
64
- "_ExternalSourceEvalBadge-UIy-nVN9.js": {
65
- "file": "assets/ExternalSourceEvalBadge-UIy-nVN9.js",
66
  "name": "ExternalSourceEvalBadge",
67
  "imports": [
68
  "index.html",
69
- "_hover-card-CM5j_oBo.js",
70
  "_safeExternalHref-CkBrsh84.js"
71
  ],
72
  "css": [
73
  "assets/ExternalSourceEvalBadge-CWUQ52cV.css"
74
  ]
75
  },
76
- "_FollowerAvatar-CdsnfvtL.js": {
77
- "file": "assets/FollowerAvatar-CdsnfvtL.js",
78
  "name": "FollowerAvatar",
79
  "imports": [
80
  "index.html"
81
  ]
82
  },
83
- "_Icon-Cdqu8Hq_.js": {
84
- "file": "assets/Icon-Cdqu8Hq_.js",
85
  "name": "Icon",
86
  "imports": [
87
  "index.html"
88
  ]
89
  },
90
- "_LatexTitle-GmCrtZ_I.js": {
91
- "file": "assets/LatexTitle-GmCrtZ_I.js",
92
  "name": "LatexTitle",
93
  "imports": [
94
  "index.html"
@@ -97,109 +97,109 @@
97
  "node_modules/katex/dist/katex.mjs"
98
  ]
99
  },
100
- "_LoadFailurePage-CF1gemwM.js": {
101
- "file": "assets/LoadFailurePage-CF1gemwM.js",
102
  "name": "LoadFailurePage",
103
  "imports": [
104
  "index.html",
105
- "_alert-zC2kYXtI.js",
106
  "src/pages/NotFound.tsx"
107
  ]
108
  },
109
- "_MarkdownText-lBRZb4lH.js": {
110
- "file": "assets/MarkdownText-lBRZb4lH.js",
111
  "name": "MarkdownText",
112
  "imports": [
113
  "index.html",
114
- "_PaperPreviewLink-5XV8BqLE.js",
115
- "_index-COKyUVjd.js",
116
- "_index-dnSSilbj.js"
117
  ],
118
  "dynamicImports": [
119
  "src/components/MathMarkdownText.tsx"
120
  ]
121
  },
122
- "_McpShowcase-vY65GwKh.js": {
123
- "file": "assets/McpShowcase-vY65GwKh.js",
124
  "name": "McpShowcase",
125
  "imports": [
126
  "index.html",
127
- "_AgentLogos-Da2yWlH1.js"
128
  ]
129
  },
130
- "_OrganizationContributionGraph-DrTL4Nwc.js": {
131
- "file": "assets/OrganizationContributionGraph-DrTL4Nwc.js",
132
  "name": "OrganizationContributionGraph",
133
  "imports": [
134
  "index.html",
135
- "_skeleton-BkbzA0oF.js"
136
  ]
137
  },
138
- "_PaperCard-CSOLEzIX.js": {
139
- "file": "assets/PaperCard-CSOLEzIX.js",
140
  "name": "PaperCard",
141
  "imports": [
142
  "index.html",
143
- "_AuthorAvatar-DfcP8J6o.js",
144
- "_SotaBadges-CcS46IjG.js",
145
- "_Icon-Cdqu8Hq_.js",
146
- "_LatexTitle-GmCrtZ_I.js",
147
  "_safeExternalHref-CkBrsh84.js"
148
  ]
149
  },
150
- "_PaperPreviewLink-5XV8BqLE.js": {
151
- "file": "assets/PaperPreviewLink-5XV8BqLE.js",
152
  "name": "PaperPreviewLink",
153
  "imports": [
154
- "_index-COKyUVjd.js",
155
- "_index-dnSSilbj.js",
156
  "index.html",
157
- "_hover-card-CM5j_oBo.js",
158
- "_useMutation-DPQn8VkK.js"
159
  ]
160
  },
161
- "_ResearchFollowButton-CP34FBeP.js": {
162
- "file": "assets/ResearchFollowButton-CP34FBeP.js",
163
  "name": "ResearchFollowButton",
164
  "imports": [
165
  "index.html",
166
- "_researchTopic-BP-u0rIC.js",
167
- "_FollowerAvatar-CdsnfvtL.js",
168
- "_plus-Da5UgLnk.js"
169
  ]
170
  },
171
- "_SignInToEditDialog-DkbWjXKh.js": {
172
- "file": "assets/SignInToEditDialog-DkbWjXKh.js",
173
  "name": "SignInToEditDialog",
174
  "imports": [
175
  "index.html",
176
- "_button-CbtZIybp.js",
177
- "_input-BDLNu7DN.js",
178
- "_textarea-Dzdb-PIY.js",
179
- "_searchable-select-CbMREm8O.js",
180
- "_dialog-C_jKzXRg.js",
181
- "_useMutation-DPQn8VkK.js",
182
- "_submissions-DNDrsPIh.js",
183
- "_cacheSync-C15rSGWl.js",
184
- "_loader-circle-CcsDvzXG.js"
185
- ]
186
- },
187
- "_SotaBadges-CcS46IjG.js": {
188
- "file": "assets/SotaBadges-CcS46IjG.js",
189
  "name": "SotaBadges",
190
  "imports": [
191
  "index.html",
192
  "_colors-BkWRhvFI.js",
193
- "_transform-BzmXOpxt.js"
194
  ]
195
  },
196
- "_TaxonomySuggestionTile-DmGYfBPo.js": {
197
- "file": "assets/TaxonomySuggestionTile-DmGYfBPo.js",
198
  "name": "TaxonomySuggestionTile",
199
  "imports": [
200
  "index.html",
201
- "_SignInToEditDialog-DkbWjXKh.js",
202
- "_plus-Da5UgLnk.js"
203
  ]
204
  },
205
  "__vite-browser-external": {
@@ -208,15 +208,15 @@
208
  "src": "__vite-browser-external",
209
  "isDynamicEntry": true
210
  },
211
- "_activity-Bl3XH8Oh.js": {
212
- "file": "assets/activity-Bl3XH8Oh.js",
213
  "name": "activity",
214
  "imports": [
215
  "index.html"
216
  ]
217
  },
218
- "_alert-zC2kYXtI.js": {
219
- "file": "assets/alert-zC2kYXtI.js",
220
  "name": "alert",
221
  "imports": [
222
  "index.html"
@@ -226,50 +226,50 @@
226
  "file": "assets/areas-Dvi8w2dp.js",
227
  "name": "areas"
228
  },
229
- "_arrow-left-BIaK_wN7.js": {
230
- "file": "assets/arrow-left-BIaK_wN7.js",
231
  "name": "arrow-left",
232
  "imports": [
233
  "index.html"
234
  ]
235
  },
236
- "_arrow-right-HTfAIQQF.js": {
237
- "file": "assets/arrow-right-HTfAIQQF.js",
238
  "name": "arrow-right",
239
  "imports": [
240
  "index.html"
241
  ]
242
  },
243
- "_arrow-up-right-C2M2QrCR.js": {
244
- "file": "assets/arrow-up-right-C2M2QrCR.js",
245
  "name": "arrow-up-right",
246
  "imports": [
247
  "index.html"
248
  ]
249
  },
250
- "_badge-Dssrs_RO.js": {
251
- "file": "assets/badge-Dssrs_RO.js",
252
  "name": "badge",
253
  "imports": [
254
  "index.html"
255
  ]
256
  },
257
- "_button-CbtZIybp.js": {
258
- "file": "assets/button-CbtZIybp.js",
259
  "name": "button",
260
  "imports": [
261
  "index.html"
262
  ]
263
  },
264
- "_cacheSync-C15rSGWl.js": {
265
- "file": "assets/cacheSync-C15rSGWl.js",
266
  "name": "cacheSync",
267
  "imports": [
268
  "index.html"
269
  ]
270
  },
271
- "_chat-CBpXQ7Wl.js": {
272
- "file": "assets/chat-CBpXQ7Wl.js",
273
  "name": "chat",
274
  "imports": [
275
  "index.html"
@@ -279,31 +279,31 @@
279
  "file": "assets/chatLifecycle-Lr_OJaUk.css",
280
  "src": "_chatLifecycle-!~{01n}~.js"
281
  },
282
- "_chatLifecycle-9mjLEs5d.js": {
283
- "file": "assets/chatLifecycle-9mjLEs5d.js",
284
  "name": "chatLifecycle",
285
  "imports": [
286
  "index.html",
287
- "_index-DYXsmgYV.js",
288
- "_hover-card-CM5j_oBo.js",
289
- "_CatalogEntityPreviewLink-CCV9ov9L.js",
290
- "_github-BHTeSn1j.js",
291
- "_file-text-CH7tJG0i.js",
292
- "_PaperPreviewLink-5XV8BqLE.js",
293
- "_index-COKyUVjd.js",
294
- "_index-BV27Nexp.js",
295
- "_index-dnSSilbj.js",
296
- "_useMutation-DPQn8VkK.js",
297
- "_chat-CBpXQ7Wl.js",
298
- "_thumbs-up-DZW-ss8t.js",
299
- "_copy-D_QYCYs1.js",
300
- "_arrow-left-BIaK_wN7.js",
301
- "_external-link-BpPkGH8G.js",
302
- "_plus-Da5UgLnk.js",
303
- "_search-BLHGfANa.js",
304
- "_chevron-up-DpwU9AYE.js",
305
- "_AuthorAvatar-DfcP8J6o.js",
306
- "_trash-2-Dai-yVNI.js"
307
  ],
308
  "dynamicImports": [
309
  "__vite-browser-external",
@@ -378,15 +378,15 @@
378
  "assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf"
379
  ]
380
  },
381
- "_chevron-up-DpwU9AYE.js": {
382
- "file": "assets/chevron-up-DpwU9AYE.js",
383
  "name": "chevron-up",
384
  "imports": [
385
  "index.html"
386
  ]
387
  },
388
- "_circle-check-BrcGlr7S.js": {
389
- "file": "assets/circle-check-BrcGlr7S.js",
390
  "name": "circle-check",
391
  "imports": [
392
  "index.html"
@@ -400,15 +400,15 @@
400
  "file": "assets/conferenceListings-BnmhBx-_.js",
401
  "name": "conferenceListings"
402
  },
403
- "_copy-D_QYCYs1.js": {
404
- "file": "assets/copy-D_QYCYs1.js",
405
  "name": "copy",
406
  "imports": [
407
  "index.html"
408
  ]
409
  },
410
- "_database-BI44wXxm.js": {
411
- "file": "assets/database-BI44wXxm.js",
412
  "name": "database",
413
  "imports": [
414
  "index.html"
@@ -418,22 +418,22 @@
418
  "file": "assets/deadlines-BG5SWwEG.js",
419
  "name": "deadlines"
420
  },
421
- "_dialog-C_jKzXRg.js": {
422
- "file": "assets/dialog-C_jKzXRg.js",
423
  "name": "dialog",
424
  "imports": [
425
  "index.html"
426
  ]
427
  },
428
- "_external-link-BpPkGH8G.js": {
429
- "file": "assets/external-link-BpPkGH8G.js",
430
  "name": "external-link",
431
  "imports": [
432
  "index.html"
433
  ]
434
  },
435
- "_file-text-CH7tJG0i.js": {
436
- "file": "assets/file-text-CH7tJG0i.js",
437
  "name": "file-text",
438
  "imports": [
439
  "index.html"
@@ -443,22 +443,22 @@
443
  "file": "assets/frameworks-DDA0P4Tf.js",
444
  "name": "frameworks"
445
  },
446
- "_github-BHTeSn1j.js": {
447
- "file": "assets/github-BHTeSn1j.js",
448
  "name": "github",
449
  "imports": [
450
  "index.html"
451
  ]
452
  },
453
- "_globe-XOaeDqkA.js": {
454
- "file": "assets/globe-XOaeDqkA.js",
455
  "name": "globe",
456
  "imports": [
457
  "index.html"
458
  ]
459
  },
460
- "_hover-card-CM5j_oBo.js": {
461
- "file": "assets/hover-card-CM5j_oBo.js",
462
  "name": "hover-card",
463
  "imports": [
464
  "index.html"
@@ -468,98 +468,98 @@
468
  "file": "assets/index-Cw6yAXSE.css",
469
  "src": "_index-!~{00X}~.js"
470
  },
471
- "_index-B2-KLIIm.js": {
472
- "file": "assets/index-B2-KLIIm.js",
473
  "name": "index",
474
  "imports": [
475
- "index.html"
476
  ]
477
  },
478
- "_index-BV27Nexp.js": {
479
- "file": "assets/index-BV27Nexp.js",
480
  "name": "index",
481
  "imports": [
482
- "_index-COKyUVjd.js",
483
- "node_modules/katex/dist/katex.mjs"
484
  ]
485
  },
486
- "_index-COKyUVjd.js": {
487
- "file": "assets/index-COKyUVjd.js",
488
  "name": "index",
489
  "imports": [
490
  "index.html"
491
  ]
492
  },
493
- "_index-DYXsmgYV.js": {
494
- "file": "assets/index-DYXsmgYV.js",
495
  "name": "index",
496
  "imports": [
497
  "index.html",
498
- "_chat-CBpXQ7Wl.js"
499
  ],
500
  "css": [
501
  "assets/index-Cw6yAXSE.css"
502
  ]
503
  },
504
- "_index-dnSSilbj.js": {
505
- "file": "assets/index-dnSSilbj.js",
506
  "name": "index",
507
  "imports": [
508
- "_index-COKyUVjd.js"
 
509
  ]
510
  },
511
- "_input-BDLNu7DN.js": {
512
- "file": "assets/input-BDLNu7DN.js",
513
  "name": "input",
514
  "imports": [
515
  "index.html"
516
  ]
517
  },
518
- "_link-2-BFDx3Ny_.js": {
519
- "file": "assets/link-2-BFDx3Ny_.js",
520
  "name": "link-2",
521
  "imports": [
522
  "index.html"
523
  ]
524
  },
525
- "_loader-circle-CcsDvzXG.js": {
526
- "file": "assets/loader-circle-CcsDvzXG.js",
527
  "name": "loader-circle",
528
  "imports": [
529
  "index.html"
530
  ]
531
  },
532
- "_mlIntern-BmFInJNC.js": {
533
- "file": "assets/mlIntern-BmFInJNC.js",
534
  "name": "mlIntern",
535
  "imports": [
536
  "index.html"
537
  ]
538
  },
539
- "_moon-Did5K_6X.js": {
540
- "file": "assets/moon-Did5K_6X.js",
541
  "name": "moon",
542
  "imports": [
543
  "index.html"
544
  ]
545
  },
546
- "_openrouter-B-OYFO9f.js": {
547
- "file": "assets/openrouter-B-OYFO9f.js",
548
  "name": "openrouter",
549
  "imports": [
550
  "index.html",
551
- "_chat-CBpXQ7Wl.js"
552
  ]
553
  },
554
  "_organizationNames-BVKzYEBp.js": {
555
  "file": "assets/organizationNames-BVKzYEBp.js",
556
  "name": "organizationNames"
557
  },
558
- "_pageTitles-Cv5SviVf.js": {
559
- "file": "assets/pageTitles-Cv5SviVf.js",
560
  "name": "pageTitles",
561
  "imports": [
562
- "_useDocumentTitle-DGWKz2sg.js"
563
  ]
564
  },
565
  "_paperReader-D1y30HyW.js": {
@@ -569,82 +569,82 @@
569
  "_safeExternalHref-CkBrsh84.js"
570
  ]
571
  },
572
- "_plus-Da5UgLnk.js": {
573
- "file": "assets/plus-Da5UgLnk.js",
574
  "name": "plus",
575
  "imports": [
576
  "index.html"
577
  ]
578
  },
579
- "_popover-DoQl9nzw.js": {
580
- "file": "assets/popover-DoQl9nzw.js",
581
  "name": "popover",
582
  "imports": [
583
  "index.html"
584
  ]
585
  },
586
- "_preferences-0Dg7PeSz.js": {
587
- "file": "assets/preferences-0Dg7PeSz.js",
588
  "name": "preferences",
589
  "imports": [
590
  "index.html",
591
- "_useMutation-DPQn8VkK.js"
592
  ]
593
  },
594
- "_refresh-cw-BBZxh_Z_.js": {
595
- "file": "assets/refresh-cw-BBZxh_Z_.js",
596
  "name": "refresh-cw",
597
  "imports": [
598
  "index.html"
599
  ]
600
  },
601
- "_researchTopic-BP-u0rIC.js": {
602
- "file": "assets/researchTopic-BP-u0rIC.js",
603
  "name": "researchTopic",
604
  "imports": [
605
  "index.html",
606
- "_useMutation-DPQn8VkK.js"
607
  ]
608
  },
609
  "_safeExternalHref-CkBrsh84.js": {
610
  "file": "assets/safeExternalHref-CkBrsh84.js",
611
  "name": "safeExternalHref"
612
  },
613
- "_savedPapersAuth-CLNfo1HR.js": {
614
- "file": "assets/savedPapersAuth-CLNfo1HR.js",
615
  "name": "savedPapersAuth",
616
  "imports": [
617
  "index.html"
618
  ]
619
  },
620
- "_search-BLHGfANa.js": {
621
- "file": "assets/search-BLHGfANa.js",
622
  "name": "search",
623
  "imports": [
624
  "index.html"
625
  ]
626
  },
627
- "_searchable-select-CbMREm8O.js": {
628
- "file": "assets/searchable-select-CbMREm8O.js",
629
  "name": "searchable-select",
630
  "imports": [
631
  "index.html",
632
- "_button-CbtZIybp.js",
633
- "_popover-DoQl9nzw.js",
634
- "_dialog-C_jKzXRg.js",
635
- "_search-BLHGfANa.js",
636
- "_loader-circle-CcsDvzXG.js"
637
  ]
638
  },
639
- "_share-2-DG9Pr506.js": {
640
- "file": "assets/share-2-DG9Pr506.js",
641
  "name": "share-2",
642
  "imports": [
643
  "index.html"
644
  ]
645
  },
646
- "_skeleton-BkbzA0oF.js": {
647
- "file": "assets/skeleton-BkbzA0oF.js",
648
  "name": "skeleton",
649
  "imports": [
650
  "index.html"
@@ -654,170 +654,170 @@
654
  "file": "assets/slug-BpH-Nkvz.js",
655
  "name": "slug"
656
  },
657
- "_submissions-DNDrsPIh.js": {
658
- "file": "assets/submissions-DNDrsPIh.js",
659
  "name": "submissions",
660
  "imports": [
661
  "index.html"
662
  ]
663
  },
664
- "_switch-BiWy_MQW.js": {
665
- "file": "assets/switch-BiWy_MQW.js",
666
  "name": "switch",
667
  "imports": [
668
  "index.html",
669
- "_index-B2-KLIIm.js"
670
  ]
671
  },
672
- "_tabs-COt81pAK.js": {
673
- "file": "assets/tabs-COt81pAK.js",
674
  "name": "tabs",
675
  "imports": [
676
  "index.html"
677
  ]
678
  },
679
- "_taskIcons-DB857qAq.js": {
680
- "file": "assets/taskIcons-DB857qAq.js",
681
  "name": "taskIcons",
682
  "imports": [
683
  "index.html",
684
- "_search-BLHGfANa.js",
685
- "_triangle-alert-tVOCXgsf.js",
686
- "_share-2-DG9Pr506.js",
687
- "_trending-up-PRKQib2t.js",
688
- "_moon-Did5K_6X.js",
689
- "_thumbs-up-DZW-ss8t.js",
690
- "_database-BI44wXxm.js",
691
- "_link-2-BFDx3Ny_.js",
692
- "_trophy-Cjn1hvpp.js",
693
- "_file-text-CH7tJG0i.js",
694
- "_activity-Bl3XH8Oh.js",
695
- "_globe-XOaeDqkA.js"
696
- ]
697
- },
698
- "_textarea-Dzdb-PIY.js": {
699
- "file": "assets/textarea-Dzdb-PIY.js",
700
  "name": "textarea",
701
  "imports": [
702
  "index.html"
703
  ]
704
  },
705
- "_thumbs-up-DZW-ss8t.js": {
706
- "file": "assets/thumbs-up-DZW-ss8t.js",
707
  "name": "thumbs-up",
708
  "imports": [
709
  "index.html"
710
  ]
711
  },
712
- "_transform-BzmXOpxt.js": {
713
- "file": "assets/transform-BzmXOpxt.js",
714
  "name": "transform",
715
  "imports": [
716
  "index.html"
717
  ]
718
  },
719
- "_trash-2-Dai-yVNI.js": {
720
- "file": "assets/trash-2-Dai-yVNI.js",
721
  "name": "trash-2",
722
  "imports": [
723
  "index.html"
724
  ]
725
  },
726
- "_trending-up-PRKQib2t.js": {
727
- "file": "assets/trending-up-PRKQib2t.js",
728
  "name": "trending-up",
729
  "imports": [
730
  "index.html"
731
  ]
732
  },
733
- "_triangle-alert-tVOCXgsf.js": {
734
- "file": "assets/triangle-alert-tVOCXgsf.js",
735
  "name": "triangle-alert",
736
  "imports": [
737
  "index.html"
738
  ]
739
  },
740
- "_trophy-Cjn1hvpp.js": {
741
- "file": "assets/trophy-Cjn1hvpp.js",
742
  "name": "trophy",
743
  "imports": [
744
  "index.html"
745
  ]
746
  },
747
- "_undo-2-OoZl-ncG.js": {
748
- "file": "assets/undo-2-OoZl-ncG.js",
749
  "name": "undo-2",
750
  "imports": [
751
  "index.html"
752
  ]
753
  },
754
- "_useDebounce-Bt-Usy3P.js": {
755
- "file": "assets/useDebounce-Bt-Usy3P.js",
756
  "name": "useDebounce",
757
  "imports": [
758
  "index.html"
759
  ]
760
  },
761
- "_useDocumentTitle-DGWKz2sg.js": {
762
- "file": "assets/useDocumentTitle-DGWKz2sg.js",
763
  "name": "useDocumentTitle",
764
  "imports": [
765
  "index.html"
766
  ]
767
  },
768
- "_useHashScrollOnReady-C6E-ijj0.js": {
769
- "file": "assets/useHashScrollOnReady-C6E-ijj0.js",
770
  "name": "useHashScrollOnReady",
771
  "imports": [
772
  "index.html",
773
- "_skeleton-BkbzA0oF.js",
774
- "_alert-zC2kYXtI.js",
775
- "_trending-up-PRKQib2t.js"
776
  ]
777
  },
778
- "_useInfiniteQuery-Ba0y0o7Y.js": {
779
- "file": "assets/useInfiniteQuery-Ba0y0o7Y.js",
780
  "name": "useInfiniteQuery",
781
  "imports": [
782
  "index.html"
783
  ]
784
  },
785
- "_useIntersectionObserver-M_MEUmwh.js": {
786
- "file": "assets/useIntersectionObserver-M_MEUmwh.js",
787
  "name": "useIntersectionObserver",
788
  "imports": [
789
  "index.html"
790
  ]
791
  },
792
- "_useMutation-DPQn8VkK.js": {
793
- "file": "assets/useMutation-DPQn8VkK.js",
794
  "name": "useMutation",
795
  "imports": [
796
  "index.html"
797
  ]
798
  },
799
- "_usePapers-Cuyi1itG.js": {
800
- "file": "assets/usePapers-Cuyi1itG.js",
801
  "name": "usePapers",
802
  "imports": [
803
  "index.html",
804
- "_PaperCard-CSOLEzIX.js",
805
- "_popover-DoQl9nzw.js",
806
- "_Icon-Cdqu8Hq_.js",
807
- "_skeleton-BkbzA0oF.js",
808
- "_useIntersectionObserver-M_MEUmwh.js",
809
- "_useInfiniteQuery-Ba0y0o7Y.js"
810
  ]
811
  },
812
- "_useQueries-C0szaKAG.js": {
813
- "file": "assets/useQueries-C0szaKAG.js",
814
  "name": "useQueries",
815
  "imports": [
816
  "index.html"
817
  ]
818
  },
819
  "index.html": {
820
- "file": "assets/index-BhKQv9LT.js",
821
  "name": "index",
822
  "src": "index.html",
823
  "isEntry": true,
@@ -863,7 +863,7 @@
863
  "src/views/StagingAccessRequestView.tsx"
864
  ],
865
  "css": [
866
- "assets/index-DrEs8021.css"
867
  ],
868
  "assets": [
869
  "assets/inter-normal-latin-Dx4kXJAl.woff2",
@@ -1209,19 +1209,19 @@
1209
  "src": "src/assets/fonts/newsreader-normal-vietnamese.woff2"
1210
  },
1211
  "src/components/MathMarkdownText.tsx": {
1212
- "file": "assets/MathMarkdownText-B89HB4Jn.js",
1213
  "name": "MathMarkdownText",
1214
  "src": "src/components/MathMarkdownText.tsx",
1215
  "isDynamicEntry": true,
1216
  "imports": [
1217
  "index.html",
1218
- "_MarkdownText-lBRZb4lH.js",
1219
- "_index-BV27Nexp.js",
1220
- "_PaperPreviewLink-5XV8BqLE.js",
1221
- "_index-COKyUVjd.js",
1222
- "_index-dnSSilbj.js",
1223
- "_hover-card-CM5j_oBo.js",
1224
- "_useMutation-DPQn8VkK.js",
1225
  "node_modules/katex/dist/katex.mjs"
1226
  ],
1227
  "css": [
@@ -1290,62 +1290,62 @@
1290
  ]
1291
  },
1292
  "src/components/SearchOverlay.tsx": {
1293
- "file": "assets/SearchOverlay-CWhqioFp.js",
1294
  "name": "SearchOverlay",
1295
  "src": "src/components/SearchOverlay.tsx",
1296
  "isDynamicEntry": true,
1297
  "imports": [
1298
  "index.html",
1299
- "_LatexTitle-GmCrtZ_I.js",
1300
- "_useDebounce-Bt-Usy3P.js",
1301
  "_colors-BkWRhvFI.js",
1302
- "_transform-BzmXOpxt.js"
1303
  ]
1304
  },
1305
  "src/pages/AutonomousOperations.tsx": {
1306
- "file": "assets/AutonomousOperations-ezA9vQMm.js",
1307
  "name": "AutonomousOperations",
1308
  "src": "src/pages/AutonomousOperations.tsx",
1309
  "isDynamicEntry": true,
1310
  "imports": [
1311
  "index.html",
1312
- "_useMutation-DPQn8VkK.js",
1313
- "_CronDashboard-t8M9VzNu.js",
1314
- "_badge-Dssrs_RO.js",
1315
- "_button-CbtZIybp.js",
1316
- "_input-BDLNu7DN.js",
1317
- "_activity-Bl3XH8Oh.js",
1318
- "_arrow-left-BIaK_wN7.js"
1319
  ]
1320
  },
1321
  "src/pages/CronDashboard.tsx": {
1322
- "file": "assets/CronDashboard-u2knzX-u.js",
1323
  "name": "CronDashboard",
1324
  "src": "src/pages/CronDashboard.tsx",
1325
  "isDynamicEntry": true,
1326
  "imports": [
1327
  "index.html",
1328
- "_useMutation-DPQn8VkK.js",
1329
- "_CronDashboard-t8M9VzNu.js",
1330
- "_badge-Dssrs_RO.js",
1331
- "_button-CbtZIybp.js",
1332
- "_tabs-COt81pAK.js",
1333
- "_chevron-up-DpwU9AYE.js",
1334
- "_database-BI44wXxm.js",
1335
- "_trending-up-PRKQib2t.js",
1336
- "_activity-Bl3XH8Oh.js",
1337
- "_file-text-CH7tJG0i.js",
1338
- "_triangle-alert-tVOCXgsf.js",
1339
- "_external-link-BpPkGH8G.js",
1340
- "_refresh-cw-BBZxh_Z_.js",
1341
- "_loader-circle-CcsDvzXG.js",
1342
- "_circle-check-BrcGlr7S.js",
1343
- "_useInfiniteQuery-Ba0y0o7Y.js",
1344
- "_chat-CBpXQ7Wl.js"
1345
  ]
1346
  },
1347
  "src/pages/NotFound.tsx": {
1348
- "file": "assets/NotFound-CkpULt19.js",
1349
  "name": "NotFound",
1350
  "src": "src/pages/NotFound.tsx",
1351
  "isDynamicEntry": true,
@@ -1354,199 +1354,199 @@
1354
  ]
1355
  },
1356
  "src/pages/SubmissionsDashboard.tsx": {
1357
- "file": "assets/SubmissionsDashboard-By4tCQ1h.js",
1358
  "name": "SubmissionsDashboard",
1359
  "src": "src/pages/SubmissionsDashboard.tsx",
1360
  "isDynamicEntry": true,
1361
  "imports": [
1362
  "index.html",
1363
- "_cacheSync-C15rSGWl.js",
1364
- "_useMutation-DPQn8VkK.js",
1365
- "_useInfiniteQuery-Ba0y0o7Y.js",
1366
- "_useQueries-C0szaKAG.js",
1367
  "_safeExternalHref-CkBrsh84.js",
1368
- "_submissions-DNDrsPIh.js",
1369
- "_refresh-cw-BBZxh_Z_.js",
1370
- "_loader-circle-CcsDvzXG.js",
1371
- "_circle-check-BrcGlr7S.js",
1372
- "_undo-2-OoZl-ncG.js"
1373
  ],
1374
  "css": [
1375
  "assets/SubmissionsDashboard-Dgd_CI1v.css"
1376
  ]
1377
  },
1378
  "src/views/AiDeadlinesView.tsx": {
1379
- "file": "assets/AiDeadlinesView-GWkcf__L.js",
1380
  "name": "AiDeadlinesView",
1381
  "src": "src/views/AiDeadlinesView.tsx",
1382
  "isDynamicEntry": true,
1383
  "imports": [
1384
  "index.html",
1385
- "_switch-BiWy_MQW.js",
1386
- "_skeleton-BkbzA0oF.js",
1387
- "_alert-zC2kYXtI.js",
1388
  "_safeExternalHref-CkBrsh84.js",
1389
- "_dialog-C_jKzXRg.js",
1390
  "_deadlines-BG5SWwEG.js",
1391
- "_useDocumentTitle-DGWKz2sg.js",
1392
- "_pageTitles-Cv5SviVf.js",
1393
- "_index-B2-KLIIm.js"
1394
  ]
1395
  },
1396
  "src/views/ApiDocsView.tsx": {
1397
- "file": "assets/ApiDocsView-B2O4WaSc.js",
1398
  "name": "ApiDocsView",
1399
  "src": "src/views/ApiDocsView.tsx",
1400
  "isDynamicEntry": true,
1401
  "imports": [
1402
  "index.html",
1403
- "_useDocumentTitle-DGWKz2sg.js",
1404
- "_trophy-Cjn1hvpp.js",
1405
- "_database-BI44wXxm.js",
1406
- "_file-text-CH7tJG0i.js",
1407
- "_index-COKyUVjd.js"
1408
  ],
1409
  "css": [
1410
  "assets/ApiDocsView-D5oxGRv8.css"
1411
  ]
1412
  },
1413
  "src/views/AstraForRoboticsView.tsx": {
1414
- "file": "assets/AstraForRoboticsView-FJuy-6Nf.js",
1415
  "name": "AstraForRoboticsView",
1416
  "src": "src/views/AstraForRoboticsView.tsx",
1417
  "isDynamicEntry": true,
1418
  "imports": [
1419
  "index.html",
1420
- "_usePapers-Cuyi1itG.js",
1421
- "_alert-zC2kYXtI.js",
1422
- "_useDocumentTitle-DGWKz2sg.js",
1423
- "_transform-BzmXOpxt.js",
1424
- "_PaperCard-CSOLEzIX.js",
1425
- "_AuthorAvatar-DfcP8J6o.js",
1426
- "_SotaBadges-CcS46IjG.js",
1427
  "_colors-BkWRhvFI.js",
1428
- "_Icon-Cdqu8Hq_.js",
1429
- "_LatexTitle-GmCrtZ_I.js",
1430
  "_safeExternalHref-CkBrsh84.js",
1431
- "_popover-DoQl9nzw.js",
1432
- "_skeleton-BkbzA0oF.js",
1433
- "_useIntersectionObserver-M_MEUmwh.js",
1434
- "_useInfiniteQuery-Ba0y0o7Y.js"
1435
  ],
1436
  "css": [
1437
  "assets/AstraForRoboticsView-C_lTF_XB.css"
1438
  ]
1439
  },
1440
  "src/views/AuthorDetailView.tsx": {
1441
- "file": "assets/AuthorDetailView-CVKIS9Gu.js",
1442
  "name": "AuthorDetailView",
1443
  "src": "src/views/AuthorDetailView.tsx",
1444
  "isDynamicEntry": true,
1445
  "imports": [
1446
  "index.html",
1447
- "_AuthorAvatar-DfcP8J6o.js",
1448
- "_usePapers-Cuyi1itG.js",
1449
- "_ResearchFollowButton-CP34FBeP.js",
1450
- "_alert-zC2kYXtI.js",
1451
- "_skeleton-BkbzA0oF.js",
1452
- "_transform-BzmXOpxt.js",
1453
  "src/pages/NotFound.tsx",
1454
- "_useDocumentTitle-DGWKz2sg.js",
1455
- "_pageTitles-Cv5SviVf.js",
1456
- "_PaperCard-CSOLEzIX.js",
1457
- "_SotaBadges-CcS46IjG.js",
1458
  "_colors-BkWRhvFI.js",
1459
- "_Icon-Cdqu8Hq_.js",
1460
- "_LatexTitle-GmCrtZ_I.js",
1461
  "_safeExternalHref-CkBrsh84.js",
1462
- "_popover-DoQl9nzw.js",
1463
- "_useIntersectionObserver-M_MEUmwh.js",
1464
- "_useInfiniteQuery-Ba0y0o7Y.js",
1465
- "_researchTopic-BP-u0rIC.js",
1466
- "_useMutation-DPQn8VkK.js",
1467
- "_FollowerAvatar-CdsnfvtL.js",
1468
- "_plus-Da5UgLnk.js"
1469
  ]
1470
  },
1471
  "src/views/AuthorizePaperEditView.tsx": {
1472
- "file": "assets/AuthorizePaperEditView-CNpZXbDu.js",
1473
  "name": "AuthorizePaperEditView",
1474
  "src": "src/views/AuthorizePaperEditView.tsx",
1475
  "isDynamicEntry": true,
1476
  "imports": [
1477
  "index.html",
1478
- "_useMutation-DPQn8VkK.js",
1479
- "_button-CbtZIybp.js"
1480
  ]
1481
  },
1482
  "src/views/BenchmarkDetailView.tsx": {
1483
- "file": "assets/BenchmarkDetailView-CkTODUAo.js",
1484
  "name": "BenchmarkDetailView",
1485
  "src": "src/views/BenchmarkDetailView.tsx",
1486
  "isDynamicEntry": true,
1487
  "imports": [
1488
  "index.html",
1489
- "_ResearchFollowButton-CP34FBeP.js",
1490
- "_preferences-0Dg7PeSz.js",
1491
- "_LatexTitle-GmCrtZ_I.js",
1492
- "_ExternalSourceEvalBadge-UIy-nVN9.js",
1493
- "_switch-BiWy_MQW.js",
1494
- "_Icon-Cdqu8Hq_.js",
1495
- "_skeleton-BkbzA0oF.js",
1496
- "_BenchmarkTrendSparkline-D-gglZuZ.js",
1497
  "_safeExternalHref-CkBrsh84.js",
1498
  "_slug-BpH-Nkvz.js",
1499
  "src/pages/NotFound.tsx",
1500
- "_LoadFailurePage-CF1gemwM.js",
1501
- "_useDocumentTitle-DGWKz2sg.js",
1502
- "_pageTitles-Cv5SviVf.js",
1503
- "_researchTopic-BP-u0rIC.js",
1504
- "_useMutation-DPQn8VkK.js",
1505
- "_FollowerAvatar-CdsnfvtL.js",
1506
- "_plus-Da5UgLnk.js",
1507
- "_hover-card-CM5j_oBo.js",
1508
- "_index-B2-KLIIm.js",
1509
- "_alert-zC2kYXtI.js"
1510
  ],
1511
  "css": [
1512
  "assets/BenchmarkDetailView-CXxK75GR.css"
1513
  ]
1514
  },
1515
  "src/views/ChatView.tsx": {
1516
- "file": "assets/ChatView-B55g4ggY.js",
1517
  "name": "ChatView",
1518
  "src": "src/views/ChatView.tsx",
1519
  "isDynamicEntry": true,
1520
  "imports": [
1521
  "index.html",
1522
- "_chatLifecycle-9mjLEs5d.js",
1523
- "_index-DYXsmgYV.js",
1524
- "_chat-CBpXQ7Wl.js",
1525
- "_McpShowcase-vY65GwKh.js",
1526
- "_share-2-DG9Pr506.js",
1527
- "_useMutation-DPQn8VkK.js",
1528
- "_Icon-Cdqu8Hq_.js",
1529
- "_mlIntern-BmFInJNC.js",
1530
- "_openrouter-B-OYFO9f.js",
1531
- "_hover-card-CM5j_oBo.js",
1532
- "_CatalogEntityPreviewLink-CCV9ov9L.js",
1533
- "_github-BHTeSn1j.js",
1534
- "_file-text-CH7tJG0i.js",
1535
- "_PaperPreviewLink-5XV8BqLE.js",
1536
- "_index-COKyUVjd.js",
1537
- "_index-dnSSilbj.js",
1538
- "_index-BV27Nexp.js",
1539
  "node_modules/katex/dist/katex.mjs",
1540
- "_thumbs-up-DZW-ss8t.js",
1541
- "_copy-D_QYCYs1.js",
1542
- "_arrow-left-BIaK_wN7.js",
1543
- "_external-link-BpPkGH8G.js",
1544
- "_plus-Da5UgLnk.js",
1545
- "_search-BLHGfANa.js",
1546
- "_chevron-up-DpwU9AYE.js",
1547
- "_AuthorAvatar-DfcP8J6o.js",
1548
- "_trash-2-Dai-yVNI.js",
1549
- "_AgentLogos-Da2yWlH1.js"
1550
  ],
1551
  "css": [
1552
  "assets/katex-wklAmtGL.css"
@@ -1614,274 +1614,274 @@
1614
  ]
1615
  },
1616
  "src/views/ConferenceDetailView.tsx": {
1617
- "file": "assets/ConferenceDetailView-DeZzVD1a.js",
1618
  "name": "ConferenceDetailView",
1619
  "src": "src/views/ConferenceDetailView.tsx",
1620
  "isDynamicEntry": true,
1621
  "imports": [
1622
  "index.html",
1623
- "_AreaSection-D3xwtKAs.js",
1624
- "_MarkdownText-lBRZb4lH.js",
1625
  "_areas-Dvi8w2dp.js",
1626
  "_colors-BkWRhvFI.js",
1627
  "_conferenceListings-BnmhBx-_.js",
1628
  "_deadlines-BG5SWwEG.js",
1629
- "_transform-BzmXOpxt.js",
1630
- "_skeleton-BkbzA0oF.js",
1631
  "_safeExternalHref-CkBrsh84.js",
1632
- "_LoadFailurePage-CF1gemwM.js",
1633
- "_useDocumentTitle-DGWKz2sg.js",
1634
- "_pageTitles-Cv5SviVf.js",
1635
- "_PaperPreviewLink-5XV8BqLE.js",
1636
- "_index-COKyUVjd.js",
1637
- "_index-dnSSilbj.js",
1638
- "_hover-card-CM5j_oBo.js",
1639
- "_useMutation-DPQn8VkK.js",
1640
- "_alert-zC2kYXtI.js",
1641
  "src/pages/NotFound.tsx"
1642
  ]
1643
  },
1644
  "src/views/ConferenceTaskView.tsx": {
1645
- "file": "assets/ConferenceTaskView-CVRhc_dS.js",
1646
  "name": "ConferenceTaskView",
1647
  "src": "src/views/ConferenceTaskView.tsx",
1648
  "isDynamicEntry": true,
1649
  "imports": [
1650
  "index.html",
1651
- "_usePapers-Cuyi1itG.js",
1652
- "_MarkdownText-lBRZb4lH.js",
1653
  "_conferenceListings-BnmhBx-_.js",
1654
- "_transform-BzmXOpxt.js",
1655
- "_LoadFailurePage-CF1gemwM.js",
1656
- "_PaperCard-CSOLEzIX.js",
1657
- "_AuthorAvatar-DfcP8J6o.js",
1658
- "_SotaBadges-CcS46IjG.js",
1659
  "_colors-BkWRhvFI.js",
1660
- "_Icon-Cdqu8Hq_.js",
1661
- "_LatexTitle-GmCrtZ_I.js",
1662
  "_safeExternalHref-CkBrsh84.js",
1663
- "_popover-DoQl9nzw.js",
1664
- "_skeleton-BkbzA0oF.js",
1665
- "_useIntersectionObserver-M_MEUmwh.js",
1666
- "_useInfiniteQuery-Ba0y0o7Y.js",
1667
- "_PaperPreviewLink-5XV8BqLE.js",
1668
- "_index-COKyUVjd.js",
1669
- "_index-dnSSilbj.js",
1670
- "_hover-card-CM5j_oBo.js",
1671
- "_useMutation-DPQn8VkK.js",
1672
- "_alert-zC2kYXtI.js",
1673
  "src/pages/NotFound.tsx"
1674
  ]
1675
  },
1676
  "src/views/ConferencesIndexView.tsx": {
1677
- "file": "assets/ConferencesIndexView-3cS9eR7i.js",
1678
  "name": "ConferencesIndexView",
1679
  "src": "src/views/ConferencesIndexView.tsx",
1680
  "isDynamicEntry": true,
1681
  "imports": [
1682
  "index.html",
1683
  "_deadlines-BG5SWwEG.js",
1684
- "_alert-zC2kYXtI.js",
1685
- "_AreaSection-D3xwtKAs.js",
1686
- "_TaxonomySuggestionTile-DmGYfBPo.js",
1687
- "_useDocumentTitle-DGWKz2sg.js",
1688
- "_pageTitles-Cv5SviVf.js",
1689
- "_skeleton-BkbzA0oF.js",
1690
- "_SignInToEditDialog-DkbWjXKh.js",
1691
- "_button-CbtZIybp.js",
1692
- "_input-BDLNu7DN.js",
1693
- "_textarea-Dzdb-PIY.js",
1694
- "_searchable-select-CbMREm8O.js",
1695
- "_popover-DoQl9nzw.js",
1696
- "_dialog-C_jKzXRg.js",
1697
- "_search-BLHGfANa.js",
1698
- "_loader-circle-CcsDvzXG.js",
1699
- "_useMutation-DPQn8VkK.js",
1700
- "_submissions-DNDrsPIh.js",
1701
- "_cacheSync-C15rSGWl.js",
1702
- "_plus-Da5UgLnk.js"
1703
  ]
1704
  },
1705
  "src/views/FeedView.tsx": {
1706
- "file": "assets/FeedView-DfsJpV9h.js",
1707
  "name": "FeedView",
1708
  "src": "src/views/FeedView.tsx",
1709
  "isDynamicEntry": true,
1710
  "imports": [
1711
  "index.html",
1712
- "_taskIcons-DB857qAq.js",
1713
- "_researchTopic-BP-u0rIC.js",
1714
- "_plus-Da5UgLnk.js",
1715
- "_transform-BzmXOpxt.js",
1716
- "_arrow-right-HTfAIQQF.js",
1717
- "_index-DYXsmgYV.js",
1718
- "_dialog-C_jKzXRg.js",
1719
- "_switch-BiWy_MQW.js",
1720
- "_tabs-COt81pAK.js",
1721
- "_useDebounce-Bt-Usy3P.js",
1722
- "_trash-2-Dai-yVNI.js",
1723
- "_undo-2-OoZl-ncG.js",
1724
- "_arrow-up-right-C2M2QrCR.js",
1725
  "_colors-BkWRhvFI.js",
1726
- "_usePapers-Cuyi1itG.js",
1727
- "_McpShowcase-vY65GwKh.js",
1728
- "_chat-CBpXQ7Wl.js",
1729
- "_skeleton-BkbzA0oF.js",
1730
- "_alert-zC2kYXtI.js",
1731
- "_useDocumentTitle-DGWKz2sg.js",
1732
- "_pageTitles-Cv5SviVf.js",
1733
- "_search-BLHGfANa.js",
1734
- "_triangle-alert-tVOCXgsf.js",
1735
- "_share-2-DG9Pr506.js",
1736
- "_trending-up-PRKQib2t.js",
1737
- "_moon-Did5K_6X.js",
1738
- "_thumbs-up-DZW-ss8t.js",
1739
- "_database-BI44wXxm.js",
1740
- "_link-2-BFDx3Ny_.js",
1741
- "_trophy-Cjn1hvpp.js",
1742
- "_file-text-CH7tJG0i.js",
1743
- "_activity-Bl3XH8Oh.js",
1744
- "_globe-XOaeDqkA.js",
1745
- "_useMutation-DPQn8VkK.js",
1746
- "_index-B2-KLIIm.js",
1747
- "_PaperCard-CSOLEzIX.js",
1748
- "_AuthorAvatar-DfcP8J6o.js",
1749
- "_SotaBadges-CcS46IjG.js",
1750
- "_Icon-Cdqu8Hq_.js",
1751
- "_LatexTitle-GmCrtZ_I.js",
1752
  "_safeExternalHref-CkBrsh84.js",
1753
- "_popover-DoQl9nzw.js",
1754
- "_useIntersectionObserver-M_MEUmwh.js",
1755
- "_useInfiniteQuery-Ba0y0o7Y.js",
1756
- "_AgentLogos-Da2yWlH1.js"
1757
  ]
1758
  },
1759
  "src/views/FollowingView.tsx": {
1760
- "file": "assets/FollowingView-CLvbC_mH.js",
1761
  "name": "FollowingView",
1762
  "src": "src/views/FollowingView.tsx",
1763
  "isDynamicEntry": true,
1764
  "imports": [
1765
  "index.html",
1766
  "src/views/FeedView.tsx",
1767
- "_taskIcons-DB857qAq.js",
1768
- "_search-BLHGfANa.js",
1769
- "_triangle-alert-tVOCXgsf.js",
1770
- "_share-2-DG9Pr506.js",
1771
- "_trending-up-PRKQib2t.js",
1772
- "_moon-Did5K_6X.js",
1773
- "_thumbs-up-DZW-ss8t.js",
1774
- "_database-BI44wXxm.js",
1775
- "_link-2-BFDx3Ny_.js",
1776
- "_trophy-Cjn1hvpp.js",
1777
- "_file-text-CH7tJG0i.js",
1778
- "_activity-Bl3XH8Oh.js",
1779
- "_globe-XOaeDqkA.js",
1780
- "_researchTopic-BP-u0rIC.js",
1781
- "_useMutation-DPQn8VkK.js",
1782
- "_plus-Da5UgLnk.js",
1783
- "_transform-BzmXOpxt.js",
1784
- "_arrow-right-HTfAIQQF.js",
1785
- "_index-DYXsmgYV.js",
1786
- "_chat-CBpXQ7Wl.js",
1787
- "_dialog-C_jKzXRg.js",
1788
- "_switch-BiWy_MQW.js",
1789
- "_index-B2-KLIIm.js",
1790
- "_tabs-COt81pAK.js",
1791
- "_useDebounce-Bt-Usy3P.js",
1792
- "_trash-2-Dai-yVNI.js",
1793
- "_undo-2-OoZl-ncG.js",
1794
- "_arrow-up-right-C2M2QrCR.js",
1795
  "_colors-BkWRhvFI.js",
1796
- "_usePapers-Cuyi1itG.js",
1797
- "_PaperCard-CSOLEzIX.js",
1798
- "_AuthorAvatar-DfcP8J6o.js",
1799
- "_SotaBadges-CcS46IjG.js",
1800
- "_Icon-Cdqu8Hq_.js",
1801
- "_LatexTitle-GmCrtZ_I.js",
1802
  "_safeExternalHref-CkBrsh84.js",
1803
- "_popover-DoQl9nzw.js",
1804
- "_skeleton-BkbzA0oF.js",
1805
- "_useIntersectionObserver-M_MEUmwh.js",
1806
- "_useInfiniteQuery-Ba0y0o7Y.js",
1807
- "_McpShowcase-vY65GwKh.js",
1808
- "_AgentLogos-Da2yWlH1.js",
1809
- "_alert-zC2kYXtI.js",
1810
- "_useDocumentTitle-DGWKz2sg.js",
1811
- "_pageTitles-Cv5SviVf.js"
1812
  ]
1813
  },
1814
  "src/views/FrameworksIndexView.tsx": {
1815
- "file": "assets/FrameworksIndexView-CZjFCXYR.js",
1816
  "name": "FrameworksIndexView",
1817
  "src": "src/views/FrameworksIndexView.tsx",
1818
  "isDynamicEntry": true,
1819
  "imports": [
1820
  "index.html",
1821
- "_Icon-Cdqu8Hq_.js",
1822
  "_colors-BkWRhvFI.js",
1823
  "_frameworks-DDA0P4Tf.js",
1824
- "_useDocumentTitle-DGWKz2sg.js",
1825
- "_pageTitles-Cv5SviVf.js"
1826
  ]
1827
  },
1828
  "src/views/McpView.tsx": {
1829
- "file": "assets/McpView-DUS7fpyg.js",
1830
  "name": "McpView",
1831
  "src": "src/views/McpView.tsx",
1832
  "isDynamicEntry": true,
1833
  "imports": [
1834
  "index.html",
1835
- "_useDocumentTitle-DGWKz2sg.js",
1836
- "_github-BHTeSn1j.js",
1837
- "_arrow-up-right-C2M2QrCR.js",
1838
- "_external-link-BpPkGH8G.js",
1839
- "_copy-D_QYCYs1.js"
1840
  ],
1841
  "css": [
1842
  "assets/McpView-EGeqkP46.css"
1843
  ]
1844
  },
1845
  "src/views/MethodDetailView.tsx": {
1846
- "file": "assets/MethodDetailView-BjDrYrJT.js",
1847
  "name": "MethodDetailView",
1848
  "src": "src/views/MethodDetailView.tsx",
1849
  "isDynamicEntry": true,
1850
  "imports": [
1851
  "index.html",
1852
- "_ResearchFollowButton-CP34FBeP.js",
1853
- "_SotaBadges-CcS46IjG.js",
1854
- "_usePapers-Cuyi1itG.js",
1855
- "_MarkdownText-lBRZb4lH.js",
1856
  "_slug-BpH-Nkvz.js",
1857
- "_transform-BzmXOpxt.js",
1858
- "_skeleton-BkbzA0oF.js",
1859
  "_safeExternalHref-CkBrsh84.js",
1860
  "src/pages/NotFound.tsx",
1861
- "_LoadFailurePage-CF1gemwM.js",
1862
- "_useDocumentTitle-DGWKz2sg.js",
1863
- "_pageTitles-Cv5SviVf.js",
1864
- "_researchTopic-BP-u0rIC.js",
1865
- "_useMutation-DPQn8VkK.js",
1866
- "_FollowerAvatar-CdsnfvtL.js",
1867
- "_plus-Da5UgLnk.js",
1868
  "_colors-BkWRhvFI.js",
1869
- "_PaperCard-CSOLEzIX.js",
1870
- "_AuthorAvatar-DfcP8J6o.js",
1871
- "_Icon-Cdqu8Hq_.js",
1872
- "_LatexTitle-GmCrtZ_I.js",
1873
- "_popover-DoQl9nzw.js",
1874
- "_useIntersectionObserver-M_MEUmwh.js",
1875
- "_useInfiniteQuery-Ba0y0o7Y.js",
1876
- "_PaperPreviewLink-5XV8BqLE.js",
1877
- "_index-COKyUVjd.js",
1878
- "_index-dnSSilbj.js",
1879
- "_hover-card-CM5j_oBo.js",
1880
- "_alert-zC2kYXtI.js"
1881
  ]
1882
  },
1883
  "src/views/MethodsIndexView.tsx": {
1884
- "file": "assets/MethodsIndexView-anBxEWt5.js",
1885
  "name": "MethodsIndexView",
1886
  "src": "src/views/MethodsIndexView.tsx",
1887
  "isDynamicEntry": true,
@@ -1889,182 +1889,182 @@
1889
  "index.html",
1890
  "_areas-Dvi8w2dp.js",
1891
  "_slug-BpH-Nkvz.js",
1892
- "_alert-zC2kYXtI.js",
1893
- "_AreaSection-D3xwtKAs.js",
1894
- "_TaxonomySuggestionTile-DmGYfBPo.js",
1895
- "_useHashScrollOnReady-C6E-ijj0.js",
1896
- "_useDocumentTitle-DGWKz2sg.js",
1897
- "_pageTitles-Cv5SviVf.js",
1898
- "_skeleton-BkbzA0oF.js",
1899
- "_SignInToEditDialog-DkbWjXKh.js",
1900
- "_button-CbtZIybp.js",
1901
- "_input-BDLNu7DN.js",
1902
- "_textarea-Dzdb-PIY.js",
1903
- "_searchable-select-CbMREm8O.js",
1904
- "_popover-DoQl9nzw.js",
1905
- "_dialog-C_jKzXRg.js",
1906
- "_search-BLHGfANa.js",
1907
- "_loader-circle-CcsDvzXG.js",
1908
- "_useMutation-DPQn8VkK.js",
1909
- "_submissions-DNDrsPIh.js",
1910
- "_cacheSync-C15rSGWl.js",
1911
- "_plus-Da5UgLnk.js",
1912
- "_trending-up-PRKQib2t.js"
1913
  ]
1914
  },
1915
  "src/views/OrganizationDetailView.tsx": {
1916
- "file": "assets/OrganizationDetailView-CRjol9bO.js",
1917
  "name": "OrganizationDetailView",
1918
  "src": "src/views/OrganizationDetailView.tsx",
1919
  "isDynamicEntry": true,
1920
  "imports": [
1921
  "index.html",
1922
- "_ResearchFollowButton-CP34FBeP.js",
1923
- "_MarkdownText-lBRZb4lH.js",
1924
- "_OrganizationContributionGraph-DrTL4Nwc.js",
1925
- "_usePapers-Cuyi1itG.js",
1926
- "_searchable-select-CbMREm8O.js",
1927
- "_skeleton-BkbzA0oF.js",
1928
- "_transform-BzmXOpxt.js",
1929
  "_organizationNames-BVKzYEBp.js",
1930
  "src/pages/NotFound.tsx",
1931
- "_LoadFailurePage-CF1gemwM.js",
1932
- "_useDocumentTitle-DGWKz2sg.js",
1933
- "_pageTitles-Cv5SviVf.js",
1934
- "_researchTopic-BP-u0rIC.js",
1935
- "_useMutation-DPQn8VkK.js",
1936
- "_FollowerAvatar-CdsnfvtL.js",
1937
- "_plus-Da5UgLnk.js",
1938
- "_PaperPreviewLink-5XV8BqLE.js",
1939
- "_index-COKyUVjd.js",
1940
- "_index-dnSSilbj.js",
1941
- "_hover-card-CM5j_oBo.js",
1942
- "_PaperCard-CSOLEzIX.js",
1943
- "_AuthorAvatar-DfcP8J6o.js",
1944
- "_SotaBadges-CcS46IjG.js",
1945
  "_colors-BkWRhvFI.js",
1946
- "_Icon-Cdqu8Hq_.js",
1947
- "_LatexTitle-GmCrtZ_I.js",
1948
  "_safeExternalHref-CkBrsh84.js",
1949
- "_popover-DoQl9nzw.js",
1950
- "_useIntersectionObserver-M_MEUmwh.js",
1951
- "_useInfiniteQuery-Ba0y0o7Y.js",
1952
- "_button-CbtZIybp.js",
1953
- "_dialog-C_jKzXRg.js",
1954
- "_search-BLHGfANa.js",
1955
- "_loader-circle-CcsDvzXG.js",
1956
- "_alert-zC2kYXtI.js"
1957
  ]
1958
  },
1959
  "src/views/OrganizationsIndexView.tsx": {
1960
- "file": "assets/OrganizationsIndexView-Cyxt0wfV.js",
1961
  "name": "OrganizationsIndexView",
1962
  "src": "src/views/OrganizationsIndexView.tsx",
1963
  "isDynamicEntry": true,
1964
  "imports": [
1965
  "index.html",
1966
- "_alert-zC2kYXtI.js",
1967
- "_useDocumentTitle-DGWKz2sg.js",
1968
- "_pageTitles-Cv5SviVf.js"
1969
  ],
1970
  "css": [
1971
  "assets/OrganizationsIndexView-CJnrfIkP.css"
1972
  ]
1973
  },
1974
  "src/views/PaperDetailView.tsx": {
1975
- "file": "assets/PaperDetailView-BqZThu4e.js",
1976
  "name": "PaperDetailView",
1977
  "src": "src/views/PaperDetailView.tsx",
1978
  "isDynamicEntry": true,
1979
  "imports": [
1980
  "index.html",
1981
- "_useMutation-DPQn8VkK.js",
1982
- "_Icon-Cdqu8Hq_.js",
1983
- "_SotaBadges-CcS46IjG.js",
1984
- "_LatexTitle-GmCrtZ_I.js",
1985
- "_preferences-0Dg7PeSz.js",
1986
- "_transform-BzmXOpxt.js",
1987
  "_paperReader-D1y30HyW.js",
1988
- "_useDocumentTitle-DGWKz2sg.js",
1989
  "_safeExternalHref-CkBrsh84.js",
1990
- "_mlIntern-BmFInJNC.js",
1991
- "_skeleton-BkbzA0oF.js",
1992
- "_alert-zC2kYXtI.js",
1993
- "_button-CbtZIybp.js",
1994
- "_dialog-C_jKzXRg.js",
1995
- "_AgentLogos-Da2yWlH1.js",
1996
- "_copy-D_QYCYs1.js",
1997
- "_input-BDLNu7DN.js",
1998
- "_cacheSync-C15rSGWl.js",
1999
- "_loader-circle-CcsDvzXG.js",
2000
- "_searchable-select-CbMREm8O.js",
2001
- "_trash-2-Dai-yVNI.js",
2002
- "_SignInToEditDialog-DkbWjXKh.js",
2003
- "_useQueries-C0szaKAG.js",
2004
- "_submissions-DNDrsPIh.js",
2005
- "_database-BI44wXxm.js",
2006
- "_plus-Da5UgLnk.js",
2007
- "_search-BLHGfANa.js",
2008
- "_badge-Dssrs_RO.js",
2009
- "_CatalogEntityPreviewLink-CCV9ov9L.js",
2010
- "_globe-XOaeDqkA.js",
2011
- "_github-BHTeSn1j.js",
2012
- "_index-B2-KLIIm.js",
2013
- "_ExternalSourceEvalBadge-UIy-nVN9.js",
2014
- "_index-COKyUVjd.js",
2015
- "_index-dnSSilbj.js",
2016
- "_useIntersectionObserver-M_MEUmwh.js",
2017
- "_savedPapersAuth-CLNfo1HR.js",
2018
  "_organizationNames-BVKzYEBp.js",
2019
- "_AuthorAvatar-DfcP8J6o.js",
2020
  "_colors-BkWRhvFI.js",
2021
- "_popover-DoQl9nzw.js",
2022
- "_textarea-Dzdb-PIY.js",
2023
- "_hover-card-CM5j_oBo.js"
2024
  ],
2025
  "css": [
2026
  "assets/PaperDetailView-a7nBVgNU.css"
2027
  ]
2028
  },
2029
  "src/views/PaperReaderView.tsx": {
2030
- "file": "assets/PaperReaderView-Dk5D9w4-.js",
2031
  "name": "PaperReaderView",
2032
  "src": "src/views/PaperReaderView.tsx",
2033
  "isDynamicEntry": true,
2034
  "imports": [
2035
  "index.html",
2036
- "_chatLifecycle-9mjLEs5d.js",
2037
- "_MarkdownText-lBRZb4lH.js",
2038
  "_paperReader-D1y30HyW.js",
2039
- "_chat-CBpXQ7Wl.js",
2040
  "_safeExternalHref-CkBrsh84.js",
2041
  "src/views/ChatView.tsx",
2042
- "_index-DYXsmgYV.js",
2043
- "_hover-card-CM5j_oBo.js",
2044
- "_CatalogEntityPreviewLink-CCV9ov9L.js",
2045
- "_github-BHTeSn1j.js",
2046
- "_file-text-CH7tJG0i.js",
2047
- "_PaperPreviewLink-5XV8BqLE.js",
2048
- "_index-COKyUVjd.js",
2049
- "_index-dnSSilbj.js",
2050
- "_useMutation-DPQn8VkK.js",
2051
- "_index-BV27Nexp.js",
2052
  "node_modules/katex/dist/katex.mjs",
2053
- "_thumbs-up-DZW-ss8t.js",
2054
- "_copy-D_QYCYs1.js",
2055
- "_arrow-left-BIaK_wN7.js",
2056
- "_external-link-BpPkGH8G.js",
2057
- "_plus-Da5UgLnk.js",
2058
- "_search-BLHGfANa.js",
2059
- "_chevron-up-DpwU9AYE.js",
2060
- "_AuthorAvatar-DfcP8J6o.js",
2061
- "_trash-2-Dai-yVNI.js",
2062
- "_McpShowcase-vY65GwKh.js",
2063
- "_AgentLogos-Da2yWlH1.js",
2064
- "_share-2-DG9Pr506.js",
2065
- "_Icon-Cdqu8Hq_.js",
2066
- "_mlIntern-BmFInJNC.js",
2067
- "_openrouter-B-OYFO9f.js"
2068
  ],
2069
  "css": [
2070
  "assets/katex-wklAmtGL.css"
@@ -2132,44 +2132,44 @@
2132
  ]
2133
  },
2134
  "src/views/PapersListView.tsx": {
2135
- "file": "assets/PapersListView-BIHyvPx9.js",
2136
  "name": "PapersListView",
2137
  "src": "src/views/PapersListView.tsx",
2138
  "isDynamicEntry": true,
2139
  "imports": [
2140
  "index.html",
2141
- "_SotaBadges-CcS46IjG.js",
2142
- "_Icon-Cdqu8Hq_.js",
2143
- "_usePapers-Cuyi1itG.js",
2144
- "_transform-BzmXOpxt.js",
2145
- "_useDebounce-Bt-Usy3P.js",
2146
- "_skeleton-BkbzA0oF.js",
2147
- "_alert-zC2kYXtI.js",
2148
  "_frameworks-DDA0P4Tf.js",
2149
- "_useDocumentTitle-DGWKz2sg.js",
2150
- "_pageTitles-Cv5SviVf.js",
2151
  "_colors-BkWRhvFI.js",
2152
- "_PaperCard-CSOLEzIX.js",
2153
- "_AuthorAvatar-DfcP8J6o.js",
2154
- "_LatexTitle-GmCrtZ_I.js",
2155
  "_safeExternalHref-CkBrsh84.js",
2156
- "_popover-DoQl9nzw.js",
2157
- "_useIntersectionObserver-M_MEUmwh.js",
2158
- "_useInfiniteQuery-Ba0y0o7Y.js"
2159
  ]
2160
  },
2161
  "src/views/PrivacyView.tsx": {
2162
- "file": "assets/PrivacyView-iWte6OiX.js",
2163
  "name": "PrivacyView",
2164
  "src": "src/views/PrivacyView.tsx",
2165
  "isDynamicEntry": true,
2166
  "imports": [
2167
  "index.html",
2168
- "_useDocumentTitle-DGWKz2sg.js"
2169
  ]
2170
  },
2171
  "src/views/RateLimitsView.tsx": {
2172
- "file": "assets/RateLimitsView-Cekgtfu1.js",
2173
  "name": "RateLimitsView",
2174
  "src": "src/views/RateLimitsView.tsx",
2175
  "isDynamicEntry": true,
@@ -2178,74 +2178,74 @@
2178
  ]
2179
  },
2180
  "src/views/SavedPapersView.tsx": {
2181
- "file": "assets/SavedPapersView-yO4GS4OA.js",
2182
  "name": "SavedPapersView",
2183
  "src": "src/views/SavedPapersView.tsx",
2184
  "isDynamicEntry": true,
2185
  "imports": [
2186
  "index.html",
2187
- "_PaperCard-CSOLEzIX.js",
2188
- "_SotaBadges-CcS46IjG.js",
2189
- "_skeleton-BkbzA0oF.js",
2190
- "_alert-zC2kYXtI.js",
2191
- "_transform-BzmXOpxt.js",
2192
- "_savedPapersAuth-CLNfo1HR.js",
2193
- "_AuthorAvatar-DfcP8J6o.js",
2194
- "_Icon-Cdqu8Hq_.js",
2195
- "_LatexTitle-GmCrtZ_I.js",
2196
  "_safeExternalHref-CkBrsh84.js",
2197
  "_colors-BkWRhvFI.js"
2198
  ]
2199
  },
2200
  "src/views/SettingsView.tsx": {
2201
- "file": "assets/SettingsView-7gwjFg-7.js",
2202
  "name": "SettingsView",
2203
  "src": "src/views/SettingsView.tsx",
2204
  "isDynamicEntry": true,
2205
  "imports": [
2206
  "index.html",
2207
- "_useMutation-DPQn8VkK.js",
2208
- "_researchTopic-BP-u0rIC.js",
2209
- "_switch-BiWy_MQW.js",
2210
- "_arrow-right-HTfAIQQF.js",
2211
- "_chat-CBpXQ7Wl.js",
2212
- "_useDocumentTitle-DGWKz2sg.js",
2213
- "_openrouter-B-OYFO9f.js",
2214
- "_preferences-0Dg7PeSz.js",
2215
- "_external-link-BpPkGH8G.js",
2216
- "_moon-Did5K_6X.js",
2217
- "_index-B2-KLIIm.js"
2218
  ]
2219
  },
2220
  "src/views/SharedChatView.tsx": {
2221
- "file": "assets/SharedChatView-DnFKEnLV.js",
2222
  "name": "SharedChatView",
2223
  "src": "src/views/SharedChatView.tsx",
2224
  "isDynamicEntry": true,
2225
  "imports": [
2226
  "index.html",
2227
- "_chatLifecycle-9mjLEs5d.js",
2228
- "_index-DYXsmgYV.js",
2229
- "_chat-CBpXQ7Wl.js",
2230
- "_hover-card-CM5j_oBo.js",
2231
- "_CatalogEntityPreviewLink-CCV9ov9L.js",
2232
- "_github-BHTeSn1j.js",
2233
- "_file-text-CH7tJG0i.js",
2234
- "_PaperPreviewLink-5XV8BqLE.js",
2235
- "_index-COKyUVjd.js",
2236
- "_index-dnSSilbj.js",
2237
- "_useMutation-DPQn8VkK.js",
2238
- "_index-BV27Nexp.js",
2239
  "node_modules/katex/dist/katex.mjs",
2240
- "_thumbs-up-DZW-ss8t.js",
2241
- "_copy-D_QYCYs1.js",
2242
- "_arrow-left-BIaK_wN7.js",
2243
- "_external-link-BpPkGH8G.js",
2244
- "_plus-Da5UgLnk.js",
2245
- "_search-BLHGfANa.js",
2246
- "_chevron-up-DpwU9AYE.js",
2247
- "_AuthorAvatar-DfcP8J6o.js",
2248
- "_trash-2-Dai-yVNI.js"
2249
  ],
2250
  "css": [
2251
  "assets/katex-wklAmtGL.css"
@@ -2313,168 +2313,168 @@
2313
  ]
2314
  },
2315
  "src/views/StagingAccessRequestView.tsx": {
2316
- "file": "assets/StagingAccessRequestView-CW5MIS4W.js",
2317
  "name": "StagingAccessRequestView",
2318
  "src": "src/views/StagingAccessRequestView.tsx",
2319
  "isDynamicEntry": true,
2320
  "imports": [
2321
  "index.html",
2322
- "_circle-check-BrcGlr7S.js"
2323
  ]
2324
  },
2325
  "src/views/SubmitView.tsx": {
2326
- "file": "assets/SubmitView-D7jCUv2E.js",
2327
  "name": "SubmitView",
2328
  "src": "src/views/SubmitView.tsx",
2329
  "isDynamicEntry": true,
2330
  "imports": [
2331
  "index.html",
2332
- "_useMutation-DPQn8VkK.js",
2333
- "_alert-zC2kYXtI.js",
2334
- "_button-CbtZIybp.js",
2335
- "_input-BDLNu7DN.js",
2336
- "_textarea-Dzdb-PIY.js",
2337
- "_cacheSync-C15rSGWl.js"
2338
  ]
2339
  },
2340
  "src/views/TagBrowseView.tsx": {
2341
- "file": "assets/TagBrowseView-CHu78rKT.js",
2342
  "name": "TagBrowseView",
2343
  "src": "src/views/TagBrowseView.tsx",
2344
  "isDynamicEntry": true,
2345
  "imports": [
2346
  "index.html",
2347
- "_ResearchFollowButton-CP34FBeP.js",
2348
- "_SotaBadges-CcS46IjG.js",
2349
- "_usePapers-Cuyi1itG.js",
2350
- "_arrow-right-HTfAIQQF.js",
2351
- "_BenchmarkTrendSparkline-D-gglZuZ.js",
2352
- "_MarkdownText-lBRZb4lH.js",
2353
  "_frameworks-DDA0P4Tf.js",
2354
- "_preferences-0Dg7PeSz.js",
2355
  "_slug-BpH-Nkvz.js",
2356
- "_transform-BzmXOpxt.js",
2357
- "_skeleton-BkbzA0oF.js",
2358
  "src/pages/NotFound.tsx",
2359
- "_LoadFailurePage-CF1gemwM.js",
2360
- "_useDocumentTitle-DGWKz2sg.js",
2361
- "_pageTitles-Cv5SviVf.js",
2362
- "_trophy-Cjn1hvpp.js",
2363
- "_github-BHTeSn1j.js",
2364
- "_researchTopic-BP-u0rIC.js",
2365
- "_useMutation-DPQn8VkK.js",
2366
- "_FollowerAvatar-CdsnfvtL.js",
2367
- "_plus-Da5UgLnk.js",
2368
  "_colors-BkWRhvFI.js",
2369
- "_PaperCard-CSOLEzIX.js",
2370
- "_AuthorAvatar-DfcP8J6o.js",
2371
- "_Icon-Cdqu8Hq_.js",
2372
- "_LatexTitle-GmCrtZ_I.js",
2373
  "_safeExternalHref-CkBrsh84.js",
2374
- "_popover-DoQl9nzw.js",
2375
- "_useIntersectionObserver-M_MEUmwh.js",
2376
- "_useInfiniteQuery-Ba0y0o7Y.js",
2377
- "_PaperPreviewLink-5XV8BqLE.js",
2378
- "_index-COKyUVjd.js",
2379
- "_index-dnSSilbj.js",
2380
- "_hover-card-CM5j_oBo.js",
2381
- "_alert-zC2kYXtI.js"
2382
  ]
2383
  },
2384
  "src/views/TagsIndexView.tsx": {
2385
- "file": "assets/TagsIndexView-DeymxOu5.js",
2386
  "name": "TagsIndexView",
2387
  "src": "src/views/TagsIndexView.tsx",
2388
  "isDynamicEntry": true,
2389
  "imports": [
2390
  "index.html",
2391
  "_colors-BkWRhvFI.js",
2392
- "_transform-BzmXOpxt.js",
2393
  "_slug-BpH-Nkvz.js",
2394
- "_taskIcons-DB857qAq.js",
2395
- "_alert-zC2kYXtI.js",
2396
- "_AreaSection-D3xwtKAs.js",
2397
- "_TaxonomySuggestionTile-DmGYfBPo.js",
2398
- "_useHashScrollOnReady-C6E-ijj0.js",
2399
  "_areas-Dvi8w2dp.js",
2400
- "_useDocumentTitle-DGWKz2sg.js",
2401
- "_pageTitles-Cv5SviVf.js",
2402
- "_search-BLHGfANa.js",
2403
- "_triangle-alert-tVOCXgsf.js",
2404
- "_share-2-DG9Pr506.js",
2405
- "_trending-up-PRKQib2t.js",
2406
- "_moon-Did5K_6X.js",
2407
- "_thumbs-up-DZW-ss8t.js",
2408
- "_database-BI44wXxm.js",
2409
- "_link-2-BFDx3Ny_.js",
2410
- "_trophy-Cjn1hvpp.js",
2411
- "_file-text-CH7tJG0i.js",
2412
- "_activity-Bl3XH8Oh.js",
2413
- "_globe-XOaeDqkA.js",
2414
- "_skeleton-BkbzA0oF.js",
2415
- "_SignInToEditDialog-DkbWjXKh.js",
2416
- "_button-CbtZIybp.js",
2417
- "_input-BDLNu7DN.js",
2418
- "_textarea-Dzdb-PIY.js",
2419
- "_searchable-select-CbMREm8O.js",
2420
- "_popover-DoQl9nzw.js",
2421
- "_dialog-C_jKzXRg.js",
2422
- "_loader-circle-CcsDvzXG.js",
2423
- "_useMutation-DPQn8VkK.js",
2424
- "_submissions-DNDrsPIh.js",
2425
- "_cacheSync-C15rSGWl.js",
2426
- "_plus-Da5UgLnk.js"
2427
  ]
2428
  },
2429
  "src/views/TopicView.tsx": {
2430
- "file": "assets/TopicView-D1PBuVyg.js",
2431
  "name": "TopicView",
2432
  "src": "src/views/TopicView.tsx",
2433
  "isDynamicEntry": true,
2434
  "imports": [
2435
  "index.html",
2436
- "_usePapers-Cuyi1itG.js",
2437
- "_skeleton-BkbzA0oF.js",
2438
- "_FollowerAvatar-CdsnfvtL.js",
2439
- "_researchTopic-BP-u0rIC.js",
2440
- "_transform-BzmXOpxt.js",
2441
- "_plus-Da5UgLnk.js",
2442
- "_link-2-BFDx3Ny_.js",
2443
- "_PaperCard-CSOLEzIX.js",
2444
- "_AuthorAvatar-DfcP8J6o.js",
2445
- "_SotaBadges-CcS46IjG.js",
2446
  "_colors-BkWRhvFI.js",
2447
- "_Icon-Cdqu8Hq_.js",
2448
- "_LatexTitle-GmCrtZ_I.js",
2449
  "_safeExternalHref-CkBrsh84.js",
2450
- "_popover-DoQl9nzw.js",
2451
- "_useIntersectionObserver-M_MEUmwh.js",
2452
- "_useInfiniteQuery-Ba0y0o7Y.js",
2453
- "_useMutation-DPQn8VkK.js"
2454
  ]
2455
  },
2456
  "src/views/TrendsView.tsx": {
2457
- "file": "assets/TrendsView-BUsv0y1D.js",
2458
  "name": "TrendsView",
2459
  "src": "src/views/TrendsView.tsx",
2460
  "isDynamicEntry": true,
2461
  "imports": [
2462
  "index.html",
2463
- "_alert-zC2kYXtI.js",
2464
- "_skeleton-BkbzA0oF.js",
2465
- "_useDocumentTitle-DGWKz2sg.js",
2466
- "_pageTitles-Cv5SviVf.js"
2467
  ]
2468
  },
2469
  "src/views/UserProfileView.tsx": {
2470
- "file": "assets/UserProfileView-D6-ZhXrI.js",
2471
  "name": "UserProfileView",
2472
  "src": "src/views/UserProfileView.tsx",
2473
  "isDynamicEntry": true,
2474
  "imports": [
2475
  "index.html",
2476
- "_OrganizationContributionGraph-DrTL4Nwc.js",
2477
- "_skeleton-BkbzA0oF.js"
2478
  ]
2479
  }
2480
  }
 
1
  {
2
+ "_AgentLogos-x9Ckr4O1.js": {
3
+ "file": "assets/AgentLogos-x9Ckr4O1.js",
4
  "name": "AgentLogos",
5
  "imports": [
6
  "index.html"
7
  ]
8
  },
9
+ "_AreaSection-DEBdDI6z.js": {
10
+ "file": "assets/AreaSection-DEBdDI6z.js",
11
  "name": "AreaSection",
12
  "imports": [
13
  "index.html",
14
+ "_skeleton-DsZ-wKhC.js"
15
  ]
16
  },
17
  "_AuthorAvatar-!~{018}~.js": {
18
  "file": "assets/AuthorAvatar-o5W6pl_W.css",
19
  "src": "_AuthorAvatar-!~{018}~.js"
20
  },
21
+ "_AuthorAvatar-CWdu93Ln.js": {
22
+ "file": "assets/AuthorAvatar-CWdu93Ln.js",
23
  "name": "AuthorAvatar",
24
  "imports": [
25
  "index.html"
 
28
  "assets/AuthorAvatar-o5W6pl_W.css"
29
  ]
30
  },
31
+ "_BenchmarkTrendSparkline-D4HWxaaf.js": {
32
+ "file": "assets/BenchmarkTrendSparkline-D4HWxaaf.js",
33
  "name": "BenchmarkTrendSparkline",
34
  "imports": [
35
  "index.html"
36
  ]
37
  },
38
+ "_CatalogEntityPreviewLink-DZIsK1sR.js": {
39
+ "file": "assets/CatalogEntityPreviewLink-DZIsK1sR.js",
40
  "name": "CatalogEntityPreviewLink",
41
  "imports": [
42
  "index.html",
43
+ "_hover-card-B_kWNxjX.js"
44
  ]
45
  },
46
  "_CronDashboard-!~{024}~.js": {
47
  "file": "assets/CronDashboard-DwChfW9h.css",
48
  "src": "_CronDashboard-!~{024}~.js"
49
  },
50
+ "_CronDashboard-QbL2HeKn.js": {
51
+ "file": "assets/CronDashboard-QbL2HeKn.js",
52
  "name": "CronDashboard",
53
  "imports": [
54
  "index.html"
 
61
  "file": "assets/ExternalSourceEvalBadge-CWUQ52cV.css",
62
  "src": "_ExternalSourceEvalBadge-!~{01N}~.js"
63
  },
64
+ "_ExternalSourceEvalBadge-DAJYrz2F.js": {
65
+ "file": "assets/ExternalSourceEvalBadge-DAJYrz2F.js",
66
  "name": "ExternalSourceEvalBadge",
67
  "imports": [
68
  "index.html",
69
+ "_hover-card-B_kWNxjX.js",
70
  "_safeExternalHref-CkBrsh84.js"
71
  ],
72
  "css": [
73
  "assets/ExternalSourceEvalBadge-CWUQ52cV.css"
74
  ]
75
  },
76
+ "_FollowerAvatar-DMLlkjGd.js": {
77
+ "file": "assets/FollowerAvatar-DMLlkjGd.js",
78
  "name": "FollowerAvatar",
79
  "imports": [
80
  "index.html"
81
  ]
82
  },
83
+ "_Icon-BkpouXtc.js": {
84
+ "file": "assets/Icon-BkpouXtc.js",
85
  "name": "Icon",
86
  "imports": [
87
  "index.html"
88
  ]
89
  },
90
+ "_LatexTitle-CXLW2LHS.js": {
91
+ "file": "assets/LatexTitle-CXLW2LHS.js",
92
  "name": "LatexTitle",
93
  "imports": [
94
  "index.html"
 
97
  "node_modules/katex/dist/katex.mjs"
98
  ]
99
  },
100
+ "_LoadFailurePage-BfvJBtL8.js": {
101
+ "file": "assets/LoadFailurePage-BfvJBtL8.js",
102
  "name": "LoadFailurePage",
103
  "imports": [
104
  "index.html",
105
+ "_alert-Cf45hSUq.js",
106
  "src/pages/NotFound.tsx"
107
  ]
108
  },
109
+ "_MarkdownText-BkbUXFCs.js": {
110
+ "file": "assets/MarkdownText-BkbUXFCs.js",
111
  "name": "MarkdownText",
112
  "imports": [
113
  "index.html",
114
+ "_PaperPreviewLink-4dmR6yPp.js",
115
+ "_index-B9qpvwaI.js",
116
+ "_index-16KodlFR.js"
117
  ],
118
  "dynamicImports": [
119
  "src/components/MathMarkdownText.tsx"
120
  ]
121
  },
122
+ "_McpShowcase-BgXu7zJj.js": {
123
+ "file": "assets/McpShowcase-BgXu7zJj.js",
124
  "name": "McpShowcase",
125
  "imports": [
126
  "index.html",
127
+ "_AgentLogos-x9Ckr4O1.js"
128
  ]
129
  },
130
+ "_OrganizationContributionGraph-Bu2X49MY.js": {
131
+ "file": "assets/OrganizationContributionGraph-Bu2X49MY.js",
132
  "name": "OrganizationContributionGraph",
133
  "imports": [
134
  "index.html",
135
+ "_skeleton-DsZ-wKhC.js"
136
  ]
137
  },
138
+ "_PaperCard-CXKXdRil.js": {
139
+ "file": "assets/PaperCard-CXKXdRil.js",
140
  "name": "PaperCard",
141
  "imports": [
142
  "index.html",
143
+ "_AuthorAvatar-CWdu93Ln.js",
144
+ "_SotaBadges-Dh4JgSRd.js",
145
+ "_Icon-BkpouXtc.js",
146
+ "_LatexTitle-CXLW2LHS.js",
147
  "_safeExternalHref-CkBrsh84.js"
148
  ]
149
  },
150
+ "_PaperPreviewLink-4dmR6yPp.js": {
151
+ "file": "assets/PaperPreviewLink-4dmR6yPp.js",
152
  "name": "PaperPreviewLink",
153
  "imports": [
154
+ "_index-B9qpvwaI.js",
155
+ "_index-16KodlFR.js",
156
  "index.html",
157
+ "_hover-card-B_kWNxjX.js",
158
+ "_useMutation-DxP7YVP3.js"
159
  ]
160
  },
161
+ "_ResearchFollowButton-D0tv80JF.js": {
162
+ "file": "assets/ResearchFollowButton-D0tv80JF.js",
163
  "name": "ResearchFollowButton",
164
  "imports": [
165
  "index.html",
166
+ "_researchTopic-179EqBPz.js",
167
+ "_FollowerAvatar-DMLlkjGd.js",
168
+ "_plus-Ig6EFSa0.js"
169
  ]
170
  },
171
+ "_SignInToEditDialog-B23Lp1q5.js": {
172
+ "file": "assets/SignInToEditDialog-B23Lp1q5.js",
173
  "name": "SignInToEditDialog",
174
  "imports": [
175
  "index.html",
176
+ "_button-TpPKOW28.js",
177
+ "_input-BtVcQEqI.js",
178
+ "_textarea-Ch1ibCfx.js",
179
+ "_searchable-select-VhKQioJk.js",
180
+ "_dialog-CMqnZdwE.js",
181
+ "_useMutation-DxP7YVP3.js",
182
+ "_submissions-B9V-ntEk.js",
183
+ "_cacheSync-UfDqLKth.js",
184
+ "_loader-circle-DjsuNmQM.js"
185
+ ]
186
+ },
187
+ "_SotaBadges-Dh4JgSRd.js": {
188
+ "file": "assets/SotaBadges-Dh4JgSRd.js",
189
  "name": "SotaBadges",
190
  "imports": [
191
  "index.html",
192
  "_colors-BkWRhvFI.js",
193
+ "_transform-BII-_KDB.js"
194
  ]
195
  },
196
+ "_TaxonomySuggestionTile-DxM7CBR8.js": {
197
+ "file": "assets/TaxonomySuggestionTile-DxM7CBR8.js",
198
  "name": "TaxonomySuggestionTile",
199
  "imports": [
200
  "index.html",
201
+ "_SignInToEditDialog-B23Lp1q5.js",
202
+ "_plus-Ig6EFSa0.js"
203
  ]
204
  },
205
  "__vite-browser-external": {
 
208
  "src": "__vite-browser-external",
209
  "isDynamicEntry": true
210
  },
211
+ "_activity-C34k684K.js": {
212
+ "file": "assets/activity-C34k684K.js",
213
  "name": "activity",
214
  "imports": [
215
  "index.html"
216
  ]
217
  },
218
+ "_alert-Cf45hSUq.js": {
219
+ "file": "assets/alert-Cf45hSUq.js",
220
  "name": "alert",
221
  "imports": [
222
  "index.html"
 
226
  "file": "assets/areas-Dvi8w2dp.js",
227
  "name": "areas"
228
  },
229
+ "_arrow-left-Cg1Xngtx.js": {
230
+ "file": "assets/arrow-left-Cg1Xngtx.js",
231
  "name": "arrow-left",
232
  "imports": [
233
  "index.html"
234
  ]
235
  },
236
+ "_arrow-right-DlVJkuq8.js": {
237
+ "file": "assets/arrow-right-DlVJkuq8.js",
238
  "name": "arrow-right",
239
  "imports": [
240
  "index.html"
241
  ]
242
  },
243
+ "_arrow-up-right-B6bV_Cct.js": {
244
+ "file": "assets/arrow-up-right-B6bV_Cct.js",
245
  "name": "arrow-up-right",
246
  "imports": [
247
  "index.html"
248
  ]
249
  },
250
+ "_badge-CEsisGsF.js": {
251
+ "file": "assets/badge-CEsisGsF.js",
252
  "name": "badge",
253
  "imports": [
254
  "index.html"
255
  ]
256
  },
257
+ "_button-TpPKOW28.js": {
258
+ "file": "assets/button-TpPKOW28.js",
259
  "name": "button",
260
  "imports": [
261
  "index.html"
262
  ]
263
  },
264
+ "_cacheSync-UfDqLKth.js": {
265
+ "file": "assets/cacheSync-UfDqLKth.js",
266
  "name": "cacheSync",
267
  "imports": [
268
  "index.html"
269
  ]
270
  },
271
+ "_chat-DfK5YWLV.js": {
272
+ "file": "assets/chat-DfK5YWLV.js",
273
  "name": "chat",
274
  "imports": [
275
  "index.html"
 
279
  "file": "assets/chatLifecycle-Lr_OJaUk.css",
280
  "src": "_chatLifecycle-!~{01n}~.js"
281
  },
282
+ "_chatLifecycle-CiTSoKmw.js": {
283
+ "file": "assets/chatLifecycle-CiTSoKmw.js",
284
  "name": "chatLifecycle",
285
  "imports": [
286
  "index.html",
287
+ "_index-CNk4C1On.js",
288
+ "_hover-card-B_kWNxjX.js",
289
+ "_CatalogEntityPreviewLink-DZIsK1sR.js",
290
+ "_github-B5cOzUdz.js",
291
+ "_file-text-CxYjO52k.js",
292
+ "_PaperPreviewLink-4dmR6yPp.js",
293
+ "_index-B9qpvwaI.js",
294
+ "_index-DtKbyjDr.js",
295
+ "_index-16KodlFR.js",
296
+ "_useMutation-DxP7YVP3.js",
297
+ "_chat-DfK5YWLV.js",
298
+ "_thumbs-up-DoDJmuQ5.js",
299
+ "_copy-DmgKnhAK.js",
300
+ "_arrow-left-Cg1Xngtx.js",
301
+ "_external-link-CWjWR91l.js",
302
+ "_plus-Ig6EFSa0.js",
303
+ "_search-BHf0tBuT.js",
304
+ "_chevron-up-DFruybA3.js",
305
+ "_AuthorAvatar-CWdu93Ln.js",
306
+ "_trash-2-D6KnBn09.js"
307
  ],
308
  "dynamicImports": [
309
  "__vite-browser-external",
 
378
  "assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf"
379
  ]
380
  },
381
+ "_chevron-up-DFruybA3.js": {
382
+ "file": "assets/chevron-up-DFruybA3.js",
383
  "name": "chevron-up",
384
  "imports": [
385
  "index.html"
386
  ]
387
  },
388
+ "_circle-check-D8HiLXIK.js": {
389
+ "file": "assets/circle-check-D8HiLXIK.js",
390
  "name": "circle-check",
391
  "imports": [
392
  "index.html"
 
400
  "file": "assets/conferenceListings-BnmhBx-_.js",
401
  "name": "conferenceListings"
402
  },
403
+ "_copy-DmgKnhAK.js": {
404
+ "file": "assets/copy-DmgKnhAK.js",
405
  "name": "copy",
406
  "imports": [
407
  "index.html"
408
  ]
409
  },
410
+ "_database-F1rgBGr5.js": {
411
+ "file": "assets/database-F1rgBGr5.js",
412
  "name": "database",
413
  "imports": [
414
  "index.html"
 
418
  "file": "assets/deadlines-BG5SWwEG.js",
419
  "name": "deadlines"
420
  },
421
+ "_dialog-CMqnZdwE.js": {
422
+ "file": "assets/dialog-CMqnZdwE.js",
423
  "name": "dialog",
424
  "imports": [
425
  "index.html"
426
  ]
427
  },
428
+ "_external-link-CWjWR91l.js": {
429
+ "file": "assets/external-link-CWjWR91l.js",
430
  "name": "external-link",
431
  "imports": [
432
  "index.html"
433
  ]
434
  },
435
+ "_file-text-CxYjO52k.js": {
436
+ "file": "assets/file-text-CxYjO52k.js",
437
  "name": "file-text",
438
  "imports": [
439
  "index.html"
 
443
  "file": "assets/frameworks-DDA0P4Tf.js",
444
  "name": "frameworks"
445
  },
446
+ "_github-B5cOzUdz.js": {
447
+ "file": "assets/github-B5cOzUdz.js",
448
  "name": "github",
449
  "imports": [
450
  "index.html"
451
  ]
452
  },
453
+ "_globe-DuvIPdbU.js": {
454
+ "file": "assets/globe-DuvIPdbU.js",
455
  "name": "globe",
456
  "imports": [
457
  "index.html"
458
  ]
459
  },
460
+ "_hover-card-B_kWNxjX.js": {
461
+ "file": "assets/hover-card-B_kWNxjX.js",
462
  "name": "hover-card",
463
  "imports": [
464
  "index.html"
 
468
  "file": "assets/index-Cw6yAXSE.css",
469
  "src": "_index-!~{00X}~.js"
470
  },
471
+ "_index-16KodlFR.js": {
472
+ "file": "assets/index-16KodlFR.js",
473
  "name": "index",
474
  "imports": [
475
+ "_index-B9qpvwaI.js"
476
  ]
477
  },
478
+ "_index-B9qpvwaI.js": {
479
+ "file": "assets/index-B9qpvwaI.js",
480
  "name": "index",
481
  "imports": [
482
+ "index.html"
 
483
  ]
484
  },
485
+ "_index-Byiu5LS8.js": {
486
+ "file": "assets/index-Byiu5LS8.js",
487
  "name": "index",
488
  "imports": [
489
  "index.html"
490
  ]
491
  },
492
+ "_index-CNk4C1On.js": {
493
+ "file": "assets/index-CNk4C1On.js",
494
  "name": "index",
495
  "imports": [
496
  "index.html",
497
+ "_chat-DfK5YWLV.js"
498
  ],
499
  "css": [
500
  "assets/index-Cw6yAXSE.css"
501
  ]
502
  },
503
+ "_index-DtKbyjDr.js": {
504
+ "file": "assets/index-DtKbyjDr.js",
505
  "name": "index",
506
  "imports": [
507
+ "_index-B9qpvwaI.js",
508
+ "node_modules/katex/dist/katex.mjs"
509
  ]
510
  },
511
+ "_input-BtVcQEqI.js": {
512
+ "file": "assets/input-BtVcQEqI.js",
513
  "name": "input",
514
  "imports": [
515
  "index.html"
516
  ]
517
  },
518
+ "_link-2-Df1wXqvh.js": {
519
+ "file": "assets/link-2-Df1wXqvh.js",
520
  "name": "link-2",
521
  "imports": [
522
  "index.html"
523
  ]
524
  },
525
+ "_loader-circle-DjsuNmQM.js": {
526
+ "file": "assets/loader-circle-DjsuNmQM.js",
527
  "name": "loader-circle",
528
  "imports": [
529
  "index.html"
530
  ]
531
  },
532
+ "_mlIntern-vveJiaYH.js": {
533
+ "file": "assets/mlIntern-vveJiaYH.js",
534
  "name": "mlIntern",
535
  "imports": [
536
  "index.html"
537
  ]
538
  },
539
+ "_moon-CuN-BY7W.js": {
540
+ "file": "assets/moon-CuN-BY7W.js",
541
  "name": "moon",
542
  "imports": [
543
  "index.html"
544
  ]
545
  },
546
+ "_openrouter-azYqNFGa.js": {
547
+ "file": "assets/openrouter-azYqNFGa.js",
548
  "name": "openrouter",
549
  "imports": [
550
  "index.html",
551
+ "_chat-DfK5YWLV.js"
552
  ]
553
  },
554
  "_organizationNames-BVKzYEBp.js": {
555
  "file": "assets/organizationNames-BVKzYEBp.js",
556
  "name": "organizationNames"
557
  },
558
+ "_pageTitles-DPtr8SUn.js": {
559
+ "file": "assets/pageTitles-DPtr8SUn.js",
560
  "name": "pageTitles",
561
  "imports": [
562
+ "_useDocumentTitle-gwKq10Vr.js"
563
  ]
564
  },
565
  "_paperReader-D1y30HyW.js": {
 
569
  "_safeExternalHref-CkBrsh84.js"
570
  ]
571
  },
572
+ "_plus-Ig6EFSa0.js": {
573
+ "file": "assets/plus-Ig6EFSa0.js",
574
  "name": "plus",
575
  "imports": [
576
  "index.html"
577
  ]
578
  },
579
+ "_popover-DdJ3UXiH.js": {
580
+ "file": "assets/popover-DdJ3UXiH.js",
581
  "name": "popover",
582
  "imports": [
583
  "index.html"
584
  ]
585
  },
586
+ "_preferences-CGQ5m7Cb.js": {
587
+ "file": "assets/preferences-CGQ5m7Cb.js",
588
  "name": "preferences",
589
  "imports": [
590
  "index.html",
591
+ "_useMutation-DxP7YVP3.js"
592
  ]
593
  },
594
+ "_refresh-cw-Bkh_Ec3f.js": {
595
+ "file": "assets/refresh-cw-Bkh_Ec3f.js",
596
  "name": "refresh-cw",
597
  "imports": [
598
  "index.html"
599
  ]
600
  },
601
+ "_researchTopic-179EqBPz.js": {
602
+ "file": "assets/researchTopic-179EqBPz.js",
603
  "name": "researchTopic",
604
  "imports": [
605
  "index.html",
606
+ "_useMutation-DxP7YVP3.js"
607
  ]
608
  },
609
  "_safeExternalHref-CkBrsh84.js": {
610
  "file": "assets/safeExternalHref-CkBrsh84.js",
611
  "name": "safeExternalHref"
612
  },
613
+ "_savedPapersAuth-DsvbQ2zl.js": {
614
+ "file": "assets/savedPapersAuth-DsvbQ2zl.js",
615
  "name": "savedPapersAuth",
616
  "imports": [
617
  "index.html"
618
  ]
619
  },
620
+ "_search-BHf0tBuT.js": {
621
+ "file": "assets/search-BHf0tBuT.js",
622
  "name": "search",
623
  "imports": [
624
  "index.html"
625
  ]
626
  },
627
+ "_searchable-select-VhKQioJk.js": {
628
+ "file": "assets/searchable-select-VhKQioJk.js",
629
  "name": "searchable-select",
630
  "imports": [
631
  "index.html",
632
+ "_button-TpPKOW28.js",
633
+ "_popover-DdJ3UXiH.js",
634
+ "_dialog-CMqnZdwE.js",
635
+ "_search-BHf0tBuT.js",
636
+ "_loader-circle-DjsuNmQM.js"
637
  ]
638
  },
639
+ "_share-2-Br52qy6p.js": {
640
+ "file": "assets/share-2-Br52qy6p.js",
641
  "name": "share-2",
642
  "imports": [
643
  "index.html"
644
  ]
645
  },
646
+ "_skeleton-DsZ-wKhC.js": {
647
+ "file": "assets/skeleton-DsZ-wKhC.js",
648
  "name": "skeleton",
649
  "imports": [
650
  "index.html"
 
654
  "file": "assets/slug-BpH-Nkvz.js",
655
  "name": "slug"
656
  },
657
+ "_submissions-B9V-ntEk.js": {
658
+ "file": "assets/submissions-B9V-ntEk.js",
659
  "name": "submissions",
660
  "imports": [
661
  "index.html"
662
  ]
663
  },
664
+ "_switch-COw0Jfww.js": {
665
+ "file": "assets/switch-COw0Jfww.js",
666
  "name": "switch",
667
  "imports": [
668
  "index.html",
669
+ "_index-Byiu5LS8.js"
670
  ]
671
  },
672
+ "_tabs-Besxg1IE.js": {
673
+ "file": "assets/tabs-Besxg1IE.js",
674
  "name": "tabs",
675
  "imports": [
676
  "index.html"
677
  ]
678
  },
679
+ "_taskIcons-D66TYP2o.js": {
680
+ "file": "assets/taskIcons-D66TYP2o.js",
681
  "name": "taskIcons",
682
  "imports": [
683
  "index.html",
684
+ "_search-BHf0tBuT.js",
685
+ "_triangle-alert-DY9cghmN.js",
686
+ "_share-2-Br52qy6p.js",
687
+ "_trending-up-claX8Qq-.js",
688
+ "_moon-CuN-BY7W.js",
689
+ "_thumbs-up-DoDJmuQ5.js",
690
+ "_database-F1rgBGr5.js",
691
+ "_link-2-Df1wXqvh.js",
692
+ "_trophy-BxvfHC6g.js",
693
+ "_file-text-CxYjO52k.js",
694
+ "_activity-C34k684K.js",
695
+ "_globe-DuvIPdbU.js"
696
+ ]
697
+ },
698
+ "_textarea-Ch1ibCfx.js": {
699
+ "file": "assets/textarea-Ch1ibCfx.js",
700
  "name": "textarea",
701
  "imports": [
702
  "index.html"
703
  ]
704
  },
705
+ "_thumbs-up-DoDJmuQ5.js": {
706
+ "file": "assets/thumbs-up-DoDJmuQ5.js",
707
  "name": "thumbs-up",
708
  "imports": [
709
  "index.html"
710
  ]
711
  },
712
+ "_transform-BII-_KDB.js": {
713
+ "file": "assets/transform-BII-_KDB.js",
714
  "name": "transform",
715
  "imports": [
716
  "index.html"
717
  ]
718
  },
719
+ "_trash-2-D6KnBn09.js": {
720
+ "file": "assets/trash-2-D6KnBn09.js",
721
  "name": "trash-2",
722
  "imports": [
723
  "index.html"
724
  ]
725
  },
726
+ "_trending-up-claX8Qq-.js": {
727
+ "file": "assets/trending-up-claX8Qq-.js",
728
  "name": "trending-up",
729
  "imports": [
730
  "index.html"
731
  ]
732
  },
733
+ "_triangle-alert-DY9cghmN.js": {
734
+ "file": "assets/triangle-alert-DY9cghmN.js",
735
  "name": "triangle-alert",
736
  "imports": [
737
  "index.html"
738
  ]
739
  },
740
+ "_trophy-BxvfHC6g.js": {
741
+ "file": "assets/trophy-BxvfHC6g.js",
742
  "name": "trophy",
743
  "imports": [
744
  "index.html"
745
  ]
746
  },
747
+ "_undo-2-xoD_sdsW.js": {
748
+ "file": "assets/undo-2-xoD_sdsW.js",
749
  "name": "undo-2",
750
  "imports": [
751
  "index.html"
752
  ]
753
  },
754
+ "_useDebounce-D5i4faqC.js": {
755
+ "file": "assets/useDebounce-D5i4faqC.js",
756
  "name": "useDebounce",
757
  "imports": [
758
  "index.html"
759
  ]
760
  },
761
+ "_useDocumentTitle-gwKq10Vr.js": {
762
+ "file": "assets/useDocumentTitle-gwKq10Vr.js",
763
  "name": "useDocumentTitle",
764
  "imports": [
765
  "index.html"
766
  ]
767
  },
768
+ "_useHashScrollOnReady-C6j5Ohfb.js": {
769
+ "file": "assets/useHashScrollOnReady-C6j5Ohfb.js",
770
  "name": "useHashScrollOnReady",
771
  "imports": [
772
  "index.html",
773
+ "_skeleton-DsZ-wKhC.js",
774
+ "_alert-Cf45hSUq.js",
775
+ "_trending-up-claX8Qq-.js"
776
  ]
777
  },
778
+ "_useInfiniteQuery-DIIy94Ek.js": {
779
+ "file": "assets/useInfiniteQuery-DIIy94Ek.js",
780
  "name": "useInfiniteQuery",
781
  "imports": [
782
  "index.html"
783
  ]
784
  },
785
+ "_useIntersectionObserver-B5f-R6yl.js": {
786
+ "file": "assets/useIntersectionObserver-B5f-R6yl.js",
787
  "name": "useIntersectionObserver",
788
  "imports": [
789
  "index.html"
790
  ]
791
  },
792
+ "_useMutation-DxP7YVP3.js": {
793
+ "file": "assets/useMutation-DxP7YVP3.js",
794
  "name": "useMutation",
795
  "imports": [
796
  "index.html"
797
  ]
798
  },
799
+ "_usePapers-DH6AufOQ.js": {
800
+ "file": "assets/usePapers-DH6AufOQ.js",
801
  "name": "usePapers",
802
  "imports": [
803
  "index.html",
804
+ "_PaperCard-CXKXdRil.js",
805
+ "_popover-DdJ3UXiH.js",
806
+ "_Icon-BkpouXtc.js",
807
+ "_skeleton-DsZ-wKhC.js",
808
+ "_useIntersectionObserver-B5f-R6yl.js",
809
+ "_useInfiniteQuery-DIIy94Ek.js"
810
  ]
811
  },
812
+ "_useQueries-CzOYZfVS.js": {
813
+ "file": "assets/useQueries-CzOYZfVS.js",
814
  "name": "useQueries",
815
  "imports": [
816
  "index.html"
817
  ]
818
  },
819
  "index.html": {
820
+ "file": "assets/index-B0aq-iar.js",
821
  "name": "index",
822
  "src": "index.html",
823
  "isEntry": true,
 
863
  "src/views/StagingAccessRequestView.tsx"
864
  ],
865
  "css": [
866
+ "assets/index-BzqanSFg.css"
867
  ],
868
  "assets": [
869
  "assets/inter-normal-latin-Dx4kXJAl.woff2",
 
1209
  "src": "src/assets/fonts/newsreader-normal-vietnamese.woff2"
1210
  },
1211
  "src/components/MathMarkdownText.tsx": {
1212
+ "file": "assets/MathMarkdownText-DUGEVFuA.js",
1213
  "name": "MathMarkdownText",
1214
  "src": "src/components/MathMarkdownText.tsx",
1215
  "isDynamicEntry": true,
1216
  "imports": [
1217
  "index.html",
1218
+ "_MarkdownText-BkbUXFCs.js",
1219
+ "_index-DtKbyjDr.js",
1220
+ "_PaperPreviewLink-4dmR6yPp.js",
1221
+ "_index-B9qpvwaI.js",
1222
+ "_index-16KodlFR.js",
1223
+ "_hover-card-B_kWNxjX.js",
1224
+ "_useMutation-DxP7YVP3.js",
1225
  "node_modules/katex/dist/katex.mjs"
1226
  ],
1227
  "css": [
 
1290
  ]
1291
  },
1292
  "src/components/SearchOverlay.tsx": {
1293
+ "file": "assets/SearchOverlay-BJjY8IHv.js",
1294
  "name": "SearchOverlay",
1295
  "src": "src/components/SearchOverlay.tsx",
1296
  "isDynamicEntry": true,
1297
  "imports": [
1298
  "index.html",
1299
+ "_LatexTitle-CXLW2LHS.js",
1300
+ "_useDebounce-D5i4faqC.js",
1301
  "_colors-BkWRhvFI.js",
1302
+ "_transform-BII-_KDB.js"
1303
  ]
1304
  },
1305
  "src/pages/AutonomousOperations.tsx": {
1306
+ "file": "assets/AutonomousOperations-DUuzrGjW.js",
1307
  "name": "AutonomousOperations",
1308
  "src": "src/pages/AutonomousOperations.tsx",
1309
  "isDynamicEntry": true,
1310
  "imports": [
1311
  "index.html",
1312
+ "_useMutation-DxP7YVP3.js",
1313
+ "_CronDashboard-QbL2HeKn.js",
1314
+ "_badge-CEsisGsF.js",
1315
+ "_button-TpPKOW28.js",
1316
+ "_input-BtVcQEqI.js",
1317
+ "_activity-C34k684K.js",
1318
+ "_arrow-left-Cg1Xngtx.js"
1319
  ]
1320
  },
1321
  "src/pages/CronDashboard.tsx": {
1322
+ "file": "assets/CronDashboard-B3NnmuD0.js",
1323
  "name": "CronDashboard",
1324
  "src": "src/pages/CronDashboard.tsx",
1325
  "isDynamicEntry": true,
1326
  "imports": [
1327
  "index.html",
1328
+ "_useMutation-DxP7YVP3.js",
1329
+ "_CronDashboard-QbL2HeKn.js",
1330
+ "_badge-CEsisGsF.js",
1331
+ "_button-TpPKOW28.js",
1332
+ "_tabs-Besxg1IE.js",
1333
+ "_chevron-up-DFruybA3.js",
1334
+ "_database-F1rgBGr5.js",
1335
+ "_trending-up-claX8Qq-.js",
1336
+ "_activity-C34k684K.js",
1337
+ "_file-text-CxYjO52k.js",
1338
+ "_triangle-alert-DY9cghmN.js",
1339
+ "_external-link-CWjWR91l.js",
1340
+ "_refresh-cw-Bkh_Ec3f.js",
1341
+ "_loader-circle-DjsuNmQM.js",
1342
+ "_circle-check-D8HiLXIK.js",
1343
+ "_useInfiniteQuery-DIIy94Ek.js",
1344
+ "_chat-DfK5YWLV.js"
1345
  ]
1346
  },
1347
  "src/pages/NotFound.tsx": {
1348
+ "file": "assets/NotFound-iYKf4_7M.js",
1349
  "name": "NotFound",
1350
  "src": "src/pages/NotFound.tsx",
1351
  "isDynamicEntry": true,
 
1354
  ]
1355
  },
1356
  "src/pages/SubmissionsDashboard.tsx": {
1357
+ "file": "assets/SubmissionsDashboard-C7FZAdrs.js",
1358
  "name": "SubmissionsDashboard",
1359
  "src": "src/pages/SubmissionsDashboard.tsx",
1360
  "isDynamicEntry": true,
1361
  "imports": [
1362
  "index.html",
1363
+ "_cacheSync-UfDqLKth.js",
1364
+ "_useMutation-DxP7YVP3.js",
1365
+ "_useInfiniteQuery-DIIy94Ek.js",
1366
+ "_useQueries-CzOYZfVS.js",
1367
  "_safeExternalHref-CkBrsh84.js",
1368
+ "_submissions-B9V-ntEk.js",
1369
+ "_refresh-cw-Bkh_Ec3f.js",
1370
+ "_loader-circle-DjsuNmQM.js",
1371
+ "_circle-check-D8HiLXIK.js",
1372
+ "_undo-2-xoD_sdsW.js"
1373
  ],
1374
  "css": [
1375
  "assets/SubmissionsDashboard-Dgd_CI1v.css"
1376
  ]
1377
  },
1378
  "src/views/AiDeadlinesView.tsx": {
1379
+ "file": "assets/AiDeadlinesView-5jEuEZv5.js",
1380
  "name": "AiDeadlinesView",
1381
  "src": "src/views/AiDeadlinesView.tsx",
1382
  "isDynamicEntry": true,
1383
  "imports": [
1384
  "index.html",
1385
+ "_switch-COw0Jfww.js",
1386
+ "_skeleton-DsZ-wKhC.js",
1387
+ "_alert-Cf45hSUq.js",
1388
  "_safeExternalHref-CkBrsh84.js",
1389
+ "_dialog-CMqnZdwE.js",
1390
  "_deadlines-BG5SWwEG.js",
1391
+ "_useDocumentTitle-gwKq10Vr.js",
1392
+ "_pageTitles-DPtr8SUn.js",
1393
+ "_index-Byiu5LS8.js"
1394
  ]
1395
  },
1396
  "src/views/ApiDocsView.tsx": {
1397
+ "file": "assets/ApiDocsView-CKP3K1Oj.js",
1398
  "name": "ApiDocsView",
1399
  "src": "src/views/ApiDocsView.tsx",
1400
  "isDynamicEntry": true,
1401
  "imports": [
1402
  "index.html",
1403
+ "_useDocumentTitle-gwKq10Vr.js",
1404
+ "_trophy-BxvfHC6g.js",
1405
+ "_database-F1rgBGr5.js",
1406
+ "_file-text-CxYjO52k.js",
1407
+ "_index-B9qpvwaI.js"
1408
  ],
1409
  "css": [
1410
  "assets/ApiDocsView-D5oxGRv8.css"
1411
  ]
1412
  },
1413
  "src/views/AstraForRoboticsView.tsx": {
1414
+ "file": "assets/AstraForRoboticsView-B1wAc0Ip.js",
1415
  "name": "AstraForRoboticsView",
1416
  "src": "src/views/AstraForRoboticsView.tsx",
1417
  "isDynamicEntry": true,
1418
  "imports": [
1419
  "index.html",
1420
+ "_usePapers-DH6AufOQ.js",
1421
+ "_alert-Cf45hSUq.js",
1422
+ "_useDocumentTitle-gwKq10Vr.js",
1423
+ "_transform-BII-_KDB.js",
1424
+ "_PaperCard-CXKXdRil.js",
1425
+ "_AuthorAvatar-CWdu93Ln.js",
1426
+ "_SotaBadges-Dh4JgSRd.js",
1427
  "_colors-BkWRhvFI.js",
1428
+ "_Icon-BkpouXtc.js",
1429
+ "_LatexTitle-CXLW2LHS.js",
1430
  "_safeExternalHref-CkBrsh84.js",
1431
+ "_popover-DdJ3UXiH.js",
1432
+ "_skeleton-DsZ-wKhC.js",
1433
+ "_useIntersectionObserver-B5f-R6yl.js",
1434
+ "_useInfiniteQuery-DIIy94Ek.js"
1435
  ],
1436
  "css": [
1437
  "assets/AstraForRoboticsView-C_lTF_XB.css"
1438
  ]
1439
  },
1440
  "src/views/AuthorDetailView.tsx": {
1441
+ "file": "assets/AuthorDetailView-CnQtbPY1.js",
1442
  "name": "AuthorDetailView",
1443
  "src": "src/views/AuthorDetailView.tsx",
1444
  "isDynamicEntry": true,
1445
  "imports": [
1446
  "index.html",
1447
+ "_AuthorAvatar-CWdu93Ln.js",
1448
+ "_usePapers-DH6AufOQ.js",
1449
+ "_ResearchFollowButton-D0tv80JF.js",
1450
+ "_alert-Cf45hSUq.js",
1451
+ "_skeleton-DsZ-wKhC.js",
1452
+ "_transform-BII-_KDB.js",
1453
  "src/pages/NotFound.tsx",
1454
+ "_useDocumentTitle-gwKq10Vr.js",
1455
+ "_pageTitles-DPtr8SUn.js",
1456
+ "_PaperCard-CXKXdRil.js",
1457
+ "_SotaBadges-Dh4JgSRd.js",
1458
  "_colors-BkWRhvFI.js",
1459
+ "_Icon-BkpouXtc.js",
1460
+ "_LatexTitle-CXLW2LHS.js",
1461
  "_safeExternalHref-CkBrsh84.js",
1462
+ "_popover-DdJ3UXiH.js",
1463
+ "_useIntersectionObserver-B5f-R6yl.js",
1464
+ "_useInfiniteQuery-DIIy94Ek.js",
1465
+ "_researchTopic-179EqBPz.js",
1466
+ "_useMutation-DxP7YVP3.js",
1467
+ "_FollowerAvatar-DMLlkjGd.js",
1468
+ "_plus-Ig6EFSa0.js"
1469
  ]
1470
  },
1471
  "src/views/AuthorizePaperEditView.tsx": {
1472
+ "file": "assets/AuthorizePaperEditView-ySTmBCjO.js",
1473
  "name": "AuthorizePaperEditView",
1474
  "src": "src/views/AuthorizePaperEditView.tsx",
1475
  "isDynamicEntry": true,
1476
  "imports": [
1477
  "index.html",
1478
+ "_useMutation-DxP7YVP3.js",
1479
+ "_button-TpPKOW28.js"
1480
  ]
1481
  },
1482
  "src/views/BenchmarkDetailView.tsx": {
1483
+ "file": "assets/BenchmarkDetailView-Z8xgNNAy.js",
1484
  "name": "BenchmarkDetailView",
1485
  "src": "src/views/BenchmarkDetailView.tsx",
1486
  "isDynamicEntry": true,
1487
  "imports": [
1488
  "index.html",
1489
+ "_ResearchFollowButton-D0tv80JF.js",
1490
+ "_preferences-CGQ5m7Cb.js",
1491
+ "_LatexTitle-CXLW2LHS.js",
1492
+ "_ExternalSourceEvalBadge-DAJYrz2F.js",
1493
+ "_switch-COw0Jfww.js",
1494
+ "_Icon-BkpouXtc.js",
1495
+ "_skeleton-DsZ-wKhC.js",
1496
+ "_BenchmarkTrendSparkline-D4HWxaaf.js",
1497
  "_safeExternalHref-CkBrsh84.js",
1498
  "_slug-BpH-Nkvz.js",
1499
  "src/pages/NotFound.tsx",
1500
+ "_LoadFailurePage-BfvJBtL8.js",
1501
+ "_useDocumentTitle-gwKq10Vr.js",
1502
+ "_pageTitles-DPtr8SUn.js",
1503
+ "_researchTopic-179EqBPz.js",
1504
+ "_useMutation-DxP7YVP3.js",
1505
+ "_FollowerAvatar-DMLlkjGd.js",
1506
+ "_plus-Ig6EFSa0.js",
1507
+ "_hover-card-B_kWNxjX.js",
1508
+ "_index-Byiu5LS8.js",
1509
+ "_alert-Cf45hSUq.js"
1510
  ],
1511
  "css": [
1512
  "assets/BenchmarkDetailView-CXxK75GR.css"
1513
  ]
1514
  },
1515
  "src/views/ChatView.tsx": {
1516
+ "file": "assets/ChatView-aZQAm7h5.js",
1517
  "name": "ChatView",
1518
  "src": "src/views/ChatView.tsx",
1519
  "isDynamicEntry": true,
1520
  "imports": [
1521
  "index.html",
1522
+ "_chatLifecycle-CiTSoKmw.js",
1523
+ "_index-CNk4C1On.js",
1524
+ "_chat-DfK5YWLV.js",
1525
+ "_McpShowcase-BgXu7zJj.js",
1526
+ "_share-2-Br52qy6p.js",
1527
+ "_useMutation-DxP7YVP3.js",
1528
+ "_Icon-BkpouXtc.js",
1529
+ "_mlIntern-vveJiaYH.js",
1530
+ "_openrouter-azYqNFGa.js",
1531
+ "_hover-card-B_kWNxjX.js",
1532
+ "_CatalogEntityPreviewLink-DZIsK1sR.js",
1533
+ "_github-B5cOzUdz.js",
1534
+ "_file-text-CxYjO52k.js",
1535
+ "_PaperPreviewLink-4dmR6yPp.js",
1536
+ "_index-B9qpvwaI.js",
1537
+ "_index-16KodlFR.js",
1538
+ "_index-DtKbyjDr.js",
1539
  "node_modules/katex/dist/katex.mjs",
1540
+ "_thumbs-up-DoDJmuQ5.js",
1541
+ "_copy-DmgKnhAK.js",
1542
+ "_arrow-left-Cg1Xngtx.js",
1543
+ "_external-link-CWjWR91l.js",
1544
+ "_plus-Ig6EFSa0.js",
1545
+ "_search-BHf0tBuT.js",
1546
+ "_chevron-up-DFruybA3.js",
1547
+ "_AuthorAvatar-CWdu93Ln.js",
1548
+ "_trash-2-D6KnBn09.js",
1549
+ "_AgentLogos-x9Ckr4O1.js"
1550
  ],
1551
  "css": [
1552
  "assets/katex-wklAmtGL.css"
 
1614
  ]
1615
  },
1616
  "src/views/ConferenceDetailView.tsx": {
1617
+ "file": "assets/ConferenceDetailView-C2HX8OH1.js",
1618
  "name": "ConferenceDetailView",
1619
  "src": "src/views/ConferenceDetailView.tsx",
1620
  "isDynamicEntry": true,
1621
  "imports": [
1622
  "index.html",
1623
+ "_AreaSection-DEBdDI6z.js",
1624
+ "_MarkdownText-BkbUXFCs.js",
1625
  "_areas-Dvi8w2dp.js",
1626
  "_colors-BkWRhvFI.js",
1627
  "_conferenceListings-BnmhBx-_.js",
1628
  "_deadlines-BG5SWwEG.js",
1629
+ "_transform-BII-_KDB.js",
1630
+ "_skeleton-DsZ-wKhC.js",
1631
  "_safeExternalHref-CkBrsh84.js",
1632
+ "_LoadFailurePage-BfvJBtL8.js",
1633
+ "_useDocumentTitle-gwKq10Vr.js",
1634
+ "_pageTitles-DPtr8SUn.js",
1635
+ "_PaperPreviewLink-4dmR6yPp.js",
1636
+ "_index-B9qpvwaI.js",
1637
+ "_index-16KodlFR.js",
1638
+ "_hover-card-B_kWNxjX.js",
1639
+ "_useMutation-DxP7YVP3.js",
1640
+ "_alert-Cf45hSUq.js",
1641
  "src/pages/NotFound.tsx"
1642
  ]
1643
  },
1644
  "src/views/ConferenceTaskView.tsx": {
1645
+ "file": "assets/ConferenceTaskView-D-_TVy6J.js",
1646
  "name": "ConferenceTaskView",
1647
  "src": "src/views/ConferenceTaskView.tsx",
1648
  "isDynamicEntry": true,
1649
  "imports": [
1650
  "index.html",
1651
+ "_usePapers-DH6AufOQ.js",
1652
+ "_MarkdownText-BkbUXFCs.js",
1653
  "_conferenceListings-BnmhBx-_.js",
1654
+ "_transform-BII-_KDB.js",
1655
+ "_LoadFailurePage-BfvJBtL8.js",
1656
+ "_PaperCard-CXKXdRil.js",
1657
+ "_AuthorAvatar-CWdu93Ln.js",
1658
+ "_SotaBadges-Dh4JgSRd.js",
1659
  "_colors-BkWRhvFI.js",
1660
+ "_Icon-BkpouXtc.js",
1661
+ "_LatexTitle-CXLW2LHS.js",
1662
  "_safeExternalHref-CkBrsh84.js",
1663
+ "_popover-DdJ3UXiH.js",
1664
+ "_skeleton-DsZ-wKhC.js",
1665
+ "_useIntersectionObserver-B5f-R6yl.js",
1666
+ "_useInfiniteQuery-DIIy94Ek.js",
1667
+ "_PaperPreviewLink-4dmR6yPp.js",
1668
+ "_index-B9qpvwaI.js",
1669
+ "_index-16KodlFR.js",
1670
+ "_hover-card-B_kWNxjX.js",
1671
+ "_useMutation-DxP7YVP3.js",
1672
+ "_alert-Cf45hSUq.js",
1673
  "src/pages/NotFound.tsx"
1674
  ]
1675
  },
1676
  "src/views/ConferencesIndexView.tsx": {
1677
+ "file": "assets/ConferencesIndexView-BH-80inW.js",
1678
  "name": "ConferencesIndexView",
1679
  "src": "src/views/ConferencesIndexView.tsx",
1680
  "isDynamicEntry": true,
1681
  "imports": [
1682
  "index.html",
1683
  "_deadlines-BG5SWwEG.js",
1684
+ "_alert-Cf45hSUq.js",
1685
+ "_AreaSection-DEBdDI6z.js",
1686
+ "_TaxonomySuggestionTile-DxM7CBR8.js",
1687
+ "_useDocumentTitle-gwKq10Vr.js",
1688
+ "_pageTitles-DPtr8SUn.js",
1689
+ "_skeleton-DsZ-wKhC.js",
1690
+ "_SignInToEditDialog-B23Lp1q5.js",
1691
+ "_button-TpPKOW28.js",
1692
+ "_input-BtVcQEqI.js",
1693
+ "_textarea-Ch1ibCfx.js",
1694
+ "_searchable-select-VhKQioJk.js",
1695
+ "_popover-DdJ3UXiH.js",
1696
+ "_dialog-CMqnZdwE.js",
1697
+ "_search-BHf0tBuT.js",
1698
+ "_loader-circle-DjsuNmQM.js",
1699
+ "_useMutation-DxP7YVP3.js",
1700
+ "_submissions-B9V-ntEk.js",
1701
+ "_cacheSync-UfDqLKth.js",
1702
+ "_plus-Ig6EFSa0.js"
1703
  ]
1704
  },
1705
  "src/views/FeedView.tsx": {
1706
+ "file": "assets/FeedView-CAdo9nK0.js",
1707
  "name": "FeedView",
1708
  "src": "src/views/FeedView.tsx",
1709
  "isDynamicEntry": true,
1710
  "imports": [
1711
  "index.html",
1712
+ "_taskIcons-D66TYP2o.js",
1713
+ "_researchTopic-179EqBPz.js",
1714
+ "_plus-Ig6EFSa0.js",
1715
+ "_transform-BII-_KDB.js",
1716
+ "_arrow-right-DlVJkuq8.js",
1717
+ "_index-CNk4C1On.js",
1718
+ "_dialog-CMqnZdwE.js",
1719
+ "_switch-COw0Jfww.js",
1720
+ "_tabs-Besxg1IE.js",
1721
+ "_useDebounce-D5i4faqC.js",
1722
+ "_trash-2-D6KnBn09.js",
1723
+ "_undo-2-xoD_sdsW.js",
1724
+ "_arrow-up-right-B6bV_Cct.js",
1725
  "_colors-BkWRhvFI.js",
1726
+ "_usePapers-DH6AufOQ.js",
1727
+ "_McpShowcase-BgXu7zJj.js",
1728
+ "_chat-DfK5YWLV.js",
1729
+ "_skeleton-DsZ-wKhC.js",
1730
+ "_alert-Cf45hSUq.js",
1731
+ "_useDocumentTitle-gwKq10Vr.js",
1732
+ "_pageTitles-DPtr8SUn.js",
1733
+ "_search-BHf0tBuT.js",
1734
+ "_triangle-alert-DY9cghmN.js",
1735
+ "_share-2-Br52qy6p.js",
1736
+ "_trending-up-claX8Qq-.js",
1737
+ "_moon-CuN-BY7W.js",
1738
+ "_thumbs-up-DoDJmuQ5.js",
1739
+ "_database-F1rgBGr5.js",
1740
+ "_link-2-Df1wXqvh.js",
1741
+ "_trophy-BxvfHC6g.js",
1742
+ "_file-text-CxYjO52k.js",
1743
+ "_activity-C34k684K.js",
1744
+ "_globe-DuvIPdbU.js",
1745
+ "_useMutation-DxP7YVP3.js",
1746
+ "_index-Byiu5LS8.js",
1747
+ "_PaperCard-CXKXdRil.js",
1748
+ "_AuthorAvatar-CWdu93Ln.js",
1749
+ "_SotaBadges-Dh4JgSRd.js",
1750
+ "_Icon-BkpouXtc.js",
1751
+ "_LatexTitle-CXLW2LHS.js",
1752
  "_safeExternalHref-CkBrsh84.js",
1753
+ "_popover-DdJ3UXiH.js",
1754
+ "_useIntersectionObserver-B5f-R6yl.js",
1755
+ "_useInfiniteQuery-DIIy94Ek.js",
1756
+ "_AgentLogos-x9Ckr4O1.js"
1757
  ]
1758
  },
1759
  "src/views/FollowingView.tsx": {
1760
+ "file": "assets/FollowingView-T5Bkmr1s.js",
1761
  "name": "FollowingView",
1762
  "src": "src/views/FollowingView.tsx",
1763
  "isDynamicEntry": true,
1764
  "imports": [
1765
  "index.html",
1766
  "src/views/FeedView.tsx",
1767
+ "_taskIcons-D66TYP2o.js",
1768
+ "_search-BHf0tBuT.js",
1769
+ "_triangle-alert-DY9cghmN.js",
1770
+ "_share-2-Br52qy6p.js",
1771
+ "_trending-up-claX8Qq-.js",
1772
+ "_moon-CuN-BY7W.js",
1773
+ "_thumbs-up-DoDJmuQ5.js",
1774
+ "_database-F1rgBGr5.js",
1775
+ "_link-2-Df1wXqvh.js",
1776
+ "_trophy-BxvfHC6g.js",
1777
+ "_file-text-CxYjO52k.js",
1778
+ "_activity-C34k684K.js",
1779
+ "_globe-DuvIPdbU.js",
1780
+ "_researchTopic-179EqBPz.js",
1781
+ "_useMutation-DxP7YVP3.js",
1782
+ "_plus-Ig6EFSa0.js",
1783
+ "_transform-BII-_KDB.js",
1784
+ "_arrow-right-DlVJkuq8.js",
1785
+ "_index-CNk4C1On.js",
1786
+ "_chat-DfK5YWLV.js",
1787
+ "_dialog-CMqnZdwE.js",
1788
+ "_switch-COw0Jfww.js",
1789
+ "_index-Byiu5LS8.js",
1790
+ "_tabs-Besxg1IE.js",
1791
+ "_useDebounce-D5i4faqC.js",
1792
+ "_trash-2-D6KnBn09.js",
1793
+ "_undo-2-xoD_sdsW.js",
1794
+ "_arrow-up-right-B6bV_Cct.js",
1795
  "_colors-BkWRhvFI.js",
1796
+ "_usePapers-DH6AufOQ.js",
1797
+ "_PaperCard-CXKXdRil.js",
1798
+ "_AuthorAvatar-CWdu93Ln.js",
1799
+ "_SotaBadges-Dh4JgSRd.js",
1800
+ "_Icon-BkpouXtc.js",
1801
+ "_LatexTitle-CXLW2LHS.js",
1802
  "_safeExternalHref-CkBrsh84.js",
1803
+ "_popover-DdJ3UXiH.js",
1804
+ "_skeleton-DsZ-wKhC.js",
1805
+ "_useIntersectionObserver-B5f-R6yl.js",
1806
+ "_useInfiniteQuery-DIIy94Ek.js",
1807
+ "_McpShowcase-BgXu7zJj.js",
1808
+ "_AgentLogos-x9Ckr4O1.js",
1809
+ "_alert-Cf45hSUq.js",
1810
+ "_useDocumentTitle-gwKq10Vr.js",
1811
+ "_pageTitles-DPtr8SUn.js"
1812
  ]
1813
  },
1814
  "src/views/FrameworksIndexView.tsx": {
1815
+ "file": "assets/FrameworksIndexView-B9hUU1Jj.js",
1816
  "name": "FrameworksIndexView",
1817
  "src": "src/views/FrameworksIndexView.tsx",
1818
  "isDynamicEntry": true,
1819
  "imports": [
1820
  "index.html",
1821
+ "_Icon-BkpouXtc.js",
1822
  "_colors-BkWRhvFI.js",
1823
  "_frameworks-DDA0P4Tf.js",
1824
+ "_useDocumentTitle-gwKq10Vr.js",
1825
+ "_pageTitles-DPtr8SUn.js"
1826
  ]
1827
  },
1828
  "src/views/McpView.tsx": {
1829
+ "file": "assets/McpView-ZimdUhSJ.js",
1830
  "name": "McpView",
1831
  "src": "src/views/McpView.tsx",
1832
  "isDynamicEntry": true,
1833
  "imports": [
1834
  "index.html",
1835
+ "_useDocumentTitle-gwKq10Vr.js",
1836
+ "_github-B5cOzUdz.js",
1837
+ "_arrow-up-right-B6bV_Cct.js",
1838
+ "_external-link-CWjWR91l.js",
1839
+ "_copy-DmgKnhAK.js"
1840
  ],
1841
  "css": [
1842
  "assets/McpView-EGeqkP46.css"
1843
  ]
1844
  },
1845
  "src/views/MethodDetailView.tsx": {
1846
+ "file": "assets/MethodDetailView-riKYYg3k.js",
1847
  "name": "MethodDetailView",
1848
  "src": "src/views/MethodDetailView.tsx",
1849
  "isDynamicEntry": true,
1850
  "imports": [
1851
  "index.html",
1852
+ "_ResearchFollowButton-D0tv80JF.js",
1853
+ "_SotaBadges-Dh4JgSRd.js",
1854
+ "_usePapers-DH6AufOQ.js",
1855
+ "_MarkdownText-BkbUXFCs.js",
1856
  "_slug-BpH-Nkvz.js",
1857
+ "_transform-BII-_KDB.js",
1858
+ "_skeleton-DsZ-wKhC.js",
1859
  "_safeExternalHref-CkBrsh84.js",
1860
  "src/pages/NotFound.tsx",
1861
+ "_LoadFailurePage-BfvJBtL8.js",
1862
+ "_useDocumentTitle-gwKq10Vr.js",
1863
+ "_pageTitles-DPtr8SUn.js",
1864
+ "_researchTopic-179EqBPz.js",
1865
+ "_useMutation-DxP7YVP3.js",
1866
+ "_FollowerAvatar-DMLlkjGd.js",
1867
+ "_plus-Ig6EFSa0.js",
1868
  "_colors-BkWRhvFI.js",
1869
+ "_PaperCard-CXKXdRil.js",
1870
+ "_AuthorAvatar-CWdu93Ln.js",
1871
+ "_Icon-BkpouXtc.js",
1872
+ "_LatexTitle-CXLW2LHS.js",
1873
+ "_popover-DdJ3UXiH.js",
1874
+ "_useIntersectionObserver-B5f-R6yl.js",
1875
+ "_useInfiniteQuery-DIIy94Ek.js",
1876
+ "_PaperPreviewLink-4dmR6yPp.js",
1877
+ "_index-B9qpvwaI.js",
1878
+ "_index-16KodlFR.js",
1879
+ "_hover-card-B_kWNxjX.js",
1880
+ "_alert-Cf45hSUq.js"
1881
  ]
1882
  },
1883
  "src/views/MethodsIndexView.tsx": {
1884
+ "file": "assets/MethodsIndexView-ul_p2OBG.js",
1885
  "name": "MethodsIndexView",
1886
  "src": "src/views/MethodsIndexView.tsx",
1887
  "isDynamicEntry": true,
 
1889
  "index.html",
1890
  "_areas-Dvi8w2dp.js",
1891
  "_slug-BpH-Nkvz.js",
1892
+ "_alert-Cf45hSUq.js",
1893
+ "_AreaSection-DEBdDI6z.js",
1894
+ "_TaxonomySuggestionTile-DxM7CBR8.js",
1895
+ "_useHashScrollOnReady-C6j5Ohfb.js",
1896
+ "_useDocumentTitle-gwKq10Vr.js",
1897
+ "_pageTitles-DPtr8SUn.js",
1898
+ "_skeleton-DsZ-wKhC.js",
1899
+ "_SignInToEditDialog-B23Lp1q5.js",
1900
+ "_button-TpPKOW28.js",
1901
+ "_input-BtVcQEqI.js",
1902
+ "_textarea-Ch1ibCfx.js",
1903
+ "_searchable-select-VhKQioJk.js",
1904
+ "_popover-DdJ3UXiH.js",
1905
+ "_dialog-CMqnZdwE.js",
1906
+ "_search-BHf0tBuT.js",
1907
+ "_loader-circle-DjsuNmQM.js",
1908
+ "_useMutation-DxP7YVP3.js",
1909
+ "_submissions-B9V-ntEk.js",
1910
+ "_cacheSync-UfDqLKth.js",
1911
+ "_plus-Ig6EFSa0.js",
1912
+ "_trending-up-claX8Qq-.js"
1913
  ]
1914
  },
1915
  "src/views/OrganizationDetailView.tsx": {
1916
+ "file": "assets/OrganizationDetailView-BRN5Nr38.js",
1917
  "name": "OrganizationDetailView",
1918
  "src": "src/views/OrganizationDetailView.tsx",
1919
  "isDynamicEntry": true,
1920
  "imports": [
1921
  "index.html",
1922
+ "_ResearchFollowButton-D0tv80JF.js",
1923
+ "_MarkdownText-BkbUXFCs.js",
1924
+ "_OrganizationContributionGraph-Bu2X49MY.js",
1925
+ "_usePapers-DH6AufOQ.js",
1926
+ "_searchable-select-VhKQioJk.js",
1927
+ "_skeleton-DsZ-wKhC.js",
1928
+ "_transform-BII-_KDB.js",
1929
  "_organizationNames-BVKzYEBp.js",
1930
  "src/pages/NotFound.tsx",
1931
+ "_LoadFailurePage-BfvJBtL8.js",
1932
+ "_useDocumentTitle-gwKq10Vr.js",
1933
+ "_pageTitles-DPtr8SUn.js",
1934
+ "_researchTopic-179EqBPz.js",
1935
+ "_useMutation-DxP7YVP3.js",
1936
+ "_FollowerAvatar-DMLlkjGd.js",
1937
+ "_plus-Ig6EFSa0.js",
1938
+ "_PaperPreviewLink-4dmR6yPp.js",
1939
+ "_index-B9qpvwaI.js",
1940
+ "_index-16KodlFR.js",
1941
+ "_hover-card-B_kWNxjX.js",
1942
+ "_PaperCard-CXKXdRil.js",
1943
+ "_AuthorAvatar-CWdu93Ln.js",
1944
+ "_SotaBadges-Dh4JgSRd.js",
1945
  "_colors-BkWRhvFI.js",
1946
+ "_Icon-BkpouXtc.js",
1947
+ "_LatexTitle-CXLW2LHS.js",
1948
  "_safeExternalHref-CkBrsh84.js",
1949
+ "_popover-DdJ3UXiH.js",
1950
+ "_useIntersectionObserver-B5f-R6yl.js",
1951
+ "_useInfiniteQuery-DIIy94Ek.js",
1952
+ "_button-TpPKOW28.js",
1953
+ "_dialog-CMqnZdwE.js",
1954
+ "_search-BHf0tBuT.js",
1955
+ "_loader-circle-DjsuNmQM.js",
1956
+ "_alert-Cf45hSUq.js"
1957
  ]
1958
  },
1959
  "src/views/OrganizationsIndexView.tsx": {
1960
+ "file": "assets/OrganizationsIndexView-BMEoB4mf.js",
1961
  "name": "OrganizationsIndexView",
1962
  "src": "src/views/OrganizationsIndexView.tsx",
1963
  "isDynamicEntry": true,
1964
  "imports": [
1965
  "index.html",
1966
+ "_alert-Cf45hSUq.js",
1967
+ "_useDocumentTitle-gwKq10Vr.js",
1968
+ "_pageTitles-DPtr8SUn.js"
1969
  ],
1970
  "css": [
1971
  "assets/OrganizationsIndexView-CJnrfIkP.css"
1972
  ]
1973
  },
1974
  "src/views/PaperDetailView.tsx": {
1975
+ "file": "assets/PaperDetailView-CNoo7fnX.js",
1976
  "name": "PaperDetailView",
1977
  "src": "src/views/PaperDetailView.tsx",
1978
  "isDynamicEntry": true,
1979
  "imports": [
1980
  "index.html",
1981
+ "_useMutation-DxP7YVP3.js",
1982
+ "_Icon-BkpouXtc.js",
1983
+ "_SotaBadges-Dh4JgSRd.js",
1984
+ "_LatexTitle-CXLW2LHS.js",
1985
+ "_preferences-CGQ5m7Cb.js",
1986
+ "_transform-BII-_KDB.js",
1987
  "_paperReader-D1y30HyW.js",
1988
+ "_useDocumentTitle-gwKq10Vr.js",
1989
  "_safeExternalHref-CkBrsh84.js",
1990
+ "_mlIntern-vveJiaYH.js",
1991
+ "_skeleton-DsZ-wKhC.js",
1992
+ "_alert-Cf45hSUq.js",
1993
+ "_button-TpPKOW28.js",
1994
+ "_dialog-CMqnZdwE.js",
1995
+ "_AgentLogos-x9Ckr4O1.js",
1996
+ "_copy-DmgKnhAK.js",
1997
+ "_input-BtVcQEqI.js",
1998
+ "_cacheSync-UfDqLKth.js",
1999
+ "_loader-circle-DjsuNmQM.js",
2000
+ "_searchable-select-VhKQioJk.js",
2001
+ "_trash-2-D6KnBn09.js",
2002
+ "_SignInToEditDialog-B23Lp1q5.js",
2003
+ "_useQueries-CzOYZfVS.js",
2004
+ "_submissions-B9V-ntEk.js",
2005
+ "_database-F1rgBGr5.js",
2006
+ "_plus-Ig6EFSa0.js",
2007
+ "_search-BHf0tBuT.js",
2008
+ "_badge-CEsisGsF.js",
2009
+ "_CatalogEntityPreviewLink-DZIsK1sR.js",
2010
+ "_globe-DuvIPdbU.js",
2011
+ "_github-B5cOzUdz.js",
2012
+ "_index-Byiu5LS8.js",
2013
+ "_ExternalSourceEvalBadge-DAJYrz2F.js",
2014
+ "_index-B9qpvwaI.js",
2015
+ "_index-16KodlFR.js",
2016
+ "_useIntersectionObserver-B5f-R6yl.js",
2017
+ "_savedPapersAuth-DsvbQ2zl.js",
2018
  "_organizationNames-BVKzYEBp.js",
2019
+ "_AuthorAvatar-CWdu93Ln.js",
2020
  "_colors-BkWRhvFI.js",
2021
+ "_popover-DdJ3UXiH.js",
2022
+ "_textarea-Ch1ibCfx.js",
2023
+ "_hover-card-B_kWNxjX.js"
2024
  ],
2025
  "css": [
2026
  "assets/PaperDetailView-a7nBVgNU.css"
2027
  ]
2028
  },
2029
  "src/views/PaperReaderView.tsx": {
2030
+ "file": "assets/PaperReaderView-B0Ve0npc.js",
2031
  "name": "PaperReaderView",
2032
  "src": "src/views/PaperReaderView.tsx",
2033
  "isDynamicEntry": true,
2034
  "imports": [
2035
  "index.html",
2036
+ "_chatLifecycle-CiTSoKmw.js",
2037
+ "_MarkdownText-BkbUXFCs.js",
2038
  "_paperReader-D1y30HyW.js",
2039
+ "_chat-DfK5YWLV.js",
2040
  "_safeExternalHref-CkBrsh84.js",
2041
  "src/views/ChatView.tsx",
2042
+ "_index-CNk4C1On.js",
2043
+ "_hover-card-B_kWNxjX.js",
2044
+ "_CatalogEntityPreviewLink-DZIsK1sR.js",
2045
+ "_github-B5cOzUdz.js",
2046
+ "_file-text-CxYjO52k.js",
2047
+ "_PaperPreviewLink-4dmR6yPp.js",
2048
+ "_index-B9qpvwaI.js",
2049
+ "_index-16KodlFR.js",
2050
+ "_useMutation-DxP7YVP3.js",
2051
+ "_index-DtKbyjDr.js",
2052
  "node_modules/katex/dist/katex.mjs",
2053
+ "_thumbs-up-DoDJmuQ5.js",
2054
+ "_copy-DmgKnhAK.js",
2055
+ "_arrow-left-Cg1Xngtx.js",
2056
+ "_external-link-CWjWR91l.js",
2057
+ "_plus-Ig6EFSa0.js",
2058
+ "_search-BHf0tBuT.js",
2059
+ "_chevron-up-DFruybA3.js",
2060
+ "_AuthorAvatar-CWdu93Ln.js",
2061
+ "_trash-2-D6KnBn09.js",
2062
+ "_McpShowcase-BgXu7zJj.js",
2063
+ "_AgentLogos-x9Ckr4O1.js",
2064
+ "_share-2-Br52qy6p.js",
2065
+ "_Icon-BkpouXtc.js",
2066
+ "_mlIntern-vveJiaYH.js",
2067
+ "_openrouter-azYqNFGa.js"
2068
  ],
2069
  "css": [
2070
  "assets/katex-wklAmtGL.css"
 
2132
  ]
2133
  },
2134
  "src/views/PapersListView.tsx": {
2135
+ "file": "assets/PapersListView-D8cdOaea.js",
2136
  "name": "PapersListView",
2137
  "src": "src/views/PapersListView.tsx",
2138
  "isDynamicEntry": true,
2139
  "imports": [
2140
  "index.html",
2141
+ "_SotaBadges-Dh4JgSRd.js",
2142
+ "_Icon-BkpouXtc.js",
2143
+ "_usePapers-DH6AufOQ.js",
2144
+ "_transform-BII-_KDB.js",
2145
+ "_useDebounce-D5i4faqC.js",
2146
+ "_skeleton-DsZ-wKhC.js",
2147
+ "_alert-Cf45hSUq.js",
2148
  "_frameworks-DDA0P4Tf.js",
2149
+ "_useDocumentTitle-gwKq10Vr.js",
2150
+ "_pageTitles-DPtr8SUn.js",
2151
  "_colors-BkWRhvFI.js",
2152
+ "_PaperCard-CXKXdRil.js",
2153
+ "_AuthorAvatar-CWdu93Ln.js",
2154
+ "_LatexTitle-CXLW2LHS.js",
2155
  "_safeExternalHref-CkBrsh84.js",
2156
+ "_popover-DdJ3UXiH.js",
2157
+ "_useIntersectionObserver-B5f-R6yl.js",
2158
+ "_useInfiniteQuery-DIIy94Ek.js"
2159
  ]
2160
  },
2161
  "src/views/PrivacyView.tsx": {
2162
+ "file": "assets/PrivacyView-BpGtNuCK.js",
2163
  "name": "PrivacyView",
2164
  "src": "src/views/PrivacyView.tsx",
2165
  "isDynamicEntry": true,
2166
  "imports": [
2167
  "index.html",
2168
+ "_useDocumentTitle-gwKq10Vr.js"
2169
  ]
2170
  },
2171
  "src/views/RateLimitsView.tsx": {
2172
+ "file": "assets/RateLimitsView-BkWrFwly.js",
2173
  "name": "RateLimitsView",
2174
  "src": "src/views/RateLimitsView.tsx",
2175
  "isDynamicEntry": true,
 
2178
  ]
2179
  },
2180
  "src/views/SavedPapersView.tsx": {
2181
+ "file": "assets/SavedPapersView-CiKXIMdJ.js",
2182
  "name": "SavedPapersView",
2183
  "src": "src/views/SavedPapersView.tsx",
2184
  "isDynamicEntry": true,
2185
  "imports": [
2186
  "index.html",
2187
+ "_PaperCard-CXKXdRil.js",
2188
+ "_SotaBadges-Dh4JgSRd.js",
2189
+ "_skeleton-DsZ-wKhC.js",
2190
+ "_alert-Cf45hSUq.js",
2191
+ "_transform-BII-_KDB.js",
2192
+ "_savedPapersAuth-DsvbQ2zl.js",
2193
+ "_AuthorAvatar-CWdu93Ln.js",
2194
+ "_Icon-BkpouXtc.js",
2195
+ "_LatexTitle-CXLW2LHS.js",
2196
  "_safeExternalHref-CkBrsh84.js",
2197
  "_colors-BkWRhvFI.js"
2198
  ]
2199
  },
2200
  "src/views/SettingsView.tsx": {
2201
+ "file": "assets/SettingsView-DSW2AAw-.js",
2202
  "name": "SettingsView",
2203
  "src": "src/views/SettingsView.tsx",
2204
  "isDynamicEntry": true,
2205
  "imports": [
2206
  "index.html",
2207
+ "_useMutation-DxP7YVP3.js",
2208
+ "_researchTopic-179EqBPz.js",
2209
+ "_switch-COw0Jfww.js",
2210
+ "_arrow-right-DlVJkuq8.js",
2211
+ "_chat-DfK5YWLV.js",
2212
+ "_useDocumentTitle-gwKq10Vr.js",
2213
+ "_openrouter-azYqNFGa.js",
2214
+ "_preferences-CGQ5m7Cb.js",
2215
+ "_external-link-CWjWR91l.js",
2216
+ "_moon-CuN-BY7W.js",
2217
+ "_index-Byiu5LS8.js"
2218
  ]
2219
  },
2220
  "src/views/SharedChatView.tsx": {
2221
+ "file": "assets/SharedChatView-ICsPDQyc.js",
2222
  "name": "SharedChatView",
2223
  "src": "src/views/SharedChatView.tsx",
2224
  "isDynamicEntry": true,
2225
  "imports": [
2226
  "index.html",
2227
+ "_chatLifecycle-CiTSoKmw.js",
2228
+ "_index-CNk4C1On.js",
2229
+ "_chat-DfK5YWLV.js",
2230
+ "_hover-card-B_kWNxjX.js",
2231
+ "_CatalogEntityPreviewLink-DZIsK1sR.js",
2232
+ "_github-B5cOzUdz.js",
2233
+ "_file-text-CxYjO52k.js",
2234
+ "_PaperPreviewLink-4dmR6yPp.js",
2235
+ "_index-B9qpvwaI.js",
2236
+ "_index-16KodlFR.js",
2237
+ "_useMutation-DxP7YVP3.js",
2238
+ "_index-DtKbyjDr.js",
2239
  "node_modules/katex/dist/katex.mjs",
2240
+ "_thumbs-up-DoDJmuQ5.js",
2241
+ "_copy-DmgKnhAK.js",
2242
+ "_arrow-left-Cg1Xngtx.js",
2243
+ "_external-link-CWjWR91l.js",
2244
+ "_plus-Ig6EFSa0.js",
2245
+ "_search-BHf0tBuT.js",
2246
+ "_chevron-up-DFruybA3.js",
2247
+ "_AuthorAvatar-CWdu93Ln.js",
2248
+ "_trash-2-D6KnBn09.js"
2249
  ],
2250
  "css": [
2251
  "assets/katex-wklAmtGL.css"
 
2313
  ]
2314
  },
2315
  "src/views/StagingAccessRequestView.tsx": {
2316
+ "file": "assets/StagingAccessRequestView-BRU2k_dV.js",
2317
  "name": "StagingAccessRequestView",
2318
  "src": "src/views/StagingAccessRequestView.tsx",
2319
  "isDynamicEntry": true,
2320
  "imports": [
2321
  "index.html",
2322
+ "_circle-check-D8HiLXIK.js"
2323
  ]
2324
  },
2325
  "src/views/SubmitView.tsx": {
2326
+ "file": "assets/SubmitView-nLsHv7Hh.js",
2327
  "name": "SubmitView",
2328
  "src": "src/views/SubmitView.tsx",
2329
  "isDynamicEntry": true,
2330
  "imports": [
2331
  "index.html",
2332
+ "_useMutation-DxP7YVP3.js",
2333
+ "_alert-Cf45hSUq.js",
2334
+ "_button-TpPKOW28.js",
2335
+ "_input-BtVcQEqI.js",
2336
+ "_textarea-Ch1ibCfx.js",
2337
+ "_cacheSync-UfDqLKth.js"
2338
  ]
2339
  },
2340
  "src/views/TagBrowseView.tsx": {
2341
+ "file": "assets/TagBrowseView-pjOGTq-k.js",
2342
  "name": "TagBrowseView",
2343
  "src": "src/views/TagBrowseView.tsx",
2344
  "isDynamicEntry": true,
2345
  "imports": [
2346
  "index.html",
2347
+ "_ResearchFollowButton-D0tv80JF.js",
2348
+ "_SotaBadges-Dh4JgSRd.js",
2349
+ "_usePapers-DH6AufOQ.js",
2350
+ "_arrow-right-DlVJkuq8.js",
2351
+ "_BenchmarkTrendSparkline-D4HWxaaf.js",
2352
+ "_MarkdownText-BkbUXFCs.js",
2353
  "_frameworks-DDA0P4Tf.js",
2354
+ "_preferences-CGQ5m7Cb.js",
2355
  "_slug-BpH-Nkvz.js",
2356
+ "_transform-BII-_KDB.js",
2357
+ "_skeleton-DsZ-wKhC.js",
2358
  "src/pages/NotFound.tsx",
2359
+ "_LoadFailurePage-BfvJBtL8.js",
2360
+ "_useDocumentTitle-gwKq10Vr.js",
2361
+ "_pageTitles-DPtr8SUn.js",
2362
+ "_trophy-BxvfHC6g.js",
2363
+ "_github-B5cOzUdz.js",
2364
+ "_researchTopic-179EqBPz.js",
2365
+ "_useMutation-DxP7YVP3.js",
2366
+ "_FollowerAvatar-DMLlkjGd.js",
2367
+ "_plus-Ig6EFSa0.js",
2368
  "_colors-BkWRhvFI.js",
2369
+ "_PaperCard-CXKXdRil.js",
2370
+ "_AuthorAvatar-CWdu93Ln.js",
2371
+ "_Icon-BkpouXtc.js",
2372
+ "_LatexTitle-CXLW2LHS.js",
2373
  "_safeExternalHref-CkBrsh84.js",
2374
+ "_popover-DdJ3UXiH.js",
2375
+ "_useIntersectionObserver-B5f-R6yl.js",
2376
+ "_useInfiniteQuery-DIIy94Ek.js",
2377
+ "_PaperPreviewLink-4dmR6yPp.js",
2378
+ "_index-B9qpvwaI.js",
2379
+ "_index-16KodlFR.js",
2380
+ "_hover-card-B_kWNxjX.js",
2381
+ "_alert-Cf45hSUq.js"
2382
  ]
2383
  },
2384
  "src/views/TagsIndexView.tsx": {
2385
+ "file": "assets/TagsIndexView-DwMRQ4tv.js",
2386
  "name": "TagsIndexView",
2387
  "src": "src/views/TagsIndexView.tsx",
2388
  "isDynamicEntry": true,
2389
  "imports": [
2390
  "index.html",
2391
  "_colors-BkWRhvFI.js",
2392
+ "_transform-BII-_KDB.js",
2393
  "_slug-BpH-Nkvz.js",
2394
+ "_taskIcons-D66TYP2o.js",
2395
+ "_alert-Cf45hSUq.js",
2396
+ "_AreaSection-DEBdDI6z.js",
2397
+ "_TaxonomySuggestionTile-DxM7CBR8.js",
2398
+ "_useHashScrollOnReady-C6j5Ohfb.js",
2399
  "_areas-Dvi8w2dp.js",
2400
+ "_useDocumentTitle-gwKq10Vr.js",
2401
+ "_pageTitles-DPtr8SUn.js",
2402
+ "_search-BHf0tBuT.js",
2403
+ "_triangle-alert-DY9cghmN.js",
2404
+ "_share-2-Br52qy6p.js",
2405
+ "_trending-up-claX8Qq-.js",
2406
+ "_moon-CuN-BY7W.js",
2407
+ "_thumbs-up-DoDJmuQ5.js",
2408
+ "_database-F1rgBGr5.js",
2409
+ "_link-2-Df1wXqvh.js",
2410
+ "_trophy-BxvfHC6g.js",
2411
+ "_file-text-CxYjO52k.js",
2412
+ "_activity-C34k684K.js",
2413
+ "_globe-DuvIPdbU.js",
2414
+ "_skeleton-DsZ-wKhC.js",
2415
+ "_SignInToEditDialog-B23Lp1q5.js",
2416
+ "_button-TpPKOW28.js",
2417
+ "_input-BtVcQEqI.js",
2418
+ "_textarea-Ch1ibCfx.js",
2419
+ "_searchable-select-VhKQioJk.js",
2420
+ "_popover-DdJ3UXiH.js",
2421
+ "_dialog-CMqnZdwE.js",
2422
+ "_loader-circle-DjsuNmQM.js",
2423
+ "_useMutation-DxP7YVP3.js",
2424
+ "_submissions-B9V-ntEk.js",
2425
+ "_cacheSync-UfDqLKth.js",
2426
+ "_plus-Ig6EFSa0.js"
2427
  ]
2428
  },
2429
  "src/views/TopicView.tsx": {
2430
+ "file": "assets/TopicView-Dgdzumma.js",
2431
  "name": "TopicView",
2432
  "src": "src/views/TopicView.tsx",
2433
  "isDynamicEntry": true,
2434
  "imports": [
2435
  "index.html",
2436
+ "_usePapers-DH6AufOQ.js",
2437
+ "_skeleton-DsZ-wKhC.js",
2438
+ "_FollowerAvatar-DMLlkjGd.js",
2439
+ "_researchTopic-179EqBPz.js",
2440
+ "_transform-BII-_KDB.js",
2441
+ "_plus-Ig6EFSa0.js",
2442
+ "_link-2-Df1wXqvh.js",
2443
+ "_PaperCard-CXKXdRil.js",
2444
+ "_AuthorAvatar-CWdu93Ln.js",
2445
+ "_SotaBadges-Dh4JgSRd.js",
2446
  "_colors-BkWRhvFI.js",
2447
+ "_Icon-BkpouXtc.js",
2448
+ "_LatexTitle-CXLW2LHS.js",
2449
  "_safeExternalHref-CkBrsh84.js",
2450
+ "_popover-DdJ3UXiH.js",
2451
+ "_useIntersectionObserver-B5f-R6yl.js",
2452
+ "_useInfiniteQuery-DIIy94Ek.js",
2453
+ "_useMutation-DxP7YVP3.js"
2454
  ]
2455
  },
2456
  "src/views/TrendsView.tsx": {
2457
+ "file": "assets/TrendsView-p_AnFajT.js",
2458
  "name": "TrendsView",
2459
  "src": "src/views/TrendsView.tsx",
2460
  "isDynamicEntry": true,
2461
  "imports": [
2462
  "index.html",
2463
+ "_alert-Cf45hSUq.js",
2464
+ "_skeleton-DsZ-wKhC.js",
2465
+ "_useDocumentTitle-gwKq10Vr.js",
2466
+ "_pageTitles-DPtr8SUn.js"
2467
  ]
2468
  },
2469
  "src/views/UserProfileView.tsx": {
2470
+ "file": "assets/UserProfileView-DSWtgKiQ.js",
2471
  "name": "UserProfileView",
2472
  "src": "src/views/UserProfileView.tsx",
2473
  "isDynamicEntry": true,
2474
  "imports": [
2475
  "index.html",
2476
+ "_OrganizationContributionGraph-Bu2X49MY.js",
2477
+ "_skeleton-DsZ-wKhC.js"
2478
  ]
2479
  }
2480
  }
assets/{AgentLogos-Da2yWlH1.js → AgentLogos-x9Ckr4O1.js} RENAMED
@@ -1 +1 @@
1
- import{j as e}from"./index-BhKQv9LT.js";const s="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='256'%20height='257'%20preserveAspectRatio='xMidYMid'%20viewBox='0%200%20256%20257'%3e%3cpath%20fill='%23D97757'%20d='m50.228%20170.321%2050.357-28.257.843-2.463-.843-1.361h-2.462l-8.426-.518-28.775-.778-24.952-1.037-24.175-1.296-6.092-1.297L0%20125.796l.583-3.759%205.12-3.434%207.324.648%2016.202%201.101%2024.304%201.685%2017.629%201.037%2026.118%202.722h4.148l.583-1.685-1.426-1.037-1.101-1.037-25.147-17.045-27.22-18.017-14.258-10.37-7.713-5.25-3.888-4.925-1.685-10.758%207-7.713%209.397.649%202.398.648%209.527%207.323%2020.35%2015.75L94.817%2091.9l3.889%203.24%201.555-1.102.195-.777-1.75-2.917-14.453-26.118-15.425-26.572-6.87-11.018-1.814-6.61c-.648-2.723-1.102-4.991-1.102-7.778l7.972-10.823L71.42%200%2082.05%201.426l4.472%203.888%206.61%2015.101%2010.694%2023.786%2016.591%2032.34%204.861%209.592%202.592%208.879.973%202.722h1.685v-1.556l1.36-18.211%202.528-22.36%202.463-28.776.843-8.1%204.018-9.722%207.971-5.25%206.222%202.981%205.12%207.324-.713%204.73-3.046%2019.768-5.962%2030.98-3.889%2020.739h2.268l2.593-2.593%2010.499-13.934%2017.628-22.036%207.778-8.749%209.073-9.657%205.833-4.601h11.018l8.1%2012.055-3.628%2012.443-11.342%2014.388-9.398%2012.184-13.48%2018.147-8.426%2014.518.778%201.166%202.01-.194%2030.46-6.481%2016.462-2.982%2019.637-3.37%208.88%204.148.971%204.213-3.5%208.62-20.998%205.184-24.628%204.926-36.682%208.685-.454.324.519.648%2016.526%201.555%207.065.389h17.304l32.21%202.398%208.426%205.574%205.055%206.805-.843%205.184-12.962%206.611-17.498-4.148-40.83-9.721-14-3.5h-1.944v1.167l11.666%2011.406%2021.387%2019.314%2026.767%2024.887%201.36%206.157-3.434%204.86-3.63-.518-23.526-17.693-9.073-7.972-20.545-17.304h-1.36v1.814l4.73%206.935%2025.017%2037.59%201.296%2011.536-1.814%203.76-6.481%202.268-7.13-1.297-14.647-20.544-15.1-23.138-12.185-20.739-1.49.843-7.194%2077.448-3.37%203.953-7.778%202.981-6.48-4.925-3.436-7.972%203.435-15.749%204.148-20.544%203.37-16.333%203.046-20.285%201.815-6.74-.13-.454-1.49.194-15.295%2020.999-23.267%2031.433-18.406%2019.702-4.407%201.75-7.648-3.954.713-7.064%204.277-6.286%2025.47-32.405%2015.36-20.092%209.917-11.6-.065-1.686h-.583L44.07%20198.125l-12.055%201.555-5.185-4.86.648-7.972%202.463-2.593%2020.35-13.999-.064.065Z'/%3e%3c/svg%3e",a="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='256'%20height='257'%20preserveAspectRatio='xMidYMid'%20viewBox='0%200%20256%20257'%3e%3cpath%20fill='%23D97757'%20d='m50.228%20170.321%2050.357-28.257.843-2.463-.843-1.361h-2.462l-8.426-.518-28.775-.778-24.952-1.037-24.175-1.296-6.092-1.297L0%20125.796l.583-3.759%205.12-3.434%207.324.648%2016.202%201.101%2024.304%201.685%2017.629%201.037%2026.118%202.722h4.148l.583-1.685-1.426-1.037-1.101-1.037-25.147-17.045-27.22-18.017-14.258-10.37-7.713-5.25-3.888-4.925-1.685-10.758%207-7.713%209.397.649%202.398.648%209.527%207.323%2020.35%2015.75L94.817%2091.9l3.889%203.24%201.555-1.102.195-.777-1.75-2.917-14.453-26.118-15.425-26.572-6.87-11.018-1.814-6.61c-.648-2.723-1.102-4.991-1.102-7.778l7.972-10.823L71.42%200%2082.05%201.426l4.472%203.888%206.61%2015.101%2010.694%2023.786%2016.591%2032.34%204.861%209.592%202.592%208.879.973%202.722h1.685v-1.556l1.36-18.211%202.528-22.36%202.463-28.776.843-8.1%204.018-9.722%207.971-5.25%206.222%202.981%205.12%207.324-.713%204.73-3.046%2019.768-5.962%2030.98-3.889%2020.739h2.268l2.593-2.593%2010.499-13.934%2017.628-22.036%207.778-8.749%209.073-9.657%205.833-4.601h11.018l8.1%2012.055-3.628%2012.443-11.342%2014.388-9.398%2012.184-13.48%2018.147-8.426%2014.518.778%201.166%202.01-.194%2030.46-6.481%2016.462-2.982%2019.637-3.37%208.88%204.148.971%204.213-3.5%208.62-20.998%205.184-24.628%204.926-36.682%208.685-.454.324.519.648%2016.526%201.555%207.065.389h17.304l32.21%202.398%208.426%205.574%205.055%206.805-.843%205.184-12.962%206.611-17.498-4.148-40.83-9.721-14-3.5h-1.944v1.167l11.666%2011.406%2021.387%2019.314%2026.767%2024.887%201.36%206.157-3.434%204.86-3.63-.518-23.526-17.693-9.073-7.972-20.545-17.304h-1.36v1.814l4.73%206.935%2025.017%2037.59%201.296%2011.536-1.814%203.76-6.481%202.268-7.13-1.297-14.647-20.544-15.1-23.138-12.185-20.739-1.49.843-7.194%2077.448-3.37%203.953-7.778%202.981-6.48-4.925-3.436-7.972%203.435-15.749%204.148-20.544%203.37-16.333%203.046-20.285%201.815-6.74-.13-.454-1.49.194-15.295%2020.999-23.267%2031.433-18.406%2019.702-4.407%201.75-7.648-3.954.713-7.064%204.277-6.286%2025.47-32.405%2015.36-20.092%209.917-11.6-.065-1.686h-.583L44.07%20198.125l-12.055%201.555-5.185-4.86.648-7.972%202.463-2.593%2020.35-13.999-.064.065Z'/%3e%3c/svg%3e",h="data:image/svg+xml,%3csvg%20fill='%23111'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eCodex%3c/title%3e%3cpath%20clip-rule='evenodd'%20d='M8.086.457a6.105%206.105%200%20013.046-.415c1.333.153%202.521.72%203.564%201.7a.117.117%200%2000.107.029c1.408-.346%202.762-.224%204.061.366l.063.03.154.076c1.357.703%202.33%201.77%202.918%203.198.278.679.418%201.388.421%202.126a5.655%205.655%200%2001-.18%201.631.167.167%200%2000.04.155%205.982%205.982%200%20011.578%202.891c.385%201.901-.01%203.615-1.183%205.14l-.182.22a6.063%206.063%200%2001-2.934%201.851.162.162%200%2000-.108.102c-.255.736-.511%201.364-.987%201.992-1.199%201.582-2.962%202.462-4.948%202.451-1.583-.008-2.986-.587-4.21-1.736a.145.145%200%2000-.14-.032c-.518.167-1.04.191-1.604.185a5.924%205.924%200%2001-2.595-.622%206.058%206.058%200%2001-2.146-1.781c-.203-.269-.404-.522-.551-.821a7.74%207.74%200%2001-.495-1.283%206.11%206.11%200%2001-.017-3.064.166.166%200%2000.008-.074.115.115%200%2000-.037-.064%205.958%205.958%200%2001-1.38-2.202%205.196%205.196%200%2001-.333-1.589%206.915%206.915%200%2001.188-2.132c.45-1.484%201.309-2.648%202.577-3.493.282-.188.55-.334.802-.438.286-.12.573-.22.861-.304a.129.129%200%2000.087-.087A6.016%206.016%200%20015.635%202.31C6.315%201.464%207.132.846%208.086.457zm-.804%207.85a.848.848%200%2000-1.473.842l1.694%202.965-1.688%202.848a.849.849%200%20001.46.864l1.94-3.272a.849.849%200%2000.007-.854l-1.94-3.393zm5.446%206.24a.849.849%200%20000%201.695h4.848a.849.849%200%20000-1.696h-4.848z'%3e%3c/path%3e%3c/svg%3e",o="data:image/svg+xml,%3csvg%20fill='%23fff'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eCodex%3c/title%3e%3cpath%20clip-rule='evenodd'%20d='M8.086.457a6.105%206.105%200%20013.046-.415c1.333.153%202.521.72%203.564%201.7a.117.117%200%2000.107.029c1.408-.346%202.762-.224%204.061.366l.063.03.154.076c1.357.703%202.33%201.77%202.918%203.198.278.679.418%201.388.421%202.126a5.655%205.655%200%2001-.18%201.631.167.167%200%2000.04.155%205.982%205.982%200%20011.578%202.891c.385%201.901-.01%203.615-1.183%205.14l-.182.22a6.063%206.063%200%2001-2.934%201.851.162.162%200%2000-.108.102c-.255.736-.511%201.364-.987%201.992-1.199%201.582-2.962%202.462-4.948%202.451-1.583-.008-2.986-.587-4.21-1.736a.145.145%200%2000-.14-.032c-.518.167-1.04.191-1.604.185a5.924%205.924%200%2001-2.595-.622%206.058%206.058%200%2001-2.146-1.781c-.203-.269-.404-.522-.551-.821a7.74%207.74%200%2001-.495-1.283%206.11%206.11%200%2001-.017-3.064.166.166%200%2000.008-.074.115.115%200%2000-.037-.064%205.958%205.958%200%2001-1.38-2.202%205.196%205.196%200%2001-.333-1.589%206.915%206.915%200%2001.188-2.132c.45-1.484%201.309-2.648%202.577-3.493.282-.188.55-.334.802-.438.286-.12.573-.22.861-.304a.129.129%200%2000.087-.087A6.016%206.016%200%20015.635%202.31C6.315%201.464%207.132.846%208.086.457zm-.804%207.85a.848.848%200%2000-1.473.842l1.694%202.965-1.688%202.848a.849.849%200%20001.46.864l1.94-3.272a.849.849%200%2000.007-.854l-1.94-3.393zm5.446%206.24a.849.849%200%20000%201.695h4.848a.849.849%200%20000-1.696h-4.848z'%3e%3c/path%3e%3c/svg%3e",r="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='cursor_light__Ebene_1'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20viewBox='0%200%20466.73%20532.09'%3e%3c!--Generator:%20Adobe%20Illustrator%2029.6.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%202.1.1%20Build%209)--%3e%3cdefs%3e%3cstyle%3e.cursor_light__st0{fill:%2326251e}%3c/style%3e%3c/defs%3e%3cpath%20class='cursor_light__st0'%20d='M457.43,125.94L244.42,2.96c-6.84-3.95-15.28-3.95-22.12,0L9.3,125.94c-5.75,3.32-9.3,9.46-9.3,16.11v247.99c0,6.65,3.55,12.79,9.3,16.11l213.01,122.98c6.84,3.95,15.28,3.95,22.12,0l213.01-122.98c5.75-3.32,9.3-9.46,9.3-16.11v-247.99c0-6.65-3.55-12.79-9.3-16.11h-.01ZM444.05,151.99l-205.63,356.16c-1.39,2.4-5.06,1.42-5.06-1.36v-233.21c0-4.66-2.49-8.97-6.53-11.31L24.87,145.67c-2.4-1.39-1.42-5.06,1.36-5.06h411.26c5.84,0,9.49,6.33,6.57,11.39h-.01Z'/%3e%3c/svg%3e",d="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='cursor_dark__Ebene_1'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20viewBox='0%200%20466.73%20532.09'%3e%3c!--Generator:%20Adobe%20Illustrator%2029.6.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%202.1.1%20Build%209)--%3e%3cdefs%3e%3cstyle%3e.cursor_dark__st0{fill:%23edecec}%3c/style%3e%3c/defs%3e%3cpath%20class='cursor_dark__st0'%20d='M457.43,125.94L244.42,2.96c-6.84-3.95-15.28-3.95-22.12,0L9.3,125.94c-5.75,3.32-9.3,9.46-9.3,16.11v247.99c0,6.65,3.55,12.79,9.3,16.11l213.01,122.98c6.84,3.95,15.28,3.95,22.12,0l213.01-122.98c5.75-3.32,9.3-9.46,9.3-16.11v-247.99c0-6.65-3.55-12.79-9.3-16.11h-.01ZM444.05,151.99l-205.63,356.16c-1.39,2.4-5.06,1.42-5.06-1.36v-233.21c0-4.66-2.49-8.97-6.53-11.31L24.87,145.67c-2.4-1.39-1.42-5.06,1.36-5.06h411.26c5.84,0,9.49,6.33,6.57,11.39h-.01Z'/%3e%3c/svg%3e",n="data:image/svg+xml,%3csvg%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='512'%20height='512'%20fill='%23FDFCFC'/%3e%3cpath%20d='M320%20224V352H192V224H320Z'%20fill='%23E6E5E6'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M384%20416H128V96H384V416ZM320%20160H192V352H320V160Z'%20fill='%2317181C'/%3e%3c/svg%3e",g="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='512'%20height='512'%3e%3csvg%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='512'%20height='512'%20fill='%23131010'%3e%3c/rect%3e%3cpath%20d='M320%20224V352H192V224H320Z'%20fill='%235A5858'%3e%3c/path%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M384%20416H128V96H384V416ZM320%20160H192V352H320V160Z'%20fill='white'%3e%3c/path%3e%3c/svg%3e%3cstyle%3e@media%20(prefers-color-scheme:%20light)%20{%20:root%20{%20filter:%20none;%20}%20}%20@media%20(prefers-color-scheme:%20dark)%20{%20:root%20{%20filter:%20none;%20}%20}%20%3c/style%3e%3c/svg%3e",i=[{name:"Claude",light:s,dark:a},{name:"Codex",light:h,dark:o},{name:"Cursor",light:r,dark:d},{name:"OpenCode",light:n,dark:g}];function w(){return e.jsx("span",{className:"inline-flex shrink-0 items-center gap-1.5","aria-hidden":"true",children:i.map(({name:l,light:t,dark:c})=>e.jsxs("span",{title:l,className:"inline-flex h-[18px] w-[18px]",children:[e.jsx("img",{src:t,alt:"",width:18,height:18,className:"h-full w-full object-contain dark:hidden"}),e.jsx("img",{src:c,alt:"",width:18,height:18,className:"hidden h-full w-full object-contain dark:block"})]},l))})}function x(){return e.jsx("ul",{className:"flex flex-wrap gap-2","aria-label":"Supported coding agents",children:i.map(({name:l,light:t,dark:c})=>e.jsxs("li",{className:"inline-flex items-center gap-2 rounded-full border px-3 py-1 text-sm",children:[e.jsx("img",{src:t,alt:"",width:18,height:18,className:"h-[18px] w-[18px] object-contain dark:hidden"}),e.jsx("img",{src:c,alt:"",width:18,height:18,className:"hidden h-[18px] w-[18px] object-contain dark:block"}),l]},l))})}export{w as A,x as a};
 
1
+ import{j as e}from"./index-B0aq-iar.js";const s="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='256'%20height='257'%20preserveAspectRatio='xMidYMid'%20viewBox='0%200%20256%20257'%3e%3cpath%20fill='%23D97757'%20d='m50.228%20170.321%2050.357-28.257.843-2.463-.843-1.361h-2.462l-8.426-.518-28.775-.778-24.952-1.037-24.175-1.296-6.092-1.297L0%20125.796l.583-3.759%205.12-3.434%207.324.648%2016.202%201.101%2024.304%201.685%2017.629%201.037%2026.118%202.722h4.148l.583-1.685-1.426-1.037-1.101-1.037-25.147-17.045-27.22-18.017-14.258-10.37-7.713-5.25-3.888-4.925-1.685-10.758%207-7.713%209.397.649%202.398.648%209.527%207.323%2020.35%2015.75L94.817%2091.9l3.889%203.24%201.555-1.102.195-.777-1.75-2.917-14.453-26.118-15.425-26.572-6.87-11.018-1.814-6.61c-.648-2.723-1.102-4.991-1.102-7.778l7.972-10.823L71.42%200%2082.05%201.426l4.472%203.888%206.61%2015.101%2010.694%2023.786%2016.591%2032.34%204.861%209.592%202.592%208.879.973%202.722h1.685v-1.556l1.36-18.211%202.528-22.36%202.463-28.776.843-8.1%204.018-9.722%207.971-5.25%206.222%202.981%205.12%207.324-.713%204.73-3.046%2019.768-5.962%2030.98-3.889%2020.739h2.268l2.593-2.593%2010.499-13.934%2017.628-22.036%207.778-8.749%209.073-9.657%205.833-4.601h11.018l8.1%2012.055-3.628%2012.443-11.342%2014.388-9.398%2012.184-13.48%2018.147-8.426%2014.518.778%201.166%202.01-.194%2030.46-6.481%2016.462-2.982%2019.637-3.37%208.88%204.148.971%204.213-3.5%208.62-20.998%205.184-24.628%204.926-36.682%208.685-.454.324.519.648%2016.526%201.555%207.065.389h17.304l32.21%202.398%208.426%205.574%205.055%206.805-.843%205.184-12.962%206.611-17.498-4.148-40.83-9.721-14-3.5h-1.944v1.167l11.666%2011.406%2021.387%2019.314%2026.767%2024.887%201.36%206.157-3.434%204.86-3.63-.518-23.526-17.693-9.073-7.972-20.545-17.304h-1.36v1.814l4.73%206.935%2025.017%2037.59%201.296%2011.536-1.814%203.76-6.481%202.268-7.13-1.297-14.647-20.544-15.1-23.138-12.185-20.739-1.49.843-7.194%2077.448-3.37%203.953-7.778%202.981-6.48-4.925-3.436-7.972%203.435-15.749%204.148-20.544%203.37-16.333%203.046-20.285%201.815-6.74-.13-.454-1.49.194-15.295%2020.999-23.267%2031.433-18.406%2019.702-4.407%201.75-7.648-3.954.713-7.064%204.277-6.286%2025.47-32.405%2015.36-20.092%209.917-11.6-.065-1.686h-.583L44.07%20198.125l-12.055%201.555-5.185-4.86.648-7.972%202.463-2.593%2020.35-13.999-.064.065Z'/%3e%3c/svg%3e",a="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='256'%20height='257'%20preserveAspectRatio='xMidYMid'%20viewBox='0%200%20256%20257'%3e%3cpath%20fill='%23D97757'%20d='m50.228%20170.321%2050.357-28.257.843-2.463-.843-1.361h-2.462l-8.426-.518-28.775-.778-24.952-1.037-24.175-1.296-6.092-1.297L0%20125.796l.583-3.759%205.12-3.434%207.324.648%2016.202%201.101%2024.304%201.685%2017.629%201.037%2026.118%202.722h4.148l.583-1.685-1.426-1.037-1.101-1.037-25.147-17.045-27.22-18.017-14.258-10.37-7.713-5.25-3.888-4.925-1.685-10.758%207-7.713%209.397.649%202.398.648%209.527%207.323%2020.35%2015.75L94.817%2091.9l3.889%203.24%201.555-1.102.195-.777-1.75-2.917-14.453-26.118-15.425-26.572-6.87-11.018-1.814-6.61c-.648-2.723-1.102-4.991-1.102-7.778l7.972-10.823L71.42%200%2082.05%201.426l4.472%203.888%206.61%2015.101%2010.694%2023.786%2016.591%2032.34%204.861%209.592%202.592%208.879.973%202.722h1.685v-1.556l1.36-18.211%202.528-22.36%202.463-28.776.843-8.1%204.018-9.722%207.971-5.25%206.222%202.981%205.12%207.324-.713%204.73-3.046%2019.768-5.962%2030.98-3.889%2020.739h2.268l2.593-2.593%2010.499-13.934%2017.628-22.036%207.778-8.749%209.073-9.657%205.833-4.601h11.018l8.1%2012.055-3.628%2012.443-11.342%2014.388-9.398%2012.184-13.48%2018.147-8.426%2014.518.778%201.166%202.01-.194%2030.46-6.481%2016.462-2.982%2019.637-3.37%208.88%204.148.971%204.213-3.5%208.62-20.998%205.184-24.628%204.926-36.682%208.685-.454.324.519.648%2016.526%201.555%207.065.389h17.304l32.21%202.398%208.426%205.574%205.055%206.805-.843%205.184-12.962%206.611-17.498-4.148-40.83-9.721-14-3.5h-1.944v1.167l11.666%2011.406%2021.387%2019.314%2026.767%2024.887%201.36%206.157-3.434%204.86-3.63-.518-23.526-17.693-9.073-7.972-20.545-17.304h-1.36v1.814l4.73%206.935%2025.017%2037.59%201.296%2011.536-1.814%203.76-6.481%202.268-7.13-1.297-14.647-20.544-15.1-23.138-12.185-20.739-1.49.843-7.194%2077.448-3.37%203.953-7.778%202.981-6.48-4.925-3.436-7.972%203.435-15.749%204.148-20.544%203.37-16.333%203.046-20.285%201.815-6.74-.13-.454-1.49.194-15.295%2020.999-23.267%2031.433-18.406%2019.702-4.407%201.75-7.648-3.954.713-7.064%204.277-6.286%2025.47-32.405%2015.36-20.092%209.917-11.6-.065-1.686h-.583L44.07%20198.125l-12.055%201.555-5.185-4.86.648-7.972%202.463-2.593%2020.35-13.999-.064.065Z'/%3e%3c/svg%3e",h="data:image/svg+xml,%3csvg%20fill='%23111'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eCodex%3c/title%3e%3cpath%20clip-rule='evenodd'%20d='M8.086.457a6.105%206.105%200%20013.046-.415c1.333.153%202.521.72%203.564%201.7a.117.117%200%2000.107.029c1.408-.346%202.762-.224%204.061.366l.063.03.154.076c1.357.703%202.33%201.77%202.918%203.198.278.679.418%201.388.421%202.126a5.655%205.655%200%2001-.18%201.631.167.167%200%2000.04.155%205.982%205.982%200%20011.578%202.891c.385%201.901-.01%203.615-1.183%205.14l-.182.22a6.063%206.063%200%2001-2.934%201.851.162.162%200%2000-.108.102c-.255.736-.511%201.364-.987%201.992-1.199%201.582-2.962%202.462-4.948%202.451-1.583-.008-2.986-.587-4.21-1.736a.145.145%200%2000-.14-.032c-.518.167-1.04.191-1.604.185a5.924%205.924%200%2001-2.595-.622%206.058%206.058%200%2001-2.146-1.781c-.203-.269-.404-.522-.551-.821a7.74%207.74%200%2001-.495-1.283%206.11%206.11%200%2001-.017-3.064.166.166%200%2000.008-.074.115.115%200%2000-.037-.064%205.958%205.958%200%2001-1.38-2.202%205.196%205.196%200%2001-.333-1.589%206.915%206.915%200%2001.188-2.132c.45-1.484%201.309-2.648%202.577-3.493.282-.188.55-.334.802-.438.286-.12.573-.22.861-.304a.129.129%200%2000.087-.087A6.016%206.016%200%20015.635%202.31C6.315%201.464%207.132.846%208.086.457zm-.804%207.85a.848.848%200%2000-1.473.842l1.694%202.965-1.688%202.848a.849.849%200%20001.46.864l1.94-3.272a.849.849%200%2000.007-.854l-1.94-3.393zm5.446%206.24a.849.849%200%20000%201.695h4.848a.849.849%200%20000-1.696h-4.848z'%3e%3c/path%3e%3c/svg%3e",o="data:image/svg+xml,%3csvg%20fill='%23fff'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eCodex%3c/title%3e%3cpath%20clip-rule='evenodd'%20d='M8.086.457a6.105%206.105%200%20013.046-.415c1.333.153%202.521.72%203.564%201.7a.117.117%200%2000.107.029c1.408-.346%202.762-.224%204.061.366l.063.03.154.076c1.357.703%202.33%201.77%202.918%203.198.278.679.418%201.388.421%202.126a5.655%205.655%200%2001-.18%201.631.167.167%200%2000.04.155%205.982%205.982%200%20011.578%202.891c.385%201.901-.01%203.615-1.183%205.14l-.182.22a6.063%206.063%200%2001-2.934%201.851.162.162%200%2000-.108.102c-.255.736-.511%201.364-.987%201.992-1.199%201.582-2.962%202.462-4.948%202.451-1.583-.008-2.986-.587-4.21-1.736a.145.145%200%2000-.14-.032c-.518.167-1.04.191-1.604.185a5.924%205.924%200%2001-2.595-.622%206.058%206.058%200%2001-2.146-1.781c-.203-.269-.404-.522-.551-.821a7.74%207.74%200%2001-.495-1.283%206.11%206.11%200%2001-.017-3.064.166.166%200%2000.008-.074.115.115%200%2000-.037-.064%205.958%205.958%200%2001-1.38-2.202%205.196%205.196%200%2001-.333-1.589%206.915%206.915%200%2001.188-2.132c.45-1.484%201.309-2.648%202.577-3.493.282-.188.55-.334.802-.438.286-.12.573-.22.861-.304a.129.129%200%2000.087-.087A6.016%206.016%200%20015.635%202.31C6.315%201.464%207.132.846%208.086.457zm-.804%207.85a.848.848%200%2000-1.473.842l1.694%202.965-1.688%202.848a.849.849%200%20001.46.864l1.94-3.272a.849.849%200%2000.007-.854l-1.94-3.393zm5.446%206.24a.849.849%200%20000%201.695h4.848a.849.849%200%20000-1.696h-4.848z'%3e%3c/path%3e%3c/svg%3e",r="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='cursor_light__Ebene_1'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20viewBox='0%200%20466.73%20532.09'%3e%3c!--Generator:%20Adobe%20Illustrator%2029.6.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%202.1.1%20Build%209)--%3e%3cdefs%3e%3cstyle%3e.cursor_light__st0{fill:%2326251e}%3c/style%3e%3c/defs%3e%3cpath%20class='cursor_light__st0'%20d='M457.43,125.94L244.42,2.96c-6.84-3.95-15.28-3.95-22.12,0L9.3,125.94c-5.75,3.32-9.3,9.46-9.3,16.11v247.99c0,6.65,3.55,12.79,9.3,16.11l213.01,122.98c6.84,3.95,15.28,3.95,22.12,0l213.01-122.98c5.75-3.32,9.3-9.46,9.3-16.11v-247.99c0-6.65-3.55-12.79-9.3-16.11h-.01ZM444.05,151.99l-205.63,356.16c-1.39,2.4-5.06,1.42-5.06-1.36v-233.21c0-4.66-2.49-8.97-6.53-11.31L24.87,145.67c-2.4-1.39-1.42-5.06,1.36-5.06h411.26c5.84,0,9.49,6.33,6.57,11.39h-.01Z'/%3e%3c/svg%3e",d="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='cursor_dark__Ebene_1'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20viewBox='0%200%20466.73%20532.09'%3e%3c!--Generator:%20Adobe%20Illustrator%2029.6.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%202.1.1%20Build%209)--%3e%3cdefs%3e%3cstyle%3e.cursor_dark__st0{fill:%23edecec}%3c/style%3e%3c/defs%3e%3cpath%20class='cursor_dark__st0'%20d='M457.43,125.94L244.42,2.96c-6.84-3.95-15.28-3.95-22.12,0L9.3,125.94c-5.75,3.32-9.3,9.46-9.3,16.11v247.99c0,6.65,3.55,12.79,9.3,16.11l213.01,122.98c6.84,3.95,15.28,3.95,22.12,0l213.01-122.98c5.75-3.32,9.3-9.46,9.3-16.11v-247.99c0-6.65-3.55-12.79-9.3-16.11h-.01ZM444.05,151.99l-205.63,356.16c-1.39,2.4-5.06,1.42-5.06-1.36v-233.21c0-4.66-2.49-8.97-6.53-11.31L24.87,145.67c-2.4-1.39-1.42-5.06,1.36-5.06h411.26c5.84,0,9.49,6.33,6.57,11.39h-.01Z'/%3e%3c/svg%3e",n="data:image/svg+xml,%3csvg%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='512'%20height='512'%20fill='%23FDFCFC'/%3e%3cpath%20d='M320%20224V352H192V224H320Z'%20fill='%23E6E5E6'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M384%20416H128V96H384V416ZM320%20160H192V352H320V160Z'%20fill='%2317181C'/%3e%3c/svg%3e",g="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='512'%20height='512'%3e%3csvg%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='512'%20height='512'%20fill='%23131010'%3e%3c/rect%3e%3cpath%20d='M320%20224V352H192V224H320Z'%20fill='%235A5858'%3e%3c/path%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M384%20416H128V96H384V416ZM320%20160H192V352H320V160Z'%20fill='white'%3e%3c/path%3e%3c/svg%3e%3cstyle%3e@media%20(prefers-color-scheme:%20light)%20{%20:root%20{%20filter:%20none;%20}%20}%20@media%20(prefers-color-scheme:%20dark)%20{%20:root%20{%20filter:%20none;%20}%20}%20%3c/style%3e%3c/svg%3e",i=[{name:"Claude",light:s,dark:a},{name:"Codex",light:h,dark:o},{name:"Cursor",light:r,dark:d},{name:"OpenCode",light:n,dark:g}];function w(){return e.jsx("span",{className:"inline-flex shrink-0 items-center gap-1.5","aria-hidden":"true",children:i.map(({name:l,light:t,dark:c})=>e.jsxs("span",{title:l,className:"inline-flex h-[18px] w-[18px]",children:[e.jsx("img",{src:t,alt:"",width:18,height:18,className:"h-full w-full object-contain dark:hidden"}),e.jsx("img",{src:c,alt:"",width:18,height:18,className:"hidden h-full w-full object-contain dark:block"})]},l))})}function x(){return e.jsx("ul",{className:"flex flex-wrap gap-2","aria-label":"Supported coding agents",children:i.map(({name:l,light:t,dark:c})=>e.jsxs("li",{className:"inline-flex items-center gap-2 rounded-full border px-3 py-1 text-sm",children:[e.jsx("img",{src:t,alt:"",width:18,height:18,className:"h-[18px] w-[18px] object-contain dark:hidden"}),e.jsx("img",{src:c,alt:"",width:18,height:18,className:"hidden h-[18px] w-[18px] object-contain dark:block"}),l]},l))})}export{w as A,x as a};
assets/{AiDeadlinesView-GWkcf__L.js → AiDeadlinesView-5jEuEZv5.js} RENAMED
@@ -1,3 +1,3 @@
1
- import{i as y,j as t,b as A,x as L}from"./index-BhKQv9LT.js";import{S as B}from"./switch-BiWy_MQW.js";import{S as W}from"./skeleton-BkbzA0oF.js";import{A as U,a as M}from"./alert-zC2kYXtI.js";import{s as _}from"./safeExternalHref-CkBrsh84.js";import{D as O,a as V,c as P,b as G,d as H}from"./dialog-C_jKzXRg.js";import{s as Q,n as S,f as $,p as Y,u as N,l as k,a as z,c as b,D as K,i as I,b as R,d as X}from"./deadlines-BG5SWwEG.js";import{u as q}from"./useDocumentTitle-DGWKz2sg.js";import{I as J}from"./pageTitles-Cv5SviVf.js";import"./index-B2-KLIIm.js";const w={fontFamily:"var(--mono)",fontSize:10,letterSpacing:"0.12em",textTransform:"uppercase",color:"var(--ink-faint)"},Z=(e,s)=>{const l=Math.ceil((e-s)/K);return l<=0?"passed":`${l} ${l===1?"day":"days"}`},F=(e,s)=>{const l=$(e.start_date,e.end_date),r=e.venue||[e.city,e.country].filter(Boolean).join(", ");return[`${s.label||s.type||"Deadline"} for ${e.name}`,l?`Dates: ${l}`:null,r?`Location: ${r}`:null,e.url?`Website: ${e.url}`:null].filter(Boolean).join(`
2
  `)},C=e=>e.toISOString().replace(/[-:]/g,"").replace(/\.\d{3}/,""),ee=(e,s)=>{const l=new Date(s.deadline_at),r=new Date(l.getTime()+60*60*1e3),o=`${e.short_name||e.name} ${s.label||s.type||"deadline"}`,h=e.venue||[e.city,e.country].filter(Boolean).join(", "),a=`https://calendar.google.com/calendar/render?action=TEMPLATE&text=${encodeURIComponent(o)}&dates=${C(l)}/${C(r)}&details=${encodeURIComponent(F(e,s))}&location=${encodeURIComponent(h)}`,p=_(a);p&&window.open(p,"_blank","noopener,noreferrer")},te=(e,s)=>{const l=new Date(s.deadline_at),r=new Date(l.getTime()+60*60*1e3),o=`${e.short_name||e.name} ${s.label||s.type||"deadline"}`,h=e.venue||[e.city,e.country].filter(Boolean).join(", "),a=["BEGIN:VCALENDAR","VERSION:2.0","BEGIN:VEVENT",e.url?`URL:${e.url}`:null,`DTSTART:${C(l)}`,`DTEND:${C(r)}`,`SUMMARY:${o}`,`DESCRIPTION:${F(e,s).replace(/\n/g,"\\n")}`,h?`LOCATION:${h}`:null,"END:VEVENT","END:VCALENDAR"].filter(Boolean).join(`
3
  `),p=new Blob([a],{type:"text/calendar;charset=utf-8"}),d=document.createElement("a");d.href=URL.createObjectURL(p),d.download=`${(e.short_name||e.name).toLowerCase().replace(/\s+/g,"-")}-deadline.ics`,document.body.appendChild(d),d.click(),document.body.removeChild(d),URL.revokeObjectURL(d.href)},ae=({conf:e,open:s,onOpenChange:l})=>{const[r,o]=y.useState(()=>Date.now());y.useEffect(()=>{if(!s)return;o(Date.now());const i=setInterval(()=>o(Date.now()),1e3);return()=>clearInterval(i)},[s]);const h=y.useMemo(()=>e?Q(e):[],[e]),a=y.useMemo(()=>e?S(e,r):null,[e,r]),p=e?$(e.start_date,e.end_date):null,d=e?e.venue||[e.city,e.country].filter(Boolean).join(", ")||e.location:null,m=a?new Date(a.deadline_at).getTime():null;return t.jsx(O,{open:s,onOpenChange:l,children:t.jsx(V,{className:"max-w-xl",style:{background:"var(--bg-elevated)",maxHeight:"85vh",overflowY:"auto"},children:e&&t.jsxs(t.Fragment,{children:[t.jsxs(P,{children:[t.jsx(G,{asChild:!0,children:t.jsx("h2",{style:{fontFamily:"var(--serif)",fontSize:26,fontWeight:500,letterSpacing:"-0.01em",margin:0},children:e.short_name?`${e.short_name} ${e.year??""}`.trim():e.name})}),e.short_name&&e.name||e.description?t.jsx(H,{asChild:!0,children:t.jsx("span",{style:{fontFamily:"var(--serif)",fontSize:14,color:"var(--ink-soft)"},children:e.short_name?e.name:e.description})}):null]}),t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:20,marginTop:4},children:[t.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:24},children:[p&&t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:4},children:[t.jsx("span",{style:w,children:"Dates"}),t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:13,color:"var(--ink-soft)"},children:p})]}),d&&t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:4},children:[t.jsx("span",{style:w,children:"Venue"}),t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:13,color:"var(--ink-soft)"},children:d})]})]}),m!=null&&t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:4,padding:"12px 14px",borderRadius:8,background:"var(--bg-subtle)",border:"1px solid var(--hairline)"},children:[t.jsx("span",{style:w,children:"Next deadline in"}),t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:22,fontWeight:600,color:N(m,r)},children:Y(m,r)})]}),t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[t.jsx("span",{style:w,children:"Important deadlines"}),h.length===0?t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:13,color:"var(--ink-faint)"},children:"Deadlines not announced yet"}):h.map((i,c)=>{const f=new Date(i.deadline_at).getTime(),n=a!=null&&i.deadline_at===a.deadline_at&&i.type===a.type,u=f<=r;return t.jsxs("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between",gap:12,padding:"8px 12px",borderRadius:6,background:n?"var(--accent-soft)":"transparent",border:n?"1px solid var(--hairline-strong)":"1px solid var(--hairline)",opacity:u&&!n?.55:1},children:[t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:2},children:[t.jsxs("span",{style:{fontFamily:"var(--mono)",fontSize:13,color:"var(--ink)",fontWeight:n?600:400},children:[i.label||k(i.type||"deadline"),n&&t.jsx("span",{style:{...w,marginLeft:8},children:"Next"})]}),t.jsxs("span",{style:{fontFamily:"var(--mono)",fontSize:12,color:"var(--ink-faint)"},children:[z(i.deadline_at),i.timezone?` · ${i.timezone}`:""]})]}),t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:12,fontWeight:600,whiteSpace:"nowrap",color:N(u?null:f,r)},children:Z(f,r)})]},`${i.type??"deadline"}-${c}`)})]}),b(e).length>0&&t.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:6},children:b(e).map(i=>t.jsx("span",{className:"tag-chip",style:{background:"var(--bg-subtle)",color:"var(--ink-soft)"},children:k(i)},i))}),t.jsxs("div",{style:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:16,paddingTop:12,borderTop:"1px solid var(--hairline)"},children:[e.url&&t.jsx("a",{href:_(e.url)??void 0,target:"_blank",rel:"noopener noreferrer",style:{fontFamily:"var(--mono)",fontSize:12,color:"var(--accent-text)"},children:"Visit website ↗"}),a&&t.jsxs("div",{style:{display:"flex",gap:12,marginLeft:"auto"},children:[t.jsx("button",{type:"button",className:"tag-chip",onClick:()=>ee(e,a),style:{background:"var(--bg-subtle)",color:"var(--ink-soft)"},children:"+ Google Calendar"}),t.jsx("button",{type:"button",className:"tag-chip",onClick:()=>te(e,a),style:{background:"var(--bg-subtle)",color:"var(--ink-soft)"},children:"+ Apple / .ics"})]})]})]})]})})})},E=({id:e,label:s,checked:l,onChange:r})=>t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,fontFamily:"var(--mono)",fontSize:12,color:"var(--ink-soft)"},children:[t.jsx(B,{id:e,checked:l,onCheckedChange:r}),t.jsx("label",{htmlFor:e,style:{cursor:"pointer"},children:s})]}),ne=({conf:e,now:s,selectedDomains:l,onToggleDomain:r,onOpen:o})=>{const h=S(e,s),a=h??R(e),p=a?new Date(a.deadline_at).getTime():null,d=N(h?p:null,s),m=$(e.start_date,e.end_date),i=[e.city??null,e.country??null].filter(Boolean).join(", ");return t.jsxs("div",{role:"button",tabIndex:0,onClick:()=>o(e),onKeyDown:c=>{(c.key==="Enter"||c.key===" ")&&(c.preventDefault(),o(e))},style:{border:"1px solid var(--hairline)",borderRadius:8,padding:20,background:"var(--bg-elevated)",display:"flex",flexDirection:"column",gap:12,cursor:"pointer"},children:[t.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"baseline",gap:12},children:[t.jsx("h3",{style:{fontFamily:"var(--serif)",fontSize:20,fontWeight:500,letterSpacing:"-0.01em",margin:0},children:e.short_name?`${e.short_name} ${e.year??""}`.trim():e.name}),e.url&&t.jsx("a",{href:_(e.url)??void 0,target:"_blank",rel:"noopener noreferrer",onClick:c=>c.stopPropagation(),style:{fontFamily:"var(--mono)",fontSize:11,color:"var(--accent-text)",whiteSpace:"nowrap"},children:"website ↗"})]}),t.jsxs("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between",gap:12,paddingBottom:12,borderBottom:"1px solid var(--hairline)"},children:[t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:2},children:[t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:11,color:"var(--ink-faint)"},children:(a==null?void 0:a.label)||(a==null?void 0:a.type)||"Deadlines"}),t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:12,color:"var(--ink-soft)"},children:a?`${z(a.deadline_at)}${a.timezone?` · ${a.timezone}`:""}`:"Not announced yet"})]}),t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:14,fontWeight:600,color:d,whiteSpace:"nowrap"},children:p!=null?X(p,s):"TBA"})]}),t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:4,fontFamily:"var(--mono)",fontSize:11,color:"var(--ink-faint)"},children:[m&&t.jsx("span",{children:m}),i&&t.jsx("span",{children:i})]}),b(e).length>0&&t.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:6},children:b(e).map(c=>{const f=l.has(c);return t.jsx("button",{className:"tag-chip",onClick:n=>{n.stopPropagation(),r(c)},style:{background:f?"var(--ink)":"var(--bg-subtle)",color:f?"var(--bg)":"var(--ink-soft)"},children:k(c)},c)})})]})},he=()=>{q(J.aiDeadlines);const[e,s]=y.useState(!0),[l,r]=y.useState(!1),[o,h]=y.useState(new Set),[a,p]=y.useState(null),d=y.useMemo(()=>Date.now(),[]),m=A(L.conferenceDeadlines()),i=n=>{h(u=>{const x=new Set(u);return x.has(n)?x.delete(n):x.add(n),x})},c=y.useMemo(()=>{var u;const n=new Map;return(u=m.data)==null||u.results.forEach(x=>{b(x).forEach(j=>n.set(j,(n.get(j)??0)+1))}),Array.from(n.entries()).sort((x,j)=>j[1]-x[1]).map(([x])=>x)},[m.data]),f=y.useMemo(()=>{var j;const u=(((j=m.data)==null?void 0:j.results)??[]).filter(g=>!(e&&g.tier!=="a"||o.size>0&&!b(g).some(v=>o.has(v))||!l&&!I(g)&&!S(g,d))),x=g=>{const D=S(g,d);if(D)return{group:0,time:new Date(D.deadline_at).getTime()};if(I(g))return{group:1,time:g.start_date?new Date(g.start_date).getTime():0};const v=R(g);return{group:2,time:-(v?new Date(v.deadline_at).getTime():0)}};return[...u].sort((g,D)=>{const v=x(g),T=x(D);return v.group!==T.group?v.group-T.group:v.time-T.time})},[m.data,e,l,o,d]);return m.error?t.jsx("div",{className:"page",children:t.jsx(U,{variant:"destructive",children:t.jsx(M,{children:"Failed to load conference deadlines. Please try again."})})}):t.jsxs("div",{className:"page",children:[t.jsx("div",{className:"feed-header",children:t.jsxs("div",{children:[t.jsxs("h1",{className:"feed-title",children:["AI Conference ",t.jsx("em",{children:"Deadlines"})]}),t.jsx("div",{className:"feed-subtitle",children:"Upcoming submission deadlines for major AI conferences, counting down."})]})}),t.jsxs("div",{style:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:20,padding:"16px 0",borderBottom:"1px solid var(--hairline)",marginBottom:24},children:[t.jsx(E,{id:"top-tier-only",label:"Top tier only",checked:e,onChange:s}),t.jsx(E,{id:"show-past",label:"Show past conferences",checked:l,onChange:r})]}),c.length>0&&t.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:6,marginBottom:24},children:[c.map(n=>{const u=o.has(n);return t.jsx("button",{className:"tag-chip",onClick:()=>i(n),style:{background:u?"var(--ink)":"var(--bg-subtle)",color:u?"var(--bg)":"var(--ink-soft)"},children:k(n)},n)}),o.size>0&&t.jsx("button",{className:"tag-chip",onClick:()=>h(new Set),style:{background:"transparent",color:"var(--ink-faint)"},children:"Clear ✕"})]}),t.jsx("div",{className:"sort-bar",children:t.jsx("div",{className:"results-count",children:m.isLoading?"…":`${f.length} conferences`})}),m.isLoading?t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(320px, 1fr))",gap:16},children:Array.from({length:6}).map((n,u)=>t.jsx(W,{className:"h-44"},u))}):f.length===0?t.jsxs("div",{className:"no-results",children:["No conferences match these filters",l?".":" — try enabling “Show past conferences”."]}):t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(320px, 1fr))",gap:16},children:f.map(n=>t.jsx(ne,{conf:n,now:d,selectedDomains:o,onToggleDomain:i,onOpen:p},n.id))}),t.jsx(ae,{conf:a,open:a!==null,onOpenChange:n=>{n||p(null)}})]})};export{he as default};
 
1
+ import{i as y,j as t,b as A,x as L}from"./index-B0aq-iar.js";import{S as B}from"./switch-COw0Jfww.js";import{S as W}from"./skeleton-DsZ-wKhC.js";import{A as U,a as M}from"./alert-Cf45hSUq.js";import{s as _}from"./safeExternalHref-CkBrsh84.js";import{D as O,a as V,c as P,b as G,d as H}from"./dialog-CMqnZdwE.js";import{s as Q,n as S,f as $,p as Y,u as N,l as k,a as z,c as b,D as K,i as I,b as R,d as X}from"./deadlines-BG5SWwEG.js";import{u as q}from"./useDocumentTitle-gwKq10Vr.js";import{I as J}from"./pageTitles-DPtr8SUn.js";import"./index-Byiu5LS8.js";const w={fontFamily:"var(--mono)",fontSize:10,letterSpacing:"0.12em",textTransform:"uppercase",color:"var(--ink-faint)"},Z=(e,s)=>{const l=Math.ceil((e-s)/K);return l<=0?"passed":`${l} ${l===1?"day":"days"}`},F=(e,s)=>{const l=$(e.start_date,e.end_date),r=e.venue||[e.city,e.country].filter(Boolean).join(", ");return[`${s.label||s.type||"Deadline"} for ${e.name}`,l?`Dates: ${l}`:null,r?`Location: ${r}`:null,e.url?`Website: ${e.url}`:null].filter(Boolean).join(`
2
  `)},C=e=>e.toISOString().replace(/[-:]/g,"").replace(/\.\d{3}/,""),ee=(e,s)=>{const l=new Date(s.deadline_at),r=new Date(l.getTime()+60*60*1e3),o=`${e.short_name||e.name} ${s.label||s.type||"deadline"}`,h=e.venue||[e.city,e.country].filter(Boolean).join(", "),a=`https://calendar.google.com/calendar/render?action=TEMPLATE&text=${encodeURIComponent(o)}&dates=${C(l)}/${C(r)}&details=${encodeURIComponent(F(e,s))}&location=${encodeURIComponent(h)}`,p=_(a);p&&window.open(p,"_blank","noopener,noreferrer")},te=(e,s)=>{const l=new Date(s.deadline_at),r=new Date(l.getTime()+60*60*1e3),o=`${e.short_name||e.name} ${s.label||s.type||"deadline"}`,h=e.venue||[e.city,e.country].filter(Boolean).join(", "),a=["BEGIN:VCALENDAR","VERSION:2.0","BEGIN:VEVENT",e.url?`URL:${e.url}`:null,`DTSTART:${C(l)}`,`DTEND:${C(r)}`,`SUMMARY:${o}`,`DESCRIPTION:${F(e,s).replace(/\n/g,"\\n")}`,h?`LOCATION:${h}`:null,"END:VEVENT","END:VCALENDAR"].filter(Boolean).join(`
3
  `),p=new Blob([a],{type:"text/calendar;charset=utf-8"}),d=document.createElement("a");d.href=URL.createObjectURL(p),d.download=`${(e.short_name||e.name).toLowerCase().replace(/\s+/g,"-")}-deadline.ics`,document.body.appendChild(d),d.click(),document.body.removeChild(d),URL.revokeObjectURL(d.href)},ae=({conf:e,open:s,onOpenChange:l})=>{const[r,o]=y.useState(()=>Date.now());y.useEffect(()=>{if(!s)return;o(Date.now());const i=setInterval(()=>o(Date.now()),1e3);return()=>clearInterval(i)},[s]);const h=y.useMemo(()=>e?Q(e):[],[e]),a=y.useMemo(()=>e?S(e,r):null,[e,r]),p=e?$(e.start_date,e.end_date):null,d=e?e.venue||[e.city,e.country].filter(Boolean).join(", ")||e.location:null,m=a?new Date(a.deadline_at).getTime():null;return t.jsx(O,{open:s,onOpenChange:l,children:t.jsx(V,{className:"max-w-xl",style:{background:"var(--bg-elevated)",maxHeight:"85vh",overflowY:"auto"},children:e&&t.jsxs(t.Fragment,{children:[t.jsxs(P,{children:[t.jsx(G,{asChild:!0,children:t.jsx("h2",{style:{fontFamily:"var(--serif)",fontSize:26,fontWeight:500,letterSpacing:"-0.01em",margin:0},children:e.short_name?`${e.short_name} ${e.year??""}`.trim():e.name})}),e.short_name&&e.name||e.description?t.jsx(H,{asChild:!0,children:t.jsx("span",{style:{fontFamily:"var(--serif)",fontSize:14,color:"var(--ink-soft)"},children:e.short_name?e.name:e.description})}):null]}),t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:20,marginTop:4},children:[t.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:24},children:[p&&t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:4},children:[t.jsx("span",{style:w,children:"Dates"}),t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:13,color:"var(--ink-soft)"},children:p})]}),d&&t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:4},children:[t.jsx("span",{style:w,children:"Venue"}),t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:13,color:"var(--ink-soft)"},children:d})]})]}),m!=null&&t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:4,padding:"12px 14px",borderRadius:8,background:"var(--bg-subtle)",border:"1px solid var(--hairline)"},children:[t.jsx("span",{style:w,children:"Next deadline in"}),t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:22,fontWeight:600,color:N(m,r)},children:Y(m,r)})]}),t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[t.jsx("span",{style:w,children:"Important deadlines"}),h.length===0?t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:13,color:"var(--ink-faint)"},children:"Deadlines not announced yet"}):h.map((i,c)=>{const f=new Date(i.deadline_at).getTime(),n=a!=null&&i.deadline_at===a.deadline_at&&i.type===a.type,u=f<=r;return t.jsxs("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between",gap:12,padding:"8px 12px",borderRadius:6,background:n?"var(--accent-soft)":"transparent",border:n?"1px solid var(--hairline-strong)":"1px solid var(--hairline)",opacity:u&&!n?.55:1},children:[t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:2},children:[t.jsxs("span",{style:{fontFamily:"var(--mono)",fontSize:13,color:"var(--ink)",fontWeight:n?600:400},children:[i.label||k(i.type||"deadline"),n&&t.jsx("span",{style:{...w,marginLeft:8},children:"Next"})]}),t.jsxs("span",{style:{fontFamily:"var(--mono)",fontSize:12,color:"var(--ink-faint)"},children:[z(i.deadline_at),i.timezone?` · ${i.timezone}`:""]})]}),t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:12,fontWeight:600,whiteSpace:"nowrap",color:N(u?null:f,r)},children:Z(f,r)})]},`${i.type??"deadline"}-${c}`)})]}),b(e).length>0&&t.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:6},children:b(e).map(i=>t.jsx("span",{className:"tag-chip",style:{background:"var(--bg-subtle)",color:"var(--ink-soft)"},children:k(i)},i))}),t.jsxs("div",{style:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:16,paddingTop:12,borderTop:"1px solid var(--hairline)"},children:[e.url&&t.jsx("a",{href:_(e.url)??void 0,target:"_blank",rel:"noopener noreferrer",style:{fontFamily:"var(--mono)",fontSize:12,color:"var(--accent-text)"},children:"Visit website ↗"}),a&&t.jsxs("div",{style:{display:"flex",gap:12,marginLeft:"auto"},children:[t.jsx("button",{type:"button",className:"tag-chip",onClick:()=>ee(e,a),style:{background:"var(--bg-subtle)",color:"var(--ink-soft)"},children:"+ Google Calendar"}),t.jsx("button",{type:"button",className:"tag-chip",onClick:()=>te(e,a),style:{background:"var(--bg-subtle)",color:"var(--ink-soft)"},children:"+ Apple / .ics"})]})]})]})]})})})},E=({id:e,label:s,checked:l,onChange:r})=>t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,fontFamily:"var(--mono)",fontSize:12,color:"var(--ink-soft)"},children:[t.jsx(B,{id:e,checked:l,onCheckedChange:r}),t.jsx("label",{htmlFor:e,style:{cursor:"pointer"},children:s})]}),ne=({conf:e,now:s,selectedDomains:l,onToggleDomain:r,onOpen:o})=>{const h=S(e,s),a=h??R(e),p=a?new Date(a.deadline_at).getTime():null,d=N(h?p:null,s),m=$(e.start_date,e.end_date),i=[e.city??null,e.country??null].filter(Boolean).join(", ");return t.jsxs("div",{role:"button",tabIndex:0,onClick:()=>o(e),onKeyDown:c=>{(c.key==="Enter"||c.key===" ")&&(c.preventDefault(),o(e))},style:{border:"1px solid var(--hairline)",borderRadius:8,padding:20,background:"var(--bg-elevated)",display:"flex",flexDirection:"column",gap:12,cursor:"pointer"},children:[t.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"baseline",gap:12},children:[t.jsx("h3",{style:{fontFamily:"var(--serif)",fontSize:20,fontWeight:500,letterSpacing:"-0.01em",margin:0},children:e.short_name?`${e.short_name} ${e.year??""}`.trim():e.name}),e.url&&t.jsx("a",{href:_(e.url)??void 0,target:"_blank",rel:"noopener noreferrer",onClick:c=>c.stopPropagation(),style:{fontFamily:"var(--mono)",fontSize:11,color:"var(--accent-text)",whiteSpace:"nowrap"},children:"website ↗"})]}),t.jsxs("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between",gap:12,paddingBottom:12,borderBottom:"1px solid var(--hairline)"},children:[t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:2},children:[t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:11,color:"var(--ink-faint)"},children:(a==null?void 0:a.label)||(a==null?void 0:a.type)||"Deadlines"}),t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:12,color:"var(--ink-soft)"},children:a?`${z(a.deadline_at)}${a.timezone?` · ${a.timezone}`:""}`:"Not announced yet"})]}),t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:14,fontWeight:600,color:d,whiteSpace:"nowrap"},children:p!=null?X(p,s):"TBA"})]}),t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:4,fontFamily:"var(--mono)",fontSize:11,color:"var(--ink-faint)"},children:[m&&t.jsx("span",{children:m}),i&&t.jsx("span",{children:i})]}),b(e).length>0&&t.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:6},children:b(e).map(c=>{const f=l.has(c);return t.jsx("button",{className:"tag-chip",onClick:n=>{n.stopPropagation(),r(c)},style:{background:f?"var(--ink)":"var(--bg-subtle)",color:f?"var(--bg)":"var(--ink-soft)"},children:k(c)},c)})})]})},he=()=>{q(J.aiDeadlines);const[e,s]=y.useState(!0),[l,r]=y.useState(!1),[o,h]=y.useState(new Set),[a,p]=y.useState(null),d=y.useMemo(()=>Date.now(),[]),m=A(L.conferenceDeadlines()),i=n=>{h(u=>{const x=new Set(u);return x.has(n)?x.delete(n):x.add(n),x})},c=y.useMemo(()=>{var u;const n=new Map;return(u=m.data)==null||u.results.forEach(x=>{b(x).forEach(j=>n.set(j,(n.get(j)??0)+1))}),Array.from(n.entries()).sort((x,j)=>j[1]-x[1]).map(([x])=>x)},[m.data]),f=y.useMemo(()=>{var j;const u=(((j=m.data)==null?void 0:j.results)??[]).filter(g=>!(e&&g.tier!=="a"||o.size>0&&!b(g).some(v=>o.has(v))||!l&&!I(g)&&!S(g,d))),x=g=>{const D=S(g,d);if(D)return{group:0,time:new Date(D.deadline_at).getTime()};if(I(g))return{group:1,time:g.start_date?new Date(g.start_date).getTime():0};const v=R(g);return{group:2,time:-(v?new Date(v.deadline_at).getTime():0)}};return[...u].sort((g,D)=>{const v=x(g),T=x(D);return v.group!==T.group?v.group-T.group:v.time-T.time})},[m.data,e,l,o,d]);return m.error?t.jsx("div",{className:"page",children:t.jsx(U,{variant:"destructive",children:t.jsx(M,{children:"Failed to load conference deadlines. Please try again."})})}):t.jsxs("div",{className:"page",children:[t.jsx("div",{className:"feed-header",children:t.jsxs("div",{children:[t.jsxs("h1",{className:"feed-title",children:["AI Conference ",t.jsx("em",{children:"Deadlines"})]}),t.jsx("div",{className:"feed-subtitle",children:"Upcoming submission deadlines for major AI conferences, counting down."})]})}),t.jsxs("div",{style:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:20,padding:"16px 0",borderBottom:"1px solid var(--hairline)",marginBottom:24},children:[t.jsx(E,{id:"top-tier-only",label:"Top tier only",checked:e,onChange:s}),t.jsx(E,{id:"show-past",label:"Show past conferences",checked:l,onChange:r})]}),c.length>0&&t.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:6,marginBottom:24},children:[c.map(n=>{const u=o.has(n);return t.jsx("button",{className:"tag-chip",onClick:()=>i(n),style:{background:u?"var(--ink)":"var(--bg-subtle)",color:u?"var(--bg)":"var(--ink-soft)"},children:k(n)},n)}),o.size>0&&t.jsx("button",{className:"tag-chip",onClick:()=>h(new Set),style:{background:"transparent",color:"var(--ink-faint)"},children:"Clear ✕"})]}),t.jsx("div",{className:"sort-bar",children:t.jsx("div",{className:"results-count",children:m.isLoading?"…":`${f.length} conferences`})}),m.isLoading?t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(320px, 1fr))",gap:16},children:Array.from({length:6}).map((n,u)=>t.jsx(W,{className:"h-44"},u))}):f.length===0?t.jsxs("div",{className:"no-results",children:["No conferences match these filters",l?".":" — try enabling “Show past conferences”."]}):t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(320px, 1fr))",gap:16},children:f.map(n=>t.jsx(ne,{conf:n,now:d,selectedDomains:o,onToggleDomain:i,onOpen:p},n.id))}),t.jsx(ae,{conf:a,open:a!==null,onOpenChange:n=>{n||p(null)}})]})};export{he as default};
assets/{ApiDocsView-B2O4WaSc.js → ApiDocsView-CKP3K1Oj.js} RENAMED
@@ -1,4 +1,4 @@
1
- import{d as m,ay as R,i as x,b as E,j as e}from"./index-BhKQv9LT.js";import{u as I}from"./useDocumentTitle-DGWKz2sg.js";import{T}from"./trophy-Cjn1hvpp.js";import{D as _}from"./database-BI44wXxm.js";import{F as S}from"./file-text-CH7tJG0i.js";import{M as O}from"./index-COKyUVjd.js";/**
2
  * @license lucide-react v0.462.0 - ISC
3
  *
4
  * This source code is licensed under the ISC license.
 
1
+ import{d as m,ay as R,i as x,b as E,j as e}from"./index-B0aq-iar.js";import{u as I}from"./useDocumentTitle-gwKq10Vr.js";import{T}from"./trophy-BxvfHC6g.js";import{D as _}from"./database-F1rgBGr5.js";import{F as S}from"./file-text-CxYjO52k.js";import{M as O}from"./index-B9qpvwaI.js";/**
2
  * @license lucide-react v0.462.0 - ISC
3
  *
4
  * This source code is licensed under the ISC license.
assets/{AreaSection-D3xwtKAs.js → AreaSection-DEBdDI6z.js} RENAMED
@@ -1 +1 @@
1
- import{j as s}from"./index-BhKQv9LT.js";import{S as l}from"./skeleton-BkbzA0oF.js";const m=({id:t,title:a,description:e,meta:r,style:c,children:i})=>s.jsxs("section",{id:t,className:"area-section",style:c,children:[s.jsxs("div",{className:"area-section-head",children:[s.jsxs("div",{children:[s.jsx("h2",{className:"area-section-title",children:a}),e&&s.jsx("div",{className:"area-section-description",children:e})]}),s.jsx("div",{className:"area-section-meta",children:r})]}),s.jsx("div",{className:"tag-grid",children:i})]}),h=({sections:t=4,tiles:a,tileClassName:e})=>s.jsx("div",{className:"area-directory-skeleton",children:Array.from({length:t}).map((r,c)=>s.jsxs("div",{children:[s.jsx(l,{className:"h-8 w-1/3 mb-4"}),s.jsx("div",{className:"tag-grid",children:Array.from({length:a}).map((i,n)=>s.jsx(l,{className:e},n))})]},c))}),x=({areas:t})=>{const a=t.filter(r=>r.tasks.length>0),e=a.reduce((r,c)=>r+c.tasks.length,0);return e===0?null:s.jsxs("div",{className:"area-directory-footer",children:[e," tasks across ",a.length," areas."]})};export{h as A,m as a,x as b};
 
1
+ import{j as s}from"./index-B0aq-iar.js";import{S as l}from"./skeleton-DsZ-wKhC.js";const m=({id:t,title:a,description:e,meta:r,style:c,children:i})=>s.jsxs("section",{id:t,className:"area-section",style:c,children:[s.jsxs("div",{className:"area-section-head",children:[s.jsxs("div",{children:[s.jsx("h2",{className:"area-section-title",children:a}),e&&s.jsx("div",{className:"area-section-description",children:e})]}),s.jsx("div",{className:"area-section-meta",children:r})]}),s.jsx("div",{className:"tag-grid",children:i})]}),h=({sections:t=4,tiles:a,tileClassName:e})=>s.jsx("div",{className:"area-directory-skeleton",children:Array.from({length:t}).map((r,c)=>s.jsxs("div",{children:[s.jsx(l,{className:"h-8 w-1/3 mb-4"}),s.jsx("div",{className:"tag-grid",children:Array.from({length:a}).map((i,n)=>s.jsx(l,{className:e},n))})]},c))}),x=({areas:t})=>{const a=t.filter(r=>r.tasks.length>0),e=a.reduce((r,c)=>r+c.tasks.length,0);return e===0?null:s.jsxs("div",{className:"area-directory-footer",children:[e," tasks across ",a.length," areas."]})};export{h as A,m as a,x as b};
assets/{AstraForRoboticsView-FJuy-6Nf.js → AstraForRoboticsView-B1wAc0Ip.js} RENAMED
@@ -1 +1 @@
1
- import{y as p,i as u,j as a,L as o,E as g}from"./index-BhKQv9LT.js";import{d as x,u as b,e as f,P as j}from"./usePapers-Cuyi1itG.js";import{A as y,a as v}from"./alert-zC2kYXtI.js";import{u as k,f as w}from"./useDocumentTitle-DGWKz2sg.js";import{t as A}from"./transform-BzmXOpxt.js";import"./PaperCard-CSOLEzIX.js";import"./AuthorAvatar-DfcP8J6o.js";import"./SotaBadges-CcS46IjG.js";import"./colors-BkWRhvFI.js";import"./Icon-Cdqu8Hq_.js";import"./LatexTitle-GmCrtZ_I.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DoQl9nzw.js";import"./skeleton-BkbzA0oF.js";import"./useIntersectionObserver-M_MEUmwh.js";import"./useInfiniteQuery-Ba0y0o7Y.js";const n="robotics",i="gpt-6-astra",_="https://x.com/YuXiang_IRVL/status/2100395131924840570",P=[{handle:"Frame_Robotics",author:"Frame Robotics",summary:"Real-arm control that fixes grip angle and carry height on the next try after a miss.",url:"https://x.com/Frame_Robotics/status/2099900836273090614"},{handle:"qineng_wang",author:"Qineng Wang",summary:"Dual-ALOHA spatial-constraint puzzles: unlocking interlocked parts and threading a rope through three rings.",url:"https://x.com/qineng_wang/status/2099893504658866561"},{handle:"__Rhodium__",author:"Lucas",summary:"In-context learning of the controls and the workspace, reaching the task goal in three tries.",url:"https://x.com/__Rhodium__/status/2099521054678925534"},{handle:"SuveenE",author:"Suveen Ellawela",summary:"Picking up a pipette and fitting a 5 mm tip on a MolmoAct2 real-world eval, using the free hand for a better view.",url:"https://x.com/SuveenE/status/2099448450341605672"},{handle:"cdngdev",author:"thijs",summary:"A robot arm with a paintbrush painting the Golden Gate Bridge, improving across attempts from camera feedback.",url:"https://x.com/cdngdev/status/2097339677128982873"},{handle:"IsaacSin12",author:"Isaac Sin",summary:"Zero-shot sorting of irregularly shaped blocks into cups by color.",url:"https://x.com/IsaacSin12/status/2096715382166098302"},{handle:"chooi_jeq",author:"Jay Chooi",summary:"Robocurve's robot-control comparison: 95% task completion versus 40% for Fable 5.1 at lower cost.",url:"https://x.com/chooi_jeq/status/2096064315115839904"}],R=[{handle:"Lingjun_Mao",author:"Lingjun Mao",summary:"Adapting to a new embodiment to put a cake into an air fryer through CuRobo motion-planning tool APIs.",url:"https://x.com/Lingjun_Mao/status/2100294902672462176"},{handle:"walterzhu8",author:"Wentao Zhu",summary:"A day-and-a-half autonomous run that builds and trains pen spinning on a Sharpa hand in Isaac Lab.",url:"https://x.com/walterzhu8/status/2100212420840989112"},{handle:"mishig25",author:"Mishig",summary:"Painting the Eiffel Tower in MuJoCo with an SO-101 and a brush, with the full experiment shared on Hugging Face.",url:"https://x.com/mishig25/status/2099611674793668676"},{handle:"RunpeiDong",author:"Runpei Dong",summary:"Getting a humanoid into a Tesla in MuJoCo: learning from feedback, then reusing that experience with egocentric perception.",url:"https://x.com/RunpeiDong/status/2099604536327614717"},{handle:"frankzydou",author:"Zhiyang (Frank) Dou",summary:"A LeRobot SO-101 real-world pickup from a third-person RGB camera, where the arm has to bend back to reach the pen.",url:"https://x.com/frankzydou/status/2099338127915512297"},{handle:"Parvkpr",author:"Parv Kapoor",summary:"Real-to-sim: building an interactive simulation environment from a single image or video.",url:"https://x.com/Parvkpr/status/2098847963867238597"},{handle:"z_code68632",author:"code_z",summary:"One demo per task: unscrewing a bottle cap, inserting a plug, clearing obstacles, and imitating a dance on a real robot.",url:"https://x.com/z_code68632/status/2098397364725895387"}],h=({posts:s,label:e})=>a.jsxs("div",{className:"astra-posts",children:[a.jsx("div",{className:"astra-posts-label",children:e}),a.jsx("ul",{children:s.map(t=>a.jsxs("li",{children:[a.jsxs("a",{href:t.url,target:"_blank",rel:"noreferrer",children:["@",t.handle]}),a.jsxs("span",{className:"astra-post-author",children:[" ",t.author]}),a.jsxs("span",{className:"astra-post-summary",children:[" — ",t.summary]})]},t.url))})]}),U=()=>{var l,c;const s=x(),e=b(p.list({task:n,method:i,...s.filters}),r=>g.list({...s.filters,task:n,method:i,page:r,page_size:12}));k(w("GPT-6 Astra for Robotics"));const t=u.useMemo(()=>{var r;return(((r=e.data)==null?void 0:r.pages)??[]).flatMap(m=>m.results.map(A))},[e.data]),d=((c=(l=e.data)==null?void 0:l.pages[0])==null?void 0:c.count)??0;return a.jsxs("div",{className:"page",children:[a.jsxs("nav",{className:"breadcrumb","aria-label":"Breadcrumb",children:[a.jsx(o,{to:"/",children:"Home"}),a.jsx("span",{children:" / "}),a.jsx("span",{children:"GPT-6 Astra for Robotics"})]}),a.jsx("header",{className:"feed-header",children:a.jsxs("div",{children:[a.jsx("div",{className:"astra-eyebrow",children:"Collection"}),a.jsxs("h1",{className:"feed-title",children:["GPT-6 Astra ",a.jsx("em",{children:"for Robotics"})]}),a.jsx("div",{className:"feed-subtitle",children:"Papers, technical reports, and evaluations that put OpenAI’s frontier model in control of real and simulated robots."}),a.jsxs("p",{className:"astra-lede",children:["The GPT-6 Astra launch never mentioned robots, yet within days the model was driving arms, hands, and humanoids. As"," ",a.jsx("a",{href:_,target:"_blank",rel:"noreferrer",children:"Yu Xiang"})," ","framed it, the work splits into two families: Astra acting as the robot policy itself, and Astra acting as an agent that orchestrates everything else."]})]})}),a.jsxs("section",{className:"astra-approaches","aria-label":"How GPT-6 Astra is used for robots",children:[a.jsxs("article",{className:"astra-approach",children:[a.jsx("div",{className:"astra-approach-num",children:"01 / Robot policy"}),a.jsx("h2",{children:"Astra as the policy, like a VLA"}),a.jsx("p",{children:"The model looks at camera frames and robot state and directly emits actions: end-effector poses, joint targets, or gripper commands, closing the control loop step by step with no task-specific training."}),a.jsx(h,{posts:P,label:"Seen on X"})]}),a.jsxs("article",{className:"astra-approach",children:[a.jsx("div",{className:"astra-approach-num",children:"02 / Agent"}),a.jsx("h2",{children:"Astra as the agent"}),a.jsx("p",{children:"The model reasons about the scene, writes and runs code, calls planners and tools, or delegates low-level motion to pretrained policies such as VLAs, and keeps the robot on task over long horizons."}),a.jsx(h,{posts:R,label:"Seen on X"})]})]}),a.jsxs("p",{className:"astra-note",children:["Listing is automatic: any paper tagged with both the"," ",a.jsx(o,{to:`/tasks/${n}`,children:"Robotics"})," task and the"," ",a.jsx(o,{to:`/methods/${i}`,children:"GPT-6 Astra"})," method appears here. Missing a report or preprint?"," ",a.jsx(o,{to:"/submit",children:"Submit it"}),"."]}),a.jsxs("div",{className:"task-section-head",style:{marginTop:36},children:[a.jsx("div",{className:"task-section-eyebrow",children:"Top trending · sort below"}),a.jsxs("div",{className:"task-section-title",children:["Papers ",a.jsxs("span",{className:"meta",children:["[",d.toLocaleString(),"]"]})]})]}),a.jsx(f,{feed:s,showDateFilter:!1}),e.error?a.jsx(y,{variant:"destructive",children:a.jsx(v,{children:"Failed to load the collection. Please try again."})}):a.jsx(j,{query:e,cards:t,empty:"No papers match this selection yet."})]})};export{U as default};
 
1
+ import{y as p,i as u,j as a,L as o,E as g}from"./index-B0aq-iar.js";import{d as x,u as b,e as f,P as j}from"./usePapers-DH6AufOQ.js";import{A as y,a as v}from"./alert-Cf45hSUq.js";import{u as k,f as w}from"./useDocumentTitle-gwKq10Vr.js";import{t as A}from"./transform-BII-_KDB.js";import"./PaperCard-CXKXdRil.js";import"./AuthorAvatar-CWdu93Ln.js";import"./SotaBadges-Dh4JgSRd.js";import"./colors-BkWRhvFI.js";import"./Icon-BkpouXtc.js";import"./LatexTitle-CXLW2LHS.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DdJ3UXiH.js";import"./skeleton-DsZ-wKhC.js";import"./useIntersectionObserver-B5f-R6yl.js";import"./useInfiniteQuery-DIIy94Ek.js";const n="robotics",i="gpt-6-astra",_="https://x.com/YuXiang_IRVL/status/2100395131924840570",P=[{handle:"Frame_Robotics",author:"Frame Robotics",summary:"Real-arm control that fixes grip angle and carry height on the next try after a miss.",url:"https://x.com/Frame_Robotics/status/2099900836273090614"},{handle:"qineng_wang",author:"Qineng Wang",summary:"Dual-ALOHA spatial-constraint puzzles: unlocking interlocked parts and threading a rope through three rings.",url:"https://x.com/qineng_wang/status/2099893504658866561"},{handle:"__Rhodium__",author:"Lucas",summary:"In-context learning of the controls and the workspace, reaching the task goal in three tries.",url:"https://x.com/__Rhodium__/status/2099521054678925534"},{handle:"SuveenE",author:"Suveen Ellawela",summary:"Picking up a pipette and fitting a 5 mm tip on a MolmoAct2 real-world eval, using the free hand for a better view.",url:"https://x.com/SuveenE/status/2099448450341605672"},{handle:"cdngdev",author:"thijs",summary:"A robot arm with a paintbrush painting the Golden Gate Bridge, improving across attempts from camera feedback.",url:"https://x.com/cdngdev/status/2097339677128982873"},{handle:"IsaacSin12",author:"Isaac Sin",summary:"Zero-shot sorting of irregularly shaped blocks into cups by color.",url:"https://x.com/IsaacSin12/status/2096715382166098302"},{handle:"chooi_jeq",author:"Jay Chooi",summary:"Robocurve's robot-control comparison: 95% task completion versus 40% for Fable 5.1 at lower cost.",url:"https://x.com/chooi_jeq/status/2096064315115839904"}],R=[{handle:"Lingjun_Mao",author:"Lingjun Mao",summary:"Adapting to a new embodiment to put a cake into an air fryer through CuRobo motion-planning tool APIs.",url:"https://x.com/Lingjun_Mao/status/2100294902672462176"},{handle:"walterzhu8",author:"Wentao Zhu",summary:"A day-and-a-half autonomous run that builds and trains pen spinning on a Sharpa hand in Isaac Lab.",url:"https://x.com/walterzhu8/status/2100212420840989112"},{handle:"mishig25",author:"Mishig",summary:"Painting the Eiffel Tower in MuJoCo with an SO-101 and a brush, with the full experiment shared on Hugging Face.",url:"https://x.com/mishig25/status/2099611674793668676"},{handle:"RunpeiDong",author:"Runpei Dong",summary:"Getting a humanoid into a Tesla in MuJoCo: learning from feedback, then reusing that experience with egocentric perception.",url:"https://x.com/RunpeiDong/status/2099604536327614717"},{handle:"frankzydou",author:"Zhiyang (Frank) Dou",summary:"A LeRobot SO-101 real-world pickup from a third-person RGB camera, where the arm has to bend back to reach the pen.",url:"https://x.com/frankzydou/status/2099338127915512297"},{handle:"Parvkpr",author:"Parv Kapoor",summary:"Real-to-sim: building an interactive simulation environment from a single image or video.",url:"https://x.com/Parvkpr/status/2098847963867238597"},{handle:"z_code68632",author:"code_z",summary:"One demo per task: unscrewing a bottle cap, inserting a plug, clearing obstacles, and imitating a dance on a real robot.",url:"https://x.com/z_code68632/status/2098397364725895387"}],h=({posts:s,label:e})=>a.jsxs("div",{className:"astra-posts",children:[a.jsx("div",{className:"astra-posts-label",children:e}),a.jsx("ul",{children:s.map(t=>a.jsxs("li",{children:[a.jsxs("a",{href:t.url,target:"_blank",rel:"noreferrer",children:["@",t.handle]}),a.jsxs("span",{className:"astra-post-author",children:[" ",t.author]}),a.jsxs("span",{className:"astra-post-summary",children:[" — ",t.summary]})]},t.url))})]}),U=()=>{var l,c;const s=x(),e=b(p.list({task:n,method:i,...s.filters}),r=>g.list({...s.filters,task:n,method:i,page:r,page_size:12}));k(w("GPT-6 Astra for Robotics"));const t=u.useMemo(()=>{var r;return(((r=e.data)==null?void 0:r.pages)??[]).flatMap(m=>m.results.map(A))},[e.data]),d=((c=(l=e.data)==null?void 0:l.pages[0])==null?void 0:c.count)??0;return a.jsxs("div",{className:"page",children:[a.jsxs("nav",{className:"breadcrumb","aria-label":"Breadcrumb",children:[a.jsx(o,{to:"/",children:"Home"}),a.jsx("span",{children:" / "}),a.jsx("span",{children:"GPT-6 Astra for Robotics"})]}),a.jsx("header",{className:"feed-header",children:a.jsxs("div",{children:[a.jsx("div",{className:"astra-eyebrow",children:"Collection"}),a.jsxs("h1",{className:"feed-title",children:["GPT-6 Astra ",a.jsx("em",{children:"for Robotics"})]}),a.jsx("div",{className:"feed-subtitle",children:"Papers, technical reports, and evaluations that put OpenAI’s frontier model in control of real and simulated robots."}),a.jsxs("p",{className:"astra-lede",children:["The GPT-6 Astra launch never mentioned robots, yet within days the model was driving arms, hands, and humanoids. As"," ",a.jsx("a",{href:_,target:"_blank",rel:"noreferrer",children:"Yu Xiang"})," ","framed it, the work splits into two families: Astra acting as the robot policy itself, and Astra acting as an agent that orchestrates everything else."]})]})}),a.jsxs("section",{className:"astra-approaches","aria-label":"How GPT-6 Astra is used for robots",children:[a.jsxs("article",{className:"astra-approach",children:[a.jsx("div",{className:"astra-approach-num",children:"01 / Robot policy"}),a.jsx("h2",{children:"Astra as the policy, like a VLA"}),a.jsx("p",{children:"The model looks at camera frames and robot state and directly emits actions: end-effector poses, joint targets, or gripper commands, closing the control loop step by step with no task-specific training."}),a.jsx(h,{posts:P,label:"Seen on X"})]}),a.jsxs("article",{className:"astra-approach",children:[a.jsx("div",{className:"astra-approach-num",children:"02 / Agent"}),a.jsx("h2",{children:"Astra as the agent"}),a.jsx("p",{children:"The model reasons about the scene, writes and runs code, calls planners and tools, or delegates low-level motion to pretrained policies such as VLAs, and keeps the robot on task over long horizons."}),a.jsx(h,{posts:R,label:"Seen on X"})]})]}),a.jsxs("p",{className:"astra-note",children:["Listing is automatic: any paper tagged with both the"," ",a.jsx(o,{to:`/tasks/${n}`,children:"Robotics"})," task and the"," ",a.jsx(o,{to:`/methods/${i}`,children:"GPT-6 Astra"})," method appears here. Missing a report or preprint?"," ",a.jsx(o,{to:"/submit",children:"Submit it"}),"."]}),a.jsxs("div",{className:"task-section-head",style:{marginTop:36},children:[a.jsx("div",{className:"task-section-eyebrow",children:"Top trending · sort below"}),a.jsxs("div",{className:"task-section-title",children:["Papers ",a.jsxs("span",{className:"meta",children:["[",d.toLocaleString(),"]"]})]})]}),a.jsx(f,{feed:s,showDateFilter:!1}),e.error?a.jsx(y,{variant:"destructive",children:a.jsx(v,{children:"Failed to load the collection. Please try again."})}):a.jsx(j,{query:e,cards:t,empty:"No papers match this selection yet."})]})};export{U as default};
assets/{AuthorAvatar-DfcP8J6o.js → AuthorAvatar-CWdu93Ln.js} RENAMED
@@ -1 +1 @@
1
- import{i as c,j as r}from"./index-BhKQv9LT.js";const p=a=>a!=null&&a.startsWith("https://")&&!a.startsWith("https://huggingface.co/avatars/")?a:null,h=({url:a,className:o,href:t,label:n})=>{const[i,l]=c.useState(!1),s=i?null:p(a);if(!s)return null;const e=r.jsx("img",{className:`author-avatar-base ${o}`,src:s,alt:"",loading:"lazy",onError:()=>l(!0)});return t?r.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer","aria-label":n,children:e}):e};export{h as A};
 
1
+ import{i as c,j as r}from"./index-B0aq-iar.js";const p=a=>a!=null&&a.startsWith("https://")&&!a.startsWith("https://huggingface.co/avatars/")?a:null,h=({url:a,className:o,href:t,label:n})=>{const[i,l]=c.useState(!1),s=i?null:p(a);if(!s)return null;const e=r.jsx("img",{className:`author-avatar-base ${o}`,src:s,alt:"",loading:"lazy",onError:()=>l(!0)});return t?r.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer","aria-label":n,children:e}):e};export{h as A};
assets/{AuthorDetailView-CVKIS9Gu.js → AuthorDetailView-CnQtbPY1.js} RENAMED
@@ -1 +1 @@
1
- import{u as b,j as a,b as N,y as v,i as F,m as y,aN as A,L as P,O as k,E as $}from"./index-BhKQv9LT.js";import{A as S}from"./AuthorAvatar-DfcP8J6o.js";import{d as L,u as R,e as T,P as w}from"./usePapers-Cuyi1itG.js";import{R as z}from"./ResearchFollowButton-CP34FBeP.js";import{A as C,a as H}from"./alert-zC2kYXtI.js";import{S as D}from"./skeleton-BkbzA0oF.js";import{t as E}from"./transform-BzmXOpxt.js";import f from"./NotFound-CkpULt19.js";import{u as Q}from"./useDocumentTitle-DGWKz2sg.js";import{e as B}from"./pageTitles-Cv5SviVf.js";import"./PaperCard-CSOLEzIX.js";import"./SotaBadges-CcS46IjG.js";import"./colors-BkWRhvFI.js";import"./Icon-Cdqu8Hq_.js";import"./LatexTitle-GmCrtZ_I.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DoQl9nzw.js";import"./useIntersectionObserver-M_MEUmwh.js";import"./useInfiniteQuery-Ba0y0o7Y.js";import"./researchTopic-BP-u0rIC.js";import"./useMutation-DPQn8VkK.js";import"./FollowerAvatar-CdsnfvtL.js";import"./plus-Da5UgLnk.js";const M=({authorId:r})=>{var n,i,l,c,p,d,h,u,m;const o=L(),{searchParams:g}=o,e=N(k.author(r));Q(((n=e.data)==null?void 0:n.full_name)&&B(e.data.full_name));const s=R(v.list({author:r,...o.filters}),t=>$.list({...o.filters,author:r,page:t,page_size:12})),x=F.useMemo(()=>{var t;return(((t=s.data)==null?void 0:t.pages)??[]).flatMap(_=>_.results.map(E))},[s.data]),j=((l=(i=s.data)==null?void 0:i.pages[0])==null?void 0:l.count)??0;if(y(e.error))return a.jsx(f,{});if((c=e.data)!=null&&c.organization_slug){const t=g.toString();return a.jsx(A,{to:`/orgs/${e.data.organization_slug}${t?`?${t}`:""}`,replace:!0})}return a.jsxs("div",{className:"page",children:[a.jsxs("nav",{className:"breadcrumb","aria-label":"Breadcrumb",children:[a.jsx(P,{to:"/",children:"Home"}),a.jsx("span",{children:" / "}),a.jsx("span",{children:"Authors"}),a.jsx("span",{children:" / "}),a.jsx("span",{children:((p=e.data)==null?void 0:p.full_name)??r})]}),a.jsxs("header",{className:"author-hero",children:[a.jsx("div",{className:"organizations-eyebrow",children:"AUTHOR"}),a.jsxs("div",{className:"author-hero-title",children:[(d=e.data)!=null&&d.photo?a.jsxs("figure",{className:"author-photo",children:[a.jsx("img",{className:"author-avatar-base author-avatar",src:e.data.photo.url,alt:""}),a.jsxs("figcaption",{children:["Photo:"," ",a.jsx("a",{href:e.data.photo.source_url,target:"_blank",rel:"noopener noreferrer",children:e.data.photo.credit}),", ",e.data.photo.license_url?a.jsx("a",{href:e.data.photo.license_url,target:"_blank",rel:"noopener noreferrer",children:e.data.photo.license}):e.data.photo.license]})]}):((h=e.data)==null?void 0:h.hf_username)&&a.jsx(S,{className:"author-avatar",url:e.data.hf_avatar_url,href:`https://huggingface.co/${e.data.hf_username}`,label:`@${e.data.hf_username} on Hugging Face`}),a.jsx("h1",{className:"feed-title",children:((u=e.data)==null?void 0:u.full_name)??a.jsx(D,{className:"h-12 w-64 inline-block"})})]}),e.data&&a.jsxs("div",{className:"feed-subtitle",children:[e.data.paper_count.toLocaleString()," ",e.data.paper_count===1?"paper":"papers",e.data.hf_username&&a.jsxs(a.Fragment,{children:[" · ",a.jsxs("a",{href:`https://huggingface.co/${e.data.hf_username}`,target:"_blank",rel:"noopener noreferrer",children:["@",e.data.hf_username," on Hugging Face ↗"]})]}),e.data.google_scholar_id&&a.jsxs(a.Fragment,{children:[" · ",a.jsx("a",{href:`https://scholar.google.com/citations?user=${encodeURIComponent(e.data.google_scholar_id)}`,target:"_blank",rel:"noopener noreferrer",children:"Google Scholar ↗"})]})]}),e.data&&a.jsx(z,{kind:"author",entityId:e.data.id})]}),a.jsx(T,{feed:o,style:{alignItems:"center",gap:16},children:a.jsxs("div",{className:"results-count",children:[j.toLocaleString()," papers"]})}),s.error?a.jsx(C,{variant:"destructive",children:a.jsxs(H,{children:["Failed to load papers."," ",a.jsx("button",{type:"button",onClick:()=>void s.refetch(),children:"Try again"})]})}):a.jsx(w,{query:s,cards:x,empty:((m=e.data)==null?void 0:m.paper_count)===0?"No public papers are available.":"No papers found for this selection."})]})},da=()=>{const{authorId:r}=b();return r?a.jsx(M,{authorId:r},r):a.jsx(f,{})};export{da as default};
 
1
+ import{u as b,j as a,b as N,y as v,i as F,m as y,aN as A,L as P,O as k,E as $}from"./index-B0aq-iar.js";import{A as S}from"./AuthorAvatar-CWdu93Ln.js";import{d as L,u as R,e as T,P as w}from"./usePapers-DH6AufOQ.js";import{R as z}from"./ResearchFollowButton-D0tv80JF.js";import{A as C,a as H}from"./alert-Cf45hSUq.js";import{S as D}from"./skeleton-DsZ-wKhC.js";import{t as E}from"./transform-BII-_KDB.js";import f from"./NotFound-iYKf4_7M.js";import{u as Q}from"./useDocumentTitle-gwKq10Vr.js";import{e as B}from"./pageTitles-DPtr8SUn.js";import"./PaperCard-CXKXdRil.js";import"./SotaBadges-Dh4JgSRd.js";import"./colors-BkWRhvFI.js";import"./Icon-BkpouXtc.js";import"./LatexTitle-CXLW2LHS.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DdJ3UXiH.js";import"./useIntersectionObserver-B5f-R6yl.js";import"./useInfiniteQuery-DIIy94Ek.js";import"./researchTopic-179EqBPz.js";import"./useMutation-DxP7YVP3.js";import"./FollowerAvatar-DMLlkjGd.js";import"./plus-Ig6EFSa0.js";const M=({authorId:r})=>{var n,i,l,c,p,d,h,u,m;const o=L(),{searchParams:g}=o,e=N(k.author(r));Q(((n=e.data)==null?void 0:n.full_name)&&B(e.data.full_name));const s=R(v.list({author:r,...o.filters}),t=>$.list({...o.filters,author:r,page:t,page_size:12})),x=F.useMemo(()=>{var t;return(((t=s.data)==null?void 0:t.pages)??[]).flatMap(_=>_.results.map(E))},[s.data]),j=((l=(i=s.data)==null?void 0:i.pages[0])==null?void 0:l.count)??0;if(y(e.error))return a.jsx(f,{});if((c=e.data)!=null&&c.organization_slug){const t=g.toString();return a.jsx(A,{to:`/orgs/${e.data.organization_slug}${t?`?${t}`:""}`,replace:!0})}return a.jsxs("div",{className:"page",children:[a.jsxs("nav",{className:"breadcrumb","aria-label":"Breadcrumb",children:[a.jsx(P,{to:"/",children:"Home"}),a.jsx("span",{children:" / "}),a.jsx("span",{children:"Authors"}),a.jsx("span",{children:" / "}),a.jsx("span",{children:((p=e.data)==null?void 0:p.full_name)??r})]}),a.jsxs("header",{className:"author-hero",children:[a.jsx("div",{className:"organizations-eyebrow",children:"AUTHOR"}),a.jsxs("div",{className:"author-hero-title",children:[(d=e.data)!=null&&d.photo?a.jsxs("figure",{className:"author-photo",children:[a.jsx("img",{className:"author-avatar-base author-avatar",src:e.data.photo.url,alt:""}),a.jsxs("figcaption",{children:["Photo:"," ",a.jsx("a",{href:e.data.photo.source_url,target:"_blank",rel:"noopener noreferrer",children:e.data.photo.credit}),", ",e.data.photo.license_url?a.jsx("a",{href:e.data.photo.license_url,target:"_blank",rel:"noopener noreferrer",children:e.data.photo.license}):e.data.photo.license]})]}):((h=e.data)==null?void 0:h.hf_username)&&a.jsx(S,{className:"author-avatar",url:e.data.hf_avatar_url,href:`https://huggingface.co/${e.data.hf_username}`,label:`@${e.data.hf_username} on Hugging Face`}),a.jsx("h1",{className:"feed-title",children:((u=e.data)==null?void 0:u.full_name)??a.jsx(D,{className:"h-12 w-64 inline-block"})})]}),e.data&&a.jsxs("div",{className:"feed-subtitle",children:[e.data.paper_count.toLocaleString()," ",e.data.paper_count===1?"paper":"papers",e.data.hf_username&&a.jsxs(a.Fragment,{children:[" · ",a.jsxs("a",{href:`https://huggingface.co/${e.data.hf_username}`,target:"_blank",rel:"noopener noreferrer",children:["@",e.data.hf_username," on Hugging Face ↗"]})]}),e.data.google_scholar_id&&a.jsxs(a.Fragment,{children:[" · ",a.jsx("a",{href:`https://scholar.google.com/citations?user=${encodeURIComponent(e.data.google_scholar_id)}`,target:"_blank",rel:"noopener noreferrer",children:"Google Scholar ↗"})]})]}),e.data&&a.jsx(z,{kind:"author",entityId:e.data.id})]}),a.jsx(T,{feed:o,style:{alignItems:"center",gap:16},children:a.jsxs("div",{className:"results-count",children:[j.toLocaleString()," papers"]})}),s.error?a.jsx(C,{variant:"destructive",children:a.jsxs(H,{children:["Failed to load papers."," ",a.jsx("button",{type:"button",onClick:()=>void s.refetch(),children:"Try again"})]})}):a.jsx(w,{query:s,cards:x,empty:((m=e.data)==null?void 0:m.paper_count)===0?"No public papers are available.":"No papers found for this selection."})]})},da=()=>{const{authorId:r}=b();return r?a.jsx(M,{authorId:r},r):a.jsx(f,{})};export{da as default};
assets/{AuthorizePaperEditView-CNpZXbDu.js → AuthorizePaperEditView-ySTmBCjO.js} RENAMED
@@ -1 +1 @@
1
- import{u as o,a as u,b as d,p as l,j as e,L as c,H as p,c as h}from"./index-BhKQv9LT.js";import{u as g}from"./useMutation-DPQn8VkK.js";import{B as x}from"./button-CbtZIybp.js";function f(){const{authorizationId:i=""}=o(),{user:a,isLoading:n}=u(),t=d({...l.authorization(i),retry:!1}),r=g({mutationFn:()=>h.approve(i)}),s=t.data;return e.jsxs("section",{className:"mx-auto max-w-xl space-y-5 px-6 py-12",children:[e.jsx("h1",{className:"text-2xl font-semibold",children:"Authorize your agent to edit a paper"}),(t.isLoading||n)&&e.jsx("p",{children:"Loading authorization…"}),t.error&&e.jsx("p",{role:"alert",children:t.error.message}),s&&e.jsxs(e.Fragment,{children:[e.jsx(c,{className:"underline",to:`/paper/${s.paper_id}`,children:s.title}),e.jsxs("p",{children:["Check that your CLI shows this code: ",e.jsx("strong",{className:"font-mono",children:s.user_code})]}),e.jsx("p",{children:"Only approve a request you started. Your agent will be able to publish changes to this paper’s links, tags, and evaluation results for one hour, without further approval."}),e.jsx("p",{children:"Edits appear publicly under your Hugging Face username. You can edit up to 20 distinct papers per UTC day. Evaluation deletion and changes to shared benchmark definitions require an administrator."}),r.isSuccess||s.approved?e.jsx("p",{role:"status",children:"Access approved. Return to your CLI to continue."}):a?e.jsxs(e.Fragment,{children:[e.jsxs("p",{children:["Signed in as ",e.jsxs("strong",{children:["@",a.username]})]}),e.jsx(x,{disabled:r.isPending||!a.can_directly_edit_catalog,onClick:()=>r.mutate(),children:r.isPending?"Authorizing…":"Authorize for one hour"}),!a.can_directly_edit_catalog&&e.jsx("p",{children:"Direct editing is unavailable for this session."})]}):e.jsx(p,{returnTo:`/authorize-paper-edit/${i}`,label:"Sign in with Hugging Face"}),r.error&&e.jsx("p",{role:"alert",children:r.error.message})]})]})}export{f as default};
 
1
+ import{u as o,a as u,b as d,p as l,j as e,L as c,H as p,c as h}from"./index-B0aq-iar.js";import{u as g}from"./useMutation-DxP7YVP3.js";import{B as x}from"./button-TpPKOW28.js";function f(){const{authorizationId:i=""}=o(),{user:a,isLoading:n}=u(),t=d({...l.authorization(i),retry:!1}),r=g({mutationFn:()=>h.approve(i)}),s=t.data;return e.jsxs("section",{className:"mx-auto max-w-xl space-y-5 px-6 py-12",children:[e.jsx("h1",{className:"text-2xl font-semibold",children:"Authorize your agent to edit a paper"}),(t.isLoading||n)&&e.jsx("p",{children:"Loading authorization…"}),t.error&&e.jsx("p",{role:"alert",children:t.error.message}),s&&e.jsxs(e.Fragment,{children:[e.jsx(c,{className:"underline",to:`/paper/${s.paper_id}`,children:s.title}),e.jsxs("p",{children:["Check that your CLI shows this code: ",e.jsx("strong",{className:"font-mono",children:s.user_code})]}),e.jsx("p",{children:"Only approve a request you started. Your agent will be able to publish changes to this paper’s links, tags, and evaluation results for one hour, without further approval."}),e.jsx("p",{children:"Edits appear publicly under your Hugging Face username. You can edit up to 20 distinct papers per UTC day. Evaluation deletion and changes to shared benchmark definitions require an administrator."}),r.isSuccess||s.approved?e.jsx("p",{role:"status",children:"Access approved. Return to your CLI to continue."}):a?e.jsxs(e.Fragment,{children:[e.jsxs("p",{children:["Signed in as ",e.jsxs("strong",{children:["@",a.username]})]}),e.jsx(x,{disabled:r.isPending||!a.can_directly_edit_catalog,onClick:()=>r.mutate(),children:r.isPending?"Authorizing…":"Authorize for one hour"}),!a.can_directly_edit_catalog&&e.jsx("p",{children:"Direct editing is unavailable for this session."})]}):e.jsx(p,{returnTo:`/authorize-paper-edit/${i}`,label:"Sign in with Hugging Face"}),r.error&&e.jsx("p",{role:"alert",children:r.error.message})]})]})}export{f as default};
assets/{AutonomousOperations-ezA9vQMm.js → AutonomousOperations-DUuzrGjW.js} RENAMED
@@ -1 +1 @@
1
- import{v as R,i as d,b as B,a1 as A,j as e,L as q,ag as g}from"./index-BhKQv9LT.js";import{u as Q}from"./useMutation-DPQn8VkK.js";import{C as i,e as n,S as H,b as l,c as r,t as E,f as m}from"./CronDashboard-t8M9VzNu.js";import{B as I}from"./badge-Dssrs_RO.js";import{B as x}from"./button-CbtZIybp.js";import{I as h}from"./input-BDLNu7DN.js";import{A as P}from"./activity-Bl3XH8Oh.js";import{A as D}from"./arrow-left-BIaK_wN7.js";const u={submissions:"Submission review",curation:"Scheduled curation",cron_health:"CRON health",chat_reliability:"Chat reliability"},S={healthy:"healthy",degraded:"degraded",repairing:"running","rolled-back":"broken",manual:"degraded"},V=()=>{var C;const M=R(),[j,T]=d.useState(""),[p,v]=d.useState(""),[f,_]=d.useState({}),[b,N]=d.useState(""),c=B({...A.autonomousOperations(),refetchInterval:3e4,retry:!1}),t=Q({mutationFn:s=>s(),onSuccess:s=>{M.setQueryData(A.autonomousOperations().queryKey,s),v(""),_({}),N("")}}),a=c.data,y=t.error instanceof Error?t.error.message:null;if(c.isLoading)return e.jsx("div",{className:"page","aria-busy":"true",children:"Loading autonomous operations…"});if(c.error||!a)return e.jsxs("div",{className:"page",children:[e.jsx("h1",{children:"Autonomous operations unavailable"}),e.jsx("p",{children:c.error instanceof Error?c.error.message:"No status was returned."})]});const O=()=>t.mutate(()=>g.setAutonomousManualMode(!a.manual_mode,a.revision,p)),k=(s,o)=>t.mutate(()=>g.setAutonomousOperator(s,o,a.revision,f[s]??"")),w=()=>{var o;const s=((o=a.baseline)==null?void 0:o.revision)??0;t.mutate(()=>g.qualifyAutonomousChatBaseline(j,s,b))};return e.jsx("div",{className:"cron-dashboard","data-shadcn":!0,children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8 space-y-6",children:[e.jsxs("div",{className:"flex items-center justify-between gap-4 flex-wrap",children:[e.jsxs("div",{children:[e.jsxs("h1",{className:"text-3xl font-bold flex items-center gap-3",children:[e.jsx(P,{className:"h-8 w-8"}),"Autonomous operations"]}),e.jsx("p",{className:"mt-2 cron-muted",children:"Content-free supervision, remote controls, and bounded audit history."})]}),e.jsx(x,{asChild:!0,variant:"outline",children:e.jsxs(q,{to:"/admin-dashboard",children:[e.jsx(D,{className:"h-4 w-4 mr-2"}),"Admin dashboard"]})})]}),a.manual_mode&&e.jsx(i,{className:"cron-status--degraded",role:"status",children:e.jsxs(n,{className:"pt-6 flex gap-3",children:[e.jsx(H,{className:"h-5 w-5"}),e.jsxs("div",{children:[e.jsx("strong",{children:"Manual mode is enabled."}),e.jsxs("p",{children:[a.monitoring_active?"Monitoring remains active":"Monitoring is not currently verified","; autonomous callbacks, retries, deployments, and data mutations fail closed."]})]})]})}),e.jsxs("div",{className:"grid md:grid-cols-4 gap-4",children:[e.jsxs(i,{className:E(S[a.display_state]),children:[e.jsx(l,{children:e.jsx(r,{className:"text-sm",children:"Overall state"})}),e.jsxs(n,{children:[e.jsx("div",{className:"text-2xl font-bold capitalize",children:a.display_state}),e.jsxs("p",{className:"text-sm",children:["Monitoring ",a.monitoring_active?"active":"inactive"]})]})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{className:"text-sm",children:"Codex cost"})}),e.jsxs(n,{children:[e.jsxs("div",{className:"text-2xl font-bold",children:["$",a.costs.total_usd]}),e.jsxs("p",{className:"text-sm",children:[a.costs.input_tokens+a.costs.output_tokens," tokens"]})]})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{className:"text-sm",children:"Repair lease"})}),e.jsxs(n,{children:[e.jsx("div",{className:"text-lg font-bold",children:a.active_lease?a.active_lease.owner_operator:"Available"}),e.jsx("p",{className:"text-sm",children:a.active_lease?`Expires ${m(a.active_lease.expires_at)}`:"No active source repair"})]})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{className:"text-sm",children:"Global control"})}),e.jsxs(n,{className:"space-y-2",children:[e.jsx(h,{"aria-label":"Manual mode confirmation",value:p,onChange:s=>v(s.target.value),placeholder:"Type SET_MANUAL_MODE"}),e.jsx(x,{disabled:t.isPending||p!=="SET_MANUAL_MODE",onClick:O,children:a.manual_mode?"Leave manual mode":"Enable manual mode"})]})]})]}),e.jsx("div",{className:"grid md:grid-cols-4 gap-4",children:a.operators.map(s=>e.jsxs(i,{className:E(S[s.status]),children:[e.jsx(l,{children:e.jsxs(r,{className:"flex justify-between gap-2",children:[e.jsx("span",{children:u[s.operator]}),e.jsx(I,{children:s.status})]})}),e.jsxs(n,{className:"space-y-3",children:[e.jsxs("p",{children:[s.enabled?"Mutation enabled":"Mutation disabled"," · monitoring ",s.monitoring_active?"active":"unverified"]}),e.jsxs("p",{className:"text-sm",children:["Next scheduled run: ",s.next_scheduled_run?m(s.next_scheduled_run):"not scheduled"]}),e.jsx(h,{"aria-label":`${u[s.operator]} confirmation`,value:f[s.operator]??"",onChange:o=>_(L=>({...L,[s.operator]:o.target.value})),placeholder:"Type SET_OPERATOR_STATE"}),e.jsx(x,{disabled:t.isPending||a.manual_mode&&!s.enabled||f[s.operator]!=="SET_OPERATOR_STATE",onClick:()=>k(s.operator,!s.enabled),children:s.enabled?"Disable":"Enable"})]})]},s.operator))}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{children:"Qualified scalable-chat baseline"})}),e.jsxs(n,{className:"space-y-3",children:[e.jsx("p",{className:"font-mono break-all",children:((C=a.baseline)==null?void 0:C.sha)??"No baseline qualified"}),a.baseline&&e.jsxs("p",{className:"text-sm",children:["Revision ",a.baseline.revision," · ",a.baseline.qualified_by," · ",m(a.baseline.qualified_at)]}),e.jsxs("div",{className:"grid md:grid-cols-[1fr_1fr_auto] gap-2",children:[e.jsx(h,{"aria-label":"Exact baseline SHA",value:j,onChange:s=>T(s.target.value),placeholder:"40-character lowercase commit SHA"}),e.jsx(h,{"aria-label":"Baseline confirmation",value:b,onChange:s=>N(s.target.value),placeholder:"Type QUALIFY_CHAT_BASELINE"}),e.jsx(x,{disabled:t.isPending||!/^[0-9a-f]{40}$/.test(j)||b!=="QUALIFY_CHAT_BASELINE",onClick:w,children:"Qualify exact SHA"})]})]})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{children:"Provider and fallback state"})}),e.jsx(n,{children:a.provider_states.length?e.jsx("ul",{className:"space-y-2",children:a.provider_states.map(s=>e.jsxs("li",{children:[e.jsx("strong",{children:s.environment}),": ",s.active_provider," · ",s.reason_code," · manifest ",s.manifest_revision]},s.environment))}):e.jsx("p",{children:"No provider state recorded."})})]}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{children:"Recent runs"})}),e.jsx(n,{children:a.recent_runs.length?e.jsx("ul",{className:"space-y-2",children:a.recent_runs.map(s=>e.jsxs("li",{children:[e.jsx("strong",{children:u[s.operator]})," · ",s.status," · ",s.exit_classification," · $",s.cost_usd," · ",m(s.created_at)]},s.run_id))}):e.jsx("p",{children:"No runs recorded."})})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{children:"Recent actions"})}),e.jsx(n,{children:a.recent_actions.length?e.jsx("ul",{className:"space-y-2",children:a.recent_actions.map(s=>e.jsxs("li",{children:[e.jsx("strong",{children:u[s.operator]})," · ",s.capability," · ",s.reason_code," · ",s.resource_kind,"/",s.resource_identifier]},s.action_id))}):e.jsx("p",{children:"No actions recorded."})})]})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{children:"Hard exclusions"})}),e.jsx(n,{children:e.jsx("ul",{className:"list-disc pl-5",children:a.exclusions.map(s=>e.jsx("li",{children:s},s))})})]}),y&&e.jsxs("p",{role:"alert",children:["Control update failed: ",y,". Refresh before retrying."]})]})})};export{V as default};
 
1
+ import{v as R,i as d,b as B,a1 as A,j as e,L as q,ag as g}from"./index-B0aq-iar.js";import{u as Q}from"./useMutation-DxP7YVP3.js";import{C as i,e as n,S as H,b as l,c as r,t as E,f as m}from"./CronDashboard-QbL2HeKn.js";import{B as I}from"./badge-CEsisGsF.js";import{B as x}from"./button-TpPKOW28.js";import{I as h}from"./input-BtVcQEqI.js";import{A as P}from"./activity-C34k684K.js";import{A as D}from"./arrow-left-Cg1Xngtx.js";const u={submissions:"Submission review",curation:"Scheduled curation",cron_health:"CRON health",chat_reliability:"Chat reliability"},S={healthy:"healthy",degraded:"degraded",repairing:"running","rolled-back":"broken",manual:"degraded"},V=()=>{var C;const M=R(),[j,T]=d.useState(""),[p,v]=d.useState(""),[f,_]=d.useState({}),[b,N]=d.useState(""),c=B({...A.autonomousOperations(),refetchInterval:3e4,retry:!1}),t=Q({mutationFn:s=>s(),onSuccess:s=>{M.setQueryData(A.autonomousOperations().queryKey,s),v(""),_({}),N("")}}),a=c.data,y=t.error instanceof Error?t.error.message:null;if(c.isLoading)return e.jsx("div",{className:"page","aria-busy":"true",children:"Loading autonomous operations…"});if(c.error||!a)return e.jsxs("div",{className:"page",children:[e.jsx("h1",{children:"Autonomous operations unavailable"}),e.jsx("p",{children:c.error instanceof Error?c.error.message:"No status was returned."})]});const O=()=>t.mutate(()=>g.setAutonomousManualMode(!a.manual_mode,a.revision,p)),k=(s,o)=>t.mutate(()=>g.setAutonomousOperator(s,o,a.revision,f[s]??"")),w=()=>{var o;const s=((o=a.baseline)==null?void 0:o.revision)??0;t.mutate(()=>g.qualifyAutonomousChatBaseline(j,s,b))};return e.jsx("div",{className:"cron-dashboard","data-shadcn":!0,children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8 space-y-6",children:[e.jsxs("div",{className:"flex items-center justify-between gap-4 flex-wrap",children:[e.jsxs("div",{children:[e.jsxs("h1",{className:"text-3xl font-bold flex items-center gap-3",children:[e.jsx(P,{className:"h-8 w-8"}),"Autonomous operations"]}),e.jsx("p",{className:"mt-2 cron-muted",children:"Content-free supervision, remote controls, and bounded audit history."})]}),e.jsx(x,{asChild:!0,variant:"outline",children:e.jsxs(q,{to:"/admin-dashboard",children:[e.jsx(D,{className:"h-4 w-4 mr-2"}),"Admin dashboard"]})})]}),a.manual_mode&&e.jsx(i,{className:"cron-status--degraded",role:"status",children:e.jsxs(n,{className:"pt-6 flex gap-3",children:[e.jsx(H,{className:"h-5 w-5"}),e.jsxs("div",{children:[e.jsx("strong",{children:"Manual mode is enabled."}),e.jsxs("p",{children:[a.monitoring_active?"Monitoring remains active":"Monitoring is not currently verified","; autonomous callbacks, retries, deployments, and data mutations fail closed."]})]})]})}),e.jsxs("div",{className:"grid md:grid-cols-4 gap-4",children:[e.jsxs(i,{className:E(S[a.display_state]),children:[e.jsx(l,{children:e.jsx(r,{className:"text-sm",children:"Overall state"})}),e.jsxs(n,{children:[e.jsx("div",{className:"text-2xl font-bold capitalize",children:a.display_state}),e.jsxs("p",{className:"text-sm",children:["Monitoring ",a.monitoring_active?"active":"inactive"]})]})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{className:"text-sm",children:"Codex cost"})}),e.jsxs(n,{children:[e.jsxs("div",{className:"text-2xl font-bold",children:["$",a.costs.total_usd]}),e.jsxs("p",{className:"text-sm",children:[a.costs.input_tokens+a.costs.output_tokens," tokens"]})]})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{className:"text-sm",children:"Repair lease"})}),e.jsxs(n,{children:[e.jsx("div",{className:"text-lg font-bold",children:a.active_lease?a.active_lease.owner_operator:"Available"}),e.jsx("p",{className:"text-sm",children:a.active_lease?`Expires ${m(a.active_lease.expires_at)}`:"No active source repair"})]})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{className:"text-sm",children:"Global control"})}),e.jsxs(n,{className:"space-y-2",children:[e.jsx(h,{"aria-label":"Manual mode confirmation",value:p,onChange:s=>v(s.target.value),placeholder:"Type SET_MANUAL_MODE"}),e.jsx(x,{disabled:t.isPending||p!=="SET_MANUAL_MODE",onClick:O,children:a.manual_mode?"Leave manual mode":"Enable manual mode"})]})]})]}),e.jsx("div",{className:"grid md:grid-cols-4 gap-4",children:a.operators.map(s=>e.jsxs(i,{className:E(S[s.status]),children:[e.jsx(l,{children:e.jsxs(r,{className:"flex justify-between gap-2",children:[e.jsx("span",{children:u[s.operator]}),e.jsx(I,{children:s.status})]})}),e.jsxs(n,{className:"space-y-3",children:[e.jsxs("p",{children:[s.enabled?"Mutation enabled":"Mutation disabled"," · monitoring ",s.monitoring_active?"active":"unverified"]}),e.jsxs("p",{className:"text-sm",children:["Next scheduled run: ",s.next_scheduled_run?m(s.next_scheduled_run):"not scheduled"]}),e.jsx(h,{"aria-label":`${u[s.operator]} confirmation`,value:f[s.operator]??"",onChange:o=>_(L=>({...L,[s.operator]:o.target.value})),placeholder:"Type SET_OPERATOR_STATE"}),e.jsx(x,{disabled:t.isPending||a.manual_mode&&!s.enabled||f[s.operator]!=="SET_OPERATOR_STATE",onClick:()=>k(s.operator,!s.enabled),children:s.enabled?"Disable":"Enable"})]})]},s.operator))}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{children:"Qualified scalable-chat baseline"})}),e.jsxs(n,{className:"space-y-3",children:[e.jsx("p",{className:"font-mono break-all",children:((C=a.baseline)==null?void 0:C.sha)??"No baseline qualified"}),a.baseline&&e.jsxs("p",{className:"text-sm",children:["Revision ",a.baseline.revision," · ",a.baseline.qualified_by," · ",m(a.baseline.qualified_at)]}),e.jsxs("div",{className:"grid md:grid-cols-[1fr_1fr_auto] gap-2",children:[e.jsx(h,{"aria-label":"Exact baseline SHA",value:j,onChange:s=>T(s.target.value),placeholder:"40-character lowercase commit SHA"}),e.jsx(h,{"aria-label":"Baseline confirmation",value:b,onChange:s=>N(s.target.value),placeholder:"Type QUALIFY_CHAT_BASELINE"}),e.jsx(x,{disabled:t.isPending||!/^[0-9a-f]{40}$/.test(j)||b!=="QUALIFY_CHAT_BASELINE",onClick:w,children:"Qualify exact SHA"})]})]})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{children:"Provider and fallback state"})}),e.jsx(n,{children:a.provider_states.length?e.jsx("ul",{className:"space-y-2",children:a.provider_states.map(s=>e.jsxs("li",{children:[e.jsx("strong",{children:s.environment}),": ",s.active_provider," · ",s.reason_code," · manifest ",s.manifest_revision]},s.environment))}):e.jsx("p",{children:"No provider state recorded."})})]}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{children:"Recent runs"})}),e.jsx(n,{children:a.recent_runs.length?e.jsx("ul",{className:"space-y-2",children:a.recent_runs.map(s=>e.jsxs("li",{children:[e.jsx("strong",{children:u[s.operator]})," · ",s.status," · ",s.exit_classification," · $",s.cost_usd," · ",m(s.created_at)]},s.run_id))}):e.jsx("p",{children:"No runs recorded."})})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{children:"Recent actions"})}),e.jsx(n,{children:a.recent_actions.length?e.jsx("ul",{className:"space-y-2",children:a.recent_actions.map(s=>e.jsxs("li",{children:[e.jsx("strong",{children:u[s.operator]})," · ",s.capability," · ",s.reason_code," · ",s.resource_kind,"/",s.resource_identifier]},s.action_id))}):e.jsx("p",{children:"No actions recorded."})})]})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{children:"Hard exclusions"})}),e.jsx(n,{children:e.jsx("ul",{className:"list-disc pl-5",children:a.exclusions.map(s=>e.jsx("li",{children:s},s))})})]}),y&&e.jsxs("p",{role:"alert",children:["Control update failed: ",y,". Refresh before retrying."]})]})})};export{V as default};
assets/{BenchmarkDetailView-CkTODUAo.js → BenchmarkDetailView-Z8xgNNAy.js} RENAMED
@@ -1,2 +1,2 @@
1
- import{i as F,j as a,a5 as ce,L as le,o as ct,M as dt,u as mt,f as ut,b as te,N as ht,x as se}from"./index-BhKQv9LT.js";import{R as ft}from"./ResearchFollowButton-CP34FBeP.js";import{u as pt}from"./preferences-0Dg7PeSz.js";import{L as de}from"./LatexTitle-GmCrtZ_I.js";import{C as gt,E as xt}from"./ExternalSourceEvalBadge-UIy-nVN9.js";import{S as Qe}from"./switch-BiWy_MQW.js";import{I as bt}from"./Icon-Cdqu8Hq_.js";import{S as me}from"./skeleton-BkbzA0oF.js";import{B as yt}from"./BenchmarkTrendSparkline-D-gglZuZ.js";import{s as wt}from"./safeExternalHref-CkBrsh84.js";import{s as vt}from"./slug-BpH-Nkvz.js";import jt from"./NotFound-CkpULt19.js";import{l as St}from"./LoadFailurePage-CF1gemwM.js";import{u as _t}from"./useDocumentTitle-DGWKz2sg.js";import{b as kt}from"./pageTitles-Cv5SviVf.js";import"./researchTopic-BP-u0rIC.js";import"./useMutation-DPQn8VkK.js";import"./FollowerAvatar-CdsnfvtL.js";import"./plus-Da5UgLnk.js";import"./hover-card-CM5j_oBo.js";import"./index-B2-KLIIm.js";import"./alert-zC2kYXtI.js";function oe(e){if(e==null)return null;if(typeof e=="number")return Number.isFinite(e)?e:null;const t=e.includes("±")?e.split("±")[0].trim():e.trim(),r=parseFloat(t);return Number.isFinite(r)?r:null}const Xe=[{label:"All",maxParametersExclusive:void 0},{label:"<10M",maxParametersExclusive:1e7},{label:"<100M",maxParametersExclusive:1e8},{label:"<1B",maxParametersExclusive:1e9},{label:"<3B",maxParametersExclusive:3e9},{label:"<6B",maxParametersExclusive:6e9},{label:"<12B",maxParametersExclusive:12e9},{label:"<32B",maxParametersExclusive:32e9},{label:"<128B",maxParametersExclusive:128e9},{label:"<500B",maxParametersExclusive:5e11}];function Ct(e){const t=e===null?void 0:Number(e);return Xe.some(r=>r.maxParametersExclusive===t)?t:void 0}function Et(e){return new Intl.NumberFormat("en",{notation:"compact",maximumSignificantDigits:3}).format(e)}function Nt(e){return[e.paper_id,e.task_id,e.dataset_id,e.model_name,e.harness??""].join("|")}function Rt(e){const t=new Map;for(const r of e){const s=Nt(r),n=t.get(s);if(!n){t.set(s,{...r,metrics:{...r.metrics||{}},sourceEvaluationIds:[r.id],ranksByMetric:r.best_metric&&r.best_rank!=null?{[r.best_metric]:r.best_rank}:{},parameterCount:r.num_parameters??null,hasParameterConflict:!1});continue}n.metrics={...n.metrics,...r.metrics||{}},n.sourceEvaluationIds.push(r.id),r.best_metric&&r.best_rank!=null&&(n.ranksByMetric[r.best_metric]=r.best_rank),r.num_parameters!=null&&!n.hasParameterConflict&&(n.parameterCount===null?n.parameterCount=r.num_parameters:n.parameterCount!==r.num_parameters&&(n.parameterCount=null,n.hasParameterConflict=!0))}return Array.from(t.values())}function Fe(e,t){return t===void 0?e:e.filter(r=>r.parameterCount!==null&&r.parameterCount<t)}function Pt(e,t){return t?e.id===t||e.sourceEvaluationIds.includes(t):!1}function Ie(e,t){return e.ranksByMetric[t]??e.best_rank??9999}function Mt(e){const t=Date.parse(e);return Number.isNaN(t)?"":new Date(t).toISOString().slice(0,10)}function $t(e){const t=new Map;for(const s of e)s.evaluated_on&&t.set(s.evaluated_on,(t.get(s.evaluated_on)??0)+1);const r=Array.from(t.values()).reduce((s,n)=>s+n,0);for(const[s,n]of t)if(n>=2&&n*2>r)return s;return null}function Tt(e,t){const r=e.evaluated_on;return r&&r!==t&&r!==Mt(e.updated_at)?r:e.paper_published_date||""}function Lt(e,t,r){if(e.length===0)return{points:[],sota:0,sotaModel:""};const s=$t(e),n=e.map(h=>{var j;const m=oe((j=h.metrics)==null?void 0:j[t]);return{eval:h,value:m,date:Tt(h,s)}}).filter(h=>h.value!==null&&!!h.date).sort((h,m)=>h.date.localeCompare(m.date)),i=[];let l=null;for(const h of n){const m=l==null?!0:r==="↓"?h.value<l:h.value>l;m&&(l=h.value),i.push({value:h.value,date:h.date,dateLabel:h.date.slice(0,7),modelName:h.eval.model_name||"",paperTitle:h.eval.paper_title||"",paperRouteId:h.eval.paper_arxiv_id||h.eval.paper_id||null,isSota:m})}const o=e.map(h=>{var m;return{eval:h,value:oe((m=h.metrics)==null?void 0:m[t])}}).filter(h=>h.value!==null).sort((h,m)=>r==="↓"?h.value-m.value:m.value-h.value)[0],f=(o==null?void 0:o.value)??0,p=(o==null?void 0:o.eval.model_name)||(o==null?void 0:o.eval.paper_title)||"";return{points:i,sota:f,sotaModel:p}}function Ft(e,t,r){const s=t?(e??[]).filter(l=>l.task_id===t):e??[],n=s.filter(l=>l.is_open===!1),i=n.reduce((l,d)=>l?(d.best_rank??Number.POSITIVE_INFINITY)<(l.best_rank??Number.POSITIVE_INFINITY)?d:l:d,null);return{visible:r?s.filter(l=>l.is_open!==!1):s,hiddenClosed:n,topHiddenClosed:i}}function Ye(e,t,r,s){const n=t.find(i=>i.id===s);if(e.length===0)return null;if(n!=null&&n.task_id&&e.some(i=>i.id===n.task_id))return n.task_id;if(r){const i=e.find(l=>l.slug===r);if(i)return i.id}if(e.length===1)return e[0].id;if(t.length>0){const i=new Map;for(const o of t)i.set(o.task_id,(i.get(o.task_id)||0)+1);let l=null,d=-1;for(const o of e){const f=i.get(o.id)||0;f>d&&(d=f,l=o.id)}if(l)return l}return e[0].id}function It(e){var X,k,Y;const{evaluations:t,tasks:r,taskSlug:s,highlightEvalId:n,parameterBound:i,showMoreMetrics:l,fittingMetricCount:d=1}=e,o=Ye(r,t,s,n),f=r.find(x=>x.id===o)||r[0]||null,p=t.find(x=>x.id===n),h=Ft(t,o,e.hideClosed),m=Rt(h.visible),j=Fe(m,i),I=e.configuredMetrics.map(x=>x.metric_name),$=Array.from(new Set(m.flatMap(x=>[...x.best_metric?[x.best_metric]:[],...Object.keys(x.metrics||{})]))),_=I.length?I:$,T=new Map;for(const x of m){const c=x.best_metric;!c||oe(x.metrics[c])===null||I.length&&!_.includes(c)||T.set(c,(T.get(c)||0)+1)}const v=((X=[...T].sort((x,c)=>c[1]-x[1])[0])==null?void 0:X[0])||_[0]||"",y=_.find(x=>{var c;return x.toLocaleLowerCase()===((c=e.metric)==null?void 0:c.trim().toLocaleLowerCase())})||(p==null?void 0:p.best_metric)||v,O=((k=e.directions)==null?void 0:k.directions[y])==="lower_is_better"?"↓":"↑",U=y&&_.includes(y)?[y,..._.filter(x=>x!==y)]:_,G=U.length?l?U:U.slice(0,Math.max(1,d)):y?[y]:[],w=j.slice().sort((x,c)=>{const u=oe(x.metrics[y]),g=oe(c.metrics[y]);return u!==null&&g!==null?O==="↓"?u-g:g-u:u!==null?-1:g!==null?1:Ie(x,y)-Ie(c,y)});let W=null,A=0;const D=w.map((x,c)=>{const u=oe(x.metrics[y]);return u!==null&&u!==W&&(W=u,A=c+1),{evaluation:x,rank:u===null?null:A,isHighlighted:Pt(x,n)}}),{points:J,sota:Q,sotaModel:Z}=Lt(j,y,O),C=i===void 0?e.initialSummary:void 0,z=e.ready.evaluations&&e.ready.tasks&&e.ready.directions&&(!o||e.ready.metrics),ee={parameter_coverage_known:m.filter(x=>x.parameterCount!==null).length,parameter_coverage_total:m.length};return{currentTaskId:o,primaryTask:f,activeMetric:y,arrow:O,allowedMetrics:_,orderedMetrics:U,visibleMetrics:G,rows:D,chartPoints:J,highlightedEval:((Y=D.find(x=>x.isHighlighted))==null?void 0:Y.evaluation)||null,hiddenClosedEvals:h.hiddenClosed,hiddenClosedTopEval:h.topHiddenClosed,parameterBound:i,parameterCoverage:ee,hasParameterMetadata:ee.parameter_coverage_known>0,parameterFilters:Xe.map(x=>({...x,selected:i===x.maxParametersExclusive,disabled:i!==x.maxParametersExclusive&&Fe(m,x.maxParametersExclusive).length===0})),displayedMetric:z?y:C==null?void 0:C.metric,displayedSota:z?Q:C==null?void 0:C.value,displayedSotaModel:z?Z:C==null?void 0:C.model_name,isSummaryLoading:!z&&!C,isInitialFilteredViewLoading:i!==void 0&&!z}}function At(e,t,r,s=1,n=0){const i=e-t.fixed-(r?t.harness:0);if(t.metric<=0)return 1;const l=Math.floor(i/t.metric);if(l<s)return Math.max(1,l);const d=Math.floor((i-n)/t.metric);return Math.max(1,s,d)}function pe(e,t){return parseFloat(e.getPropertyValue(t))||0}function Bt(e){const t=getComputedStyle(e);return{fixed:["--bm-rank-width","--bm-model-width","--bm-parameters-width","--bm-paper-width","--bm-year-width"].reduce((r,s)=>r+pe(t,s),0),harness:pe(t,"--bm-harness-width"),metric:pe(t,"--bm-metric-width")}}const Dt=20;function Ae(e,t){return e?a.jsx(de,{title:e}):t||"—"}function Ht({datasetName:e,model:t,showHarness:r,setMetric:s,highlightRowRef:n,onFittingMetricCountChange:i}){const{rows:l,visibleMetrics:d,activeMetric:o,arrow:f}=t,[p,h]=F.useState(null);return F.useEffect(()=>{if(!p)return;const m=()=>{p.classList.toggle("has-horizontal-overflow",p.scrollWidth>p.clientWidth);const I=p.firstElementChild;if(!I)return;const $=p.clientWidth,_=Bt(I);p.classList.toggle("unpins-trailing-columns",$<_.fixed+_.metric);const T=document.documentElement,v=T.scrollHeight>T.clientHeight?0:Dt;i(N=>At($,_,r,N,v))},j=new ResizeObserver(m);return j.observe(p),p.firstElementChild&&j.observe(p.firstElementChild),m(),()=>j.disconnect()},[p,r,i]),a.jsx("div",{ref:h,className:"bm-table-scroll",role:"region","aria-label":`${e} leaderboard`,tabIndex:0,children:a.jsxs("table",{id:"benchmark-leaderboard",className:"bm-table",style:{"--bm-metric-count":d.length,"--bm-harness-count":r?1:0},children:[a.jsxs("caption",{className:"sr-only",children:[e," leaderboard"]}),a.jsxs("colgroup",{children:[a.jsx("col",{className:"bm-width-rank"}),a.jsx("col",{className:"bm-width-model"}),a.jsx("col",{className:"bm-width-parameters"}),r&&a.jsx("col",{className:"bm-width-harness"}),d.map(m=>a.jsx("col",{className:"bm-width-metric"},m)),a.jsx("col",{}),a.jsx("col",{className:"bm-width-year"})]}),a.jsx("thead",{children:a.jsxs("tr",{children:[a.jsx("th",{className:"col-rank",children:"Rank"}),a.jsx("th",{className:"col-model",children:"Model"}),a.jsxs("th",{className:"col-parameters",children:[a.jsx("span",{className:"bm-label-full",children:"Parameters"}),a.jsx("span",{className:"bm-label-short",children:"Params"})]}),r&&a.jsx("th",{className:"col-harness",children:"Harness"}),d.map(m=>{const j=m===o;return a.jsx("th",{className:`col-value ${j?"is-active":""}`,"aria-sort":j?f==="↓"?"ascending":"descending":"none",children:a.jsxs("button",{type:"button",className:"bm-metric-header",onClick:()=>s(m),"aria-pressed":j,title:`Sort by ${m}`,children:[m,j?` ${f}`:""]})},m)}),a.jsx("th",{className:"col-paper",children:"Paper"}),a.jsx("th",{className:"col-year",children:"Year"})]})}),a.jsx("tbody",{children:l.map(({evaluation:m,rank:j,isHighlighted:I})=>{var T;const $=m.paper_arxiv_id||m.paper_id,_=m.paper_title||(m.paper_arxiv_id?`arXiv:${m.paper_arxiv_id}`:null);return a.jsxs("tr",{ref:I?n:void 0,className:I?"is-highlighted":void 0,children:[a.jsx("td",{className:"col-rank",children:j??"—"}),a.jsxs("td",{className:"col-model",children:[I&&a.jsx("span",{className:"bm-row-marker","aria-hidden":"true"}),m.hf_model_url?a.jsx("a",{href:m.hf_model_url,target:"_blank",rel:"noopener noreferrer",className:"bm-model-link",title:`Open ${m.model_name||"model"} on Hugging Face`,children:m.model_name||"—"}):m.model_name||"—",m.is_open===!1&&a.jsx(gt,{}),(m.external??m.is_external)&&a.jsx(xt,{sourceUrl:m.source_url||m.external_source_url||m.result_url})]}),a.jsx("td",{className:"col-parameters",title:m.parameterCount===null?void 0:m.parameterCount.toLocaleString("en-US"),"aria-label":m.parameterCount===null?"Parameters unknown":`${m.parameterCount.toLocaleString("en-US")} parameters`,children:m.parameterCount===null?"—":Et(m.parameterCount)}),r&&a.jsx("td",{className:"col-harness",children:m.harness||"—"}),d.map(v=>{var O;const N=v===o,y=(O=m.metrics)==null?void 0:O[v];return a.jsx("td",{className:`col-value${N?" is-active":""}${N&&j===1?" is-best":""}`,children:y!=null&&y!==""?ce(y):"—"},v)}),a.jsx("td",{className:"col-paper",children:$?a.jsx(le,{to:`/paper/${$}`,title:m.paper_title||_||void 0,children:Ae(m.paper_title,_)}):Ae(m.paper_title,_)}),a.jsx("td",{className:"col-year",children:((T=m.evaluated_on||m.paper_published_date)==null?void 0:T.slice(0,4))||"—"})]},m.id)})})]})})}function Be(e){const t=e.length===7?`${e}-01`:e,r=new Date(t).getTime();return Number.isFinite(r)?r:0}const ge=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function xe(e){const t=new Date(e);return{year:t.getFullYear(),month:t.getMonth()}}function Vt(e,t){if(e===t){const{year:o,month:f}=xe(e);return[{timestamp:new Date(o,f,1).getTime(),key:`${o}-${f}`,label:`${ge[f]} ${o}`}]}const r=xe(e),s=xe(t);if(r.year===s.year){const o=s.month-r.month+1;let f=1;const p=12;o>p&&(f=Math.ceil(o/p));const h=[];for(let m=r.month;m<=s.month;m+=f)h.push({timestamp:new Date(r.year,m,1).getTime(),key:`${r.year}-${m}`,label:o<=3?`${ge[m]} ${r.year}`:ge[m]});return h}const n=s.year-r.year+1;let i=1;const l=12;n>l&&(i=Math.ceil(n/l));const d=[];for(let o=r.year;o<=s.year;o+=i)d.push({timestamp:new Date(o,0,1).getTime(),key:String(o),label:String(o)});return d}const Ot=({points:e,metric:t})=>{const r=ct(),[s,n]=F.useState(null),i=`${F.useId()}-label-halo`,l=880,d=320,o=60,f=30,p=40,h=50,m=e.map(c=>c.value),j=Math.min(...m),$=Math.max(...m)-j||1,_=l-o-f,T=d-p-h,v=e.map(c=>Be(c.date)),N=Math.min(...v),y=Math.max(...v),O=y-N||1,U=c=>N===y?o+_/2:o+(c-N)/O*_,G=e.map((c,u)=>{const g=U(Be(c.date)),E=(c.value-j)/$,L=p+T*(1-E);return{x:g,y:L,data:c,idx:u}}),w=G.filter(c=>c.data.isSota);let W="";if(w.length>=2){W=`M${w[0].x},${w[0].y}`;for(let c=1;c<w.length;c++){const u=w[c-1],g=w[c],E=(u.x+g.x)/2;W+=` C${E},${u.y} ${E},${g.y} ${g.x},${g.y}`}}const A=5.4,D=8,J=9,Q=c=>{const u=c.data.modelName||c.data.paperTitle||"";if(!u)return null;const g=u.length>22?u.slice(0,21)+"…":u,E=g.length*A;let L=c.x-E/2,P=c.x+E/2,H="middle";return L<o?(L=o,P=o+E,H="start"):P>l-f&&(P=l-f,L=P-E,H="end"),{x:H==="start"?o:H==="end"?l-f:c.x,y:c.y-J,text:g,anchor:H,left:L,right:P}},Z=[],C=w.length>0?Q(w[w.length-1]):null;let z=-1/0;for(let c=0;c<w.length-1;c++){const u=Q(w[c]);u&&(u.left<z+D||C&&u.right>C.left-D||(z=u.right,Z.push({x:u.x,y:u.y,text:u.text,anchor:u.anchor})))}C&&Z.push({x:C.x,y:C.y,text:C.text,anchor:C.anchor});const ee=Vt(N,y),X=5,k=c=>n(u=>u===c?null:u),Y=c=>{c&&r(`/paper/${c}`)},x=(c,u)=>{const E=`${c.data.modelName||c.data.paperTitle||"Unknown model"}: ${ce(c.data.value)} on ${c.data.dateLabel}`,L=!!c.data.paperRouteId;return a.jsxs("g",{children:[u,a.jsx("circle",{cx:c.x,cy:c.y,r:"10",fill:"transparent",style:{cursor:L?"pointer":"default",outline:"none"},tabIndex:0,role:L?"link":"img","aria-label":E,onMouseEnter:()=>n(c.idx),onMouseLeave:()=>k(c.idx),onFocus:()=>n(c.idx),onBlur:()=>k(c.idx),onClick:()=>Y(c.data.paperRouteId),onKeyDown:P=>{L&&(P.key==="Enter"||P.key===" ")&&(P.preventDefault(),Y(c.data.paperRouteId))},children:a.jsx("title",{children:E})})]},c.idx)};return a.jsxs("svg",{width:"100%",viewBox:`0 0 ${l} ${d}`,style:{display:"block"},children:[a.jsx("defs",{children:a.jsxs("filter",{id:i,x:"-10%",y:"-30%",width:"120%",height:"160%",children:[a.jsx("feMorphology",{in:"SourceAlpha",operator:"dilate",radius:"1.5",result:"halo"}),a.jsx("feFlood",{style:{floodColor:"var(--bg-elevated)"}}),a.jsx("feComposite",{in2:"halo",operator:"in"}),a.jsxs("feMerge",{children:[a.jsx("feMergeNode",{}),a.jsx("feMergeNode",{in:"SourceGraphic"})]})]})}),a.jsx("text",{x:o-38,y:p+T/2,fontSize:"11",fontFamily:"var(--mono)",fill:"var(--ink-faint)",textAnchor:"middle",transform:`rotate(-90 ${o-38} ${p+T/2})`,children:t}),Array.from({length:X}).map((c,u)=>{const g=u/(X-1),E=p+T*(1-g),L=j+$*g;return a.jsxs("g",{children:[a.jsx("line",{x1:o,y1:E,x2:l-f,y2:E,stroke:"var(--hairline)",strokeWidth:"1"}),a.jsx("text",{x:o-10,y:E+4,fontSize:"11",fontFamily:"var(--mono)",fill:"var(--ink-faint)",textAnchor:"end",children:ce(L)})]},u)}),ee.map(c=>{const u=U(c.timestamp);return a.jsx("text",{x:u,y:d-h+18,fontSize:"11",fontFamily:"var(--mono)",fill:"var(--ink-soft)",textAnchor:"middle",children:c.label},c.key)}),G.filter(c=>!c.data.isSota).map(c=>{const u=s===c.idx;return x(c,a.jsx("circle",{cx:c.x,cy:c.y,r:u?3:2,fill:"var(--ink-faint)",opacity:u?1:.45,style:{transition:"r 0.12s ease, opacity 0.12s ease"}}))}),W&&a.jsx("path",{d:W,stroke:"var(--accent)",strokeWidth:"2",fill:"none",strokeLinejoin:"round",strokeLinecap:"round"}),w.map(c=>{const u=s===c.idx;return x(c,a.jsx("circle",{cx:c.x,cy:c.y,r:u?4.5:3,fill:u?"var(--accent)":"var(--bg-elevated)",stroke:"var(--accent)",strokeWidth:"1.5",style:{transition:"r 0.12s ease, fill 0.12s ease"}}))}),Z.map((c,u)=>a.jsx("text",{x:c.x,y:c.y,fontSize:"9.5",fontFamily:"var(--mono)",fill:"var(--ink-soft)",textAnchor:c.anchor,pointerEvents:"none",filter:`url(#${i})`,children:c.text},`label-${u}`)),s!==null&&G[s]&&(()=>{const c=G[s],u=c.data.modelName||c.data.paperTitle||"Unknown model",E=`${u.length>40?u.slice(0,39)+"…":u}: ${ce(c.data.value)}`,P=Math.max(120,Math.min(340,E.length*6.6+24)),H=30;let S=c.x-P/2;S<o&&(S=o),S+P>l-f&&(S=l-f-P);const q=c.y-H-14>=p?c.y-H-12:c.y+12;return a.jsxs("g",{pointerEvents:"none",children:[a.jsx("rect",{x:S,y:q,width:P,height:H,rx:"6",ry:"6",fill:"var(--bg-elevated)",stroke:"var(--hairline-strong)",strokeWidth:"1",style:{filter:"drop-shadow(0 2px 6px rgba(0,0,0,0.08))"}}),a.jsx("text",{x:S+12,y:q+19,fontSize:"12",fontFamily:"var(--sans)",fill:"var(--ink)",fontWeight:500,children:E})]})})()]})};function Ut(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const r=document.implementation.createHTMLDocument(),s=r.createElement("base"),n=r.createElement("a");return r.head.appendChild(s),r.body.appendChild(n),t&&(s.href=t),n.href=e,n.href}const Wt=(()=>{let e=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function K(e){const t=[];for(let r=0,s=e.length;r<s;r++)t.push(e[r]);return t}let ne=null;function Ke(e={}){return ne||(e.includeStyleProperties?(ne=e.includeStyleProperties,ne):(ne=K(window.getComputedStyle(document.documentElement)),ne))}function ue(e,t){const s=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return s?parseFloat(s.replace("px","")):0}function zt(e){const t=ue(e,"border-left-width"),r=ue(e,"border-right-width");return e.clientWidth+t+r}function qt(e){const t=ue(e,"border-top-width"),r=ue(e,"border-bottom-width");return e.clientHeight+t+r}function Je(e,t={}){const r=t.width||zt(e),s=t.height||qt(e);return{width:r,height:s}}function Gt(){let e,t;try{t=process}catch{}const r=t&&t.env?t.env.devicePixelRatio:null;return r&&(e=parseInt(r,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}const V=16384;function Qt(e){(e.width>V||e.height>V)&&(e.width>V&&e.height>V?e.width>e.height?(e.height*=V/e.width,e.width=V):(e.width*=V/e.height,e.height=V):e.width>V?(e.height*=V/e.width,e.width=V):(e.width*=V/e.height,e.height=V))}function Xt(e,t={}){return e.toBlob?new Promise(r=>{e.toBlob(r,t.type?t.type:"image/png",t.quality?t.quality:1)}):new Promise(r=>{const s=window.atob(e.toDataURL(t.type?t.type:void 0,t.quality?t.quality:void 0).split(",")[1]),n=s.length,i=new Uint8Array(n);for(let l=0;l<n;l+=1)i[l]=s.charCodeAt(l);r(new Blob([i],{type:t.type?t.type:"image/png"}))})}function he(e){return new Promise((t,r)=>{const s=new Image;s.onload=()=>{s.decode().then(()=>{requestAnimationFrame(()=>t(s))})},s.onerror=r,s.crossOrigin="anonymous",s.decoding="async",s.src=e})}async function Yt(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function Kt(e,t,r){const s="http://www.w3.org/2000/svg",n=document.createElementNS(s,"svg"),i=document.createElementNS(s,"foreignObject");return n.setAttribute("width",`${t}`),n.setAttribute("height",`${r}`),n.setAttribute("viewBox",`0 0 ${t} ${r}`),i.setAttribute("width","100%"),i.setAttribute("height","100%"),i.setAttribute("x","0"),i.setAttribute("y","0"),i.setAttribute("externalResourcesRequired","true"),n.appendChild(i),i.appendChild(e),Yt(n)}const B=(e,t)=>{if(e instanceof t)return!0;const r=Object.getPrototypeOf(e);return r===null?!1:r.constructor.name===t.name||B(r,t)};function Jt(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function Zt(e,t){return Ke(t).map(r=>{const s=e.getPropertyValue(r),n=e.getPropertyPriority(r);return`${r}: ${s}${n?" !important":""};`}).join(" ")}function er(e,t,r,s){const n=`.${e}:${t}`,i=r.cssText?Jt(r):Zt(r,s);return document.createTextNode(`${n}{${i}}`)}function De(e,t,r,s){const n=window.getComputedStyle(e,r),i=n.getPropertyValue("content");if(i===""||i==="none")return;const l=Wt();try{t.className=`${t.className} ${l}`}catch{return}const d=document.createElement("style");d.appendChild(er(l,r,n,s)),t.appendChild(d)}function tr(e,t,r){De(e,t,":before",r),De(e,t,":after",r)}const He="application/font-woff",Ve="image/jpeg",rr={woff:He,woff2:He,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Ve,jpeg:Ve,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function ar(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function je(e){const t=ar(e).toLowerCase();return rr[t]||""}function sr(e){return e.split(/,/)[1]}function we(e){return e.search(/^(data:)/)!==-1}function nr(e,t){return`data:${t};base64,${e}`}async function Ze(e,t,r){const s=await fetch(e,t);if(s.status===404)throw new Error(`Resource "${s.url}" not found`);const n=await s.blob();return new Promise((i,l)=>{const d=new FileReader;d.onerror=l,d.onloadend=()=>{try{i(r({res:s,result:d.result}))}catch(o){l(o)}},d.readAsDataURL(n)})}const be={};function ir(e,t,r){let s=e.replace(/\?.*/,"");return r&&(s=e),/ttf|otf|eot|woff2?/i.test(s)&&(s=s.replace(/.*\//,"")),t?`[${t}]${s}`:s}async function Se(e,t,r){const s=ir(e,t,r.includeQueryParams);if(be[s]!=null)return be[s];r.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let n;try{const i=await Ze(e,r.fetchRequestInit,({res:l,result:d})=>(t||(t=l.headers.get("Content-Type")||""),sr(d)));n=nr(i,t)}catch(i){n=r.imagePlaceholder||"";let l=`Failed to fetch resource: ${e}`;i&&(l=typeof i=="string"?i:i.message),l&&console.warn(l)}return be[s]=n,n}async function lr(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):he(t)}async function or(e,t){if(e.currentSrc){const i=document.createElement("canvas"),l=i.getContext("2d");i.width=e.clientWidth,i.height=e.clientHeight,l==null||l.drawImage(e,0,0,i.width,i.height);const d=i.toDataURL();return he(d)}const r=e.poster,s=je(r),n=await Se(r,s,t);return he(n)}async function cr(e,t){var r;try{if(!((r=e==null?void 0:e.contentDocument)===null||r===void 0)&&r.body)return await fe(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function dr(e,t){return B(e,HTMLCanvasElement)?lr(e):B(e,HTMLVideoElement)?or(e,t):B(e,HTMLIFrameElement)?cr(e,t):e.cloneNode(et(e))}const mr=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",et=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function ur(e,t,r){var s,n;if(et(t))return t;let i=[];return mr(e)&&e.assignedNodes?i=K(e.assignedNodes()):B(e,HTMLIFrameElement)&&(!((s=e.contentDocument)===null||s===void 0)&&s.body)?i=K(e.contentDocument.body.childNodes):i=K(((n=e.shadowRoot)!==null&&n!==void 0?n:e).childNodes),i.length===0||B(e,HTMLVideoElement)||await i.reduce((l,d)=>l.then(()=>fe(d,r)).then(o=>{o&&t.appendChild(o)}),Promise.resolve()),t}function hr(e,t,r){const s=t.style;if(!s)return;const n=window.getComputedStyle(e);n.cssText?(s.cssText=n.cssText,s.transformOrigin=n.transformOrigin):Ke(r).forEach(i=>{let l=n.getPropertyValue(i);i==="font-size"&&l.endsWith("px")&&(l=`${Math.floor(parseFloat(l.substring(0,l.length-2)))-.1}px`),B(e,HTMLIFrameElement)&&i==="display"&&l==="inline"&&(l="block"),i==="d"&&t.getAttribute("d")&&(l=`path(${t.getAttribute("d")})`),s.setProperty(i,l,n.getPropertyPriority(i))})}function fr(e,t){B(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),B(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function pr(e,t){if(B(e,HTMLSelectElement)){const r=t,s=Array.from(r.children).find(n=>e.value===n.getAttribute("value"));s&&s.setAttribute("selected","")}}function gr(e,t,r){return B(t,Element)&&(hr(e,t,r),tr(e,t,r),fr(e,t),pr(e,t)),t}async function xr(e,t){const r=e.querySelectorAll?e.querySelectorAll("use"):[];if(r.length===0)return e;const s={};for(let i=0;i<r.length;i++){const d=r[i].getAttribute("xlink:href");if(d){const o=e.querySelector(d),f=document.querySelector(d);!o&&f&&!s[d]&&(s[d]=await fe(f,t,!0))}}const n=Object.values(s);if(n.length){const i="http://www.w3.org/1999/xhtml",l=document.createElementNS(i,"svg");l.setAttribute("xmlns",i),l.style.position="absolute",l.style.width="0",l.style.height="0",l.style.overflow="hidden",l.style.display="none";const d=document.createElementNS(i,"defs");l.appendChild(d);for(let o=0;o<n.length;o++)d.appendChild(n[o]);e.appendChild(l)}return e}async function fe(e,t,r){return!r&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(s=>dr(s,t)).then(s=>ur(e,s,t)).then(s=>gr(e,s,t)).then(s=>xr(s,t))}const tt=/url\((['"]?)([^'"]+?)\1\)/g,br=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,yr=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function wr(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function vr(e){const t=[];return e.replace(tt,(r,s,n)=>(t.push(n),r)),t.filter(r=>!we(r))}async function jr(e,t,r,s,n){try{const i=r?Ut(t,r):t,l=je(t);let d;return n||(d=await Se(i,l,s)),e.replace(wr(t),`$1${d}$3`)}catch{}return e}function Sr(e,{preferredFontFormat:t}){return t?e.replace(yr,r=>{for(;;){const[s,,n]=br.exec(r)||[];if(!n)return"";if(n===t)return`src: ${s};`}}):e}function rt(e){return e.search(tt)!==-1}async function at(e,t,r){if(!rt(e))return e;const s=Sr(e,r);return vr(s).reduce((i,l)=>i.then(d=>jr(d,l,t,r)),Promise.resolve(s))}async function ie(e,t,r){var s;const n=(s=t.style)===null||s===void 0?void 0:s.getPropertyValue(e);if(n){const i=await at(n,null,r);return t.style.setProperty(e,i,t.style.getPropertyPriority(e)),!0}return!1}async function _r(e,t){await ie("background",e,t)||await ie("background-image",e,t),await ie("mask",e,t)||await ie("-webkit-mask",e,t)||await ie("mask-image",e,t)||await ie("-webkit-mask-image",e,t)}async function kr(e,t){const r=B(e,HTMLImageElement);if(!(r&&!we(e.src))&&!(B(e,SVGImageElement)&&!we(e.href.baseVal)))return;const s=r?e.src:e.href.baseVal,n=await Se(s,je(s),t);await new Promise((i,l)=>{e.onload=i,e.onerror=t.onImageErrorHandler?(...o)=>{try{i(t.onImageErrorHandler(...o))}catch(f){l(f)}}:l;const d=e;d.decode&&(d.decode=i),d.loading==="lazy"&&(d.loading="eager"),r?(e.srcset="",e.src=n):e.href.baseVal=n})}async function Cr(e,t){const s=K(e.childNodes).map(n=>st(n,t));await Promise.all(s).then(()=>e)}async function st(e,t){B(e,Element)&&(await _r(e,t),await kr(e,t),await Cr(e,t))}function Er(e,t){const{style:r}=e;t.backgroundColor&&(r.backgroundColor=t.backgroundColor),t.width&&(r.width=`${t.width}px`),t.height&&(r.height=`${t.height}px`);const s=t.style;return s!=null&&Object.keys(s).forEach(n=>{r[n]=s[n]}),e}const Oe={};async function Ue(e){let t=Oe[e];if(t!=null)return t;const s=await(await fetch(e)).text();return t={url:e,cssText:s},Oe[e]=t,t}async function We(e,t){let r=e.cssText;const s=/url\(["']?([^"')]+)["']?\)/g,i=(r.match(/url\([^)]+\)/g)||[]).map(async l=>{let d=l.replace(s,"$1");return d.startsWith("https://")||(d=new URL(d,e.url).href),Ze(d,t.fetchRequestInit,({result:o})=>(r=r.replace(l,`url(${o})`),[l,o]))});return Promise.all(i).then(()=>r)}function ze(e){if(e==null)return[];const t=[],r=/(\/\*[\s\S]*?\*\/)/gi;let s=e.replace(r,"");const n=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const o=n.exec(s);if(o===null)break;t.push(o[0])}s=s.replace(n,"");const i=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,l="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",d=new RegExp(l,"gi");for(;;){let o=i.exec(s);if(o===null){if(o=d.exec(s),o===null)break;i.lastIndex=d.lastIndex}else d.lastIndex=i.lastIndex;t.push(o[0])}return t}async function Nr(e,t){const r=[],s=[];return e.forEach(n=>{if("cssRules"in n)try{K(n.cssRules||[]).forEach((i,l)=>{if(i.type===CSSRule.IMPORT_RULE){let d=l+1;const o=i.href,f=Ue(o).then(p=>We(p,t)).then(p=>ze(p).forEach(h=>{try{n.insertRule(h,h.startsWith("@import")?d+=1:n.cssRules.length)}catch(m){console.error("Error inserting rule from remote css",{rule:h,error:m})}})).catch(p=>{console.error("Error loading remote css",p.toString())});s.push(f)}})}catch(i){const l=e.find(d=>d.href==null)||document.styleSheets[0];n.href!=null&&s.push(Ue(n.href).then(d=>We(d,t)).then(d=>ze(d).forEach(o=>{l.insertRule(o,l.cssRules.length)})).catch(d=>{console.error("Error loading remote stylesheet",d)})),console.error("Error inlining remote css file",i)}}),Promise.all(s).then(()=>(e.forEach(n=>{if("cssRules"in n)try{K(n.cssRules||[]).forEach(i=>{r.push(i)})}catch(i){console.error(`Error while reading CSS rules from ${n.href}`,i)}}),r))}function Rr(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>rt(t.style.getPropertyValue("src")))}async function Pr(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const r=K(e.ownerDocument.styleSheets),s=await Nr(r,t);return Rr(s)}function nt(e){return e.trim().replace(/["']/g,"")}function Mr(e){const t=new Set;function r(s){(s.style.fontFamily||getComputedStyle(s).fontFamily).split(",").forEach(i=>{t.add(nt(i))}),Array.from(s.children).forEach(i=>{i instanceof HTMLElement&&r(i)})}return r(e),t}async function $r(e,t){const r=await Pr(e,t),s=Mr(e);return(await Promise.all(r.filter(i=>s.has(nt(i.style.fontFamily))).map(i=>{const l=i.parentStyleSheet?i.parentStyleSheet.href:null;return at(i.cssText,l,t)}))).join(`
2
  `)}async function Tr(e,t){const r=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await $r(e,t);if(r){const s=document.createElement("style"),n=document.createTextNode(r);s.appendChild(n),e.firstChild?e.insertBefore(s,e.firstChild):e.appendChild(s)}}async function Lr(e,t={}){const{width:r,height:s}=Je(e,t),n=await fe(e,t,!0);return await Tr(n,t),await st(n,t),Er(n,t),await Kt(n,r,s)}async function Fr(e,t={}){const{width:r,height:s}=Je(e,t),n=await Lr(e,t),i=await he(n),l=document.createElement("canvas"),d=l.getContext("2d"),o=t.pixelRatio||Gt(),f=t.canvasWidth||r,p=t.canvasHeight||s;return l.width=f*o,l.height=p*o,t.skipAutoScale||Qt(l),l.style.width=`${f}`,l.style.height=`${p}`,t.backgroundColor&&(d.fillStyle=t.backgroundColor,d.fillRect(0,0,l.width,l.height)),d.drawImage(i,0,0,l.width,l.height),l}async function Ir(e,t={}){const r=await Fr(e,t);return await Xt(r)}const ve="#ffffff";function Ar(){return typeof window>"u"?ve:window.getComputedStyle(document.documentElement).getPropertyValue("--bg-elevated").trim()||ve}function Br(e){if(typeof window>"u")return ve;const t=window.getComputedStyle(e).backgroundColor;return!t||t==="rgba(0, 0, 0, 0)"||t==="transparent"?Ar():t}async function Dr(e){var r,s;if(typeof window>"u"||!((s=(r=window.navigator)==null?void 0:r.clipboard)!=null&&s.write))throw new Error("Clipboard image copy is not supported in this browser.");if(typeof window.ClipboardItem>"u")throw new Error("Clipboard image copy is not supported in this browser.");const t=await Ir(e,{pixelRatio:2,cacheBust:!0,backgroundColor:Br(e)});if(!t)throw new Error("Failed to render screenshot.");await window.navigator.clipboard.write([new window.ClipboardItem({"image/png":t})])}const it=({targetRef:e,label:t})=>{const{toast:r}=dt(),[s,n]=F.useState("idle"),i=F.useRef(null);F.useEffect(()=>()=>{i.current!==null&&window.clearTimeout(i.current)},[]);const l=F.useCallback(async()=>{const o=e.current;if(o){n("copying"),o.classList.add("is-capturing"),o.offsetHeight,await new Promise(f=>window.requestAnimationFrame(()=>f()));try{await Dr(o),n("copied"),r({title:"Screenshot copied",description:`Image of the ${t} copied to your clipboard.`}),i.current!==null&&window.clearTimeout(i.current),i.current=window.setTimeout(()=>n("idle"),1500)}catch(f){n("idle"),r({title:"Copy failed",description:f instanceof Error&&f.message?f.message:"Could not copy the screenshot to your clipboard.",variant:"destructive"})}finally{o.classList.remove("is-capturing")}}},[e,t,r]),d=s==="copied"?"Copied":s==="copying"?"Copying…":"Copy image";return a.jsxs("button",{type:"button",className:"bm-copy-btn",onClick:l,disabled:s==="copying","aria-label":`Copy ${t} screenshot to clipboard`,title:`Copy ${t} screenshot to clipboard`,children:[a.jsx(bt,{name:"copy",size:11}),d]})};function Hr({model:e,datasetName:t,hideClosed:r,setHideClosed:s,setMetric:n}){const i=F.useRef(null),{isInitialFilteredViewLoading:l,chartPoints:d,activeMetric:o,allowedMetrics:f,orderedMetrics:p,parameterBound:h}=e;return l||d.length===0?null:a.jsxs("div",{className:"bm-card",ref:i,children:[a.jsxs("div",{className:"bm-card-screenshot-header","aria-hidden":"true",children:[a.jsxs("div",{className:"bm-card-screenshot-title",children:[a.jsx("span",{className:"bm-card-screenshot-eyebrow",children:"Benchmark"}),a.jsx("span",{className:"bm-card-screenshot-name",children:t})]}),a.jsxs("div",{className:"bm-card-screenshot-brand",children:[a.jsxs("span",{className:"brand",children:[a.jsx("span",{className:"brand-mark"}),a.jsxs("span",{className:"brand-name",children:["Papers ",a.jsx("em",{children:"With Code"})]})]}),a.jsx("span",{className:"bm-card-screenshot-url",children:"paperswithcode.co"})]})]}),a.jsxs("div",{className:"bm-card-head",children:[a.jsx("h2",{className:"bm-card-title",children:"SOTA progression"}),a.jsxs("div",{className:"bm-card-actions",children:[f.length>1&&a.jsxs("label",{className:"bm-view-select",children:[a.jsx("span",{className:"bm-view-select-label",children:"View"}),a.jsx("select",{value:o,onChange:m=>n(m.target.value),children:p.map(m=>a.jsx("option",{value:m,children:m},m))})]}),a.jsxs("label",{className:"bm-closed-toggle",title:"Show or hide evaluations of closed-source models",children:[a.jsx(Qe,{className:"bm-closed-toggle-switch",checked:!r,onCheckedChange:m=>{s(!m)},"aria-label":"Show closed-source models"}),a.jsx("span",{className:"bm-closed-toggle-label",children:"Closed-source"})]}),a.jsx(it,{targetRef:i,label:"SOTA chart"})]})]}),a.jsx("div",{className:"bm-chart-wrap",children:a.jsx(Ot,{points:d,metric:o})}),a.jsxs("div",{className:"bm-chart-foot",children:[a.jsx("span",{className:"legend-dot"}),h===void 0?"All models":"Filtered models"," over time · highlighted dots track the running best · hover for the model · click to open the paper"]})]})}const ye="filter",qe="open-source";function Vr(e){if(!e)return null;const t=e.trim(),r=t.match(/^https?:\/\/(?:www\.)?arxiv\.org\/(?:abs|pdf)\/([^/?#]+)/i);if(r!=null&&r[1])return r[1].replace(/\.pdf$/i,"");const s=t.match(/^(?:https?:\/\/(?:www\.)?paperswithcode\.co)?\/paper\/([^/?#]+)/i);return(s==null?void 0:s[1])??null}function Ge(e,t){return e?a.jsx(de,{title:e}):t||"—"}const da=()=>{var _e,ke,Ce,Ee,Ne,Re,Pe,Me;const{datasetSlug:e}=mt(),[t,r]=ut(),s=t.get("task")||void 0,n=t.get("eval")||void 0,i=Ct(t.get("max_parameters_exclusive")),{preferences:l,setHideClosedSourceEvals:d}=pt(),o=t.get(ye)===qe||l.hide_closed_source_evals,f=F.useRef(null),p=F.useRef(!1),h=F.useRef(null),[m,j]=F.useState(null),I=`${e}:${s||""}`,$=m===I,[_,T]=F.useState(1),v=te(se.datasetPage(e,{include_paper:!0,task:s,is_open:o?!0:void 0}));_t(v.data&&kt(v.data.name));const N=te(ht.byDataset((_e=v.data)==null?void 0:_e.id)),y=te(se.datasetTasks((ke=v.data)==null?void 0:ke.id)),O=te(se.metricDirections()),U=Ye(y.data||[],N.data||[],s,n),G=te({...se.taskBenchmarkTrends(U??void 0,{limit:100,min_recent_papers:0,is_open:o?!0:void 0}),enabled:!!((Ce=v.data)!=null&&Ce.id)}),w=F.useMemo(()=>{var b;return(((b=G.data)==null?void 0:b.results)||[]).find(M=>{var R;return M.id===((R=v.data)==null?void 0:R.id)})||null},[G.data,(Ee=v.data)==null?void 0:Ee.id]),W=te(se.leaderboardMetrics((Ne=v.data)==null?void 0:Ne.id,U??void 0)),A=It({evaluations:N.data||[],tasks:y.data||[],configuredMetrics:W.data||[],directions:O.data,initialSummary:(Re=v.data)==null?void 0:Re.leaderboard_summary,taskSlug:s,highlightEvalId:n,metric:t.get("metric")||void 0,hideClosed:o,parameterBound:i,showMoreMetrics:$,fittingMetricCount:_,ready:{evaluations:N.isSuccess,tasks:y.isSuccess,directions:O.isSuccess,metrics:W.isSuccess}}),{primaryTask:D,hiddenClosedEvals:J,hiddenClosedTopEval:Q,isSummaryLoading:Z,displayedMetric:C,displayedSota:z,displayedSotaModel:ee,isInitialFilteredViewLoading:X,highlightedEval:k,hasParameterMetadata:Y,parameterCoverage:x,orderedMetrics:c}=A;F.useEffect(()=>{if(p.current||!n||!N.data||N.data.length===0)return;const b=f.current;b&&(p.current=!0,b.scrollIntoView({behavior:"smooth",block:"start"}))},[n,N.data]);const u=te(se.area(D==null?void 0:D.area_id));if(v.isLoading)return a.jsxs("div",{className:"page",children:[a.jsx(me,{className:"h-12 w-1/2 mb-6"}),a.jsx(me,{className:"h-64 w-full"})]});if(!v.data)return St([v.error],"Failed to load this benchmark. Please try again.")??a.jsx(jt,{});const g=v.data,E=!!g.supports_harness,L=b=>{r(M=>{const R=new URLSearchParams(M);return b===void 0?R.delete("max_parameters_exclusive"):R.set("max_parameters_exclusive",String(b)),R})},P=b=>{r(M=>{const R=new URLSearchParams(M);return b?R.set(ye,qe):R.delete(ye),R}),d(b)},H=b=>{r(M=>{const R=new URLSearchParams(M);return R.set("metric",b),R})},S=g.introducing_paper??void 0,re=(S==null?void 0:S.arxiv_id)||(S==null?void 0:S.id)||Vr(g.paper_url),q=(S==null?void 0:S.title)||g.introducing_paper_title||null,ae=((Pe=S==null?void 0:S.published)==null?void 0:Pe.slice(0,4))||g.introduced_year||null,lt=!!re||!!g.paper_url||!!q,ot=S!=null&&S.arxiv_id||(Me=g.paper_url)!=null&&Me.match(/^https?:\/\/(?:www\.)?arxiv\.org\//i)?`arXiv:${re}`:`Paper ${re}`;return a.jsx("div",{className:"page",children:a.jsxs("div",{className:"bm-page",children:[a.jsxs("div",{className:"breadcrumb",children:[a.jsx(le,{to:"/tasks",children:"Tasks"}),u.data&&a.jsxs(a.Fragment,{children:[a.jsx("span",{className:"sep",children:"/"}),a.jsx(le,{to:`/tasks#area-${vt(u.data.name)}`,children:u.data.name})]}),D&&a.jsxs(a.Fragment,{children:[a.jsx("span",{className:"sep",children:"/"}),a.jsx(le,{to:`/tasks/${D.slug||D.id}`,children:D.name})]}),a.jsx("span",{className:"sep",children:"/"}),a.jsx("span",{style:{color:"var(--accent-text)"},children:g.name})]}),a.jsxs("div",{className:"bm-title-row",children:[a.jsx("h1",{className:"bm-title",children:g.name}),w&&a.jsxs("div",{className:"bm-title-trend","aria-label":`${g.name} reporting trend`,children:[a.jsx(yt,{history:w.history,benchmarkName:w.name}),a.jsxs("span",{className:"bm-title-trend-summary",children:[a.jsx("strong",{children:w.recent_paper_count})," ",w.recent_paper_count===1?"paper":"papers",w.rate_change==null?w.recent_paper_count>0&&a.jsx("span",{className:"benchmark-trend-change is-new",children:"new"}):a.jsxs("span",{className:`benchmark-trend-change ${w.rate_change>=1?"is-up":"is-down"}`,children:[w.rate_change>=1?"↑":"↓"," ",w.rate_change.toFixed(1),"×"]})]})]})]}),a.jsx(ft,{kind:"benchmark",entityId:g.id,showFollowers:!0}),a.jsxs("div",{className:"bm-subtitle",children:[Z?a.jsx(me,{className:"h-5 w-64 bm-summary-skeleton","aria-label":"Loading benchmark summary"}):a.jsxs("span",{children:[C&&a.jsxs(a.Fragment,{children:[a.jsx("span",{className:"metric-tag",children:C}),a.jsx("span",{style:{color:"var(--hairline-strong)",margin:"0 8px"},children:"·"})]}),ee?a.jsxs("span",{children:["Best: ",a.jsx("span",{className:"best-name",children:ce(z)})," by ",a.jsx("span",{className:"best-name",style:{fontStyle:"normal"},children:ee})]}):a.jsxs("span",{children:[A.rows.length," evaluations"]})]}),g.hf_url&&a.jsxs("a",{className:"bm-action-btn",href:g.hf_url,target:"_blank",rel:"noopener noreferrer",children:[a.jsx("span",{"aria-hidden":"true",children:"🤗"})," View on Hugging Face"]})]}),g.description&&a.jsx("p",{className:"bm-description",children:g.description}),o&&J.length>0&&a.jsxs("div",{className:"bm-hidden-closed-notice",children:[a.jsxs("span",{children:[J.length," closed-source ",J.length===1?"row is":"rows are"," hidden",Q!=null&&Q.model_name?a.jsxs(a.Fragment,{children:[", including ",a.jsx("strong",{children:Q.model_name})]}):null,"."]}),a.jsx("button",{type:"button",className:"bm-hidden-closed-action",onClick:()=>P(!1),children:"Show closed-source"})]}),lt&&a.jsxs("div",{className:"method-source",style:{marginTop:0,marginBottom:18},children:[a.jsx("span",{className:"method-source-label",children:"Source"}),re?a.jsxs(le,{to:`/paper/${re}`,target:"_blank",rel:"noopener noreferrer",className:"method-source-link",children:[a.jsx("span",{className:"method-source-title",children:q?a.jsx(de,{title:q}):ot}),ae&&a.jsx("span",{className:"method-source-meta",children:ae})]}):g.paper_url?a.jsxs("a",{href:wt(g.paper_url)??void 0,target:"_blank",rel:"noopener noreferrer",className:"method-source-link",children:[a.jsx("span",{className:"method-source-title",children:q?a.jsx(de,{title:q}):g.paper_url}),ae&&a.jsx("span",{className:"method-source-meta",children:ae})]}):a.jsxs("div",{className:"method-source-link is-static",children:[a.jsx("span",{className:"method-source-title",children:q?a.jsx(de,{title:q}):null}),ae&&a.jsx("span",{className:"method-source-meta",children:ae})]})]}),a.jsx(Hr,{model:A,datasetName:g.name,hideClosed:o,setHideClosed:P,setMetric:H}),k&&(()=>{var Te,Le;const b=k.paper_arxiv_id||k.paper_id,M=k.paper_title||(k.paper_arxiv_id?`arXiv:${k.paper_arxiv_id}`:null),R=k.best_metric&&((Te=k.metrics)==null?void 0:Te[k.best_metric])!==void 0?k.best_metric:A.activeMetric,$e=(Le=k.metrics)==null?void 0:Le[R];return a.jsxs("div",{className:"bm-highlight-banner",role:"status",children:[a.jsx("span",{className:"bm-highlight-dot","aria-hidden":"true"}),a.jsxs("div",{className:"bm-highlight-text",children:[a.jsx("span",{className:"bm-highlight-label",children:"Comparing result"}),a.jsxs("span",{className:"bm-highlight-paper",children:[k.model_name||M||"—",k.harness?` · ${k.harness}`:""]}),a.jsxs("span",{className:"bm-highlight-meta",children:[$e!==void 0&&R?a.jsxs(a.Fragment,{children:[R,": ",ce($e),M?" · ":""]}):null,b?a.jsx(le,{to:`/paper/${b}`,children:Ge(k.paper_title,M)}):Ge(k.paper_title,M)]})]})]})})(),a.jsxs("div",{className:"bm-card",ref:h,children:[a.jsxs("div",{className:"bm-card-screenshot-header","aria-hidden":"true",children:[a.jsxs("div",{className:"bm-card-screenshot-title",children:[a.jsx("span",{className:"bm-card-screenshot-eyebrow",children:"Benchmark"}),a.jsx("span",{className:"bm-card-screenshot-name",children:g.name})]}),a.jsxs("div",{className:"bm-card-screenshot-brand",children:[a.jsxs("span",{className:"brand",children:[a.jsx("span",{className:"brand-mark"}),a.jsxs("span",{className:"brand-name",children:["Papers ",a.jsx("em",{children:"With Code"})]})]}),a.jsx("span",{className:"bm-card-screenshot-url",children:"paperswithcode.co"})]})]}),a.jsxs("div",{className:"bm-card-head",children:[a.jsx("h2",{className:"bm-card-title",children:"Leaderboard"}),a.jsxs("div",{className:"bm-card-actions",children:[A.allowedMetrics.length>1&&a.jsxs("label",{className:"bm-view-select",children:[a.jsx("span",{className:"bm-view-select-label",children:"View"}),a.jsx("select",{value:A.activeMetric,onChange:b=>H(b.target.value),children:c.map(b=>a.jsx("option",{value:b,children:b},b))})]}),a.jsxs("label",{className:"bm-closed-toggle",title:"Show or hide evaluations of closed-source models",children:[a.jsx(Qe,{className:"bm-closed-toggle-switch",checked:!o,onCheckedChange:b=>P(!b),"aria-label":"Show closed-source models"}),a.jsx("span",{className:"bm-closed-toggle-label",children:"Closed-source"})]}),!X&&!Y&&N.isSuccess?a.jsx("span",{className:"bm-parameter-unavailable",children:"Parameter metadata unavailable"}):null,a.jsx(it,{targetRef:h,label:"leaderboard"})]})]}),!X&&Y&&a.jsxs("div",{className:"bm-parameter-filter-bar",children:[a.jsx("span",{className:"bm-parameter-filter-label",children:"Parameters Size"}),a.jsx("div",{className:"bm-parameter-filter-options",role:"group","aria-label":"Filter leaderboard by parameter size",children:A.parameterFilters.map(b=>{const{selected:M,disabled:R}=b;return a.jsx("button",{type:"button",className:`bm-parameter-filter-option${M?" is-active":""}`,"aria-pressed":M,disabled:R,onClick:()=>L(b.maxParametersExclusive),children:b.label},b.label)})}),a.jsxs("span",{className:"bm-parameter-coverage",children:["Parameters known for ",x.parameter_coverage_known," of ",x.parameter_coverage_total," entries"]})]}),N.isLoading||X?a.jsx("div",{style:{padding:16},children:Array.from({length:5}).map((b,M)=>a.jsx(me,{className:"h-10 w-full mb-2"},M))}):A.rows.length===0?i?a.jsxs("div",{className:"no-results",children:["No known parameter counts match this filter. "," ",a.jsx("button",{type:"button",className:"bm-empty-filter-action",onClick:()=>L(void 0),children:"Show all"})]}):a.jsx("div",{className:"no-results",children:"No evaluations submitted yet."}):a.jsxs(a.Fragment,{children:[c.length>_&&a.jsxs("div",{className:"bm-metric-columns-control",children:[a.jsx("button",{type:"button",className:"bm-metric-columns-toggle","aria-expanded":$,"aria-controls":"benchmark-leaderboard",onClick:()=>j($?null:I),children:$?"Show fewer metrics":`Show more metrics (${c.length-_})`}),$&&a.jsx("span",{children:"Scroll metrics horizontally; model and paper details stay visible."})]}),a.jsx(Ht,{datasetName:g.name,model:A,showHarness:E,setMetric:H,highlightRowRef:f,onFittingMetricCountChange:T})]})]})]})})};export{da as default};
 
1
+ import{i as F,j as a,a5 as ce,L as le,o as ct,M as dt,u as mt,f as ut,b as te,N as ht,x as se}from"./index-B0aq-iar.js";import{R as ft}from"./ResearchFollowButton-D0tv80JF.js";import{u as pt}from"./preferences-CGQ5m7Cb.js";import{L as de}from"./LatexTitle-CXLW2LHS.js";import{C as gt,E as xt}from"./ExternalSourceEvalBadge-DAJYrz2F.js";import{S as Qe}from"./switch-COw0Jfww.js";import{I as bt}from"./Icon-BkpouXtc.js";import{S as me}from"./skeleton-DsZ-wKhC.js";import{B as yt}from"./BenchmarkTrendSparkline-D4HWxaaf.js";import{s as wt}from"./safeExternalHref-CkBrsh84.js";import{s as vt}from"./slug-BpH-Nkvz.js";import jt from"./NotFound-iYKf4_7M.js";import{l as St}from"./LoadFailurePage-BfvJBtL8.js";import{u as _t}from"./useDocumentTitle-gwKq10Vr.js";import{b as kt}from"./pageTitles-DPtr8SUn.js";import"./researchTopic-179EqBPz.js";import"./useMutation-DxP7YVP3.js";import"./FollowerAvatar-DMLlkjGd.js";import"./plus-Ig6EFSa0.js";import"./hover-card-B_kWNxjX.js";import"./index-Byiu5LS8.js";import"./alert-Cf45hSUq.js";function oe(e){if(e==null)return null;if(typeof e=="number")return Number.isFinite(e)?e:null;const t=e.includes("±")?e.split("±")[0].trim():e.trim(),r=parseFloat(t);return Number.isFinite(r)?r:null}const Xe=[{label:"All",maxParametersExclusive:void 0},{label:"<10M",maxParametersExclusive:1e7},{label:"<100M",maxParametersExclusive:1e8},{label:"<1B",maxParametersExclusive:1e9},{label:"<3B",maxParametersExclusive:3e9},{label:"<6B",maxParametersExclusive:6e9},{label:"<12B",maxParametersExclusive:12e9},{label:"<32B",maxParametersExclusive:32e9},{label:"<128B",maxParametersExclusive:128e9},{label:"<500B",maxParametersExclusive:5e11}];function Ct(e){const t=e===null?void 0:Number(e);return Xe.some(r=>r.maxParametersExclusive===t)?t:void 0}function Et(e){return new Intl.NumberFormat("en",{notation:"compact",maximumSignificantDigits:3}).format(e)}function Nt(e){return[e.paper_id,e.task_id,e.dataset_id,e.model_name,e.harness??""].join("|")}function Rt(e){const t=new Map;for(const r of e){const s=Nt(r),n=t.get(s);if(!n){t.set(s,{...r,metrics:{...r.metrics||{}},sourceEvaluationIds:[r.id],ranksByMetric:r.best_metric&&r.best_rank!=null?{[r.best_metric]:r.best_rank}:{},parameterCount:r.num_parameters??null,hasParameterConflict:!1});continue}n.metrics={...n.metrics,...r.metrics||{}},n.sourceEvaluationIds.push(r.id),r.best_metric&&r.best_rank!=null&&(n.ranksByMetric[r.best_metric]=r.best_rank),r.num_parameters!=null&&!n.hasParameterConflict&&(n.parameterCount===null?n.parameterCount=r.num_parameters:n.parameterCount!==r.num_parameters&&(n.parameterCount=null,n.hasParameterConflict=!0))}return Array.from(t.values())}function Fe(e,t){return t===void 0?e:e.filter(r=>r.parameterCount!==null&&r.parameterCount<t)}function Pt(e,t){return t?e.id===t||e.sourceEvaluationIds.includes(t):!1}function Ie(e,t){return e.ranksByMetric[t]??e.best_rank??9999}function Mt(e){const t=Date.parse(e);return Number.isNaN(t)?"":new Date(t).toISOString().slice(0,10)}function $t(e){const t=new Map;for(const s of e)s.evaluated_on&&t.set(s.evaluated_on,(t.get(s.evaluated_on)??0)+1);const r=Array.from(t.values()).reduce((s,n)=>s+n,0);for(const[s,n]of t)if(n>=2&&n*2>r)return s;return null}function Tt(e,t){const r=e.evaluated_on;return r&&r!==t&&r!==Mt(e.updated_at)?r:e.paper_published_date||""}function Lt(e,t,r){if(e.length===0)return{points:[],sota:0,sotaModel:""};const s=$t(e),n=e.map(h=>{var j;const m=oe((j=h.metrics)==null?void 0:j[t]);return{eval:h,value:m,date:Tt(h,s)}}).filter(h=>h.value!==null&&!!h.date).sort((h,m)=>h.date.localeCompare(m.date)),i=[];let l=null;for(const h of n){const m=l==null?!0:r==="↓"?h.value<l:h.value>l;m&&(l=h.value),i.push({value:h.value,date:h.date,dateLabel:h.date.slice(0,7),modelName:h.eval.model_name||"",paperTitle:h.eval.paper_title||"",paperRouteId:h.eval.paper_arxiv_id||h.eval.paper_id||null,isSota:m})}const o=e.map(h=>{var m;return{eval:h,value:oe((m=h.metrics)==null?void 0:m[t])}}).filter(h=>h.value!==null).sort((h,m)=>r==="↓"?h.value-m.value:m.value-h.value)[0],f=(o==null?void 0:o.value)??0,p=(o==null?void 0:o.eval.model_name)||(o==null?void 0:o.eval.paper_title)||"";return{points:i,sota:f,sotaModel:p}}function Ft(e,t,r){const s=t?(e??[]).filter(l=>l.task_id===t):e??[],n=s.filter(l=>l.is_open===!1),i=n.reduce((l,d)=>l?(d.best_rank??Number.POSITIVE_INFINITY)<(l.best_rank??Number.POSITIVE_INFINITY)?d:l:d,null);return{visible:r?s.filter(l=>l.is_open!==!1):s,hiddenClosed:n,topHiddenClosed:i}}function Ye(e,t,r,s){const n=t.find(i=>i.id===s);if(e.length===0)return null;if(n!=null&&n.task_id&&e.some(i=>i.id===n.task_id))return n.task_id;if(r){const i=e.find(l=>l.slug===r);if(i)return i.id}if(e.length===1)return e[0].id;if(t.length>0){const i=new Map;for(const o of t)i.set(o.task_id,(i.get(o.task_id)||0)+1);let l=null,d=-1;for(const o of e){const f=i.get(o.id)||0;f>d&&(d=f,l=o.id)}if(l)return l}return e[0].id}function It(e){var X,k,Y;const{evaluations:t,tasks:r,taskSlug:s,highlightEvalId:n,parameterBound:i,showMoreMetrics:l,fittingMetricCount:d=1}=e,o=Ye(r,t,s,n),f=r.find(x=>x.id===o)||r[0]||null,p=t.find(x=>x.id===n),h=Ft(t,o,e.hideClosed),m=Rt(h.visible),j=Fe(m,i),I=e.configuredMetrics.map(x=>x.metric_name),$=Array.from(new Set(m.flatMap(x=>[...x.best_metric?[x.best_metric]:[],...Object.keys(x.metrics||{})]))),_=I.length?I:$,T=new Map;for(const x of m){const c=x.best_metric;!c||oe(x.metrics[c])===null||I.length&&!_.includes(c)||T.set(c,(T.get(c)||0)+1)}const v=((X=[...T].sort((x,c)=>c[1]-x[1])[0])==null?void 0:X[0])||_[0]||"",y=_.find(x=>{var c;return x.toLocaleLowerCase()===((c=e.metric)==null?void 0:c.trim().toLocaleLowerCase())})||(p==null?void 0:p.best_metric)||v,O=((k=e.directions)==null?void 0:k.directions[y])==="lower_is_better"?"↓":"↑",U=y&&_.includes(y)?[y,..._.filter(x=>x!==y)]:_,G=U.length?l?U:U.slice(0,Math.max(1,d)):y?[y]:[],w=j.slice().sort((x,c)=>{const u=oe(x.metrics[y]),g=oe(c.metrics[y]);return u!==null&&g!==null?O==="↓"?u-g:g-u:u!==null?-1:g!==null?1:Ie(x,y)-Ie(c,y)});let W=null,A=0;const D=w.map((x,c)=>{const u=oe(x.metrics[y]);return u!==null&&u!==W&&(W=u,A=c+1),{evaluation:x,rank:u===null?null:A,isHighlighted:Pt(x,n)}}),{points:J,sota:Q,sotaModel:Z}=Lt(j,y,O),C=i===void 0?e.initialSummary:void 0,z=e.ready.evaluations&&e.ready.tasks&&e.ready.directions&&(!o||e.ready.metrics),ee={parameter_coverage_known:m.filter(x=>x.parameterCount!==null).length,parameter_coverage_total:m.length};return{currentTaskId:o,primaryTask:f,activeMetric:y,arrow:O,allowedMetrics:_,orderedMetrics:U,visibleMetrics:G,rows:D,chartPoints:J,highlightedEval:((Y=D.find(x=>x.isHighlighted))==null?void 0:Y.evaluation)||null,hiddenClosedEvals:h.hiddenClosed,hiddenClosedTopEval:h.topHiddenClosed,parameterBound:i,parameterCoverage:ee,hasParameterMetadata:ee.parameter_coverage_known>0,parameterFilters:Xe.map(x=>({...x,selected:i===x.maxParametersExclusive,disabled:i!==x.maxParametersExclusive&&Fe(m,x.maxParametersExclusive).length===0})),displayedMetric:z?y:C==null?void 0:C.metric,displayedSota:z?Q:C==null?void 0:C.value,displayedSotaModel:z?Z:C==null?void 0:C.model_name,isSummaryLoading:!z&&!C,isInitialFilteredViewLoading:i!==void 0&&!z}}function At(e,t,r,s=1,n=0){const i=e-t.fixed-(r?t.harness:0);if(t.metric<=0)return 1;const l=Math.floor(i/t.metric);if(l<s)return Math.max(1,l);const d=Math.floor((i-n)/t.metric);return Math.max(1,s,d)}function pe(e,t){return parseFloat(e.getPropertyValue(t))||0}function Bt(e){const t=getComputedStyle(e);return{fixed:["--bm-rank-width","--bm-model-width","--bm-parameters-width","--bm-paper-width","--bm-year-width"].reduce((r,s)=>r+pe(t,s),0),harness:pe(t,"--bm-harness-width"),metric:pe(t,"--bm-metric-width")}}const Dt=20;function Ae(e,t){return e?a.jsx(de,{title:e}):t||"—"}function Ht({datasetName:e,model:t,showHarness:r,setMetric:s,highlightRowRef:n,onFittingMetricCountChange:i}){const{rows:l,visibleMetrics:d,activeMetric:o,arrow:f}=t,[p,h]=F.useState(null);return F.useEffect(()=>{if(!p)return;const m=()=>{p.classList.toggle("has-horizontal-overflow",p.scrollWidth>p.clientWidth);const I=p.firstElementChild;if(!I)return;const $=p.clientWidth,_=Bt(I);p.classList.toggle("unpins-trailing-columns",$<_.fixed+_.metric);const T=document.documentElement,v=T.scrollHeight>T.clientHeight?0:Dt;i(N=>At($,_,r,N,v))},j=new ResizeObserver(m);return j.observe(p),p.firstElementChild&&j.observe(p.firstElementChild),m(),()=>j.disconnect()},[p,r,i]),a.jsx("div",{ref:h,className:"bm-table-scroll",role:"region","aria-label":`${e} leaderboard`,tabIndex:0,children:a.jsxs("table",{id:"benchmark-leaderboard",className:"bm-table",style:{"--bm-metric-count":d.length,"--bm-harness-count":r?1:0},children:[a.jsxs("caption",{className:"sr-only",children:[e," leaderboard"]}),a.jsxs("colgroup",{children:[a.jsx("col",{className:"bm-width-rank"}),a.jsx("col",{className:"bm-width-model"}),a.jsx("col",{className:"bm-width-parameters"}),r&&a.jsx("col",{className:"bm-width-harness"}),d.map(m=>a.jsx("col",{className:"bm-width-metric"},m)),a.jsx("col",{}),a.jsx("col",{className:"bm-width-year"})]}),a.jsx("thead",{children:a.jsxs("tr",{children:[a.jsx("th",{className:"col-rank",children:"Rank"}),a.jsx("th",{className:"col-model",children:"Model"}),a.jsxs("th",{className:"col-parameters",children:[a.jsx("span",{className:"bm-label-full",children:"Parameters"}),a.jsx("span",{className:"bm-label-short",children:"Params"})]}),r&&a.jsx("th",{className:"col-harness",children:"Harness"}),d.map(m=>{const j=m===o;return a.jsx("th",{className:`col-value ${j?"is-active":""}`,"aria-sort":j?f==="↓"?"ascending":"descending":"none",children:a.jsxs("button",{type:"button",className:"bm-metric-header",onClick:()=>s(m),"aria-pressed":j,title:`Sort by ${m}`,children:[m,j?` ${f}`:""]})},m)}),a.jsx("th",{className:"col-paper",children:"Paper"}),a.jsx("th",{className:"col-year",children:"Year"})]})}),a.jsx("tbody",{children:l.map(({evaluation:m,rank:j,isHighlighted:I})=>{var T;const $=m.paper_arxiv_id||m.paper_id,_=m.paper_title||(m.paper_arxiv_id?`arXiv:${m.paper_arxiv_id}`:null);return a.jsxs("tr",{ref:I?n:void 0,className:I?"is-highlighted":void 0,children:[a.jsx("td",{className:"col-rank",children:j??"—"}),a.jsxs("td",{className:"col-model",children:[I&&a.jsx("span",{className:"bm-row-marker","aria-hidden":"true"}),m.hf_model_url?a.jsx("a",{href:m.hf_model_url,target:"_blank",rel:"noopener noreferrer",className:"bm-model-link",title:`Open ${m.model_name||"model"} on Hugging Face`,children:m.model_name||"—"}):m.model_name||"—",m.is_open===!1&&a.jsx(gt,{}),(m.external??m.is_external)&&a.jsx(xt,{sourceUrl:m.source_url||m.external_source_url||m.result_url})]}),a.jsx("td",{className:"col-parameters",title:m.parameterCount===null?void 0:m.parameterCount.toLocaleString("en-US"),"aria-label":m.parameterCount===null?"Parameters unknown":`${m.parameterCount.toLocaleString("en-US")} parameters`,children:m.parameterCount===null?"—":Et(m.parameterCount)}),r&&a.jsx("td",{className:"col-harness",children:m.harness||"—"}),d.map(v=>{var O;const N=v===o,y=(O=m.metrics)==null?void 0:O[v];return a.jsx("td",{className:`col-value${N?" is-active":""}${N&&j===1?" is-best":""}`,children:y!=null&&y!==""?ce(y):"—"},v)}),a.jsx("td",{className:"col-paper",children:$?a.jsx(le,{to:`/paper/${$}`,title:m.paper_title||_||void 0,children:Ae(m.paper_title,_)}):Ae(m.paper_title,_)}),a.jsx("td",{className:"col-year",children:((T=m.evaluated_on||m.paper_published_date)==null?void 0:T.slice(0,4))||"—"})]},m.id)})})]})})}function Be(e){const t=e.length===7?`${e}-01`:e,r=new Date(t).getTime();return Number.isFinite(r)?r:0}const ge=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function xe(e){const t=new Date(e);return{year:t.getFullYear(),month:t.getMonth()}}function Vt(e,t){if(e===t){const{year:o,month:f}=xe(e);return[{timestamp:new Date(o,f,1).getTime(),key:`${o}-${f}`,label:`${ge[f]} ${o}`}]}const r=xe(e),s=xe(t);if(r.year===s.year){const o=s.month-r.month+1;let f=1;const p=12;o>p&&(f=Math.ceil(o/p));const h=[];for(let m=r.month;m<=s.month;m+=f)h.push({timestamp:new Date(r.year,m,1).getTime(),key:`${r.year}-${m}`,label:o<=3?`${ge[m]} ${r.year}`:ge[m]});return h}const n=s.year-r.year+1;let i=1;const l=12;n>l&&(i=Math.ceil(n/l));const d=[];for(let o=r.year;o<=s.year;o+=i)d.push({timestamp:new Date(o,0,1).getTime(),key:String(o),label:String(o)});return d}const Ot=({points:e,metric:t})=>{const r=ct(),[s,n]=F.useState(null),i=`${F.useId()}-label-halo`,l=880,d=320,o=60,f=30,p=40,h=50,m=e.map(c=>c.value),j=Math.min(...m),$=Math.max(...m)-j||1,_=l-o-f,T=d-p-h,v=e.map(c=>Be(c.date)),N=Math.min(...v),y=Math.max(...v),O=y-N||1,U=c=>N===y?o+_/2:o+(c-N)/O*_,G=e.map((c,u)=>{const g=U(Be(c.date)),E=(c.value-j)/$,L=p+T*(1-E);return{x:g,y:L,data:c,idx:u}}),w=G.filter(c=>c.data.isSota);let W="";if(w.length>=2){W=`M${w[0].x},${w[0].y}`;for(let c=1;c<w.length;c++){const u=w[c-1],g=w[c],E=(u.x+g.x)/2;W+=` C${E},${u.y} ${E},${g.y} ${g.x},${g.y}`}}const A=5.4,D=8,J=9,Q=c=>{const u=c.data.modelName||c.data.paperTitle||"";if(!u)return null;const g=u.length>22?u.slice(0,21)+"…":u,E=g.length*A;let L=c.x-E/2,P=c.x+E/2,H="middle";return L<o?(L=o,P=o+E,H="start"):P>l-f&&(P=l-f,L=P-E,H="end"),{x:H==="start"?o:H==="end"?l-f:c.x,y:c.y-J,text:g,anchor:H,left:L,right:P}},Z=[],C=w.length>0?Q(w[w.length-1]):null;let z=-1/0;for(let c=0;c<w.length-1;c++){const u=Q(w[c]);u&&(u.left<z+D||C&&u.right>C.left-D||(z=u.right,Z.push({x:u.x,y:u.y,text:u.text,anchor:u.anchor})))}C&&Z.push({x:C.x,y:C.y,text:C.text,anchor:C.anchor});const ee=Vt(N,y),X=5,k=c=>n(u=>u===c?null:u),Y=c=>{c&&r(`/paper/${c}`)},x=(c,u)=>{const E=`${c.data.modelName||c.data.paperTitle||"Unknown model"}: ${ce(c.data.value)} on ${c.data.dateLabel}`,L=!!c.data.paperRouteId;return a.jsxs("g",{children:[u,a.jsx("circle",{cx:c.x,cy:c.y,r:"10",fill:"transparent",style:{cursor:L?"pointer":"default",outline:"none"},tabIndex:0,role:L?"link":"img","aria-label":E,onMouseEnter:()=>n(c.idx),onMouseLeave:()=>k(c.idx),onFocus:()=>n(c.idx),onBlur:()=>k(c.idx),onClick:()=>Y(c.data.paperRouteId),onKeyDown:P=>{L&&(P.key==="Enter"||P.key===" ")&&(P.preventDefault(),Y(c.data.paperRouteId))},children:a.jsx("title",{children:E})})]},c.idx)};return a.jsxs("svg",{width:"100%",viewBox:`0 0 ${l} ${d}`,style:{display:"block"},children:[a.jsx("defs",{children:a.jsxs("filter",{id:i,x:"-10%",y:"-30%",width:"120%",height:"160%",children:[a.jsx("feMorphology",{in:"SourceAlpha",operator:"dilate",radius:"1.5",result:"halo"}),a.jsx("feFlood",{style:{floodColor:"var(--bg-elevated)"}}),a.jsx("feComposite",{in2:"halo",operator:"in"}),a.jsxs("feMerge",{children:[a.jsx("feMergeNode",{}),a.jsx("feMergeNode",{in:"SourceGraphic"})]})]})}),a.jsx("text",{x:o-38,y:p+T/2,fontSize:"11",fontFamily:"var(--mono)",fill:"var(--ink-faint)",textAnchor:"middle",transform:`rotate(-90 ${o-38} ${p+T/2})`,children:t}),Array.from({length:X}).map((c,u)=>{const g=u/(X-1),E=p+T*(1-g),L=j+$*g;return a.jsxs("g",{children:[a.jsx("line",{x1:o,y1:E,x2:l-f,y2:E,stroke:"var(--hairline)",strokeWidth:"1"}),a.jsx("text",{x:o-10,y:E+4,fontSize:"11",fontFamily:"var(--mono)",fill:"var(--ink-faint)",textAnchor:"end",children:ce(L)})]},u)}),ee.map(c=>{const u=U(c.timestamp);return a.jsx("text",{x:u,y:d-h+18,fontSize:"11",fontFamily:"var(--mono)",fill:"var(--ink-soft)",textAnchor:"middle",children:c.label},c.key)}),G.filter(c=>!c.data.isSota).map(c=>{const u=s===c.idx;return x(c,a.jsx("circle",{cx:c.x,cy:c.y,r:u?3:2,fill:"var(--ink-faint)",opacity:u?1:.45,style:{transition:"r 0.12s ease, opacity 0.12s ease"}}))}),W&&a.jsx("path",{d:W,stroke:"var(--accent)",strokeWidth:"2",fill:"none",strokeLinejoin:"round",strokeLinecap:"round"}),w.map(c=>{const u=s===c.idx;return x(c,a.jsx("circle",{cx:c.x,cy:c.y,r:u?4.5:3,fill:u?"var(--accent)":"var(--bg-elevated)",stroke:"var(--accent)",strokeWidth:"1.5",style:{transition:"r 0.12s ease, fill 0.12s ease"}}))}),Z.map((c,u)=>a.jsx("text",{x:c.x,y:c.y,fontSize:"9.5",fontFamily:"var(--mono)",fill:"var(--ink-soft)",textAnchor:c.anchor,pointerEvents:"none",filter:`url(#${i})`,children:c.text},`label-${u}`)),s!==null&&G[s]&&(()=>{const c=G[s],u=c.data.modelName||c.data.paperTitle||"Unknown model",E=`${u.length>40?u.slice(0,39)+"…":u}: ${ce(c.data.value)}`,P=Math.max(120,Math.min(340,E.length*6.6+24)),H=30;let S=c.x-P/2;S<o&&(S=o),S+P>l-f&&(S=l-f-P);const q=c.y-H-14>=p?c.y-H-12:c.y+12;return a.jsxs("g",{pointerEvents:"none",children:[a.jsx("rect",{x:S,y:q,width:P,height:H,rx:"6",ry:"6",fill:"var(--bg-elevated)",stroke:"var(--hairline-strong)",strokeWidth:"1",style:{filter:"drop-shadow(0 2px 6px rgba(0,0,0,0.08))"}}),a.jsx("text",{x:S+12,y:q+19,fontSize:"12",fontFamily:"var(--sans)",fill:"var(--ink)",fontWeight:500,children:E})]})})()]})};function Ut(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const r=document.implementation.createHTMLDocument(),s=r.createElement("base"),n=r.createElement("a");return r.head.appendChild(s),r.body.appendChild(n),t&&(s.href=t),n.href=e,n.href}const Wt=(()=>{let e=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function K(e){const t=[];for(let r=0,s=e.length;r<s;r++)t.push(e[r]);return t}let ne=null;function Ke(e={}){return ne||(e.includeStyleProperties?(ne=e.includeStyleProperties,ne):(ne=K(window.getComputedStyle(document.documentElement)),ne))}function ue(e,t){const s=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return s?parseFloat(s.replace("px","")):0}function zt(e){const t=ue(e,"border-left-width"),r=ue(e,"border-right-width");return e.clientWidth+t+r}function qt(e){const t=ue(e,"border-top-width"),r=ue(e,"border-bottom-width");return e.clientHeight+t+r}function Je(e,t={}){const r=t.width||zt(e),s=t.height||qt(e);return{width:r,height:s}}function Gt(){let e,t;try{t=process}catch{}const r=t&&t.env?t.env.devicePixelRatio:null;return r&&(e=parseInt(r,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}const V=16384;function Qt(e){(e.width>V||e.height>V)&&(e.width>V&&e.height>V?e.width>e.height?(e.height*=V/e.width,e.width=V):(e.width*=V/e.height,e.height=V):e.width>V?(e.height*=V/e.width,e.width=V):(e.width*=V/e.height,e.height=V))}function Xt(e,t={}){return e.toBlob?new Promise(r=>{e.toBlob(r,t.type?t.type:"image/png",t.quality?t.quality:1)}):new Promise(r=>{const s=window.atob(e.toDataURL(t.type?t.type:void 0,t.quality?t.quality:void 0).split(",")[1]),n=s.length,i=new Uint8Array(n);for(let l=0;l<n;l+=1)i[l]=s.charCodeAt(l);r(new Blob([i],{type:t.type?t.type:"image/png"}))})}function he(e){return new Promise((t,r)=>{const s=new Image;s.onload=()=>{s.decode().then(()=>{requestAnimationFrame(()=>t(s))})},s.onerror=r,s.crossOrigin="anonymous",s.decoding="async",s.src=e})}async function Yt(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function Kt(e,t,r){const s="http://www.w3.org/2000/svg",n=document.createElementNS(s,"svg"),i=document.createElementNS(s,"foreignObject");return n.setAttribute("width",`${t}`),n.setAttribute("height",`${r}`),n.setAttribute("viewBox",`0 0 ${t} ${r}`),i.setAttribute("width","100%"),i.setAttribute("height","100%"),i.setAttribute("x","0"),i.setAttribute("y","0"),i.setAttribute("externalResourcesRequired","true"),n.appendChild(i),i.appendChild(e),Yt(n)}const B=(e,t)=>{if(e instanceof t)return!0;const r=Object.getPrototypeOf(e);return r===null?!1:r.constructor.name===t.name||B(r,t)};function Jt(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function Zt(e,t){return Ke(t).map(r=>{const s=e.getPropertyValue(r),n=e.getPropertyPriority(r);return`${r}: ${s}${n?" !important":""};`}).join(" ")}function er(e,t,r,s){const n=`.${e}:${t}`,i=r.cssText?Jt(r):Zt(r,s);return document.createTextNode(`${n}{${i}}`)}function De(e,t,r,s){const n=window.getComputedStyle(e,r),i=n.getPropertyValue("content");if(i===""||i==="none")return;const l=Wt();try{t.className=`${t.className} ${l}`}catch{return}const d=document.createElement("style");d.appendChild(er(l,r,n,s)),t.appendChild(d)}function tr(e,t,r){De(e,t,":before",r),De(e,t,":after",r)}const He="application/font-woff",Ve="image/jpeg",rr={woff:He,woff2:He,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Ve,jpeg:Ve,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function ar(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function je(e){const t=ar(e).toLowerCase();return rr[t]||""}function sr(e){return e.split(/,/)[1]}function we(e){return e.search(/^(data:)/)!==-1}function nr(e,t){return`data:${t};base64,${e}`}async function Ze(e,t,r){const s=await fetch(e,t);if(s.status===404)throw new Error(`Resource "${s.url}" not found`);const n=await s.blob();return new Promise((i,l)=>{const d=new FileReader;d.onerror=l,d.onloadend=()=>{try{i(r({res:s,result:d.result}))}catch(o){l(o)}},d.readAsDataURL(n)})}const be={};function ir(e,t,r){let s=e.replace(/\?.*/,"");return r&&(s=e),/ttf|otf|eot|woff2?/i.test(s)&&(s=s.replace(/.*\//,"")),t?`[${t}]${s}`:s}async function Se(e,t,r){const s=ir(e,t,r.includeQueryParams);if(be[s]!=null)return be[s];r.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let n;try{const i=await Ze(e,r.fetchRequestInit,({res:l,result:d})=>(t||(t=l.headers.get("Content-Type")||""),sr(d)));n=nr(i,t)}catch(i){n=r.imagePlaceholder||"";let l=`Failed to fetch resource: ${e}`;i&&(l=typeof i=="string"?i:i.message),l&&console.warn(l)}return be[s]=n,n}async function lr(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):he(t)}async function or(e,t){if(e.currentSrc){const i=document.createElement("canvas"),l=i.getContext("2d");i.width=e.clientWidth,i.height=e.clientHeight,l==null||l.drawImage(e,0,0,i.width,i.height);const d=i.toDataURL();return he(d)}const r=e.poster,s=je(r),n=await Se(r,s,t);return he(n)}async function cr(e,t){var r;try{if(!((r=e==null?void 0:e.contentDocument)===null||r===void 0)&&r.body)return await fe(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function dr(e,t){return B(e,HTMLCanvasElement)?lr(e):B(e,HTMLVideoElement)?or(e,t):B(e,HTMLIFrameElement)?cr(e,t):e.cloneNode(et(e))}const mr=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",et=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function ur(e,t,r){var s,n;if(et(t))return t;let i=[];return mr(e)&&e.assignedNodes?i=K(e.assignedNodes()):B(e,HTMLIFrameElement)&&(!((s=e.contentDocument)===null||s===void 0)&&s.body)?i=K(e.contentDocument.body.childNodes):i=K(((n=e.shadowRoot)!==null&&n!==void 0?n:e).childNodes),i.length===0||B(e,HTMLVideoElement)||await i.reduce((l,d)=>l.then(()=>fe(d,r)).then(o=>{o&&t.appendChild(o)}),Promise.resolve()),t}function hr(e,t,r){const s=t.style;if(!s)return;const n=window.getComputedStyle(e);n.cssText?(s.cssText=n.cssText,s.transformOrigin=n.transformOrigin):Ke(r).forEach(i=>{let l=n.getPropertyValue(i);i==="font-size"&&l.endsWith("px")&&(l=`${Math.floor(parseFloat(l.substring(0,l.length-2)))-.1}px`),B(e,HTMLIFrameElement)&&i==="display"&&l==="inline"&&(l="block"),i==="d"&&t.getAttribute("d")&&(l=`path(${t.getAttribute("d")})`),s.setProperty(i,l,n.getPropertyPriority(i))})}function fr(e,t){B(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),B(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function pr(e,t){if(B(e,HTMLSelectElement)){const r=t,s=Array.from(r.children).find(n=>e.value===n.getAttribute("value"));s&&s.setAttribute("selected","")}}function gr(e,t,r){return B(t,Element)&&(hr(e,t,r),tr(e,t,r),fr(e,t),pr(e,t)),t}async function xr(e,t){const r=e.querySelectorAll?e.querySelectorAll("use"):[];if(r.length===0)return e;const s={};for(let i=0;i<r.length;i++){const d=r[i].getAttribute("xlink:href");if(d){const o=e.querySelector(d),f=document.querySelector(d);!o&&f&&!s[d]&&(s[d]=await fe(f,t,!0))}}const n=Object.values(s);if(n.length){const i="http://www.w3.org/1999/xhtml",l=document.createElementNS(i,"svg");l.setAttribute("xmlns",i),l.style.position="absolute",l.style.width="0",l.style.height="0",l.style.overflow="hidden",l.style.display="none";const d=document.createElementNS(i,"defs");l.appendChild(d);for(let o=0;o<n.length;o++)d.appendChild(n[o]);e.appendChild(l)}return e}async function fe(e,t,r){return!r&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(s=>dr(s,t)).then(s=>ur(e,s,t)).then(s=>gr(e,s,t)).then(s=>xr(s,t))}const tt=/url\((['"]?)([^'"]+?)\1\)/g,br=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,yr=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function wr(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function vr(e){const t=[];return e.replace(tt,(r,s,n)=>(t.push(n),r)),t.filter(r=>!we(r))}async function jr(e,t,r,s,n){try{const i=r?Ut(t,r):t,l=je(t);let d;return n||(d=await Se(i,l,s)),e.replace(wr(t),`$1${d}$3`)}catch{}return e}function Sr(e,{preferredFontFormat:t}){return t?e.replace(yr,r=>{for(;;){const[s,,n]=br.exec(r)||[];if(!n)return"";if(n===t)return`src: ${s};`}}):e}function rt(e){return e.search(tt)!==-1}async function at(e,t,r){if(!rt(e))return e;const s=Sr(e,r);return vr(s).reduce((i,l)=>i.then(d=>jr(d,l,t,r)),Promise.resolve(s))}async function ie(e,t,r){var s;const n=(s=t.style)===null||s===void 0?void 0:s.getPropertyValue(e);if(n){const i=await at(n,null,r);return t.style.setProperty(e,i,t.style.getPropertyPriority(e)),!0}return!1}async function _r(e,t){await ie("background",e,t)||await ie("background-image",e,t),await ie("mask",e,t)||await ie("-webkit-mask",e,t)||await ie("mask-image",e,t)||await ie("-webkit-mask-image",e,t)}async function kr(e,t){const r=B(e,HTMLImageElement);if(!(r&&!we(e.src))&&!(B(e,SVGImageElement)&&!we(e.href.baseVal)))return;const s=r?e.src:e.href.baseVal,n=await Se(s,je(s),t);await new Promise((i,l)=>{e.onload=i,e.onerror=t.onImageErrorHandler?(...o)=>{try{i(t.onImageErrorHandler(...o))}catch(f){l(f)}}:l;const d=e;d.decode&&(d.decode=i),d.loading==="lazy"&&(d.loading="eager"),r?(e.srcset="",e.src=n):e.href.baseVal=n})}async function Cr(e,t){const s=K(e.childNodes).map(n=>st(n,t));await Promise.all(s).then(()=>e)}async function st(e,t){B(e,Element)&&(await _r(e,t),await kr(e,t),await Cr(e,t))}function Er(e,t){const{style:r}=e;t.backgroundColor&&(r.backgroundColor=t.backgroundColor),t.width&&(r.width=`${t.width}px`),t.height&&(r.height=`${t.height}px`);const s=t.style;return s!=null&&Object.keys(s).forEach(n=>{r[n]=s[n]}),e}const Oe={};async function Ue(e){let t=Oe[e];if(t!=null)return t;const s=await(await fetch(e)).text();return t={url:e,cssText:s},Oe[e]=t,t}async function We(e,t){let r=e.cssText;const s=/url\(["']?([^"')]+)["']?\)/g,i=(r.match(/url\([^)]+\)/g)||[]).map(async l=>{let d=l.replace(s,"$1");return d.startsWith("https://")||(d=new URL(d,e.url).href),Ze(d,t.fetchRequestInit,({result:o})=>(r=r.replace(l,`url(${o})`),[l,o]))});return Promise.all(i).then(()=>r)}function ze(e){if(e==null)return[];const t=[],r=/(\/\*[\s\S]*?\*\/)/gi;let s=e.replace(r,"");const n=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const o=n.exec(s);if(o===null)break;t.push(o[0])}s=s.replace(n,"");const i=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,l="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",d=new RegExp(l,"gi");for(;;){let o=i.exec(s);if(o===null){if(o=d.exec(s),o===null)break;i.lastIndex=d.lastIndex}else d.lastIndex=i.lastIndex;t.push(o[0])}return t}async function Nr(e,t){const r=[],s=[];return e.forEach(n=>{if("cssRules"in n)try{K(n.cssRules||[]).forEach((i,l)=>{if(i.type===CSSRule.IMPORT_RULE){let d=l+1;const o=i.href,f=Ue(o).then(p=>We(p,t)).then(p=>ze(p).forEach(h=>{try{n.insertRule(h,h.startsWith("@import")?d+=1:n.cssRules.length)}catch(m){console.error("Error inserting rule from remote css",{rule:h,error:m})}})).catch(p=>{console.error("Error loading remote css",p.toString())});s.push(f)}})}catch(i){const l=e.find(d=>d.href==null)||document.styleSheets[0];n.href!=null&&s.push(Ue(n.href).then(d=>We(d,t)).then(d=>ze(d).forEach(o=>{l.insertRule(o,l.cssRules.length)})).catch(d=>{console.error("Error loading remote stylesheet",d)})),console.error("Error inlining remote css file",i)}}),Promise.all(s).then(()=>(e.forEach(n=>{if("cssRules"in n)try{K(n.cssRules||[]).forEach(i=>{r.push(i)})}catch(i){console.error(`Error while reading CSS rules from ${n.href}`,i)}}),r))}function Rr(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>rt(t.style.getPropertyValue("src")))}async function Pr(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const r=K(e.ownerDocument.styleSheets),s=await Nr(r,t);return Rr(s)}function nt(e){return e.trim().replace(/["']/g,"")}function Mr(e){const t=new Set;function r(s){(s.style.fontFamily||getComputedStyle(s).fontFamily).split(",").forEach(i=>{t.add(nt(i))}),Array.from(s.children).forEach(i=>{i instanceof HTMLElement&&r(i)})}return r(e),t}async function $r(e,t){const r=await Pr(e,t),s=Mr(e);return(await Promise.all(r.filter(i=>s.has(nt(i.style.fontFamily))).map(i=>{const l=i.parentStyleSheet?i.parentStyleSheet.href:null;return at(i.cssText,l,t)}))).join(`
2
  `)}async function Tr(e,t){const r=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await $r(e,t);if(r){const s=document.createElement("style"),n=document.createTextNode(r);s.appendChild(n),e.firstChild?e.insertBefore(s,e.firstChild):e.appendChild(s)}}async function Lr(e,t={}){const{width:r,height:s}=Je(e,t),n=await fe(e,t,!0);return await Tr(n,t),await st(n,t),Er(n,t),await Kt(n,r,s)}async function Fr(e,t={}){const{width:r,height:s}=Je(e,t),n=await Lr(e,t),i=await he(n),l=document.createElement("canvas"),d=l.getContext("2d"),o=t.pixelRatio||Gt(),f=t.canvasWidth||r,p=t.canvasHeight||s;return l.width=f*o,l.height=p*o,t.skipAutoScale||Qt(l),l.style.width=`${f}`,l.style.height=`${p}`,t.backgroundColor&&(d.fillStyle=t.backgroundColor,d.fillRect(0,0,l.width,l.height)),d.drawImage(i,0,0,l.width,l.height),l}async function Ir(e,t={}){const r=await Fr(e,t);return await Xt(r)}const ve="#ffffff";function Ar(){return typeof window>"u"?ve:window.getComputedStyle(document.documentElement).getPropertyValue("--bg-elevated").trim()||ve}function Br(e){if(typeof window>"u")return ve;const t=window.getComputedStyle(e).backgroundColor;return!t||t==="rgba(0, 0, 0, 0)"||t==="transparent"?Ar():t}async function Dr(e){var r,s;if(typeof window>"u"||!((s=(r=window.navigator)==null?void 0:r.clipboard)!=null&&s.write))throw new Error("Clipboard image copy is not supported in this browser.");if(typeof window.ClipboardItem>"u")throw new Error("Clipboard image copy is not supported in this browser.");const t=await Ir(e,{pixelRatio:2,cacheBust:!0,backgroundColor:Br(e)});if(!t)throw new Error("Failed to render screenshot.");await window.navigator.clipboard.write([new window.ClipboardItem({"image/png":t})])}const it=({targetRef:e,label:t})=>{const{toast:r}=dt(),[s,n]=F.useState("idle"),i=F.useRef(null);F.useEffect(()=>()=>{i.current!==null&&window.clearTimeout(i.current)},[]);const l=F.useCallback(async()=>{const o=e.current;if(o){n("copying"),o.classList.add("is-capturing"),o.offsetHeight,await new Promise(f=>window.requestAnimationFrame(()=>f()));try{await Dr(o),n("copied"),r({title:"Screenshot copied",description:`Image of the ${t} copied to your clipboard.`}),i.current!==null&&window.clearTimeout(i.current),i.current=window.setTimeout(()=>n("idle"),1500)}catch(f){n("idle"),r({title:"Copy failed",description:f instanceof Error&&f.message?f.message:"Could not copy the screenshot to your clipboard.",variant:"destructive"})}finally{o.classList.remove("is-capturing")}}},[e,t,r]),d=s==="copied"?"Copied":s==="copying"?"Copying…":"Copy image";return a.jsxs("button",{type:"button",className:"bm-copy-btn",onClick:l,disabled:s==="copying","aria-label":`Copy ${t} screenshot to clipboard`,title:`Copy ${t} screenshot to clipboard`,children:[a.jsx(bt,{name:"copy",size:11}),d]})};function Hr({model:e,datasetName:t,hideClosed:r,setHideClosed:s,setMetric:n}){const i=F.useRef(null),{isInitialFilteredViewLoading:l,chartPoints:d,activeMetric:o,allowedMetrics:f,orderedMetrics:p,parameterBound:h}=e;return l||d.length===0?null:a.jsxs("div",{className:"bm-card",ref:i,children:[a.jsxs("div",{className:"bm-card-screenshot-header","aria-hidden":"true",children:[a.jsxs("div",{className:"bm-card-screenshot-title",children:[a.jsx("span",{className:"bm-card-screenshot-eyebrow",children:"Benchmark"}),a.jsx("span",{className:"bm-card-screenshot-name",children:t})]}),a.jsxs("div",{className:"bm-card-screenshot-brand",children:[a.jsxs("span",{className:"brand",children:[a.jsx("span",{className:"brand-mark"}),a.jsxs("span",{className:"brand-name",children:["Papers ",a.jsx("em",{children:"With Code"})]})]}),a.jsx("span",{className:"bm-card-screenshot-url",children:"paperswithcode.co"})]})]}),a.jsxs("div",{className:"bm-card-head",children:[a.jsx("h2",{className:"bm-card-title",children:"SOTA progression"}),a.jsxs("div",{className:"bm-card-actions",children:[f.length>1&&a.jsxs("label",{className:"bm-view-select",children:[a.jsx("span",{className:"bm-view-select-label",children:"View"}),a.jsx("select",{value:o,onChange:m=>n(m.target.value),children:p.map(m=>a.jsx("option",{value:m,children:m},m))})]}),a.jsxs("label",{className:"bm-closed-toggle",title:"Show or hide evaluations of closed-source models",children:[a.jsx(Qe,{className:"bm-closed-toggle-switch",checked:!r,onCheckedChange:m=>{s(!m)},"aria-label":"Show closed-source models"}),a.jsx("span",{className:"bm-closed-toggle-label",children:"Closed-source"})]}),a.jsx(it,{targetRef:i,label:"SOTA chart"})]})]}),a.jsx("div",{className:"bm-chart-wrap",children:a.jsx(Ot,{points:d,metric:o})}),a.jsxs("div",{className:"bm-chart-foot",children:[a.jsx("span",{className:"legend-dot"}),h===void 0?"All models":"Filtered models"," over time · highlighted dots track the running best · hover for the model · click to open the paper"]})]})}const ye="filter",qe="open-source";function Vr(e){if(!e)return null;const t=e.trim(),r=t.match(/^https?:\/\/(?:www\.)?arxiv\.org\/(?:abs|pdf)\/([^/?#]+)/i);if(r!=null&&r[1])return r[1].replace(/\.pdf$/i,"");const s=t.match(/^(?:https?:\/\/(?:www\.)?paperswithcode\.co)?\/paper\/([^/?#]+)/i);return(s==null?void 0:s[1])??null}function Ge(e,t){return e?a.jsx(de,{title:e}):t||"—"}const da=()=>{var _e,ke,Ce,Ee,Ne,Re,Pe,Me;const{datasetSlug:e}=mt(),[t,r]=ut(),s=t.get("task")||void 0,n=t.get("eval")||void 0,i=Ct(t.get("max_parameters_exclusive")),{preferences:l,setHideClosedSourceEvals:d}=pt(),o=t.get(ye)===qe||l.hide_closed_source_evals,f=F.useRef(null),p=F.useRef(!1),h=F.useRef(null),[m,j]=F.useState(null),I=`${e}:${s||""}`,$=m===I,[_,T]=F.useState(1),v=te(se.datasetPage(e,{include_paper:!0,task:s,is_open:o?!0:void 0}));_t(v.data&&kt(v.data.name));const N=te(ht.byDataset((_e=v.data)==null?void 0:_e.id)),y=te(se.datasetTasks((ke=v.data)==null?void 0:ke.id)),O=te(se.metricDirections()),U=Ye(y.data||[],N.data||[],s,n),G=te({...se.taskBenchmarkTrends(U??void 0,{limit:100,min_recent_papers:0,is_open:o?!0:void 0}),enabled:!!((Ce=v.data)!=null&&Ce.id)}),w=F.useMemo(()=>{var b;return(((b=G.data)==null?void 0:b.results)||[]).find(M=>{var R;return M.id===((R=v.data)==null?void 0:R.id)})||null},[G.data,(Ee=v.data)==null?void 0:Ee.id]),W=te(se.leaderboardMetrics((Ne=v.data)==null?void 0:Ne.id,U??void 0)),A=It({evaluations:N.data||[],tasks:y.data||[],configuredMetrics:W.data||[],directions:O.data,initialSummary:(Re=v.data)==null?void 0:Re.leaderboard_summary,taskSlug:s,highlightEvalId:n,metric:t.get("metric")||void 0,hideClosed:o,parameterBound:i,showMoreMetrics:$,fittingMetricCount:_,ready:{evaluations:N.isSuccess,tasks:y.isSuccess,directions:O.isSuccess,metrics:W.isSuccess}}),{primaryTask:D,hiddenClosedEvals:J,hiddenClosedTopEval:Q,isSummaryLoading:Z,displayedMetric:C,displayedSota:z,displayedSotaModel:ee,isInitialFilteredViewLoading:X,highlightedEval:k,hasParameterMetadata:Y,parameterCoverage:x,orderedMetrics:c}=A;F.useEffect(()=>{if(p.current||!n||!N.data||N.data.length===0)return;const b=f.current;b&&(p.current=!0,b.scrollIntoView({behavior:"smooth",block:"start"}))},[n,N.data]);const u=te(se.area(D==null?void 0:D.area_id));if(v.isLoading)return a.jsxs("div",{className:"page",children:[a.jsx(me,{className:"h-12 w-1/2 mb-6"}),a.jsx(me,{className:"h-64 w-full"})]});if(!v.data)return St([v.error],"Failed to load this benchmark. Please try again.")??a.jsx(jt,{});const g=v.data,E=!!g.supports_harness,L=b=>{r(M=>{const R=new URLSearchParams(M);return b===void 0?R.delete("max_parameters_exclusive"):R.set("max_parameters_exclusive",String(b)),R})},P=b=>{r(M=>{const R=new URLSearchParams(M);return b?R.set(ye,qe):R.delete(ye),R}),d(b)},H=b=>{r(M=>{const R=new URLSearchParams(M);return R.set("metric",b),R})},S=g.introducing_paper??void 0,re=(S==null?void 0:S.arxiv_id)||(S==null?void 0:S.id)||Vr(g.paper_url),q=(S==null?void 0:S.title)||g.introducing_paper_title||null,ae=((Pe=S==null?void 0:S.published)==null?void 0:Pe.slice(0,4))||g.introduced_year||null,lt=!!re||!!g.paper_url||!!q,ot=S!=null&&S.arxiv_id||(Me=g.paper_url)!=null&&Me.match(/^https?:\/\/(?:www\.)?arxiv\.org\//i)?`arXiv:${re}`:`Paper ${re}`;return a.jsx("div",{className:"page",children:a.jsxs("div",{className:"bm-page",children:[a.jsxs("div",{className:"breadcrumb",children:[a.jsx(le,{to:"/tasks",children:"Tasks"}),u.data&&a.jsxs(a.Fragment,{children:[a.jsx("span",{className:"sep",children:"/"}),a.jsx(le,{to:`/tasks#area-${vt(u.data.name)}`,children:u.data.name})]}),D&&a.jsxs(a.Fragment,{children:[a.jsx("span",{className:"sep",children:"/"}),a.jsx(le,{to:`/tasks/${D.slug||D.id}`,children:D.name})]}),a.jsx("span",{className:"sep",children:"/"}),a.jsx("span",{style:{color:"var(--accent-text)"},children:g.name})]}),a.jsxs("div",{className:"bm-title-row",children:[a.jsx("h1",{className:"bm-title",children:g.name}),w&&a.jsxs("div",{className:"bm-title-trend","aria-label":`${g.name} reporting trend`,children:[a.jsx(yt,{history:w.history,benchmarkName:w.name}),a.jsxs("span",{className:"bm-title-trend-summary",children:[a.jsx("strong",{children:w.recent_paper_count})," ",w.recent_paper_count===1?"paper":"papers",w.rate_change==null?w.recent_paper_count>0&&a.jsx("span",{className:"benchmark-trend-change is-new",children:"new"}):a.jsxs("span",{className:`benchmark-trend-change ${w.rate_change>=1?"is-up":"is-down"}`,children:[w.rate_change>=1?"↑":"↓"," ",w.rate_change.toFixed(1),"×"]})]})]})]}),a.jsx(ft,{kind:"benchmark",entityId:g.id,showFollowers:!0}),a.jsxs("div",{className:"bm-subtitle",children:[Z?a.jsx(me,{className:"h-5 w-64 bm-summary-skeleton","aria-label":"Loading benchmark summary"}):a.jsxs("span",{children:[C&&a.jsxs(a.Fragment,{children:[a.jsx("span",{className:"metric-tag",children:C}),a.jsx("span",{style:{color:"var(--hairline-strong)",margin:"0 8px"},children:"·"})]}),ee?a.jsxs("span",{children:["Best: ",a.jsx("span",{className:"best-name",children:ce(z)})," by ",a.jsx("span",{className:"best-name",style:{fontStyle:"normal"},children:ee})]}):a.jsxs("span",{children:[A.rows.length," evaluations"]})]}),g.hf_url&&a.jsxs("a",{className:"bm-action-btn",href:g.hf_url,target:"_blank",rel:"noopener noreferrer",children:[a.jsx("span",{"aria-hidden":"true",children:"🤗"})," View on Hugging Face"]})]}),g.description&&a.jsx("p",{className:"bm-description",children:g.description}),o&&J.length>0&&a.jsxs("div",{className:"bm-hidden-closed-notice",children:[a.jsxs("span",{children:[J.length," closed-source ",J.length===1?"row is":"rows are"," hidden",Q!=null&&Q.model_name?a.jsxs(a.Fragment,{children:[", including ",a.jsx("strong",{children:Q.model_name})]}):null,"."]}),a.jsx("button",{type:"button",className:"bm-hidden-closed-action",onClick:()=>P(!1),children:"Show closed-source"})]}),lt&&a.jsxs("div",{className:"method-source",style:{marginTop:0,marginBottom:18},children:[a.jsx("span",{className:"method-source-label",children:"Source"}),re?a.jsxs(le,{to:`/paper/${re}`,target:"_blank",rel:"noopener noreferrer",className:"method-source-link",children:[a.jsx("span",{className:"method-source-title",children:q?a.jsx(de,{title:q}):ot}),ae&&a.jsx("span",{className:"method-source-meta",children:ae})]}):g.paper_url?a.jsxs("a",{href:wt(g.paper_url)??void 0,target:"_blank",rel:"noopener noreferrer",className:"method-source-link",children:[a.jsx("span",{className:"method-source-title",children:q?a.jsx(de,{title:q}):g.paper_url}),ae&&a.jsx("span",{className:"method-source-meta",children:ae})]}):a.jsxs("div",{className:"method-source-link is-static",children:[a.jsx("span",{className:"method-source-title",children:q?a.jsx(de,{title:q}):null}),ae&&a.jsx("span",{className:"method-source-meta",children:ae})]})]}),a.jsx(Hr,{model:A,datasetName:g.name,hideClosed:o,setHideClosed:P,setMetric:H}),k&&(()=>{var Te,Le;const b=k.paper_arxiv_id||k.paper_id,M=k.paper_title||(k.paper_arxiv_id?`arXiv:${k.paper_arxiv_id}`:null),R=k.best_metric&&((Te=k.metrics)==null?void 0:Te[k.best_metric])!==void 0?k.best_metric:A.activeMetric,$e=(Le=k.metrics)==null?void 0:Le[R];return a.jsxs("div",{className:"bm-highlight-banner",role:"status",children:[a.jsx("span",{className:"bm-highlight-dot","aria-hidden":"true"}),a.jsxs("div",{className:"bm-highlight-text",children:[a.jsx("span",{className:"bm-highlight-label",children:"Comparing result"}),a.jsxs("span",{className:"bm-highlight-paper",children:[k.model_name||M||"—",k.harness?` · ${k.harness}`:""]}),a.jsxs("span",{className:"bm-highlight-meta",children:[$e!==void 0&&R?a.jsxs(a.Fragment,{children:[R,": ",ce($e),M?" · ":""]}):null,b?a.jsx(le,{to:`/paper/${b}`,children:Ge(k.paper_title,M)}):Ge(k.paper_title,M)]})]})]})})(),a.jsxs("div",{className:"bm-card",ref:h,children:[a.jsxs("div",{className:"bm-card-screenshot-header","aria-hidden":"true",children:[a.jsxs("div",{className:"bm-card-screenshot-title",children:[a.jsx("span",{className:"bm-card-screenshot-eyebrow",children:"Benchmark"}),a.jsx("span",{className:"bm-card-screenshot-name",children:g.name})]}),a.jsxs("div",{className:"bm-card-screenshot-brand",children:[a.jsxs("span",{className:"brand",children:[a.jsx("span",{className:"brand-mark"}),a.jsxs("span",{className:"brand-name",children:["Papers ",a.jsx("em",{children:"With Code"})]})]}),a.jsx("span",{className:"bm-card-screenshot-url",children:"paperswithcode.co"})]})]}),a.jsxs("div",{className:"bm-card-head",children:[a.jsx("h2",{className:"bm-card-title",children:"Leaderboard"}),a.jsxs("div",{className:"bm-card-actions",children:[A.allowedMetrics.length>1&&a.jsxs("label",{className:"bm-view-select",children:[a.jsx("span",{className:"bm-view-select-label",children:"View"}),a.jsx("select",{value:A.activeMetric,onChange:b=>H(b.target.value),children:c.map(b=>a.jsx("option",{value:b,children:b},b))})]}),a.jsxs("label",{className:"bm-closed-toggle",title:"Show or hide evaluations of closed-source models",children:[a.jsx(Qe,{className:"bm-closed-toggle-switch",checked:!o,onCheckedChange:b=>P(!b),"aria-label":"Show closed-source models"}),a.jsx("span",{className:"bm-closed-toggle-label",children:"Closed-source"})]}),!X&&!Y&&N.isSuccess?a.jsx("span",{className:"bm-parameter-unavailable",children:"Parameter metadata unavailable"}):null,a.jsx(it,{targetRef:h,label:"leaderboard"})]})]}),!X&&Y&&a.jsxs("div",{className:"bm-parameter-filter-bar",children:[a.jsx("span",{className:"bm-parameter-filter-label",children:"Parameters Size"}),a.jsx("div",{className:"bm-parameter-filter-options",role:"group","aria-label":"Filter leaderboard by parameter size",children:A.parameterFilters.map(b=>{const{selected:M,disabled:R}=b;return a.jsx("button",{type:"button",className:`bm-parameter-filter-option${M?" is-active":""}`,"aria-pressed":M,disabled:R,onClick:()=>L(b.maxParametersExclusive),children:b.label},b.label)})}),a.jsxs("span",{className:"bm-parameter-coverage",children:["Parameters known for ",x.parameter_coverage_known," of ",x.parameter_coverage_total," entries"]})]}),N.isLoading||X?a.jsx("div",{style:{padding:16},children:Array.from({length:5}).map((b,M)=>a.jsx(me,{className:"h-10 w-full mb-2"},M))}):A.rows.length===0?i?a.jsxs("div",{className:"no-results",children:["No known parameter counts match this filter. "," ",a.jsx("button",{type:"button",className:"bm-empty-filter-action",onClick:()=>L(void 0),children:"Show all"})]}):a.jsx("div",{className:"no-results",children:"No evaluations submitted yet."}):a.jsxs(a.Fragment,{children:[c.length>_&&a.jsxs("div",{className:"bm-metric-columns-control",children:[a.jsx("button",{type:"button",className:"bm-metric-columns-toggle","aria-expanded":$,"aria-controls":"benchmark-leaderboard",onClick:()=>j($?null:I),children:$?"Show fewer metrics":`Show more metrics (${c.length-_})`}),$&&a.jsx("span",{children:"Scroll metrics horizontally; model and paper details stay visible."})]}),a.jsx(Ht,{datasetName:g.name,model:A,showHarness:E,setMetric:H,highlightRowRef:f,onFittingMetricCountChange:T})]})]})]})})};export{da as default};
assets/{BenchmarkTrendSparkline-D-gglZuZ.js → BenchmarkTrendSparkline-D4HWxaaf.js} RENAMED
@@ -1 +1 @@
1
- import{i as C,j as t}from"./index-BhKQv9LT.js";const g=112,p=42,o=5,i=5,b=new Intl.DateTimeFormat("en",{month:"short",timeZone:"UTC"}),y=(e,d)=>{const r=new Date(`${e}T00:00:00Z`),n=new Date(`${d}T00:00:00Z`);return r.getUTCMonth()===n.getUTCMonth()?`${b.format(r)} ${r.getUTCDate()}–${n.getUTCDate()}`:`${b.format(r)} ${r.getUTCDate()}–${b.format(n)} ${n.getUTCDate()}`},I=({history:e,benchmarkName:d,interactive:r=!1})=>{const[n,x]=C.useState(null),h=e.map(s=>s.paper_count),M=Math.max(1,...h),f=g-o*2,T=p-i*2,v=h.length>1?f/(h.length-1):0,a=h.map((s,c)=>({x:o+v*c,y:i+T-s/M*T})),$=a.map(({x:s,y:c})=>`${s},${c}`).join(" "),_=a.length?`${o},${p-i} ${$} ${a[a.length-1].x},${p-i}`:"",D=h.reduce((s,c)=>s+c,0),u=49,N=14,m=n==null?null:a[n],j=m?Math.min(g-o-u,Math.max(o,m.x-u/2)):0,k=m?m.y>p/2?m.y-N-3:m.y+3:0;return t.jsxs("svg",{className:`benchmark-trend-sparkline${r?" is-interactive":""}`,viewBox:`0 0 ${g} ${p}`,role:r?"group":"img","aria-label":`${d}: ${D} reporting papers across the displayed trend history`,children:[t.jsxs("title",{children:[d,": ",D," reporting papers across the displayed trend history"]}),t.jsx("line",{className:"benchmark-trend-axis",x1:o,y1:p-i,x2:g-o,y2:p-i}),t.jsx("line",{className:"benchmark-trend-axis",x1:o,y1:i,x2:o,y2:p-i}),_&&t.jsx("polygon",{className:"benchmark-trend-area",points:_}),$&&t.jsx("polyline",{className:"benchmark-trend-line",points:$}),r?a.map(({x:s,y:c},l)=>t.jsxs("g",{className:"benchmark-trend-point",tabIndex:0,role:"img","aria-label":`${y(e[l].start_date,e[l].end_date)}: ${e[l].paper_count} ${e[l].paper_count===1?"paper":"papers"}`,onMouseEnter:()=>x(l),onMouseLeave:()=>x(null),onFocus:()=>x(l),onBlur:()=>x(null),children:[t.jsx("circle",{className:"benchmark-trend-point-hit",cx:s,cy:c,r:"5"}),t.jsx("circle",{className:"benchmark-trend-point-mark",cx:s,cy:c,r:"1.8"})]},`${e[l].start_date}-${e[l].end_date}`)):a.length>0&&t.jsx("circle",{className:"benchmark-trend-dot",cx:a[a.length-1].x,cy:a[a.length-1].y,r:"2.6"}),m&&n!=null&&t.jsxs("g",{className:"benchmark-trend-tooltip",pointerEvents:"none",children:[t.jsx("rect",{x:j,y:k,width:u,height:N,rx:"2"}),t.jsx("text",{x:j+3,y:k+5.4,children:y(e[n].start_date,e[n].end_date)}),t.jsxs("text",{className:"benchmark-trend-tooltip-value",x:j+3,y:k+11,children:[e[n].paper_count," ",e[n].paper_count===1?"paper":"papers"]})]})]})};export{I as B};
 
1
+ import{i as C,j as t}from"./index-B0aq-iar.js";const g=112,p=42,o=5,i=5,b=new Intl.DateTimeFormat("en",{month:"short",timeZone:"UTC"}),y=(e,d)=>{const r=new Date(`${e}T00:00:00Z`),n=new Date(`${d}T00:00:00Z`);return r.getUTCMonth()===n.getUTCMonth()?`${b.format(r)} ${r.getUTCDate()}–${n.getUTCDate()}`:`${b.format(r)} ${r.getUTCDate()}–${b.format(n)} ${n.getUTCDate()}`},I=({history:e,benchmarkName:d,interactive:r=!1})=>{const[n,x]=C.useState(null),h=e.map(s=>s.paper_count),M=Math.max(1,...h),f=g-o*2,T=p-i*2,v=h.length>1?f/(h.length-1):0,a=h.map((s,c)=>({x:o+v*c,y:i+T-s/M*T})),$=a.map(({x:s,y:c})=>`${s},${c}`).join(" "),_=a.length?`${o},${p-i} ${$} ${a[a.length-1].x},${p-i}`:"",D=h.reduce((s,c)=>s+c,0),u=49,N=14,m=n==null?null:a[n],j=m?Math.min(g-o-u,Math.max(o,m.x-u/2)):0,k=m?m.y>p/2?m.y-N-3:m.y+3:0;return t.jsxs("svg",{className:`benchmark-trend-sparkline${r?" is-interactive":""}`,viewBox:`0 0 ${g} ${p}`,role:r?"group":"img","aria-label":`${d}: ${D} reporting papers across the displayed trend history`,children:[t.jsxs("title",{children:[d,": ",D," reporting papers across the displayed trend history"]}),t.jsx("line",{className:"benchmark-trend-axis",x1:o,y1:p-i,x2:g-o,y2:p-i}),t.jsx("line",{className:"benchmark-trend-axis",x1:o,y1:i,x2:o,y2:p-i}),_&&t.jsx("polygon",{className:"benchmark-trend-area",points:_}),$&&t.jsx("polyline",{className:"benchmark-trend-line",points:$}),r?a.map(({x:s,y:c},l)=>t.jsxs("g",{className:"benchmark-trend-point",tabIndex:0,role:"img","aria-label":`${y(e[l].start_date,e[l].end_date)}: ${e[l].paper_count} ${e[l].paper_count===1?"paper":"papers"}`,onMouseEnter:()=>x(l),onMouseLeave:()=>x(null),onFocus:()=>x(l),onBlur:()=>x(null),children:[t.jsx("circle",{className:"benchmark-trend-point-hit",cx:s,cy:c,r:"5"}),t.jsx("circle",{className:"benchmark-trend-point-mark",cx:s,cy:c,r:"1.8"})]},`${e[l].start_date}-${e[l].end_date}`)):a.length>0&&t.jsx("circle",{className:"benchmark-trend-dot",cx:a[a.length-1].x,cy:a[a.length-1].y,r:"2.6"}),m&&n!=null&&t.jsxs("g",{className:"benchmark-trend-tooltip",pointerEvents:"none",children:[t.jsx("rect",{x:j,y:k,width:u,height:N,rx:"2"}),t.jsx("text",{x:j+3,y:k+5.4,children:y(e[n].start_date,e[n].end_date)}),t.jsxs("text",{className:"benchmark-trend-tooltip-value",x:j+3,y:k+11,children:[e[n].paper_count," ",e[n].paper_count===1?"paper":"papers"]})]})]})};export{I as B};
assets/{CatalogEntityPreviewLink-CCV9ov9L.js → CatalogEntityPreviewLink-DZIsK1sR.js} RENAMED
@@ -1 +1 @@
1
- import{as as d,ad as u,b as m,j as s,L as h,n as g,R as l}from"./index-BhKQv9LT.js";import{H as f,a as w,b as k}from"./hover-card-CM5j_oBo.js";const y=new Set(["github.com","www.github.com"]);function N(r){let a;try{a=new URL(r)}catch{return null}if(a.protocol!=="https:"||!y.has(a.hostname))return null;const n=a.pathname.split("/").filter(Boolean);if(n.length!==2)return null;let t,e;try{t=decodeURIComponent(n[0]),e=decodeURIComponent(n[1]).replace(/\.git$/,"")}catch{return null}if(!/^[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,38})$/.test(t)||!/^[a-zA-Z0-9._-]{1,100}$/.test(e))return null;const o=`${t}/${e}`,i=[t,e].map(encodeURIComponent).join("/");return{owner:t,repository:e,repoId:o,url:`https://github.com/${i}`}}async function E(r,a){const n=[r.owner,r.repository].map(encodeURIComponent).join("/"),t=await fetch(d(`/api/v1/github/repositories/${n}/preview`),{signal:a});if(!t.ok)throw new Error(`GitHub repository lookup failed: ${t.status}`);const e=await t.json();return{description:typeof e.description=="string"?e.description:null,stars:typeof e.stars=="number"?e.stars:0,forks:typeof e.forks=="number"?e.forks:0,language:typeof e.language=="string"?e.language:null,archived:e.archived===!0,avatarUrl:typeof e.avatar_url=="string"?e.avatar_url:""}}function H(r){const a=r.trim();if(!a)return null;let n=a;!n.startsWith("http://")&&!n.startsWith("https://")&&(n=`https://${n}`);try{const t=new URL(n);if(t.hostname.toLowerCase()!=="github.com")return null;const e=t.pathname.split("/").filter(Boolean);if(e.length<2)return null;const o=e[0].toLowerCase();let i=e[1].toLowerCase();return i.endsWith(".git")&&(i=i.slice(0,-4)),`https://github.com/${o}/${i}`}catch{return null}}const v=/^(task|method|benchmark):([A-Za-z0-9][A-Za-z0-9._-]{0,199})$/;function L(r){const a=v.exec(r);return a?{kind:a[1],slug:a[2]}:null}const T=r=>/^(task|method|benchmark):/.test(r),C={task:"/tasks/",method:"/methods/",benchmark:"/benchmark/",framework:"/papers?framework="},_={task:"Task",method:"Method",benchmark:"Benchmark",framework:"Framework"},b={task:["paper","papers"],method:["paper","papers"],benchmark:["entry","entries"],framework:["paper","papers"]};async function U({kind:r,slug:a}){if(r==="task"){const t=await l.getTask(a);return{name:t.name,description:t.description??null,imageUrl:t.image_url??null,count:t.paper_count??null,detail:null}}if(r==="method"){const t=await l.getMethod(a);return{name:t.full_name||t.name,description:t.description??null,imageUrl:t.image_url??null,count:t.paper_count??null,detail:t.introduced_year?`Introduced ${t.introduced_year}`:null}}if(r==="framework"){const e=(await l.frameworkCatalog()).domains.flatMap(o=>o.categories).flatMap(o=>o.frameworks).find(o=>o.slug===a);if(!e)throw new Error(`Unknown framework ${a}`);return{name:e.name,description:e.description,imageUrl:null,count:e.paper_count,detail:e.organization_name??null}}const n=await l.getDatasetBySlug(a);return{name:n.full_name||n.name,description:n.description??null,imageUrl:null,count:n.paper_count??null,detail:n.introduced_year?`Introduced ${n.introduced_year}`:null}}function j(r){return r.replace(/!?\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/[*_`#>]+/g,"").replace(/\s+/g," ").trim()}const $=()=>typeof window.matchMedia=="function"&&window.matchMedia("(hover: none), (pointer: coarse)").matches,x=({kind:r,preview:a})=>{const[n,t]=u.useState(!1),e=g(a.imageUrl),o=[a.count!=null?`${a.count.toLocaleString()} ${b[r][a.count===1?0:1]}`:null,a.detail].filter(Boolean);return s.jsxs("div",{className:"catalog-preview-card",children:[e&&!n&&s.jsx("img",{className:"catalog-preview-image","data-testid":"catalog-preview-image",src:e,alt:"",loading:"lazy",decoding:"async",onError:()=>t(!0)}),s.jsxs("div",{className:"catalog-preview-meta",children:[s.jsx("span",{className:"catalog-preview-kind",children:_[r]}),s.jsx("strong",{children:a.name}),a.description&&s.jsx("p",{children:j(a.description)}),o.length>0&&s.jsx("span",{className:"catalog-preview-stats",children:o.join(" · ")})]})]})},z=({entity:r,children:a,className:n="chat-paper-link",newTab:t=!0,initialPreview:e})=>{const[o,i]=u.useState(!1),c=m({queryKey:["chat-catalog-preview",r.kind,r.slug],queryFn:()=>U(r),initialData:e,enabled:o&&!e,staleTime:10*60*1e3,gcTime:30*60*1e3,retry:!1});return s.jsxs(f,{open:o,onOpenChange:p=>{(!p||!$())&&i(p)},openDelay:150,closeDelay:100,children:[s.jsx(w,{asChild:!0,children:s.jsx(h,{className:n,to:`${C[r.kind]}${encodeURIComponent(r.slug)}`,target:t?"_blank":void 0,rel:t?"noopener noreferrer":void 0,onClick:()=>i(!1),children:a})}),s.jsx(k,{className:"catalog-preview-pop",side:"bottom",align:"start",collisionPadding:12,children:c.data?s.jsx(x,{kind:r.kind,preview:c.data}):c.isError?s.jsx("div",{className:"paper-preview-status",children:"Preview unavailable"}):s.jsx("div",{className:"paper-preview-status","aria-live":"polite",children:"Loading preview…"})})]})};export{z as C,N as a,E as f,T as i,H as n,L as p};
 
1
+ import{as as d,ad as u,b as m,j as s,L as h,n as g,R as l}from"./index-B0aq-iar.js";import{H as f,a as w,b as k}from"./hover-card-B_kWNxjX.js";const y=new Set(["github.com","www.github.com"]);function N(r){let a;try{a=new URL(r)}catch{return null}if(a.protocol!=="https:"||!y.has(a.hostname))return null;const n=a.pathname.split("/").filter(Boolean);if(n.length!==2)return null;let t,e;try{t=decodeURIComponent(n[0]),e=decodeURIComponent(n[1]).replace(/\.git$/,"")}catch{return null}if(!/^[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,38})$/.test(t)||!/^[a-zA-Z0-9._-]{1,100}$/.test(e))return null;const o=`${t}/${e}`,i=[t,e].map(encodeURIComponent).join("/");return{owner:t,repository:e,repoId:o,url:`https://github.com/${i}`}}async function E(r,a){const n=[r.owner,r.repository].map(encodeURIComponent).join("/"),t=await fetch(d(`/api/v1/github/repositories/${n}/preview`),{signal:a});if(!t.ok)throw new Error(`GitHub repository lookup failed: ${t.status}`);const e=await t.json();return{description:typeof e.description=="string"?e.description:null,stars:typeof e.stars=="number"?e.stars:0,forks:typeof e.forks=="number"?e.forks:0,language:typeof e.language=="string"?e.language:null,archived:e.archived===!0,avatarUrl:typeof e.avatar_url=="string"?e.avatar_url:""}}function H(r){const a=r.trim();if(!a)return null;let n=a;!n.startsWith("http://")&&!n.startsWith("https://")&&(n=`https://${n}`);try{const t=new URL(n);if(t.hostname.toLowerCase()!=="github.com")return null;const e=t.pathname.split("/").filter(Boolean);if(e.length<2)return null;const o=e[0].toLowerCase();let i=e[1].toLowerCase();return i.endsWith(".git")&&(i=i.slice(0,-4)),`https://github.com/${o}/${i}`}catch{return null}}const v=/^(task|method|benchmark):([A-Za-z0-9][A-Za-z0-9._-]{0,199})$/;function L(r){const a=v.exec(r);return a?{kind:a[1],slug:a[2]}:null}const T=r=>/^(task|method|benchmark):/.test(r),C={task:"/tasks/",method:"/methods/",benchmark:"/benchmark/",framework:"/papers?framework="},_={task:"Task",method:"Method",benchmark:"Benchmark",framework:"Framework"},b={task:["paper","papers"],method:["paper","papers"],benchmark:["entry","entries"],framework:["paper","papers"]};async function U({kind:r,slug:a}){if(r==="task"){const t=await l.getTask(a);return{name:t.name,description:t.description??null,imageUrl:t.image_url??null,count:t.paper_count??null,detail:null}}if(r==="method"){const t=await l.getMethod(a);return{name:t.full_name||t.name,description:t.description??null,imageUrl:t.image_url??null,count:t.paper_count??null,detail:t.introduced_year?`Introduced ${t.introduced_year}`:null}}if(r==="framework"){const e=(await l.frameworkCatalog()).domains.flatMap(o=>o.categories).flatMap(o=>o.frameworks).find(o=>o.slug===a);if(!e)throw new Error(`Unknown framework ${a}`);return{name:e.name,description:e.description,imageUrl:null,count:e.paper_count,detail:e.organization_name??null}}const n=await l.getDatasetBySlug(a);return{name:n.full_name||n.name,description:n.description??null,imageUrl:null,count:n.paper_count??null,detail:n.introduced_year?`Introduced ${n.introduced_year}`:null}}function j(r){return r.replace(/!?\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/[*_`#>]+/g,"").replace(/\s+/g," ").trim()}const $=()=>typeof window.matchMedia=="function"&&window.matchMedia("(hover: none), (pointer: coarse)").matches,x=({kind:r,preview:a})=>{const[n,t]=u.useState(!1),e=g(a.imageUrl),o=[a.count!=null?`${a.count.toLocaleString()} ${b[r][a.count===1?0:1]}`:null,a.detail].filter(Boolean);return s.jsxs("div",{className:"catalog-preview-card",children:[e&&!n&&s.jsx("img",{className:"catalog-preview-image","data-testid":"catalog-preview-image",src:e,alt:"",loading:"lazy",decoding:"async",onError:()=>t(!0)}),s.jsxs("div",{className:"catalog-preview-meta",children:[s.jsx("span",{className:"catalog-preview-kind",children:_[r]}),s.jsx("strong",{children:a.name}),a.description&&s.jsx("p",{children:j(a.description)}),o.length>0&&s.jsx("span",{className:"catalog-preview-stats",children:o.join(" · ")})]})]})},z=({entity:r,children:a,className:n="chat-paper-link",newTab:t=!0,initialPreview:e})=>{const[o,i]=u.useState(!1),c=m({queryKey:["chat-catalog-preview",r.kind,r.slug],queryFn:()=>U(r),initialData:e,enabled:o&&!e,staleTime:10*60*1e3,gcTime:30*60*1e3,retry:!1});return s.jsxs(f,{open:o,onOpenChange:p=>{(!p||!$())&&i(p)},openDelay:150,closeDelay:100,children:[s.jsx(w,{asChild:!0,children:s.jsx(h,{className:n,to:`${C[r.kind]}${encodeURIComponent(r.slug)}`,target:t?"_blank":void 0,rel:t?"noopener noreferrer":void 0,onClick:()=>i(!1),children:a})}),s.jsx(k,{className:"catalog-preview-pop",side:"bottom",align:"start",collisionPadding:12,children:c.data?s.jsx(x,{kind:r.kind,preview:c.data}):c.isError?s.jsx("div",{className:"paper-preview-status",children:"Preview unavailable"}):s.jsx("div",{className:"paper-preview-status","aria-live":"polite",children:"Loading preview…"})})]})};export{z as C,N as a,E as f,T as i,H as n,L as p};
assets/{ChatView-B55g4ggY.js → ChatView-aZQAm7h5.js} RENAMED
@@ -1,4 +1,4 @@
1
- var $t=Object.defineProperty;var Yt=(t,e,n)=>e in t?$t(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var $=(t,e,n)=>Yt(t,typeof e!="symbol"?e+"":e,n);import{d as Gt,i as o,j as s,X as kt,M as At,b as je,L as It,al as Xt,am as Jt,an as Zt,ao as pt,ad as Ue,f as Mt,o as Tt,G as Nt,v as Dt,l as es,a as Ft,u as ts,A as ss}from"./index-BhKQv9LT.js";import{C as ns,U as mt,b as rs,f as Ee,A as is,a as as,c as os,g as cs,h as ls,i as qe,j as us,k as gt,t as ds,l as hs,E as fs,m as ps,n as ms,o as gs,p as yt,q as bt}from"./chatLifecycle-9mjLEs5d.js";import{k as Te,l as ys,m as bs,n as Lt,T as wt,h as Bt,o as Me,r as Qe,s as ws,t as vs,v as he,D as $e,w as Ss,x as xs,y as _s,z as Es,B as Cs,E as Rs,F as js,G as ks,H as As,I as tt,J as Is,K as vt,L as Ot,M as St,N as Ye,j as Ms,O as Ts,Q as Ns,R as qt,U as Ds,V as Fs,W as Ls,X as Bs,S as Os,Y as Pt}from"./index-DYXsmgYV.js";import{c as ne}from"./chat-CBpXQ7Wl.js";import{M as qs}from"./McpShowcase-vY65GwKh.js";import{S as Ps}from"./share-2-DG9Pr506.js";import{u as He}from"./useMutation-DPQn8VkK.js";import{I as Us}from"./Icon-Cdqu8Hq_.js";import{m as Hs}from"./mlIntern-BmFInJNC.js";import{u as Vs,O as Ks}from"./openrouter-B-OYFO9f.js";/* empty css */import"./hover-card-CM5j_oBo.js";import"./CatalogEntityPreviewLink-CCV9ov9L.js";import"./github-BHTeSn1j.js";import"./file-text-CH7tJG0i.js";import"./PaperPreviewLink-5XV8BqLE.js";import"./index-COKyUVjd.js";import"./index-dnSSilbj.js";import"./index-BV27Nexp.js";import"./katex-DkKDou_j.js";import"./thumbs-up-DZW-ss8t.js";import"./copy-D_QYCYs1.js";import"./arrow-left-BIaK_wN7.js";import"./external-link-BpPkGH8G.js";import"./plus-Da5UgLnk.js";import"./search-BLHGfANa.js";import"./chevron-up-DpwU9AYE.js";import"./AuthorAvatar-DfcP8J6o.js";import"./trash-2-Dai-yVNI.js";import"./AgentLogos-Da2yWlH1.js";/**
2
  * @license lucide-react v0.462.0 - ISC
3
  *
4
  * This source code is licensed under the ISC license.
 
1
+ var $t=Object.defineProperty;var Yt=(t,e,n)=>e in t?$t(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var $=(t,e,n)=>Yt(t,typeof e!="symbol"?e+"":e,n);import{d as Gt,i as o,j as s,X as kt,M as At,b as je,L as It,al as Xt,am as Jt,an as Zt,ao as pt,ad as Ue,f as Mt,o as Tt,G as Nt,v as Dt,l as es,a as Ft,u as ts,A as ss}from"./index-B0aq-iar.js";import{C as ns,U as mt,b as rs,f as Ee,A as is,a as as,c as os,g as cs,h as ls,i as qe,j as us,k as gt,t as ds,l as hs,E as fs,m as ps,n as ms,o as gs,p as yt,q as bt}from"./chatLifecycle-CiTSoKmw.js";import{k as Te,l as ys,m as bs,n as Lt,T as wt,h as Bt,o as Me,r as Qe,s as ws,t as vs,v as he,D as $e,w as Ss,x as xs,y as _s,z as Es,B as Cs,E as Rs,F as js,G as ks,H as As,I as tt,J as Is,K as vt,L as Ot,M as St,N as Ye,j as Ms,O as Ts,Q as Ns,R as qt,U as Ds,V as Fs,W as Ls,X as Bs,S as Os,Y as Pt}from"./index-CNk4C1On.js";import{c as ne}from"./chat-DfK5YWLV.js";import{M as qs}from"./McpShowcase-BgXu7zJj.js";import{S as Ps}from"./share-2-Br52qy6p.js";import{u as He}from"./useMutation-DxP7YVP3.js";import{I as Us}from"./Icon-BkpouXtc.js";import{m as Hs}from"./mlIntern-vveJiaYH.js";import{u as Vs,O as Ks}from"./openrouter-azYqNFGa.js";/* empty css */import"./hover-card-B_kWNxjX.js";import"./CatalogEntityPreviewLink-DZIsK1sR.js";import"./github-B5cOzUdz.js";import"./file-text-CxYjO52k.js";import"./PaperPreviewLink-4dmR6yPp.js";import"./index-B9qpvwaI.js";import"./index-16KodlFR.js";import"./index-DtKbyjDr.js";import"./katex-DkKDou_j.js";import"./thumbs-up-DoDJmuQ5.js";import"./copy-DmgKnhAK.js";import"./arrow-left-Cg1Xngtx.js";import"./external-link-CWjWR91l.js";import"./plus-Ig6EFSa0.js";import"./search-BHf0tBuT.js";import"./chevron-up-DFruybA3.js";import"./AuthorAvatar-CWdu93Ln.js";import"./trash-2-D6KnBn09.js";import"./AgentLogos-x9Ckr4O1.js";/**
2
  * @license lucide-react v0.462.0 - ISC
3
  *
4
  * This source code is licensed under the ISC license.
assets/{ConferenceDetailView-DeZzVD1a.js → ConferenceDetailView-C2HX8OH1.js} RENAMED
@@ -1 +1 @@
1
- import{u as v,b as _,i as S,j as e,L as f,x as b}from"./index-BhKQv9LT.js";import{a as j,A as C,b as E}from"./AreaSection-D3xwtKAs.js";import{M as N}from"./MarkdownText-lBRZb4lH.js";import{s as F}from"./areas-Dvi8w2dp.js";import{c as L,h as T}from"./colors-BkWRhvFI.js";import{C as $}from"./conferenceListings-BnmhBx-_.js";import{f as A}from"./deadlines-BG5SWwEG.js";import{d as P}from"./transform-BzmXOpxt.js";import{S as w}from"./skeleton-BkbzA0oF.js";import{s as D}from"./safeExternalHref-CkBrsh84.js";import{l as R}from"./LoadFailurePage-CF1gemwM.js";import{u as B}from"./useDocumentTitle-DGWKz2sg.js";import{e as M}from"./pageTitles-Cv5SviVf.js";import"./PaperPreviewLink-5XV8BqLE.js";import"./index-COKyUVjd.js";import"./index-dnSSilbj.js";import"./hover-card-CM5j_oBo.js";import"./useMutation-DPQn8VkK.js";import"./alert-zC2kYXtI.js";import"./NotFound-CkpULt19.js";const ie=()=>{var x,h;const{confSlug:c}=v(),r=_(b.conferenceAreasWithTasks(c)),m=S.useMemo(()=>{var s;return F(((s=r.data)==null?void 0:s.results)??[])},[r.data]),a=(x=r.data)==null?void 0:x.conference;B(a&&M(a.name));const d=((h=r.data)==null?void 0:h.total_paper_count)??0,y=$.filter(s=>{var t;return(((t=r.data)==null?void 0:t[s.countKey])??0)>0}),p=R([r.error],"Failed to load conference. Please try again.");if(p)return p;const u=a?A(a.start_date,a.end_date):null,g=a?[a.venue,a.location].filter(Boolean).join(", "):null,l=a==null?void 0:a.name;return e.jsxs("div",{className:"page",children:[e.jsxs("div",{className:a!=null&&a.image_url?"task-hero-grid":void 0,children:[e.jsxs("div",{children:[e.jsx("div",{style:{fontFamily:"var(--mono)",fontSize:11,color:"var(--accent-text)",letterSpacing:"0.1em",marginBottom:8},children:"CONFERENCE"}),e.jsx("h1",{className:"feed-title",children:l??e.jsx(w,{className:"h-10 w-64 inline-block"})}),e.jsxs("div",{className:"feed-subtitle",style:{display:"flex",flexDirection:"column",gap:4},children:[u&&e.jsx("span",{children:u}),g&&e.jsx("span",{children:g}),(a==null?void 0:a.url)&&e.jsx("a",{href:D(a.url)??void 0,target:"_blank",rel:"noopener noreferrer",style:{color:"var(--accent-text)"},children:a.url.replace(/^https?:\/\//,"")}),(a==null?void 0:a.hf_url)&&e.jsxs("a",{className:"bm-action-btn",href:a.hf_url,target:"_blank",rel:"noopener noreferrer",style:{alignSelf:"flex-start",marginTop:4},children:[e.jsx("span",{"aria-hidden":"true",children:"🤗"})," View on Hugging Face"]})]}),(a==null?void 0:a.description)&&e.jsx(N,{className:"method-description",text:a.description})]}),(a==null?void 0:a.image_url)&&e.jsxs("figure",{className:"task-figure-card",children:[e.jsx("div",{className:"task-figure-img-wrap",children:e.jsx("img",{className:"task-figure-img",src:a.image_url,alt:l?`${l} visual`:"Conference visual",onError:s=>{var t,n;(n=(t=s.currentTarget.parentElement)==null?void 0:t.parentElement)==null||n.style.setProperty("display","none")}})}),e.jsxs("figcaption",{children:["Figure · ",l??"Conference",a.image_credit&&e.jsxs(e.Fragment,{children:[e.jsx("br",{}),e.jsx(N,{className:"task-image-credit",text:a.image_credit})]})]})]})]}),!r.isLoading&&d>0&&e.jsx(j,{title:"Browse papers",description:"All accepted papers, plus oral, spotlight, outstanding, and best paper finalists.",meta:`${d.toLocaleString()} papers`,style:{marginTop:48},children:y.map(s=>{var t;return e.jsxs(f,{to:`/conferences/${c}/${s.slug}`,className:"tag-cell",children:[e.jsxs("div",{className:"name",children:[e.jsx("span",{className:"dot",style:{background:s.dotColor}}),s.label]}),e.jsx("div",{className:"meta",children:e.jsxs("span",{children:[(((t=r.data)==null?void 0:t[s.countKey])??0).toLocaleString()," papers"]})})]},s.slug)})}),r.isLoading?e.jsx(C,{tiles:6,tileClassName:"h-24"}):m.map(s=>{const t=s.tasks;if(t.length===0)return null;const n=t.reduce((i,o)=>i+(o.paper_count||0),0);return e.jsx(j,{title:s.name,description:s.description,meta:`${t.length} ${t.length===1?"task":"tasks"} · ${n.toLocaleString()} papers`,children:t.map(i=>{const o=i.slug||"",k=L(T(o));return e.jsxs(f,{to:`/conferences/${c}/${o}`,className:"tag-cell",children:[e.jsxs("div",{className:"name",children:[e.jsx("span",{className:"dot",style:{background:k.dot}}),P(i.name,o)]}),e.jsx("div",{className:"meta",children:e.jsxs("span",{children:[(i.paper_count??0).toLocaleString()," papers"]})})]},i.id)})},s.id)}),e.jsx(E,{areas:m})]})};export{ie as default};
 
1
+ import{u as v,b as _,i as S,j as e,L as f,x as b}from"./index-B0aq-iar.js";import{a as j,A as C,b as E}from"./AreaSection-DEBdDI6z.js";import{M as N}from"./MarkdownText-BkbUXFCs.js";import{s as F}from"./areas-Dvi8w2dp.js";import{c as L,h as T}from"./colors-BkWRhvFI.js";import{C as $}from"./conferenceListings-BnmhBx-_.js";import{f as A}from"./deadlines-BG5SWwEG.js";import{d as P}from"./transform-BII-_KDB.js";import{S as w}from"./skeleton-DsZ-wKhC.js";import{s as D}from"./safeExternalHref-CkBrsh84.js";import{l as R}from"./LoadFailurePage-BfvJBtL8.js";import{u as B}from"./useDocumentTitle-gwKq10Vr.js";import{e as M}from"./pageTitles-DPtr8SUn.js";import"./PaperPreviewLink-4dmR6yPp.js";import"./index-B9qpvwaI.js";import"./index-16KodlFR.js";import"./hover-card-B_kWNxjX.js";import"./useMutation-DxP7YVP3.js";import"./alert-Cf45hSUq.js";import"./NotFound-iYKf4_7M.js";const ie=()=>{var x,h;const{confSlug:c}=v(),r=_(b.conferenceAreasWithTasks(c)),m=S.useMemo(()=>{var s;return F(((s=r.data)==null?void 0:s.results)??[])},[r.data]),a=(x=r.data)==null?void 0:x.conference;B(a&&M(a.name));const d=((h=r.data)==null?void 0:h.total_paper_count)??0,y=$.filter(s=>{var t;return(((t=r.data)==null?void 0:t[s.countKey])??0)>0}),p=R([r.error],"Failed to load conference. Please try again.");if(p)return p;const u=a?A(a.start_date,a.end_date):null,g=a?[a.venue,a.location].filter(Boolean).join(", "):null,l=a==null?void 0:a.name;return e.jsxs("div",{className:"page",children:[e.jsxs("div",{className:a!=null&&a.image_url?"task-hero-grid":void 0,children:[e.jsxs("div",{children:[e.jsx("div",{style:{fontFamily:"var(--mono)",fontSize:11,color:"var(--accent-text)",letterSpacing:"0.1em",marginBottom:8},children:"CONFERENCE"}),e.jsx("h1",{className:"feed-title",children:l??e.jsx(w,{className:"h-10 w-64 inline-block"})}),e.jsxs("div",{className:"feed-subtitle",style:{display:"flex",flexDirection:"column",gap:4},children:[u&&e.jsx("span",{children:u}),g&&e.jsx("span",{children:g}),(a==null?void 0:a.url)&&e.jsx("a",{href:D(a.url)??void 0,target:"_blank",rel:"noopener noreferrer",style:{color:"var(--accent-text)"},children:a.url.replace(/^https?:\/\//,"")}),(a==null?void 0:a.hf_url)&&e.jsxs("a",{className:"bm-action-btn",href:a.hf_url,target:"_blank",rel:"noopener noreferrer",style:{alignSelf:"flex-start",marginTop:4},children:[e.jsx("span",{"aria-hidden":"true",children:"🤗"})," View on Hugging Face"]})]}),(a==null?void 0:a.description)&&e.jsx(N,{className:"method-description",text:a.description})]}),(a==null?void 0:a.image_url)&&e.jsxs("figure",{className:"task-figure-card",children:[e.jsx("div",{className:"task-figure-img-wrap",children:e.jsx("img",{className:"task-figure-img",src:a.image_url,alt:l?`${l} visual`:"Conference visual",onError:s=>{var t,n;(n=(t=s.currentTarget.parentElement)==null?void 0:t.parentElement)==null||n.style.setProperty("display","none")}})}),e.jsxs("figcaption",{children:["Figure · ",l??"Conference",a.image_credit&&e.jsxs(e.Fragment,{children:[e.jsx("br",{}),e.jsx(N,{className:"task-image-credit",text:a.image_credit})]})]})]})]}),!r.isLoading&&d>0&&e.jsx(j,{title:"Browse papers",description:"All accepted papers, plus oral, spotlight, outstanding, and best paper finalists.",meta:`${d.toLocaleString()} papers`,style:{marginTop:48},children:y.map(s=>{var t;return e.jsxs(f,{to:`/conferences/${c}/${s.slug}`,className:"tag-cell",children:[e.jsxs("div",{className:"name",children:[e.jsx("span",{className:"dot",style:{background:s.dotColor}}),s.label]}),e.jsx("div",{className:"meta",children:e.jsxs("span",{children:[(((t=r.data)==null?void 0:t[s.countKey])??0).toLocaleString()," papers"]})})]},s.slug)})}),r.isLoading?e.jsx(C,{tiles:6,tileClassName:"h-24"}):m.map(s=>{const t=s.tasks;if(t.length===0)return null;const n=t.reduce((i,o)=>i+(o.paper_count||0),0);return e.jsx(j,{title:s.name,description:s.description,meta:`${t.length} ${t.length===1?"task":"tasks"} · ${n.toLocaleString()} papers`,children:t.map(i=>{const o=i.slug||"",k=L(T(o));return e.jsxs(f,{to:`/conferences/${c}/${o}`,className:"tag-cell",children:[e.jsxs("div",{className:"name",children:[e.jsx("span",{className:"dot",style:{background:k.dot}}),P(i.name,o)]}),e.jsx("div",{className:"meta",children:e.jsxs("span",{children:[(i.paper_count??0).toLocaleString()," papers"]})})]},i.id)})},s.id)}),e.jsx(E,{areas:m})]})};export{ie as default};
assets/{ConferenceTaskView-CVRhc_dS.js → ConferenceTaskView-D-_TVy6J.js} RENAMED
@@ -1 +1 @@
1
- import{u as R,b as E,x as F,E as A,y as L,i as S,j as e,L as g}from"./index-BhKQv9LT.js";import{d as M,u as T,e as B,P as O}from"./usePapers-Cuyi1itG.js";import{M as f}from"./MarkdownText-lBRZb4lH.js";import{C as Q}from"./conferenceListings-BnmhBx-_.js";import{t as z,d as H}from"./transform-BzmXOpxt.js";import{l as I}from"./LoadFailurePage-CF1gemwM.js";import"./PaperCard-CSOLEzIX.js";import"./AuthorAvatar-DfcP8J6o.js";import"./SotaBadges-CcS46IjG.js";import"./colors-BkWRhvFI.js";import"./Icon-Cdqu8Hq_.js";import"./LatexTitle-GmCrtZ_I.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DoQl9nzw.js";import"./skeleton-BkbzA0oF.js";import"./useIntersectionObserver-M_MEUmwh.js";import"./useInfiniteQuery-Ba0y0o7Y.js";import"./PaperPreviewLink-5XV8BqLE.js";import"./index-COKyUVjd.js";import"./index-dnSSilbj.js";import"./hover-card-CM5j_oBo.js";import"./useMutation-DPQn8VkK.js";import"./alert-zC2kYXtI.js";import"./NotFound-CkpULt19.js";const $={"iclr-2026/outstanding":"ICLR 2026 recognized two Outstanding Papers and one Honorable Mention. [Read the announcement](https://blog.iclr.cc/2026/04/23/announcing-the-iclr-2026-outstanding-papers/).","icml-2026/outstanding":"ICML 2026 recognized two Outstanding Papers and five Honorable Mentions. [Read the announcement](https://blog.icml.cc/2026/07/05/announcing-the-icml-2026-awards/).","cvpr-2026/best-paper-finalists":"CVPR 2026 recognized fifteen Best Paper Award finalists, including the winners. [Read the announcement](https://x.com/CVPR/status/2062912519522717978)."},ue=()=>{var P,v,w,k,y,_;const{confSlug:t,taskSlug:o}=R(),m=M(),a=Q.find(r=>r.slug===o),u=!!(a!=null&&a.award),i=E(F.conference(t)),p=E({...F.task(o),enabled:!a}),c=T(L.conference(t,o,m.filters),r=>A.forConference(t,{...m.filters,task:a?void 0:o,presentation:a==null?void 0:a.presentation,page:r,page_size:12}),{enabled:!!t}),x=S.useMemo(()=>{var r;return((r=c.data)==null?void 0:r.pages.flatMap(n=>n.results))??[]},[c.data]),h=S.useMemo(()=>x.map(z),[x]),l=(a==null?void 0:a.label)??H(((P=p.data)==null?void 0:P.name)||o||"",((v=p.data)==null?void 0:v.slug)||o),j=$[`${t}/${o}`],N=((k=(w=c.data)==null?void 0:w.pages[0])==null?void 0:k.count)??((y=i.data)==null?void 0:y.paper_count)??0,s=p.data,b=I([i.error,p.error,c.error],"Failed to load conference papers. Please try again.");return b||e.jsxs("div",{className:"page",children:[e.jsxs("nav",{className:"breadcrumb","aria-label":"Breadcrumb",children:[e.jsx(g,{to:"/",children:"Home"}),e.jsx("span",{children:" / "}),e.jsx(g,{to:"/conferences",children:"Conferences"}),e.jsx("span",{children:" / "}),e.jsx(g,{to:`/conferences/${t}`,children:((_=i.data)==null?void 0:_.name)??t}),e.jsx("span",{children:" / "}),e.jsx("span",{children:l})]}),e.jsxs("div",{className:!a&&(s!=null&&s.image_url)?"task-hero-grid":void 0,style:{marginTop:16,marginBottom:28},children:[e.jsxs("div",{children:[e.jsx("div",{style:{fontFamily:"var(--mono)",fontSize:11,color:"var(--accent-text)",letterSpacing:"0.1em",marginBottom:8},children:a?"BROWSE PAPERS":"TASK"}),e.jsx("h1",{className:"domain-mega-title",children:l}),j&&e.jsx(f,{className:"task-explainer",text:j}),!a&&(s==null?void 0:s.description)&&e.jsx(f,{className:"task-explainer",text:s.description}),i.data&&e.jsxs("div",{className:"task-quickstats",style:{marginTop:12},children:[e.jsxs("span",{children:[e.jsx("span",{className:"num",children:N.toLocaleString()}),"PAPERS"]}),e.jsx("span",{children:i.data.name})]})]}),!a&&(s==null?void 0:s.image_url)&&e.jsxs("figure",{className:"task-figure-card",children:[e.jsx("div",{className:"task-figure-img-wrap",children:e.jsx("img",{className:"task-figure-img",src:s.image_url,alt:`${l} schematic`,onError:r=>{var n,d;(d=(n=r.currentTarget.parentElement)==null?void 0:n.parentElement)==null||d.style.setProperty("display","none")}})}),e.jsxs("figcaption",{children:["Figure · ",l,s.image_credit&&e.jsxs(e.Fragment,{children:[e.jsx("br",{}),e.jsx(f,{className:"task-image-credit",text:s.image_credit})]})]})]})]}),e.jsxs("div",{className:"task-section-head",children:[e.jsx("div",{className:"task-section-eyebrow",children:u?"Award papers":"Conference papers · sort below"}),e.jsxs("div",{className:"task-section-title",children:["Papers ",e.jsxs("span",{className:"meta",children:["[",N.toLocaleString(),"]"]})]})]}),e.jsx(B,{feed:m,sorts:u?null:void 0,children:!u&&e.jsxs("div",{className:"results-count",children:[h.length," loaded in ",e.jsx("span",{children:l})]})}),e.jsx(O,{query:c,cards:h,empty:"No papers found for this selection.",cardHeader:r=>{var C;const n=(C=x[r])==null?void 0:C.conference_award,d=n==="outstanding"?"Outstanding Paper":n==="honorable_mention"?"Honorable Mention":n==="best_paper_finalist"&&(a==null?void 0:a.presentation)!=="best_paper_finalist"?"Best Paper Finalist":null;return d&&e.jsx("div",{className:"conference-award-label",children:d})}})]})};export{ue as default};
 
1
+ import{u as R,b as E,x as F,E as A,y as L,i as S,j as e,L as g}from"./index-B0aq-iar.js";import{d as M,u as T,e as B,P as O}from"./usePapers-DH6AufOQ.js";import{M as f}from"./MarkdownText-BkbUXFCs.js";import{C as Q}from"./conferenceListings-BnmhBx-_.js";import{t as z,d as H}from"./transform-BII-_KDB.js";import{l as I}from"./LoadFailurePage-BfvJBtL8.js";import"./PaperCard-CXKXdRil.js";import"./AuthorAvatar-CWdu93Ln.js";import"./SotaBadges-Dh4JgSRd.js";import"./colors-BkWRhvFI.js";import"./Icon-BkpouXtc.js";import"./LatexTitle-CXLW2LHS.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DdJ3UXiH.js";import"./skeleton-DsZ-wKhC.js";import"./useIntersectionObserver-B5f-R6yl.js";import"./useInfiniteQuery-DIIy94Ek.js";import"./PaperPreviewLink-4dmR6yPp.js";import"./index-B9qpvwaI.js";import"./index-16KodlFR.js";import"./hover-card-B_kWNxjX.js";import"./useMutation-DxP7YVP3.js";import"./alert-Cf45hSUq.js";import"./NotFound-iYKf4_7M.js";const $={"iclr-2026/outstanding":"ICLR 2026 recognized two Outstanding Papers and one Honorable Mention. [Read the announcement](https://blog.iclr.cc/2026/04/23/announcing-the-iclr-2026-outstanding-papers/).","icml-2026/outstanding":"ICML 2026 recognized two Outstanding Papers and five Honorable Mentions. [Read the announcement](https://blog.icml.cc/2026/07/05/announcing-the-icml-2026-awards/).","cvpr-2026/best-paper-finalists":"CVPR 2026 recognized fifteen Best Paper Award finalists, including the winners. [Read the announcement](https://x.com/CVPR/status/2062912519522717978)."},ue=()=>{var P,v,w,k,y,_;const{confSlug:t,taskSlug:o}=R(),m=M(),a=Q.find(r=>r.slug===o),u=!!(a!=null&&a.award),i=E(F.conference(t)),p=E({...F.task(o),enabled:!a}),c=T(L.conference(t,o,m.filters),r=>A.forConference(t,{...m.filters,task:a?void 0:o,presentation:a==null?void 0:a.presentation,page:r,page_size:12}),{enabled:!!t}),x=S.useMemo(()=>{var r;return((r=c.data)==null?void 0:r.pages.flatMap(n=>n.results))??[]},[c.data]),h=S.useMemo(()=>x.map(z),[x]),l=(a==null?void 0:a.label)??H(((P=p.data)==null?void 0:P.name)||o||"",((v=p.data)==null?void 0:v.slug)||o),j=$[`${t}/${o}`],N=((k=(w=c.data)==null?void 0:w.pages[0])==null?void 0:k.count)??((y=i.data)==null?void 0:y.paper_count)??0,s=p.data,b=I([i.error,p.error,c.error],"Failed to load conference papers. Please try again.");return b||e.jsxs("div",{className:"page",children:[e.jsxs("nav",{className:"breadcrumb","aria-label":"Breadcrumb",children:[e.jsx(g,{to:"/",children:"Home"}),e.jsx("span",{children:" / "}),e.jsx(g,{to:"/conferences",children:"Conferences"}),e.jsx("span",{children:" / "}),e.jsx(g,{to:`/conferences/${t}`,children:((_=i.data)==null?void 0:_.name)??t}),e.jsx("span",{children:" / "}),e.jsx("span",{children:l})]}),e.jsxs("div",{className:!a&&(s!=null&&s.image_url)?"task-hero-grid":void 0,style:{marginTop:16,marginBottom:28},children:[e.jsxs("div",{children:[e.jsx("div",{style:{fontFamily:"var(--mono)",fontSize:11,color:"var(--accent-text)",letterSpacing:"0.1em",marginBottom:8},children:a?"BROWSE PAPERS":"TASK"}),e.jsx("h1",{className:"domain-mega-title",children:l}),j&&e.jsx(f,{className:"task-explainer",text:j}),!a&&(s==null?void 0:s.description)&&e.jsx(f,{className:"task-explainer",text:s.description}),i.data&&e.jsxs("div",{className:"task-quickstats",style:{marginTop:12},children:[e.jsxs("span",{children:[e.jsx("span",{className:"num",children:N.toLocaleString()}),"PAPERS"]}),e.jsx("span",{children:i.data.name})]})]}),!a&&(s==null?void 0:s.image_url)&&e.jsxs("figure",{className:"task-figure-card",children:[e.jsx("div",{className:"task-figure-img-wrap",children:e.jsx("img",{className:"task-figure-img",src:s.image_url,alt:`${l} schematic`,onError:r=>{var n,d;(d=(n=r.currentTarget.parentElement)==null?void 0:n.parentElement)==null||d.style.setProperty("display","none")}})}),e.jsxs("figcaption",{children:["Figure · ",l,s.image_credit&&e.jsxs(e.Fragment,{children:[e.jsx("br",{}),e.jsx(f,{className:"task-image-credit",text:s.image_credit})]})]})]})]}),e.jsxs("div",{className:"task-section-head",children:[e.jsx("div",{className:"task-section-eyebrow",children:u?"Award papers":"Conference papers · sort below"}),e.jsxs("div",{className:"task-section-title",children:["Papers ",e.jsxs("span",{className:"meta",children:["[",N.toLocaleString(),"]"]})]})]}),e.jsx(B,{feed:m,sorts:u?null:void 0,children:!u&&e.jsxs("div",{className:"results-count",children:[h.length," loaded in ",e.jsx("span",{children:l})]})}),e.jsx(O,{query:c,cards:h,empty:"No papers found for this selection.",cardHeader:r=>{var C;const n=(C=x[r])==null?void 0:C.conference_award,d=n==="outstanding"?"Outstanding Paper":n==="honorable_mention"?"Honorable Mention":n==="best_paper_finalist"&&(a==null?void 0:a.presentation)!=="best_paper_finalist"?"Best Paper Finalist":null;return d&&e.jsx("div",{className:"conference-award-label",children:d})}})]})};export{ue as default};
assets/{ConferencesIndexView-3cS9eR7i.js → ConferencesIndexView-BH-80inW.js} RENAMED
@@ -1 +1 @@
1
- import{b as d,i as m,j as e,L as c,x as p}from"./index-BhKQv9LT.js";import{f as u}from"./deadlines-BG5SWwEG.js";import{A as f,a as h}from"./alert-zC2kYXtI.js";import{A as x,a as g}from"./AreaSection-D3xwtKAs.js";import{T as j}from"./TaxonomySuggestionTile-DmGYfBPo.js";import{u as v}from"./useDocumentTitle-DGWKz2sg.js";import{I as N}from"./pageTitles-Cv5SviVf.js";import"./skeleton-BkbzA0oF.js";import"./SignInToEditDialog-DkbWjXKh.js";import"./button-CbtZIybp.js";import"./input-BDLNu7DN.js";import"./textarea-Dzdb-PIY.js";import"./searchable-select-CbMREm8O.js";import"./popover-DoQl9nzw.js";import"./dialog-C_jKzXRg.js";import"./search-BLHGfANa.js";import"./loader-circle-CcsDvzXG.js";import"./useMutation-DPQn8VkK.js";import"./submissions-DNDrsPIh.js";import"./cacheSync-C15rSGWl.js";import"./plus-Da5UgLnk.js";const _=r=>{var t;if(r.year!=null)return r.year;if(r.start_date)return Number(r.start_date.slice(0,4));const a=(t=r.slug.match(/-(\d{4})$/))==null?void 0:t[1];return a?Number(a):0},A=(r,a)=>{if(r.start_date&&a.start_date){const t=r.start_date.localeCompare(a.start_date);if(t!==0)return t}else{if(r.start_date)return-1;if(a.start_date)return 1}return r.name.localeCompare(a.name)},U=()=>{v(N.conferences);const r=d(p.conferences()),a=m.useMemo(()=>{var i;if(!((i=r.data)!=null&&i.results))return null;const t={};return r.data.results.forEach(n=>{const s=_(n);(t[s]||(t[s]=[])).push(n)}),Object.values(t).forEach(n=>n.sort(A)),Object.keys(t).map(Number).sort((n,s)=>s-n).map(n=>({year:n,conferences:t[n]}))},[r.data]);return r.error?e.jsx("div",{className:"page",children:e.jsx(f,{variant:"destructive",children:e.jsx(h,{children:"Failed to load conferences. Please try again."})})}):e.jsxs("div",{className:"page",children:[e.jsx("div",{className:"feed-header",children:e.jsxs("div",{children:[e.jsxs("h1",{className:"feed-title",children:["All ",e.jsx("em",{children:"Conferences"})]}),e.jsx("div",{className:"feed-subtitle",children:"Browse accepted papers from major AI conferences, grouped by research area and task."}),e.jsxs("div",{className:"conference-deadlines-link",children:["Find deadlines for upcoming conferences"," ",e.jsx(c,{to:"/ai-deadlines",className:"underline underline-offset-2 hover:text-foreground",children:"here"}),". Conference information is based on"," ",e.jsx("a",{href:"https://huggingface.co/ai-conferences",target:"_blank",rel:"noreferrer",className:"underline underline-offset-2 hover:text-foreground",children:"Hugging Face AI Conferences"}),"."]})]})}),r.isLoading?e.jsx(x,{sections:2,tiles:3,tileClassName:"h-32"}):a==null?void 0:a.map(({year:t,conferences:i})=>{const n=i.reduce((s,o)=>s+(o.paper_count??0),0);return e.jsxs(g,{title:t>0?String(t):"Unknown year",meta:`${i.length} ${i.length===1?"conference":"conferences"} · ${n.toLocaleString()} papers`,children:[i.map(s=>{const o=u(s.start_date,s.end_date),l=[s.venue,s.location].filter(Boolean).join(", ");return e.jsxs(c,{to:`/conferences/${s.slug}`,className:"tag-cell",children:[e.jsx("div",{className:"name",children:s.name}),e.jsxs("div",{className:"meta",style:{display:"flex",flexDirection:"column",gap:4},children:[o&&e.jsx("span",{children:o}),l&&e.jsx("span",{children:l}),e.jsxs("span",{children:[(s.paper_count??0).toLocaleString()," papers"]})]})]},s.id)}),e.jsx(j,{kind:"conference"})]},t)})]})};export{U as default};
 
1
+ import{b as d,i as m,j as e,L as c,x as p}from"./index-B0aq-iar.js";import{f as u}from"./deadlines-BG5SWwEG.js";import{A as f,a as h}from"./alert-Cf45hSUq.js";import{A as x,a as g}from"./AreaSection-DEBdDI6z.js";import{T as j}from"./TaxonomySuggestionTile-DxM7CBR8.js";import{u as v}from"./useDocumentTitle-gwKq10Vr.js";import{I as N}from"./pageTitles-DPtr8SUn.js";import"./skeleton-DsZ-wKhC.js";import"./SignInToEditDialog-B23Lp1q5.js";import"./button-TpPKOW28.js";import"./input-BtVcQEqI.js";import"./textarea-Ch1ibCfx.js";import"./searchable-select-VhKQioJk.js";import"./popover-DdJ3UXiH.js";import"./dialog-CMqnZdwE.js";import"./search-BHf0tBuT.js";import"./loader-circle-DjsuNmQM.js";import"./useMutation-DxP7YVP3.js";import"./submissions-B9V-ntEk.js";import"./cacheSync-UfDqLKth.js";import"./plus-Ig6EFSa0.js";const _=r=>{var t;if(r.year!=null)return r.year;if(r.start_date)return Number(r.start_date.slice(0,4));const a=(t=r.slug.match(/-(\d{4})$/))==null?void 0:t[1];return a?Number(a):0},A=(r,a)=>{if(r.start_date&&a.start_date){const t=r.start_date.localeCompare(a.start_date);if(t!==0)return t}else{if(r.start_date)return-1;if(a.start_date)return 1}return r.name.localeCompare(a.name)},U=()=>{v(N.conferences);const r=d(p.conferences()),a=m.useMemo(()=>{var i;if(!((i=r.data)!=null&&i.results))return null;const t={};return r.data.results.forEach(n=>{const s=_(n);(t[s]||(t[s]=[])).push(n)}),Object.values(t).forEach(n=>n.sort(A)),Object.keys(t).map(Number).sort((n,s)=>s-n).map(n=>({year:n,conferences:t[n]}))},[r.data]);return r.error?e.jsx("div",{className:"page",children:e.jsx(f,{variant:"destructive",children:e.jsx(h,{children:"Failed to load conferences. Please try again."})})}):e.jsxs("div",{className:"page",children:[e.jsx("div",{className:"feed-header",children:e.jsxs("div",{children:[e.jsxs("h1",{className:"feed-title",children:["All ",e.jsx("em",{children:"Conferences"})]}),e.jsx("div",{className:"feed-subtitle",children:"Browse accepted papers from major AI conferences, grouped by research area and task."}),e.jsxs("div",{className:"conference-deadlines-link",children:["Find deadlines for upcoming conferences"," ",e.jsx(c,{to:"/ai-deadlines",className:"underline underline-offset-2 hover:text-foreground",children:"here"}),". Conference information is based on"," ",e.jsx("a",{href:"https://huggingface.co/ai-conferences",target:"_blank",rel:"noreferrer",className:"underline underline-offset-2 hover:text-foreground",children:"Hugging Face AI Conferences"}),"."]})]})}),r.isLoading?e.jsx(x,{sections:2,tiles:3,tileClassName:"h-32"}):a==null?void 0:a.map(({year:t,conferences:i})=>{const n=i.reduce((s,o)=>s+(o.paper_count??0),0);return e.jsxs(g,{title:t>0?String(t):"Unknown year",meta:`${i.length} ${i.length===1?"conference":"conferences"} · ${n.toLocaleString()} papers`,children:[i.map(s=>{const o=u(s.start_date,s.end_date),l=[s.venue,s.location].filter(Boolean).join(", ");return e.jsxs(c,{to:`/conferences/${s.slug}`,className:"tag-cell",children:[e.jsx("div",{className:"name",children:s.name}),e.jsxs("div",{className:"meta",style:{display:"flex",flexDirection:"column",gap:4},children:[o&&e.jsx("span",{children:o}),l&&e.jsx("span",{children:l}),e.jsxs("span",{children:[(s.paper_count??0).toLocaleString()," papers"]})]})]},s.id)}),e.jsx(j,{kind:"conference"})]},t)})]})};export{U as default};
assets/{CronDashboard-u2knzX-u.js → CronDashboard-B3NnmuD0.js} RENAMED
@@ -1,4 +1,4 @@
1
- import{d as I,j as e,a0 as M,b as G,a1 as xe,i as _,v as pe,a2 as J,A as Fe,L as je,af as E,a3 as Ie,p as He,R as oe,c as We,a as ze,ag as Qe,G as Ke}from"./index-BhKQv9LT.js";import{u as A}from"./useMutation-DPQn8VkK.js";import{t as ge,f as u,a as S,S as Re,C as x,b as f,c as N,d as F,e as p,g as C}from"./CronDashboard-t8M9VzNu.js";import{B as U}from"./badge-Dssrs_RO.js";import{B as b}from"./button-CbtZIybp.js";import{T as Ge,a as Ve,b as X,c as Y}from"./tabs-COt81pAK.js";import{C as Xe,a as Ye}from"./chevron-up-DpwU9AYE.js";import{D as fe}from"./database-BI44wXxm.js";import{T as Ze}from"./trending-up-PRKQib2t.js";import{A as le}from"./activity-Bl3XH8Oh.js";import{F as Ne}from"./file-text-CH7tJG0i.js";import{T as me,I as es}from"./triangle-alert-tVOCXgsf.js";import{E as B}from"./external-link-BpPkGH8G.js";import{C as ee,R as be}from"./refresh-cw-BBZxh_Z_.js";import{L as R}from"./loader-circle-CcsDvzXG.js";import{C as _e}from"./circle-check-BrcGlr7S.js";import{u as ss}from"./useInfiniteQuery-Ba0y0o7Y.js";import{c as ye}from"./chat-CBpXQ7Wl.js";/**
2
  * @license lucide-react v0.462.0 - ISC
3
  *
4
  * This source code is licensed under the ISC license.
 
1
+ import{d as I,j as e,a0 as M,b as G,a1 as xe,i as _,v as pe,a2 as J,A as Fe,L as je,af as E,a3 as Ie,p as He,R as oe,c as We,a as ze,ag as Qe,G as Ke}from"./index-B0aq-iar.js";import{u as A}from"./useMutation-DxP7YVP3.js";import{t as ge,f as u,a as S,S as Re,C as x,b as f,c as N,d as F,e as p,g as C}from"./CronDashboard-QbL2HeKn.js";import{B as U}from"./badge-CEsisGsF.js";import{B as b}from"./button-TpPKOW28.js";import{T as Ge,a as Ve,b as X,c as Y}from"./tabs-Besxg1IE.js";import{C as Xe,a as Ye}from"./chevron-up-DFruybA3.js";import{D as fe}from"./database-F1rgBGr5.js";import{T as Ze}from"./trending-up-claX8Qq-.js";import{A as le}from"./activity-C34k684K.js";import{F as Ne}from"./file-text-CxYjO52k.js";import{T as me,I as es}from"./triangle-alert-DY9cghmN.js";import{E as B}from"./external-link-CWjWR91l.js";import{C as ee,R as be}from"./refresh-cw-Bkh_Ec3f.js";import{L as R}from"./loader-circle-DjsuNmQM.js";import{C as _e}from"./circle-check-D8HiLXIK.js";import{u as ss}from"./useInfiniteQuery-DIIy94Ek.js";import{c as ye}from"./chat-DfK5YWLV.js";/**
2
  * @license lucide-react v0.462.0 - ISC
3
  *
4
  * This source code is licensed under the ISC license.
assets/{CronDashboard-t8M9VzNu.js → CronDashboard-QbL2HeKn.js} RENAMED
@@ -1,4 +1,4 @@
1
- import{d as c,i as r,j as s,a0 as o}from"./index-BhKQv9LT.js";/**
2
  * @license lucide-react v0.462.0 - ISC
3
  *
4
  * This source code is licensed under the ISC license.
 
1
+ import{d as c,i as r,j as s,a0 as o}from"./index-B0aq-iar.js";/**
2
  * @license lucide-react v0.462.0 - ISC
3
  *
4
  * This source code is licensed under the ISC license.
assets/{ExternalSourceEvalBadge-UIy-nVN9.js → ExternalSourceEvalBadge-DAJYrz2F.js} RENAMED
@@ -1 +1 @@
1
- import{j as e,L as n}from"./index-BhKQv9LT.js";import{H as o,a as l,b as i}from"./hover-card-CM5j_oBo.js";import{s as c}from"./safeExternalHref-CkBrsh84.js";const h=()=>e.jsxs(o,{openDelay:120,closeDelay:120,children:[e.jsx(l,{asChild:!0,children:e.jsx("button",{type:"button",className:"bm-closed-source-tag","aria-label":"Closed-source model",children:"closed"})}),e.jsxs(i,{side:"top",align:"start",className:"w-auto max-w-[260px] p-3 text-sm leading-snug",children:["This is an evaluation of a closed-source model. You can disable viewing these in your"," ",e.jsx(n,{to:"/settings",className:"closed-eval-tooltip-link",children:"settings"}),"."]})]});function d(a){if(!a)return"Evaluation sourced outside this paper";const r=a.toLowerCase();if(r.includes("open-asr-leaderboard"))return"Open ASR Leaderboard";if(r.includes("arcprize.org"))return"ARC Prize Leaderboard";if(r.includes("frontierswe.com"))return"FrontierSWE";if(r.includes("deepswe.datacurve.ai"))return"DeepSWE";try{const s=new URL(a,"https://paperswithcode.co");return s.pathname.startsWith("/paper/")?"Source paper":s.hostname.replace(/^www\./,"")}catch{return a}}const m=({sourceUrl:a})=>{const r=c(a),s=typeof a=="string"&&a.startsWith("/paper/")?a:null,t=d(a);return e.jsxs(o,{openDelay:120,closeDelay:120,children:[e.jsx(l,{asChild:!0,children:e.jsx("button",{type:"button",className:"bm-external-source-tag","aria-label":`Externally sourced evaluation: ${t}`,children:"External"})}),e.jsxs(i,{side:"top",align:"start",className:"w-auto max-w-[280px] p-3 text-sm leading-snug",children:["This score was sourced outside this paper.",s?e.jsxs(e.Fragment,{children:[" ",e.jsx(n,{to:s,target:"_blank",rel:"noopener noreferrer",className:"external-eval-tooltip-link",children:t}),"."]}):r?e.jsxs(e.Fragment,{children:[" ",e.jsx("a",{href:r,target:"_blank",rel:"noopener noreferrer",className:"external-eval-tooltip-link",children:t}),"."]}):e.jsxs(e.Fragment,{children:[" ",t,"."]})]})]})};export{h as C,m as E};
 
1
+ import{j as e,L as n}from"./index-B0aq-iar.js";import{H as o,a as l,b as i}from"./hover-card-B_kWNxjX.js";import{s as c}from"./safeExternalHref-CkBrsh84.js";const h=()=>e.jsxs(o,{openDelay:120,closeDelay:120,children:[e.jsx(l,{asChild:!0,children:e.jsx("button",{type:"button",className:"bm-closed-source-tag","aria-label":"Closed-source model",children:"closed"})}),e.jsxs(i,{side:"top",align:"start",className:"w-auto max-w-[260px] p-3 text-sm leading-snug",children:["This is an evaluation of a closed-source model. You can disable viewing these in your"," ",e.jsx(n,{to:"/settings",className:"closed-eval-tooltip-link",children:"settings"}),"."]})]});function d(a){if(!a)return"Evaluation sourced outside this paper";const r=a.toLowerCase();if(r.includes("open-asr-leaderboard"))return"Open ASR Leaderboard";if(r.includes("arcprize.org"))return"ARC Prize Leaderboard";if(r.includes("frontierswe.com"))return"FrontierSWE";if(r.includes("deepswe.datacurve.ai"))return"DeepSWE";try{const s=new URL(a,"https://paperswithcode.co");return s.pathname.startsWith("/paper/")?"Source paper":s.hostname.replace(/^www\./,"")}catch{return a}}const m=({sourceUrl:a})=>{const r=c(a),s=typeof a=="string"&&a.startsWith("/paper/")?a:null,t=d(a);return e.jsxs(o,{openDelay:120,closeDelay:120,children:[e.jsx(l,{asChild:!0,children:e.jsx("button",{type:"button",className:"bm-external-source-tag","aria-label":`Externally sourced evaluation: ${t}`,children:"External"})}),e.jsxs(i,{side:"top",align:"start",className:"w-auto max-w-[280px] p-3 text-sm leading-snug",children:["This score was sourced outside this paper.",s?e.jsxs(e.Fragment,{children:[" ",e.jsx(n,{to:s,target:"_blank",rel:"noopener noreferrer",className:"external-eval-tooltip-link",children:t}),"."]}):r?e.jsxs(e.Fragment,{children:[" ",e.jsx("a",{href:r,target:"_blank",rel:"noopener noreferrer",className:"external-eval-tooltip-link",children:t}),"."]}):e.jsxs(e.Fragment,{children:[" ",t,"."]})]})]})};export{h as C,m as E};
assets/FeedView-CAdo9nK0.js ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import{d as ut,j as e,L as q,b as J,i as l,X as ts,r as re,n as ss,e as At,o as tt,q as Ve,s as os,C as Se,l as Rt,a as ns,t as as,v as $t,w as ht,x as Ze,f as is,y as We,k as rs,z as it,B as Mt,D as ls,g as ft,E as cs,F as ds}from"./index-B0aq-iar.js";import{S as Ot,U as us,t as ps}from"./taskIcons-D66TYP2o.js";import{c as Ut,h as Bt,F as Ht,t as le,a as hs,d as fs,e as zt,f as Kt,g as qt,i as Gt,b as ms,j as Wt,u as gs,k as ws,l as xs,m as Je,n as bs,o as js,p as ys,q as mt,v as gt,w as ot,x as vs,y as ks}from"./researchTopic-179EqBPz.js";import{P as ce}from"./plus-Ig6EFSa0.js";import{d as Te,t as Ns}from"./transform-BII-_KDB.js";import{A as Yt}from"./arrow-right-DlVJkuq8.js";import{C as Ss,P as Qt,u as Ts,a as Cs,b as Fs,D as nt,q as _s,c as Es,d as Ls,i as Ps,e as Ds,A as Is,f as As,S as xe,g as Rs}from"./index-CNk4C1On.js";import{D as $s,a as Ms,b as Os}from"./dialog-CMqnZdwE.js";import{S as Us}from"./switch-COw0Jfww.js";import{T as Bs,a as Hs,b as wt,c as xt}from"./tabs-Besxg1IE.js";import{u as zs}from"./useDebounce-D5i4faqC.js";import{T as Ks}from"./trash-2-D6KnBn09.js";import{U as qs}from"./undo-2-xoD_sdsW.js";import{A as Gs}from"./arrow-up-right-B6bV_Cct.js";import{c as Ws,h as Ys}from"./colors-BkWRhvFI.js";import{b as Qs,u as Xs,a as Vs,c as Zs,P as Js}from"./usePapers-DH6AufOQ.js";import{M as eo}from"./McpShowcase-BgXu7zJj.js";import{c as to}from"./chat-DfK5YWLV.js";import{S as bt}from"./skeleton-DsZ-wKhC.js";import{A as Ye,a as Qe}from"./alert-Cf45hSUq.js";import{u as so}from"./useDocumentTitle-gwKq10Vr.js";import{H as oo}from"./pageTitles-DPtr8SUn.js";import"./search-BHf0tBuT.js";import"./triangle-alert-DY9cghmN.js";import"./share-2-Br52qy6p.js";import"./trending-up-claX8Qq-.js";import"./moon-CuN-BY7W.js";import"./thumbs-up-DoDJmuQ5.js";import"./database-F1rgBGr5.js";import"./link-2-Df1wXqvh.js";import"./trophy-BxvfHC6g.js";import"./file-text-CxYjO52k.js";import"./activity-C34k684K.js";import"./globe-DuvIPdbU.js";import"./useMutation-DxP7YVP3.js";import"./index-Byiu5LS8.js";import"./PaperCard-CXKXdRil.js";import"./AuthorAvatar-CWdu93Ln.js";import"./SotaBadges-Dh4JgSRd.js";import"./Icon-BkpouXtc.js";import"./LatexTitle-CXLW2LHS.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DdJ3UXiH.js";import"./useIntersectionObserver-B5f-R6yl.js";import"./useInfiniteQuery-DIIy94Ek.js";import"./AgentLogos-x9Ckr4O1.js";/**
2
+ * @license lucide-react v0.462.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const no=ut("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
7
+ * @license lucide-react v0.462.0 - ISC
8
+ *
9
+ * This source code is licensed under the ISC license.
10
+ * See the LICENSE file in the root directory of this source tree.
11
+ */const ao=ut("GripVertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);/**
12
+ * @license lucide-react v0.462.0 - ISC
13
+ *
14
+ * This source code is licensed under the ISC license.
15
+ * See the LICENSE file in the root directory of this source tree.
16
+ */const io=ut("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);function ro({onBuild:t}){return e.jsxs("section",{className:"following-intro","aria-labelledby":"following-intro-title",children:[e.jsx("h2",{id:"following-intro-title",children:"Build your personal research feed"}),e.jsx("p",{className:"following-intro-lead",children:"Describe topics in your own words, or follow the tasks, benchmarks, authors, and organizations you care about, and this page collects their latest papers and results in one place."}),t&&e.jsxs("button",{type:"button",className:"research-topic-save following-intro-topic",onClick:t,children:[e.jsx(Ot,{"aria-hidden":"true"}),"Build your feed"]}),e.jsxs("p",{className:"following-intro-note",children:["Matching papers also arrive as a weekly email, which you can turn off in"," ",e.jsx(q,{to:"/settings",children:"Settings"}),"."]})]})}const Xt="pwc:home-follow-card:dismissed",lo=5,co=2;function uo(){try{return localStorage.getItem(Xt)==="1"}catch{return!1}}function po({onBuild:t}){const o=J(re.featuredTopics()),{follow:n,finishing:u,failed:a}=Ut(),[j,F]=l.useState(uo);if(j)return null;const p=()=>{try{localStorage.setItem(Xt,"1")}catch{}F(!0)},g=Bt(o.data??[]).slice(Ht).filter(S=>S.followers>=co).slice(0,lo);return e.jsxs("section",{className:"home-follow-card","aria-labelledby":"home-follow-card-title",children:[e.jsx("button",{type:"button",className:"home-follow-card-close","aria-label":"Dismiss",onClick:p,children:e.jsx(ts,{"aria-hidden":"true"})}),e.jsx("h2",{id:"home-follow-card-title",children:"Get a feed for your research"}),e.jsx("p",{children:"Follow topics, tasks, authors and labs, and their new papers collect on your following page and in a weekly email."}),g.length>0&&e.jsx("div",{className:"topic-dialog-chips home-follow-card-topics",children:g.map(S=>e.jsxs("button",{type:"button",className:"topic-dialog-chip","aria-pressed":"false",disabled:u,onClick:()=>n(S.id),children:[e.jsx(ce,{"aria-hidden":"true"}),le(S)]},S.id))}),a&&e.jsx("p",{className:"home-follow-card-error",role:"alert",children:"Could not follow that topic. Please try again."}),e.jsxs("button",{type:"button",className:"research-topic-save",onClick:t,children:[e.jsx(Ot,{"aria-hidden":"true"}),"Build your feed"]})]})}function rt({topic:t,action:o,newTab:n=!1,showCreator:u=!1,kindLabel:a,as:j="li",className:F}){var p;return e.jsx(Vt,{title:le(t),href:hs(t),kindLabel:a,creator:u?(p=t.creator)==null?void 0:p.username:void 0,followers:t.followers,avatars:t.follower_avatars??[],weekPapers:t.week_papers,paper:t.top_paper,action:o,newTab:n,as:j,className:F})}function Vt({title:t,href:o,kindLabel:n,creator:u,followers:a,avatars:j,weekPapers:F,paper:p,action:g,newTab:S=!1,as:R="li",className:M}){return e.jsxs(R,{className:["home-topic-card",M].filter(Boolean).join(" "),children:[n&&e.jsx("span",{className:"home-topic-kind",children:n}),e.jsx(jt,{to:o,newTab:S,className:"home-topic-title",children:t}),u&&e.jsxs("div",{className:"home-topic-creator",children:["by @",u]}),a!=null&&e.jsxs("div",{className:"home-topic-followers",children:[j.length>0&&e.jsx("span",{className:"home-topic-avatars","aria-hidden":"true",children:j.map(E=>e.jsx(ho,{person:E},E.username))}),a," ",a===1?"follower":"followers"]}),!!F&&e.jsxs("div",{className:"home-topic-meta",children:[F," new ",F===1?"paper":"papers"," this week"]}),p&&e.jsx(jt,{to:`/paper/${p.arxiv_id||p.id}`,newTab:S,className:"home-topic-paper",title:p.title,children:p.title}),g]})}function jt({to:t,newTab:o,className:n,title:u,children:a}){return o?e.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:n,title:u,children:a}):e.jsx(q,{to:t,className:n,title:u,children:a})}function ho({person:t}){const[o,n]=l.useState(!1);return o?e.jsx("span",{className:"topic-avatar home-topic-avatar-initial",children:t.username.charAt(0).toUpperCase()}):e.jsx("img",{className:"topic-avatar",src:ss(t.avatar_url)??void 0,alt:"",width:20,height:20,loading:"lazy",onError:()=>n(!0)})}const yt={topic:"Topic",task:"Task",method:"Method"},vt={task:0,method:1,topic:2},Xe=t=>`${t.kind}:${t.entity_id}`;function fo({followedIds:t,followedKeys:o,onBuild:n}){var U;const u=(U=At())==null?void 0:U.user,a=tt(),j=J(re.featuredTopics()),F=J(re.popularFollows()),{follow:p,finishing:g,failed:S}=Ut(),R=fs({awaitRefresh:!0}),M=Bt(j.data??[]).slice(0,Ht),E=[...(F.data??[]).map(r=>({kind:r.kind,follow:r,followers:r.followers})),...M.map(r=>({kind:"topic",topic:r,followers:r.followers}))].sort((r,L)=>L.followers-r.followers||vt[r.kind]-vt[L.kind]),w=r=>{const L=r.kind==="task"?Te(r.name):r.name;if(!u){zt([{kind:r.kind,id:String(r.entity_id),name:L}]),window.location.href=Rt("/following");return}R.mutateAsync({kind:r.kind,entityId:r.entity_id,follow:!0}).then(()=>a(`/following?follow=${Xe(r)}`),()=>{})},N=((t==null?void 0:t.size)??0)>=Ve,$=l.useRef(null),[f,G]=l.useState({start:!0,end:!0});l.useEffect(()=>{const r=$.current;if(!r)return;const L=()=>G({start:r.scrollLeft<=1,end:r.scrollLeft+r.clientWidth>=r.scrollWidth-1});return L(),r.addEventListener("scroll",L,{passive:!0}),window.addEventListener("resize",L),()=>{r.removeEventListener("scroll",L),window.removeEventListener("resize",L)}},[E.length]);const O=r=>{const L=$.current;if(!L)return;const _=parseFloat(getComputedStyle(L).columnGap)||0;L.scrollBy({left:r*(L.clientWidth+_),behavior:"smooth"})};if(E.length===0)return null;function A(r){return t?t.has(r.id)?e.jsxs(q,{to:`/following?topic=${r.id}`,className:"home-topic-follow is-following",children:[e.jsx(Se,{"aria-hidden":"true"}),"Following"]}):e.jsxs("button",{type:"button",className:"home-topic-follow",disabled:g||R.isPending||N,title:N?`You follow ${Ve} topics, the most allowed. Remove one to add another.`:void 0,onClick:()=>p(r.id),"aria-label":`Follow ${le(r)}`,children:[e.jsx(ce,{"aria-hidden":"true"}),"Follow"]}):e.jsxs("span",{className:"home-topic-follow is-pending","aria-hidden":"true",children:[e.jsx(ce,{}),"Follow"]})}function v(r){return o?o.has(Xe(r))?e.jsxs(q,{to:`/following?follow=${Xe(r)}`,className:"home-topic-follow is-following",children:[e.jsx(Se,{"aria-hidden":"true"}),"Following"]}):e.jsxs("button",{type:"button",className:"home-topic-follow",disabled:g||R.isPending,onClick:()=>w(r),"aria-label":`Follow ${r.kind==="task"?Te(r.name):r.name}`,children:[e.jsx(ce,{"aria-hidden":"true"}),"Follow"]}):e.jsxs("span",{className:"home-topic-follow is-pending","aria-hidden":"true",children:[e.jsx(ce,{}),"Follow"]})}return e.jsxs("section",{className:"home-topics","aria-labelledby":"home-topics-title",children:[e.jsxs("div",{className:"home-topics-header",children:[e.jsxs("h2",{id:"home-topics-title",children:[e.jsx(us,{"aria-hidden":"true"}),"Most followed"]}),e.jsxs("div",{className:"home-topics-actions",children:[e.jsxs("button",{type:"button",className:"home-topics-own",onClick:n,children:["Create your own topic",e.jsx(Yt,{"aria-hidden":"true"})]}),!(f.start&&f.end)&&e.jsxs(e.Fragment,{children:[e.jsx("button",{type:"button",className:"home-topics-page","aria-label":"Previous cards",disabled:f.start,onClick:()=>O(-1),children:e.jsx(Ss,{"aria-hidden":"true"})}),e.jsx("button",{type:"button",className:"home-topics-page","aria-label":"More cards",disabled:f.end,onClick:()=>O(1),children:e.jsx(os,{"aria-hidden":"true"})})]})]})]}),e.jsx("ul",{ref:$,className:"home-topics-list is-scroller",children:E.map(r=>r.kind==="topic"?e.jsx(rt,{topic:r.topic,kindLabel:yt.topic,action:A(r.topic)},`topic:${r.topic.id}`):e.jsx(Vt,{title:r.kind==="task"?Te(r.follow.name):r.follow.name,href:r.follow.url,kindLabel:yt[r.kind],followers:r.follow.followers,avatars:r.follow.follower_avatars,weekPapers:r.follow.week_papers,paper:r.follow.top_paper,action:v(r.follow)},Xe(r.follow)))}),(S||R.isError)&&e.jsx("p",{className:"home-topics-error",role:"alert",children:"Could not follow that. Please try again."})]})}const lt=180,kt=`transform ${lt}ms cubic-bezier(0.2, 0, 0, 1), box-shadow ${lt}ms ease`,Nt=()=>{var t;return((t=window.matchMedia)==null?void 0:t.call(window,"(prefers-reduced-motion: reduce)").matches)??!1};function mo(t){const o=getComputedStyle(t).transform.match(/matrix(3d)?\(([^)]+)\)/);if(!o)return{x:0,y:0};const n=o[2].split(",").map(Number);return o[1]?{x:n[12]||0,y:n[13]||0}:{x:n[4]||0,y:n[5]||0}}function go({items:t,itemKey:o,itemLabel:n,onReorder:u,renderItem:a,className:j,disabled:F=!1,grid:p=!1}){const[g,S]=l.useState(null),[R,M]=l.useState(null),[E,w]=l.useState(null),N=l.useRef(new Map),$=l.useRef(new Map),f=l.useRef({x:0,y:0,grabX:0,grabY:0}),G=(g==null?void 0:g.order)??((E==null?void 0:E.from)===t?E.order:t),O=(_,m)=>_.length===m.length&&_.every((c,x)=>o(c)===o(m[x])),A=(_,m)=>p?`translate(${_}px, ${m}px)`:`translateY(${m}px)`,v=_=>{_.style.transition="none";const{x:m,y:c,grabX:x,grabY:k}=f.current;_.style.transform=A(m-x-_.offsetLeft,c-k-_.offsetTop)};l.useLayoutEffect(()=>{const _=!Nt();N.current.forEach((m,c)=>{const x={x:m.offsetLeft,y:m.offsetTop},k=$.current.get(c);if($.current.set(c,x),c===(g==null?void 0:g.key))return v(m);if(!_||k===void 0||k.x===x.x&&k.y===x.y)return;const h=mo(m);m.style.transition="none",m.style.transform=A(k.x+h.x-x.x,k.y+h.y-x.y),m.offsetHeight,m.style.transition=kt,m.style.transform=""})});const U=l.useRef({items:t,onReorder:u,drag:g});U.current={items:t,onReorder:u,drag:g};const r=g!==null;l.useEffect(()=>{if(!r)return;const _=k=>{var H;f.current.x=k.clientX,f.current.y=k.clientY;const h=(H=U.current.drag)==null?void 0:H.key,P=h===void 0?void 0:N.current.get(h);P&&v(P);const B=f.current.y-f.current.grabY+((P==null?void 0:P.offsetHeight)??0)/2,K=f.current.x-f.current.grabX+((P==null?void 0:P.offsetWidth)??0)/2,de=(T,se)=>p?T.offsetTop+T.offsetHeight<B?!0:T.offsetTop>B?!1:T.offsetLeft<=K&&K<=T.offsetLeft+T.offsetWidth?se:T.offsetLeft+T.offsetWidth/2<K:T.offsetTop+T.offsetHeight/2<B;S(T=>{if(!T)return T;const se=T.order.findIndex(C=>o(C)===T.key),ue=T.order[se],ne=T.order.filter(C=>o(C)!==T.key),V=ne.filter(C=>{const ae=N.current.get(o(C));return ae?de(ae,T.order.indexOf(C)>se):!1}).length,W=[...ne.slice(0,V),ue,...ne.slice(V)];return O(W,T.order)?T:{...T,order:W}})},m=k=>{const{drag:h,items:P,onReorder:B}=U.current,K=h?N.current.get(h.key):void 0;if(K&&h){const de=!Nt();K.style.transition=de?kt:"none",K.style.transform="",de&&(M(h.key),window.setTimeout(()=>M(H=>H===h.key?null:H),lt))}k&&h&&!O(h.order,P)&&(w({from:P,order:h.order}),B(h.order)),S(null)},c=()=>m(!0),x=()=>m(!1);return window.addEventListener("pointermove",_),window.addEventListener("pointerup",c),window.addEventListener("pointercancel",x),()=>{window.removeEventListener("pointermove",_),window.removeEventListener("pointerup",c),window.removeEventListener("pointercancel",x)}},[r]);const L=(_,m)=>{const c=t.findIndex(h=>o(h)===_),x=c+m;if(x<0||x>=t.length)return;const k=[...t];k.splice(x,0,...k.splice(c,1)),w({from:t,order:k}),u(k)};return e.jsx("ul",{className:["sortable-list",j].filter(Boolean).join(" "),children:G.map(_=>{const m=o(_),c=(g==null?void 0:g.key)===m,x=c||R===m,k=e.jsx("button",{type:"button",className:"sortable-handle",disabled:F||t.length<2,"aria-label":`Reorder ${n(_)}. Use the ${p?"arrow":"up and down arrow"} keys to move it.`,onPointerDown:h=>{if(h.button!==0)return;h.preventDefault();const P=N.current.get(m);f.current={x:h.clientX,y:h.clientY,grabX:h.clientX-((P==null?void 0:P.offsetLeft)??0),grabY:h.clientY-((P==null?void 0:P.offsetTop)??0)},S({key:m,order:t})},onKeyDown:h=>{const B=(p?{ArrowUp:-1,ArrowDown:1,ArrowLeft:-1,ArrowRight:1}:{ArrowUp:-1,ArrowDown:1})[h.key];B&&(h.preventDefault(),L(m,B))},children:e.jsx(ao,{"aria-hidden":"true"})});return e.jsx("li",{className:x?"sortable-item is-dragging":"sortable-item",ref:h=>{h?N.current.set(m,h):N.current.delete(m)},children:a(_,k,c)},m)})})}const et="pwcTopicDialog";function wo(t){window.history.replaceState({...window.history.state,[et]:t},"")}function xo(){var t;return((t=window.history.state)==null?void 0:t[et])??null}function bo(){var o;if(!((o=window.history.state)!=null&&o[et]))return;const t={...window.history.state};delete t[et],window.history.replaceState(t,"")}const St=16,jo=6;function yo({open:t,topicId:o=null,afterSavePath:n,restore:u,onOpenChange:a}){return e.jsx($s,{open:t,onOpenChange:a,children:e.jsx(Ms,{className:"topic-dialog","aria-describedby":void 0,children:e.jsx(vo,{topicId:o,afterSavePath:n,restore:u,onDone:()=>a(!1)},o??"new")})})}function Tt({to:t,name:o}){return e.jsx(q,{className:"topic-dialog-chip-open",to:t,"aria-label":`Open the ${o} page`,title:"Open its page",children:e.jsx(Gs,{"aria-hidden":"true"})})}function vo({topicId:t,afterSavePath:o,restore:n,onDone:u}){var $e,Me,Oe,i,b,X,oe,qe,Ue;const{user:a}=ns(),j=as(),F=tt(),p=$t(),g=Kt(),S=qt(),R=J(Ze.trendingTasks({limit:St,level:0})),M=J(Ze.trendingMethods({limit:St})),E=J(re.followSuggestions()),w=J(re.featuredTopics()),N=(s=[])=>s.map(d=>({id:String(d.entity_id),name:d.name,image:d.image_url,url:d.url})),[$,f]=l.useState(n?n.editId:t),[G,O]=l.useState((n==null?void 0:n.draft)??null),[A,v]=l.useState((n==null?void 0:n.selection)??[]),[U,r]=l.useState((n==null?void 0:n.removals)??[]),[L,_]=l.useState((n==null?void 0:n.topicFollows)??[]),[m,c]=l.useState((n==null?void 0:n.order)??null),[x,k]=l.useState((n==null?void 0:n.privacy)??{}),[h,P]=l.useState((n==null?void 0:n.tab)??"topics"),B=l.useRef(null),K=l.useRef((n==null?void 0:n.scrollTop)??0);l.useLayoutEffect(()=>{var d;const s=(d=B.current)==null?void 0:d.closest(".topic-dialog");!K.current||!s||s.scrollHeight-s.clientHeight<K.current||(s.scrollTop=K.current,K.current=0)});const de=s=>{var y,I;const d=s.target.closest("a");!d||d.target==="_blank"||s.button!==0||s.metaKey||s.ctrlKey||s.shiftKey||s.altKey||new URL(d.href,window.location.href).origin!==window.location.origin||wo({topicId:t,editId:$,draft:G,selection:A,removals:U,topicFollows:L,order:m,privacy:x,tab:h,scrollTop:((I=(y=B.current)==null?void 0:y.closest(".topic-dialog"))==null?void 0:I.scrollTop)??0})},H=Gt(),T=ms(),se=Wt(),ue=gs(),ne=ws(),V=xs(),W=g.data??[],C=W.find(s=>s.id===$),ae=zs(Ft(G??(C==null?void 0:C.text)??"").toLowerCase()),Ce=J({...re.topicMatches(ae),enabled:ae.length>=3}),me=(m==null?void 0:m.length)===W.length&&m.every(s=>W.some(d=>d.id===s.id)),be=m&&me?m:W,Fe=be.some((s,d)=>{var y;return s.id!==((y=W[d])==null?void 0:y.id)}),ee=U.filter(s=>W.some(d=>d.id===s)),_e=Object.entries(x).map(([s,d])=>({id:Number(s),isPublic:d})).filter(({id:s,isPublic:d})=>!ee.includes(s)&&W.some(y=>y.id===s&&y.is_creator&&y.is_public!==d)),Ee=(w.data??[]).filter(s=>!W.some(d=>d.id===s.id)).slice(0,jo),z=L.filter(s=>Ee.some(d=>d.id===s)),ge=(C==null?void 0:C.text)??"",je=G??ge,Y=Ft(je),ie=ae===Y.toLowerCase()&&!Ce.isFetching?Ce.data??[]:[],pe=Je(H.error)&&(($e=H.variables)==null?void 0:$e.text)===Y?H.error:null,He=(C==null?void 0:C.status)==="failed"&&Y===ge,we=W.length-ee.length+z.length>=Ve,ye=Y.length>=3&&(Y!==ge||He)&&!ie.length&&(C?!ee.includes(C.id):!we),[st,ze]=l.useState(!1),ve=l.useRef(!0);l.useEffect(()=>(ve.current=!0,()=>{ve.current=!1}),[]);const Q=H.isPending||T.isPending||se.isPending||ue.isPending||ne.isPending||V.isPending||st,ke=(s,d)=>{var y;return((y=S.data)==null?void 0:y.some(I=>I.kind===s&&String(I.entity_id)===d))??!1},Ne=(s,d)=>{var y;return((y=A.find(I=>I.kind===s&&I.id===d))==null?void 0:y.follow)??ke(s,d)},te=A.filter(s=>s.follow!==ke(s.kind,s.id)),Ke=ee.length+z.length+_e.length+(Fe?1:0),Pe=!Q&&(ye||te.length>0||Ke>0),De=(s,d,y)=>v(I=>[...I.filter(fe=>fe.kind!==s||fe.id!==d),{kind:s,id:d,name:y,follow:!Ne(s,d)}]),Ie=s=>{f(s),O(null)},Ae=()=>{if(!Pe)return;if(!a){ye&&bs(Y),te.length&&zt(te),z.length&&js(z),window.location.href=Rt(o??`${j.pathname}${j.search}`);return}const s=ee.length?T.mutateAsync(ee):Promise.resolve(),d=be.filter(Z=>!ee.includes(Z.id)),y=s.catch(()=>{}).then(()=>Fe?ne.mutateAsync(d):void 0),I=y.catch(()=>{}),fe=[...te.length?[se.mutateAsync(te)]:[],s,y,..._e.map(Z=>V.mutateAsync(Z)),...ye?[I.then(()=>H.mutateAsync({id:C==null?void 0:C.id,text:Y}))]:[],...z.map(Z=>I.then(()=>ue.mutateAsync(Z)))];Promise.allSettled(fe).then(async Z=>{if(Z.every(D=>D.status==="fulfilled")){if(o){if(ze(!0),await Promise.all([p.refetchQueries({queryKey:re.follows(a.hf_subject).queryKey}),p.refetchQueries({queryKey:re.topics(a.hf_subject).queryKey})]),!ve.current)return;u(),F(o);return}u()}})},he=(s,d,y,I)=>{const Z=[...(S.data??[]).filter(D=>D.kind===d).map(D=>({id:String(D.entity_id),name:D.name,slug:D.url.split("/").pop(),image:D.image_url,url:D.url})),...y.filter(D=>!ke(d,D.id)).map(D=>({...D,suggested:!0}))];return Z.length>0&&e.jsxs("div",{className:"topic-dialog-group",children:[e.jsx("h3",{children:s}),e.jsxs(ko,{children:[Z.map(D=>{const pt=Ne(d,D.id),Ge=d==="task"?Te(D.name,D.slug??void 0):D.name,es=D.url??`/${d==="task"?"tasks":"methods"}/${D.slug??D.id}`;return e.jsxs("span",{className:"topic-dialog-chip-wrap","data-suggested":"suggested"in D||void 0,children:[e.jsxs("button",{type:"button",className:"topic-dialog-chip","aria-pressed":pt,disabled:Q,onClick:()=>De(d,D.id,Ge),children:[pt?e.jsx(Se,{"aria-hidden":"true"}):e.jsx(ce,{"aria-hidden":"true"}),(d==="author"||d==="organization")&&e.jsx(No,{kind:d,name:Ge,src:D.image}),Ge]}),e.jsx(Tt,{to:es,name:Ge})]},D.id)}),I&&e.jsxs(q,{to:I.to,className:"topic-dialog-browse",children:[I.label,e.jsx(Yt,{"aria-hidden":"true"})]})]})]})},Re=C?x[C.id]??C.is_public:!0;return e.jsxs("form",{ref:B,className:"topic-dialog-form",onClickCapture:de,onSubmit:s=>{s.preventDefault(),Ae()},children:[e.jsx(Os,{className:"topic-dialog-title",children:(Me=g.data)!=null&&Me.length||(Oe=S.data)!=null&&Oe.length?"Edit your research feed":"Build your research feed"}),e.jsxs(Bs,{value:h,onValueChange:P,className:"topic-dialog-tabs",children:[e.jsxs(Hs,{className:"topic-dialog-tab-list",children:[e.jsxs(wt,{value:"topics",className:"topic-dialog-tab",children:["Topics",e.jsx(Ct,{count:z.length+ee.length})]}),e.jsxs(wt,{value:"catalog",className:"topic-dialog-tab",children:["Tasks, methods & more",e.jsx(Ct,{count:te.length})]})]}),e.jsxs(xt,{value:"topics",className:"topic-dialog-panel",children:[e.jsxs("div",{className:"topic-dialog-group",children:[e.jsx("h3",{children:e.jsx("label",{htmlFor:"topic-dialog-input",children:C?`Reword “${le(C)}”`:(i=g.data)!=null&&i.length?"Add a topic in your own words":"Describe a topic in your own words"})}),e.jsx("p",{className:"topic-dialog-hint",children:!C&&we?`You follow ${Ve} topics, the most allowed. Remove one below to add another.`:e.jsxs(e.Fragment,{children:["A model reads every new paper and adds the ones that match to your ",e.jsx(q,{to:"/following",className:"topic-dialog-feed-link",onClick:u,children:"Following feed"}),". New topics are public and show your Hugging Face username; make one private from its ✎ button below, or remove one with its trash button."]})}),e.jsx("textarea",{id:"topic-dialog-input",className:"research-topic-input",rows:4,maxLength:ht,"aria-label":"Research topic",placeholder:"e.g. diffusion policies for robot manipulation, or speculative decoding for LLM inference",value:je,onChange:s=>O(s.target.value),onKeyDown:s=>{s.key==="Enter"&&!s.shiftKey&&!s.nativeEvent.isComposing&&(s.preventDefault(),Ae())}}),e.jsxs("span",{className:"research-topic-count",children:[je.length,"/",ht]}),ie.length>0&&e.jsxs("div",{className:"topic-dialog-duplicate",role:"status",children:[e.jsxs("p",{children:["Papers with Code already has ",ie.length>1?"pages":`a ${ie[0].kind} page`," for “",Y,"”. Follow ",ie.length>1?"one":"it"," instead of adding a topic:"]}),e.jsx("div",{className:"topic-dialog-chips",children:ie.map(s=>{const d=String(s.entity_id),y=Ne(s.kind,d);return e.jsxs("span",{className:"topic-dialog-chip-wrap",children:[e.jsxs("button",{type:"button",className:"topic-dialog-chip","aria-pressed":y,disabled:Q,onClick:()=>De(s.kind,d,s.name),children:[y?e.jsx(Se,{"aria-hidden":"true"}):e.jsx(ce,{"aria-hidden":"true"}),s.name]}),e.jsx(Tt,{to:s.url,name:s.name})]},`${s.kind}:${d}`)})})]}),C&&e.jsxs("div",{className:"topic-dialog-editing",children:[C.is_creator&&e.jsxs("label",{className:"topic-dialog-privacy",children:[e.jsx(Us,{checked:Re,disabled:Q,"aria-label":"Public topic",onCheckedChange:s=>k(d=>({...d,[C.id]:s}))}),Re?"Public: anyone can find and follow it":"Private: only you see it"]}),e.jsx("button",{type:"button",className:"link-button",disabled:Q,onClick:()=>Ie(null),children:"Add a new topic instead"})]})]}),W.length>0&&e.jsxs("div",{className:"topic-dialog-group",children:[e.jsx("h3",{children:"Your topics"}),e.jsx(go,{className:"home-topics-list topic-dialog-topic-cards",grid:!0,items:be,itemKey:s=>s.id,itemLabel:s=>le(s),disabled:Q,onReorder:c,renderItem:(s,d)=>{const y=!U.includes(s.id),I=le(s),fe=()=>r(Z=>y?[...Z,s.id]:Z.filter(D=>D!==s.id));return e.jsx(rt,{as:"div",topic:s,showCreator:!0,className:`topic-dialog-own-topic ${s.id===$?"is-editing":""} ${y?"":"is-removed"}`,action:e.jsxs("div",{className:"topic-dialog-card-actions",children:[e.jsxs("button",{type:"button",className:`home-topic-follow ${y?"is-following":""}`,"aria-pressed":y,"aria-label":I,title:y?"Remove from your feed on Save":"Keep this topic",disabled:Q,onClick:fe,children:[y?e.jsx(Se,{"aria-hidden":"true"}):e.jsx(ce,{"aria-hidden":"true"}),y?"Following":"Follow"]}),e.jsx("button",{type:"button",className:"topic-dialog-chip-open",disabled:Q||s.id===$,"aria-label":`Reword ${I}`,title:"Reword this topic",onClick:()=>Ie(s.id),children:e.jsx(Qt,{"aria-hidden":"true"})}),e.jsx("button",{type:"button",className:"topic-dialog-chip-open topic-dialog-chip-remove",disabled:Q,"aria-label":y?`Remove ${I}`:`Keep ${I}`,title:y?"Remove from your feed on Save":"Keep this topic",onClick:fe,children:y?e.jsx(Ks,{"aria-hidden":"true"}):e.jsx(qs,{"aria-hidden":"true"})}),e.jsx("span",{className:"topic-dialog-card-handle",children:d})]})})}})]}),Ee.length>0&&e.jsxs("div",{className:"topic-dialog-group",children:[e.jsx("h3",{children:"Popular topics"}),e.jsx("ul",{className:"home-topics-list topic-dialog-topic-cards",children:Ee.map(s=>{const d=L.includes(s.id);return e.jsx(rt,{topic:s,showCreator:!0,action:e.jsxs("button",{type:"button",className:`home-topic-follow ${d?"is-following":""}`,"aria-pressed":d,"aria-label":`Follow ${le(s)}`,disabled:Q||!d&&we,onClick:()=>_(y=>d?y.filter(I=>I!==s.id):[...y,s.id]),children:[d?e.jsx(Se,{"aria-hidden":"true"}):e.jsx(ce,{"aria-hidden":"true"}),d?"Following":"Follow"]})},s.id)})})]})]}),e.jsxs(xt,{value:"catalog",className:"topic-dialog-panel",children:[he("Trending tasks","task",((b=R.data)==null?void 0:b.results)??[],{to:"/tasks",label:"Browse tasks"}),he("Trending methods","method",((X=M.data)==null?void 0:X.results)??[],{to:"/methods",label:"Browse methods"}),he("Popular benchmarks","benchmark",N((oe=E.data)==null?void 0:oe.benchmarks),{to:"/tasks",label:"Browse benchmarks"}),he("Popular authors","author",N((qe=E.data)==null?void 0:qe.authors)),he("Popular organizations","organization",N((Ue=E.data)==null?void 0:Ue.organizations),{to:"/organizations",label:"Browse organizations"})]})]}),pe&&e.jsxs("p",{className:"settings-token-error",role:"alert",children:[pe.message,"."]}),(H.error&&!Je(H.error)||T.error||se.error||ue.error||ne.error||V.error)&&e.jsx("p",{className:"settings-token-error",role:"alert",children:"Could not save your feed. Please try again."}),e.jsxs("div",{className:"topic-dialog-actions",children:[e.jsx("button",{type:"button",className:"research-follow-action",disabled:Q,onClick:u,children:"Cancel"}),e.jsx("button",{type:"submit",className:"research-topic-save",disabled:!Pe,children:te.some(s=>s.follow===!1)||ee.length||Fe||_e.length?"Save":te.length||z.length?"Follow":He?"Retry":C?"Update topic":"Follow"})]})]})}function Ct({count:t}){return t>0?e.jsx("span",{className:"topic-dialog-tab-count","aria-label":`${t} unsaved`,children:t}):null}function ko({children:t}){const o=l.useRef(null);return l.useLayoutEffect(()=>{const n=o.current;if(!n)return;const u=()=>{const a=[...n.children],j=a.filter(p=>p.dataset.suggested);j.forEach(p=>{p.hidden=!1});const F=()=>new Set(a.filter(p=>!p.hidden).map(p=>p.offsetTop)).size;for(let p=j.length-1;p>=0&&F()>2;p--)j[p].hidden=!0};return u(),window.addEventListener("resize",u),()=>window.removeEventListener("resize",u)}),e.jsx("div",{ref:o,className:"topic-dialog-chips",children:t})}function No({kind:t,name:o,src:n}){const[u,a]=l.useState(!1);if(n&&!u)return e.jsx("img",{className:`topic-dialog-chip-image is-${t}`,src:n,alt:"",loading:"lazy",onError:()=>a(!0)});if(t!=="author")return null;const j=o.split(/\s+/).filter(Boolean).map(F=>F[0]).slice(0,2).join("").toUpperCase();return e.jsx("span",{className:"topic-dialog-chip-image is-author is-initials","aria-hidden":"true",children:j})}const Ft=t=>t.trim().replace(/\s+/g," "),_t=12,Et=["organization","author","task","method","benchmark"],So={task:"Task",method:"Method",benchmark:"Benchmark",author:"Author",organization:"Organization"},To={topicIds:[],follows:[]},at=t=>`${t.kind}:${t.entity_id}`;function Co(t){return[...t].sort((o,n)=>Et.indexOf(o.kind)-Et.indexOf(n.kind)||n.created_at.localeCompare(o.created_at))}function Fo({follow:t}){if(t.kind==="task"){const o=t.url.split("/").pop()??"",n=ps(o,t.parent_slug??void 0);return e.jsx(n,{size:14,strokeWidth:2,"aria-hidden":"true",style:{color:Ws(Ys(o)).dot}})}if(t.kind==="author"||t.kind==="organization"){if(t.image_url)return e.jsx("img",{src:t.image_url,alt:"",width:18,height:18,loading:"lazy"});const o=t.kind==="author"?io:no;return e.jsx(o,{size:14,"aria-hidden":"true"})}return null}const Lt=(t,o)=>t.includes(o)?t.filter(n=>n!==o):[...t,o];function _o({topics:t,follows:o,active:n,hrefFor:u,onEdit:a,editLabel:j}){const[F,p]=l.useState(!1),g=[...t.map(w=>({key:`topic:${w.id}`,filter:{...n,topicIds:Lt(n.topicIds,w.id)},name:le(w),title:w.text,mark:null,on:n.topicIds.includes(w.id)})),...Co(o).map(w=>({key:at(w),filter:{...n,follows:Lt(n.follows,at(w))},name:w.name,title:`${So[w.kind]} · ${w.name}`,mark:e.jsx(Fo,{follow:w}),on:n.follows.includes(at(w))}))],S=n.topicIds.length===0&&n.follows.length===0,M=!F&&g.length>_t+1?g.filter((w,N)=>N<_t||w.on):g,E=g.length-M.length;return e.jsxs("nav",{className:"topic-bubbles follow-bubbles","aria-label":"Filter your feed",children:[g.length>0&&e.jsx(q,{className:`topic-bubble ${S?"active":""}`,to:u(To),"aria-current":S?"true":void 0,children:e.jsx("span",{className:"topic-bubble-name",children:"All"})}),M.map(w=>e.jsxs(q,{className:`topic-bubble ${w.on?"active":""}`,to:u(w.filter),title:w.title,"aria-current":w.on?"true":void 0,children:[w.mark,e.jsx("span",{className:"topic-bubble-name",children:w.name})]},w.key)),E>0&&e.jsx("button",{type:"button",className:"topic-bubble topic-bubble-more",onClick:()=>p(!0),children:e.jsxs("span",{className:"topic-bubble-name",children:["+",E," more"]})}),a&&e.jsxs("button",{type:"button",className:"topic-bubble topic-bubble-add",onClick:a,children:[e.jsx(Qt,{size:13,"aria-hidden":"true"}),e.jsx("span",{className:"topic-bubble-name",children:j})]})]})}const Pt=45,Eo=1800,Lo=25,Po=350,Do=t=>{const[o,n]=l.useState(xe[0].slice(0,1)),[u,a]=l.useState(0);return l.useEffect(()=>{var R,M;if(!t)return;if((M=(R=window.matchMedia)==null?void 0:R.call(window,"(prefers-reduced-motion: reduce)"))!=null&&M.matches){n(xe[0]),a(0);return}let j=0,F=1,p=!1,g;n(xe[0].slice(0,F)),a(0);const S=()=>{const E=xe[j];if(!p){if(F+=1,n(E.slice(0,F)),F===E.length){p=!0,g=window.setTimeout(S,Eo);return}g=window.setTimeout(S,Pt);return}if(F-=1,n(E.slice(0,F)),F===0){p=!1,j=(j+1)%xe.length,a(j),g=window.setTimeout(S,Po);return}g=window.setTimeout(S,Lo)};return g=window.setTimeout(S,Pt),()=>window.clearTimeout(g)},[t]),{placeholder:o,prompt:xe[u]}},Io=()=>{var m;const t=tt(),o=Mt(),[n,u]=l.useState({text:"",paperMentions:[]}),a=n.text,[j,F]=l.useState(0),[p,g]=l.useState(!1),[S,R]=l.useState(null),{placeholder:M,prompt:E}=Do(!a),w=l.useRef(null),N=J({queryKey:["chatAvailability"],queryFn:()=>to.getAvailability(),retry:!1,enabled:it()}),$=it()&&((m=N.data)==null?void 0:m.paper_mentions_enabled)!==!1,f=Ts({draft:n,onChange:u,enabled:$,textareaRef:w}),G=l.useRef(!1),[O,A]=l.useState(!1),v=Cs({draft:n,onChange:u,textareaRef:w,onEnd:c=>{G.current&&!c&&A(!0),G.current=!1}}),U=()=>{G.current=!0,v.finish()},r=Fs(n,f.open),L=a?r.completion:E;l.useLayoutEffect(()=>{const c=w.current;if(!c)return;const x=()=>{if(c.style.height="auto",a){c.style.height=`${Math.min(Rs(c),160)}px`;return}const k=c.placeholder,h=xe.reduce((P,B)=>(c.placeholder=B,Math.max(P,c.scrollHeight)),0);c.placeholder=k,c.style.height=`${Math.min(h,160)}px`};return x(),window.addEventListener("resize",x),()=>window.removeEventListener("resize",x)},[a,L]),l.useEffect(()=>{O&&(A(!1),_())},[O]);const _=async(c=n)=>{const x=c.text.trim();if(!(!x||p)){if(o){const k=new URLSearchParams({q:x,model:nt}),h=`${ls}?${k}`,P=window.open(h,"_blank");if(!P){R(h);return}P.opener=null,R(null),u({text:"",paperMentions:[]});return}g(!0),_s(c,nt);try{const k=await Es(nt);t(`/chat/${k.id}`)}catch{t("/chat")}}};return e.jsx(e.Fragment,{children:e.jsxs("div",{className:"ask-home",children:[e.jsxs("div",{className:"ask-home-row",children:[e.jsxs("div",{className:"ask-home-textarea-wrap",children:[e.jsx(Ls,{text:n.text,mentions:n.paperMentions,scrollTop:j,variant:"home",completion:a?L:""}),e.jsx("textarea",{ref:w,rows:1,value:a,placeholder:M,"aria-label":"Ask the assistant",disabled:p,readOnly:v.active,onChange:c=>{f.updateText(c.target.value,c.target.selectionStart),r.trackCaret(c.target)},onSelect:c=>{f.refresh(c.currentTarget.selectionStart),r.trackCaret(c.currentTarget)},onClick:c=>{f.refresh(c.currentTarget.selectionStart),r.trackCaret(c.currentTarget)},onScroll:c=>F(c.currentTarget.scrollTop),onBlur:c=>{var x,k;(k=(x=c.relatedTarget)==null?void 0:x.closest)!=null&&k.call(x,".chat-paper-picker")||window.setTimeout(f.close,0)},onKeyDown:c=>{if(v.active){c.key==="Enter"&&!c.shiftKey&&(c.preventDefault(),v.phase==="recording"&&U());return}if(!f.keyDown(c)){if(Ps(c)&&L){c.preventDefault();const x=a+L;f.updateText(x,x.length),window.requestAnimationFrame(()=>{var k;return(k=w.current)==null?void 0:k.setSelectionRange(x.length,x.length)});return}c.key==="Enter"&&!c.shiftKey&&(c.preventDefault(),_())}},role:$?"combobox":void 0,"aria-expanded":$?f.open:void 0,"aria-controls":f.open?f.pickerId:void 0,"aria-activedescendant":f.open&&f.results.length?`${f.optionIdPrefix}-${f.activeIndex}`:void 0,"aria-autocomplete":$?"list":void 0,"aria-describedby":f.message?"ask-home-paper-mention-message":void 0})]}),!o&&e.jsx(Ds,{dictation:v,disabled:p}),e.jsx("button",{type:"button",className:`chat-send${a.trim()||v.phase==="recording"?" chat-send-on":""}`,onClick:()=>v.active?U():void _(),disabled:p||(v.active?v.phase!=="recording":!a.trim()),"aria-label":"Ask the assistant",children:e.jsx(Is,{})})]}),S&&e.jsx("div",{className:"chat-paper-mention-message",role:"alert",children:e.jsx("a",{href:S,target:"_blank",rel:"noreferrer",children:"Open this question on paperswithcode.co"})}),v.error&&e.jsx("div",{className:"chat-paper-mention-message",role:"alert",children:v.error}),f.message&&e.jsx("div",{id:"ask-home-paper-mention-message",className:"chat-paper-mention-message",role:"alert",children:f.message}),e.jsx(As,{open:f.open,query:f.query,results:f.results,activeIndex:f.activeIndex,loading:f.loading,error:f.error,onSelect:f.select,id:f.pickerId,optionIdPrefix:f.optionIdPrefix})]})})},Ao=30,Ro=6,ct="pwc:following-last-seen",Zt="pwc:following-new-since",$o=60*60*1e3;function dt(t){try{return localStorage.getItem(t)}catch{return null}}function Dt(t,o){try{localStorage.setItem(t,o)}catch{}}const Jt=(t,o)=>o-Date.parse(t)>$o;function Mo(t=Date.now()){const o=dt(ct);return o?Jt(o,t)?o:dt(Zt):null}function Oo(t,o=Date.now()){const n=dt(ct);n&&!(t&&Jt(n,o))||(n&&Dt(Zt,n),Dt(ct,new Date(o).toISOString()))}const It=40,Uo=100,Bo=async t=>{const o=await t;return{results:o.results.map(n=>({paper:n})),next_page:o.next_page}},Ho=({mode:t})=>{var ve,Q,ke,Ne,te,Ke,Pe,De,Ie,Ae,he,Re,$e,Me,Oe;const o=t==="following",n=tt(),u=At(),a=u==null?void 0:u.user,[j,F]=is(),p=Qs(j,void 0,t==="trending"?"week":"month"),g=i=>{const b=new URLSearchParams(j);b.delete("order_by"),b.delete("only"),b.delete("topic"),b.delete("follow");const X=b.toString();n(X?`${i}?${X}`:i)},S={topicIds:[],follows:[]},R=i=>{const b=new URLSearchParams(j);b.delete("only"),b.delete("topic"),b.delete("follow"),i.topicIds.forEach(oe=>b.append("topic",String(oe))),i.follows.forEach(oe=>b.append("follow",oe));const X=b.toString();return X?`/following?${X}`:"/following"},M=J(Ze.topTasks(8)),E=J(Ze.trendingTasks({limit:8,min_recent_papers:10})),w=o&&j.get("only")==="topic",N=o?{topicIds:[...new Set(j.getAll("topic").map(Number).filter(Number.isInteger))],follows:[...new Set(j.getAll("follow").filter(i=>/^(task|method|benchmark|author|organization):\d+$/.test(i)))]}:S,$=N.topicIds.length>0||N.follows.length>0,f={start_date:p.startDate,end_date:p.endDate},G={...p,topicOnly:w,...N},O=Xs(o?We.following(a==null?void 0:a.hf_subject,G):We.trending(f),async i=>{if(o){const X=await ft.following(i,G),oe=X.length===It?i+It:null;return{results:X,next_page:oe}}const b={...f,page:i,page_size:Ao,include_resources:!0};return Bo(cs.list({...b,order_by:"trending",order_dir:"desc",latest_only:!0}))},{enabled:!o||!!a,initialPage:o?0:1}),A=qt(),v=Kt(!0,1e4),U=!!((ve=A.data)!=null&&ve.length)||!!((Q=v.data)!=null&&Q.length),r=le,L=((ke=v.data)==null?void 0:ke.filter(ys))??[],_=L.filter(i=>N.topicIds.length?N.topicIds.includes(i.id):!N.follows.length),m=N.topicIds.length===1&&!N.follows.length?(Ne=v.data)==null?void 0:Ne.find(i=>i.id===N.topicIds[0]):void 0,[c,x]=l.useState(()=>xo()),[k,h]=l.useState(()=>c?c.topicId:o&&j.get("edit")==="1"?null:void 0),P=$t(),B=L.map(i=>i.id).join(","),K=l.useRef([]);l.useEffect(()=>{const i=B?B.split(","):[];K.current.some(b=>!i.includes(b))&&P.invalidateQueries({queryKey:We.following(a==null?void 0:a.hf_subject)}),K.current=i},[B,P,a==null?void 0:a.hf_subject]);const de=o&&!!a&&((te=A.data)==null?void 0:te.length)===0&&v.isSuccess&&v.data.length===0,H=o&&!(u!=null&&u.isLoading)&&!a||de,T=!!a||!rs(),se=l.useMemo(()=>{var i;return new Set((i=v.data)==null?void 0:i.map(b=>b.id))},[v.data]),ue=l.useMemo(()=>{var i;return new Set((i=A.data)==null?void 0:i.map(b=>`${b.kind}:${b.entity_id}`))},[A.data]),ne=!o&&T&&!(u!=null&&u.isLoading)&&(!a||A.isSuccess&&v.isSuccess&&!U),[V]=l.useState(()=>Mo());l.useEffect(()=>{a&&(o||U)&&Oo(o)},[a,o,U]);const C=((Ke=J({...re.followingNewCount(a==null?void 0:a.hf_subject,V??""),enabled:!!a&&U&&!!V}).data)==null?void 0:Ke.count)??0,ae=o&&V?Date.parse(V):NaN,Ce={topicOnly:w,...N,addedAfter:V??void 0},me=J({queryKey:[...We.following(a==null?void 0:a.hf_subject),"new",Ce],queryFn:()=>ft.following(0,Ce,Uo),enabled:o&&!!a&&!!V,staleTime:5*60*1e3,placeholderData:ds}),[be,Fe]=l.useState(!1),[ee]=l.useState(()=>!!mt()||gt().length>0||ot().length>0),[_e,Ee]=l.useState(!1);!be&&((Pe=v.data)!=null&&Pe.length||(De=A.data)!=null&&De.length)&&Fe(!0),H&&!_e&&(Ee(!0),T&&!be&&!ee&&h(null));const z=Gt(),{mutate:ge}=z,je=l.useRef(!1);l.useEffect(()=>{const i=mt();!a||!v.isSuccess||!i||je.current||(je.current=!0,v.data.some(b=>b.text===i)?vs():ge({text:i}))},[a,v.isSuccess,v.data,ge]);const Y=Wt(),{mutate:Be}=Y,ie=l.useRef(!1);l.useEffect(()=>{const i=gt();!a||!i.length||ie.current||(ie.current=!0,Be(i))},[a,Be]);const pe=$&&v.isSuccess&&A.isSuccess?{topicIds:N.topicIds.filter(i=>v.data.some(b=>b.id===i)),follows:N.follows.filter(i=>A.data.some(b=>`${b.kind}:${b.entity_id}`===i))}:void 0,He=!!pe&&(pe.topicIds.length<N.topicIds.length||pe.follows.length<N.follows.length);l.useEffect(()=>{He&&pe&&n(R(pe),{replace:!0})});const Le=ks(),{mutate:we}=Le,ye=l.useRef(!1);l.useEffect(()=>{const i=ot();!a||!i.length||ye.current||(ye.current=!0,we(i))},[a,we]);const st=l.useMemo(()=>{var Ue;const i=s=>({...Ns(s.paper),followReasons:s.reasons,isNew:!!s.added_at&&Date.parse(s.added_at)>ae}),b=me.isPlaceholderData?void 0:me.data,X=O.data&&b?b.map(i).filter(s=>s.isNew):[],oe=new Set(X.map(s=>s.id)),qe=((Ue=O.data)==null?void 0:Ue.pages.flatMap(s=>s.results.map(i)))??[];return[...X,...qe.filter(s=>!oe.has(s.id))]},[O.data,me.data,me.isPlaceholderData,ae]),ze=O.error;return e.jsxs("div",{className:"page",children:[e.jsx("div",{className:"feed-header",children:e.jsxs("div",{children:[e.jsxs("h1",{className:"feed-title",children:["Trending ",e.jsx("em",{children:"Research"})]}),e.jsx("div",{className:"feed-subtitle",children:"Curated daily from arXiv and Hugging Face"})]})}),e.jsxs("div",{className:"layout-with-sidebar",children:[e.jsxs("aside",{className:"sidebar feed-sidebar",children:[e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"sidebar-section sidebar-section-top-domains",children:[e.jsx("div",{className:"sidebar-label",children:"Top Domains"}),M.isLoading&&e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:8},children:Array.from({length:6}).map((i,b)=>e.jsx(bt,{className:"h-5 w-full"},b))}),e.jsxs("div",{className:"sidebar-links",children:[(Ie=M.data)==null?void 0:Ie.map(i=>e.jsxs(q,{to:`/tasks/${i.slug}`,className:"sidebar-link",children:[Te(i.name,i.slug),i.paper_count!=null&&e.jsx("span",{className:"count",children:i.paper_count})]},i.id)),e.jsx(q,{to:"/tasks",className:"sidebar-link sidebar-link-more",children:"all domains →"})]})]}),e.jsxs("div",{className:"sidebar-section sidebar-section-trending-domains",children:[e.jsx("div",{className:"sidebar-label",children:"Trending Domains"}),E.isLoading&&e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:8},children:Array.from({length:6}).map((i,b)=>e.jsx(bt,{className:"h-5 w-full"},b))}),((he=(Ae=E.data)==null?void 0:Ae.results)==null?void 0:he.length)===0&&!E.isLoading&&e.jsx("div",{style:{fontSize:12,color:"var(--ink-faint)"},children:"No domains gaining momentum right now."}),e.jsx("div",{className:"sidebar-links",children:($e=(Re=E.data)==null?void 0:Re.results)==null?void 0:$e.map(i=>e.jsxs(q,{to:`/tasks/${i.slug}`,className:"sidebar-link",children:[Te(i.name,i.slug),e.jsxs("span",{className:"count",children:[i.share_lift.toFixed(1),"x"]})]},i.id))})]})]}),e.jsx(eo,{})]}),e.jsxs("div",{className:"feed-main",children:[(it()||Mt())&&e.jsx("div",{className:"feed-chat",children:e.jsx(Io,{})}),e.jsxs("div",{className:"feed-content",children:[!o&&T&&e.jsx(fo,{followedIds:!(u!=null&&u.isLoading)&&(!a||v.isSuccess)?se:null,followedKeys:!(u!=null&&u.isLoading)&&(!a||A.isSuccess)?ue:null,onBuild:()=>h(null)}),e.jsxs("div",{className:"sort-bar home-feed-sort-bar",children:[e.jsx("div",{className:"paper-feed-toolbar-controls",children:e.jsxs("div",{className:"sort-options",children:[e.jsx("button",{className:`sort-btn ${t==="trending"?"active":""}`,onClick:()=>g("/"),children:"trending"}),e.jsxs("button",{className:`sort-btn ${o?"active":""}`,onClick:()=>g("/following"),children:["following",C>0&&e.jsx("span",{className:"nav-new-badge feed-tab-new",title:"New papers since your last visit",children:"New"})]})]})}),e.jsx(Vs,{startDate:p.startDate,endDate:p.endDate,onChange:i=>F(Zs(j,i))})]}),o&&(!!a||!(u!=null&&u.isLoading))&&e.jsx(_o,{topics:v.data??[],follows:A.data??[],active:N,hrefFor:R,onEdit:T?()=>h(null):void 0,editLabel:(Me=v.data)!=null&&Me.length||(Oe=A.data)!=null&&Oe.length?"Edit feed":"Build feed"}),ze&&e.jsx(Ye,{variant:"destructive",className:"mb-4",children:e.jsxs(Qe,{children:["Failed to load papers. ",e.jsx("button",{type:"button",onClick:()=>void O.refetch(),children:"Try again"})]})}),z.isError&&z.variables&&e.jsx(Ye,{variant:"destructive",className:"mb-4",children:e.jsx(Qe,{children:Je(z.error)?e.jsxs(e.Fragment,{children:["Could not follow “",z.variables.text,"”: ",z.error.message,"."]}):e.jsxs(e.Fragment,{children:["Could not follow “",z.variables.text,"”. ",e.jsx("button",{type:"button",onClick:()=>ge(z.variables),children:"Try again"})]})})}),Y.isError&&Y.variables&&e.jsx(Ye,{variant:"destructive",className:"mb-4",children:e.jsxs(Qe,{children:["Could not follow ",Y.variables.map(i=>i.name).join(", "),". ",e.jsx("button",{type:"button",onClick:()=>Be(Y.variables),children:"Try again"})]})}),Le.isError&&e.jsx(Ye,{variant:"destructive",className:"mb-4",children:e.jsx(Qe,{children:Je(Le.error)?e.jsxs(e.Fragment,{children:["Could not follow the popular topics you picked: ",Le.error.message,"."]}):e.jsxs(e.Fragment,{children:["Could not follow the popular topics you picked. ",e.jsx("button",{type:"button",onClick:()=>we(ot()),children:"Try again"})]})})}),o&&_.length>0&&e.jsxs("div",{className:"following-topic-note",role:"status",children:["Showing the closest papers about ",_.map(i=>`“${r(i)}”`).join(" and ")," now. A model is reading papers to refine these matches, which takes a few minutes."]}),T&&e.jsx(yo,{open:k!==void 0,topicId:k??null,afterSavePath:o?void 0:"/following",restore:c,onOpenChange:i=>{if(!i&&(bo(),x(null),h(void 0),j.has("edit"))){const b=new URLSearchParams(j);b.delete("edit"),F(b,{replace:!0})}}}),w&&!$&&e.jsxs("div",{className:"following-topic-note following-topic-filter",role:"status",children:["Showing only papers about your topics. ",e.jsx(q,{to:R(S),children:"Show everything you follow"})]}),H?e.jsx(ro,{onBuild:T?()=>h(null):void 0}):e.jsx(Js,{query:O,isLoading:O.isLoading||me.isLoading||o&&!!(u!=null&&u.isLoading),cards:st,skeleton:"card",rootMargin:"400px",cardHeader:ne?i=>i===Ro&&e.jsx(po,{onBuild:()=>h(null)}):void 0,empty:ze?null:m?e.jsxs(e.Fragment,{children:["No papers about this topic match these filters. Widen the date range or ",e.jsx("button",{type:"button",className:"link-button",onClick:()=>h(m.id),children:"edit the topic"}),"."]}):$?e.jsx(e.Fragment,{children:"No papers match the selected bubbles in this window. Widen the date range or pick more bubbles."}):w?e.jsx(e.Fragment,{children:"No papers about your topics match these filters. Widen the date range or follow more topics."}):o?e.jsxs(e.Fragment,{children:["No papers from your topics or follows match these filters. Widen the date range, or follow more from ",e.jsx(q,{to:"/tasks",children:"tasks"}),", ",e.jsx(q,{to:"/methods",children:"methods"}),", benchmark, author, or organization pages."]}):"No papers in this window."})]})]})]})]})},Rn=()=>(so(oo),e.jsx(Ho,{mode:"trending"}));export{Io as AskAssistant,Ho as HomeFeed,Rn as default};
assets/FeedView-DfsJpV9h.js DELETED
@@ -1,16 +0,0 @@
1
- import{d as pt,j as e,L as q,b as J,i as l,X as es,r as re,n as ts,e as Rt,o as tt,q as Ve,s as ss,C as Se,l as $t,a as os,t as ns,v as Mt,w as ft,x as Ze,f as as,y as We,k as is,z as it,B as Ot,D as rs,g as mt,E as ls,F as cs}from"./index-BhKQv9LT.js";import{S as Ut,U as ds,t as us}from"./taskIcons-DB857qAq.js";import{c as Bt,F as rt,t as le,a as ps,d as hs,e as Ht,f as zt,g as Kt,h as qt,b as fs,i as Gt,u as ms,j as gs,k as ws,l as Je,m as xs,n as bs,o as js,p as gt,q as wt,v as ot,w as ys,x as vs}from"./researchTopic-BP-u0rIC.js";import{P as ce}from"./plus-Da5UgLnk.js";import{d as Te,t as ks}from"./transform-BzmXOpxt.js";import{A as Wt}from"./arrow-right-HTfAIQQF.js";import{C as Ns,P as Yt,u as Ss,a as Ts,b as Cs,D as nt,q as Fs,c as _s,d as Es,i as Ls,e as Ps,A as Ds,f as Is,S as xe,g as As}from"./index-DYXsmgYV.js";import{D as Rs,a as $s,b as Ms}from"./dialog-C_jKzXRg.js";import{S as Os}from"./switch-BiWy_MQW.js";import{T as Us,a as Bs,b as xt,c as bt}from"./tabs-COt81pAK.js";import{u as Hs}from"./useDebounce-Bt-Usy3P.js";import{T as zs}from"./trash-2-Dai-yVNI.js";import{U as Ks}from"./undo-2-OoZl-ncG.js";import{A as qs}from"./arrow-up-right-C2M2QrCR.js";import{c as Gs,h as Ws}from"./colors-BkWRhvFI.js";import{b as Ys,u as Qs,a as Xs,c as Vs,P as Zs}from"./usePapers-Cuyi1itG.js";import{M as Js}from"./McpShowcase-vY65GwKh.js";import{c as eo}from"./chat-CBpXQ7Wl.js";import{S as jt}from"./skeleton-BkbzA0oF.js";import{A as Ye,a as Qe}from"./alert-zC2kYXtI.js";import{u as to}from"./useDocumentTitle-DGWKz2sg.js";import{H as so}from"./pageTitles-Cv5SviVf.js";import"./search-BLHGfANa.js";import"./triangle-alert-tVOCXgsf.js";import"./share-2-DG9Pr506.js";import"./trending-up-PRKQib2t.js";import"./moon-Did5K_6X.js";import"./thumbs-up-DZW-ss8t.js";import"./database-BI44wXxm.js";import"./link-2-BFDx3Ny_.js";import"./trophy-Cjn1hvpp.js";import"./file-text-CH7tJG0i.js";import"./activity-Bl3XH8Oh.js";import"./globe-XOaeDqkA.js";import"./useMutation-DPQn8VkK.js";import"./index-B2-KLIIm.js";import"./PaperCard-CSOLEzIX.js";import"./AuthorAvatar-DfcP8J6o.js";import"./SotaBadges-CcS46IjG.js";import"./Icon-Cdqu8Hq_.js";import"./LatexTitle-GmCrtZ_I.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DoQl9nzw.js";import"./useIntersectionObserver-M_MEUmwh.js";import"./useInfiniteQuery-Ba0y0o7Y.js";import"./AgentLogos-Da2yWlH1.js";/**
2
- * @license lucide-react v0.462.0 - ISC
3
- *
4
- * This source code is licensed under the ISC license.
5
- * See the LICENSE file in the root directory of this source tree.
6
- */const oo=pt("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
7
- * @license lucide-react v0.462.0 - ISC
8
- *
9
- * This source code is licensed under the ISC license.
10
- * See the LICENSE file in the root directory of this source tree.
11
- */const no=pt("GripVertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);/**
12
- * @license lucide-react v0.462.0 - ISC
13
- *
14
- * This source code is licensed under the ISC license.
15
- * See the LICENSE file in the root directory of this source tree.
16
- */const ao=pt("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);function io({onBuild:t}){return e.jsxs("section",{className:"following-intro","aria-labelledby":"following-intro-title",children:[e.jsx("h2",{id:"following-intro-title",children:"Build your personal research feed"}),e.jsx("p",{className:"following-intro-lead",children:"Describe topics in your own words, or follow the tasks, benchmarks, authors, and organizations you care about, and this page collects their latest papers and results in one place."}),t&&e.jsxs("button",{type:"button",className:"research-topic-save following-intro-topic",onClick:t,children:[e.jsx(Ut,{"aria-hidden":"true"}),"Build your feed"]}),e.jsxs("p",{className:"following-intro-note",children:["Matching papers also arrive as a weekly email, which you can turn off in"," ",e.jsx(q,{to:"/settings",children:"Settings"}),"."]})]})}const Qt="pwc:home-follow-card:dismissed",ro=5;function lo(){try{return localStorage.getItem(Qt)==="1"}catch{return!1}}function co({onBuild:t}){const o=J(re.featuredTopics()),{follow:n,finishing:u,failed:a}=Bt(),[j,C]=l.useState(lo);if(j)return null;const p=()=>{try{localStorage.setItem(Qt,"1")}catch{}C(!0)},g=(o.data??[]).slice(rt,rt+ro);return e.jsxs("section",{className:"home-follow-card","aria-labelledby":"home-follow-card-title",children:[e.jsx("button",{type:"button",className:"home-follow-card-close","aria-label":"Dismiss",onClick:p,children:e.jsx(es,{"aria-hidden":"true"})}),e.jsx("h2",{id:"home-follow-card-title",children:"Get a feed for your research"}),e.jsx("p",{children:"Follow topics, tasks, authors and labs, and their new papers collect on your following page and in a weekly email."}),g.length>0&&e.jsx("div",{className:"topic-dialog-chips home-follow-card-topics",children:g.map(F=>e.jsxs("button",{type:"button",className:"topic-dialog-chip","aria-pressed":"false",disabled:u,onClick:()=>n(F.id),children:[e.jsx(ce,{"aria-hidden":"true"}),le(F)]},F.id))}),a&&e.jsx("p",{className:"home-follow-card-error",role:"alert",children:"Could not follow that topic. Please try again."}),e.jsxs("button",{type:"button",className:"research-topic-save",onClick:t,children:[e.jsx(Ut,{"aria-hidden":"true"}),"Build your feed"]})]})}function lt({topic:t,action:o,newTab:n=!1,showCreator:u=!1,kindLabel:a,as:j="li",className:C}){var p;return e.jsx(Xt,{title:le(t),href:ps(t),kindLabel:a,creator:u?(p=t.creator)==null?void 0:p.username:void 0,followers:t.followers,avatars:t.follower_avatars??[],weekPapers:t.week_papers,paper:t.top_paper,action:o,newTab:n,as:j,className:C})}function Xt({title:t,href:o,kindLabel:n,creator:u,followers:a,avatars:j,weekPapers:C,paper:p,action:g,newTab:F=!1,as:R="li",className:M}){return e.jsxs(R,{className:["home-topic-card",M].filter(Boolean).join(" "),children:[n&&e.jsx("span",{className:"home-topic-kind",children:n}),e.jsx(yt,{to:o,newTab:F,className:"home-topic-title",children:t}),u&&e.jsxs("div",{className:"home-topic-creator",children:["by @",u]}),a!=null&&e.jsxs("div",{className:"home-topic-followers",children:[j.length>0&&e.jsx("span",{className:"home-topic-avatars","aria-hidden":"true",children:j.map(E=>e.jsx(uo,{person:E},E.username))}),a," ",a===1?"follower":"followers"]}),!!C&&e.jsxs("div",{className:"home-topic-meta",children:[C," new ",C===1?"paper":"papers"," this week"]}),p&&e.jsx(yt,{to:`/paper/${p.arxiv_id||p.id}`,newTab:F,className:"home-topic-paper",title:p.title,children:p.title}),g]})}function yt({to:t,newTab:o,className:n,title:u,children:a}){return o?e.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:n,title:u,children:a}):e.jsx(q,{to:t,className:n,title:u,children:a})}function uo({person:t}){const[o,n]=l.useState(!1);return o?e.jsx("span",{className:"topic-avatar home-topic-avatar-initial",children:t.username.charAt(0).toUpperCase()}):e.jsx("img",{className:"topic-avatar",src:ts(t.avatar_url)??void 0,alt:"",width:20,height:20,loading:"lazy",onError:()=>n(!0)})}const vt={topic:"Topic",task:"Task",method:"Method"},kt={task:0,method:1,topic:2},Xe=t=>`${t.kind}:${t.entity_id}`;function po({followedIds:t,followedKeys:o,onBuild:n}){var U;const u=(U=Rt())==null?void 0:U.user,a=tt(),j=J(re.featuredTopics()),C=J(re.popularFollows()),{follow:p,finishing:g,failed:F}=Bt(),R=hs({awaitRefresh:!0}),M=(j.data??[]).slice(0,rt),E=[...(C.data??[]).map(r=>({kind:r.kind,follow:r,followers:r.followers})),...M.map(r=>({kind:"topic",topic:r,followers:r.followers}))].sort((r,L)=>L.followers-r.followers||kt[r.kind]-kt[L.kind]),w=r=>{const L=r.kind==="task"?Te(r.name):r.name;if(!u){Ht([{kind:r.kind,id:String(r.entity_id),name:L}]),window.location.href=$t("/following");return}R.mutateAsync({kind:r.kind,entityId:r.entity_id,follow:!0}).then(()=>a(`/following?follow=${Xe(r)}`),()=>{})},N=((t==null?void 0:t.size)??0)>=Ve,$=l.useRef(null),[f,G]=l.useState({start:!0,end:!0});l.useEffect(()=>{const r=$.current;if(!r)return;const L=()=>G({start:r.scrollLeft<=1,end:r.scrollLeft+r.clientWidth>=r.scrollWidth-1});return L(),r.addEventListener("scroll",L,{passive:!0}),window.addEventListener("resize",L),()=>{r.removeEventListener("scroll",L),window.removeEventListener("resize",L)}},[E.length]);const O=r=>{const L=$.current;if(!L)return;const _=parseFloat(getComputedStyle(L).columnGap)||0;L.scrollBy({left:r*(L.clientWidth+_),behavior:"smooth"})};if(E.length===0)return null;function A(r){return t?t.has(r.id)?e.jsxs(q,{to:`/following?topic=${r.id}`,className:"home-topic-follow is-following",children:[e.jsx(Se,{"aria-hidden":"true"}),"Following"]}):e.jsxs("button",{type:"button",className:"home-topic-follow",disabled:g||R.isPending||N,title:N?`You follow ${Ve} topics, the most allowed. Remove one to add another.`:void 0,onClick:()=>p(r.id),"aria-label":`Follow ${le(r)}`,children:[e.jsx(ce,{"aria-hidden":"true"}),"Follow"]}):e.jsxs("span",{className:"home-topic-follow is-pending","aria-hidden":"true",children:[e.jsx(ce,{}),"Follow"]})}function v(r){return o?o.has(Xe(r))?e.jsxs(q,{to:`/following?follow=${Xe(r)}`,className:"home-topic-follow is-following",children:[e.jsx(Se,{"aria-hidden":"true"}),"Following"]}):e.jsxs("button",{type:"button",className:"home-topic-follow",disabled:g||R.isPending,onClick:()=>w(r),"aria-label":`Follow ${r.kind==="task"?Te(r.name):r.name}`,children:[e.jsx(ce,{"aria-hidden":"true"}),"Follow"]}):e.jsxs("span",{className:"home-topic-follow is-pending","aria-hidden":"true",children:[e.jsx(ce,{}),"Follow"]})}return e.jsxs("section",{className:"home-topics","aria-labelledby":"home-topics-title",children:[e.jsxs("div",{className:"home-topics-header",children:[e.jsxs("h2",{id:"home-topics-title",children:[e.jsx(ds,{"aria-hidden":"true"}),"Most followed"]}),e.jsxs("div",{className:"home-topics-actions",children:[e.jsxs("button",{type:"button",className:"home-topics-own",onClick:n,children:["Create your own topic",e.jsx(Wt,{"aria-hidden":"true"})]}),!(f.start&&f.end)&&e.jsxs(e.Fragment,{children:[e.jsx("button",{type:"button",className:"home-topics-page","aria-label":"Previous cards",disabled:f.start,onClick:()=>O(-1),children:e.jsx(Ns,{"aria-hidden":"true"})}),e.jsx("button",{type:"button",className:"home-topics-page","aria-label":"More cards",disabled:f.end,onClick:()=>O(1),children:e.jsx(ss,{"aria-hidden":"true"})})]})]})]}),e.jsx("ul",{ref:$,className:"home-topics-list is-scroller",children:E.map(r=>r.kind==="topic"?e.jsx(lt,{topic:r.topic,kindLabel:vt.topic,action:A(r.topic)},`topic:${r.topic.id}`):e.jsx(Xt,{title:r.kind==="task"?Te(r.follow.name):r.follow.name,href:r.follow.url,kindLabel:vt[r.kind],followers:r.follow.followers,avatars:r.follow.follower_avatars,weekPapers:r.follow.week_papers,paper:r.follow.top_paper,action:v(r.follow)},Xe(r.follow)))}),(F||R.isError)&&e.jsx("p",{className:"home-topics-error",role:"alert",children:"Could not follow that. Please try again."})]})}const ct=180,Nt=`transform ${ct}ms cubic-bezier(0.2, 0, 0, 1), box-shadow ${ct}ms ease`,St=()=>{var t;return((t=window.matchMedia)==null?void 0:t.call(window,"(prefers-reduced-motion: reduce)").matches)??!1};function ho(t){const o=getComputedStyle(t).transform.match(/matrix(3d)?\(([^)]+)\)/);if(!o)return{x:0,y:0};const n=o[2].split(",").map(Number);return o[1]?{x:n[12]||0,y:n[13]||0}:{x:n[4]||0,y:n[5]||0}}function fo({items:t,itemKey:o,itemLabel:n,onReorder:u,renderItem:a,className:j,disabled:C=!1,grid:p=!1}){const[g,F]=l.useState(null),[R,M]=l.useState(null),[E,w]=l.useState(null),N=l.useRef(new Map),$=l.useRef(new Map),f=l.useRef({x:0,y:0,grabX:0,grabY:0}),G=(g==null?void 0:g.order)??((E==null?void 0:E.from)===t?E.order:t),O=(_,m)=>_.length===m.length&&_.every((c,x)=>o(c)===o(m[x])),A=(_,m)=>p?`translate(${_}px, ${m}px)`:`translateY(${m}px)`,v=_=>{_.style.transition="none";const{x:m,y:c,grabX:x,grabY:k}=f.current;_.style.transform=A(m-x-_.offsetLeft,c-k-_.offsetTop)};l.useLayoutEffect(()=>{const _=!St();N.current.forEach((m,c)=>{const x={x:m.offsetLeft,y:m.offsetTop},k=$.current.get(c);if($.current.set(c,x),c===(g==null?void 0:g.key))return v(m);if(!_||k===void 0||k.x===x.x&&k.y===x.y)return;const h=ho(m);m.style.transition="none",m.style.transform=A(k.x+h.x-x.x,k.y+h.y-x.y),m.offsetHeight,m.style.transition=Nt,m.style.transform=""})});const U=l.useRef({items:t,onReorder:u,drag:g});U.current={items:t,onReorder:u,drag:g};const r=g!==null;l.useEffect(()=>{if(!r)return;const _=k=>{var H;f.current.x=k.clientX,f.current.y=k.clientY;const h=(H=U.current.drag)==null?void 0:H.key,P=h===void 0?void 0:N.current.get(h);P&&v(P);const B=f.current.y-f.current.grabY+((P==null?void 0:P.offsetHeight)??0)/2,K=f.current.x-f.current.grabX+((P==null?void 0:P.offsetWidth)??0)/2,de=(S,se)=>p?S.offsetTop+S.offsetHeight<B?!0:S.offsetTop>B?!1:S.offsetLeft<=K&&K<=S.offsetLeft+S.offsetWidth?se:S.offsetLeft+S.offsetWidth/2<K:S.offsetTop+S.offsetHeight/2<B;F(S=>{if(!S)return S;const se=S.order.findIndex(T=>o(T)===S.key),ue=S.order[se],ne=S.order.filter(T=>o(T)!==S.key),V=ne.filter(T=>{const ae=N.current.get(o(T));return ae?de(ae,S.order.indexOf(T)>se):!1}).length,W=[...ne.slice(0,V),ue,...ne.slice(V)];return O(W,S.order)?S:{...S,order:W}})},m=k=>{const{drag:h,items:P,onReorder:B}=U.current,K=h?N.current.get(h.key):void 0;if(K&&h){const de=!St();K.style.transition=de?Nt:"none",K.style.transform="",de&&(M(h.key),window.setTimeout(()=>M(H=>H===h.key?null:H),ct))}k&&h&&!O(h.order,P)&&(w({from:P,order:h.order}),B(h.order)),F(null)},c=()=>m(!0),x=()=>m(!1);return window.addEventListener("pointermove",_),window.addEventListener("pointerup",c),window.addEventListener("pointercancel",x),()=>{window.removeEventListener("pointermove",_),window.removeEventListener("pointerup",c),window.removeEventListener("pointercancel",x)}},[r]);const L=(_,m)=>{const c=t.findIndex(h=>o(h)===_),x=c+m;if(x<0||x>=t.length)return;const k=[...t];k.splice(x,0,...k.splice(c,1)),w({from:t,order:k}),u(k)};return e.jsx("ul",{className:["sortable-list",j].filter(Boolean).join(" "),children:G.map(_=>{const m=o(_),c=(g==null?void 0:g.key)===m,x=c||R===m,k=e.jsx("button",{type:"button",className:"sortable-handle",disabled:C||t.length<2,"aria-label":`Reorder ${n(_)}. Use the ${p?"arrow":"up and down arrow"} keys to move it.`,onPointerDown:h=>{if(h.button!==0)return;h.preventDefault();const P=N.current.get(m);f.current={x:h.clientX,y:h.clientY,grabX:h.clientX-((P==null?void 0:P.offsetLeft)??0),grabY:h.clientY-((P==null?void 0:P.offsetTop)??0)},F({key:m,order:t})},onKeyDown:h=>{const B=(p?{ArrowUp:-1,ArrowDown:1,ArrowLeft:-1,ArrowRight:1}:{ArrowUp:-1,ArrowDown:1})[h.key];B&&(h.preventDefault(),L(m,B))},children:e.jsx(no,{"aria-hidden":"true"})});return e.jsx("li",{className:x?"sortable-item is-dragging":"sortable-item",ref:h=>{h?N.current.set(m,h):N.current.delete(m)},children:a(_,k,c)},m)})})}const et="pwcTopicDialog";function mo(t){window.history.replaceState({...window.history.state,[et]:t},"")}function go(){var t;return((t=window.history.state)==null?void 0:t[et])??null}function wo(){var o;if(!((o=window.history.state)!=null&&o[et]))return;const t={...window.history.state};delete t[et],window.history.replaceState(t,"")}const Tt=16,xo=6;function bo({open:t,topicId:o=null,afterSavePath:n,restore:u,onOpenChange:a}){return e.jsx(Rs,{open:t,onOpenChange:a,children:e.jsx($s,{className:"topic-dialog","aria-describedby":void 0,children:e.jsx(jo,{topicId:o,afterSavePath:n,restore:u,onDone:()=>a(!1)},o??"new")})})}function Ct({to:t,name:o}){return e.jsx(q,{className:"topic-dialog-chip-open",to:t,"aria-label":`Open the ${o} page`,title:"Open its page",children:e.jsx(qs,{"aria-hidden":"true"})})}function jo({topicId:t,afterSavePath:o,restore:n,onDone:u}){var $e,Me,Oe,i,b,X,oe,qe,Ue;const{user:a}=os(),j=ns(),C=tt(),p=Mt(),g=zt(),F=Kt(),R=J(Ze.trendingTasks({limit:Tt,level:0})),M=J(Ze.trendingMethods({limit:Tt})),E=J(re.followSuggestions()),w=J(re.featuredTopics()),N=(s=[])=>s.map(d=>({id:String(d.entity_id),name:d.name,image:d.image_url,url:d.url})),[$,f]=l.useState(n?n.editId:t),[G,O]=l.useState((n==null?void 0:n.draft)??null),[A,v]=l.useState((n==null?void 0:n.selection)??[]),[U,r]=l.useState((n==null?void 0:n.removals)??[]),[L,_]=l.useState((n==null?void 0:n.topicFollows)??[]),[m,c]=l.useState((n==null?void 0:n.order)??null),[x,k]=l.useState((n==null?void 0:n.privacy)??{}),[h,P]=l.useState((n==null?void 0:n.tab)??"topics"),B=l.useRef(null),K=l.useRef((n==null?void 0:n.scrollTop)??0);l.useLayoutEffect(()=>{var d;const s=(d=B.current)==null?void 0:d.closest(".topic-dialog");!K.current||!s||s.scrollHeight-s.clientHeight<K.current||(s.scrollTop=K.current,K.current=0)});const de=s=>{var y,I;const d=s.target.closest("a");!d||d.target==="_blank"||s.button!==0||s.metaKey||s.ctrlKey||s.shiftKey||s.altKey||new URL(d.href,window.location.href).origin!==window.location.origin||mo({topicId:t,editId:$,draft:G,selection:A,removals:U,topicFollows:L,order:m,privacy:x,tab:h,scrollTop:((I=(y=B.current)==null?void 0:y.closest(".topic-dialog"))==null?void 0:I.scrollTop)??0})},H=qt(),S=fs(),se=Gt(),ue=ms(),ne=gs(),V=ws(),W=g.data??[],T=W.find(s=>s.id===$),ae=Hs(_t(G??(T==null?void 0:T.text)??"").toLowerCase()),Ce=J({...re.topicMatches(ae),enabled:ae.length>=3}),me=(m==null?void 0:m.length)===W.length&&m.every(s=>W.some(d=>d.id===s.id)),be=m&&me?m:W,Fe=be.some((s,d)=>{var y;return s.id!==((y=W[d])==null?void 0:y.id)}),ee=U.filter(s=>W.some(d=>d.id===s)),_e=Object.entries(x).map(([s,d])=>({id:Number(s),isPublic:d})).filter(({id:s,isPublic:d})=>!ee.includes(s)&&W.some(y=>y.id===s&&y.is_creator&&y.is_public!==d)),Ee=(w.data??[]).filter(s=>!W.some(d=>d.id===s.id)).slice(0,xo),z=L.filter(s=>Ee.some(d=>d.id===s)),ge=(T==null?void 0:T.text)??"",je=G??ge,Y=_t(je),ie=ae===Y.toLowerCase()&&!Ce.isFetching?Ce.data??[]:[],pe=Je(H.error)&&(($e=H.variables)==null?void 0:$e.text)===Y?H.error:null,He=(T==null?void 0:T.status)==="failed"&&Y===ge,we=W.length-ee.length+z.length>=Ve,ye=Y.length>=3&&(Y!==ge||He)&&!ie.length&&(T?!ee.includes(T.id):!we),[st,ze]=l.useState(!1),ve=l.useRef(!0);l.useEffect(()=>(ve.current=!0,()=>{ve.current=!1}),[]);const Q=H.isPending||S.isPending||se.isPending||ue.isPending||ne.isPending||V.isPending||st,ke=(s,d)=>{var y;return((y=F.data)==null?void 0:y.some(I=>I.kind===s&&String(I.entity_id)===d))??!1},Ne=(s,d)=>{var y;return((y=A.find(I=>I.kind===s&&I.id===d))==null?void 0:y.follow)??ke(s,d)},te=A.filter(s=>s.follow!==ke(s.kind,s.id)),Ke=ee.length+z.length+_e.length+(Fe?1:0),Pe=!Q&&(ye||te.length>0||Ke>0),De=(s,d,y)=>v(I=>[...I.filter(fe=>fe.kind!==s||fe.id!==d),{kind:s,id:d,name:y,follow:!Ne(s,d)}]),Ie=s=>{f(s),O(null)},Ae=()=>{if(!Pe)return;if(!a){ye&&xs(Y),te.length&&Ht(te),z.length&&bs(z),window.location.href=$t(o??`${j.pathname}${j.search}`);return}const s=ee.length?S.mutateAsync(ee):Promise.resolve(),d=be.filter(Z=>!ee.includes(Z.id)),y=s.catch(()=>{}).then(()=>Fe?ne.mutateAsync(d):void 0),I=y.catch(()=>{}),fe=[...te.length?[se.mutateAsync(te)]:[],s,y,..._e.map(Z=>V.mutateAsync(Z)),...ye?[I.then(()=>H.mutateAsync({id:T==null?void 0:T.id,text:Y}))]:[],...z.map(Z=>I.then(()=>ue.mutateAsync(Z)))];Promise.allSettled(fe).then(async Z=>{if(Z.every(D=>D.status==="fulfilled")){if(o){if(ze(!0),await Promise.all([p.refetchQueries({queryKey:re.follows(a.hf_subject).queryKey}),p.refetchQueries({queryKey:re.topics(a.hf_subject).queryKey})]),!ve.current)return;u(),C(o);return}u()}})},he=(s,d,y,I)=>{const Z=[...(F.data??[]).filter(D=>D.kind===d).map(D=>({id:String(D.entity_id),name:D.name,slug:D.url.split("/").pop(),image:D.image_url,url:D.url})),...y.filter(D=>!ke(d,D.id)).map(D=>({...D,suggested:!0}))];return Z.length>0&&e.jsxs("div",{className:"topic-dialog-group",children:[e.jsx("h3",{children:s}),e.jsxs(yo,{children:[Z.map(D=>{const ht=Ne(d,D.id),Ge=d==="task"?Te(D.name,D.slug??void 0):D.name,Jt=D.url??`/${d==="task"?"tasks":"methods"}/${D.slug??D.id}`;return e.jsxs("span",{className:"topic-dialog-chip-wrap","data-suggested":"suggested"in D||void 0,children:[e.jsxs("button",{type:"button",className:"topic-dialog-chip","aria-pressed":ht,disabled:Q,onClick:()=>De(d,D.id,Ge),children:[ht?e.jsx(Se,{"aria-hidden":"true"}):e.jsx(ce,{"aria-hidden":"true"}),(d==="author"||d==="organization")&&e.jsx(vo,{kind:d,name:Ge,src:D.image}),Ge]}),e.jsx(Ct,{to:Jt,name:Ge})]},D.id)}),I&&e.jsxs(q,{to:I.to,className:"topic-dialog-browse",children:[I.label,e.jsx(Wt,{"aria-hidden":"true"})]})]})]})},Re=T?x[T.id]??T.is_public:!0;return e.jsxs("form",{ref:B,className:"topic-dialog-form",onClickCapture:de,onSubmit:s=>{s.preventDefault(),Ae()},children:[e.jsx(Ms,{className:"topic-dialog-title",children:(Me=g.data)!=null&&Me.length||(Oe=F.data)!=null&&Oe.length?"Edit your research feed":"Build your research feed"}),e.jsxs(Us,{value:h,onValueChange:P,className:"topic-dialog-tabs",children:[e.jsxs(Bs,{className:"topic-dialog-tab-list",children:[e.jsxs(xt,{value:"topics",className:"topic-dialog-tab",children:["Topics",e.jsx(Ft,{count:z.length+ee.length})]}),e.jsxs(xt,{value:"catalog",className:"topic-dialog-tab",children:["Tasks, methods & more",e.jsx(Ft,{count:te.length})]})]}),e.jsxs(bt,{value:"topics",className:"topic-dialog-panel",children:[e.jsxs("div",{className:"topic-dialog-group",children:[e.jsx("h3",{children:e.jsx("label",{htmlFor:"topic-dialog-input",children:T?`Reword “${le(T)}”`:(i=g.data)!=null&&i.length?"Add a topic in your own words":"Describe a topic in your own words"})}),e.jsx("p",{className:"topic-dialog-hint",children:!T&&we?`You follow ${Ve} topics, the most allowed. Remove one below to add another.`:e.jsxs(e.Fragment,{children:["A model reads every new paper and adds the ones that match to your ",e.jsx(q,{to:"/following",className:"topic-dialog-feed-link",onClick:u,children:"Following feed"}),". New topics are public and show your Hugging Face username; make one private from its ✎ button below, or remove one with its trash button."]})}),e.jsx("textarea",{id:"topic-dialog-input",className:"research-topic-input",rows:4,maxLength:ft,"aria-label":"Research topic",placeholder:"e.g. diffusion policies for robot manipulation, or speculative decoding for LLM inference",value:je,onChange:s=>O(s.target.value),onKeyDown:s=>{s.key==="Enter"&&!s.shiftKey&&!s.nativeEvent.isComposing&&(s.preventDefault(),Ae())}}),e.jsxs("span",{className:"research-topic-count",children:[je.length,"/",ft]}),ie.length>0&&e.jsxs("div",{className:"topic-dialog-duplicate",role:"status",children:[e.jsxs("p",{children:["Papers with Code already has ",ie.length>1?"pages":`a ${ie[0].kind} page`," for “",Y,"”. Follow ",ie.length>1?"one":"it"," instead of adding a topic:"]}),e.jsx("div",{className:"topic-dialog-chips",children:ie.map(s=>{const d=String(s.entity_id),y=Ne(s.kind,d);return e.jsxs("span",{className:"topic-dialog-chip-wrap",children:[e.jsxs("button",{type:"button",className:"topic-dialog-chip","aria-pressed":y,disabled:Q,onClick:()=>De(s.kind,d,s.name),children:[y?e.jsx(Se,{"aria-hidden":"true"}):e.jsx(ce,{"aria-hidden":"true"}),s.name]}),e.jsx(Ct,{to:s.url,name:s.name})]},`${s.kind}:${d}`)})})]}),T&&e.jsxs("div",{className:"topic-dialog-editing",children:[T.is_creator&&e.jsxs("label",{className:"topic-dialog-privacy",children:[e.jsx(Os,{checked:Re,disabled:Q,"aria-label":"Public topic",onCheckedChange:s=>k(d=>({...d,[T.id]:s}))}),Re?"Public: anyone can find and follow it":"Private: only you see it"]}),e.jsx("button",{type:"button",className:"link-button",disabled:Q,onClick:()=>Ie(null),children:"Add a new topic instead"})]})]}),W.length>0&&e.jsxs("div",{className:"topic-dialog-group",children:[e.jsx("h3",{children:"Your topics"}),e.jsx(fo,{className:"home-topics-list topic-dialog-topic-cards",grid:!0,items:be,itemKey:s=>s.id,itemLabel:s=>le(s),disabled:Q,onReorder:c,renderItem:(s,d)=>{const y=!U.includes(s.id),I=le(s),fe=()=>r(Z=>y?[...Z,s.id]:Z.filter(D=>D!==s.id));return e.jsx(lt,{as:"div",topic:s,showCreator:!0,className:`topic-dialog-own-topic ${s.id===$?"is-editing":""} ${y?"":"is-removed"}`,action:e.jsxs("div",{className:"topic-dialog-card-actions",children:[e.jsxs("button",{type:"button",className:`home-topic-follow ${y?"is-following":""}`,"aria-pressed":y,"aria-label":I,title:y?"Remove from your feed on Save":"Keep this topic",disabled:Q,onClick:fe,children:[y?e.jsx(Se,{"aria-hidden":"true"}):e.jsx(ce,{"aria-hidden":"true"}),y?"Following":"Follow"]}),e.jsx("button",{type:"button",className:"topic-dialog-chip-open",disabled:Q||s.id===$,"aria-label":`Reword ${I}`,title:"Reword this topic",onClick:()=>Ie(s.id),children:e.jsx(Yt,{"aria-hidden":"true"})}),e.jsx("button",{type:"button",className:"topic-dialog-chip-open topic-dialog-chip-remove",disabled:Q,"aria-label":y?`Remove ${I}`:`Keep ${I}`,title:y?"Remove from your feed on Save":"Keep this topic",onClick:fe,children:y?e.jsx(zs,{"aria-hidden":"true"}):e.jsx(Ks,{"aria-hidden":"true"})}),e.jsx("span",{className:"topic-dialog-card-handle",children:d})]})})}})]}),Ee.length>0&&e.jsxs("div",{className:"topic-dialog-group",children:[e.jsx("h3",{children:"Popular topics"}),e.jsx("ul",{className:"home-topics-list topic-dialog-topic-cards",children:Ee.map(s=>{const d=L.includes(s.id);return e.jsx(lt,{topic:s,showCreator:!0,action:e.jsxs("button",{type:"button",className:`home-topic-follow ${d?"is-following":""}`,"aria-pressed":d,"aria-label":`Follow ${le(s)}`,disabled:Q||!d&&we,onClick:()=>_(y=>d?y.filter(I=>I!==s.id):[...y,s.id]),children:[d?e.jsx(Se,{"aria-hidden":"true"}):e.jsx(ce,{"aria-hidden":"true"}),d?"Following":"Follow"]})},s.id)})})]})]}),e.jsxs(bt,{value:"catalog",className:"topic-dialog-panel",children:[he("Trending tasks","task",((b=R.data)==null?void 0:b.results)??[],{to:"/tasks",label:"Browse tasks"}),he("Trending methods","method",((X=M.data)==null?void 0:X.results)??[],{to:"/methods",label:"Browse methods"}),he("Popular benchmarks","benchmark",N((oe=E.data)==null?void 0:oe.benchmarks),{to:"/tasks",label:"Browse benchmarks"}),he("Popular authors","author",N((qe=E.data)==null?void 0:qe.authors)),he("Popular organizations","organization",N((Ue=E.data)==null?void 0:Ue.organizations),{to:"/organizations",label:"Browse organizations"})]})]}),pe&&e.jsxs("p",{className:"settings-token-error",role:"alert",children:[pe.message,"."]}),(H.error&&!Je(H.error)||S.error||se.error||ue.error||ne.error||V.error)&&e.jsx("p",{className:"settings-token-error",role:"alert",children:"Could not save your feed. Please try again."}),e.jsxs("div",{className:"topic-dialog-actions",children:[e.jsx("button",{type:"button",className:"research-follow-action",disabled:Q,onClick:u,children:"Cancel"}),e.jsx("button",{type:"submit",className:"research-topic-save",disabled:!Pe,children:te.some(s=>s.follow===!1)||ee.length||Fe||_e.length?"Save":te.length||z.length?"Follow":He?"Retry":T?"Update topic":"Follow"})]})]})}function Ft({count:t}){return t>0?e.jsx("span",{className:"topic-dialog-tab-count","aria-label":`${t} unsaved`,children:t}):null}function yo({children:t}){const o=l.useRef(null);return l.useLayoutEffect(()=>{const n=o.current;if(!n)return;const u=()=>{const a=[...n.children],j=a.filter(p=>p.dataset.suggested);j.forEach(p=>{p.hidden=!1});const C=()=>new Set(a.filter(p=>!p.hidden).map(p=>p.offsetTop)).size;for(let p=j.length-1;p>=0&&C()>2;p--)j[p].hidden=!0};return u(),window.addEventListener("resize",u),()=>window.removeEventListener("resize",u)}),e.jsx("div",{ref:o,className:"topic-dialog-chips",children:t})}function vo({kind:t,name:o,src:n}){const[u,a]=l.useState(!1);if(n&&!u)return e.jsx("img",{className:`topic-dialog-chip-image is-${t}`,src:n,alt:"",loading:"lazy",onError:()=>a(!0)});if(t!=="author")return null;const j=o.split(/\s+/).filter(Boolean).map(C=>C[0]).slice(0,2).join("").toUpperCase();return e.jsx("span",{className:"topic-dialog-chip-image is-author is-initials","aria-hidden":"true",children:j})}const _t=t=>t.trim().replace(/\s+/g," "),Et=12,Lt=["organization","author","task","method","benchmark"],ko={task:"Task",method:"Method",benchmark:"Benchmark",author:"Author",organization:"Organization"},No={topicIds:[],follows:[]},at=t=>`${t.kind}:${t.entity_id}`;function So(t){return[...t].sort((o,n)=>Lt.indexOf(o.kind)-Lt.indexOf(n.kind)||n.created_at.localeCompare(o.created_at))}function To({follow:t}){if(t.kind==="task"){const o=t.url.split("/").pop()??"",n=us(o,t.parent_slug??void 0);return e.jsx(n,{size:14,strokeWidth:2,"aria-hidden":"true",style:{color:Gs(Ws(o)).dot}})}if(t.kind==="author"||t.kind==="organization"){if(t.image_url)return e.jsx("img",{src:t.image_url,alt:"",width:18,height:18,loading:"lazy"});const o=t.kind==="author"?ao:oo;return e.jsx(o,{size:14,"aria-hidden":"true"})}return null}const Pt=(t,o)=>t.includes(o)?t.filter(n=>n!==o):[...t,o];function Co({topics:t,follows:o,active:n,hrefFor:u,onEdit:a,editLabel:j}){const[C,p]=l.useState(!1),g=[...t.map(w=>({key:`topic:${w.id}`,filter:{...n,topicIds:Pt(n.topicIds,w.id)},name:le(w),title:w.text,mark:null,on:n.topicIds.includes(w.id)})),...So(o).map(w=>({key:at(w),filter:{...n,follows:Pt(n.follows,at(w))},name:w.name,title:`${ko[w.kind]} · ${w.name}`,mark:e.jsx(To,{follow:w}),on:n.follows.includes(at(w))}))],F=n.topicIds.length===0&&n.follows.length===0,M=!C&&g.length>Et+1?g.filter((w,N)=>N<Et||w.on):g,E=g.length-M.length;return e.jsxs("nav",{className:"topic-bubbles follow-bubbles","aria-label":"Filter your feed",children:[g.length>0&&e.jsx(q,{className:`topic-bubble ${F?"active":""}`,to:u(No),"aria-current":F?"true":void 0,children:e.jsx("span",{className:"topic-bubble-name",children:"All"})}),M.map(w=>e.jsxs(q,{className:`topic-bubble ${w.on?"active":""}`,to:u(w.filter),title:w.title,"aria-current":w.on?"true":void 0,children:[w.mark,e.jsx("span",{className:"topic-bubble-name",children:w.name})]},w.key)),E>0&&e.jsx("button",{type:"button",className:"topic-bubble topic-bubble-more",onClick:()=>p(!0),children:e.jsxs("span",{className:"topic-bubble-name",children:["+",E," more"]})}),a&&e.jsxs("button",{type:"button",className:"topic-bubble topic-bubble-add",onClick:a,children:[e.jsx(Yt,{size:13,"aria-hidden":"true"}),e.jsx("span",{className:"topic-bubble-name",children:j})]})]})}const Dt=45,Fo=1800,_o=25,Eo=350,Lo=t=>{const[o,n]=l.useState(xe[0].slice(0,1)),[u,a]=l.useState(0);return l.useEffect(()=>{var R,M;if(!t)return;if((M=(R=window.matchMedia)==null?void 0:R.call(window,"(prefers-reduced-motion: reduce)"))!=null&&M.matches){n(xe[0]),a(0);return}let j=0,C=1,p=!1,g;n(xe[0].slice(0,C)),a(0);const F=()=>{const E=xe[j];if(!p){if(C+=1,n(E.slice(0,C)),C===E.length){p=!0,g=window.setTimeout(F,Fo);return}g=window.setTimeout(F,Dt);return}if(C-=1,n(E.slice(0,C)),C===0){p=!1,j=(j+1)%xe.length,a(j),g=window.setTimeout(F,Eo);return}g=window.setTimeout(F,_o)};return g=window.setTimeout(F,Dt),()=>window.clearTimeout(g)},[t]),{placeholder:o,prompt:xe[u]}},Po=()=>{var m;const t=tt(),o=Ot(),[n,u]=l.useState({text:"",paperMentions:[]}),a=n.text,[j,C]=l.useState(0),[p,g]=l.useState(!1),[F,R]=l.useState(null),{placeholder:M,prompt:E}=Lo(!a),w=l.useRef(null),N=J({queryKey:["chatAvailability"],queryFn:()=>eo.getAvailability(),retry:!1,enabled:it()}),$=it()&&((m=N.data)==null?void 0:m.paper_mentions_enabled)!==!1,f=Ss({draft:n,onChange:u,enabled:$,textareaRef:w}),G=l.useRef(!1),[O,A]=l.useState(!1),v=Ts({draft:n,onChange:u,textareaRef:w,onEnd:c=>{G.current&&!c&&A(!0),G.current=!1}}),U=()=>{G.current=!0,v.finish()},r=Cs(n,f.open),L=a?r.completion:E;l.useLayoutEffect(()=>{const c=w.current;if(!c)return;const x=()=>{if(c.style.height="auto",a){c.style.height=`${Math.min(As(c),160)}px`;return}const k=c.placeholder,h=xe.reduce((P,B)=>(c.placeholder=B,Math.max(P,c.scrollHeight)),0);c.placeholder=k,c.style.height=`${Math.min(h,160)}px`};return x(),window.addEventListener("resize",x),()=>window.removeEventListener("resize",x)},[a,L]),l.useEffect(()=>{O&&(A(!1),_())},[O]);const _=async(c=n)=>{const x=c.text.trim();if(!(!x||p)){if(o){const k=new URLSearchParams({q:x,model:nt}),h=`${rs}?${k}`,P=window.open(h,"_blank");if(!P){R(h);return}P.opener=null,R(null),u({text:"",paperMentions:[]});return}g(!0),Fs(c,nt);try{const k=await _s(nt);t(`/chat/${k.id}`)}catch{t("/chat")}}};return e.jsx(e.Fragment,{children:e.jsxs("div",{className:"ask-home",children:[e.jsxs("div",{className:"ask-home-row",children:[e.jsxs("div",{className:"ask-home-textarea-wrap",children:[e.jsx(Es,{text:n.text,mentions:n.paperMentions,scrollTop:j,variant:"home",completion:a?L:""}),e.jsx("textarea",{ref:w,rows:1,value:a,placeholder:M,"aria-label":"Ask the assistant",disabled:p,readOnly:v.active,onChange:c=>{f.updateText(c.target.value,c.target.selectionStart),r.trackCaret(c.target)},onSelect:c=>{f.refresh(c.currentTarget.selectionStart),r.trackCaret(c.currentTarget)},onClick:c=>{f.refresh(c.currentTarget.selectionStart),r.trackCaret(c.currentTarget)},onScroll:c=>C(c.currentTarget.scrollTop),onBlur:c=>{var x,k;(k=(x=c.relatedTarget)==null?void 0:x.closest)!=null&&k.call(x,".chat-paper-picker")||window.setTimeout(f.close,0)},onKeyDown:c=>{if(v.active){c.key==="Enter"&&!c.shiftKey&&(c.preventDefault(),v.phase==="recording"&&U());return}if(!f.keyDown(c)){if(Ls(c)&&L){c.preventDefault();const x=a+L;f.updateText(x,x.length),window.requestAnimationFrame(()=>{var k;return(k=w.current)==null?void 0:k.setSelectionRange(x.length,x.length)});return}c.key==="Enter"&&!c.shiftKey&&(c.preventDefault(),_())}},role:$?"combobox":void 0,"aria-expanded":$?f.open:void 0,"aria-controls":f.open?f.pickerId:void 0,"aria-activedescendant":f.open&&f.results.length?`${f.optionIdPrefix}-${f.activeIndex}`:void 0,"aria-autocomplete":$?"list":void 0,"aria-describedby":f.message?"ask-home-paper-mention-message":void 0})]}),!o&&e.jsx(Ps,{dictation:v,disabled:p}),e.jsx("button",{type:"button",className:`chat-send${a.trim()||v.phase==="recording"?" chat-send-on":""}`,onClick:()=>v.active?U():void _(),disabled:p||(v.active?v.phase!=="recording":!a.trim()),"aria-label":"Ask the assistant",children:e.jsx(Ds,{})})]}),F&&e.jsx("div",{className:"chat-paper-mention-message",role:"alert",children:e.jsx("a",{href:F,target:"_blank",rel:"noreferrer",children:"Open this question on paperswithcode.co"})}),v.error&&e.jsx("div",{className:"chat-paper-mention-message",role:"alert",children:v.error}),f.message&&e.jsx("div",{id:"ask-home-paper-mention-message",className:"chat-paper-mention-message",role:"alert",children:f.message}),e.jsx(Is,{open:f.open,query:f.query,results:f.results,activeIndex:f.activeIndex,loading:f.loading,error:f.error,onSelect:f.select,id:f.pickerId,optionIdPrefix:f.optionIdPrefix})]})})},Do=30,Io=6,dt="pwc:following-last-seen",Vt="pwc:following-new-since",Ao=60*60*1e3;function ut(t){try{return localStorage.getItem(t)}catch{return null}}function It(t,o){try{localStorage.setItem(t,o)}catch{}}const Zt=(t,o)=>o-Date.parse(t)>Ao;function Ro(t=Date.now()){const o=ut(dt);return o?Zt(o,t)?o:ut(Vt):null}function $o(t,o=Date.now()){const n=ut(dt);n&&!(t&&Zt(n,o))||(n&&It(Vt,n),It(dt,new Date(o).toISOString()))}const At=40,Mo=100,Oo=async t=>{const o=await t;return{results:o.results.map(n=>({paper:n})),next_page:o.next_page}},Uo=({mode:t})=>{var ve,Q,ke,Ne,te,Ke,Pe,De,Ie,Ae,he,Re,$e,Me,Oe;const o=t==="following",n=tt(),u=Rt(),a=u==null?void 0:u.user,[j,C]=as(),p=Ys(j,void 0,t==="trending"?"week":"month"),g=i=>{const b=new URLSearchParams(j);b.delete("order_by"),b.delete("only"),b.delete("topic"),b.delete("follow");const X=b.toString();n(X?`${i}?${X}`:i)},F={topicIds:[],follows:[]},R=i=>{const b=new URLSearchParams(j);b.delete("only"),b.delete("topic"),b.delete("follow"),i.topicIds.forEach(oe=>b.append("topic",String(oe))),i.follows.forEach(oe=>b.append("follow",oe));const X=b.toString();return X?`/following?${X}`:"/following"},M=J(Ze.topTasks(8)),E=J(Ze.trendingTasks({limit:8,min_recent_papers:10})),w=o&&j.get("only")==="topic",N=o?{topicIds:[...new Set(j.getAll("topic").map(Number).filter(Number.isInteger))],follows:[...new Set(j.getAll("follow").filter(i=>/^(task|method|benchmark|author|organization):\d+$/.test(i)))]}:F,$=N.topicIds.length>0||N.follows.length>0,f={start_date:p.startDate,end_date:p.endDate},G={...p,topicOnly:w,...N},O=Qs(o?We.following(a==null?void 0:a.hf_subject,G):We.trending(f),async i=>{if(o){const X=await mt.following(i,G),oe=X.length===At?i+At:null;return{results:X,next_page:oe}}const b={...f,page:i,page_size:Do,include_resources:!0};return Oo(ls.list({...b,order_by:"trending",order_dir:"desc",latest_only:!0}))},{enabled:!o||!!a,initialPage:o?0:1}),A=Kt(),v=zt(!0,1e4),U=!!((ve=A.data)!=null&&ve.length)||!!((Q=v.data)!=null&&Q.length),r=le,L=((ke=v.data)==null?void 0:ke.filter(js))??[],_=L.filter(i=>N.topicIds.length?N.topicIds.includes(i.id):!N.follows.length),m=N.topicIds.length===1&&!N.follows.length?(Ne=v.data)==null?void 0:Ne.find(i=>i.id===N.topicIds[0]):void 0,[c,x]=l.useState(()=>go()),[k,h]=l.useState(()=>c?c.topicId:o&&j.get("edit")==="1"?null:void 0),P=Mt(),B=L.map(i=>i.id).join(","),K=l.useRef([]);l.useEffect(()=>{const i=B?B.split(","):[];K.current.some(b=>!i.includes(b))&&P.invalidateQueries({queryKey:We.following(a==null?void 0:a.hf_subject)}),K.current=i},[B,P,a==null?void 0:a.hf_subject]);const de=o&&!!a&&((te=A.data)==null?void 0:te.length)===0&&v.isSuccess&&v.data.length===0,H=o&&!(u!=null&&u.isLoading)&&!a||de,S=!!a||!is(),se=l.useMemo(()=>{var i;return new Set((i=v.data)==null?void 0:i.map(b=>b.id))},[v.data]),ue=l.useMemo(()=>{var i;return new Set((i=A.data)==null?void 0:i.map(b=>`${b.kind}:${b.entity_id}`))},[A.data]),ne=!o&&S&&!(u!=null&&u.isLoading)&&(!a||A.isSuccess&&v.isSuccess&&!U),[V]=l.useState(()=>Ro());l.useEffect(()=>{a&&(o||U)&&$o(o)},[a,o,U]);const T=((Ke=J({...re.followingNewCount(a==null?void 0:a.hf_subject,V??""),enabled:!!a&&U&&!!V}).data)==null?void 0:Ke.count)??0,ae=o&&V?Date.parse(V):NaN,Ce={topicOnly:w,...N,addedAfter:V??void 0},me=J({queryKey:[...We.following(a==null?void 0:a.hf_subject),"new",Ce],queryFn:()=>mt.following(0,Ce,Mo),enabled:o&&!!a&&!!V,staleTime:5*60*1e3,placeholderData:cs}),[be,Fe]=l.useState(!1),[ee]=l.useState(()=>!!gt()||wt().length>0||ot().length>0),[_e,Ee]=l.useState(!1);!be&&((Pe=v.data)!=null&&Pe.length||(De=A.data)!=null&&De.length)&&Fe(!0),H&&!_e&&(Ee(!0),S&&!be&&!ee&&h(null));const z=qt(),{mutate:ge}=z,je=l.useRef(!1);l.useEffect(()=>{const i=gt();!a||!v.isSuccess||!i||je.current||(je.current=!0,v.data.some(b=>b.text===i)?ys():ge({text:i}))},[a,v.isSuccess,v.data,ge]);const Y=Gt(),{mutate:Be}=Y,ie=l.useRef(!1);l.useEffect(()=>{const i=wt();!a||!i.length||ie.current||(ie.current=!0,Be(i))},[a,Be]);const pe=$&&v.isSuccess&&A.isSuccess?{topicIds:N.topicIds.filter(i=>v.data.some(b=>b.id===i)),follows:N.follows.filter(i=>A.data.some(b=>`${b.kind}:${b.entity_id}`===i))}:void 0,He=!!pe&&(pe.topicIds.length<N.topicIds.length||pe.follows.length<N.follows.length);l.useEffect(()=>{He&&pe&&n(R(pe),{replace:!0})});const Le=vs(),{mutate:we}=Le,ye=l.useRef(!1);l.useEffect(()=>{const i=ot();!a||!i.length||ye.current||(ye.current=!0,we(i))},[a,we]);const st=l.useMemo(()=>{var Ue;const i=s=>({...ks(s.paper),followReasons:s.reasons,isNew:!!s.added_at&&Date.parse(s.added_at)>ae}),b=me.isPlaceholderData?void 0:me.data,X=O.data&&b?b.map(i).filter(s=>s.isNew):[],oe=new Set(X.map(s=>s.id)),qe=((Ue=O.data)==null?void 0:Ue.pages.flatMap(s=>s.results.map(i)))??[];return[...X,...qe.filter(s=>!oe.has(s.id))]},[O.data,me.data,me.isPlaceholderData,ae]),ze=O.error;return e.jsxs("div",{className:"page",children:[e.jsx("div",{className:"feed-header",children:e.jsxs("div",{children:[e.jsxs("h1",{className:"feed-title",children:["Trending ",e.jsx("em",{children:"Research"})]}),e.jsx("div",{className:"feed-subtitle",children:"Curated daily from arXiv and Hugging Face"})]})}),e.jsxs("div",{className:"layout-with-sidebar",children:[e.jsxs("aside",{className:"sidebar feed-sidebar",children:[e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"sidebar-section sidebar-section-top-domains",children:[e.jsx("div",{className:"sidebar-label",children:"Top Domains"}),M.isLoading&&e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:8},children:Array.from({length:6}).map((i,b)=>e.jsx(jt,{className:"h-5 w-full"},b))}),e.jsxs("div",{className:"sidebar-links",children:[(Ie=M.data)==null?void 0:Ie.map(i=>e.jsxs(q,{to:`/tasks/${i.slug}`,className:"sidebar-link",children:[Te(i.name,i.slug),i.paper_count!=null&&e.jsx("span",{className:"count",children:i.paper_count})]},i.id)),e.jsx(q,{to:"/tasks",className:"sidebar-link sidebar-link-more",children:"all domains →"})]})]}),e.jsxs("div",{className:"sidebar-section sidebar-section-trending-domains",children:[e.jsx("div",{className:"sidebar-label",children:"Trending Domains"}),E.isLoading&&e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:8},children:Array.from({length:6}).map((i,b)=>e.jsx(jt,{className:"h-5 w-full"},b))}),((he=(Ae=E.data)==null?void 0:Ae.results)==null?void 0:he.length)===0&&!E.isLoading&&e.jsx("div",{style:{fontSize:12,color:"var(--ink-faint)"},children:"No domains gaining momentum right now."}),e.jsx("div",{className:"sidebar-links",children:($e=(Re=E.data)==null?void 0:Re.results)==null?void 0:$e.map(i=>e.jsxs(q,{to:`/tasks/${i.slug}`,className:"sidebar-link",children:[Te(i.name,i.slug),e.jsxs("span",{className:"count",children:[i.share_lift.toFixed(1),"x"]})]},i.id))})]})]}),e.jsx(Js,{})]}),e.jsxs("div",{className:"feed-main",children:[(it()||Ot())&&e.jsx("div",{className:"feed-chat",children:e.jsx(Po,{})}),e.jsxs("div",{className:"feed-content",children:[!o&&S&&e.jsx(po,{followedIds:!(u!=null&&u.isLoading)&&(!a||v.isSuccess)?se:null,followedKeys:!(u!=null&&u.isLoading)&&(!a||A.isSuccess)?ue:null,onBuild:()=>h(null)}),e.jsxs("div",{className:"sort-bar home-feed-sort-bar",children:[e.jsx("div",{className:"paper-feed-toolbar-controls",children:e.jsxs("div",{className:"sort-options",children:[e.jsx("button",{className:`sort-btn ${t==="trending"?"active":""}`,onClick:()=>g("/"),children:"trending"}),e.jsxs("button",{className:`sort-btn ${o?"active":""}`,onClick:()=>g("/following"),children:["following",T>0&&e.jsx("span",{className:"nav-new-badge feed-tab-new",title:"New papers since your last visit",children:"New"})]})]})}),e.jsx(Xs,{startDate:p.startDate,endDate:p.endDate,onChange:i=>C(Vs(j,i))})]}),o&&(!!a||!(u!=null&&u.isLoading))&&e.jsx(Co,{topics:v.data??[],follows:A.data??[],active:N,hrefFor:R,onEdit:S?()=>h(null):void 0,editLabel:(Me=v.data)!=null&&Me.length||(Oe=A.data)!=null&&Oe.length?"Edit feed":"Build feed"}),ze&&e.jsx(Ye,{variant:"destructive",className:"mb-4",children:e.jsxs(Qe,{children:["Failed to load papers. ",e.jsx("button",{type:"button",onClick:()=>void O.refetch(),children:"Try again"})]})}),z.isError&&z.variables&&e.jsx(Ye,{variant:"destructive",className:"mb-4",children:e.jsx(Qe,{children:Je(z.error)?e.jsxs(e.Fragment,{children:["Could not follow “",z.variables.text,"”: ",z.error.message,"."]}):e.jsxs(e.Fragment,{children:["Could not follow “",z.variables.text,"”. ",e.jsx("button",{type:"button",onClick:()=>ge(z.variables),children:"Try again"})]})})}),Y.isError&&Y.variables&&e.jsx(Ye,{variant:"destructive",className:"mb-4",children:e.jsxs(Qe,{children:["Could not follow ",Y.variables.map(i=>i.name).join(", "),". ",e.jsx("button",{type:"button",onClick:()=>Be(Y.variables),children:"Try again"})]})}),Le.isError&&e.jsx(Ye,{variant:"destructive",className:"mb-4",children:e.jsx(Qe,{children:Je(Le.error)?e.jsxs(e.Fragment,{children:["Could not follow the popular topics you picked: ",Le.error.message,"."]}):e.jsxs(e.Fragment,{children:["Could not follow the popular topics you picked. ",e.jsx("button",{type:"button",onClick:()=>we(ot()),children:"Try again"})]})})}),o&&_.length>0&&e.jsxs("div",{className:"following-topic-note",role:"status",children:["Showing the closest papers about ",_.map(i=>`“${r(i)}”`).join(" and ")," now. A model is reading papers to refine these matches, which takes a few minutes."]}),S&&e.jsx(bo,{open:k!==void 0,topicId:k??null,afterSavePath:o?void 0:"/following",restore:c,onOpenChange:i=>{if(!i&&(wo(),x(null),h(void 0),j.has("edit"))){const b=new URLSearchParams(j);b.delete("edit"),C(b,{replace:!0})}}}),w&&!$&&e.jsxs("div",{className:"following-topic-note following-topic-filter",role:"status",children:["Showing only papers about your topics. ",e.jsx(q,{to:R(F),children:"Show everything you follow"})]}),H?e.jsx(io,{onBuild:S?()=>h(null):void 0}):e.jsx(Zs,{query:O,isLoading:O.isLoading||me.isLoading||o&&!!(u!=null&&u.isLoading),cards:st,skeleton:"card",rootMargin:"400px",cardHeader:ne?i=>i===Io&&e.jsx(co,{onBuild:()=>h(null)}):void 0,empty:ze?null:m?e.jsxs(e.Fragment,{children:["No papers about this topic match these filters. Widen the date range or ",e.jsx("button",{type:"button",className:"link-button",onClick:()=>h(m.id),children:"edit the topic"}),"."]}):$?e.jsx(e.Fragment,{children:"No papers match the selected bubbles in this window. Widen the date range or pick more bubbles."}):w?e.jsx(e.Fragment,{children:"No papers about your topics match these filters. Widen the date range or follow more topics."}):o?e.jsxs(e.Fragment,{children:["No papers from your topics or follows match these filters. Widen the date range, or follow more from ",e.jsx(q,{to:"/tasks",children:"tasks"}),", ",e.jsx(q,{to:"/methods",children:"methods"}),", benchmark, author, or organization pages."]}):"No papers in this window."})]})]})]})]})},In=()=>(to(so),e.jsx(Uo,{mode:"trending"}));export{Po as AskAssistant,Uo as HomeFeed,In as default};
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/{FollowerAvatar-CdsnfvtL.js → FollowerAvatar-DMLlkjGd.js} RENAMED
@@ -1 +1 @@
1
- import{i as s,j as r,n as l}from"./index-BhKQv9LT.js";function n({person:t,size:a}){const[e,i]=s.useState(!1);return e?r.jsx("span",{className:"topic-avatar home-topic-avatar-initial",title:`@${t.username}`,style:{width:a,height:a,fontSize:a*.45},children:t.username.charAt(0).toUpperCase()}):r.jsx("img",{className:"topic-avatar",src:l(t.avatar_url)??void 0,alt:"",title:`@${t.username}`,width:a,height:a,loading:"lazy",onError:()=>i(!0)})}export{n as F};
 
1
+ import{i as s,j as r,n as l}from"./index-B0aq-iar.js";function n({person:t,size:a}){const[e,i]=s.useState(!1);return e?r.jsx("span",{className:"topic-avatar home-topic-avatar-initial",title:`@${t.username}`,style:{width:a,height:a,fontSize:a*.45},children:t.username.charAt(0).toUpperCase()}):r.jsx("img",{className:"topic-avatar",src:l(t.avatar_url)??void 0,alt:"",title:`@${t.username}`,width:a,height:a,loading:"lazy",onError:()=>i(!0)})}export{n as F};
assets/FollowingView-CLvbC_mH.js DELETED
@@ -1 +0,0 @@
1
- import{j as o}from"./index-BhKQv9LT.js";import{HomeFeed as r}from"./FeedView-DfsJpV9h.js";import"./taskIcons-DB857qAq.js";import"./search-BLHGfANa.js";import"./triangle-alert-tVOCXgsf.js";import"./share-2-DG9Pr506.js";import"./trending-up-PRKQib2t.js";import"./moon-Did5K_6X.js";import"./thumbs-up-DZW-ss8t.js";import"./database-BI44wXxm.js";import"./link-2-BFDx3Ny_.js";import"./trophy-Cjn1hvpp.js";import"./file-text-CH7tJG0i.js";import"./activity-Bl3XH8Oh.js";import"./globe-XOaeDqkA.js";import"./researchTopic-BP-u0rIC.js";import"./useMutation-DPQn8VkK.js";import"./plus-Da5UgLnk.js";import"./transform-BzmXOpxt.js";import"./arrow-right-HTfAIQQF.js";import"./index-DYXsmgYV.js";import"./chat-CBpXQ7Wl.js";import"./dialog-C_jKzXRg.js";import"./switch-BiWy_MQW.js";import"./index-B2-KLIIm.js";import"./tabs-COt81pAK.js";import"./useDebounce-Bt-Usy3P.js";import"./trash-2-Dai-yVNI.js";import"./undo-2-OoZl-ncG.js";import"./arrow-up-right-C2M2QrCR.js";import"./colors-BkWRhvFI.js";import"./usePapers-Cuyi1itG.js";import"./PaperCard-CSOLEzIX.js";import"./AuthorAvatar-DfcP8J6o.js";import"./SotaBadges-CcS46IjG.js";import"./Icon-Cdqu8Hq_.js";import"./LatexTitle-GmCrtZ_I.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DoQl9nzw.js";import"./skeleton-BkbzA0oF.js";import"./useIntersectionObserver-M_MEUmwh.js";import"./useInfiniteQuery-Ba0y0o7Y.js";import"./McpShowcase-vY65GwKh.js";import"./AgentLogos-Da2yWlH1.js";import"./alert-zC2kYXtI.js";import"./useDocumentTitle-DGWKz2sg.js";import"./pageTitles-Cv5SviVf.js";function X(){return o.jsx(r,{mode:"following"})}export{X as default};
 
 
assets/FollowingView-T5Bkmr1s.js ADDED
@@ -0,0 +1 @@
 
 
1
+ import{j as o}from"./index-B0aq-iar.js";import{HomeFeed as r}from"./FeedView-CAdo9nK0.js";import"./taskIcons-D66TYP2o.js";import"./search-BHf0tBuT.js";import"./triangle-alert-DY9cghmN.js";import"./share-2-Br52qy6p.js";import"./trending-up-claX8Qq-.js";import"./moon-CuN-BY7W.js";import"./thumbs-up-DoDJmuQ5.js";import"./database-F1rgBGr5.js";import"./link-2-Df1wXqvh.js";import"./trophy-BxvfHC6g.js";import"./file-text-CxYjO52k.js";import"./activity-C34k684K.js";import"./globe-DuvIPdbU.js";import"./researchTopic-179EqBPz.js";import"./useMutation-DxP7YVP3.js";import"./plus-Ig6EFSa0.js";import"./transform-BII-_KDB.js";import"./arrow-right-DlVJkuq8.js";import"./index-CNk4C1On.js";import"./chat-DfK5YWLV.js";import"./dialog-CMqnZdwE.js";import"./switch-COw0Jfww.js";import"./index-Byiu5LS8.js";import"./tabs-Besxg1IE.js";import"./useDebounce-D5i4faqC.js";import"./trash-2-D6KnBn09.js";import"./undo-2-xoD_sdsW.js";import"./arrow-up-right-B6bV_Cct.js";import"./colors-BkWRhvFI.js";import"./usePapers-DH6AufOQ.js";import"./PaperCard-CXKXdRil.js";import"./AuthorAvatar-CWdu93Ln.js";import"./SotaBadges-Dh4JgSRd.js";import"./Icon-BkpouXtc.js";import"./LatexTitle-CXLW2LHS.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DdJ3UXiH.js";import"./skeleton-DsZ-wKhC.js";import"./useIntersectionObserver-B5f-R6yl.js";import"./useInfiniteQuery-DIIy94Ek.js";import"./McpShowcase-BgXu7zJj.js";import"./AgentLogos-x9Ckr4O1.js";import"./alert-Cf45hSUq.js";import"./useDocumentTitle-gwKq10Vr.js";import"./pageTitles-DPtr8SUn.js";function X(){return o.jsx(r,{mode:"following"})}export{X as default};
assets/{FrameworksIndexView-CZjFCXYR.js → FrameworksIndexView-B9hUU1Jj.js} RENAMED
@@ -1 +1 @@
1
- import{o as d,j as e,L as o,b as m,ad as h,x as u}from"./index-BhKQv9LT.js";import{I as p}from"./Icon-Cdqu8Hq_.js";import{c as g,h as x}from"./colors-BkWRhvFI.js";import{P as f}from"./frameworks-DDA0P4Tf.js";import{u as j}from"./useDocumentTitle-DGWKz2sg.js";import{I as _}from"./pageTitles-Cv5SviVf.js";const k={fontFamily:"var(--mono)",fontSize:13,fontWeight:600,letterSpacing:"0.04em",textTransform:"uppercase",color:"var(--ink)",marginBottom:6},N=({platform:s})=>{const n=g(x(s));return e.jsx("span",{className:"framework-platform-chip",style:{background:n.bg,color:n.text},children:f[s]})},v=({framework:s})=>{const n=d(),t=`/papers?framework=${encodeURIComponent(s.slug)}`;return e.jsxs("article",{id:`framework-${s.slug}`,className:"framework-card framework-card-clickable",role:"link",tabIndex:0,"aria-label":`View papers implemented by ${s.name}`,onClick:a=>{a.target.closest("a, button")||n(t)},onKeyDown:a=>{a.target===a.currentTarget&&(a.key==="Enter"||a.key===" ")&&(a.preventDefault(),n(t))},children:[e.jsxs("div",{className:"framework-card-head",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"framework-card-name",children:s.name}),s.organization_name&&e.jsx("div",{className:"framework-card-org",children:s.organization_name})]}),s.platforms&&s.platforms.length>0&&e.jsx("div",{className:"framework-platform-row",children:s.platforms.map(a=>e.jsx(N,{platform:a},a))})]}),e.jsx("p",{className:"framework-card-desc",children:s.description}),s.when_to_use&&e.jsxs("div",{className:"framework-card-when",children:[e.jsx("span",{className:"framework-card-when-label",children:"When to use"}),s.when_to_use]}),(s.github_url||s.docs_url||s.introducing_paper_arxiv_id)&&e.jsxs("div",{className:"framework-card-links",children:[s.introducing_paper_arxiv_id&&e.jsx(o,{to:`/paper/${s.introducing_paper_arxiv_id}`,className:"framework-link",children:"Introducing paper"}),s.github_url&&s.paper_count>0&&e.jsxs(o,{to:t,className:"framework-link",children:["Implements ",s.paper_count," ",s.paper_count===1?"paper":"papers"]}),s.github_url&&s.paper_count===0&&e.jsx("span",{className:"framework-link framework-link-disabled","aria-disabled":"true",children:"Implements 0 papers"}),s.github_url&&e.jsxs("a",{href:s.github_url,target:"_blank",rel:"noopener noreferrer",className:"framework-link",children:[e.jsx(p,{name:"github",size:13}),"GitHub"]}),s.docs_url&&s.docs_url!==s.github_url&&e.jsx("a",{href:s.docs_url,target:"_blank",rel:"noopener noreferrer",className:"framework-link",children:"Docs"})]})]})},F=()=>{var a;j(_.frameworks);const s=m(u.frameworkCatalog()),n=((a=s.data)==null?void 0:a.domains)??[],t=n.reduce((i,r)=>i+r.categories.reduce((l,c)=>l+c.frameworks.length,0),0);return h.useEffect(()=>{var r;const i=window.location.hash.slice(1);i&&((r=document.getElementById(i))==null||r.scrollIntoView())},[s.data]),e.jsxs("div",{className:"page",children:[e.jsx("div",{className:"feed-header",children:e.jsxs("div",{children:[e.jsxs("h1",{className:"feed-title",children:["AI ",e.jsx("em",{children:"Frameworks"})]}),e.jsx("div",{className:"feed-subtitle",children:"Curated libraries and tools to run, serve, and train models — pick the right stack for your hardware and workload."})]})}),s.isLoading&&e.jsx("div",{className:"empty",children:"Loading frameworks…"}),s.isError&&e.jsx("div",{className:"empty",children:"Could not load frameworks."}),n.map(i=>e.jsxs("section",{style:{marginBottom:56},children:[e.jsxs("div",{className:"area-section-head",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"area-section-title",children:i.name}),e.jsx("div",{className:"area-section-description",children:i.description})]}),e.jsxs("div",{className:"area-section-meta",children:[i.categories.length," ",i.categories.length===1?"category":"categories"," ·"," ",i.categories.reduce((r,l)=>r+l.frameworks.length,0)," frameworks"]})]}),i.categories.map(r=>e.jsxs("div",{className:"framework-category",children:[e.jsxs("div",{className:"framework-category-head",children:[e.jsxs("div",{children:[e.jsx("h3",{style:k,children:r.name}),r.description&&e.jsx("p",{className:"framework-category-blurb",children:r.description}),r.guide_url&&e.jsxs("a",{href:r.guide_url,target:"_blank",rel:"noopener noreferrer",className:"framework-guide-link",children:[r.guide_label??"Read guide"," →"]})]}),e.jsxs("div",{className:"framework-category-meta",children:[r.frameworks.length," ",r.frameworks.length===1?"framework":"frameworks"]})]}),e.jsx("div",{className:"framework-grid",children:r.frameworks.map(l=>e.jsx(v,{framework:l},l.slug))})]},r.slug))]},i.slug)),e.jsxs("div",{style:{fontFamily:"var(--mono)",fontSize:11,color:"var(--ink-faint)",marginTop:8},children:[t," frameworks across ",n.length," ",n.length===1?"domain":"domains",". More areas coming soon."]})]})};export{v as FrameworkCard,F as default};
 
1
+ import{o as d,j as e,L as o,b as m,ad as h,x as u}from"./index-B0aq-iar.js";import{I as p}from"./Icon-BkpouXtc.js";import{c as g,h as x}from"./colors-BkWRhvFI.js";import{P as f}from"./frameworks-DDA0P4Tf.js";import{u as j}from"./useDocumentTitle-gwKq10Vr.js";import{I as _}from"./pageTitles-DPtr8SUn.js";const k={fontFamily:"var(--mono)",fontSize:13,fontWeight:600,letterSpacing:"0.04em",textTransform:"uppercase",color:"var(--ink)",marginBottom:6},N=({platform:s})=>{const n=g(x(s));return e.jsx("span",{className:"framework-platform-chip",style:{background:n.bg,color:n.text},children:f[s]})},v=({framework:s})=>{const n=d(),t=`/papers?framework=${encodeURIComponent(s.slug)}`;return e.jsxs("article",{id:`framework-${s.slug}`,className:"framework-card framework-card-clickable",role:"link",tabIndex:0,"aria-label":`View papers implemented by ${s.name}`,onClick:a=>{a.target.closest("a, button")||n(t)},onKeyDown:a=>{a.target===a.currentTarget&&(a.key==="Enter"||a.key===" ")&&(a.preventDefault(),n(t))},children:[e.jsxs("div",{className:"framework-card-head",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"framework-card-name",children:s.name}),s.organization_name&&e.jsx("div",{className:"framework-card-org",children:s.organization_name})]}),s.platforms&&s.platforms.length>0&&e.jsx("div",{className:"framework-platform-row",children:s.platforms.map(a=>e.jsx(N,{platform:a},a))})]}),e.jsx("p",{className:"framework-card-desc",children:s.description}),s.when_to_use&&e.jsxs("div",{className:"framework-card-when",children:[e.jsx("span",{className:"framework-card-when-label",children:"When to use"}),s.when_to_use]}),(s.github_url||s.docs_url||s.introducing_paper_arxiv_id)&&e.jsxs("div",{className:"framework-card-links",children:[s.introducing_paper_arxiv_id&&e.jsx(o,{to:`/paper/${s.introducing_paper_arxiv_id}`,className:"framework-link",children:"Introducing paper"}),s.github_url&&s.paper_count>0&&e.jsxs(o,{to:t,className:"framework-link",children:["Implements ",s.paper_count," ",s.paper_count===1?"paper":"papers"]}),s.github_url&&s.paper_count===0&&e.jsx("span",{className:"framework-link framework-link-disabled","aria-disabled":"true",children:"Implements 0 papers"}),s.github_url&&e.jsxs("a",{href:s.github_url,target:"_blank",rel:"noopener noreferrer",className:"framework-link",children:[e.jsx(p,{name:"github",size:13}),"GitHub"]}),s.docs_url&&s.docs_url!==s.github_url&&e.jsx("a",{href:s.docs_url,target:"_blank",rel:"noopener noreferrer",className:"framework-link",children:"Docs"})]})]})},F=()=>{var a;j(_.frameworks);const s=m(u.frameworkCatalog()),n=((a=s.data)==null?void 0:a.domains)??[],t=n.reduce((i,r)=>i+r.categories.reduce((l,c)=>l+c.frameworks.length,0),0);return h.useEffect(()=>{var r;const i=window.location.hash.slice(1);i&&((r=document.getElementById(i))==null||r.scrollIntoView())},[s.data]),e.jsxs("div",{className:"page",children:[e.jsx("div",{className:"feed-header",children:e.jsxs("div",{children:[e.jsxs("h1",{className:"feed-title",children:["AI ",e.jsx("em",{children:"Frameworks"})]}),e.jsx("div",{className:"feed-subtitle",children:"Curated libraries and tools to run, serve, and train models — pick the right stack for your hardware and workload."})]})}),s.isLoading&&e.jsx("div",{className:"empty",children:"Loading frameworks…"}),s.isError&&e.jsx("div",{className:"empty",children:"Could not load frameworks."}),n.map(i=>e.jsxs("section",{style:{marginBottom:56},children:[e.jsxs("div",{className:"area-section-head",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"area-section-title",children:i.name}),e.jsx("div",{className:"area-section-description",children:i.description})]}),e.jsxs("div",{className:"area-section-meta",children:[i.categories.length," ",i.categories.length===1?"category":"categories"," ·"," ",i.categories.reduce((r,l)=>r+l.frameworks.length,0)," frameworks"]})]}),i.categories.map(r=>e.jsxs("div",{className:"framework-category",children:[e.jsxs("div",{className:"framework-category-head",children:[e.jsxs("div",{children:[e.jsx("h3",{style:k,children:r.name}),r.description&&e.jsx("p",{className:"framework-category-blurb",children:r.description}),r.guide_url&&e.jsxs("a",{href:r.guide_url,target:"_blank",rel:"noopener noreferrer",className:"framework-guide-link",children:[r.guide_label??"Read guide"," →"]})]}),e.jsxs("div",{className:"framework-category-meta",children:[r.frameworks.length," ",r.frameworks.length===1?"framework":"frameworks"]})]}),e.jsx("div",{className:"framework-grid",children:r.frameworks.map(l=>e.jsx(v,{framework:l},l.slug))})]},r.slug))]},i.slug)),e.jsxs("div",{style:{fontFamily:"var(--mono)",fontSize:11,color:"var(--ink-faint)",marginTop:8},children:[t," frameworks across ",n.length," ",n.length===1?"domain":"domains",". More areas coming soon."]})]})};export{v as FrameworkCard,F as default};
assets/{Icon-Cdqu8Hq_.js → Icon-BkpouXtc.js} RENAMED
@@ -1 +1 @@
1
- import{j as o}from"./index-BhKQv9LT.js";const s=({name:t,size:r=14})=>{const e={search:o.jsx("path",{d:"M11 11l3 3M7 12.5a5.5 5.5 0 110-11 5.5 5.5 0 010 11z",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round"}),arrowUp:o.jsx("path",{d:"M8 3l5 6H3l5-6z",fill:"currentColor"}),arrowLeft:o.jsx("path",{d:"M9 3l-4 5 4 5",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),arrowRight:o.jsx("path",{d:"M7 3l4 5-4 5",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),external:o.jsx("path",{d:"M5 3h-2v8h8v-2M9 3h3v3M7 9l5-5",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),github:o.jsx("path",{d:"M8 1a7 7 0 00-2.21 13.64c.35.06.48-.15.48-.34v-1.2c-1.95.42-2.36-.94-2.36-.94-.32-.81-.78-1.03-.78-1.03-.64-.43.05-.43.05-.43.7.05 1.07.72 1.07.72.62 1.07 1.64.76 2.04.58.06-.45.24-.76.44-.94-1.55-.18-3.18-.78-3.18-3.46 0-.76.27-1.39.72-1.88-.07-.18-.31-.89.07-1.86 0 0 .59-.19 1.92.72.56-.15 1.16-.23 1.75-.24.59 0 1.19.08 1.75.24 1.33-.9 1.92-.72 1.92-.72.38.97.14 1.68.07 1.86.45.49.72 1.12.72 1.88 0 2.69-1.64 3.28-3.19 3.45.25.22.48.65.48 1.32v1.95c0 .19.13.41.49.34A7 7 0 008 1z",fill:"currentColor"}),citation:o.jsx("path",{d:"M3 4h3v3H3zM4 7v1.5a1.5 1.5 0 01-1.5 1.5M9 4h3v3H9zM10 7v1.5a1.5 1.5 0 01-1.5 1.5",stroke:"currentColor",strokeWidth:"1.2",fill:"none"}),x:o.jsx("path",{d:"M2.5 2.5h3l8 11h-3zM13.5 2.5L9 7.6M2.5 13.5L7 8.4",stroke:"currentColor",strokeWidth:"1.3",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),bookmark:o.jsx("path",{d:"M4 2h8v12l-4-3-4 3V2z",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinejoin:"round"}),chart:o.jsx("path",{d:"M2 13h12M3 11l3-4 3 2 4-5",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),chat:o.jsx("path",{d:"M3 3h10v7H7l-3 3v-3H3V3z",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinejoin:"round"}),pdf:o.jsx("path",{d:"M5 2h5l3 3v9H5V2z",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinejoin:"round"}),copy:o.jsx("path",{d:"M5 5h7v8H5V5zM3 3h7v2M3 3v8h2",stroke:"currentColor",strokeWidth:"1.2",fill:"none",strokeLinejoin:"round"}),sparkle:o.jsx("path",{d:"M8 2l1.2 3.8L13 7l-3.8 1.2L8 12l-1.2-3.8L3 7l3.8-1.2L8 2z",fill:"currentColor"}),user:o.jsx("path",{d:"M8 8a3 3 0 100-6 3 3 0 000 6zM2 14c0-3 2.5-5 6-5s6 2 6 5",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round"}),globe:o.jsx("path",{d:"M8 1.5a6.5 6.5 0 100 13 6.5 6.5 0 000-13zM1.5 8h13M8 1.5c1.7 1.9 2.6 4.2 2.6 6.5s-.9 4.6-2.6 6.5M8 1.5C6.3 3.4 5.4 5.7 5.4 8s.9 4.6 2.6 6.5",stroke:"currentColor",strokeWidth:"1.2",fill:"none",strokeLinecap:"round"}),menu:o.jsx("path",{d:"M2 4h12M2 8h12M2 12h12",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"}),close:o.jsx("path",{d:"M3 3l10 10M13 3L3 13",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"}),pencil:o.jsx("path",{d:"M10.5 2.5l3 3L6 13H3v-3l7.5-7.5zM9 4l3 3",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),robot:o.jsx("path",{d:"M6 12.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5M3 8.062C3 6.76 4.235 5.765 5.53 5.886a26.6 26.6 0 0 0 4.94 0C11.765 5.765 13 6.76 13 8.062v1.157a.93.93 0 0 1-.765.935c-.845.147-2.34.346-4.235.346s-3.39-.2-4.235-.346A.93.93 0 0 1 3 9.219zm4.542-.827a.25.25 0 0 0-.217.068l-.92.9a25 25 0 0 1-1.871-.183a.25.25 0 0 0-.068.495c.55.076 1.232.149 2.02.193a.25.25 0 0 0 .189-.071l.754-.736l.847 1.71a.25.25 0 0 0 .404.062l.932-.97a25 25 0 0 0 1.922-.188a.25.25 0 0 0-.068-.495c-.538.074-1.207.145-1.98.189a.25.25 0 0 0-.166.076l-.754.785l-.842-1.7a.25.25 0 0 0-.182-.135M8.5 1.866a1 1 0 1 0-1 0V3h-2A4.5 4.5 0 0 0 1 7.5V8a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1v1a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-1a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1v-.5A4.5 4.5 0 0 0 10.5 3h-2zM14 7.5V13a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7.5A3.5 3.5 0 0 1 5.5 4h5A3.5 3.5 0 0 1 14 7.5",fill:"currentColor"})};return o.jsx("svg",{className:r===11?"icon-sm":"icon",viewBox:"0 0 16 16",width:r,height:r,children:e[t]})};export{s as I};
 
1
+ import{j as o}from"./index-B0aq-iar.js";const s=({name:t,size:r=14})=>{const e={search:o.jsx("path",{d:"M11 11l3 3M7 12.5a5.5 5.5 0 110-11 5.5 5.5 0 010 11z",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round"}),arrowUp:o.jsx("path",{d:"M8 3l5 6H3l5-6z",fill:"currentColor"}),arrowLeft:o.jsx("path",{d:"M9 3l-4 5 4 5",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),arrowRight:o.jsx("path",{d:"M7 3l4 5-4 5",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),external:o.jsx("path",{d:"M5 3h-2v8h8v-2M9 3h3v3M7 9l5-5",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),github:o.jsx("path",{d:"M8 1a7 7 0 00-2.21 13.64c.35.06.48-.15.48-.34v-1.2c-1.95.42-2.36-.94-2.36-.94-.32-.81-.78-1.03-.78-1.03-.64-.43.05-.43.05-.43.7.05 1.07.72 1.07.72.62 1.07 1.64.76 2.04.58.06-.45.24-.76.44-.94-1.55-.18-3.18-.78-3.18-3.46 0-.76.27-1.39.72-1.88-.07-.18-.31-.89.07-1.86 0 0 .59-.19 1.92.72.56-.15 1.16-.23 1.75-.24.59 0 1.19.08 1.75.24 1.33-.9 1.92-.72 1.92-.72.38.97.14 1.68.07 1.86.45.49.72 1.12.72 1.88 0 2.69-1.64 3.28-3.19 3.45.25.22.48.65.48 1.32v1.95c0 .19.13.41.49.34A7 7 0 008 1z",fill:"currentColor"}),citation:o.jsx("path",{d:"M3 4h3v3H3zM4 7v1.5a1.5 1.5 0 01-1.5 1.5M9 4h3v3H9zM10 7v1.5a1.5 1.5 0 01-1.5 1.5",stroke:"currentColor",strokeWidth:"1.2",fill:"none"}),x:o.jsx("path",{d:"M2.5 2.5h3l8 11h-3zM13.5 2.5L9 7.6M2.5 13.5L7 8.4",stroke:"currentColor",strokeWidth:"1.3",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),bookmark:o.jsx("path",{d:"M4 2h8v12l-4-3-4 3V2z",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinejoin:"round"}),chart:o.jsx("path",{d:"M2 13h12M3 11l3-4 3 2 4-5",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),chat:o.jsx("path",{d:"M3 3h10v7H7l-3 3v-3H3V3z",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinejoin:"round"}),pdf:o.jsx("path",{d:"M5 2h5l3 3v9H5V2z",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinejoin:"round"}),copy:o.jsx("path",{d:"M5 5h7v8H5V5zM3 3h7v2M3 3v8h2",stroke:"currentColor",strokeWidth:"1.2",fill:"none",strokeLinejoin:"round"}),sparkle:o.jsx("path",{d:"M8 2l1.2 3.8L13 7l-3.8 1.2L8 12l-1.2-3.8L3 7l3.8-1.2L8 2z",fill:"currentColor"}),user:o.jsx("path",{d:"M8 8a3 3 0 100-6 3 3 0 000 6zM2 14c0-3 2.5-5 6-5s6 2 6 5",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round"}),globe:o.jsx("path",{d:"M8 1.5a6.5 6.5 0 100 13 6.5 6.5 0 000-13zM1.5 8h13M8 1.5c1.7 1.9 2.6 4.2 2.6 6.5s-.9 4.6-2.6 6.5M8 1.5C6.3 3.4 5.4 5.7 5.4 8s.9 4.6 2.6 6.5",stroke:"currentColor",strokeWidth:"1.2",fill:"none",strokeLinecap:"round"}),menu:o.jsx("path",{d:"M2 4h12M2 8h12M2 12h12",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"}),close:o.jsx("path",{d:"M3 3l10 10M13 3L3 13",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"}),pencil:o.jsx("path",{d:"M10.5 2.5l3 3L6 13H3v-3l7.5-7.5zM9 4l3 3",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),robot:o.jsx("path",{d:"M6 12.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5M3 8.062C3 6.76 4.235 5.765 5.53 5.886a26.6 26.6 0 0 0 4.94 0C11.765 5.765 13 6.76 13 8.062v1.157a.93.93 0 0 1-.765.935c-.845.147-2.34.346-4.235.346s-3.39-.2-4.235-.346A.93.93 0 0 1 3 9.219zm4.542-.827a.25.25 0 0 0-.217.068l-.92.9a25 25 0 0 1-1.871-.183a.25.25 0 0 0-.068.495c.55.076 1.232.149 2.02.193a.25.25 0 0 0 .189-.071l.754-.736l.847 1.71a.25.25 0 0 0 .404.062l.932-.97a25 25 0 0 0 1.922-.188a.25.25 0 0 0-.068-.495c-.538.074-1.207.145-1.98.189a.25.25 0 0 0-.166.076l-.754.785l-.842-1.7a.25.25 0 0 0-.182-.135M8.5 1.866a1 1 0 1 0-1 0V3h-2A4.5 4.5 0 0 0 1 7.5V8a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1v1a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-1a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1v-.5A4.5 4.5 0 0 0 10.5 3h-2zM14 7.5V13a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7.5A3.5 3.5 0 0 1 5.5 4h5A3.5 3.5 0 0 1 14 7.5",fill:"currentColor"})};return o.jsx("svg",{className:r===11?"icon-sm":"icon",viewBox:"0 0 16 16",width:r,height:r,children:e[t]})};export{s as I};
assets/{LatexTitle-GmCrtZ_I.js → LatexTitle-CXLW2LHS.js} RENAMED
@@ -1,2 +1,2 @@
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/katex-wklAmtGL.css"])))=>i.map(i=>d[i]);
2
- import{j as l,i as A,au as $}from"./index-BhKQv9LT.js";let g=null,L=null;function M(){return L??(L=Promise.all([$(()=>import("./katex-DkKDou_j.js"),[]),$(()=>Promise.resolve({}),__vite__mapDeps([0]))]).then(([n])=>(g=n.default,g))),L}const O=new Set([",",";",":","!"," ","quad","qquad","enspace","thinspace"]),S={a:"á",e:"é",i:"í",o:"ó",u:"ú",y:"ý",A:"Á",E:"É",I:"Í",O:"Ó",U:"Ú",Y:"Ý"},w={a:"à",e:"è",i:"ì",o:"ò",u:"ù",A:"À",E:"È",I:"Ì",O:"Ò",U:"Ù"},b={a:"â",e:"ê",i:"î",o:"ô",u:"û",A:"Â",E:"Ê",I:"Î",O:"Ô",U:"Û"},N={a:"ä",e:"ë",i:"ï",o:"ö",u:"ü",y:"ÿ",A:"Ä",E:"Ë",I:"Ï",O:"Ö",U:"Ü",Y:"Ÿ"},k={"'":S,"`":w,"^":b,'"':N,"~":{n:"ñ",N:"Ñ"}},T={ss:"ß",ae:"æ",AE:"Æ",oe:"œ",OE:"Œ",o:"ø",O:"Ø",l:"ł",L:"Ł"};function I(n,i){var e;return((e=k[n])==null?void 0:e[i])??null}function v(n,i){const e=n.indexOf("$",i+1);if(e===-1||!/\d/.test(n[i+1]??""))return e;for(let t=e;t!==-1;t=n.indexOf("$",t+1)){if(/\s/.test(n[t-1]))return-1;if(!/\d/.test(n[t+1]??""))return t}return-1}function U(n){const i=[];let e=0,t="";const r=()=>{t&&(i.push({type:"text",content:t}),t="")};for(;e<n.length;){if(n[e]==="$"&&n[e+1]==="$"){r();const o=n.indexOf("$$",e+2);if(o===-1){t+=n.slice(e);break}i.push({type:"display",content:n.slice(e+2,o)}),e=o+2;continue}if(n[e]==="$"){const o=v(n,e);if(o===-1){t+="$",e+=1;continue}r(),i.push({type:"inline",content:n.slice(e+1,o)}),e=o+1;continue}t+=n[e],e+=1}return r(),i}function d(n,i){if(n[i]!=="{")return null;let e=0;for(let t=i;t<n.length;t+=1)if(n[t]==="{")e+=1;else if(n[t]==="}"&&(e-=1,e===0))return{content:n.slice(i+1,t),end:t+1};return null}function j(n,i){let e=i+1;if(e>=n.length)return{name:"",end:e};if(!/[a-zA-Z]/.test(n[e]))return{name:n[e],end:e+1};const t=e;for(;e<n.length&&/[a-zA-Z]/.test(n[e]);)e+=1;return{name:n.slice(t,e),end:e}}function z(n,i){const e=n[i];if(e!=="^"&&e!=="_"||i+1>=n.length)return null;if(n[i+1]==="{"){const t=d(n,i+1);return t?{end:t.end}:null}return/[A-Za-z0-9+\-=.]/.test(n[i+1])?{end:i+2}:null}function y(n,i){let e=i;if(n[e]==="\\"){const{name:o,end:s}=j(n,e);if(!o)return null;if(e=s,n[e]==="{"){const a=d(n,e);a&&(e=a.end)}}else if(/[A-Za-z0-9]/.test(n[e])){let o=e+1;for(;o<n.length&&/[A-Za-z0-9]/.test(n[o]);)o+=1;if(n[o]!=="^"&&n[o]!=="_")return null;e=o}else return null;const t=i;let r=0;for(;e<n.length;){const o=z(n,e);if(!o)break;r+=1,e=o.end}return r===0?null:{latex:n.slice(t,e),end:e}}function X(n){return Array.from(new Set((n||"").trim().split(/\s+/).filter(Boolean))).sort((i,e)=>e.length-i.length)}function D(n,i,e){const t=X(i);if(!t.length)return[n];const r=t.map(s=>s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")),o=new RegExp(`(${r.join("|")})`,"gi");return n.split(o).filter(Boolean).map((s,a)=>t.some(h=>h.toLocaleLowerCase()===s.toLocaleLowerCase())?l.jsx("mark",{children:s},`${e}-mark-${a}`):s)}function m(n,i,e){const t=[];let r=0,o=0;const s=()=>`${i}-${o++}`,a=(h,f)=>h==="strong"?l.jsx("strong",{children:f},s()):l.jsx("em",{children:f},s());for(;r<n.length;){if(n[r]==="\\"){const{name:u,end:C}=j(n,r);if(r=C,T[u]){t.push(T[u]);continue}if(u.length===1&&r<n.length&&/[A-Za-z]/.test(n[r])){const c=I(u,n[r]);if(c){t.push(c),r+=1;continue}}if(u==="c"){const c=d(n,r);if((c==null?void 0:c.content.length)===1){const p={c:"ç",C:"Ç"}[c.content];if(p){t.push(p),r=c.end;continue}}}if(u==="textbf"||u==="mathbf"){const c=d(n,r);if(c){r=c.end,t.push(a("strong",m(c.content,s(),e)));continue}}if(u==="emph"||u==="textit"||u==="textsl"||u==="texttt"){const c=d(n,r);if(c){r=c.end,t.push(a("em",m(c.content,s(),e)));continue}}if(u==="color"||u==="textcolor"){const c=d(n,r);if(c){r=c.end;const p=d(n,r);p&&(r=p.end,t.push(...m(p.content,s(),e)));continue}}if(O.has(u)){t.push(" ");continue}if(u==="~"){t.push(" ");continue}const E=d(n,r);if(E){r=E.end,t.push(...m(E.content,s(),e));continue}t.push(`\\${u}`);continue}if(n[r]==="~"){t.push(" "),r+=1;continue}const h=y(n,r);if(h){t.push(l.jsx(_,{latex:h.latex,display:!1},s())),r=h.end;continue}let f=r;for(;f<n.length&&n[f]!=="\\"&&n[f]!=="~"&&!y(n,f);)f+=1;f>r&&t.push(...D(n.slice(r,f),e,s())),r=f}return t}function _({latex:n,display:i}){const[e,t]=A.useState(g);A.useEffect(()=>{if(e)return;let o=!0;return M().then(s=>{o&&t(()=>s)}),()=>{o=!1}},[e]);const r=A.useMemo(()=>{if(e)try{return e.renderToString(n.trim(),{displayMode:i,throwOnError:!1})}catch{return null}},[e,n,i]);return r===void 0?l.jsx(l.Fragment,{children:n}):r?l.jsx("span",{className:i?"katex-display":void 0,dangerouslySetInnerHTML:{__html:r}}):l.jsx(l.Fragment,{children:i?`$$${n}$$`:`$${n}$`})}function P(n,i){const e=U(n),t=[];return e.forEach((r,o)=>{const s=`latex-${o}`;if(r.type==="text"){const a=m(r.content,s,i);a.length===1?t.push(a[0]):a.length>1&&t.push(l.jsx(A.Fragment,{children:a},s));return}if(r.type==="display"){t.push(l.jsx(_,{latex:r.content,display:!0},s));return}t.push(l.jsx(_,{latex:r.content,display:!1},s))}),t.length===1?t[0]:l.jsx(l.Fragment,{children:t})}const R=({text:n,className:i="",highlight:e})=>{const t=A.useMemo(()=>P(n,e),[n,e]);return l.jsx("span",{className:i,children:t})},F=({title:n,className:i="",highlight:e})=>l.jsx(R,{text:n,className:i,highlight:e});export{F as L,R as a};
 
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/katex-wklAmtGL.css"])))=>i.map(i=>d[i]);
2
+ import{j as l,i as A,au as $}from"./index-B0aq-iar.js";let g=null,L=null;function M(){return L??(L=Promise.all([$(()=>import("./katex-DkKDou_j.js"),[]),$(()=>Promise.resolve({}),__vite__mapDeps([0]))]).then(([n])=>(g=n.default,g))),L}const O=new Set([",",";",":","!"," ","quad","qquad","enspace","thinspace"]),S={a:"á",e:"é",i:"í",o:"ó",u:"ú",y:"ý",A:"Á",E:"É",I:"Í",O:"Ó",U:"Ú",Y:"Ý"},w={a:"à",e:"è",i:"ì",o:"ò",u:"ù",A:"À",E:"È",I:"Ì",O:"Ò",U:"Ù"},b={a:"â",e:"ê",i:"î",o:"ô",u:"û",A:"Â",E:"Ê",I:"Î",O:"Ô",U:"Û"},N={a:"ä",e:"ë",i:"ï",o:"ö",u:"ü",y:"ÿ",A:"Ä",E:"Ë",I:"Ï",O:"Ö",U:"Ü",Y:"Ÿ"},k={"'":S,"`":w,"^":b,'"':N,"~":{n:"ñ",N:"Ñ"}},T={ss:"ß",ae:"æ",AE:"Æ",oe:"œ",OE:"Œ",o:"ø",O:"Ø",l:"ł",L:"Ł"};function I(n,i){var e;return((e=k[n])==null?void 0:e[i])??null}function v(n,i){const e=n.indexOf("$",i+1);if(e===-1||!/\d/.test(n[i+1]??""))return e;for(let t=e;t!==-1;t=n.indexOf("$",t+1)){if(/\s/.test(n[t-1]))return-1;if(!/\d/.test(n[t+1]??""))return t}return-1}function U(n){const i=[];let e=0,t="";const r=()=>{t&&(i.push({type:"text",content:t}),t="")};for(;e<n.length;){if(n[e]==="$"&&n[e+1]==="$"){r();const o=n.indexOf("$$",e+2);if(o===-1){t+=n.slice(e);break}i.push({type:"display",content:n.slice(e+2,o)}),e=o+2;continue}if(n[e]==="$"){const o=v(n,e);if(o===-1){t+="$",e+=1;continue}r(),i.push({type:"inline",content:n.slice(e+1,o)}),e=o+1;continue}t+=n[e],e+=1}return r(),i}function d(n,i){if(n[i]!=="{")return null;let e=0;for(let t=i;t<n.length;t+=1)if(n[t]==="{")e+=1;else if(n[t]==="}"&&(e-=1,e===0))return{content:n.slice(i+1,t),end:t+1};return null}function j(n,i){let e=i+1;if(e>=n.length)return{name:"",end:e};if(!/[a-zA-Z]/.test(n[e]))return{name:n[e],end:e+1};const t=e;for(;e<n.length&&/[a-zA-Z]/.test(n[e]);)e+=1;return{name:n.slice(t,e),end:e}}function z(n,i){const e=n[i];if(e!=="^"&&e!=="_"||i+1>=n.length)return null;if(n[i+1]==="{"){const t=d(n,i+1);return t?{end:t.end}:null}return/[A-Za-z0-9+\-=.]/.test(n[i+1])?{end:i+2}:null}function y(n,i){let e=i;if(n[e]==="\\"){const{name:o,end:s}=j(n,e);if(!o)return null;if(e=s,n[e]==="{"){const a=d(n,e);a&&(e=a.end)}}else if(/[A-Za-z0-9]/.test(n[e])){let o=e+1;for(;o<n.length&&/[A-Za-z0-9]/.test(n[o]);)o+=1;if(n[o]!=="^"&&n[o]!=="_")return null;e=o}else return null;const t=i;let r=0;for(;e<n.length;){const o=z(n,e);if(!o)break;r+=1,e=o.end}return r===0?null:{latex:n.slice(t,e),end:e}}function X(n){return Array.from(new Set((n||"").trim().split(/\s+/).filter(Boolean))).sort((i,e)=>e.length-i.length)}function D(n,i,e){const t=X(i);if(!t.length)return[n];const r=t.map(s=>s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")),o=new RegExp(`(${r.join("|")})`,"gi");return n.split(o).filter(Boolean).map((s,a)=>t.some(h=>h.toLocaleLowerCase()===s.toLocaleLowerCase())?l.jsx("mark",{children:s},`${e}-mark-${a}`):s)}function m(n,i,e){const t=[];let r=0,o=0;const s=()=>`${i}-${o++}`,a=(h,f)=>h==="strong"?l.jsx("strong",{children:f},s()):l.jsx("em",{children:f},s());for(;r<n.length;){if(n[r]==="\\"){const{name:u,end:C}=j(n,r);if(r=C,T[u]){t.push(T[u]);continue}if(u.length===1&&r<n.length&&/[A-Za-z]/.test(n[r])){const c=I(u,n[r]);if(c){t.push(c),r+=1;continue}}if(u==="c"){const c=d(n,r);if((c==null?void 0:c.content.length)===1){const p={c:"ç",C:"Ç"}[c.content];if(p){t.push(p),r=c.end;continue}}}if(u==="textbf"||u==="mathbf"){const c=d(n,r);if(c){r=c.end,t.push(a("strong",m(c.content,s(),e)));continue}}if(u==="emph"||u==="textit"||u==="textsl"||u==="texttt"){const c=d(n,r);if(c){r=c.end,t.push(a("em",m(c.content,s(),e)));continue}}if(u==="color"||u==="textcolor"){const c=d(n,r);if(c){r=c.end;const p=d(n,r);p&&(r=p.end,t.push(...m(p.content,s(),e)));continue}}if(O.has(u)){t.push(" ");continue}if(u==="~"){t.push(" ");continue}const E=d(n,r);if(E){r=E.end,t.push(...m(E.content,s(),e));continue}t.push(`\\${u}`);continue}if(n[r]==="~"){t.push(" "),r+=1;continue}const h=y(n,r);if(h){t.push(l.jsx(_,{latex:h.latex,display:!1},s())),r=h.end;continue}let f=r;for(;f<n.length&&n[f]!=="\\"&&n[f]!=="~"&&!y(n,f);)f+=1;f>r&&t.push(...D(n.slice(r,f),e,s())),r=f}return t}function _({latex:n,display:i}){const[e,t]=A.useState(g);A.useEffect(()=>{if(e)return;let o=!0;return M().then(s=>{o&&t(()=>s)}),()=>{o=!1}},[e]);const r=A.useMemo(()=>{if(e)try{return e.renderToString(n.trim(),{displayMode:i,throwOnError:!1})}catch{return null}},[e,n,i]);return r===void 0?l.jsx(l.Fragment,{children:n}):r?l.jsx("span",{className:i?"katex-display":void 0,dangerouslySetInnerHTML:{__html:r}}):l.jsx(l.Fragment,{children:i?`$$${n}$$`:`$${n}$`})}function P(n,i){const e=U(n),t=[];return e.forEach((r,o)=>{const s=`latex-${o}`;if(r.type==="text"){const a=m(r.content,s,i);a.length===1?t.push(a[0]):a.length>1&&t.push(l.jsx(A.Fragment,{children:a},s));return}if(r.type==="display"){t.push(l.jsx(_,{latex:r.content,display:!0},s));return}t.push(l.jsx(_,{latex:r.content,display:!1},s))}),t.length===1?t[0]:l.jsx(l.Fragment,{children:t})}const R=({text:n,className:i="",highlight:e})=>{const t=A.useMemo(()=>P(n,e),[n,e]);return l.jsx("span",{className:i,children:t})},F=({title:n,className:i="",highlight:e})=>l.jsx(R,{text:n,className:i,highlight:e});export{F as L,R as a};
assets/{LoadFailurePage-CF1gemwM.js → LoadFailurePage-BfvJBtL8.js} RENAMED
@@ -1 +1 @@
1
- import{m as t,j as r}from"./index-BhKQv9LT.js";import{A as i,a as s}from"./alert-zC2kYXtI.js";import a from"./NotFound-CkpULt19.js";function u(e,o){return e.some(t)?r.jsx(a,{}):e.some(Boolean)?r.jsx("div",{className:"page",children:r.jsx(i,{variant:"destructive",children:r.jsx(s,{children:o})})}):null}export{u as l};
 
1
+ import{m as t,j as r}from"./index-B0aq-iar.js";import{A as i,a as s}from"./alert-Cf45hSUq.js";import a from"./NotFound-iYKf4_7M.js";function u(e,o){return e.some(t)?r.jsx(a,{}):e.some(Boolean)?r.jsx("div",{className:"page",children:r.jsx(i,{variant:"destructive",children:r.jsx(s,{children:o})})}):null}export{u as l};
assets/{MarkdownText-lBRZb4lH.js → MarkdownText-BkbUXFCs.js} RENAMED
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/MathMarkdownText-B89HB4Jn.js","assets/index-BhKQv9LT.js","assets/index-DrEs8021.css","assets/index-BV27Nexp.js","assets/index-COKyUVjd.js","assets/katex-DkKDou_j.js","assets/PaperPreviewLink-5XV8BqLE.js","assets/index-dnSSilbj.js","assets/hover-card-CM5j_oBo.js","assets/useMutation-DPQn8VkK.js","assets/katex-wklAmtGL.css"])))=>i.map(i=>d[i]);
2
- import{K as d,j as a,i as m,L as p,au as h}from"./index-BhKQv9LT.js";import{r as x,P as f}from"./PaperPreviewLink-5XV8BqLE.js";import{M as w}from"./index-COKyUVjd.js";import{r as k}from"./index-dnSSilbj.js";function P(t){return(t??"").split(",").map(s=>s.trim().toLowerCase()).filter(Boolean)}const _=new Set(["paperswithcode.co","www.paperswithcode.co","localhost","127.0.0.1",...P(void 0)]),j=["/methods","/paper","/papers","/tasks","/benchmark","/conferences"];function I(t,s=window.location.origin){if(!t)return null;let r;if(t.startsWith("/"))r=t;else try{const e=new URL(t,s);if(!_.has(e.hostname))return null;r=`${e.pathname}${e.search}${e.hash}`}catch{return null}const n=r.split(/[?#]/,1)[0];return j.some(e=>n===e||n.startsWith(`${e}/`))?r:null}function M(t){const r=t.split(/[?#]/,1)[0].match(/^\/papers?\/([^/]+)$/);if(!r||r[1].includes("%"))return null;const n=r[1],e=/^\d{4}[.-]\d{4,5}(?:v\d+)?$/.test(n),c=/^[1-9]\d*$/.test(n);return!e&&!c?null:d(n)}function E(t){return/\$|\\\(|\\\[/.test(t)}const L=m.lazy(()=>h(()=>import("./MathMarkdownText-B89HB4Jn.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]))),u=({text:t,className:s="",rehypePlugins:r})=>a.jsx("div",{className:s,children:a.jsx(w,{remarkPlugins:[k,x],rehypePlugins:r,components:{a:({href:n,children:e,node:c,...i})=>{const o=I(n);if(o){const l=M(o);return l?a.jsx(f,{routeId:l,to:o,...i,children:e}):a.jsx(p,{to:o,...i,children:e})}return a.jsx("a",{href:n,target:"_blank",rel:"noopener noreferrer",...i,children:e})}},children:t})}),A=t=>E(t.text)?a.jsx(m.Suspense,{fallback:a.jsx(u,{...t}),children:a.jsx(L,{...t})}):a.jsx(u,{...t});export{A as M,u as a,I as r};
 
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/MathMarkdownText-DUGEVFuA.js","assets/index-B0aq-iar.js","assets/index-BzqanSFg.css","assets/index-DtKbyjDr.js","assets/index-B9qpvwaI.js","assets/katex-DkKDou_j.js","assets/PaperPreviewLink-4dmR6yPp.js","assets/index-16KodlFR.js","assets/hover-card-B_kWNxjX.js","assets/useMutation-DxP7YVP3.js","assets/katex-wklAmtGL.css"])))=>i.map(i=>d[i]);
2
+ import{K as d,j as a,i as m,L as p,au as h}from"./index-B0aq-iar.js";import{r as x,P as f}from"./PaperPreviewLink-4dmR6yPp.js";import{M as w}from"./index-B9qpvwaI.js";import{r as k}from"./index-16KodlFR.js";function P(t){return(t??"").split(",").map(s=>s.trim().toLowerCase()).filter(Boolean)}const _=new Set(["paperswithcode.co","www.paperswithcode.co","localhost","127.0.0.1",...P(void 0)]),j=["/methods","/paper","/papers","/tasks","/benchmark","/conferences"];function I(t,s=window.location.origin){if(!t)return null;let r;if(t.startsWith("/"))r=t;else try{const e=new URL(t,s);if(!_.has(e.hostname))return null;r=`${e.pathname}${e.search}${e.hash}`}catch{return null}const n=r.split(/[?#]/,1)[0];return j.some(e=>n===e||n.startsWith(`${e}/`))?r:null}function M(t){const r=t.split(/[?#]/,1)[0].match(/^\/papers?\/([^/]+)$/);if(!r||r[1].includes("%"))return null;const n=r[1],e=/^\d{4}[.-]\d{4,5}(?:v\d+)?$/.test(n),c=/^[1-9]\d*$/.test(n);return!e&&!c?null:d(n)}function E(t){return/\$|\\\(|\\\[/.test(t)}const L=m.lazy(()=>h(()=>import("./MathMarkdownText-DUGEVFuA.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]))),u=({text:t,className:s="",rehypePlugins:r})=>a.jsx("div",{className:s,children:a.jsx(w,{remarkPlugins:[k,x],rehypePlugins:r,components:{a:({href:n,children:e,node:c,...i})=>{const o=I(n);if(o){const l=M(o);return l?a.jsx(f,{routeId:l,to:o,...i,children:e}):a.jsx(p,{to:o,...i,children:e})}return a.jsx("a",{href:n,target:"_blank",rel:"noopener noreferrer",...i,children:e})}},children:t})}),A=t=>E(t.text)?a.jsx(m.Suspense,{fallback:a.jsx(u,{...t}),children:a.jsx(L,{...t})}):a.jsx(u,{...t});export{A as M,u as a,I as r};
assets/MathMarkdownText-B89HB4Jn.js DELETED
@@ -1 +0,0 @@
1
- import{j as o}from"./index-BhKQv9LT.js";/* empty css */import{a as t}from"./MarkdownText-lBRZb4lH.js";import{r as m}from"./index-BV27Nexp.js";import"./PaperPreviewLink-5XV8BqLE.js";import"./index-COKyUVjd.js";import"./index-dnSSilbj.js";import"./hover-card-CM5j_oBo.js";import"./useMutation-DPQn8VkK.js";import"./katex-DkKDou_j.js";const j=r=>o.jsx(t,{...r,rehypePlugins:[m]});export{j as default};
 
 
assets/MathMarkdownText-DUGEVFuA.js ADDED
@@ -0,0 +1 @@
 
 
1
+ import{j as o}from"./index-B0aq-iar.js";/* empty css */import{a as t}from"./MarkdownText-BkbUXFCs.js";import{r as m}from"./index-DtKbyjDr.js";import"./PaperPreviewLink-4dmR6yPp.js";import"./index-B9qpvwaI.js";import"./index-16KodlFR.js";import"./hover-card-B_kWNxjX.js";import"./useMutation-DxP7YVP3.js";import"./katex-DkKDou_j.js";const j=r=>o.jsx(t,{...r,rehypePlugins:[m]});export{j as default};
assets/{McpShowcase-vY65GwKh.js → McpShowcase-BgXu7zJj.js} RENAMED
@@ -1 +1 @@
1
- import{j as e,L as t}from"./index-BhKQv9LT.js";import{A as a}from"./AgentLogos-Da2yWlH1.js";function n({className:s="",canNavigate:r}){return e.jsxs("div",{className:`sidebar-section sidebar-section-tools ${s}`.trim(),children:[e.jsx("div",{className:"sidebar-label",children:"Use PwC with your agent"}),e.jsxs(t,{to:"/mcp",className:"action-btn sidebar-tools-mcp",title:"Connect Claude, Codex, Cursor, or OpenCode to the PwC MCP server",onClick:o=>{r&&!r()&&o.preventDefault()},children:["MCP server",e.jsx(a,{})]}),e.jsxs("p",{className:"sidebar-tools-copy",children:["Search papers, benchmarks, and leaderboards from any MCP client, or from the terminal with the"," ",e.jsxs("a",{href:"https://github.com/huggingface/pwc-cli",target:"_blank",rel:"noreferrer",children:[e.jsx("code",{children:"pwc"})," CLI"]}),"."]})]})}export{n as M};
 
1
+ import{j as e,L as t}from"./index-B0aq-iar.js";import{A as a}from"./AgentLogos-x9Ckr4O1.js";function n({className:s="",canNavigate:r}){return e.jsxs("div",{className:`sidebar-section sidebar-section-tools ${s}`.trim(),children:[e.jsx("div",{className:"sidebar-label",children:"Use PwC with your agent"}),e.jsxs(t,{to:"/mcp",className:"action-btn sidebar-tools-mcp",title:"Connect Claude, Codex, Cursor, or OpenCode to the PwC MCP server",onClick:o=>{r&&!r()&&o.preventDefault()},children:["MCP server",e.jsx(a,{})]}),e.jsxs("p",{className:"sidebar-tools-copy",children:["Search papers, benchmarks, and leaderboards from any MCP client, or from the terminal with the"," ",e.jsxs("a",{href:"https://github.com/huggingface/pwc-cli",target:"_blank",rel:"noreferrer",children:[e.jsx("code",{children:"pwc"})," CLI"]}),"."]})]})}export{n as M};
assets/{McpView-DUS7fpyg.js → McpView-ZimdUhSJ.js} RENAMED
@@ -1 +1 @@
1
- import{at as b,b as x,ad as m,j as e,C as j}from"./index-BhKQv9LT.js";import{u as g,f}from"./useDocumentTitle-DGWKz2sg.js";import{G as y}from"./github-BHTeSn1j.js";import{A as v}from"./arrow-up-right-C2M2QrCR.js";import{E as o}from"./external-link-BpPkGH8G.js";import{C as w}from"./copy-D_QYCYs1.js";const h="https://paperswithcode.co/mcp",k="https://staging.paperswithcode.co/mcp";function u(s){const a=typeof window>"u"?void 0:window.location;return a?a.hostname==="staging.paperswithcode.co"?k:a.hostname==="paperswithcode.co"||a.hostname==="www.paperswithcode.co"?h:`${a.origin.replace(/\/$/,"")}/mcp`:h}function C(s){if(!s||typeof s!="object"||s.status!=="ok"||s.service!=="pwc-mcp"||typeof s.version!="string"||typeof s.protocol!="string")throw new Error("MCP health response is invalid");return s}async function N(s){const a=new AbortController,c=()=>a.abort();s==null||s.addEventListener("abort",c,{once:!0});const n=window.setTimeout(c,5e3);try{const t=await fetch(`${u()}/health`,{headers:{Accept:"application/json"},signal:a.signal,credentials:"omit"});if(!t.ok)throw new Error("MCP service is unavailable");return C(await t.json())}finally{window.clearTimeout(n),s==null||s.removeEventListener("abort",c)}}const P=()=>b({queryKey:["mcp","health"],queryFn:({signal:s})=>N(s),retry:!1,staleTime:3e4,refetchInterval:6e4}),_=[["search_papers","Search by topic, title, author, or arXiv ID."],["list_papers","Filter and order papers by taxonomy, venue, date, or organization."],["get_paper_info","Read canonical metadata, authors, abstract, links, and resources."],["read_paper","Read stored paper Markdown with safe continuation for long papers."],["list_recent_papers","Browse the most recently indexed research."],["get_related_papers","Find related work already indexed in the catalogue."],["list_trending_papers","Discover papers with recent repository momentum."],["get_paper_evaluations","Inspect benchmark results reported by one paper."],["get_paper_lineage","Follow explicit predecessor and successor relationships."],["list_tasks","Search tasks and retrieve stable slugs for exact lookup."],["get_task","Inspect a research task and its benchmark coverage."],["list_methods","Search methods and retrieve stable slugs for exact lookup."],["get_method","Inspect a method, its source paper, and catalogue metadata."],["list_conferences","Browse conferences with imported papers."],["get_conference","Inspect one exact conference edition."],["list_organizations","Browse research organizations."],["get_organization","Inspect one exact research organization."],["list_frameworks","Browse frameworks by domain, category, or platform."],["get_framework","Inspect one exact research framework."],["list_benchmarks","Browse and filter benchmark leaderboards."],["get_benchmark","Read one benchmark, metrics, datasets, and leading results."]],S=["pwc://papers/{paper}","pwc://papers/{paper}/markdown","pwc://tasks/{task}","pwc://benchmarks/{benchmark}"],T=["Find recent papers on test-time compute and summarize the main approaches.","Compare the methods and reported benchmarks in these three arXiv papers.","What are the leading benchmarks for text-to-video generation?","Trace the predecessor and successor papers for Mamba."],d=[{key:"chatgpt",label:"ChatGPT",summary:"In workspace developer settings, add a custom MCP app and paste the server URL. Availability and admin approval vary by plan."},{key:"claude",label:"Claude",summary:"Open Settings → Connectors → Add custom connector, paste the URL, then enable Papers With Code from Search and tools."},{key:"claude-code",label:"Claude Code",summary:"Add the anonymous Streamable HTTP server from a terminal.",code:s=>`claude mcp add --transport http paperswithcode ${s}`},{key:"cursor",label:"Cursor",summary:"Add this entry to your project or user MCP configuration.",code:s=>JSON.stringify({mcpServers:{paperswithcode:{url:s}}},null,2)},{key:"vscode",label:"VS Code",summary:"Add this Streamable HTTP server to .vscode/mcp.json.",code:s=>JSON.stringify({servers:{paperswithcode:{type:"http",url:s}}},null,2)},{key:"generic",label:"Generic",summary:"Configure an anonymous, stateless Streamable HTTP server using the URL below. No API key or OAuth flow is required."}],l=({value:s,label:a})=>{const[c,n]=m.useState(!1),t=async()=>{var i;(i=navigator.clipboard)!=null&&i.writeText&&(await navigator.clipboard.writeText(s),n(!0),window.setTimeout(()=>n(!1),1500))};return e.jsxs("button",{className:"action-btn mcp-copy",type:"button",onClick:()=>void t(),"aria-label":a,children:[c?e.jsx(j,{size:16,"aria-hidden":!0}):e.jsx(w,{size:16,"aria-hidden":!0}),c?"Copied":"Copy"]})},O=()=>{var i;const s=u(),a=x(P()),[c,n]=m.useState("chatgpt"),t=d.find(r=>r.key===c)??d[0];return g(f("MCP Server")),e.jsxs("article",{className:"page mcp-page",children:[e.jsxs("a",{className:"mcp-repo-banner",href:"https://github.com/huggingface/pwc-cli",target:"_blank",rel:"noreferrer",children:[e.jsx(y,{size:20,"aria-hidden":!0}),e.jsxs("span",{children:[e.jsx("strong",{children:"huggingface/pwc-cli"}),e.jsxs("span",{children:["Open-source MCP server and ",e.jsx("code",{children:"pwc"})," command-line client"]})]}),e.jsxs("span",{className:"mcp-repo-cta",children:["View on GitHub ",e.jsx(v,{size:14,"aria-hidden":!0})]})]}),e.jsxs("header",{className:"mcp-hero",children:[e.jsxs("div",{children:[e.jsx("p",{className:"sidebar-label mcp-kicker",children:"Model Context Protocol"}),e.jsx("h1",{className:"feed-title",children:"Use Papers With Code in your AI assistant"}),e.jsx("p",{className:"mcp-lede",children:"Search research, inspect methods and benchmarks, and read complete papers through one anonymous, read-only MCP connection."}),e.jsxs("div",{className:"mcp-status","aria-live":"polite",children:[e.jsx("span",{className:a.isSuccess?"is-up":"is-unknown","aria-hidden":!0}),a.isSuccess?"Operational":"Status unavailable",a.data?` · v${a.data.version}`:""]})]}),e.jsxs("div",{className:"mcp-endpoint-card",children:[e.jsx("span",{children:"Remote MCP URL"}),e.jsx("code",{children:s}),e.jsx(l,{value:s,label:"Copy MCP server URL"})]})]}),e.jsxs("section",{className:"mcp-section","aria-labelledby":"mcp-connect",children:[e.jsxs("div",{className:"mcp-section-heading",children:[e.jsx("p",{className:"sidebar-label",children:"Connect"}),e.jsx("h2",{id:"mcp-connect",children:"One URL, your preferred client"}),e.jsx("span",{children:"Setup matrix reviewed September 13, 2026; staging qualification pending."})]}),e.jsx("div",{className:"mcp-client-tabs",role:"tablist","aria-label":"MCP client setup",children:d.map(r=>e.jsx("button",{type:"button",role:"tab","aria-selected":c===r.key,onClick:()=>n(r.key),children:r.label},r.key))}),e.jsxs("div",{className:"mcp-setup",role:"tabpanel",children:[e.jsx("p",{children:t.summary}),t.code?e.jsxs("div",{className:"mcp-code-row",children:[e.jsx("pre",{children:e.jsx("code",{children:t.code(s)})}),e.jsx(l,{value:t.code(s),label:`Copy ${t.label} setup`})]}):e.jsxs("div",{className:"mcp-code-row",children:[e.jsx("pre",{children:e.jsx("code",{children:s})}),e.jsx(l,{value:s,label:`Copy ${t.label} endpoint`})]})]})]}),e.jsxs("section",{className:"mcp-section","aria-labelledby":"mcp-capabilities",children:[e.jsxs("div",{className:"mcp-section-heading",children:[e.jsx("p",{className:"sidebar-label",children:"Capabilities"}),e.jsx("h2",{id:"mcp-capabilities",children:"Research context, structured for assistants"})]}),e.jsx("div",{className:"mcp-capability-grid",children:[["Discover","Search recent and established work with catalogue filters."],["Read","Continue through long stored papers without presenting a partial document as complete."],["Connect","Explore related work, paper lineage, tasks, and methods."],["Compare","Inspect benchmarks, datasets, metrics, and reported evaluations."]].map(([r,p])=>e.jsxs("div",{children:[e.jsx("h3",{children:r}),e.jsx("p",{children:p})]},r))})]}),e.jsxs("section",{className:"mcp-section","aria-labelledby":"mcp-tools",children:[e.jsxs("div",{className:"mcp-section-heading",children:[e.jsx("p",{className:"sidebar-label",children:"Catalogue"}),e.jsx("h2",{id:"mcp-tools",children:"Twenty-one focused, read-only tools"})]}),e.jsx("div",{className:"mcp-tool-grid",children:_.map(([r,p])=>e.jsxs("div",{className:"mcp-tool",children:[e.jsx("code",{children:r}),e.jsx("p",{children:p})]},r))}),e.jsx("h3",{className:"mcp-subheading",children:"Resource templates"}),e.jsx("div",{className:"mcp-resource-list",children:S.map(r=>e.jsx("code",{children:r},r))})]}),e.jsxs("section",{className:"mcp-section","aria-labelledby":"mcp-prompts",children:[e.jsxs("div",{className:"mcp-section-heading",children:[e.jsx("p",{className:"sidebar-label",children:"Try asking"}),e.jsx("h2",{id:"mcp-prompts",children:"Prompts that start useful research"})]}),e.jsx("div",{className:"mcp-prompt-list",children:T.map(r=>e.jsxs("div",{children:[e.jsx("p",{children:r}),e.jsx(l,{value:r,label:"Copy example prompt"})]},r))})]}),e.jsxs("section",{className:"mcp-section mcp-notes","aria-labelledby":"mcp-limits",children:[e.jsxs("div",{children:[e.jsx("p",{className:"sidebar-label mcp-kicker",children:"Limits & privacy"}),e.jsx("h2",{id:"mcp-limits",children:"Public by design"}),e.jsx("p",{children:"No account, API key, or write access. Fair-use limits are 60 total requests per minute, 10 semantic searches per minute, four concurrent requests per client, and 25 list results per call."}),e.jsx("p",{children:"MCP telemetry retains tool name, status, latency, response size, protocol, and server version—not prompts, paper IDs, cursors, resource URIs, raw IPs, authorization values, or bodies. Catalogue infrastructure has its own operational logging policy."})]}),e.jsxs("div",{children:[e.jsx("p",{className:"sidebar-label mcp-kicker",children:"Protocol & troubleshooting"}),e.jsx("h2",{children:"Streamable HTTP"}),e.jsxs("p",{children:["Primary protocol: ",((i=a.data)==null?void 0:i.protocol)??"verified during connection setup",". If setup fails, confirm your client supports remote Streamable HTTP, that custom servers are enabled by your workspace administrator, and that you pasted the URL exactly."]}),e.jsxs("nav",{className:"mcp-links","aria-label":"MCP documentation links",children:[e.jsxs("a",{href:"https://github.com/huggingface/pwc-cli",target:"_blank",rel:"noreferrer",children:["CLI repository ",e.jsx(o,{size:13})]}),e.jsxs("a",{href:"https://modelcontextprotocol.io/specification/2025-11-25",target:"_blank",rel:"noreferrer",children:["MCP specification ",e.jsx(o,{size:13})]}),e.jsxs("a",{href:"/docs",target:"_blank",rel:"noreferrer",children:["Public API ",e.jsx(o,{size:13})]}),e.jsxs("a",{href:"/mcp/schema",target:"_blank",rel:"noreferrer",children:["MCP tool schema ",e.jsx(o,{size:13})]}),e.jsxs("a",{href:"/llms.txt",target:"_blank",rel:"noreferrer",children:["llms.txt ",e.jsx(o,{size:13})]})]})]})]})]})};export{O as default};
 
1
+ import{at as b,b as x,ad as m,j as e,C as j}from"./index-B0aq-iar.js";import{u as g,f}from"./useDocumentTitle-gwKq10Vr.js";import{G as y}from"./github-B5cOzUdz.js";import{A as v}from"./arrow-up-right-B6bV_Cct.js";import{E as o}from"./external-link-CWjWR91l.js";import{C as w}from"./copy-DmgKnhAK.js";const h="https://paperswithcode.co/mcp",k="https://staging.paperswithcode.co/mcp";function u(s){const a=typeof window>"u"?void 0:window.location;return a?a.hostname==="staging.paperswithcode.co"?k:a.hostname==="paperswithcode.co"||a.hostname==="www.paperswithcode.co"?h:`${a.origin.replace(/\/$/,"")}/mcp`:h}function C(s){if(!s||typeof s!="object"||s.status!=="ok"||s.service!=="pwc-mcp"||typeof s.version!="string"||typeof s.protocol!="string")throw new Error("MCP health response is invalid");return s}async function N(s){const a=new AbortController,c=()=>a.abort();s==null||s.addEventListener("abort",c,{once:!0});const n=window.setTimeout(c,5e3);try{const t=await fetch(`${u()}/health`,{headers:{Accept:"application/json"},signal:a.signal,credentials:"omit"});if(!t.ok)throw new Error("MCP service is unavailable");return C(await t.json())}finally{window.clearTimeout(n),s==null||s.removeEventListener("abort",c)}}const P=()=>b({queryKey:["mcp","health"],queryFn:({signal:s})=>N(s),retry:!1,staleTime:3e4,refetchInterval:6e4}),_=[["search_papers","Search by topic, title, author, or arXiv ID."],["list_papers","Filter and order papers by taxonomy, venue, date, or organization."],["get_paper_info","Read canonical metadata, authors, abstract, links, and resources."],["read_paper","Read stored paper Markdown with safe continuation for long papers."],["list_recent_papers","Browse the most recently indexed research."],["get_related_papers","Find related work already indexed in the catalogue."],["list_trending_papers","Discover papers with recent repository momentum."],["get_paper_evaluations","Inspect benchmark results reported by one paper."],["get_paper_lineage","Follow explicit predecessor and successor relationships."],["list_tasks","Search tasks and retrieve stable slugs for exact lookup."],["get_task","Inspect a research task and its benchmark coverage."],["list_methods","Search methods and retrieve stable slugs for exact lookup."],["get_method","Inspect a method, its source paper, and catalogue metadata."],["list_conferences","Browse conferences with imported papers."],["get_conference","Inspect one exact conference edition."],["list_organizations","Browse research organizations."],["get_organization","Inspect one exact research organization."],["list_frameworks","Browse frameworks by domain, category, or platform."],["get_framework","Inspect one exact research framework."],["list_benchmarks","Browse and filter benchmark leaderboards."],["get_benchmark","Read one benchmark, metrics, datasets, and leading results."]],S=["pwc://papers/{paper}","pwc://papers/{paper}/markdown","pwc://tasks/{task}","pwc://benchmarks/{benchmark}"],T=["Find recent papers on test-time compute and summarize the main approaches.","Compare the methods and reported benchmarks in these three arXiv papers.","What are the leading benchmarks for text-to-video generation?","Trace the predecessor and successor papers for Mamba."],d=[{key:"chatgpt",label:"ChatGPT",summary:"In workspace developer settings, add a custom MCP app and paste the server URL. Availability and admin approval vary by plan."},{key:"claude",label:"Claude",summary:"Open Settings → Connectors → Add custom connector, paste the URL, then enable Papers With Code from Search and tools."},{key:"claude-code",label:"Claude Code",summary:"Add the anonymous Streamable HTTP server from a terminal.",code:s=>`claude mcp add --transport http paperswithcode ${s}`},{key:"cursor",label:"Cursor",summary:"Add this entry to your project or user MCP configuration.",code:s=>JSON.stringify({mcpServers:{paperswithcode:{url:s}}},null,2)},{key:"vscode",label:"VS Code",summary:"Add this Streamable HTTP server to .vscode/mcp.json.",code:s=>JSON.stringify({servers:{paperswithcode:{type:"http",url:s}}},null,2)},{key:"generic",label:"Generic",summary:"Configure an anonymous, stateless Streamable HTTP server using the URL below. No API key or OAuth flow is required."}],l=({value:s,label:a})=>{const[c,n]=m.useState(!1),t=async()=>{var i;(i=navigator.clipboard)!=null&&i.writeText&&(await navigator.clipboard.writeText(s),n(!0),window.setTimeout(()=>n(!1),1500))};return e.jsxs("button",{className:"action-btn mcp-copy",type:"button",onClick:()=>void t(),"aria-label":a,children:[c?e.jsx(j,{size:16,"aria-hidden":!0}):e.jsx(w,{size:16,"aria-hidden":!0}),c?"Copied":"Copy"]})},O=()=>{var i;const s=u(),a=x(P()),[c,n]=m.useState("chatgpt"),t=d.find(r=>r.key===c)??d[0];return g(f("MCP Server")),e.jsxs("article",{className:"page mcp-page",children:[e.jsxs("a",{className:"mcp-repo-banner",href:"https://github.com/huggingface/pwc-cli",target:"_blank",rel:"noreferrer",children:[e.jsx(y,{size:20,"aria-hidden":!0}),e.jsxs("span",{children:[e.jsx("strong",{children:"huggingface/pwc-cli"}),e.jsxs("span",{children:["Open-source MCP server and ",e.jsx("code",{children:"pwc"})," command-line client"]})]}),e.jsxs("span",{className:"mcp-repo-cta",children:["View on GitHub ",e.jsx(v,{size:14,"aria-hidden":!0})]})]}),e.jsxs("header",{className:"mcp-hero",children:[e.jsxs("div",{children:[e.jsx("p",{className:"sidebar-label mcp-kicker",children:"Model Context Protocol"}),e.jsx("h1",{className:"feed-title",children:"Use Papers With Code in your AI assistant"}),e.jsx("p",{className:"mcp-lede",children:"Search research, inspect methods and benchmarks, and read complete papers through one anonymous, read-only MCP connection."}),e.jsxs("div",{className:"mcp-status","aria-live":"polite",children:[e.jsx("span",{className:a.isSuccess?"is-up":"is-unknown","aria-hidden":!0}),a.isSuccess?"Operational":"Status unavailable",a.data?` · v${a.data.version}`:""]})]}),e.jsxs("div",{className:"mcp-endpoint-card",children:[e.jsx("span",{children:"Remote MCP URL"}),e.jsx("code",{children:s}),e.jsx(l,{value:s,label:"Copy MCP server URL"})]})]}),e.jsxs("section",{className:"mcp-section","aria-labelledby":"mcp-connect",children:[e.jsxs("div",{className:"mcp-section-heading",children:[e.jsx("p",{className:"sidebar-label",children:"Connect"}),e.jsx("h2",{id:"mcp-connect",children:"One URL, your preferred client"}),e.jsx("span",{children:"Setup matrix reviewed September 13, 2026; staging qualification pending."})]}),e.jsx("div",{className:"mcp-client-tabs",role:"tablist","aria-label":"MCP client setup",children:d.map(r=>e.jsx("button",{type:"button",role:"tab","aria-selected":c===r.key,onClick:()=>n(r.key),children:r.label},r.key))}),e.jsxs("div",{className:"mcp-setup",role:"tabpanel",children:[e.jsx("p",{children:t.summary}),t.code?e.jsxs("div",{className:"mcp-code-row",children:[e.jsx("pre",{children:e.jsx("code",{children:t.code(s)})}),e.jsx(l,{value:t.code(s),label:`Copy ${t.label} setup`})]}):e.jsxs("div",{className:"mcp-code-row",children:[e.jsx("pre",{children:e.jsx("code",{children:s})}),e.jsx(l,{value:s,label:`Copy ${t.label} endpoint`})]})]})]}),e.jsxs("section",{className:"mcp-section","aria-labelledby":"mcp-capabilities",children:[e.jsxs("div",{className:"mcp-section-heading",children:[e.jsx("p",{className:"sidebar-label",children:"Capabilities"}),e.jsx("h2",{id:"mcp-capabilities",children:"Research context, structured for assistants"})]}),e.jsx("div",{className:"mcp-capability-grid",children:[["Discover","Search recent and established work with catalogue filters."],["Read","Continue through long stored papers without presenting a partial document as complete."],["Connect","Explore related work, paper lineage, tasks, and methods."],["Compare","Inspect benchmarks, datasets, metrics, and reported evaluations."]].map(([r,p])=>e.jsxs("div",{children:[e.jsx("h3",{children:r}),e.jsx("p",{children:p})]},r))})]}),e.jsxs("section",{className:"mcp-section","aria-labelledby":"mcp-tools",children:[e.jsxs("div",{className:"mcp-section-heading",children:[e.jsx("p",{className:"sidebar-label",children:"Catalogue"}),e.jsx("h2",{id:"mcp-tools",children:"Twenty-one focused, read-only tools"})]}),e.jsx("div",{className:"mcp-tool-grid",children:_.map(([r,p])=>e.jsxs("div",{className:"mcp-tool",children:[e.jsx("code",{children:r}),e.jsx("p",{children:p})]},r))}),e.jsx("h3",{className:"mcp-subheading",children:"Resource templates"}),e.jsx("div",{className:"mcp-resource-list",children:S.map(r=>e.jsx("code",{children:r},r))})]}),e.jsxs("section",{className:"mcp-section","aria-labelledby":"mcp-prompts",children:[e.jsxs("div",{className:"mcp-section-heading",children:[e.jsx("p",{className:"sidebar-label",children:"Try asking"}),e.jsx("h2",{id:"mcp-prompts",children:"Prompts that start useful research"})]}),e.jsx("div",{className:"mcp-prompt-list",children:T.map(r=>e.jsxs("div",{children:[e.jsx("p",{children:r}),e.jsx(l,{value:r,label:"Copy example prompt"})]},r))})]}),e.jsxs("section",{className:"mcp-section mcp-notes","aria-labelledby":"mcp-limits",children:[e.jsxs("div",{children:[e.jsx("p",{className:"sidebar-label mcp-kicker",children:"Limits & privacy"}),e.jsx("h2",{id:"mcp-limits",children:"Public by design"}),e.jsx("p",{children:"No account, API key, or write access. Fair-use limits are 60 total requests per minute, 10 semantic searches per minute, four concurrent requests per client, and 25 list results per call."}),e.jsx("p",{children:"MCP telemetry retains tool name, status, latency, response size, protocol, and server version—not prompts, paper IDs, cursors, resource URIs, raw IPs, authorization values, or bodies. Catalogue infrastructure has its own operational logging policy."})]}),e.jsxs("div",{children:[e.jsx("p",{className:"sidebar-label mcp-kicker",children:"Protocol & troubleshooting"}),e.jsx("h2",{children:"Streamable HTTP"}),e.jsxs("p",{children:["Primary protocol: ",((i=a.data)==null?void 0:i.protocol)??"verified during connection setup",". If setup fails, confirm your client supports remote Streamable HTTP, that custom servers are enabled by your workspace administrator, and that you pasted the URL exactly."]}),e.jsxs("nav",{className:"mcp-links","aria-label":"MCP documentation links",children:[e.jsxs("a",{href:"https://github.com/huggingface/pwc-cli",target:"_blank",rel:"noreferrer",children:["CLI repository ",e.jsx(o,{size:13})]}),e.jsxs("a",{href:"https://modelcontextprotocol.io/specification/2025-11-25",target:"_blank",rel:"noreferrer",children:["MCP specification ",e.jsx(o,{size:13})]}),e.jsxs("a",{href:"/docs",target:"_blank",rel:"noreferrer",children:["Public API ",e.jsx(o,{size:13})]}),e.jsxs("a",{href:"/mcp/schema",target:"_blank",rel:"noreferrer",children:["MCP tool schema ",e.jsx(o,{size:13})]}),e.jsxs("a",{href:"/llms.txt",target:"_blank",rel:"noreferrer",children:["llms.txt ",e.jsx(o,{size:13})]})]})]})]})]})};export{O as default};
assets/{MethodDetailView-BjDrYrJT.js → MethodDetailView-riKYYg3k.js} RENAMED
@@ -1 +1 @@
1
- import{j as e,i as D,u as T,b as k,x as v,E as $,y as B,L as _}from"./index-BhKQv9LT.js";import{R as H}from"./ResearchFollowButton-CP34FBeP.js";import{M as R}from"./SotaBadges-CcS46IjG.js";import{d as V,u as Q,e as G,P as O}from"./usePapers-Cuyi1itG.js";import{r as U,M as z}from"./MarkdownText-lBRZb4lH.js";import{s as W}from"./slug-BpH-Nkvz.js";import{t as K}from"./transform-BzmXOpxt.js";import{S as b}from"./skeleton-BkbzA0oF.js";import{s as Z}from"./safeExternalHref-CkBrsh84.js";import q from"./NotFound-CkpULt19.js";import{l as X}from"./LoadFailurePage-CF1gemwM.js";import{u as Y}from"./useDocumentTitle-DGWKz2sg.js";import{e as J}from"./pageTitles-Cv5SviVf.js";import"./researchTopic-BP-u0rIC.js";import"./useMutation-DPQn8VkK.js";import"./FollowerAvatar-CdsnfvtL.js";import"./plus-Da5UgLnk.js";import"./colors-BkWRhvFI.js";import"./PaperCard-CSOLEzIX.js";import"./AuthorAvatar-DfcP8J6o.js";import"./Icon-Cdqu8Hq_.js";import"./LatexTitle-GmCrtZ_I.js";import"./popover-DoQl9nzw.js";import"./useIntersectionObserver-M_MEUmwh.js";import"./useInfiniteQuery-Ba0y0o7Y.js";import"./PaperPreviewLink-5XV8BqLE.js";import"./index-COKyUVjd.js";import"./index-dnSSilbj.js";import"./hover-card-CM5j_oBo.js";import"./alert-zC2kYXtI.js";const t={pink:"#F8D7D9",pinkS:"#D9B0B3",yellow:"#FBEFC2",yellowS:"#C9B97D",orange:"#F8D7B3",orangeS:"#C99466",blue:"#CDE2EE",blueS:"#7FA4BA",purple:"#D4D2EA",purpleS:"#8E8AC0",green:"#CCE2C5",greenS:"#7DA475",ink:"#1A1814",faint:"#8E8678"},n=({x:s,y:r,w:l,h:d,fill:o,stroke:p,label:h,fontSize:c=10})=>e.jsxs("g",{children:[e.jsx("rect",{x:s,y:r,width:l,height:d,rx:"3",ry:"3",fill:o,stroke:p,strokeWidth:"1"}),e.jsx("text",{x:s+l/2,y:r+d/2,fontSize:c,fontFamily:"var(--sans)",fill:t.ink,textAnchor:"middle",dominantBaseline:"middle",children:h})]}),ee=()=>e.jsxs("svg",{viewBox:"0 0 360 420",width:"100%",height:"100%",style:{display:"block"},children:[e.jsx("text",{x:"180",y:"20",fontSize:"11",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.faint,textAnchor:"middle",children:"Scaled Dot-Product Attention"}),e.jsx(n,{x:140,y:40,w:80,h:26,fill:t.yellow,stroke:t.yellowS,label:"MatMul",fontSize:11}),e.jsx("path",{d:"M180 66 L180 80",stroke:t.ink}),e.jsx(n,{x:140,y:80,w:80,h:26,fill:t.green,stroke:t.greenS,label:"SoftMax",fontSize:11}),e.jsx("path",{d:"M180 106 L180 120",stroke:t.ink}),e.jsx(n,{x:140,y:120,w:80,h:26,fill:t.purple,stroke:t.purpleS,label:"Mask (opt.)",fontSize:11}),e.jsx("path",{d:"M180 146 L180 160",stroke:t.ink}),e.jsx(n,{x:140,y:160,w:80,h:26,fill:t.blue,stroke:t.blueS,label:"Scale ÷√dₖ",fontSize:11}),e.jsx("path",{d:"M180 186 L180 200",stroke:t.ink}),e.jsx(n,{x:140,y:200,w:80,h:26,fill:t.yellow,stroke:t.yellowS,label:"MatMul",fontSize:11}),e.jsx("path",{d:"M156 226 L120 270",stroke:t.ink}),e.jsx("path",{d:"M180 226 L180 270",stroke:t.ink}),e.jsx("path",{d:"M204 226 L240 270",stroke:t.ink}),e.jsx(n,{x:100,y:270,w:40,h:24,fill:t.pink,stroke:t.pinkS,label:"Q",fontSize:13}),e.jsx(n,{x:160,y:270,w:40,h:24,fill:t.pink,stroke:t.pinkS,label:"K",fontSize:13}),e.jsx(n,{x:220,y:270,w:40,h:24,fill:t.pink,stroke:t.pinkS,label:"V",fontSize:13}),e.jsxs("text",{x:"180",y:"330",fontSize:"14",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.ink,textAnchor:"middle",children:["softmax(QK",e.jsx("tspan",{fontSize:"9",baselineShift:"super",children:"⊤"})," / √d) V"]})]}),te=()=>e.jsxs("svg",{viewBox:"0 0 360 420",width:"100%",height:"100%",style:{display:"block"},children:[e.jsx("text",{x:"180",y:"20",fontSize:"11",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.faint,textAnchor:"middle",children:"Contrastive learning"}),e.jsx(n,{x:120,y:40,w:120,h:26,fill:t.blue,stroke:t.blueS,label:"Input x",fontSize:11}),e.jsx("path",{d:"M180 66 V76 M90 76 H270 M90 76 V88 M270 76 V88",stroke:t.ink}),e.jsx(n,{x:35,y:88,w:110,h:26,fill:t.yellow,stroke:t.yellowS,label:"Augment t₁",fontSize:11}),e.jsx(n,{x:215,y:88,w:110,h:26,fill:t.yellow,stroke:t.yellowS,label:"Augment t₂",fontSize:11}),e.jsx("path",{d:"M90 114 V138 M270 114 V138",stroke:t.ink}),e.jsx(n,{x:35,y:138,w:110,h:26,fill:t.orange,stroke:t.orangeS,label:"Encoder f",fontSize:11}),e.jsx(n,{x:215,y:138,w:110,h:26,fill:t.orange,stroke:t.orangeS,label:"Encoder f",fontSize:11}),e.jsx("text",{x:"180",y:"155",fontSize:"9",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.faint,textAnchor:"middle",children:"shared weights"}),e.jsx("path",{d:"M90 164 V188 M270 164 V188",stroke:t.ink}),e.jsx(n,{x:35,y:188,w:110,h:26,fill:t.purple,stroke:t.purpleS,label:"Projection g",fontSize:11}),e.jsx(n,{x:215,y:188,w:110,h:26,fill:t.purple,stroke:t.purpleS,label:"Projection g",fontSize:11}),e.jsx("path",{d:"M90 214 V238 M270 214 V238",stroke:t.ink}),e.jsx(n,{x:35,y:238,w:110,h:26,fill:t.pink,stroke:t.pinkS,label:"z₁",fontSize:13}),e.jsx(n,{x:215,y:238,w:110,h:26,fill:t.pink,stroke:t.pinkS,label:"z₂",fontSize:13}),e.jsx("path",{d:"M145 251 H215",stroke:t.greenS,strokeWidth:"1.5",strokeDasharray:"4 3"}),e.jsx("text",{x:"180",y:"244",fontSize:"9",fontFamily:"var(--sans)",fill:t.greenS,textAnchor:"middle",children:"attract"}),e.jsx("text",{x:"180",y:"318",fontSize:"12",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.ink,textAnchor:"middle",children:"Positive pair: pull together"}),e.jsx("text",{x:"180",y:"336",fontSize:"12",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.ink,textAnchor:"middle",children:"Other samples: push apart"}),e.jsx("text",{x:"180",y:"370",fontSize:"11",fontFamily:"var(--serif)",fill:t.faint,textAnchor:"middle",children:"InfoNCE: maximize sim(z₁, z₂) / τ"})]}),se=[["my-skill/",""],["├── SKILL.md","# Required: metadata + instructions"],["├── scripts/","# Optional: executable code"],["├── references/","# Optional: documentation"],["├── assets/","# Optional: templates, resources"],["└── ...","# Any additional files or directories"]],ae=()=>e.jsxs("svg",{viewBox:"0 0 360 420",width:"100%",height:"100%",style:{display:"block"},children:[e.jsx("text",{x:"180",y:"20",fontSize:"11",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.faint,textAnchor:"middle",children:"Skill package layout"}),e.jsx("rect",{x:"28",y:"48",width:"304",height:"318",rx:"8",fill:"#FFFDF8",stroke:t.faint,strokeWidth:"1"}),se.map(([s,r],l)=>{const d=92+l*44;return e.jsxs("g",{children:[e.jsx("text",{x:"44",y:d,fontSize:"11",fontFamily:"var(--mono)",fill:t.ink,dominantBaseline:"middle",children:s}),r?e.jsx("text",{x:"138",y:d,fontSize:"8.5",fontFamily:"var(--mono)",fill:t.faint,dominantBaseline:"middle",children:r}):null]},s)})]}),re={attention:ee,"contrastive-learning":te,"agent-skills":ae},le=({method:s})=>e.jsxs("svg",{viewBox:"0 0 360 420",width:"100%",height:"100%",children:[e.jsx("text",{x:"180",y:"20",fontSize:"11",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.faint,textAnchor:"middle",children:s.name||"method"}),e.jsx(n,{x:80,y:70,w:200,h:50,fill:t.blue,stroke:t.blueS,label:"Input",fontSize:12}),e.jsx("path",{d:"M180 120 L180 150",stroke:t.ink}),e.jsx(n,{x:80,y:150,w:200,h:70,fill:t.orange,stroke:t.orangeS,label:s.name||"transform",fontSize:13}),e.jsx("path",{d:"M180 220 L180 250",stroke:t.ink}),e.jsx(n,{x:80,y:250,w:200,h:50,fill:t.purple,stroke:t.purpleS,label:"Output",fontSize:12})]}),ie=({method:s})=>{const r=(s.slug||"").toLowerCase(),l=re[r];if(l)return e.jsx("div",{className:"method-figure-svg method-figure-svg--schematic",children:e.jsx(l,{})});if(s.image_url){const d=r==="transformer"||r==="gpt-4"||r==="gpt-4o"||r==="multi-head-attention"?" method-figure-svg--compact":r==="rpn"?" method-figure-svg--scaled-80":"";return e.jsx("div",{className:`method-figure-svg method-figure-svg--image${d}`,children:e.jsx("img",{className:"method-figure-img",src:s.image_url,alt:`${s.name} figure`})})}return e.jsx("div",{className:"method-figure-svg method-figure-svg--schematic",children:e.jsx(le,{method:s})})},w=720,N=138,x={top:8,right:10,bottom:25,left:36},A=56,ne=new Intl.DateTimeFormat("en",{month:"short",year:"2-digit",timeZone:"UTC"}),oe=new Intl.DateTimeFormat("en",{year:"numeric",timeZone:"UTC"}),M=s=>ne.format(new Date(`${s}T00:00:00Z`)),ce=(s,r)=>{if(s===0)return new Set;const l=s>48?12:s>36?6:s>18?3:2,d=Math.max(1,Math.ceil(A/r)),o=Math.max(l,d),p=s-1,h=new Set([0,p]);for(let c=o;c<p;c+=o)(p-c)*r>=A&&h.add(c);return h},E=s=>{if(s.coverage_status===void 0||["complete","not_applicable"].includes(s.coverage_status))return null;const r=s.processed_paper_count!==void 0&&s.eligible_paper_count!==void 0?`; ${s.processed_paper_count.toLocaleString()} of ${s.eligible_paper_count.toLocaleString()} eligible papers processed`:"";return`Historical tagging ${s.coverage_status==="failed"?"needs retry":"in progress"}${r}`},de=({history:s,methodName:r})=>{const[l,d]=D.useState(null),o=Math.max(1,...s.map(i=>i.paper_count)),p=w-x.left-x.right,h=N-x.top-x.bottom,c=s.length?p/s.length:p,a=Math.max(2,c*.68),g=ce(s.length,c),j=Array.from(new Set([0,Math.ceil(o/2),o])),f=l==null?null:s[l],y=f?E(f):null;return e.jsxs("div",{className:"method-usage-chart-wrap",children:[e.jsxs("svg",{className:"method-usage-chart",viewBox:`0 0 ${w} ${N}`,role:"group","aria-label":`${r}: papers mentioning this method by publication month`,children:[e.jsxs("title",{children:[r,": papers mentioning this method by publication month"]}),j.map(i=>{const m=x.top+h-i/o*h;return e.jsxs("g",{children:[e.jsx("line",{className:"method-usage-gridline",x1:x.left,x2:w-x.right,y1:m,y2:m}),e.jsx("text",{className:"method-usage-y-label",x:x.left-8,y:m+3,textAnchor:"end",children:i})]},i)}),s.map((i,m)=>{const u=i.paper_count/o*h,S=i.paper_count>0?Math.max(1,u):0,L=x.left+c*m+(c-a)/2,I=x.top+h-S,C=l===m,P=m===s.length-1,F=E(i);return e.jsxs("g",{className:`method-usage-bar${C?" is-active":""}${P?" is-current":""}`,tabIndex:0,role:"img","aria-label":`${M(i.start_date)}: ${i.paper_count} ${i.paper_count===1?"paper":"papers"}${F?`. ${F}`:""}`,onMouseEnter:()=>d(m),onMouseLeave:()=>d(null),onFocus:()=>d(m),onBlur:()=>d(null),children:[e.jsx("rect",{className:"method-usage-bar-hit",x:x.left+c*m,y:x.top,width:c,height:h}),e.jsx("rect",{className:"method-usage-bar-mark",x:L,y:I,width:a,height:S,rx:"1.5"})]},i.start_date)}),s.map((i,m)=>g.has(m)?e.jsx("text",{className:"method-usage-x-label",x:x.left+c*(m+.5),y:N-11,textAnchor:"middle",children:s.length>48?oe.format(new Date(`${i.start_date}T00:00:00Z`)):M(i.start_date)},i.start_date):null)]}),f&&e.jsxs("div",{className:"method-usage-tooltip",role:"status",children:[e.jsx("strong",{children:M(f.start_date)}),e.jsxs("span",{children:[f.paper_count," ",f.paper_count===1?"paper":"papers",l===s.length-1?" · month to date":""]}),e.jsxs("span",{children:[(f.catalog_share??0).toFixed(2),"% of"," ",(f.catalog_paper_count??0).toLocaleString()," catalog papers"]}),y&&e.jsx("span",{children:y})]})]})},me=new Set(["grokking","latent-reasoning","world-action-models","continuous-language-model"]),Ve=()=>{var y,i,m;const{methodSlug:s}=T(),r=V(),l=k(v.method(s));Y(l.data&&J(l.data.name));const d=k({...v.areas(),enabled:!!((y=l.data)!=null&&y.area_id)}),o=k(v.methodTrend(s)),p=Q(B.method(s,r.filters),u=>$.forMethod(s,{...r.filters,page:u,page_size:20,repository_limit:1}),{enabled:!!s}),h=k(v.relatedMethods(s)),c=D.useMemo(()=>{var u;return((u=p.data)==null?void 0:u.pages.flatMap(S=>S.results.map(K)))??[]},[p.data]);if(l.isLoading)return e.jsxs("div",{className:"page",children:[e.jsx(b,{className:"h-12 w-1/2 mb-4"}),e.jsx(b,{className:"h-64 w-full"})]});if(!l.data)return X([l.error],"Failed to load this method. Please try again.")??e.jsx(q,{});const a=l.data,g=(i=d.data)==null?void 0:i.results.find(u=>u.id===a.area_id),j=U(a.source_url),f=j?null:Z(a.source_url);return e.jsxs("div",{className:"page",children:[e.jsxs("div",{className:"breadcrumb",children:[e.jsx(_,{to:"/methods",children:"Methods"}),g&&e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"sep",children:"/"}),e.jsx(_,{to:`/methods#area-${W(g.name)}`,children:g.name})]}),e.jsx("span",{className:"sep",children:"/"}),e.jsx("span",{style:{color:"var(--ink)"},children:a.name})]}),e.jsxs("div",{className:`tag-hero method-hero-grid${me.has(a.slug)?" method-hero-grid--wide-figure":""}`,children:[e.jsxs("div",{children:[e.jsx("div",{className:"tag-hero-eyebrow",children:"METHOD"}),e.jsx("h1",{className:"tag-hero-title method-hero-title",children:a.name}),e.jsx(H,{kind:"method",entityId:a.id,showFollowers:!0}),a.full_name&&!a.name.includes(a.full_name)&&e.jsx("div",{style:{fontFamily:"var(--serif)",fontSize:16,fontStyle:"italic",color:"var(--ink-soft)",marginTop:8},children:a.full_name}),a.description&&e.jsx(z,{className:"method-description",text:a.description}),a.source_url&&a.source_title&&e.jsxs("div",{className:"method-source",children:[e.jsx("span",{className:"method-source-label",children:"Source"}),j?e.jsxs(_,{className:"method-source-link",to:j,target:"_blank",rel:"noopener noreferrer",children:[e.jsx("span",{className:"method-source-title",children:a.source_title}),a.introduced_year&&e.jsx("span",{className:"method-source-meta",children:a.introduced_year})]}):f?e.jsxs("a",{className:"method-source-link",href:f,target:"_blank",rel:"noopener noreferrer",children:[e.jsx("span",{className:"method-source-title",children:a.source_title}),a.introduced_year&&e.jsx("span",{className:"method-source-meta",children:a.introduced_year})]}):e.jsxs("div",{className:"method-source-link is-static",children:[e.jsx("span",{className:"method-source-title",children:a.source_title}),a.introduced_year&&e.jsx("span",{className:"method-source-meta",children:a.introduced_year})]})]}),e.jsxs("div",{className:"tag-hero-meta",children:[e.jsxs("div",{className:"stat",children:[e.jsx("span",{className:"label",children:"Papers mentioning"}),e.jsx("span",{className:"value",children:(a.paper_count??0).toLocaleString()})]}),o.data&&e.jsxs("div",{className:"stat",children:[e.jsx("span",{className:"label",children:"Recent mentions"}),e.jsxs("span",{className:"value",children:[(o.data.recent_paper_count*30/o.data.recent_days).toFixed(1),e.jsx("small",{children:"/mo"})]}),!o.data.comparison_complete&&e.jsx("span",{title:"Tagging is still catching up. This rate reflects mentions found so far.",children:"Partial coverage"})]}),a.introduced_year!=null&&e.jsxs("div",{className:"stat",children:[e.jsx("span",{className:"label",children:"Introduced"}),e.jsx("span",{className:"value",children:a.introduced_year})]})]}),o.isLoading?e.jsx(b,{className:"h-36 w-full method-trend-skeleton"}):o.data?e.jsxs("section",{className:"method-trend-panel method-trend-panel--compact",children:[e.jsxs("div",{className:"method-trend-header",children:[e.jsx("div",{children:e.jsx("div",{className:"method-trend-eyebrow",children:"Usage trend"})}),e.jsxs("div",{className:"method-trend-summary",children:[e.jsx("strong",{children:o.data.recent_paper_count}),e.jsxs("span",{children:["papers / ",o.data.recent_days,"d"]})]})]}),e.jsx(de,{history:o.data.history,methodName:a.name})]}):null]}),e.jsxs("figure",{className:"method-figure-card",children:[e.jsx(ie,{method:a}),a.image_credit&&e.jsx("figcaption",{children:e.jsx(z,{className:"method-image-credit",text:a.image_credit})})]})]}),(((m=h.data)==null?void 0:m.results.length)??0)>0&&e.jsxs("div",{className:"filter-row",children:[e.jsx("span",{className:"label",children:"Related methods"}),h.data.results.map(u=>e.jsx(R,{method:{slug:u.slug,name:u.name}},u.id))]}),e.jsx(G,{feed:r,children:e.jsxs("div",{className:"results-count",children:[c.length," papers mentioning ",a.name]})}),e.jsx(O,{query:p,cards:c,empty:r.dateRange.startDate||r.dateRange.endDate?"No papers tagged with this method in this date range.":"No papers tagged with this method yet."})]})};export{Ve as default};
 
1
+ import{j as e,i as D,u as T,b as k,x as v,E as $,y as B,L as _}from"./index-B0aq-iar.js";import{R as H}from"./ResearchFollowButton-D0tv80JF.js";import{M as R}from"./SotaBadges-Dh4JgSRd.js";import{d as V,u as Q,e as G,P as O}from"./usePapers-DH6AufOQ.js";import{r as U,M as z}from"./MarkdownText-BkbUXFCs.js";import{s as W}from"./slug-BpH-Nkvz.js";import{t as K}from"./transform-BII-_KDB.js";import{S as b}from"./skeleton-DsZ-wKhC.js";import{s as Z}from"./safeExternalHref-CkBrsh84.js";import q from"./NotFound-iYKf4_7M.js";import{l as X}from"./LoadFailurePage-BfvJBtL8.js";import{u as Y}from"./useDocumentTitle-gwKq10Vr.js";import{e as J}from"./pageTitles-DPtr8SUn.js";import"./researchTopic-179EqBPz.js";import"./useMutation-DxP7YVP3.js";import"./FollowerAvatar-DMLlkjGd.js";import"./plus-Ig6EFSa0.js";import"./colors-BkWRhvFI.js";import"./PaperCard-CXKXdRil.js";import"./AuthorAvatar-CWdu93Ln.js";import"./Icon-BkpouXtc.js";import"./LatexTitle-CXLW2LHS.js";import"./popover-DdJ3UXiH.js";import"./useIntersectionObserver-B5f-R6yl.js";import"./useInfiniteQuery-DIIy94Ek.js";import"./PaperPreviewLink-4dmR6yPp.js";import"./index-B9qpvwaI.js";import"./index-16KodlFR.js";import"./hover-card-B_kWNxjX.js";import"./alert-Cf45hSUq.js";const t={pink:"#F8D7D9",pinkS:"#D9B0B3",yellow:"#FBEFC2",yellowS:"#C9B97D",orange:"#F8D7B3",orangeS:"#C99466",blue:"#CDE2EE",blueS:"#7FA4BA",purple:"#D4D2EA",purpleS:"#8E8AC0",green:"#CCE2C5",greenS:"#7DA475",ink:"#1A1814",faint:"#8E8678"},n=({x:s,y:r,w:l,h:d,fill:o,stroke:p,label:h,fontSize:c=10})=>e.jsxs("g",{children:[e.jsx("rect",{x:s,y:r,width:l,height:d,rx:"3",ry:"3",fill:o,stroke:p,strokeWidth:"1"}),e.jsx("text",{x:s+l/2,y:r+d/2,fontSize:c,fontFamily:"var(--sans)",fill:t.ink,textAnchor:"middle",dominantBaseline:"middle",children:h})]}),ee=()=>e.jsxs("svg",{viewBox:"0 0 360 420",width:"100%",height:"100%",style:{display:"block"},children:[e.jsx("text",{x:"180",y:"20",fontSize:"11",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.faint,textAnchor:"middle",children:"Scaled Dot-Product Attention"}),e.jsx(n,{x:140,y:40,w:80,h:26,fill:t.yellow,stroke:t.yellowS,label:"MatMul",fontSize:11}),e.jsx("path",{d:"M180 66 L180 80",stroke:t.ink}),e.jsx(n,{x:140,y:80,w:80,h:26,fill:t.green,stroke:t.greenS,label:"SoftMax",fontSize:11}),e.jsx("path",{d:"M180 106 L180 120",stroke:t.ink}),e.jsx(n,{x:140,y:120,w:80,h:26,fill:t.purple,stroke:t.purpleS,label:"Mask (opt.)",fontSize:11}),e.jsx("path",{d:"M180 146 L180 160",stroke:t.ink}),e.jsx(n,{x:140,y:160,w:80,h:26,fill:t.blue,stroke:t.blueS,label:"Scale ÷√dₖ",fontSize:11}),e.jsx("path",{d:"M180 186 L180 200",stroke:t.ink}),e.jsx(n,{x:140,y:200,w:80,h:26,fill:t.yellow,stroke:t.yellowS,label:"MatMul",fontSize:11}),e.jsx("path",{d:"M156 226 L120 270",stroke:t.ink}),e.jsx("path",{d:"M180 226 L180 270",stroke:t.ink}),e.jsx("path",{d:"M204 226 L240 270",stroke:t.ink}),e.jsx(n,{x:100,y:270,w:40,h:24,fill:t.pink,stroke:t.pinkS,label:"Q",fontSize:13}),e.jsx(n,{x:160,y:270,w:40,h:24,fill:t.pink,stroke:t.pinkS,label:"K",fontSize:13}),e.jsx(n,{x:220,y:270,w:40,h:24,fill:t.pink,stroke:t.pinkS,label:"V",fontSize:13}),e.jsxs("text",{x:"180",y:"330",fontSize:"14",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.ink,textAnchor:"middle",children:["softmax(QK",e.jsx("tspan",{fontSize:"9",baselineShift:"super",children:"⊤"})," / √d) V"]})]}),te=()=>e.jsxs("svg",{viewBox:"0 0 360 420",width:"100%",height:"100%",style:{display:"block"},children:[e.jsx("text",{x:"180",y:"20",fontSize:"11",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.faint,textAnchor:"middle",children:"Contrastive learning"}),e.jsx(n,{x:120,y:40,w:120,h:26,fill:t.blue,stroke:t.blueS,label:"Input x",fontSize:11}),e.jsx("path",{d:"M180 66 V76 M90 76 H270 M90 76 V88 M270 76 V88",stroke:t.ink}),e.jsx(n,{x:35,y:88,w:110,h:26,fill:t.yellow,stroke:t.yellowS,label:"Augment t₁",fontSize:11}),e.jsx(n,{x:215,y:88,w:110,h:26,fill:t.yellow,stroke:t.yellowS,label:"Augment t₂",fontSize:11}),e.jsx("path",{d:"M90 114 V138 M270 114 V138",stroke:t.ink}),e.jsx(n,{x:35,y:138,w:110,h:26,fill:t.orange,stroke:t.orangeS,label:"Encoder f",fontSize:11}),e.jsx(n,{x:215,y:138,w:110,h:26,fill:t.orange,stroke:t.orangeS,label:"Encoder f",fontSize:11}),e.jsx("text",{x:"180",y:"155",fontSize:"9",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.faint,textAnchor:"middle",children:"shared weights"}),e.jsx("path",{d:"M90 164 V188 M270 164 V188",stroke:t.ink}),e.jsx(n,{x:35,y:188,w:110,h:26,fill:t.purple,stroke:t.purpleS,label:"Projection g",fontSize:11}),e.jsx(n,{x:215,y:188,w:110,h:26,fill:t.purple,stroke:t.purpleS,label:"Projection g",fontSize:11}),e.jsx("path",{d:"M90 214 V238 M270 214 V238",stroke:t.ink}),e.jsx(n,{x:35,y:238,w:110,h:26,fill:t.pink,stroke:t.pinkS,label:"z₁",fontSize:13}),e.jsx(n,{x:215,y:238,w:110,h:26,fill:t.pink,stroke:t.pinkS,label:"z₂",fontSize:13}),e.jsx("path",{d:"M145 251 H215",stroke:t.greenS,strokeWidth:"1.5",strokeDasharray:"4 3"}),e.jsx("text",{x:"180",y:"244",fontSize:"9",fontFamily:"var(--sans)",fill:t.greenS,textAnchor:"middle",children:"attract"}),e.jsx("text",{x:"180",y:"318",fontSize:"12",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.ink,textAnchor:"middle",children:"Positive pair: pull together"}),e.jsx("text",{x:"180",y:"336",fontSize:"12",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.ink,textAnchor:"middle",children:"Other samples: push apart"}),e.jsx("text",{x:"180",y:"370",fontSize:"11",fontFamily:"var(--serif)",fill:t.faint,textAnchor:"middle",children:"InfoNCE: maximize sim(z₁, z₂) / τ"})]}),se=[["my-skill/",""],["├── SKILL.md","# Required: metadata + instructions"],["├── scripts/","# Optional: executable code"],["├── references/","# Optional: documentation"],["├── assets/","# Optional: templates, resources"],["└── ...","# Any additional files or directories"]],ae=()=>e.jsxs("svg",{viewBox:"0 0 360 420",width:"100%",height:"100%",style:{display:"block"},children:[e.jsx("text",{x:"180",y:"20",fontSize:"11",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.faint,textAnchor:"middle",children:"Skill package layout"}),e.jsx("rect",{x:"28",y:"48",width:"304",height:"318",rx:"8",fill:"#FFFDF8",stroke:t.faint,strokeWidth:"1"}),se.map(([s,r],l)=>{const d=92+l*44;return e.jsxs("g",{children:[e.jsx("text",{x:"44",y:d,fontSize:"11",fontFamily:"var(--mono)",fill:t.ink,dominantBaseline:"middle",children:s}),r?e.jsx("text",{x:"138",y:d,fontSize:"8.5",fontFamily:"var(--mono)",fill:t.faint,dominantBaseline:"middle",children:r}):null]},s)})]}),re={attention:ee,"contrastive-learning":te,"agent-skills":ae},le=({method:s})=>e.jsxs("svg",{viewBox:"0 0 360 420",width:"100%",height:"100%",children:[e.jsx("text",{x:"180",y:"20",fontSize:"11",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.faint,textAnchor:"middle",children:s.name||"method"}),e.jsx(n,{x:80,y:70,w:200,h:50,fill:t.blue,stroke:t.blueS,label:"Input",fontSize:12}),e.jsx("path",{d:"M180 120 L180 150",stroke:t.ink}),e.jsx(n,{x:80,y:150,w:200,h:70,fill:t.orange,stroke:t.orangeS,label:s.name||"transform",fontSize:13}),e.jsx("path",{d:"M180 220 L180 250",stroke:t.ink}),e.jsx(n,{x:80,y:250,w:200,h:50,fill:t.purple,stroke:t.purpleS,label:"Output",fontSize:12})]}),ie=({method:s})=>{const r=(s.slug||"").toLowerCase(),l=re[r];if(l)return e.jsx("div",{className:"method-figure-svg method-figure-svg--schematic",children:e.jsx(l,{})});if(s.image_url){const d=r==="transformer"||r==="gpt-4"||r==="gpt-4o"||r==="multi-head-attention"?" method-figure-svg--compact":r==="rpn"?" method-figure-svg--scaled-80":"";return e.jsx("div",{className:`method-figure-svg method-figure-svg--image${d}`,children:e.jsx("img",{className:"method-figure-img",src:s.image_url,alt:`${s.name} figure`})})}return e.jsx("div",{className:"method-figure-svg method-figure-svg--schematic",children:e.jsx(le,{method:s})})},w=720,N=138,x={top:8,right:10,bottom:25,left:36},A=56,ne=new Intl.DateTimeFormat("en",{month:"short",year:"2-digit",timeZone:"UTC"}),oe=new Intl.DateTimeFormat("en",{year:"numeric",timeZone:"UTC"}),M=s=>ne.format(new Date(`${s}T00:00:00Z`)),ce=(s,r)=>{if(s===0)return new Set;const l=s>48?12:s>36?6:s>18?3:2,d=Math.max(1,Math.ceil(A/r)),o=Math.max(l,d),p=s-1,h=new Set([0,p]);for(let c=o;c<p;c+=o)(p-c)*r>=A&&h.add(c);return h},E=s=>{if(s.coverage_status===void 0||["complete","not_applicable"].includes(s.coverage_status))return null;const r=s.processed_paper_count!==void 0&&s.eligible_paper_count!==void 0?`; ${s.processed_paper_count.toLocaleString()} of ${s.eligible_paper_count.toLocaleString()} eligible papers processed`:"";return`Historical tagging ${s.coverage_status==="failed"?"needs retry":"in progress"}${r}`},de=({history:s,methodName:r})=>{const[l,d]=D.useState(null),o=Math.max(1,...s.map(i=>i.paper_count)),p=w-x.left-x.right,h=N-x.top-x.bottom,c=s.length?p/s.length:p,a=Math.max(2,c*.68),g=ce(s.length,c),j=Array.from(new Set([0,Math.ceil(o/2),o])),f=l==null?null:s[l],y=f?E(f):null;return e.jsxs("div",{className:"method-usage-chart-wrap",children:[e.jsxs("svg",{className:"method-usage-chart",viewBox:`0 0 ${w} ${N}`,role:"group","aria-label":`${r}: papers mentioning this method by publication month`,children:[e.jsxs("title",{children:[r,": papers mentioning this method by publication month"]}),j.map(i=>{const m=x.top+h-i/o*h;return e.jsxs("g",{children:[e.jsx("line",{className:"method-usage-gridline",x1:x.left,x2:w-x.right,y1:m,y2:m}),e.jsx("text",{className:"method-usage-y-label",x:x.left-8,y:m+3,textAnchor:"end",children:i})]},i)}),s.map((i,m)=>{const u=i.paper_count/o*h,S=i.paper_count>0?Math.max(1,u):0,L=x.left+c*m+(c-a)/2,I=x.top+h-S,C=l===m,P=m===s.length-1,F=E(i);return e.jsxs("g",{className:`method-usage-bar${C?" is-active":""}${P?" is-current":""}`,tabIndex:0,role:"img","aria-label":`${M(i.start_date)}: ${i.paper_count} ${i.paper_count===1?"paper":"papers"}${F?`. ${F}`:""}`,onMouseEnter:()=>d(m),onMouseLeave:()=>d(null),onFocus:()=>d(m),onBlur:()=>d(null),children:[e.jsx("rect",{className:"method-usage-bar-hit",x:x.left+c*m,y:x.top,width:c,height:h}),e.jsx("rect",{className:"method-usage-bar-mark",x:L,y:I,width:a,height:S,rx:"1.5"})]},i.start_date)}),s.map((i,m)=>g.has(m)?e.jsx("text",{className:"method-usage-x-label",x:x.left+c*(m+.5),y:N-11,textAnchor:"middle",children:s.length>48?oe.format(new Date(`${i.start_date}T00:00:00Z`)):M(i.start_date)},i.start_date):null)]}),f&&e.jsxs("div",{className:"method-usage-tooltip",role:"status",children:[e.jsx("strong",{children:M(f.start_date)}),e.jsxs("span",{children:[f.paper_count," ",f.paper_count===1?"paper":"papers",l===s.length-1?" · month to date":""]}),e.jsxs("span",{children:[(f.catalog_share??0).toFixed(2),"% of"," ",(f.catalog_paper_count??0).toLocaleString()," catalog papers"]}),y&&e.jsx("span",{children:y})]})]})},me=new Set(["grokking","latent-reasoning","world-action-models","continuous-language-model"]),Ve=()=>{var y,i,m;const{methodSlug:s}=T(),r=V(),l=k(v.method(s));Y(l.data&&J(l.data.name));const d=k({...v.areas(),enabled:!!((y=l.data)!=null&&y.area_id)}),o=k(v.methodTrend(s)),p=Q(B.method(s,r.filters),u=>$.forMethod(s,{...r.filters,page:u,page_size:20,repository_limit:1}),{enabled:!!s}),h=k(v.relatedMethods(s)),c=D.useMemo(()=>{var u;return((u=p.data)==null?void 0:u.pages.flatMap(S=>S.results.map(K)))??[]},[p.data]);if(l.isLoading)return e.jsxs("div",{className:"page",children:[e.jsx(b,{className:"h-12 w-1/2 mb-4"}),e.jsx(b,{className:"h-64 w-full"})]});if(!l.data)return X([l.error],"Failed to load this method. Please try again.")??e.jsx(q,{});const a=l.data,g=(i=d.data)==null?void 0:i.results.find(u=>u.id===a.area_id),j=U(a.source_url),f=j?null:Z(a.source_url);return e.jsxs("div",{className:"page",children:[e.jsxs("div",{className:"breadcrumb",children:[e.jsx(_,{to:"/methods",children:"Methods"}),g&&e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"sep",children:"/"}),e.jsx(_,{to:`/methods#area-${W(g.name)}`,children:g.name})]}),e.jsx("span",{className:"sep",children:"/"}),e.jsx("span",{style:{color:"var(--ink)"},children:a.name})]}),e.jsxs("div",{className:`tag-hero method-hero-grid${me.has(a.slug)?" method-hero-grid--wide-figure":""}`,children:[e.jsxs("div",{children:[e.jsx("div",{className:"tag-hero-eyebrow",children:"METHOD"}),e.jsx("h1",{className:"tag-hero-title method-hero-title",children:a.name}),e.jsx(H,{kind:"method",entityId:a.id,showFollowers:!0}),a.full_name&&!a.name.includes(a.full_name)&&e.jsx("div",{style:{fontFamily:"var(--serif)",fontSize:16,fontStyle:"italic",color:"var(--ink-soft)",marginTop:8},children:a.full_name}),a.description&&e.jsx(z,{className:"method-description",text:a.description}),a.source_url&&a.source_title&&e.jsxs("div",{className:"method-source",children:[e.jsx("span",{className:"method-source-label",children:"Source"}),j?e.jsxs(_,{className:"method-source-link",to:j,target:"_blank",rel:"noopener noreferrer",children:[e.jsx("span",{className:"method-source-title",children:a.source_title}),a.introduced_year&&e.jsx("span",{className:"method-source-meta",children:a.introduced_year})]}):f?e.jsxs("a",{className:"method-source-link",href:f,target:"_blank",rel:"noopener noreferrer",children:[e.jsx("span",{className:"method-source-title",children:a.source_title}),a.introduced_year&&e.jsx("span",{className:"method-source-meta",children:a.introduced_year})]}):e.jsxs("div",{className:"method-source-link is-static",children:[e.jsx("span",{className:"method-source-title",children:a.source_title}),a.introduced_year&&e.jsx("span",{className:"method-source-meta",children:a.introduced_year})]})]}),e.jsxs("div",{className:"tag-hero-meta",children:[e.jsxs("div",{className:"stat",children:[e.jsx("span",{className:"label",children:"Papers mentioning"}),e.jsx("span",{className:"value",children:(a.paper_count??0).toLocaleString()})]}),o.data&&e.jsxs("div",{className:"stat",children:[e.jsx("span",{className:"label",children:"Recent mentions"}),e.jsxs("span",{className:"value",children:[(o.data.recent_paper_count*30/o.data.recent_days).toFixed(1),e.jsx("small",{children:"/mo"})]}),!o.data.comparison_complete&&e.jsx("span",{title:"Tagging is still catching up. This rate reflects mentions found so far.",children:"Partial coverage"})]}),a.introduced_year!=null&&e.jsxs("div",{className:"stat",children:[e.jsx("span",{className:"label",children:"Introduced"}),e.jsx("span",{className:"value",children:a.introduced_year})]})]}),o.isLoading?e.jsx(b,{className:"h-36 w-full method-trend-skeleton"}):o.data?e.jsxs("section",{className:"method-trend-panel method-trend-panel--compact",children:[e.jsxs("div",{className:"method-trend-header",children:[e.jsx("div",{children:e.jsx("div",{className:"method-trend-eyebrow",children:"Usage trend"})}),e.jsxs("div",{className:"method-trend-summary",children:[e.jsx("strong",{children:o.data.recent_paper_count}),e.jsxs("span",{children:["papers / ",o.data.recent_days,"d"]})]})]}),e.jsx(de,{history:o.data.history,methodName:a.name})]}):null]}),e.jsxs("figure",{className:"method-figure-card",children:[e.jsx(ie,{method:a}),a.image_credit&&e.jsx("figcaption",{children:e.jsx(z,{className:"method-image-credit",text:a.image_credit})})]})]}),(((m=h.data)==null?void 0:m.results.length)??0)>0&&e.jsxs("div",{className:"filter-row",children:[e.jsx("span",{className:"label",children:"Related methods"}),h.data.results.map(u=>e.jsx(R,{method:{slug:u.slug,name:u.name}},u.id))]}),e.jsx(G,{feed:r,children:e.jsxs("div",{className:"results-count",children:[c.length," papers mentioning ",a.name]})}),e.jsx(O,{query:p,cards:c,empty:r.dateRange.startDate||r.dateRange.endDate?"No papers tagged with this method in this date range.":"No papers tagged with this method yet."})]})};export{Ve as default};
assets/{MethodsIndexView-anBxEWt5.js → MethodsIndexView-ul_p2OBG.js} RENAMED
@@ -1,4 +1,4 @@
1
- import{d as f,b as c,x as l,i as m,j as s,L as _}from"./index-BhKQv9LT.js";import{s as y}from"./areas-Dvi8w2dp.js";import{s as N}from"./slug-BpH-Nkvz.js";import{A as v,a as L}from"./alert-zC2kYXtI.js";import{A as T,a as M}from"./AreaSection-D3xwtKAs.js";import{T as A}from"./TaxonomySuggestionTile-DmGYfBPo.js";import{u as I,T as S}from"./useHashScrollOnReady-C6E-ijj0.js";import{u as E}from"./useDocumentTitle-DGWKz2sg.js";import{I as F}from"./pageTitles-Cv5SviVf.js";import"./skeleton-BkbzA0oF.js";import"./SignInToEditDialog-DkbWjXKh.js";import"./button-CbtZIybp.js";import"./input-BDLNu7DN.js";import"./textarea-Dzdb-PIY.js";import"./searchable-select-CbMREm8O.js";import"./popover-DoQl9nzw.js";import"./dialog-C_jKzXRg.js";import"./search-BLHGfANa.js";import"./loader-circle-CcsDvzXG.js";import"./useMutation-DPQn8VkK.js";import"./submissions-DNDrsPIh.js";import"./cacheSync-C15rSGWl.js";import"./plus-Da5UgLnk.js";import"./trending-up-PRKQib2t.js";/**
2
  * @license lucide-react v0.462.0 - ISC
3
  *
4
  * This source code is licensed under the ISC license.
 
1
+ import{d as f,b as c,x as l,i as m,j as s,L as _}from"./index-B0aq-iar.js";import{s as y}from"./areas-Dvi8w2dp.js";import{s as N}from"./slug-BpH-Nkvz.js";import{A as v,a as L}from"./alert-Cf45hSUq.js";import{A as T,a as M}from"./AreaSection-DEBdDI6z.js";import{T as A}from"./TaxonomySuggestionTile-DxM7CBR8.js";import{u as I,T as S}from"./useHashScrollOnReady-C6j5Ohfb.js";import{u as E}from"./useDocumentTitle-gwKq10Vr.js";import{I as F}from"./pageTitles-DPtr8SUn.js";import"./skeleton-DsZ-wKhC.js";import"./SignInToEditDialog-B23Lp1q5.js";import"./button-TpPKOW28.js";import"./input-BtVcQEqI.js";import"./textarea-Ch1ibCfx.js";import"./searchable-select-VhKQioJk.js";import"./popover-DdJ3UXiH.js";import"./dialog-CMqnZdwE.js";import"./search-BHf0tBuT.js";import"./loader-circle-DjsuNmQM.js";import"./useMutation-DxP7YVP3.js";import"./submissions-B9V-ntEk.js";import"./cacheSync-UfDqLKth.js";import"./plus-Ig6EFSa0.js";import"./trending-up-claX8Qq-.js";/**
2
  * @license lucide-react v0.462.0 - ISC
3
  *
4
  * This source code is licensed under the ISC license.
assets/{NotFound-CkpULt19.js → NotFound-iYKf4_7M.js} RENAMED
@@ -1 +1 @@
1
- import{t as o,i as s,j as t,L as a}from"./index-BhKQv9LT.js";const r=()=>{const e=o();return s.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),t.jsxs("div",{className:"page",style:{textAlign:"center",paddingTop:96},children:[t.jsx("h1",{className:"detail-title",style:{fontSize:96,marginBottom:8},children:"404"}),t.jsx("p",{style:{fontFamily:"var(--serif)",fontStyle:"italic",color:"var(--ink-soft)",marginBottom:24},children:"That route isn't on the map."}),t.jsx(a,{to:"/",className:"action-btn",children:"Return home"})]})};export{r as default};
 
1
+ import{t as o,i as s,j as t,L as a}from"./index-B0aq-iar.js";const r=()=>{const e=o();return s.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),t.jsxs("div",{className:"page",style:{textAlign:"center",paddingTop:96},children:[t.jsx("h1",{className:"detail-title",style:{fontSize:96,marginBottom:8},children:"404"}),t.jsx("p",{style:{fontFamily:"var(--serif)",fontStyle:"italic",color:"var(--ink-soft)",marginBottom:24},children:"That route isn't on the map."}),t.jsx(a,{to:"/",className:"action-btn",children:"Return home"})]})};export{r as default};
assets/{OrganizationContributionGraph-DrTL4Nwc.js → OrganizationContributionGraph-Bu2X49MY.js} RENAMED
@@ -1 +1 @@
1
- import{i as b,j as o,b as z,x as T}from"./index-BhKQv9LT.js";import{S as w}from"./skeleton-BkbzA0oF.js";const x=24*60*60*1e3,f=12,v=3,N=new Map([[1,"Mon"],[3,"Wed"],[5,"Fri"]]),$=n=>new Date(`${n}T00:00:00Z`),S=n=>n.toISOString().slice(0,10),_=(n,a)=>{if(n===0)return 0;const i=a.findIndex(s=>n<=s);return i===-1?4:i+1},y=n=>{const a=$(n.start_date),i=$(n.end_date),s=new Date(a.getTime()-a.getUTCDay()*x),m=new Date(i.getTime()+(6-i.getUTCDay())*x),p=new Map(n.results.map(e=>[e.date,e.paper_count])),u=n.results.map(e=>e.paper_count).sort((e,g)=>e-g),c=[.25,.5,.75].map(e=>u[Math.min(u.length-1,Math.floor(u.length*e))]??1),l=[];for(let e=s.getTime();e<=m.getTime();e+=x){const g=new Date(e),d=S(g),h=e>=a.getTime()&&e<=i.getTime(),C=h?p.get(d)??0:0;l.push({key:d,date:g,count:C,inRange:h,level:_(C,c)})}const t=l.length/7,r=[];let j=-1;for(let e=0;e<t;e+=1){const d=l.slice(e*7,e*7+7).find(h=>h.inRange&&(e===0||h.date.getUTCDate()<=7));d&&d.date.getUTCMonth()!==j&&(j=d.date.getUTCMonth(),r.length>0&&e-r[r.length-1].column<3&&r.pop(),r.push({label:d.date.toLocaleString("en",{month:"short",timeZone:"UTC"}),column:e}))}return{days:l,months:r,weekCount:t}},D=({data:n,organizationName:a,title:i="Paper contributions",noun:s="paper"})=>{const m=b.useRef(null),{days:p,months:u,weekCount:c}=b.useMemo(()=>y(n),[n]),l=c*f+(c-1)*v;return b.useEffect(()=>{const t=m.current;t&&(t.scrollLeft=t.scrollWidth)},[c]),o.jsxs("section",{className:"organization-contributions","aria-labelledby":"organization-contributions-title",children:[o.jsxs("div",{className:"organization-contributions-header",children:[o.jsx("h2",{id:"organization-contributions-title",className:"organization-contributions-title",children:i}),o.jsxs("p",{className:"organization-contributions-summary",children:[n.total_count.toLocaleString()," ",n.total_count===1?s:`${s}s`," recorded in the last year"]})]}),o.jsx("div",{className:"organization-contributions-scroll",ref:m,children:o.jsxs("div",{className:"organization-contributions-plot",style:{width:l+34},role:"img","aria-label":`${a} recorded ${n.total_count} ${n.total_count===1?s:`${s}s`} in the last year`,children:[o.jsx("div",{className:"organization-contributions-weekdays","aria-hidden":"true",children:Array.from({length:7}).map((t,r)=>o.jsx("span",{children:N.get(r)??""},r))}),o.jsxs("div",{children:[o.jsx("div",{className:"organization-contributions-months",style:{width:l,gridTemplateColumns:`repeat(${c}, ${f}px)`},"aria-hidden":"true",children:u.map(t=>o.jsx("span",{style:{gridColumnStart:t.column+1},children:t.label},`${t.label}-${t.column}`))}),o.jsx("div",{className:"organization-contributions-grid",style:{width:l,gridTemplateColumns:`repeat(${c}, ${f}px)`},"aria-hidden":"true",children:p.map(t=>o.jsx("span",{className:`organization-contribution-cell ${t.inRange?`level-${t.level}`:"is-outside"}`,title:t.inRange?`${t.count} ${t.count===1?s:`${s}s`} on ${t.date.toLocaleDateString("en",{dateStyle:"long",timeZone:"UTC"})}`:void 0},t.key))})]})]})}),o.jsxs("div",{className:"organization-contributions-legend","aria-hidden":"true",children:[o.jsx("span",{children:"Fewer"}),[0,1,2,3,4].map(t=>o.jsx("span",{className:`organization-contribution-cell level-${t}`},t)),o.jsx("span",{children:"More"})]})]})},E=({organizationSlug:n,organizationName:a})=>{const i=z(T.organizationContributions(n));return i.isLoading?o.jsx(w,{className:"organization-contributions-skeleton"}):i.data?o.jsx(D,{data:i.data,organizationName:a}):null};export{D as C,E as O};
 
1
+ import{i as b,j as o,b as z,x as T}from"./index-B0aq-iar.js";import{S as w}from"./skeleton-DsZ-wKhC.js";const x=24*60*60*1e3,f=12,v=3,N=new Map([[1,"Mon"],[3,"Wed"],[5,"Fri"]]),$=n=>new Date(`${n}T00:00:00Z`),S=n=>n.toISOString().slice(0,10),_=(n,a)=>{if(n===0)return 0;const i=a.findIndex(s=>n<=s);return i===-1?4:i+1},y=n=>{const a=$(n.start_date),i=$(n.end_date),s=new Date(a.getTime()-a.getUTCDay()*x),m=new Date(i.getTime()+(6-i.getUTCDay())*x),p=new Map(n.results.map(e=>[e.date,e.paper_count])),u=n.results.map(e=>e.paper_count).sort((e,g)=>e-g),c=[.25,.5,.75].map(e=>u[Math.min(u.length-1,Math.floor(u.length*e))]??1),l=[];for(let e=s.getTime();e<=m.getTime();e+=x){const g=new Date(e),d=S(g),h=e>=a.getTime()&&e<=i.getTime(),C=h?p.get(d)??0:0;l.push({key:d,date:g,count:C,inRange:h,level:_(C,c)})}const t=l.length/7,r=[];let j=-1;for(let e=0;e<t;e+=1){const d=l.slice(e*7,e*7+7).find(h=>h.inRange&&(e===0||h.date.getUTCDate()<=7));d&&d.date.getUTCMonth()!==j&&(j=d.date.getUTCMonth(),r.length>0&&e-r[r.length-1].column<3&&r.pop(),r.push({label:d.date.toLocaleString("en",{month:"short",timeZone:"UTC"}),column:e}))}return{days:l,months:r,weekCount:t}},D=({data:n,organizationName:a,title:i="Paper contributions",noun:s="paper"})=>{const m=b.useRef(null),{days:p,months:u,weekCount:c}=b.useMemo(()=>y(n),[n]),l=c*f+(c-1)*v;return b.useEffect(()=>{const t=m.current;t&&(t.scrollLeft=t.scrollWidth)},[c]),o.jsxs("section",{className:"organization-contributions","aria-labelledby":"organization-contributions-title",children:[o.jsxs("div",{className:"organization-contributions-header",children:[o.jsx("h2",{id:"organization-contributions-title",className:"organization-contributions-title",children:i}),o.jsxs("p",{className:"organization-contributions-summary",children:[n.total_count.toLocaleString()," ",n.total_count===1?s:`${s}s`," recorded in the last year"]})]}),o.jsx("div",{className:"organization-contributions-scroll",ref:m,children:o.jsxs("div",{className:"organization-contributions-plot",style:{width:l+34},role:"img","aria-label":`${a} recorded ${n.total_count} ${n.total_count===1?s:`${s}s`} in the last year`,children:[o.jsx("div",{className:"organization-contributions-weekdays","aria-hidden":"true",children:Array.from({length:7}).map((t,r)=>o.jsx("span",{children:N.get(r)??""},r))}),o.jsxs("div",{children:[o.jsx("div",{className:"organization-contributions-months",style:{width:l,gridTemplateColumns:`repeat(${c}, ${f}px)`},"aria-hidden":"true",children:u.map(t=>o.jsx("span",{style:{gridColumnStart:t.column+1},children:t.label},`${t.label}-${t.column}`))}),o.jsx("div",{className:"organization-contributions-grid",style:{width:l,gridTemplateColumns:`repeat(${c}, ${f}px)`},"aria-hidden":"true",children:p.map(t=>o.jsx("span",{className:`organization-contribution-cell ${t.inRange?`level-${t.level}`:"is-outside"}`,title:t.inRange?`${t.count} ${t.count===1?s:`${s}s`} on ${t.date.toLocaleDateString("en",{dateStyle:"long",timeZone:"UTC"})}`:void 0},t.key))})]})]})}),o.jsxs("div",{className:"organization-contributions-legend","aria-hidden":"true",children:[o.jsx("span",{children:"Fewer"}),[0,1,2,3,4].map(t=>o.jsx("span",{className:`organization-contribution-cell level-${t}`},t)),o.jsx("span",{children:"More"})]})]})},E=({organizationSlug:n,organizationName:a})=>{const i=z(T.organizationContributions(n));return i.isLoading?o.jsx(w,{className:"organization-contributions-skeleton"}):i.data?o.jsx(D,{data:i.data,organizationName:a}):null};export{D as C,E as O};
assets/{OrganizationDetailView-CRjol9bO.js → OrganizationDetailView-BRN5Nr38.js} RENAMED
@@ -1 +1 @@
1
- import{o as M,i as d,b as y,E as z,y as Q,m as E,j as a,L as F,x as L,u as I}from"./index-BhKQv9LT.js";import{R}from"./ResearchFollowButton-CP34FBeP.js";import{M as q}from"./MarkdownText-lBRZb4lH.js";import{O as G}from"./OrganizationContributionGraph-DrTL4Nwc.js";import{d as H,u as S,e as W,P as B}from"./usePapers-Cuyi1itG.js";import{S as D}from"./searchable-select-CbMREm8O.js";import{S as K}from"./skeleton-BkbzA0oF.js";import{d as k,t as U}from"./transform-BzmXOpxt.js";import{o as V,i as Z}from"./organizationNames-BVKzYEBp.js";import v from"./NotFound-CkpULt19.js";import{l as J}from"./LoadFailurePage-CF1gemwM.js";import{u as X}from"./useDocumentTitle-DGWKz2sg.js";import{e as Y}from"./pageTitles-Cv5SviVf.js";import"./researchTopic-BP-u0rIC.js";import"./useMutation-DPQn8VkK.js";import"./FollowerAvatar-CdsnfvtL.js";import"./plus-Da5UgLnk.js";import"./PaperPreviewLink-5XV8BqLE.js";import"./index-COKyUVjd.js";import"./index-dnSSilbj.js";import"./hover-card-CM5j_oBo.js";import"./PaperCard-CSOLEzIX.js";import"./AuthorAvatar-DfcP8J6o.js";import"./SotaBadges-CcS46IjG.js";import"./colors-BkWRhvFI.js";import"./Icon-Cdqu8Hq_.js";import"./LatexTitle-GmCrtZ_I.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DoQl9nzw.js";import"./useIntersectionObserver-M_MEUmwh.js";import"./useInfiniteQuery-Ba0y0o7Y.js";import"./button-CbtZIybp.js";import"./dialog-C_jKzXRg.js";import"./search-BLHGfANa.js";import"./loader-circle-CcsDvzXG.js";import"./alert-zC2kYXtI.js";const ee=({organizationSlug:t,taskSlug:n})=>{var x,_,j,b,N;const P=M(),c=H(),{searchParams:$}=c,[w,h]=d.useState(!1),u=y(L.organization(t)),l=y(L.organizationAreasWithTasks(t)),p=S(Q.organization(t,n,c.filters),s=>z.forOrganization(t,{...c.filters,task:n,page:s,page_size:12}),{enabled:!!t});d.useEffect(()=>{h(!1)},[t,n]);const g=d.useMemo(()=>{var s;return(((s=l.data)==null?void 0:s.results)??[]).flatMap(o=>o.tasks.filter(r=>!!r.slug).map(r=>({...r,slug:r.slug,label:k(r.name,r.slug)})))},[l.data]),i=g.find(s=>s.slug===n),O=d.useMemo(()=>{var s;return(((s=p.data)==null?void 0:s.pages)??[]).flatMap(o=>o.results.map(U))},[p.data]),e=u.data??((x=l.data)==null?void 0:x.organization);X(e&&Y(e.name));const m=e?V(e):null,T=((j=(_=p.data)==null?void 0:_.pages[0])==null?void 0:j.count)??0;if(E(u.error))return a.jsx(v,{});const f=J([l.error,p.error],"Failed to load organization papers. Please try again.");if(f)return f;const A=s=>{const o=s.trim().toLocaleLowerCase();return g.filter(r=>`${r.label} ${r.slug}`.toLocaleLowerCase().includes(o)).map(r=>({value:r.slug,label:r.label,description:`${r.paper_count.toLocaleString()} ${r.paper_count===1?"paper":"papers"}`}))},C=s=>{const o=s==="__all__"?`/orgs/${t}`:`/orgs/${t}/${s}`,r=$.toString();P({pathname:o,search:r?`?${r}`:""})};return a.jsxs("div",{className:"page",children:[a.jsxs("nav",{className:"breadcrumb","aria-label":"Breadcrumb",children:[a.jsx(F,{to:"/",children:"Home"}),a.jsx("span",{children:" / "}),a.jsx(F,{to:"/organizations",children:"Organizations"}),a.jsx("span",{children:" / "}),a.jsx("span",{children:(e==null?void 0:e.name)??t}),i&&a.jsxs(a.Fragment,{children:[a.jsx("span",{children:" / "}),a.jsx("span",{children:k(i.name,i.slug)})]})]}),a.jsxs("header",{className:"organization-hero",children:[a.jsxs("div",{className:"organization-hero-profile",children:[a.jsx("div",{className:"organizations-eyebrow",children:"ORGANIZATION"}),a.jsxs("h1",{className:`feed-title organization-hero-title${e&&!m&&Z(e.name)?" organization-hero-title--long":""}`,children:[e!=null&&e.logo_url&&!w?a.jsx("img",{src:e.logo_url,alt:"",width:58,height:58,onError:()=>h(!0)}):e?a.jsx("span",{className:"organization-hero-monogram","aria-hidden":"true",children:(m??e.name).slice(0,1).toUpperCase()}):null,e?a.jsxs("span",{className:"organization-hero-name",children:[m??e.name,m&&a.jsx("span",{className:"organization-hero-full-name",children:e.name})]}):a.jsx(K,{className:"h-12 w-64"})]}),e&&a.jsx(R,{kind:"organization",entityId:e.id}),e&&a.jsxs("div",{className:"feed-subtitle",children:[((b=e.paper_count)==null?void 0:b.toLocaleString())??0," papers",(e.organization_trending_score??0)>0&&e.trending_rank&&a.jsxs(a.Fragment,{children:[" · #",e.trending_rank," trending this month"]})]}),(e==null?void 0:e.description)&&a.jsx(q,{className:"method-description",text:e.description}),e&&a.jsxs("div",{className:"organization-hero-links",children:[e.website_url&&a.jsx("a",{href:e.website_url,target:"_blank",rel:"noreferrer",children:"Website ↗"}),e.hf_url&&a.jsx("a",{href:e.hf_url,target:"_blank",rel:"noreferrer",children:"Hugging Face ↗"}),e.github_url&&a.jsx("a",{href:e.github_url,target:"_blank",rel:"noreferrer",children:"GitHub ↗"})]})]}),a.jsx(G,{organizationSlug:t,organizationName:(e==null?void 0:e.name)??t})]}),a.jsx(W,{feed:c,style:{alignItems:"center",gap:16},leading:a.jsx("div",{style:{minWidth:260},children:a.jsx(D,{value:n??"__all__",onChange:C,placeholder:"All tasks",searchPlaceholder:"Search organization tasks...",emptyMessage:"No matching tasks.",ariaLabel:"Filter papers by task",selectedOption:i?{value:i.slug,label:i.label,description:`${i.paper_count.toLocaleString()} ${i.paper_count===1?"paper":"papers"}`}:{value:"__all__",label:"All tasks",description:`${((N=e==null?void 0:e.paper_count)==null?void 0:N.toLocaleString())??0} papers`},queryKey:["organization-task-options",t],queryFn:async s=>{var o;return[{value:"__all__",label:"All tasks",description:`${((o=e==null?void 0:e.paper_count)==null?void 0:o.toLocaleString())??0} papers`},...A(s)]},enabled:!l.isLoading,className:"h-[38px]"})}),children:a.jsxs("div",{className:"results-count",children:[T.toLocaleString()," papers"]})}),a.jsx(B,{query:p,cards:O,showInstitution:!1,empty:(e==null?void 0:e.paper_count)===0?"No papers indexed yet":"No papers found for this selection."})]})},Ee=()=>{const{orgSlug:t,taskSlug:n}=I();return t?a.jsx(ee,{organizationSlug:t,taskSlug:n}):a.jsx(v,{})};export{Ee as default};
 
1
+ import{o as M,i as d,b as y,E as z,y as Q,m as E,j as a,L as F,x as L,u as I}from"./index-B0aq-iar.js";import{R}from"./ResearchFollowButton-D0tv80JF.js";import{M as q}from"./MarkdownText-BkbUXFCs.js";import{O as G}from"./OrganizationContributionGraph-Bu2X49MY.js";import{d as H,u as S,e as W,P as B}from"./usePapers-DH6AufOQ.js";import{S as D}from"./searchable-select-VhKQioJk.js";import{S as K}from"./skeleton-DsZ-wKhC.js";import{d as k,t as U}from"./transform-BII-_KDB.js";import{o as V,i as Z}from"./organizationNames-BVKzYEBp.js";import v from"./NotFound-iYKf4_7M.js";import{l as J}from"./LoadFailurePage-BfvJBtL8.js";import{u as X}from"./useDocumentTitle-gwKq10Vr.js";import{e as Y}from"./pageTitles-DPtr8SUn.js";import"./researchTopic-179EqBPz.js";import"./useMutation-DxP7YVP3.js";import"./FollowerAvatar-DMLlkjGd.js";import"./plus-Ig6EFSa0.js";import"./PaperPreviewLink-4dmR6yPp.js";import"./index-B9qpvwaI.js";import"./index-16KodlFR.js";import"./hover-card-B_kWNxjX.js";import"./PaperCard-CXKXdRil.js";import"./AuthorAvatar-CWdu93Ln.js";import"./SotaBadges-Dh4JgSRd.js";import"./colors-BkWRhvFI.js";import"./Icon-BkpouXtc.js";import"./LatexTitle-CXLW2LHS.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DdJ3UXiH.js";import"./useIntersectionObserver-B5f-R6yl.js";import"./useInfiniteQuery-DIIy94Ek.js";import"./button-TpPKOW28.js";import"./dialog-CMqnZdwE.js";import"./search-BHf0tBuT.js";import"./loader-circle-DjsuNmQM.js";import"./alert-Cf45hSUq.js";const ee=({organizationSlug:t,taskSlug:n})=>{var x,_,j,b,N;const P=M(),c=H(),{searchParams:$}=c,[w,h]=d.useState(!1),u=y(L.organization(t)),l=y(L.organizationAreasWithTasks(t)),p=S(Q.organization(t,n,c.filters),s=>z.forOrganization(t,{...c.filters,task:n,page:s,page_size:12}),{enabled:!!t});d.useEffect(()=>{h(!1)},[t,n]);const g=d.useMemo(()=>{var s;return(((s=l.data)==null?void 0:s.results)??[]).flatMap(o=>o.tasks.filter(r=>!!r.slug).map(r=>({...r,slug:r.slug,label:k(r.name,r.slug)})))},[l.data]),i=g.find(s=>s.slug===n),O=d.useMemo(()=>{var s;return(((s=p.data)==null?void 0:s.pages)??[]).flatMap(o=>o.results.map(U))},[p.data]),e=u.data??((x=l.data)==null?void 0:x.organization);X(e&&Y(e.name));const m=e?V(e):null,T=((j=(_=p.data)==null?void 0:_.pages[0])==null?void 0:j.count)??0;if(E(u.error))return a.jsx(v,{});const f=J([l.error,p.error],"Failed to load organization papers. Please try again.");if(f)return f;const A=s=>{const o=s.trim().toLocaleLowerCase();return g.filter(r=>`${r.label} ${r.slug}`.toLocaleLowerCase().includes(o)).map(r=>({value:r.slug,label:r.label,description:`${r.paper_count.toLocaleString()} ${r.paper_count===1?"paper":"papers"}`}))},C=s=>{const o=s==="__all__"?`/orgs/${t}`:`/orgs/${t}/${s}`,r=$.toString();P({pathname:o,search:r?`?${r}`:""})};return a.jsxs("div",{className:"page",children:[a.jsxs("nav",{className:"breadcrumb","aria-label":"Breadcrumb",children:[a.jsx(F,{to:"/",children:"Home"}),a.jsx("span",{children:" / "}),a.jsx(F,{to:"/organizations",children:"Organizations"}),a.jsx("span",{children:" / "}),a.jsx("span",{children:(e==null?void 0:e.name)??t}),i&&a.jsxs(a.Fragment,{children:[a.jsx("span",{children:" / "}),a.jsx("span",{children:k(i.name,i.slug)})]})]}),a.jsxs("header",{className:"organization-hero",children:[a.jsxs("div",{className:"organization-hero-profile",children:[a.jsx("div",{className:"organizations-eyebrow",children:"ORGANIZATION"}),a.jsxs("h1",{className:`feed-title organization-hero-title${e&&!m&&Z(e.name)?" organization-hero-title--long":""}`,children:[e!=null&&e.logo_url&&!w?a.jsx("img",{src:e.logo_url,alt:"",width:58,height:58,onError:()=>h(!0)}):e?a.jsx("span",{className:"organization-hero-monogram","aria-hidden":"true",children:(m??e.name).slice(0,1).toUpperCase()}):null,e?a.jsxs("span",{className:"organization-hero-name",children:[m??e.name,m&&a.jsx("span",{className:"organization-hero-full-name",children:e.name})]}):a.jsx(K,{className:"h-12 w-64"})]}),e&&a.jsx(R,{kind:"organization",entityId:e.id}),e&&a.jsxs("div",{className:"feed-subtitle",children:[((b=e.paper_count)==null?void 0:b.toLocaleString())??0," papers",(e.organization_trending_score??0)>0&&e.trending_rank&&a.jsxs(a.Fragment,{children:[" · #",e.trending_rank," trending this month"]})]}),(e==null?void 0:e.description)&&a.jsx(q,{className:"method-description",text:e.description}),e&&a.jsxs("div",{className:"organization-hero-links",children:[e.website_url&&a.jsx("a",{href:e.website_url,target:"_blank",rel:"noreferrer",children:"Website ↗"}),e.hf_url&&a.jsx("a",{href:e.hf_url,target:"_blank",rel:"noreferrer",children:"Hugging Face ↗"}),e.github_url&&a.jsx("a",{href:e.github_url,target:"_blank",rel:"noreferrer",children:"GitHub ↗"})]})]}),a.jsx(G,{organizationSlug:t,organizationName:(e==null?void 0:e.name)??t})]}),a.jsx(W,{feed:c,style:{alignItems:"center",gap:16},leading:a.jsx("div",{style:{minWidth:260},children:a.jsx(D,{value:n??"__all__",onChange:C,placeholder:"All tasks",searchPlaceholder:"Search organization tasks...",emptyMessage:"No matching tasks.",ariaLabel:"Filter papers by task",selectedOption:i?{value:i.slug,label:i.label,description:`${i.paper_count.toLocaleString()} ${i.paper_count===1?"paper":"papers"}`}:{value:"__all__",label:"All tasks",description:`${((N=e==null?void 0:e.paper_count)==null?void 0:N.toLocaleString())??0} papers`},queryKey:["organization-task-options",t],queryFn:async s=>{var o;return[{value:"__all__",label:"All tasks",description:`${((o=e==null?void 0:e.paper_count)==null?void 0:o.toLocaleString())??0} papers`},...A(s)]},enabled:!l.isLoading,className:"h-[38px]"})}),children:a.jsxs("div",{className:"results-count",children:[T.toLocaleString()," papers"]})}),a.jsx(B,{query:p,cards:O,showInstitution:!1,empty:(e==null?void 0:e.paper_count)===0?"No papers indexed yet":"No papers found for this selection."})]})},Ee=()=>{const{orgSlug:t,taskSlug:n}=I();return t?a.jsx(ee,{organizationSlug:t,taskSlug:n}):a.jsx(v,{})};export{Ee as default};
assets/{OrganizationsIndexView-Cyxt0wfV.js → OrganizationsIndexView-BMEoB4mf.js} RENAMED
@@ -1 +1 @@
1
- import{f as g,b as x,i as h,j as e,L as u,x as j}from"./index-BhKQv9LT.js";import{A as N,a as y}from"./alert-zC2kYXtI.js";import{u as f}from"./useDocumentTitle-DGWKz2sg.js";import{I as _}from"./pageTitles-Cv5SviVf.js";const v=n=>n==="papers"||n==="name"?n:"trending",z=({organization:n})=>{const[d,i]=h.useState(!1);return!n.logo_url||d?e.jsx("span",{className:"organization-logo organization-logo--fallback","aria-hidden":"true",children:n.name.slice(0,1).toUpperCase()}):e.jsx("span",{className:"organization-logo",children:e.jsx("img",{src:n.logo_url,alt:"",width:48,height:48,onError:()=>i(!0)})})},C=()=>{f(_.organizations);const[n,d]=g(),i=v(n.get("sort")),c=n.get("q")??"",o=x(j.organizationIndex()),p=s=>{const a=new URLSearchParams(n),t=s.sort??i,r=s.query??c;t==="trending"?a.delete("sort"):a.set("sort",t),r.trim()?a.set("q",r):a.delete("q"),d(a)},m=h.useMemo(()=>{var t;const s=c.trim().toLocaleLowerCase(),a=(((t=o.data)==null?void 0:t.results)??[]).filter(r=>[r.name,r.slug,r.hf_slug??""].join(" ").toLocaleLowerCase().includes(s));return i==="papers"?[...a].sort((r,l)=>(l.paper_count??0)-(r.paper_count??0)||r.name.localeCompare(l.name)||r.slug.localeCompare(l.slug)):i==="name"?[...a].sort((r,l)=>r.name.localeCompare(l.name)||r.slug.localeCompare(l.slug)):a},[o.data,c,i]);return e.jsxs("div",{className:"page organizations-page",children:[e.jsx("div",{className:"feed-header",children:e.jsxs("div",{children:[e.jsxs("h1",{className:"feed-title",children:["AI ",e.jsx("em",{children:"Organizations"})]}),e.jsx("div",{className:"feed-subtitle",children:"Explore papers from leading AI organizations, ranked by sustained community momentum over the past 30 days."})]})}),e.jsxs("section",{"aria-labelledby":"organizations-heading",children:[e.jsxs("div",{className:"organizations-section-heading",children:[e.jsx("h2",{id:"organizations-heading",children:o.data?`${o.data.count.toLocaleString()} organizations`:"Organizations"}),e.jsx("span",{children:i==="trending"?"Ranked by 30-day momentum":i==="papers"?"Sorted by linked papers":"Sorted A–Z"})]}),e.jsxs("div",{className:"organizations-controls",children:[e.jsxs("label",{children:[e.jsx("span",{className:"sr-only",children:"Search organizations"}),e.jsx("input",{type:"search",value:c,onChange:s=>p({query:s.target.value}),placeholder:"Search organizations"})]}),e.jsx("div",{className:"organizations-sort","aria-label":"Sort organizations",children:[["trending","Trending"],["papers","Most papers"],["name","A–Z"]].map(([s,a])=>e.jsx("button",{type:"button",className:i===s?"active":"","aria-pressed":i===s,onClick:()=>p({sort:s}),children:a},s))})]}),o.isLoading?e.jsx("div",{className:"organizations-grid","aria-busy":"true","aria-label":"Loading organizations",children:Array.from({length:12}).map((s,a)=>e.jsxs("div",{className:"organization-card organization-card-skeleton",children:[e.jsxs("div",{className:"organization-card-header",children:[e.jsx("span",{className:"organization-logo"}),e.jsxs("div",{children:[e.jsx("span",{className:"organization-skeleton-line"}),e.jsx("span",{className:"organization-skeleton-line short"})]})]}),e.jsx("div",{className:"organization-card-metrics",children:e.jsx("span",{className:"organization-skeleton-line short"})}),e.jsxs("div",{className:"organization-highlight",children:[e.jsx("span",{className:"organization-skeleton-line"}),e.jsx("span",{className:"organization-skeleton-line"})]})]},a))}):o.error?e.jsx(N,{variant:"destructive",children:e.jsxs(y,{children:["Failed to load organizations."," ",e.jsx("button",{type:"button",onClick:()=>o.refetch(),children:"Try again"})]})}):m.length===0?e.jsxs("div",{className:"organizations-empty",children:["No organizations match “",c,"”."]}):e.jsx("div",{className:"organizations-grid",children:m.map(s=>{var r;const a=s.paper_count??0,t=s.first_paper_year&&s.latest_paper_year?s.first_paper_year===s.latest_paper_year?String(s.first_paper_year):`${s.first_paper_year}–${s.latest_paper_year}`:null;return e.jsxs(u,{to:`/orgs/${s.slug}`,className:"organization-card","aria-label":a?`Browse ${a.toLocaleString()} ${s.name} papers`:`Browse ${s.name} papers`,children:[e.jsxs("div",{className:"organization-card-header",children:[e.jsx(z,{organization:s}),e.jsxs("div",{children:[e.jsx("h3",{children:s.name}),e.jsxs("span",{children:["@",s.hf_slug??s.slug]})]})]}),e.jsxs("div",{className:"organization-card-metrics",children:[e.jsx("strong",{children:a.toLocaleString()}),e.jsx("span",{children:a===1?"paper":"papers"}),i==="trending"&&s.trending_rank&&e.jsxs("span",{className:"organization-rank",children:["#",s.trending_rank]})]}),e.jsxs("div",{className:"organization-highlight",children:[e.jsx("span",{children:"Trending paper"}),e.jsx("strong",{children:((r=s.top_trending_paper)==null?void 0:r.title)??"No papers indexed yet"})]}),e.jsxs("div",{className:"organization-card-footer",children:[t?`Publishing ${t}`:"Research archive ready",e.jsx("span",{"aria-hidden":"true",children:"↗"})]})]},s.id)})})]})]})};export{C as default};
 
1
+ import{f as g,b as x,i as h,j as e,L as u,x as j}from"./index-B0aq-iar.js";import{A as N,a as y}from"./alert-Cf45hSUq.js";import{u as f}from"./useDocumentTitle-gwKq10Vr.js";import{I as _}from"./pageTitles-DPtr8SUn.js";const v=n=>n==="papers"||n==="name"?n:"trending",z=({organization:n})=>{const[d,i]=h.useState(!1);return!n.logo_url||d?e.jsx("span",{className:"organization-logo organization-logo--fallback","aria-hidden":"true",children:n.name.slice(0,1).toUpperCase()}):e.jsx("span",{className:"organization-logo",children:e.jsx("img",{src:n.logo_url,alt:"",width:48,height:48,onError:()=>i(!0)})})},C=()=>{f(_.organizations);const[n,d]=g(),i=v(n.get("sort")),c=n.get("q")??"",o=x(j.organizationIndex()),p=s=>{const a=new URLSearchParams(n),t=s.sort??i,r=s.query??c;t==="trending"?a.delete("sort"):a.set("sort",t),r.trim()?a.set("q",r):a.delete("q"),d(a)},m=h.useMemo(()=>{var t;const s=c.trim().toLocaleLowerCase(),a=(((t=o.data)==null?void 0:t.results)??[]).filter(r=>[r.name,r.slug,r.hf_slug??""].join(" ").toLocaleLowerCase().includes(s));return i==="papers"?[...a].sort((r,l)=>(l.paper_count??0)-(r.paper_count??0)||r.name.localeCompare(l.name)||r.slug.localeCompare(l.slug)):i==="name"?[...a].sort((r,l)=>r.name.localeCompare(l.name)||r.slug.localeCompare(l.slug)):a},[o.data,c,i]);return e.jsxs("div",{className:"page organizations-page",children:[e.jsx("div",{className:"feed-header",children:e.jsxs("div",{children:[e.jsxs("h1",{className:"feed-title",children:["AI ",e.jsx("em",{children:"Organizations"})]}),e.jsx("div",{className:"feed-subtitle",children:"Explore papers from leading AI organizations, ranked by sustained community momentum over the past 30 days."})]})}),e.jsxs("section",{"aria-labelledby":"organizations-heading",children:[e.jsxs("div",{className:"organizations-section-heading",children:[e.jsx("h2",{id:"organizations-heading",children:o.data?`${o.data.count.toLocaleString()} organizations`:"Organizations"}),e.jsx("span",{children:i==="trending"?"Ranked by 30-day momentum":i==="papers"?"Sorted by linked papers":"Sorted A–Z"})]}),e.jsxs("div",{className:"organizations-controls",children:[e.jsxs("label",{children:[e.jsx("span",{className:"sr-only",children:"Search organizations"}),e.jsx("input",{type:"search",value:c,onChange:s=>p({query:s.target.value}),placeholder:"Search organizations"})]}),e.jsx("div",{className:"organizations-sort","aria-label":"Sort organizations",children:[["trending","Trending"],["papers","Most papers"],["name","A–Z"]].map(([s,a])=>e.jsx("button",{type:"button",className:i===s?"active":"","aria-pressed":i===s,onClick:()=>p({sort:s}),children:a},s))})]}),o.isLoading?e.jsx("div",{className:"organizations-grid","aria-busy":"true","aria-label":"Loading organizations",children:Array.from({length:12}).map((s,a)=>e.jsxs("div",{className:"organization-card organization-card-skeleton",children:[e.jsxs("div",{className:"organization-card-header",children:[e.jsx("span",{className:"organization-logo"}),e.jsxs("div",{children:[e.jsx("span",{className:"organization-skeleton-line"}),e.jsx("span",{className:"organization-skeleton-line short"})]})]}),e.jsx("div",{className:"organization-card-metrics",children:e.jsx("span",{className:"organization-skeleton-line short"})}),e.jsxs("div",{className:"organization-highlight",children:[e.jsx("span",{className:"organization-skeleton-line"}),e.jsx("span",{className:"organization-skeleton-line"})]})]},a))}):o.error?e.jsx(N,{variant:"destructive",children:e.jsxs(y,{children:["Failed to load organizations."," ",e.jsx("button",{type:"button",onClick:()=>o.refetch(),children:"Try again"})]})}):m.length===0?e.jsxs("div",{className:"organizations-empty",children:["No organizations match “",c,"”."]}):e.jsx("div",{className:"organizations-grid",children:m.map(s=>{var r;const a=s.paper_count??0,t=s.first_paper_year&&s.latest_paper_year?s.first_paper_year===s.latest_paper_year?String(s.first_paper_year):`${s.first_paper_year}–${s.latest_paper_year}`:null;return e.jsxs(u,{to:`/orgs/${s.slug}`,className:"organization-card","aria-label":a?`Browse ${a.toLocaleString()} ${s.name} papers`:`Browse ${s.name} papers`,children:[e.jsxs("div",{className:"organization-card-header",children:[e.jsx(z,{organization:s}),e.jsxs("div",{children:[e.jsx("h3",{children:s.name}),e.jsxs("span",{children:["@",s.hf_slug??s.slug]})]})]}),e.jsxs("div",{className:"organization-card-metrics",children:[e.jsx("strong",{children:a.toLocaleString()}),e.jsx("span",{children:a===1?"paper":"papers"}),i==="trending"&&s.trending_rank&&e.jsxs("span",{className:"organization-rank",children:["#",s.trending_rank]})]}),e.jsxs("div",{className:"organization-highlight",children:[e.jsx("span",{children:"Trending paper"}),e.jsx("strong",{children:((r=s.top_trending_paper)==null?void 0:r.title)??"No papers indexed yet"})]}),e.jsxs("div",{className:"organization-card-footer",children:[t?`Publishing ${t}`:"Research archive ready",e.jsx("span",{"aria-hidden":"true",children:"↗"})]})]},s.id)})})]})]})};export{C as default};
assets/{PaperCard-CSOLEzIX.js → PaperCard-CXKXdRil.js} RENAMED
@@ -1 +1 @@
1
- import{v as M,ad as g,O as L,j as a,L as d}from"./index-BhKQv9LT.js";import{A as Z}from"./AuthorAvatar-DfcP8J6o.js";import{P as k,S as A,T as P,M as y}from"./SotaBadges-CcS46IjG.js";import{I as C}from"./Icon-Cdqu8Hq_.js";import{L as E,a as U}from"./LatexTitle-GmCrtZ_I.js";import{s as h}from"./safeExternalHref-CkBrsh84.js";const $=({size:s=16})=>a.jsxs("svg",{className:"hf-logo",width:s,height:s,viewBox:"0 0 95 88",fill:"none","aria-hidden":"true",focusable:"false",children:[a.jsx("path",{fill:"#FFD21E",d:"M47.21 76.5a34.75 34.75 0 1 0 0-69.5 34.75 34.75 0 0 0 0 69.5Z"}),a.jsx("path",{fill:"#FF9D0B",d:"M81.96 41.75a34.75 34.75 0 1 0-69.5 0 34.75 34.75 0 0 0 69.5 0Zm-73.5 0a38.75 38.75 0 1 1 77.5 0 38.75 38.75 0 0 1-77.5 0Z"}),a.jsx("path",{fill:"#3A3B45",d:"M58.5 32.3c1.28.44 1.78 3.06 3.07 2.38a5 5 0 1 0-6.76-2.07c.61 1.15 2.55-.72 3.7-.32ZM34.95 32.3c-1.28.44-1.79 3.06-3.07 2.38a5 5 0 1 1 6.76-2.07c-.61 1.15-2.56-.72-3.7-.32Z"}),a.jsx("path",{fill:"#FF323D",d:"M46.96 56.29c9.83 0 13-8.76 13-13.26 0-2.34-1.57-1.6-4.09-.36-2.33 1.15-5.46 2.74-8.9 2.74-7.19 0-13-6.88-13-2.38s3.16 13.26 13 13.26Z"}),a.jsx("path",{fill:"#3A3B45",fillRule:"evenodd",clipRule:"evenodd",d:"M39.43 54a8.7 8.7 0 0 1 5.3-4.49c.4-.12.81.57 1.24 1.28.4.68.82 1.37 1.24 1.37.45 0 .9-.68 1.33-1.35.45-.7.89-1.38 1.32-1.25a8.61 8.61 0 0 1 5 4.17c3.73-2.94 5.1-7.74 5.1-10.7 0-2.34-1.57-1.6-4.09-.36l-.14.07c-2.31 1.15-5.39 2.67-8.77 2.67s-6.45-1.52-8.77-2.67c-2.6-1.29-4.23-2.1-4.23.29 0 3.05 1.46 8.06 5.47 10.97Z"}),a.jsx("path",{fill:"#FF9D0B",d:"M70.71 37a3.25 3.25 0 1 0 0-6.5 3.25 3.25 0 0 0 0 6.5ZM24.21 37a3.25 3.25 0 1 0 0-6.5 3.25 3.25 0 0 0 0 6.5ZM17.52 48c-1.62 0-3.06.66-4.07 1.87a5.97 5.97 0 0 0-1.33 3.76 7.1 7.1 0 0 0-1.94-.3c-1.55 0-2.95.59-3.94 1.66a5.8 5.8 0 0 0-.8 7 5.3 5.3 0 0 0-1.79 2.82c-.24.9-.48 2.8.8 4.74a5.22 5.22 0 0 0-.37 5.02c1.02 2.32 3.57 4.14 8.52 6.1 3.07 1.22 5.89 2 5.91 2.01a44.33 44.33 0 0 0 10.93 1.6c5.86 0 10.05-1.8 12.46-5.34 3.88-5.69 3.33-10.9-1.7-15.92-2.77-2.78-4.62-6.87-5-7.77-.78-2.66-2.84-5.62-6.25-5.62a5.7 5.7 0 0 0-4.6 2.46c-1-1.26-1.98-2.25-2.86-2.82A7.4 7.4 0 0 0 17.52 48Zm0 4c.51 0 1.14.22 1.82.65 2.14 1.36 6.25 8.43 7.76 11.18.5.92 1.37 1.31 2.14 1.31 1.55 0 2.75-1.53.15-3.48-3.92-2.93-2.55-7.72-.68-8.01.08-.02.17-.02.24-.02 1.7 0 2.45 2.93 2.45 2.93s2.2 5.52 5.98 9.3c3.77 3.77 3.97 6.8 1.22 10.83-1.88 2.75-5.47 3.58-9.16 3.58-3.81 0-7.73-.9-9.92-1.46-.11-.03-13.45-3.8-11.76-7 .28-.54.75-.76 1.34-.76 2.38 0 6.7 3.54 8.57 3.54.41 0 .7-.17.83-.6.79-2.85-12.06-4.05-10.98-8.17.2-.73.71-1.02 1.44-1.02 3.14 0 10.2 5.53 11.68 5.53.11 0 .2-.03.24-.1.74-1.2.33-2.04-4.9-5.2-5.21-3.16-8.88-5.06-6.8-7.33.24-.26.58-.38 1-.38 3.17 0 10.66 6.82 10.66 6.82s2.02 2.1 3.25 2.1c.28 0 .52-.1.68-.38.86-1.46-8.06-8.22-8.56-11.01-.34-1.9.24-2.85 1.31-2.85Z"}),a.jsx("path",{fill:"#FFD21E",d:"M38.6 76.69c2.75-4.04 2.55-7.07-1.22-10.84-3.78-3.77-5.98-9.3-5.98-9.3s-.82-3.2-2.69-2.9c-1.87.3-3.24 5.08.68 8.01 3.91 2.93-.78 4.92-2.29 2.17-1.5-2.75-5.62-9.82-7.76-11.18-2.13-1.35-3.63-.6-3.13 2.2.5 2.79 9.43 9.55 8.56 11-.87 1.47-3.93-1.71-3.93-1.71s-9.57-8.71-11.66-6.44c-2.08 2.27 1.59 4.17 6.8 7.33 5.23 3.16 5.64 4 4.9 5.2-.75 1.2-12.28-8.53-13.36-4.4-1.08 4.11 11.77 5.3 10.98 8.15-.8 2.85-9.06-5.38-10.74-2.18-1.7 3.21 11.65 6.98 11.76 7.01 4.3 1.12 15.25 3.49 19.08-2.12Z"}),a.jsx("path",{fill:"#FF9D0B",d:"M77.4 48c1.62 0 3.07.66 4.07 1.87a5.97 5.97 0 0 1 1.33 3.76 7.1 7.1 0 0 1 1.95-.3c1.55 0 2.95.59 3.94 1.66a5.8 5.8 0 0 1 .8 7 5.3 5.3 0 0 1 1.78 2.82c.24.9.48 2.8-.8 4.74a5.22 5.22 0 0 1 .37 5.02c-1.02 2.32-3.57 4.14-8.51 6.1-3.08 1.22-5.9 2-5.92 2.01a44.33 44.33 0 0 1-10.93 1.6c-5.86 0-10.05-1.8-12.46-5.34-3.88-5.69-3.33-10.9 1.7-15.92 2.78-2.78 4.63-6.87 5.01-7.77.78-2.66 2.83-5.62 6.24-5.62a5.7 5.7 0 0 1 4.6 2.46c1-1.26 1.98-2.25 2.87-2.82A7.4 7.4 0 0 1 77.4 48Zm0 4c-.51 0-1.13.22-1.82.65-2.13 1.36-6.25 8.43-7.76 11.18a2.43 2.43 0 0 1-2.14 1.31c-1.54 0-2.75-1.53-.14-3.48 3.91-2.93 2.54-7.72.67-8.01a1.54 1.54 0 0 0-.24-.02c-1.7 0-2.45 2.93-2.45 2.93s-2.2 5.52-5.97 9.3c-3.78 3.77-3.98 6.8-1.22 10.83 1.87 2.75 5.47 3.58 9.15 3.58 3.82 0 7.73-.9 9.93-1.46.1-.03 13.45-3.8 11.76-7-.29-.54-.75-.76-1.34-.76-2.38 0-6.71 3.54-8.57 3.54-.42 0-.71-.17-.83-.6-.8-2.85 12.05-4.05 10.97-8.17-.19-.73-.7-1.02-1.44-1.02-3.14 0-10.2 5.53-11.68 5.53-.1 0-.19-.03-.23-.1-.74-1.2-.34-2.04 4.88-5.2 5.23-3.16 8.9-5.06 6.8-7.33-.23-.26-.57-.38-.98-.38-3.18 0-10.67 6.82-10.67 6.82s-2.02 2.1-3.24 2.1a.74.74 0 0 1-.68-.38c-.87-1.46 8.05-8.22 8.55-11.01.34-1.9-.24-2.85-1.31-2.85Z"}),a.jsx("path",{fill:"#FFD21E",d:"M56.33 76.69c-2.75-4.04-2.56-7.07 1.22-10.84 3.77-3.77 5.97-9.3 5.97-9.3s.82-3.2 2.7-2.9c1.86.3 3.23 5.08-.68 8.01-3.92 2.93.78 4.92 2.28 2.17 1.51-2.75 5.63-9.82 7.76-11.18 2.13-1.35 3.64-.6 3.13 2.2-.5 2.79-9.42 9.55-8.55 11 .86 1.47 3.92-1.71 3.92-1.71s9.58-8.71 11.66-6.44c2.08 2.27-1.58 4.17-6.8 7.33-5.23 3.16-5.63 4-4.9 5.2.75 1.2 12.28-8.53 13.36-4.4 1.08 4.11-11.76 5.3-10.97 8.15.8 2.85 9.05-5.38 10.74-2.18 1.69 3.21-11.65 6.98-11.76 7.01-4.31 1.12-15.26 3.49-19.08-2.12Z"})]});function w(s){const t=[...new Set(s.map(n=>n.replace(/ \(subtask\)$/,"")))],l=t.length>3?[...t.slice(0,2),`${t.length-2} more`]:t;return l.length>1?`${l.slice(0,-1).join(", ")} and ${l[l.length-1]}`:l[0]}const z="language-modeling";function N(s){return s?s.toLowerCase().replace(/\(.*?\)/g," ").replace(/[^a-z]+/g," ").replace(/\bllm\b/g," ").replace(/\s+/g," ").trim().replace(/s$/,""):""}function B(s){return N(s.slug)==="large language model"||N(s.name)==="large language model"}function D(s){return s.tags.includes(z)?s.methods.filter(t=>!B(t)):s.methods}const S=({name:s,slug:t,logoUrl:l})=>{const[n,r]=g.useState(!1);return!l||n?null:a.jsx(d,{to:`/orgs/${t}`,className:"paper-organization-logo","aria-label":`View ${s} organization`,title:s,children:a.jsx("img",{src:l,alt:"",onError:()=>r(!0)})})},_=({paper:s,priority:t=!1,showInstitution:l=!0,highlightQuery:n,followReasons:r,isNew:m=!1})=>{const x=M(),u=`/paper/${s.id}`,i=g.useCallback(()=>{x.prefetchQuery(L.detail(s.id))},[s.id,x]),v=s.authors.slice(0,3).map((e,o)=>{var p,F;const f=(p=s.authorIds)==null?void 0:p[o],b=(F=s.authorHfProfiles)==null?void 0:F[o];return a.jsxs(g.Fragment,{children:[o>0&&", ",b&&a.jsx(Z,{className:"paper-card-author-avatar",url:b.avatarUrl}),f?a.jsx(d,{to:`/authors/${f}`,children:e}):e]},o)}),c=s.authors.length,j=D(s);return a.jsxs("article",{className:"paper-card",children:[a.jsx(d,{to:u,className:"paper-thumb-wrap",onFocus:i,onMouseEnter:i,children:a.jsx(k,{paperId:s.id,title:s.title,thumbnailUrl:s.thumbnailUrl,priority:t})}),a.jsxs("div",{className:"paper-body",children:[a.jsxs("div",{className:"paper-body-main",children:[(m||r&&r.length>0)&&a.jsxs("div",{className:"paper-follow-reason",children:[m&&a.jsx("span",{className:"paper-new-chip",children:"New"}),r&&r.length>0&&a.jsxs(a.Fragment,{children:["Because you follow ",w(r)]})]}),a.jsxs("h3",{className:"paper-title",children:[a.jsx(d,{to:u,onFocus:i,onMouseEnter:i,children:a.jsx(E,{title:s.title,highlight:n})}),l&&s.organizations.length>0&&a.jsx("span",{className:"paper-organization-logos",children:s.organizations.map(e=>a.jsx(S,{...e},e.slug))})]}),a.jsxs("div",{className:"paper-authors",children:[v,c>3&&a.jsxs("span",{children:[", ","+",c-3," authors"]}),s.date&&a.jsxs(a.Fragment,{children:[c>0?" · ":"",a.jsx("span",{children:s.date})]}),s.citations>0&&a.jsxs(a.Fragment,{children:[c>0||s.date?" · ":"",a.jsxs("span",{children:[s.citations.toLocaleString()," citations"]})]})]}),s.abstract&&a.jsx("p",{className:"paper-abstract",children:a.jsx(U,{text:s.abstract,highlight:n})}),s.sotaRanks.length>0&&a.jsx(A,{ranks:s.sotaRanks,paperHref:u}),(s.tags.length>0||j.length>0)&&a.jsxs("div",{className:"paper-tags paper-tags--clamped",children:[s.tags.map(e=>a.jsx(P,{slug:e},e)),j.map(e=>a.jsx(y,{method:e},e.id||e.slug||e.name))]})]}),(s.githubUrl||s.hfUrl)&&a.jsxs("div",{className:"paper-resources",children:[h(s.githubUrl)&&a.jsxs("a",{className:"paper-resource is-link",href:h(s.githubUrl)??void 0,target:"_blank",rel:"noopener noreferrer","aria-label":"Open GitHub repository",onClick:e=>e.stopPropagation(),children:[a.jsx(C,{name:"github",size:20}),s.velocity24h!=null&&s.velocity24h>0&&a.jsxs("span",{className:"resource-stat",children:[a.jsxs("span",{className:"resource-value",children:[a.jsx("span",{className:"gh-rate-arrow",children:"↑"}),s.velocity24h.toFixed(1)]}),a.jsx("span",{className:"resource-label",children:"stars / hr"})]})]}),h(s.hfUrl)&&s.hfKind&&a.jsxs("a",{className:"paper-resource is-link",href:h(s.hfUrl)??void 0,target:"_blank",rel:"noopener noreferrer","aria-label":`Open Hugging Face ${s.hfKind}`,onClick:e=>e.stopPropagation(),children:[a.jsx($,{size:20}),a.jsxs("span",{className:"resource-stat",children:[a.jsx("span",{className:"resource-value",children:s.hfCount}),a.jsx("span",{className:"resource-label",children:s.hfKind})]})]})]})]})]})};export{_ as P};
 
1
+ import{v as M,ad as g,O as L,j as a,L as d}from"./index-B0aq-iar.js";import{A as Z}from"./AuthorAvatar-CWdu93Ln.js";import{P as k,S as A,T as P,M as y}from"./SotaBadges-Dh4JgSRd.js";import{I as C}from"./Icon-BkpouXtc.js";import{L as E,a as U}from"./LatexTitle-CXLW2LHS.js";import{s as h}from"./safeExternalHref-CkBrsh84.js";const $=({size:s=16})=>a.jsxs("svg",{className:"hf-logo",width:s,height:s,viewBox:"0 0 95 88",fill:"none","aria-hidden":"true",focusable:"false",children:[a.jsx("path",{fill:"#FFD21E",d:"M47.21 76.5a34.75 34.75 0 1 0 0-69.5 34.75 34.75 0 0 0 0 69.5Z"}),a.jsx("path",{fill:"#FF9D0B",d:"M81.96 41.75a34.75 34.75 0 1 0-69.5 0 34.75 34.75 0 0 0 69.5 0Zm-73.5 0a38.75 38.75 0 1 1 77.5 0 38.75 38.75 0 0 1-77.5 0Z"}),a.jsx("path",{fill:"#3A3B45",d:"M58.5 32.3c1.28.44 1.78 3.06 3.07 2.38a5 5 0 1 0-6.76-2.07c.61 1.15 2.55-.72 3.7-.32ZM34.95 32.3c-1.28.44-1.79 3.06-3.07 2.38a5 5 0 1 1 6.76-2.07c-.61 1.15-2.56-.72-3.7-.32Z"}),a.jsx("path",{fill:"#FF323D",d:"M46.96 56.29c9.83 0 13-8.76 13-13.26 0-2.34-1.57-1.6-4.09-.36-2.33 1.15-5.46 2.74-8.9 2.74-7.19 0-13-6.88-13-2.38s3.16 13.26 13 13.26Z"}),a.jsx("path",{fill:"#3A3B45",fillRule:"evenodd",clipRule:"evenodd",d:"M39.43 54a8.7 8.7 0 0 1 5.3-4.49c.4-.12.81.57 1.24 1.28.4.68.82 1.37 1.24 1.37.45 0 .9-.68 1.33-1.35.45-.7.89-1.38 1.32-1.25a8.61 8.61 0 0 1 5 4.17c3.73-2.94 5.1-7.74 5.1-10.7 0-2.34-1.57-1.6-4.09-.36l-.14.07c-2.31 1.15-5.39 2.67-8.77 2.67s-6.45-1.52-8.77-2.67c-2.6-1.29-4.23-2.1-4.23.29 0 3.05 1.46 8.06 5.47 10.97Z"}),a.jsx("path",{fill:"#FF9D0B",d:"M70.71 37a3.25 3.25 0 1 0 0-6.5 3.25 3.25 0 0 0 0 6.5ZM24.21 37a3.25 3.25 0 1 0 0-6.5 3.25 3.25 0 0 0 0 6.5ZM17.52 48c-1.62 0-3.06.66-4.07 1.87a5.97 5.97 0 0 0-1.33 3.76 7.1 7.1 0 0 0-1.94-.3c-1.55 0-2.95.59-3.94 1.66a5.8 5.8 0 0 0-.8 7 5.3 5.3 0 0 0-1.79 2.82c-.24.9-.48 2.8.8 4.74a5.22 5.22 0 0 0-.37 5.02c1.02 2.32 3.57 4.14 8.52 6.1 3.07 1.22 5.89 2 5.91 2.01a44.33 44.33 0 0 0 10.93 1.6c5.86 0 10.05-1.8 12.46-5.34 3.88-5.69 3.33-10.9-1.7-15.92-2.77-2.78-4.62-6.87-5-7.77-.78-2.66-2.84-5.62-6.25-5.62a5.7 5.7 0 0 0-4.6 2.46c-1-1.26-1.98-2.25-2.86-2.82A7.4 7.4 0 0 0 17.52 48Zm0 4c.51 0 1.14.22 1.82.65 2.14 1.36 6.25 8.43 7.76 11.18.5.92 1.37 1.31 2.14 1.31 1.55 0 2.75-1.53.15-3.48-3.92-2.93-2.55-7.72-.68-8.01.08-.02.17-.02.24-.02 1.7 0 2.45 2.93 2.45 2.93s2.2 5.52 5.98 9.3c3.77 3.77 3.97 6.8 1.22 10.83-1.88 2.75-5.47 3.58-9.16 3.58-3.81 0-7.73-.9-9.92-1.46-.11-.03-13.45-3.8-11.76-7 .28-.54.75-.76 1.34-.76 2.38 0 6.7 3.54 8.57 3.54.41 0 .7-.17.83-.6.79-2.85-12.06-4.05-10.98-8.17.2-.73.71-1.02 1.44-1.02 3.14 0 10.2 5.53 11.68 5.53.11 0 .2-.03.24-.1.74-1.2.33-2.04-4.9-5.2-5.21-3.16-8.88-5.06-6.8-7.33.24-.26.58-.38 1-.38 3.17 0 10.66 6.82 10.66 6.82s2.02 2.1 3.25 2.1c.28 0 .52-.1.68-.38.86-1.46-8.06-8.22-8.56-11.01-.34-1.9.24-2.85 1.31-2.85Z"}),a.jsx("path",{fill:"#FFD21E",d:"M38.6 76.69c2.75-4.04 2.55-7.07-1.22-10.84-3.78-3.77-5.98-9.3-5.98-9.3s-.82-3.2-2.69-2.9c-1.87.3-3.24 5.08.68 8.01 3.91 2.93-.78 4.92-2.29 2.17-1.5-2.75-5.62-9.82-7.76-11.18-2.13-1.35-3.63-.6-3.13 2.2.5 2.79 9.43 9.55 8.56 11-.87 1.47-3.93-1.71-3.93-1.71s-9.57-8.71-11.66-6.44c-2.08 2.27 1.59 4.17 6.8 7.33 5.23 3.16 5.64 4 4.9 5.2-.75 1.2-12.28-8.53-13.36-4.4-1.08 4.11 11.77 5.3 10.98 8.15-.8 2.85-9.06-5.38-10.74-2.18-1.7 3.21 11.65 6.98 11.76 7.01 4.3 1.12 15.25 3.49 19.08-2.12Z"}),a.jsx("path",{fill:"#FF9D0B",d:"M77.4 48c1.62 0 3.07.66 4.07 1.87a5.97 5.97 0 0 1 1.33 3.76 7.1 7.1 0 0 1 1.95-.3c1.55 0 2.95.59 3.94 1.66a5.8 5.8 0 0 1 .8 7 5.3 5.3 0 0 1 1.78 2.82c.24.9.48 2.8-.8 4.74a5.22 5.22 0 0 1 .37 5.02c-1.02 2.32-3.57 4.14-8.51 6.1-3.08 1.22-5.9 2-5.92 2.01a44.33 44.33 0 0 1-10.93 1.6c-5.86 0-10.05-1.8-12.46-5.34-3.88-5.69-3.33-10.9 1.7-15.92 2.78-2.78 4.63-6.87 5.01-7.77.78-2.66 2.83-5.62 6.24-5.62a5.7 5.7 0 0 1 4.6 2.46c1-1.26 1.98-2.25 2.87-2.82A7.4 7.4 0 0 1 77.4 48Zm0 4c-.51 0-1.13.22-1.82.65-2.13 1.36-6.25 8.43-7.76 11.18a2.43 2.43 0 0 1-2.14 1.31c-1.54 0-2.75-1.53-.14-3.48 3.91-2.93 2.54-7.72.67-8.01a1.54 1.54 0 0 0-.24-.02c-1.7 0-2.45 2.93-2.45 2.93s-2.2 5.52-5.97 9.3c-3.78 3.77-3.98 6.8-1.22 10.83 1.87 2.75 5.47 3.58 9.15 3.58 3.82 0 7.73-.9 9.93-1.46.1-.03 13.45-3.8 11.76-7-.29-.54-.75-.76-1.34-.76-2.38 0-6.71 3.54-8.57 3.54-.42 0-.71-.17-.83-.6-.8-2.85 12.05-4.05 10.97-8.17-.19-.73-.7-1.02-1.44-1.02-3.14 0-10.2 5.53-11.68 5.53-.1 0-.19-.03-.23-.1-.74-1.2-.34-2.04 4.88-5.2 5.23-3.16 8.9-5.06 6.8-7.33-.23-.26-.57-.38-.98-.38-3.18 0-10.67 6.82-10.67 6.82s-2.02 2.1-3.24 2.1a.74.74 0 0 1-.68-.38c-.87-1.46 8.05-8.22 8.55-11.01.34-1.9-.24-2.85-1.31-2.85Z"}),a.jsx("path",{fill:"#FFD21E",d:"M56.33 76.69c-2.75-4.04-2.56-7.07 1.22-10.84 3.77-3.77 5.97-9.3 5.97-9.3s.82-3.2 2.7-2.9c1.86.3 3.23 5.08-.68 8.01-3.92 2.93.78 4.92 2.28 2.17 1.51-2.75 5.63-9.82 7.76-11.18 2.13-1.35 3.64-.6 3.13 2.2-.5 2.79-9.42 9.55-8.55 11 .86 1.47 3.92-1.71 3.92-1.71s9.58-8.71 11.66-6.44c2.08 2.27-1.58 4.17-6.8 7.33-5.23 3.16-5.63 4-4.9 5.2.75 1.2 12.28-8.53 13.36-4.4 1.08 4.11-11.76 5.3-10.97 8.15.8 2.85 9.05-5.38 10.74-2.18 1.69 3.21-11.65 6.98-11.76 7.01-4.31 1.12-15.26 3.49-19.08-2.12Z"})]});function w(s){const t=[...new Set(s.map(n=>n.replace(/ \(subtask\)$/,"")))],l=t.length>3?[...t.slice(0,2),`${t.length-2} more`]:t;return l.length>1?`${l.slice(0,-1).join(", ")} and ${l[l.length-1]}`:l[0]}const z="language-modeling";function N(s){return s?s.toLowerCase().replace(/\(.*?\)/g," ").replace(/[^a-z]+/g," ").replace(/\bllm\b/g," ").replace(/\s+/g," ").trim().replace(/s$/,""):""}function B(s){return N(s.slug)==="large language model"||N(s.name)==="large language model"}function D(s){return s.tags.includes(z)?s.methods.filter(t=>!B(t)):s.methods}const S=({name:s,slug:t,logoUrl:l})=>{const[n,r]=g.useState(!1);return!l||n?null:a.jsx(d,{to:`/orgs/${t}`,className:"paper-organization-logo","aria-label":`View ${s} organization`,title:s,children:a.jsx("img",{src:l,alt:"",onError:()=>r(!0)})})},_=({paper:s,priority:t=!1,showInstitution:l=!0,highlightQuery:n,followReasons:r,isNew:m=!1})=>{const x=M(),u=`/paper/${s.id}`,i=g.useCallback(()=>{x.prefetchQuery(L.detail(s.id))},[s.id,x]),v=s.authors.slice(0,3).map((e,o)=>{var p,F;const f=(p=s.authorIds)==null?void 0:p[o],b=(F=s.authorHfProfiles)==null?void 0:F[o];return a.jsxs(g.Fragment,{children:[o>0&&", ",b&&a.jsx(Z,{className:"paper-card-author-avatar",url:b.avatarUrl}),f?a.jsx(d,{to:`/authors/${f}`,children:e}):e]},o)}),c=s.authors.length,j=D(s);return a.jsxs("article",{className:"paper-card",children:[a.jsx(d,{to:u,className:"paper-thumb-wrap",onFocus:i,onMouseEnter:i,children:a.jsx(k,{paperId:s.id,title:s.title,thumbnailUrl:s.thumbnailUrl,priority:t})}),a.jsxs("div",{className:"paper-body",children:[a.jsxs("div",{className:"paper-body-main",children:[(m||r&&r.length>0)&&a.jsxs("div",{className:"paper-follow-reason",children:[m&&a.jsx("span",{className:"paper-new-chip",children:"New"}),r&&r.length>0&&a.jsxs(a.Fragment,{children:["Because you follow ",w(r)]})]}),a.jsxs("h3",{className:"paper-title",children:[a.jsx(d,{to:u,onFocus:i,onMouseEnter:i,children:a.jsx(E,{title:s.title,highlight:n})}),l&&s.organizations.length>0&&a.jsx("span",{className:"paper-organization-logos",children:s.organizations.map(e=>a.jsx(S,{...e},e.slug))})]}),a.jsxs("div",{className:"paper-authors",children:[v,c>3&&a.jsxs("span",{children:[", ","+",c-3," authors"]}),s.date&&a.jsxs(a.Fragment,{children:[c>0?" · ":"",a.jsx("span",{children:s.date})]}),s.citations>0&&a.jsxs(a.Fragment,{children:[c>0||s.date?" · ":"",a.jsxs("span",{children:[s.citations.toLocaleString()," citations"]})]})]}),s.abstract&&a.jsx("p",{className:"paper-abstract",children:a.jsx(U,{text:s.abstract,highlight:n})}),s.sotaRanks.length>0&&a.jsx(A,{ranks:s.sotaRanks,paperHref:u}),(s.tags.length>0||j.length>0)&&a.jsxs("div",{className:"paper-tags paper-tags--clamped",children:[s.tags.map(e=>a.jsx(P,{slug:e},e)),j.map(e=>a.jsx(y,{method:e},e.id||e.slug||e.name))]})]}),(s.githubUrl||s.hfUrl)&&a.jsxs("div",{className:"paper-resources",children:[h(s.githubUrl)&&a.jsxs("a",{className:"paper-resource is-link",href:h(s.githubUrl)??void 0,target:"_blank",rel:"noopener noreferrer","aria-label":"Open GitHub repository",onClick:e=>e.stopPropagation(),children:[a.jsx(C,{name:"github",size:20}),s.velocity24h!=null&&s.velocity24h>0&&a.jsxs("span",{className:"resource-stat",children:[a.jsxs("span",{className:"resource-value",children:[a.jsx("span",{className:"gh-rate-arrow",children:"↑"}),s.velocity24h.toFixed(1)]}),a.jsx("span",{className:"resource-label",children:"stars / hr"})]})]}),h(s.hfUrl)&&s.hfKind&&a.jsxs("a",{className:"paper-resource is-link",href:h(s.hfUrl)??void 0,target:"_blank",rel:"noopener noreferrer","aria-label":`Open Hugging Face ${s.hfKind}`,onClick:e=>e.stopPropagation(),children:[a.jsx($,{size:20}),a.jsxs("span",{className:"resource-stat",children:[a.jsx("span",{className:"resource-value",children:s.hfCount}),a.jsx("span",{className:"resource-label",children:s.hfKind})]})]})]})]})]})};export{_ as P};
assets/{PaperDetailView-BqZThu4e.js → PaperDetailView-CNoo7fnX.js} RENAMED
@@ -1,4 +1,4 @@
1
- import{d as Re,j as e,L as H,b as B,I as sa,J as ne,K as aa,o as ss,M as X,i as x,N as ra,O as me,E as z,P as ht,C as pt,v as K,Q as ge,x as J,R as Se,X as as,S as na,U as rs,V as Z,W as ns,Y as xe,Z as pe,_ as is,$ as ft,a0 as Ee,a1 as Pe,a2 as ot,a3 as ia,a4 as os,a5 as oa,a6 as la,a7 as ca,a8 as da,a9 as ls,aa as ua,l as ma,ab as ha,A as fe,z as pa,a as Le,ac as cs,ad as $e,ae as At,k as ds,af as fa,ag as ga,u as xa,ah as Tt,ai as ba,aj as Dt,ak as ja,G as Ft,al as va,am as _a,an as ya,ao as ka,ap as Ut,n as Na,aq as wa}from"./index-BhKQv9LT.js";import{u as V}from"./useMutation-DPQn8VkK.js";import{I as D}from"./Icon-Cdqu8Hq_.js";import{T as Ca,M as Sa,S as Ea,P as Pa}from"./SotaBadges-CcS46IjG.js";import{L as we,a as lt}from"./LatexTitle-GmCrtZ_I.js";import{u as us}from"./preferences-0Dg7PeSz.js";import{s as $a,a as Ra}from"./transform-BzmXOpxt.js";import{r as ms,p as La}from"./paperReader-D1y30HyW.js";import{u as Ia,f as Aa}from"./useDocumentTitle-DGWKz2sg.js";import{s as Y}from"./safeExternalHref-CkBrsh84.js";import{m as Ta}from"./mlIntern-BmFInJNC.js";import{S as he}from"./skeleton-BkbzA0oF.js";import{A as Da,a as Fa}from"./alert-zC2kYXtI.js";import{B as A}from"./button-CbtZIybp.js";import{D as Ie,a as Ae,c as Te,b as De,d as Fe,e as gt}from"./dialog-C_jKzXRg.js";import{A as Ua,a as za}from"./AgentLogos-Da2yWlH1.js";import{C as Ma}from"./copy-D_QYCYs1.js";import{I as U}from"./input-BDLNu7DN.js";import{r as hs,a as Ha,e as Ba,i as Oa,b as qa,p as Ga}from"./cacheSync-C15rSGWl.js";import{L as xt}from"./loader-circle-CcsDvzXG.js";import{S as zt}from"./searchable-select-CbMREm8O.js";import{T as Ue}from"./trash-2-Dai-yVNI.js";import{r as Xa,S as ps,L as q,a as Ka}from"./SignInToEditDialog-DkbWjXKh.js";import{u as ye}from"./useQueries-C0szaKAG.js";import{s as fs,p as gs}from"./submissions-DNDrsPIh.js";import{D as Qa}from"./database-BI44wXxm.js";import{P as be}from"./plus-Da5UgLnk.js";import{S as ct}from"./search-BLHGfANa.js";import{B as Va}from"./badge-Dssrs_RO.js";import{n as Wa,C as Ja}from"./CatalogEntityPreviewLink-CCV9ov9L.js";import{G as Ya}from"./globe-XOaeDqkA.js";import{G as Za}from"./github-BHTeSn1j.js";import{u as xs}from"./index-B2-KLIIm.js";import{C as er,E as tr}from"./ExternalSourceEvalBadge-UIy-nVN9.js";import{M as sr}from"./index-COKyUVjd.js";import{r as ar}from"./index-dnSSilbj.js";import{u as rr}from"./useIntersectionObserver-M_MEUmwh.js";import{S as Mt,s as nr}from"./savedPapersAuth-CLNfo1HR.js";import{o as ir}from"./organizationNames-BVKzYEBp.js";import{A as or}from"./AuthorAvatar-DfcP8J6o.js";import"./colors-BkWRhvFI.js";import"./popover-DoQl9nzw.js";import"./textarea-Dzdb-PIY.js";import"./hover-card-CM5j_oBo.js";/**
2
  * @license lucide-react v0.462.0 - ISC
3
  *
4
  * This source code is licensed under the ISC license.
 
1
+ import{d as Re,j as e,L as H,b as B,I as sa,J as ne,K as aa,o as ss,M as X,i as x,N as ra,O as me,E as z,P as ht,C as pt,v as K,Q as ge,x as J,R as Se,X as as,S as na,U as rs,V as Z,W as ns,Y as xe,Z as pe,_ as is,$ as ft,a0 as Ee,a1 as Pe,a2 as ot,a3 as ia,a4 as os,a5 as oa,a6 as la,a7 as ca,a8 as da,a9 as ls,aa as ua,l as ma,ab as ha,A as fe,z as pa,a as Le,ac as cs,ad as $e,ae as At,k as ds,af as fa,ag as ga,u as xa,ah as Tt,ai as ba,aj as Dt,ak as ja,G as Ft,al as va,am as _a,an as ya,ao as ka,ap as Ut,n as Na,aq as wa}from"./index-B0aq-iar.js";import{u as V}from"./useMutation-DxP7YVP3.js";import{I as D}from"./Icon-BkpouXtc.js";import{T as Ca,M as Sa,S as Ea,P as Pa}from"./SotaBadges-Dh4JgSRd.js";import{L as we,a as lt}from"./LatexTitle-CXLW2LHS.js";import{u as us}from"./preferences-CGQ5m7Cb.js";import{s as $a,a as Ra}from"./transform-BII-_KDB.js";import{r as ms,p as La}from"./paperReader-D1y30HyW.js";import{u as Ia,f as Aa}from"./useDocumentTitle-gwKq10Vr.js";import{s as Y}from"./safeExternalHref-CkBrsh84.js";import{m as Ta}from"./mlIntern-vveJiaYH.js";import{S as he}from"./skeleton-DsZ-wKhC.js";import{A as Da,a as Fa}from"./alert-Cf45hSUq.js";import{B as A}from"./button-TpPKOW28.js";import{D as Ie,a as Ae,c as Te,b as De,d as Fe,e as gt}from"./dialog-CMqnZdwE.js";import{A as Ua,a as za}from"./AgentLogos-x9Ckr4O1.js";import{C as Ma}from"./copy-DmgKnhAK.js";import{I as U}from"./input-BtVcQEqI.js";import{r as hs,a as Ha,e as Ba,i as Oa,b as qa,p as Ga}from"./cacheSync-UfDqLKth.js";import{L as xt}from"./loader-circle-DjsuNmQM.js";import{S as zt}from"./searchable-select-VhKQioJk.js";import{T as Ue}from"./trash-2-D6KnBn09.js";import{r as Xa,S as ps,L as q,a as Ka}from"./SignInToEditDialog-B23Lp1q5.js";import{u as ye}from"./useQueries-CzOYZfVS.js";import{s as fs,p as gs}from"./submissions-B9V-ntEk.js";import{D as Qa}from"./database-F1rgBGr5.js";import{P as be}from"./plus-Ig6EFSa0.js";import{S as ct}from"./search-BHf0tBuT.js";import{B as Va}from"./badge-CEsisGsF.js";import{n as Wa,C as Ja}from"./CatalogEntityPreviewLink-DZIsK1sR.js";import{G as Ya}from"./globe-DuvIPdbU.js";import{G as Za}from"./github-B5cOzUdz.js";import{u as xs}from"./index-Byiu5LS8.js";import{C as er,E as tr}from"./ExternalSourceEvalBadge-DAJYrz2F.js";import{M as sr}from"./index-B9qpvwaI.js";import{r as ar}from"./index-16KodlFR.js";import{u as rr}from"./useIntersectionObserver-B5f-R6yl.js";import{S as Mt,s as nr}from"./savedPapersAuth-DsvbQ2zl.js";import{o as ir}from"./organizationNames-BVKzYEBp.js";import{A as or}from"./AuthorAvatar-CWdu93Ln.js";import"./colors-BkWRhvFI.js";import"./popover-DdJ3UXiH.js";import"./textarea-Ch1ibCfx.js";import"./hover-card-B_kWNxjX.js";/**
2
  * @license lucide-react v0.462.0 - ISC
3
  *
4
  * This source code is licensed under the ISC license.
assets/{PaperPreviewLink-5XV8BqLE.js → PaperPreviewLink-4dmR6yPp.js} RENAMED
@@ -1,4 +1,4 @@
1
- import{o as b,f as k,m as y}from"./index-COKyUVjd.js";import{l as U}from"./index-dnSSilbj.js";import{j as o,ad as T,n as D,E as S,K as j,O as I,e as O,v as A,L as M,b as Q,m as B}from"./index-BhKQv9LT.js";import{H,a as K,b as V}from"./hover-card-CM5j_oBo.js";import{u as X}from"./useMutation-DPQn8VkK.js";function Z(){return{enter:{mathFlow:e,mathFlowFenceMeta:r,mathText:h},exit:{mathFlow:n,mathFlowFence:t,mathFlowFenceMeta:s,mathFlowValue:c,mathText:m,mathTextData:c}};function e(a){const l={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[l]}},a)}function r(){this.buffer()}function s(){const a=this.resume(),l=this.stack[this.stack.length-1];b(l.type==="math"),l.meta=a}function t(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function n(a){const l=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),p=this.stack[this.stack.length-1];b(p.type==="math"),this.exit(a),p.value=l;const d=p.data.hChildren[0];b(d.type==="element"),b(d.tagName==="code"),d.children.push({type:"text",value:l}),this.data.mathFlowInside=void 0}function h(a){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},a),this.buffer()}function m(a){const l=this.resume(),p=this.stack[this.stack.length-1];b(p.type==="inlineMath"),this.exit(a),p.value=l,p.data.hChildren.push({type:"text",value:l})}function c(a){this.config.enter.data.call(this,a),this.config.exit.data.call(this,a)}}function G(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),t.peek=n,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
2
  `,inConstruct:"mathFlowMeta"},{character:"$",after:r?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:s,inlineMath:t}};function s(h,m,c,a){const l=h.value||"",p=c.createTracker(a),d="$".repeat(Math.max(U(l,"$")+1,2)),w=c.enter("mathFlow");let x=p.move(d);if(h.meta){const v=c.enter("mathFlowMeta");x+=p.move(c.safe(h.meta,{after:`
3
  `,before:x,encode:["$"],...p.current()})),v()}return x+=p.move(`
4
  `),l&&(x+=p.move(l+`
 
1
+ import{o as b,f as k,m as y}from"./index-B9qpvwaI.js";import{l as U}from"./index-16KodlFR.js";import{j as o,ad as T,n as D,E as S,K as j,O as I,e as O,v as A,L as M,b as Q,m as B}from"./index-B0aq-iar.js";import{H,a as K,b as V}from"./hover-card-B_kWNxjX.js";import{u as X}from"./useMutation-DxP7YVP3.js";function Z(){return{enter:{mathFlow:e,mathFlowFenceMeta:r,mathText:h},exit:{mathFlow:n,mathFlowFence:t,mathFlowFenceMeta:s,mathFlowValue:c,mathText:m,mathTextData:c}};function e(a){const l={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[l]}},a)}function r(){this.buffer()}function s(){const a=this.resume(),l=this.stack[this.stack.length-1];b(l.type==="math"),l.meta=a}function t(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function n(a){const l=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),p=this.stack[this.stack.length-1];b(p.type==="math"),this.exit(a),p.value=l;const d=p.data.hChildren[0];b(d.type==="element"),b(d.tagName==="code"),d.children.push({type:"text",value:l}),this.data.mathFlowInside=void 0}function h(a){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},a),this.buffer()}function m(a){const l=this.resume(),p=this.stack[this.stack.length-1];b(p.type==="inlineMath"),this.exit(a),p.value=l,p.data.hChildren.push({type:"text",value:l})}function c(a){this.config.enter.data.call(this,a),this.config.exit.data.call(this,a)}}function G(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),t.peek=n,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
2
  `,inConstruct:"mathFlowMeta"},{character:"$",after:r?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:s,inlineMath:t}};function s(h,m,c,a){const l=h.value||"",p=c.createTracker(a),d="$".repeat(Math.max(U(l,"$")+1,2)),w=c.enter("mathFlow");let x=p.move(d);if(h.meta){const v=c.enter("mathFlowMeta");x+=p.move(c.safe(h.meta,{after:`
3
  `,before:x,encode:["$"],...p.current()})),v()}return x+=p.move(`
4
  `),l&&(x+=p.move(l+`
assets/{PaperReaderView-Dk5D9w4-.js → PaperReaderView-B0Ve0npc.js} RENAMED
@@ -1 +1 @@
1
- import{i as s,b as E,O as F,j as a,A as te,u as Fe,K as Ke,o as Ue,n as _e,ak as De,L as J}from"./index-BhKQv9LT.js";import{u as qe,R as Ve,A as Qe,c as Xe,d as Ye,a as Ze,P as Ge,e as Je}from"./chatLifecycle-9mjLEs5d.js";import{M as et}from"./MarkdownText-lBRZb4lH.js";import{f as tt,w as at,s as rt,e as st,a as nt,b as ee,c as Se,d as Ce}from"./paperReader-D1y30HyW.js";import{c as it}from"./chat-CBpXQ7Wl.js";import{s as ae}from"./safeExternalHref-CkBrsh84.js";import{ChatExperience as ot}from"./ChatView-B55g4ggY.js";import"./index-DYXsmgYV.js";/* empty css */import"./hover-card-CM5j_oBo.js";import"./CatalogEntityPreviewLink-CCV9ov9L.js";import"./github-BHTeSn1j.js";import"./file-text-CH7tJG0i.js";import"./PaperPreviewLink-5XV8BqLE.js";import"./index-COKyUVjd.js";import"./index-dnSSilbj.js";import"./useMutation-DPQn8VkK.js";import"./index-BV27Nexp.js";import"./katex-DkKDou_j.js";import"./thumbs-up-DZW-ss8t.js";import"./copy-D_QYCYs1.js";import"./arrow-left-BIaK_wN7.js";import"./external-link-BpPkGH8G.js";import"./plus-Da5UgLnk.js";import"./search-BLHGfANa.js";import"./chevron-up-DpwU9AYE.js";import"./AuthorAvatar-DfcP8J6o.js";import"./trash-2-Dai-yVNI.js";import"./McpShowcase-vY65GwKh.js";import"./AgentLogos-Da2yWlH1.js";import"./share-2-DG9Pr506.js";import"./Icon-Cdqu8Hq_.js";import"./mlIntern-BmFInJNC.js";import"./openrouter-B-OYFO9f.js";function ct(r){return r instanceof te&&r.status===422?"This page could not be turned into a readable paper.":r instanceof te&&r.status===503?"Paper content is still being prepared. Please try again later.":"The paper could not be loaded."}function lt({paperId:r,paperKey:i,paperTitle:c,paperHref:g,sourceUrl:e,resources:o,paperVersion:h="",selectionEnabled:b=!1,onReady:w,onPaperSelection:$,onPaperSelectionError:K}){var I;const l=s.useRef(null),C=tt(e),v=E({...F.webPage(r),enabled:!C,retry:!1}),T=!C&&v.isPending,x=C||((I=v.data)==null?void 0:I.frameable)===!0,[k,d]=s.useState("original"),y=x&&k==="original",u=E({...F.webMarkdown(r),retry:(U,M)=>U<2&&!(M instanceof te&&M.status<500),retryDelay:3e3}),P=u.isSuccess;s.useEffect(()=>{P&&(w==null||w())},[w,P]),qe({enabled:b&&!!h&&P&&!y,pagesRoot:l,routeId:i,paperVersion:h,numPages:1,onSelect:$,onError:K});const j=u.data?at(u.data):"",S=!!(o!=null&&o.projectPage&&rt(o.projectPage.href,e));return a.jsxs("div",{className:"pdf-viewer",children:[a.jsx(Ve,{paperTitle:c,paperHref:g,resources:o,label:"Paper controls",children:a.jsxs("div",{className:"pdf-toolbar-controls",children:[x&&a.jsxs("div",{className:"reader-web-view-toggle",role:"group","aria-label":"Paper view",children:[a.jsx("button",{type:"button","aria-pressed":y,onClick:()=>d("original"),children:"Original"}),a.jsx("button",{type:"button","aria-pressed":!y,title:"Readable text; select a passage to ask the chat about it",onClick:()=>d("text"),children:"Text"})]}),!S&&a.jsx("a",{href:e,target:"_blank",rel:"noopener noreferrer",children:"Open original"})]})}),a.jsx("div",{className:"pdf-scroll-frame",children:T?a.jsx("div",{className:"pdf-loading",role:"status",children:"Loading the paper…"}):y?a.jsx("iframe",{className:"reader-web-frame",src:e,title:`Original page: ${c}`,sandbox:"allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox",referrerPolicy:"strict-origin-when-cross-origin"}):a.jsx("div",{className:"pdf-scroll",role:"region","aria-label":"Paper web page",children:u.isPending?a.jsx("div",{className:"pdf-loading",role:"status",children:"Preparing a readable version of this page…"}):u.isError?a.jsxs("div",{className:"pdf-error",role:"alert",children:[a.jsx("p",{children:ct(u.error)}),a.jsxs("div",{children:[a.jsx("button",{type:"button",onClick:()=>void u.refetch(),children:"Retry"})," ",a.jsx("a",{href:e,target:"_blank",rel:"noopener noreferrer",children:"Open original"})]})]}):a.jsxs("article",{ref:l,className:"reader-web-document","data-page":"1",children:[!j.startsWith("# ")&&a.jsx("h1",{children:c}),a.jsx(et,{text:j})]})})})]})}const ke=66,dt=240,re="pwc:reader:split-ratio";function ut(r){const i=Number(sessionStorage.getItem(Ce(r)));return Number.isInteger(i)&&i>0?i:1}function ft(){const r=Number(localStorage.getItem(re));return Number.isFinite(r)&&r>=45&&r<=75?r:ke}function pt(r){const i=ae(r);if(!i)return null;const c=new URL(i);return(c.hostname==="arxiv.org"||c.hostname==="www.arxiv.org")&&c.pathname.startsWith("/pdf/")&&c.pathname.endsWith(".pdf")&&(c.pathname=c.pathname.slice(0,-4)),c.href}const mt=/^\/pdf\/(\d{4}\.\d{4,5}(?:v\d{1,3})?|[a-z]+(?:-[a-z]+)*(?:\.[A-Z]{2})?\/\d{7}(?:v\d{1,3})?)$/;function ht(r){const i=new URL(r),c=i.pathname.match(mt);return(i.hostname==="arxiv.org"||i.hostname==="www.arxiv.org")&&c&&!i.search?_e(`/paper-assets/arxiv-pdf/${c[1]}`)??r:r}function gt(r){return new URL(r).hostname.replace(/^www\./,"")}function bt(r){if(!r)return{};const i={};for(const e of r.repositories??[]){if(!e.is_official)continue;const o=ae(e.url);if(!o)continue;const h=new URL(o),b=h.pathname.split("/").filter(Boolean);if((h.hostname==="github.com"||h.hostname==="www.github.com")&&b.length>=2){i.repository={href:o,stars:e.num_stars||0};break}}const c=[...r.project_pages??[]].sort((e,o)=>Number(o.is_official)-Number(e.is_official));for(const e of c){const o=ae(e.url);if(o){i.projectPage={href:o,label:gt(o)};break}}const g=r.hf_artifact_summary?r.hf_artifact_summary.model_count+r.hf_artifact_summary.dataset_count+r.hf_artifact_summary.space_count:new Set([...r.hf_models??[],...r.hf_datasets??[],...r.hf_spaces??[]]).size;return g>0&&r.arxiv_id&&(i.huggingFace={href:`https://huggingface.co/papers/${r.arxiv_id.replace(/v\d+$/i,"")}`,count:g}),i}function vt({routeId:r}){var Pe,we,Re,ye,je;const i=Ue(),c=E(F.detail(r)),g=E({queryKey:["chatAvailability"],queryFn:()=>it.getAvailability(),refetchInterval:3e4,retry:!1}),e=c.data,o=e?st(e):null,h=o?null:(e==null?void 0:e.source)==="external"?_e(`/paper-assets/external/${e.id}/paper.pdf`):pt(e==null?void 0:e.url_pdf),b=h&&(e==null?void 0:e.source)!=="external"?ht(h):h,w=!o&&(e==null?void 0:e.source)==="external"?nt(e):null,$=bt(e),K=s.useMemo(()=>{var t;return(t=e==null?void 0:e.author_links)==null?void 0:t.flatMap(n=>n.id?[{id:n.id,name:n.name,avatarUrl:n.hf_avatar_url}]:[])},[e==null?void 0:e.author_links]),l=((Pe=e==null?void 0:e.arxiv_id)==null?void 0:Pe.replace(/v\d+$/i,""))||r,C=s.useCallback(()=>i(`/paper/${l}`),[l,i]),[v,T]=s.useState(()=>sessionStorage.getItem(ee(r))||void 0),[x,k]=s.useState(ft),[d,y]=s.useState(()=>sessionStorage.getItem(Se(r))==="1"),[u,P]=s.useState("paper"),[j,S]=s.useState(),[I,U]=s.useState(),[M,Ne]=s.useState(!1),Ae=s.useCallback(()=>Ne(!0),[]),[Ee,_]=s.useState(""),[se]=s.useState(()=>ut(r)),[N,$e]=s.useState(0),[ne,ie]=s.useState(!1),[Te,oe]=s.useState(!1),z=s.useRef(null),D=s.useRef(null),W=s.useRef(null),ce=s.useRef(null),le=s.useRef(null),q=s.useRef(!1),L=s.useRef(!1),V=s.useRef(0),R=s.useRef(0),Q=s.useRef(0),A=s.useRef(x),de=s.useRef(se),X=s.useRef(e==null?void 0:e.version),ue=Xe().reset,fe=s.useRef(v),p=N>=840;s.useEffect(()=>{fe.current!==v&&(fe.current=v,ue())},[v,ue]),s.useEffect(()=>{e!=null&&e.version&&X.current&&e.version!==X.current&&(S(void 0),_("")),X.current=e==null?void 0:e.version},[e==null?void 0:e.version]),s.useEffect(()=>()=>{window.clearTimeout(V.current),cancelAnimationFrame(R.current)},[]),s.useLayoutEffect(()=>{const t=z.current;if(!t)return;const n=()=>$e(t.clientWidth);n();const f=new ResizeObserver(n);return f.observe(t),()=>f.disconnect()},[e]),s.useEffect(()=>{if(!e)return;document.title=`${e.title} — Papers With Code reader`;let t=document.querySelector('meta[name="robots"]');const n=!t;t||(t=document.createElement("meta"),t.name="robots",document.head.appendChild(t));const f=t.content;t.content="noindex, nofollow";let m=document.querySelector('link[rel="canonical"]');const He=!m;m||(m=document.createElement("link"),m.rel="canonical",document.head.appendChild(m));const Oe=m.href;return m.href=`${window.location.origin}/paper/${l}`,()=>{document.title="Papers With Code",n?t==null||t.remove():t&&(t.content=f),He?m==null||m.remove():m&&(m.href=Oe)}},[l,e]);const B=s.useCallback(t=>{if(!N)return Math.max(45,Math.min(75,t));const n=480/N*100,f=100-360/N*100;return Math.max(n,Math.min(f,t))},[N]);s.useEffect(()=>k(t=>{const n=B(t);return A.current=n,n}),[B]);const H=t=>{const n=B(t);A.current=n,k(n),localStorage.setItem(re,String(n))},pe=t=>{var f;const n=B(t);A.current=n,D.current&&(D.current.style.width=`${n}%`),W.current&&(W.current.style.width=`${100-n}%`),(f=ce.current)==null||f.setAttribute("aria-valuenow",String(Math.round(n)))},me=t=>{Q.current=t,!R.current&&(R.current=requestAnimationFrame(()=>{var f;R.current=0;const n=(f=z.current)==null?void 0:f.getBoundingClientRect();n!=null&&n.width&&pe((Q.current-n.left)/n.width*100)}))},Ie=t=>{L.current=!0,ie(!0),t.currentTarget.setPointerCapture(t.pointerId),me(t.clientX)},Y=()=>{var t;if(L.current){if(R.current){cancelAnimationFrame(R.current),R.current=0;const n=(t=z.current)==null?void 0:t.getBoundingClientRect();n!=null&&n.width&&pe((Q.current-n.left)/n.width*100)}L.current=!1,k(A.current),localStorage.setItem(re,String(A.current)),ie(!1)}},he=t=>{window.clearTimeout(V.current),oe(!0),y(t),sessionStorage.setItem(Se(r),t?"1":"0"),V.current=window.setTimeout(()=>oe(!1),dt+40)},ge=t=>{q.current=!0,he(t)};s.useEffect(()=>{var t;q.current&&(q.current=!1,(t=d?le.current:W.current)==null||t.focus())},[d]);const Me=t=>{T(t),sessionStorage.setItem(ee(r),t)},ze=()=>{T(void 0),sessionStorage.removeItem(ee(r)),S(void 0),_("")},be=((we=g.data)==null?void 0:we.paper_reader_selection_enabled)===!0,ve=t=>{S(t),_(`Selection from page ${t.page} added to chat`),p&&d&&he(!1)},We=s.useCallback(t=>{S(t),t||_("")},[]),Z=((Re=g.data)==null?void 0:Re.paper_reader_citations_enabled)===!0&&!!b,O=E({...F.layout(l),enabled:Z&&!!l}).data,Le=s.useMemo(()=>Z?{layout:O,open:t=>{const n=O?Ye(O,t):[];n.length&&(U(f=>({boxes:n,nonce:((f==null?void 0:f.nonce)??0)+1})),P("paper"))}}:null,[Z,O]),xe=De()&&((ye=g.data)==null?void 0:ye.paper_reader_chat_enabled)!==!1,G=!!(e&&xe&&!(o&&!M)),Be=e&&xe&&!G?a.jsx("div",{className:"reader-chat-unavailable",role:"status",children:"Chat opens once the paper is ready."}):e&&G?a.jsx(ot,{mode:"paper",routeSessionId:v,primaryPaper:{id:e.id,routeId:l,title:e.title,arxivId:e.arxiv_id},currentPage:()=>de.current,paperSelection:j,onPaperSelectionChange:We,onSessionId:Me,onReaderSubmit:()=>P("assistant"),onReaderNewChat:ze,onReaderClose:p?()=>ge(!0):void 0}):a.jsx("div",{className:"reader-chat-unavailable",children:"Chat is not enabled for this preview."});return c.isLoading?a.jsx("div",{className:"reader-status",role:"status",children:"Loading paper…"}):c.error||!e?a.jsxs("div",{className:"reader-status",role:"alert",children:[a.jsx("p",{children:"Paper not found."}),a.jsx(J,{to:"/papers",children:"Browse papers"})]}):((je=g.data)==null?void 0:je.native_pdf_reader_enabled)===!1?a.jsxs("div",{className:"reader-status",role:"alert",children:[a.jsx("p",{children:"The native reader is currently unavailable."}),a.jsx(J,{to:`/paper/${l}`,children:"Back to paper"})]}):!b&&!o?a.jsxs("div",{className:"reader-status",role:"alert",children:[a.jsx("p",{children:"Native reading is unavailable for this resource."}),a.jsx(J,{to:`/paper/${l}`,children:"Back to paper"})]}):a.jsxs("div",{className:"paper-reader-shell",children:[!p&&a.jsxs("div",{className:"reader-tabs",role:"tablist","aria-label":"Reader panels",children:[a.jsx("button",{type:"button",role:"tab","aria-selected":u==="paper",onClick:()=>P("paper"),children:"Paper"}),a.jsxs("button",{type:"button",role:"tab","aria-selected":u==="assistant","aria-label":j&&u!=="assistant"?"Chat, selection attached":"Chat",onClick:()=>P("assistant"),children:["Chat",j&&u!=="assistant"&&a.jsx("span",{className:"reader-tab-pending","aria-hidden":"true"})]})]}),a.jsx(Ze,{variant:"reader",children:a.jsxs("div",{ref:z,className:`reader-workspace${p?" is-desktop":" is-tabs"}${d?" is-assistant-collapsed":""}${ne?" is-resizing":""}`,"data-testid":"paper-chat-workspace",children:[a.jsx("section",{ref:D,className:`reader-paper-pane${!p&&u!=="paper"?" is-hidden":""}`,style:p?{width:d?"100%":`${x}%`}:void 0,role:"tabpanel","aria-label":"Paper","aria-hidden":!p&&u!=="paper",children:o?a.jsx(lt,{paperId:e.id,paperKey:l,paperTitle:e.title,paperHref:`/paper/${l}`,sourceUrl:o,resources:$,paperVersion:e.version,selectionEnabled:be,onReady:Ae,onPaperSelection:ve,onPaperSelectionError:_}):b&&a.jsx(Ge,{url:b,fallbackUrl:w??void 0,downloadUrl:w??h??b,paperKey:l,paperTitle:e.title,paperHref:`/paper/${l}`,onClose:C,resources:$,initialPage:se,resizeActive:ne||Te,selectionEnabled:be,paperVersion:e.version,authors:K,loadErrorMessage:e.source==="external"?"Paper content is still being prepared. Please try again later.":void 0,onPaperSelection:ve,onPaperSelectionError:_,highlight:I,onPageChange:t=>{de.current=t,sessionStorage.setItem(Ce(r),String(t))}})}),p&&!d&&a.jsx("div",{ref:ce,className:"reader-resize-handle",role:"separator","aria-label":"Resize paper and Chat panels","aria-orientation":"vertical","aria-valuemin":45,"aria-valuemax":75,"aria-valuenow":Math.round(x),tabIndex:0,onPointerDown:Ie,onPointerMove:t=>{L.current&&me(t.clientX)},onPointerUp:Y,onPointerCancel:Y,onLostPointerCapture:Y,onDoubleClick:()=>H(ke),onKeyDown:t=>{(t.key==="ArrowLeft"||t.key==="ArrowRight")&&(t.preventDefault(),H(x+(t.key==="ArrowRight"?2:-2))),t.key==="Home"&&H(45),t.key==="End"&&H(75)}}),a.jsx("aside",{ref:W,id:"reader-chat-panel",className:`reader-assistant-pane${!p&&u!=="assistant"?" is-hidden":""}${p&&d?" is-collapsed":""}`,style:p?{width:d?0:`${100-x}%`}:void 0,role:"tabpanel","aria-label":"Chat","aria-hidden":!p&&u!=="assistant"||d,tabIndex:-1,children:a.jsx(Je.Provider,{value:Le,children:Be})}),a.jsx("div",{className:"sr-only","aria-live":"polite",children:Ee}),p&&(d||!G)&&a.jsx("button",{ref:le,type:"button",className:"reader-collapse-assistant","aria-controls":"reader-chat-panel","aria-expanded":!d,onClick:()=>ge(!d),children:d?"Open chat":"Hide chat"})]})})]})}function ta(){const{paperId:r=""}=Fe(),i=Ke(r).replace(/v\d+$/i,"");return a.jsx(Qe,{workspaceKey:`reader:${r}`,children:a.jsx(vt,{routeId:i},i)})}export{ta as default,bt as readerToolbarResources};
 
1
+ import{i as s,b as E,O as F,j as a,A as te,u as Fe,K as Ke,o as Ue,n as _e,ak as De,L as J}from"./index-B0aq-iar.js";import{u as qe,R as Ve,A as Qe,c as Xe,d as Ye,a as Ze,P as Ge,e as Je}from"./chatLifecycle-CiTSoKmw.js";import{M as et}from"./MarkdownText-BkbUXFCs.js";import{f as tt,w as at,s as rt,e as st,a as nt,b as ee,c as Se,d as Ce}from"./paperReader-D1y30HyW.js";import{c as it}from"./chat-DfK5YWLV.js";import{s as ae}from"./safeExternalHref-CkBrsh84.js";import{ChatExperience as ot}from"./ChatView-aZQAm7h5.js";import"./index-CNk4C1On.js";/* empty css */import"./hover-card-B_kWNxjX.js";import"./CatalogEntityPreviewLink-DZIsK1sR.js";import"./github-B5cOzUdz.js";import"./file-text-CxYjO52k.js";import"./PaperPreviewLink-4dmR6yPp.js";import"./index-B9qpvwaI.js";import"./index-16KodlFR.js";import"./useMutation-DxP7YVP3.js";import"./index-DtKbyjDr.js";import"./katex-DkKDou_j.js";import"./thumbs-up-DoDJmuQ5.js";import"./copy-DmgKnhAK.js";import"./arrow-left-Cg1Xngtx.js";import"./external-link-CWjWR91l.js";import"./plus-Ig6EFSa0.js";import"./search-BHf0tBuT.js";import"./chevron-up-DFruybA3.js";import"./AuthorAvatar-CWdu93Ln.js";import"./trash-2-D6KnBn09.js";import"./McpShowcase-BgXu7zJj.js";import"./AgentLogos-x9Ckr4O1.js";import"./share-2-Br52qy6p.js";import"./Icon-BkpouXtc.js";import"./mlIntern-vveJiaYH.js";import"./openrouter-azYqNFGa.js";function ct(r){return r instanceof te&&r.status===422?"This page could not be turned into a readable paper.":r instanceof te&&r.status===503?"Paper content is still being prepared. Please try again later.":"The paper could not be loaded."}function lt({paperId:r,paperKey:i,paperTitle:c,paperHref:g,sourceUrl:e,resources:o,paperVersion:h="",selectionEnabled:b=!1,onReady:w,onPaperSelection:$,onPaperSelectionError:K}){var I;const l=s.useRef(null),C=tt(e),v=E({...F.webPage(r),enabled:!C,retry:!1}),T=!C&&v.isPending,x=C||((I=v.data)==null?void 0:I.frameable)===!0,[k,d]=s.useState("original"),y=x&&k==="original",u=E({...F.webMarkdown(r),retry:(U,M)=>U<2&&!(M instanceof te&&M.status<500),retryDelay:3e3}),P=u.isSuccess;s.useEffect(()=>{P&&(w==null||w())},[w,P]),qe({enabled:b&&!!h&&P&&!y,pagesRoot:l,routeId:i,paperVersion:h,numPages:1,onSelect:$,onError:K});const j=u.data?at(u.data):"",S=!!(o!=null&&o.projectPage&&rt(o.projectPage.href,e));return a.jsxs("div",{className:"pdf-viewer",children:[a.jsx(Ve,{paperTitle:c,paperHref:g,resources:o,label:"Paper controls",children:a.jsxs("div",{className:"pdf-toolbar-controls",children:[x&&a.jsxs("div",{className:"reader-web-view-toggle",role:"group","aria-label":"Paper view",children:[a.jsx("button",{type:"button","aria-pressed":y,onClick:()=>d("original"),children:"Original"}),a.jsx("button",{type:"button","aria-pressed":!y,title:"Readable text; select a passage to ask the chat about it",onClick:()=>d("text"),children:"Text"})]}),!S&&a.jsx("a",{href:e,target:"_blank",rel:"noopener noreferrer",children:"Open original"})]})}),a.jsx("div",{className:"pdf-scroll-frame",children:T?a.jsx("div",{className:"pdf-loading",role:"status",children:"Loading the paper…"}):y?a.jsx("iframe",{className:"reader-web-frame",src:e,title:`Original page: ${c}`,sandbox:"allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox",referrerPolicy:"strict-origin-when-cross-origin"}):a.jsx("div",{className:"pdf-scroll",role:"region","aria-label":"Paper web page",children:u.isPending?a.jsx("div",{className:"pdf-loading",role:"status",children:"Preparing a readable version of this page…"}):u.isError?a.jsxs("div",{className:"pdf-error",role:"alert",children:[a.jsx("p",{children:ct(u.error)}),a.jsxs("div",{children:[a.jsx("button",{type:"button",onClick:()=>void u.refetch(),children:"Retry"})," ",a.jsx("a",{href:e,target:"_blank",rel:"noopener noreferrer",children:"Open original"})]})]}):a.jsxs("article",{ref:l,className:"reader-web-document","data-page":"1",children:[!j.startsWith("# ")&&a.jsx("h1",{children:c}),a.jsx(et,{text:j})]})})})]})}const ke=66,dt=240,re="pwc:reader:split-ratio";function ut(r){const i=Number(sessionStorage.getItem(Ce(r)));return Number.isInteger(i)&&i>0?i:1}function ft(){const r=Number(localStorage.getItem(re));return Number.isFinite(r)&&r>=45&&r<=75?r:ke}function pt(r){const i=ae(r);if(!i)return null;const c=new URL(i);return(c.hostname==="arxiv.org"||c.hostname==="www.arxiv.org")&&c.pathname.startsWith("/pdf/")&&c.pathname.endsWith(".pdf")&&(c.pathname=c.pathname.slice(0,-4)),c.href}const mt=/^\/pdf\/(\d{4}\.\d{4,5}(?:v\d{1,3})?|[a-z]+(?:-[a-z]+)*(?:\.[A-Z]{2})?\/\d{7}(?:v\d{1,3})?)$/;function ht(r){const i=new URL(r),c=i.pathname.match(mt);return(i.hostname==="arxiv.org"||i.hostname==="www.arxiv.org")&&c&&!i.search?_e(`/paper-assets/arxiv-pdf/${c[1]}`)??r:r}function gt(r){return new URL(r).hostname.replace(/^www\./,"")}function bt(r){if(!r)return{};const i={};for(const e of r.repositories??[]){if(!e.is_official)continue;const o=ae(e.url);if(!o)continue;const h=new URL(o),b=h.pathname.split("/").filter(Boolean);if((h.hostname==="github.com"||h.hostname==="www.github.com")&&b.length>=2){i.repository={href:o,stars:e.num_stars||0};break}}const c=[...r.project_pages??[]].sort((e,o)=>Number(o.is_official)-Number(e.is_official));for(const e of c){const o=ae(e.url);if(o){i.projectPage={href:o,label:gt(o)};break}}const g=r.hf_artifact_summary?r.hf_artifact_summary.model_count+r.hf_artifact_summary.dataset_count+r.hf_artifact_summary.space_count:new Set([...r.hf_models??[],...r.hf_datasets??[],...r.hf_spaces??[]]).size;return g>0&&r.arxiv_id&&(i.huggingFace={href:`https://huggingface.co/papers/${r.arxiv_id.replace(/v\d+$/i,"")}`,count:g}),i}function vt({routeId:r}){var Pe,we,Re,ye,je;const i=Ue(),c=E(F.detail(r)),g=E({queryKey:["chatAvailability"],queryFn:()=>it.getAvailability(),refetchInterval:3e4,retry:!1}),e=c.data,o=e?st(e):null,h=o?null:(e==null?void 0:e.source)==="external"?_e(`/paper-assets/external/${e.id}/paper.pdf`):pt(e==null?void 0:e.url_pdf),b=h&&(e==null?void 0:e.source)!=="external"?ht(h):h,w=!o&&(e==null?void 0:e.source)==="external"?nt(e):null,$=bt(e),K=s.useMemo(()=>{var t;return(t=e==null?void 0:e.author_links)==null?void 0:t.flatMap(n=>n.id?[{id:n.id,name:n.name,avatarUrl:n.hf_avatar_url}]:[])},[e==null?void 0:e.author_links]),l=((Pe=e==null?void 0:e.arxiv_id)==null?void 0:Pe.replace(/v\d+$/i,""))||r,C=s.useCallback(()=>i(`/paper/${l}`),[l,i]),[v,T]=s.useState(()=>sessionStorage.getItem(ee(r))||void 0),[x,k]=s.useState(ft),[d,y]=s.useState(()=>sessionStorage.getItem(Se(r))==="1"),[u,P]=s.useState("paper"),[j,S]=s.useState(),[I,U]=s.useState(),[M,Ne]=s.useState(!1),Ae=s.useCallback(()=>Ne(!0),[]),[Ee,_]=s.useState(""),[se]=s.useState(()=>ut(r)),[N,$e]=s.useState(0),[ne,ie]=s.useState(!1),[Te,oe]=s.useState(!1),z=s.useRef(null),D=s.useRef(null),W=s.useRef(null),ce=s.useRef(null),le=s.useRef(null),q=s.useRef(!1),L=s.useRef(!1),V=s.useRef(0),R=s.useRef(0),Q=s.useRef(0),A=s.useRef(x),de=s.useRef(se),X=s.useRef(e==null?void 0:e.version),ue=Xe().reset,fe=s.useRef(v),p=N>=840;s.useEffect(()=>{fe.current!==v&&(fe.current=v,ue())},[v,ue]),s.useEffect(()=>{e!=null&&e.version&&X.current&&e.version!==X.current&&(S(void 0),_("")),X.current=e==null?void 0:e.version},[e==null?void 0:e.version]),s.useEffect(()=>()=>{window.clearTimeout(V.current),cancelAnimationFrame(R.current)},[]),s.useLayoutEffect(()=>{const t=z.current;if(!t)return;const n=()=>$e(t.clientWidth);n();const f=new ResizeObserver(n);return f.observe(t),()=>f.disconnect()},[e]),s.useEffect(()=>{if(!e)return;document.title=`${e.title} — Papers With Code reader`;let t=document.querySelector('meta[name="robots"]');const n=!t;t||(t=document.createElement("meta"),t.name="robots",document.head.appendChild(t));const f=t.content;t.content="noindex, nofollow";let m=document.querySelector('link[rel="canonical"]');const He=!m;m||(m=document.createElement("link"),m.rel="canonical",document.head.appendChild(m));const Oe=m.href;return m.href=`${window.location.origin}/paper/${l}`,()=>{document.title="Papers With Code",n?t==null||t.remove():t&&(t.content=f),He?m==null||m.remove():m&&(m.href=Oe)}},[l,e]);const B=s.useCallback(t=>{if(!N)return Math.max(45,Math.min(75,t));const n=480/N*100,f=100-360/N*100;return Math.max(n,Math.min(f,t))},[N]);s.useEffect(()=>k(t=>{const n=B(t);return A.current=n,n}),[B]);const H=t=>{const n=B(t);A.current=n,k(n),localStorage.setItem(re,String(n))},pe=t=>{var f;const n=B(t);A.current=n,D.current&&(D.current.style.width=`${n}%`),W.current&&(W.current.style.width=`${100-n}%`),(f=ce.current)==null||f.setAttribute("aria-valuenow",String(Math.round(n)))},me=t=>{Q.current=t,!R.current&&(R.current=requestAnimationFrame(()=>{var f;R.current=0;const n=(f=z.current)==null?void 0:f.getBoundingClientRect();n!=null&&n.width&&pe((Q.current-n.left)/n.width*100)}))},Ie=t=>{L.current=!0,ie(!0),t.currentTarget.setPointerCapture(t.pointerId),me(t.clientX)},Y=()=>{var t;if(L.current){if(R.current){cancelAnimationFrame(R.current),R.current=0;const n=(t=z.current)==null?void 0:t.getBoundingClientRect();n!=null&&n.width&&pe((Q.current-n.left)/n.width*100)}L.current=!1,k(A.current),localStorage.setItem(re,String(A.current)),ie(!1)}},he=t=>{window.clearTimeout(V.current),oe(!0),y(t),sessionStorage.setItem(Se(r),t?"1":"0"),V.current=window.setTimeout(()=>oe(!1),dt+40)},ge=t=>{q.current=!0,he(t)};s.useEffect(()=>{var t;q.current&&(q.current=!1,(t=d?le.current:W.current)==null||t.focus())},[d]);const Me=t=>{T(t),sessionStorage.setItem(ee(r),t)},ze=()=>{T(void 0),sessionStorage.removeItem(ee(r)),S(void 0),_("")},be=((we=g.data)==null?void 0:we.paper_reader_selection_enabled)===!0,ve=t=>{S(t),_(`Selection from page ${t.page} added to chat`),p&&d&&he(!1)},We=s.useCallback(t=>{S(t),t||_("")},[]),Z=((Re=g.data)==null?void 0:Re.paper_reader_citations_enabled)===!0&&!!b,O=E({...F.layout(l),enabled:Z&&!!l}).data,Le=s.useMemo(()=>Z?{layout:O,open:t=>{const n=O?Ye(O,t):[];n.length&&(U(f=>({boxes:n,nonce:((f==null?void 0:f.nonce)??0)+1})),P("paper"))}}:null,[Z,O]),xe=De()&&((ye=g.data)==null?void 0:ye.paper_reader_chat_enabled)!==!1,G=!!(e&&xe&&!(o&&!M)),Be=e&&xe&&!G?a.jsx("div",{className:"reader-chat-unavailable",role:"status",children:"Chat opens once the paper is ready."}):e&&G?a.jsx(ot,{mode:"paper",routeSessionId:v,primaryPaper:{id:e.id,routeId:l,title:e.title,arxivId:e.arxiv_id},currentPage:()=>de.current,paperSelection:j,onPaperSelectionChange:We,onSessionId:Me,onReaderSubmit:()=>P("assistant"),onReaderNewChat:ze,onReaderClose:p?()=>ge(!0):void 0}):a.jsx("div",{className:"reader-chat-unavailable",children:"Chat is not enabled for this preview."});return c.isLoading?a.jsx("div",{className:"reader-status",role:"status",children:"Loading paper…"}):c.error||!e?a.jsxs("div",{className:"reader-status",role:"alert",children:[a.jsx("p",{children:"Paper not found."}),a.jsx(J,{to:"/papers",children:"Browse papers"})]}):((je=g.data)==null?void 0:je.native_pdf_reader_enabled)===!1?a.jsxs("div",{className:"reader-status",role:"alert",children:[a.jsx("p",{children:"The native reader is currently unavailable."}),a.jsx(J,{to:`/paper/${l}`,children:"Back to paper"})]}):!b&&!o?a.jsxs("div",{className:"reader-status",role:"alert",children:[a.jsx("p",{children:"Native reading is unavailable for this resource."}),a.jsx(J,{to:`/paper/${l}`,children:"Back to paper"})]}):a.jsxs("div",{className:"paper-reader-shell",children:[!p&&a.jsxs("div",{className:"reader-tabs",role:"tablist","aria-label":"Reader panels",children:[a.jsx("button",{type:"button",role:"tab","aria-selected":u==="paper",onClick:()=>P("paper"),children:"Paper"}),a.jsxs("button",{type:"button",role:"tab","aria-selected":u==="assistant","aria-label":j&&u!=="assistant"?"Chat, selection attached":"Chat",onClick:()=>P("assistant"),children:["Chat",j&&u!=="assistant"&&a.jsx("span",{className:"reader-tab-pending","aria-hidden":"true"})]})]}),a.jsx(Ze,{variant:"reader",children:a.jsxs("div",{ref:z,className:`reader-workspace${p?" is-desktop":" is-tabs"}${d?" is-assistant-collapsed":""}${ne?" is-resizing":""}`,"data-testid":"paper-chat-workspace",children:[a.jsx("section",{ref:D,className:`reader-paper-pane${!p&&u!=="paper"?" is-hidden":""}`,style:p?{width:d?"100%":`${x}%`}:void 0,role:"tabpanel","aria-label":"Paper","aria-hidden":!p&&u!=="paper",children:o?a.jsx(lt,{paperId:e.id,paperKey:l,paperTitle:e.title,paperHref:`/paper/${l}`,sourceUrl:o,resources:$,paperVersion:e.version,selectionEnabled:be,onReady:Ae,onPaperSelection:ve,onPaperSelectionError:_}):b&&a.jsx(Ge,{url:b,fallbackUrl:w??void 0,downloadUrl:w??h??b,paperKey:l,paperTitle:e.title,paperHref:`/paper/${l}`,onClose:C,resources:$,initialPage:se,resizeActive:ne||Te,selectionEnabled:be,paperVersion:e.version,authors:K,loadErrorMessage:e.source==="external"?"Paper content is still being prepared. Please try again later.":void 0,onPaperSelection:ve,onPaperSelectionError:_,highlight:I,onPageChange:t=>{de.current=t,sessionStorage.setItem(Ce(r),String(t))}})}),p&&!d&&a.jsx("div",{ref:ce,className:"reader-resize-handle",role:"separator","aria-label":"Resize paper and Chat panels","aria-orientation":"vertical","aria-valuemin":45,"aria-valuemax":75,"aria-valuenow":Math.round(x),tabIndex:0,onPointerDown:Ie,onPointerMove:t=>{L.current&&me(t.clientX)},onPointerUp:Y,onPointerCancel:Y,onLostPointerCapture:Y,onDoubleClick:()=>H(ke),onKeyDown:t=>{(t.key==="ArrowLeft"||t.key==="ArrowRight")&&(t.preventDefault(),H(x+(t.key==="ArrowRight"?2:-2))),t.key==="Home"&&H(45),t.key==="End"&&H(75)}}),a.jsx("aside",{ref:W,id:"reader-chat-panel",className:`reader-assistant-pane${!p&&u!=="assistant"?" is-hidden":""}${p&&d?" is-collapsed":""}`,style:p?{width:d?0:`${100-x}%`}:void 0,role:"tabpanel","aria-label":"Chat","aria-hidden":!p&&u!=="assistant"||d,tabIndex:-1,children:a.jsx(Je.Provider,{value:Le,children:Be})}),a.jsx("div",{className:"sr-only","aria-live":"polite",children:Ee}),p&&(d||!G)&&a.jsx("button",{ref:le,type:"button",className:"reader-collapse-assistant","aria-controls":"reader-chat-panel","aria-expanded":!d,onClick:()=>ge(!d),children:d?"Open chat":"Hide chat"})]})})]})}function ta(){const{paperId:r=""}=Fe(),i=Ke(r).replace(/v\d+$/i,"");return a.jsx(Qe,{workspaceKey:`reader:${r}`,children:a.jsx(vt,{routeId:i},i)})}export{ta as default,bt as readerToolbarResources};
assets/{PapersListView-BIHyvPx9.js → PapersListView-D8cdOaea.js} RENAMED
@@ -1 +1 @@
1
- import{f as Q,i as u,E as B,y as I,m as U,j as e,L as f,z as K,b as V,x as X}from"./index-BhKQv9LT.js";import{T as J}from"./SotaBadges-CcS46IjG.js";import{I as q}from"./Icon-Cdqu8Hq_.js";import{d as W,u as H,a as Y,e as Z,f as ee,P as se}from"./usePapers-Cuyi1itG.js";import{t as re,d as ae}from"./transform-BzmXOpxt.js";import{u as te}from"./useDebounce-Bt-Usy3P.js";import{S as ne}from"./skeleton-BkbzA0oF.js";import{A as ie,a as le}from"./alert-zC2kYXtI.js";import{f as oe}from"./frameworks-DDA0P4Tf.js";import{u as de}from"./useDocumentTitle-DGWKz2sg.js";import{p as ce}from"./pageTitles-Cv5SviVf.js";import"./colors-BkWRhvFI.js";import"./PaperCard-CSOLEzIX.js";import"./AuthorAvatar-DfcP8J6o.js";import"./LatexTitle-GmCrtZ_I.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DoQl9nzw.js";import"./useIntersectionObserver-M_MEUmwh.js";import"./useInfiniteQuery-Ba0y0o7Y.js";const g=360;function me(s,r){const a=s.toLocaleLowerCase();return r.trim().split(/\s+/).filter(Boolean).reduce((t,n)=>{const i=a.indexOf(n.toLocaleLowerCase());return i>=0&&(t<0||i<t)?i:t},-1)}function M(s,r,a){if((s.slice(0,r).match(/\$/g)||[]).length%2===0)return r;if(a==="start")return s.lastIndexOf("$",r)+1;const n=s.indexOf("$",r);return n>=0?n+1:r}function he(s,r){if(s.length<=g)return s;const a=me(s,r);if(a<0||a<g*.6)return s;let t=Math.max(0,a-Math.floor(g*.35)),n=Math.min(s.length,t+g);return t=M(s,t,"start"),n=M(s,n,"end"),`${t>0?"…":""}${s.slice(t,n).trim()}${n<s.length?"…":""}`}const pe=[["relevance","relevance"],["date_published","newest"],["citation_count","most cited"]];function ue(s){return s.get("framework")||s.get("repository")?"scoped":(s.get("search")||"").trim()?"search":"browse"}const Be=()=>{var D,L,R,E,$,C,T,A;const[s]=Q(),r=s.get("framework")||void 0,a=s.get("repository")||void 0,t=s.get("search")||"",n=ue(s),i=n==="search",l=W(),{setSearchParams:c}=l,[x,b]=u.useState(t),p=te(x,300);u.useEffect(()=>b(t),[t]),u.useEffect(()=>{if(p===t)return;const d=new URLSearchParams(s);p?d.set("search",p):d.delete("search"),c(d,{replace:!0})},[p]),u.useEffect(()=>{const d=s.get("order_by"),h=new URLSearchParams(s);i&&!["relevance","date_published","citation_count"].includes(d||"")?(h.set("order_by","relevance"),c(h,{replace:!0})):!i&&d==="relevance"&&(h.delete("order_by"),c(h,{replace:!0}))},[i,s,c]);const j=i&&l.orderBy==="trending"?"relevance":l.orderBy,F=n!=="scoped"&&l.hasCode,S={...l.filters,has_code:F,search:n==="scoped"&&p||void 0,conference:s.get("conference")||void 0,latest_only:s.get("latest_only")!=="false",framework:r,repository:a},v=H(I.list(S),d=>B.list({...S,page:d,page_size:20}),{enabled:!i}),_={q:p.trim(),order_by:j==="trending"?"relevance":j,start_date:l.dateRange.startDate,end_date:l.dateRange.endDate,has_code:F,has_hf_artifacts:l.hasHfArtifacts},P=H(I.search(_),d=>B.searchFeed({..._,page:d,page_size:20,mode:"hybrid"}),{enabled:i&&_.q.length>0}),m=i?P:v,k=u.useMemo(()=>{var h;return(((h=m.data)==null?void 0:h.pages.flatMap(w=>w.results))||[]).map(w=>{const y=re(w);return i?{...y,abstract:he(y.abstract,t)}:y})},[m.data,i,t]),z=((R=(L=(D=v.data)==null?void 0:D.pages)==null?void 0:L[0])==null?void 0:R.count)??0,o=(C=($=(E=v.data)==null?void 0:E.pages)==null?void 0:$[0])==null?void 0:C.scope,O=((o==null?void 0:o.kind)==="framework"?o.framework_name:o==null?void 0:o.repository)||r||a;de(ce(n==="scoped"?`Papers implemented by ${O}`:n==="search"?`Search results for “${t.trim()}”`:"All Papers"));const N=(A=(T=P.data)==null?void 0:T.pages)==null?void 0:A.at(-1),G=r&&U(m.error);return e.jsxs("div",{className:"page",children:[(o==null?void 0:o.kind)==="framework"&&e.jsxs("nav",{className:"breadcrumb","aria-label":"Breadcrumb",children:[e.jsx(f,{to:"/",children:"Papers"}),e.jsx("span",{className:"sep",children:"/"}),e.jsx(f,{to:"/frameworks",children:"Frameworks"}),e.jsx("span",{className:"sep",children:"/"}),e.jsx("span",{style:{color:"var(--ink)"},children:o.framework_name})]}),e.jsxs("div",{className:"feed-header",children:[e.jsxs("div",{children:[e.jsx(fe,{mode:n,scope:o,scopeName:r||a,search:t,totalCount:z,loadedCount:k.length,hasDateRange:!!(l.dateRange.startDate||l.dateRange.endDate)}),n==="scoped"&&o&&e.jsx(xe,{scope:o})]}),e.jsx(Y,{startDate:l.dateRange.startDate,endDate:l.dateRange.endDate,onChange:l.setDateRange})]}),e.jsx("div",{className:"papers-search-row",children:e.jsxs("div",{className:"papers-search-input-wrap",children:[e.jsx(q,{name:"search",size:14}),e.jsx("input",{className:"papers-search-input",placeholder:"Search title or abstract…",value:x,onChange:d=>b(d.target.value)})]})}),e.jsxs("div",{className:n==="browse"?"layout-with-sidebar":"papers-feed-layout-scoped",children:[n==="browse"&&e.jsx(ge,{}),e.jsxs("div",{children:[e.jsx(Z,{feed:l,sorts:i?pe:ee,activeSort:j,showDateFilter:!1,showHasCode:n!=="scoped",children:e.jsxs("div",{className:"results-count",children:[k.length," loaded"]})}),G?e.jsx("div",{className:"no-results",children:"Framework not found."}):e.jsxs(e.Fragment,{children:[m.error&&e.jsx(ie,{variant:"destructive",className:"mb-4",children:e.jsx(le,{children:"Failed to load papers. Please try again."})}),e.jsx(se,{query:m,cards:k,skeleton:"card",highlightQuery:i?t:void 0,empty:e.jsxs(e.Fragment,{children:[e.jsx("p",{children:"No matching papers."}),i&&K()&&e.jsx(f,{to:`/chat?q=${encodeURIComponent(t.trim())}`,children:"Ask the assistant instead"})]}),children:!m.hasNextPage&&!m.isFetchingNextPage&&i&&e.jsx("div",{className:"search-results-end",children:N!=null&&N.cap_reached?"End of the top 100 results":"End of results"})})]})]})]})]})};function fe({mode:s,scope:r,scopeName:a,search:t,totalCount:n,loadedCount:i,hasDateRange:l}){const c=n>0&&`${n.toLocaleString()} papers.`;switch(s){case"scoped":{const x=(r==null?void 0:r.kind)==="framework"?r.framework_name:r==null?void 0:r.repository;return e.jsxs(e.Fragment,{children:[e.jsxs("h1",{className:"feed-title",children:["Papers implemented by ",e.jsx("em",{children:x||a})]}),e.jsx("div",{className:"feed-subtitle",children:(r==null?void 0:r.kind)==="framework"?c:r!=null&&r.repository?e.jsxs(e.Fragment,{children:["GitHub repository ",e.jsx("strong",{children:r.repository}),". ",c]}):"Repository-scoped paper feed."})]})}case"search":return e.jsxs(e.Fragment,{children:[e.jsxs("h1",{className:"feed-title",children:["Search results for ",e.jsxs("em",{children:["“",t,"”"]})]}),e.jsx("div",{className:"feed-subtitle",children:`${i} loaded from the most relevant results.`})]});case"browse":return e.jsxs(e.Fragment,{children:[e.jsxs("h1",{className:"feed-title",children:["All ",e.jsx("em",{children:"Papers"})]}),e.jsxs("div",{className:"feed-subtitle",children:["Search the full corpus. ",n>0&&`${n.toLocaleString()} ${l?"papers in this date range":"papers indexed"}.`]})]})}}function xe({scope:s}){const r=s.kind==="framework";return e.jsxs("div",{className:"paper-feed-scope-links",children:[e.jsxs("div",{className:"paper-feed-primary-links",children:[s.github_url&&e.jsxs("a",{href:s.github_url,target:"_blank",rel:"noopener noreferrer",className:r?"task-framework-link":"framework-link",children:[e.jsx(q,{name:"github",size:13}),r?e.jsxs(e.Fragment,{children:[e.jsx("span",{children:s.repository||"GitHub"}),s.num_stars!=null&&e.jsxs("span",{className:"task-framework-link-stars",children:["★ ",oe(s.num_stars)]})]}):"GitHub"]}),r&&s.introducing_paper_arxiv_id&&e.jsx(f,{to:`/paper/${s.introducing_paper_arxiv_id}`,className:"framework-link",children:"Introducing paper"})]}),r&&s.recommended_tasks&&s.recommended_tasks.length>0&&e.jsx("div",{className:"paper-feed-task-tags",children:s.recommended_tasks.map(a=>a.slug?e.jsx(J,{slug:a.slug,label:a.name},a.id):null)})]})}function ge(){var r;const s=V(X.topTasks(8));return e.jsx("aside",{className:"sidebar",children:e.jsxs("div",{className:"sidebar-section",children:[e.jsx("div",{className:"sidebar-label",children:"Top Domains"}),s.isLoading&&e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:8},children:Array.from({length:6}).map((a,t)=>e.jsx(ne,{className:"h-5 w-full"},t))}),e.jsx("div",{className:"sidebar-links",children:(r=s.data)==null?void 0:r.map(a=>e.jsxs(f,{to:`/tasks/${a.slug}`,className:"sidebar-link",children:[ae(a.name,a.slug),a.paper_count!=null&&e.jsx("span",{className:"count",children:a.paper_count})]},a.id))})]})})}export{Be as default};
 
1
+ import{f as Q,i as u,E as B,y as I,m as U,j as e,L as f,z as K,b as V,x as X}from"./index-B0aq-iar.js";import{T as J}from"./SotaBadges-Dh4JgSRd.js";import{I as q}from"./Icon-BkpouXtc.js";import{d as W,u as H,a as Y,e as Z,f as ee,P as se}from"./usePapers-DH6AufOQ.js";import{t as re,d as ae}from"./transform-BII-_KDB.js";import{u as te}from"./useDebounce-D5i4faqC.js";import{S as ne}from"./skeleton-DsZ-wKhC.js";import{A as ie,a as le}from"./alert-Cf45hSUq.js";import{f as oe}from"./frameworks-DDA0P4Tf.js";import{u as de}from"./useDocumentTitle-gwKq10Vr.js";import{p as ce}from"./pageTitles-DPtr8SUn.js";import"./colors-BkWRhvFI.js";import"./PaperCard-CXKXdRil.js";import"./AuthorAvatar-CWdu93Ln.js";import"./LatexTitle-CXLW2LHS.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DdJ3UXiH.js";import"./useIntersectionObserver-B5f-R6yl.js";import"./useInfiniteQuery-DIIy94Ek.js";const g=360;function me(s,r){const a=s.toLocaleLowerCase();return r.trim().split(/\s+/).filter(Boolean).reduce((t,n)=>{const i=a.indexOf(n.toLocaleLowerCase());return i>=0&&(t<0||i<t)?i:t},-1)}function M(s,r,a){if((s.slice(0,r).match(/\$/g)||[]).length%2===0)return r;if(a==="start")return s.lastIndexOf("$",r)+1;const n=s.indexOf("$",r);return n>=0?n+1:r}function he(s,r){if(s.length<=g)return s;const a=me(s,r);if(a<0||a<g*.6)return s;let t=Math.max(0,a-Math.floor(g*.35)),n=Math.min(s.length,t+g);return t=M(s,t,"start"),n=M(s,n,"end"),`${t>0?"…":""}${s.slice(t,n).trim()}${n<s.length?"…":""}`}const pe=[["relevance","relevance"],["date_published","newest"],["citation_count","most cited"]];function ue(s){return s.get("framework")||s.get("repository")?"scoped":(s.get("search")||"").trim()?"search":"browse"}const Be=()=>{var D,L,R,E,$,C,T,A;const[s]=Q(),r=s.get("framework")||void 0,a=s.get("repository")||void 0,t=s.get("search")||"",n=ue(s),i=n==="search",l=W(),{setSearchParams:c}=l,[x,b]=u.useState(t),p=te(x,300);u.useEffect(()=>b(t),[t]),u.useEffect(()=>{if(p===t)return;const d=new URLSearchParams(s);p?d.set("search",p):d.delete("search"),c(d,{replace:!0})},[p]),u.useEffect(()=>{const d=s.get("order_by"),h=new URLSearchParams(s);i&&!["relevance","date_published","citation_count"].includes(d||"")?(h.set("order_by","relevance"),c(h,{replace:!0})):!i&&d==="relevance"&&(h.delete("order_by"),c(h,{replace:!0}))},[i,s,c]);const j=i&&l.orderBy==="trending"?"relevance":l.orderBy,F=n!=="scoped"&&l.hasCode,S={...l.filters,has_code:F,search:n==="scoped"&&p||void 0,conference:s.get("conference")||void 0,latest_only:s.get("latest_only")!=="false",framework:r,repository:a},v=H(I.list(S),d=>B.list({...S,page:d,page_size:20}),{enabled:!i}),_={q:p.trim(),order_by:j==="trending"?"relevance":j,start_date:l.dateRange.startDate,end_date:l.dateRange.endDate,has_code:F,has_hf_artifacts:l.hasHfArtifacts},P=H(I.search(_),d=>B.searchFeed({..._,page:d,page_size:20,mode:"hybrid"}),{enabled:i&&_.q.length>0}),m=i?P:v,k=u.useMemo(()=>{var h;return(((h=m.data)==null?void 0:h.pages.flatMap(w=>w.results))||[]).map(w=>{const y=re(w);return i?{...y,abstract:he(y.abstract,t)}:y})},[m.data,i,t]),z=((R=(L=(D=v.data)==null?void 0:D.pages)==null?void 0:L[0])==null?void 0:R.count)??0,o=(C=($=(E=v.data)==null?void 0:E.pages)==null?void 0:$[0])==null?void 0:C.scope,O=((o==null?void 0:o.kind)==="framework"?o.framework_name:o==null?void 0:o.repository)||r||a;de(ce(n==="scoped"?`Papers implemented by ${O}`:n==="search"?`Search results for “${t.trim()}”`:"All Papers"));const N=(A=(T=P.data)==null?void 0:T.pages)==null?void 0:A.at(-1),G=r&&U(m.error);return e.jsxs("div",{className:"page",children:[(o==null?void 0:o.kind)==="framework"&&e.jsxs("nav",{className:"breadcrumb","aria-label":"Breadcrumb",children:[e.jsx(f,{to:"/",children:"Papers"}),e.jsx("span",{className:"sep",children:"/"}),e.jsx(f,{to:"/frameworks",children:"Frameworks"}),e.jsx("span",{className:"sep",children:"/"}),e.jsx("span",{style:{color:"var(--ink)"},children:o.framework_name})]}),e.jsxs("div",{className:"feed-header",children:[e.jsxs("div",{children:[e.jsx(fe,{mode:n,scope:o,scopeName:r||a,search:t,totalCount:z,loadedCount:k.length,hasDateRange:!!(l.dateRange.startDate||l.dateRange.endDate)}),n==="scoped"&&o&&e.jsx(xe,{scope:o})]}),e.jsx(Y,{startDate:l.dateRange.startDate,endDate:l.dateRange.endDate,onChange:l.setDateRange})]}),e.jsx("div",{className:"papers-search-row",children:e.jsxs("div",{className:"papers-search-input-wrap",children:[e.jsx(q,{name:"search",size:14}),e.jsx("input",{className:"papers-search-input",placeholder:"Search title or abstract…",value:x,onChange:d=>b(d.target.value)})]})}),e.jsxs("div",{className:n==="browse"?"layout-with-sidebar":"papers-feed-layout-scoped",children:[n==="browse"&&e.jsx(ge,{}),e.jsxs("div",{children:[e.jsx(Z,{feed:l,sorts:i?pe:ee,activeSort:j,showDateFilter:!1,showHasCode:n!=="scoped",children:e.jsxs("div",{className:"results-count",children:[k.length," loaded"]})}),G?e.jsx("div",{className:"no-results",children:"Framework not found."}):e.jsxs(e.Fragment,{children:[m.error&&e.jsx(ie,{variant:"destructive",className:"mb-4",children:e.jsx(le,{children:"Failed to load papers. Please try again."})}),e.jsx(se,{query:m,cards:k,skeleton:"card",highlightQuery:i?t:void 0,empty:e.jsxs(e.Fragment,{children:[e.jsx("p",{children:"No matching papers."}),i&&K()&&e.jsx(f,{to:`/chat?q=${encodeURIComponent(t.trim())}`,children:"Ask the assistant instead"})]}),children:!m.hasNextPage&&!m.isFetchingNextPage&&i&&e.jsx("div",{className:"search-results-end",children:N!=null&&N.cap_reached?"End of the top 100 results":"End of results"})})]})]})]})]})};function fe({mode:s,scope:r,scopeName:a,search:t,totalCount:n,loadedCount:i,hasDateRange:l}){const c=n>0&&`${n.toLocaleString()} papers.`;switch(s){case"scoped":{const x=(r==null?void 0:r.kind)==="framework"?r.framework_name:r==null?void 0:r.repository;return e.jsxs(e.Fragment,{children:[e.jsxs("h1",{className:"feed-title",children:["Papers implemented by ",e.jsx("em",{children:x||a})]}),e.jsx("div",{className:"feed-subtitle",children:(r==null?void 0:r.kind)==="framework"?c:r!=null&&r.repository?e.jsxs(e.Fragment,{children:["GitHub repository ",e.jsx("strong",{children:r.repository}),". ",c]}):"Repository-scoped paper feed."})]})}case"search":return e.jsxs(e.Fragment,{children:[e.jsxs("h1",{className:"feed-title",children:["Search results for ",e.jsxs("em",{children:["“",t,"”"]})]}),e.jsx("div",{className:"feed-subtitle",children:`${i} loaded from the most relevant results.`})]});case"browse":return e.jsxs(e.Fragment,{children:[e.jsxs("h1",{className:"feed-title",children:["All ",e.jsx("em",{children:"Papers"})]}),e.jsxs("div",{className:"feed-subtitle",children:["Search the full corpus. ",n>0&&`${n.toLocaleString()} ${l?"papers in this date range":"papers indexed"}.`]})]})}}function xe({scope:s}){const r=s.kind==="framework";return e.jsxs("div",{className:"paper-feed-scope-links",children:[e.jsxs("div",{className:"paper-feed-primary-links",children:[s.github_url&&e.jsxs("a",{href:s.github_url,target:"_blank",rel:"noopener noreferrer",className:r?"task-framework-link":"framework-link",children:[e.jsx(q,{name:"github",size:13}),r?e.jsxs(e.Fragment,{children:[e.jsx("span",{children:s.repository||"GitHub"}),s.num_stars!=null&&e.jsxs("span",{className:"task-framework-link-stars",children:["★ ",oe(s.num_stars)]})]}):"GitHub"]}),r&&s.introducing_paper_arxiv_id&&e.jsx(f,{to:`/paper/${s.introducing_paper_arxiv_id}`,className:"framework-link",children:"Introducing paper"})]}),r&&s.recommended_tasks&&s.recommended_tasks.length>0&&e.jsx("div",{className:"paper-feed-task-tags",children:s.recommended_tasks.map(a=>a.slug?e.jsx(J,{slug:a.slug,label:a.name},a.id):null)})]})}function ge(){var r;const s=V(X.topTasks(8));return e.jsx("aside",{className:"sidebar",children:e.jsxs("div",{className:"sidebar-section",children:[e.jsx("div",{className:"sidebar-label",children:"Top Domains"}),s.isLoading&&e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:8},children:Array.from({length:6}).map((a,t)=>e.jsx(ne,{className:"h-5 w-full"},t))}),e.jsx("div",{className:"sidebar-links",children:(r=s.data)==null?void 0:r.map(a=>e.jsxs(f,{to:`/tasks/${a.slug}`,className:"sidebar-link",children:[ae(a.name,a.slug),a.paper_count!=null&&e.jsx("span",{className:"count",children:a.paper_count})]},a.id))})]})})}export{Be as default};
assets/{PrivacyView-iWte6OiX.js → PrivacyView-BpGtNuCK.js} RENAMED
@@ -1 +1 @@
1
- import{j as e}from"./index-BhKQv9LT.js";import{u as i,f as s}from"./useDocumentTitle-DGWKz2sg.js";const r=()=>(i(s("Privacy Policy")),e.jsxs("article",{className:"page legal-page",children:[e.jsxs("header",{className:"legal-header",children:[e.jsx("p",{className:"legal-kicker",children:"Legal"}),e.jsx("h1",{children:"Privacy Policy"}),e.jsx("p",{className:"legal-effective-date",children:"Effective November 13, 2026"})]}),e.jsx("p",{children:"This Privacy Policy explains how Hugging Face, Inc. (“Hugging Face,” “we,” or “us”) collects, uses, and shares information when you use Papers With Code, including its website, research assistant, APIs, and related services (the “Service”)."}),e.jsxs("section",{children:[e.jsx("h2",{children:"1. Information we collect"}),e.jsx("h3",{children:"Information you provide"}),e.jsxs("ul",{children:[e.jsxs("li",{children:[e.jsx("strong",{children:"Account information."})," If you sign in with Hugging Face, we receive account identifiers and profile details needed to authenticate you, such as your user ID, username, and avatar. If you request contributor access, we also receive and retain the verified email address associated with your Hugging Face account so we can review and communicate about your request."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Contributions and preferences."})," We collect information you submit or save, such as paper submissions and edits, bookmarks, display preferences, feedback, and communications with us. Material you submit to a public research page may be publicly visible."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Research assistant content."})," We collect your questions, files you attach, conversation history, generated answers, citations, tool calls and results, and feedback about answers. Chats are private to your account unless you choose to create a share link; anyone with that link may be able to view the shared chat."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Uploaded files."})," If you attach a PDF, image, or text file to a chat, we store it privately with that chat so the research assistant can read it again later and so we can review chat quality. Uploaded files count toward your chat-data limit. A shared chat shows only each file's name and size, but answers in it may quote the file."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Voice input."})," If you dictate into the research assistant, your microphone audio is streamed to a speech-recognition model to produce text in your message box. Papers With Code does not store the audio or a separate transcript; the text becomes research assistant content only if you send it. We keep the length and time of each voice session to enforce usage limits."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Provider and billing information."})," If you enable a model provider, we process the authorization or API credentials needed to make requests on your behalf. Hugging Face or another provider processes its own billing information under its terms. Papers With Code does not collect your payment-card details."]})]}),e.jsx("h3",{children:"Information collected automatically"}),e.jsx("p",{children:"We collect technical and usage information such as IP address, browser and device type, operating system, pages or features used, dates and times, referring pages, request identifiers, cookies, logs, and diagnostic data. For research-assistant requests, this may include the selected model, token and cost details, latency, errors, and other operational metadata."}),e.jsx("h3",{children:"Research assistant tracing"}),e.jsxs("p",{children:["To evaluate, debug, secure, and improve the research assistant, we use Langfuse to record traces. A trace may contain the complete text of your question and the assistant's answer, as well as tool inputs, tool outputs, retrieved research material, model details, usage data, and related operational metadata.",e.jsx("strong",{children:" This trace content is not redacted before it is sent to Langfuse."})]}),e.jsx("p",{children:"Papers With Code is designed for questions about research literature. Do not put passwords, API keys, confidential information, health or financial data, or other sensitive personal information in research-assistant prompts."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"2. How we use information"}),e.jsx("p",{children:"We use information to:"}),e.jsxs("ul",{children:[e.jsx("li",{children:"provide, personalize, maintain, and operate the Service;"}),e.jsx("li",{children:"authenticate users and keep accounts and the Service secure;"}),e.jsx("li",{children:"run research-assistant requests and preserve conversation history;"}),e.jsx("li",{children:"measure performance, troubleshoot failures, and improve quality;"}),e.jsx("li",{children:"review contributions, prevent abuse, and enforce applicable terms;"}),e.jsx("li",{children:"communicate with you and respond to requests; and"}),e.jsx("li",{children:"comply with law and protect users, Hugging Face, and the public."})]})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"3. How we share information"}),e.jsx("p",{children:"We may share information in these circumstances:"}),e.jsxs("ul",{children:[e.jsxs("li",{children:[e.jsx("strong",{children:"Service providers."})," Vendors process information for hosting, authentication, analytics, observability, security, and support. These include Hugging Face services, Langfuse for research-assistant tracing, Plausible for website analytics, and infrastructure providers."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Speech recognition."})," Voice input audio is transcribed by a model hosted on Hugging Face Inference Endpoints. While that model is starting up or at capacity, the audio is transcribed by OpenAI instead. Neither audio nor transcripts are retained by Papers With Code."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Model providers."})," Research-assistant content is sent to the model provider you use, such as OpenAI, Hugging Face Inference Providers, or OpenRouter, so it can generate a response. Files you attach are uploaded to OpenAI, which stores them until the chat is deleted. That provider's privacy terms also apply to its processing."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Public and shared content."})," Contributions intended for public pages are public. A chat is disclosed through the Service when you create and distribute a share link."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Legal, safety, and corporate events."})," We may disclose information when reasonably necessary to comply with law, protect rights and safety, investigate abuse, or complete a merger, acquisition, financing, or transfer of assets."]})]}),e.jsx("p",{children:"We do not sell your personal information."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"4. Cookies and analytics"}),e.jsx("p",{children:"We use cookies and similar storage when needed for sign-in, security, preferences, and operation of the Service. We also use Plausible to understand aggregate website usage. You can control cookies through your browser, but disabling necessary cookies may prevent account features from working."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"5. Legal bases"}),e.jsx("p",{children:"Where applicable law requires a legal basis, we process information as needed to perform our agreement with you, with your consent, to comply with legal obligations, and for legitimate interests such as operating, securing, and improving the Service. You may withdraw consent where consent is the basis for processing, without affecting earlier processing."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"6. Retention and deletion"}),e.jsx("p",{children:"Private chats are retained until you delete them, subject to limits of 500 active chats and 100 MB of chat data per user. Archiving hides a chat and frees active-chat quota but does not delete it. You may deliberately share an unlisted snapshot; deleting its private chat removes the durable transcript, workspace reference, uploaded files (including the copy held by OpenAI), and share link after deletion is verified. No dedicated private-chat export format is currently offered."}),e.jsx("p",{children:"We keep information for as long as reasonably needed for the purposes described here, including providing the Service, maintaining security and audit records, resolving disputes, and meeting legal obligations. Retention periods vary by data type and service provider. You can delete individual chats in the Service. Deletion may not immediately remove information from backups, security logs, or third-party systems where limited retention is required."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"7. Security and international transfers"}),e.jsx("p",{children:"We use reasonable administrative, technical, and organizational safeguards, but no internet service can guarantee absolute security. We and our service providers may process information in the United States and other countries, which may have different data-protection laws from your country. Where required, we use appropriate safeguards for international transfers."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"8. Your privacy rights"}),e.jsx("p",{children:"Depending on where you live, you may have rights to access, correct, delete, or receive a copy of your personal information; object to or restrict processing; withdraw consent; or appeal a decision about a request. You may also have the right to complain to a data-protection authority. We may need to verify your identity before fulfilling a request."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"9. Children"}),e.jsx("p",{children:"The Service is not directed to children under 13, and we do not knowingly collect personal information from children under 13. If you believe a child has provided personal information, please contact us."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"10. Changes to this policy"}),e.jsx("p",{children:"We may update this policy as the Service changes. We will post the revised policy here and update its effective date. If a change is material, we will provide additional notice when appropriate."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"11. Contact us"}),e.jsxs("p",{children:["For questions or privacy requests, contact"," ",e.jsx("a",{href:"mailto:privacy@huggingface.co",children:"privacy@huggingface.co"}),". Please do not include passwords, API keys, or other sensitive credentials in your message."]})]})]}));export{r as default};
 
1
+ import{j as e}from"./index-B0aq-iar.js";import{u as i,f as s}from"./useDocumentTitle-gwKq10Vr.js";const r=()=>(i(s("Privacy Policy")),e.jsxs("article",{className:"page legal-page",children:[e.jsxs("header",{className:"legal-header",children:[e.jsx("p",{className:"legal-kicker",children:"Legal"}),e.jsx("h1",{children:"Privacy Policy"}),e.jsx("p",{className:"legal-effective-date",children:"Effective November 13, 2026"})]}),e.jsx("p",{children:"This Privacy Policy explains how Hugging Face, Inc. (“Hugging Face,” “we,” or “us”) collects, uses, and shares information when you use Papers With Code, including its website, research assistant, APIs, and related services (the “Service”)."}),e.jsxs("section",{children:[e.jsx("h2",{children:"1. Information we collect"}),e.jsx("h3",{children:"Information you provide"}),e.jsxs("ul",{children:[e.jsxs("li",{children:[e.jsx("strong",{children:"Account information."})," If you sign in with Hugging Face, we receive account identifiers and profile details needed to authenticate you, such as your user ID, username, and avatar. If you request contributor access, we also receive and retain the verified email address associated with your Hugging Face account so we can review and communicate about your request."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Contributions and preferences."})," We collect information you submit or save, such as paper submissions and edits, bookmarks, display preferences, feedback, and communications with us. Material you submit to a public research page may be publicly visible."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Research assistant content."})," We collect your questions, files you attach, conversation history, generated answers, citations, tool calls and results, and feedback about answers. Chats are private to your account unless you choose to create a share link; anyone with that link may be able to view the shared chat."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Uploaded files."})," If you attach a PDF, image, or text file to a chat, we store it privately with that chat so the research assistant can read it again later and so we can review chat quality. Uploaded files count toward your chat-data limit. A shared chat shows only each file's name and size, but answers in it may quote the file."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Voice input."})," If you dictate into the research assistant, your microphone audio is streamed to a speech-recognition model to produce text in your message box. Papers With Code does not store the audio or a separate transcript; the text becomes research assistant content only if you send it. We keep the length and time of each voice session to enforce usage limits."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Provider and billing information."})," If you enable a model provider, we process the authorization or API credentials needed to make requests on your behalf. Hugging Face or another provider processes its own billing information under its terms. Papers With Code does not collect your payment-card details."]})]}),e.jsx("h3",{children:"Information collected automatically"}),e.jsx("p",{children:"We collect technical and usage information such as IP address, browser and device type, operating system, pages or features used, dates and times, referring pages, request identifiers, cookies, logs, and diagnostic data. For research-assistant requests, this may include the selected model, token and cost details, latency, errors, and other operational metadata."}),e.jsx("h3",{children:"Research assistant tracing"}),e.jsxs("p",{children:["To evaluate, debug, secure, and improve the research assistant, we use Langfuse to record traces. A trace may contain the complete text of your question and the assistant's answer, as well as tool inputs, tool outputs, retrieved research material, model details, usage data, and related operational metadata.",e.jsx("strong",{children:" This trace content is not redacted before it is sent to Langfuse."})]}),e.jsx("p",{children:"Papers With Code is designed for questions about research literature. Do not put passwords, API keys, confidential information, health or financial data, or other sensitive personal information in research-assistant prompts."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"2. How we use information"}),e.jsx("p",{children:"We use information to:"}),e.jsxs("ul",{children:[e.jsx("li",{children:"provide, personalize, maintain, and operate the Service;"}),e.jsx("li",{children:"authenticate users and keep accounts and the Service secure;"}),e.jsx("li",{children:"run research-assistant requests and preserve conversation history;"}),e.jsx("li",{children:"measure performance, troubleshoot failures, and improve quality;"}),e.jsx("li",{children:"review contributions, prevent abuse, and enforce applicable terms;"}),e.jsx("li",{children:"communicate with you and respond to requests; and"}),e.jsx("li",{children:"comply with law and protect users, Hugging Face, and the public."})]})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"3. How we share information"}),e.jsx("p",{children:"We may share information in these circumstances:"}),e.jsxs("ul",{children:[e.jsxs("li",{children:[e.jsx("strong",{children:"Service providers."})," Vendors process information for hosting, authentication, analytics, observability, security, and support. These include Hugging Face services, Langfuse for research-assistant tracing, Plausible for website analytics, and infrastructure providers."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Speech recognition."})," Voice input audio is transcribed by a model hosted on Hugging Face Inference Endpoints. While that model is starting up or at capacity, the audio is transcribed by OpenAI instead. Neither audio nor transcripts are retained by Papers With Code."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Model providers."})," Research-assistant content is sent to the model provider you use, such as OpenAI, Hugging Face Inference Providers, or OpenRouter, so it can generate a response. Files you attach are uploaded to OpenAI, which stores them until the chat is deleted. That provider's privacy terms also apply to its processing."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Public and shared content."})," Contributions intended for public pages are public. A chat is disclosed through the Service when you create and distribute a share link."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Legal, safety, and corporate events."})," We may disclose information when reasonably necessary to comply with law, protect rights and safety, investigate abuse, or complete a merger, acquisition, financing, or transfer of assets."]})]}),e.jsx("p",{children:"We do not sell your personal information."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"4. Cookies and analytics"}),e.jsx("p",{children:"We use cookies and similar storage when needed for sign-in, security, preferences, and operation of the Service. We also use Plausible to understand aggregate website usage. You can control cookies through your browser, but disabling necessary cookies may prevent account features from working."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"5. Legal bases"}),e.jsx("p",{children:"Where applicable law requires a legal basis, we process information as needed to perform our agreement with you, with your consent, to comply with legal obligations, and for legitimate interests such as operating, securing, and improving the Service. You may withdraw consent where consent is the basis for processing, without affecting earlier processing."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"6. Retention and deletion"}),e.jsx("p",{children:"Private chats are retained until you delete them, subject to limits of 500 active chats and 100 MB of chat data per user. Archiving hides a chat and frees active-chat quota but does not delete it. You may deliberately share an unlisted snapshot; deleting its private chat removes the durable transcript, workspace reference, uploaded files (including the copy held by OpenAI), and share link after deletion is verified. No dedicated private-chat export format is currently offered."}),e.jsx("p",{children:"We keep information for as long as reasonably needed for the purposes described here, including providing the Service, maintaining security and audit records, resolving disputes, and meeting legal obligations. Retention periods vary by data type and service provider. You can delete individual chats in the Service. Deletion may not immediately remove information from backups, security logs, or third-party systems where limited retention is required."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"7. Security and international transfers"}),e.jsx("p",{children:"We use reasonable administrative, technical, and organizational safeguards, but no internet service can guarantee absolute security. We and our service providers may process information in the United States and other countries, which may have different data-protection laws from your country. Where required, we use appropriate safeguards for international transfers."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"8. Your privacy rights"}),e.jsx("p",{children:"Depending on where you live, you may have rights to access, correct, delete, or receive a copy of your personal information; object to or restrict processing; withdraw consent; or appeal a decision about a request. You may also have the right to complain to a data-protection authority. We may need to verify your identity before fulfilling a request."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"9. Children"}),e.jsx("p",{children:"The Service is not directed to children under 13, and we do not knowingly collect personal information from children under 13. If you believe a child has provided personal information, please contact us."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"10. Changes to this policy"}),e.jsx("p",{children:"We may update this policy as the Service changes. We will post the revised policy here and update its effective date. If a change is material, we will provide additional notice when appropriate."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"11. Contact us"}),e.jsxs("p",{children:["For questions or privacy requests, contact"," ",e.jsx("a",{href:"mailto:privacy@huggingface.co",children:"privacy@huggingface.co"}),". Please do not include passwords, API keys, or other sensitive credentials in your message."]})]})]}));export{r as default};
assets/{RateLimitsView-Cekgtfu1.js → RateLimitsView-BkWrFwly.js} RENAMED
@@ -1 +1 @@
1
- import{b as t,j as e,ac as s}from"./index-BhKQv9LT.js";const n=()=>{const i=t(s.rateLimitPolicy()).data;return e.jsxs("div",{className:"page",style:{maxWidth:760},children:[e.jsx("h1",{children:"Submission and rate-limit policy"}),i?e.jsxs(e.Fragment,{children:[e.jsxs("p",{children:["Each account may have up to ",i.active_pending," active submissions."]}),e.jsxs("p",{children:["New submissions are limited to ",i.subject_per_hour," per account and ",i.ip_per_hour," per source network in a rolling hour."]})]}):e.jsx("p",{children:"Loading current limits…"}),e.jsx("p",{children:"Duplicate, no-op, and idempotently replayed requests do not consume creation quota."}),e.jsx("p",{children:"Rate-limited responses use HTTP 429 with Retry-After, RateLimit, and RateLimit-Policy headers."}),e.jsx("p",{children:"Good-faith contributors who are blocked should contact the Papers with Code maintainers with their Hugging Face username."})]})};export{n as default};
 
1
+ import{b as t,j as e,ac as s}from"./index-B0aq-iar.js";const n=()=>{const i=t(s.rateLimitPolicy()).data;return e.jsxs("div",{className:"page",style:{maxWidth:760},children:[e.jsx("h1",{children:"Submission and rate-limit policy"}),i?e.jsxs(e.Fragment,{children:[e.jsxs("p",{children:["Each account may have up to ",i.active_pending," active submissions."]}),e.jsxs("p",{children:["New submissions are limited to ",i.subject_per_hour," per account and ",i.ip_per_hour," per source network in a rolling hour."]})]}):e.jsx("p",{children:"Loading current limits…"}),e.jsx("p",{children:"Duplicate, no-op, and idempotently replayed requests do not consume creation quota."}),e.jsx("p",{children:"Rate-limited responses use HTTP 429 with Retry-After, RateLimit, and RateLimit-Policy headers."}),e.jsx("p",{children:"Good-faith contributors who are blocked should contact the Papers with Code maintainers with their Hugging Face username."})]})};export{n as default};
assets/{ResearchFollowButton-CP34FBeP.js → ResearchFollowButton-D0tv80JF.js} RENAMED
@@ -1 +1 @@
1
- import{b,j as e,r as F,e as N,t as k,i as S,k as v,l as L,C as y,L as f}from"./index-BhKQv9LT.js";import{g as C,d as G}from"./researchTopic-BP-u0rIC.js";import{F as R}from"./FollowerAvatar-CdsnfvtL.js";import{P as m}from"./plus-Da5UgLnk.js";function _({kind:l,entityId:a}){const{data:s}=b(F.entityFollowers(l,a));if(!(s!=null&&s.followers))return null;const o=s.followers-s.follower_avatars.length;return e.jsxs("div",{className:"follower-stack",children:[s.follower_avatars.length>0&&e.jsxs("ul",{className:"follower-stack-faces","aria-label":"Followers",children:[s.follower_avatars.map(r=>e.jsx("li",{children:e.jsx("a",{href:`https://huggingface.co/${r.username}`,target:"_blank",rel:"noreferrer","aria-label":`@${r.username}`,children:e.jsx(R,{person:r,size:28})})},r.username)),o>0&&e.jsxs("li",{className:"follower-stack-more","aria-label":`${o.toLocaleString()} more`,children:["+",o.toLocaleString()]})]}),e.jsxs("span",{className:"follower-stack-count",children:[e.jsx("strong",{children:s.followers.toLocaleString()})," ",s.followers===1?"follower":"followers"]})]})}const x={task:"Get new papers on this task",method:"Get new papers using this method",benchmark:"Get new results on this benchmark",author:"Get new papers by this author",organization:"Get new papers from this organization"};function E({kind:l,entityId:a,showFollowers:s=!1}){var u;const o=N(),r=o==null?void 0:o.user,w=k(),[g,j]=S.useState(null),d=`${l}:${a}`,n=C(),t=((u=n.data)==null?void 0:u.some(c=>c.kind===l&&String(c.entity_id)===String(a)))??!1,h=G({onChanged:({follow:c})=>j(c?d:null),awaitRefresh:!0}),i=s&&e.jsx(_,{kind:l,entityId:a});if(!o||!r&&v())return i&&e.jsx("div",{className:"research-follow",children:i});if(!r)return e.jsxs("div",{className:"research-follow",children:[e.jsxs("a",{className:"research-follow-btn",href:L(w.pathname+w.search),children:[e.jsx(m,{"aria-hidden":"true"}),"Follow"]}),i,e.jsxs("span",{className:"research-follow-hint",children:["Sign in to ",x[l].toLowerCase(),"."]})]});const p=h.error||n.error;return e.jsxs("div",{className:"research-follow",children:[e.jsx("button",{type:"button",className:t?"research-follow-btn is-following":"research-follow-btn",disabled:n.isLoading||!!n.error||h.isPending,"aria-pressed":t,"aria-label":t?"Unfollow":"Follow",onClick:()=>h.mutate({kind:l,entityId:a,follow:!t}),children:t?e.jsxs(e.Fragment,{children:[e.jsx(y,{"aria-hidden":"true"}),e.jsx("span",{className:"research-follow-label",children:"Following"}),e.jsx("span",{className:"research-follow-label-hover",children:"Unfollow"})]}):e.jsxs(e.Fragment,{children:[e.jsx(m,{"aria-hidden":"true"}),"Follow"]})}),i,p?e.jsx("span",{className:"research-follow-hint is-error",role:"alert",children:"Could not update follows. Please try again."}):t?g===d&&e.jsxs("span",{className:"research-follow-hint",role:"status",children:["Added to ",e.jsx(f,{to:"/following",children:"your Following feed"})," · ",e.jsx(f,{to:"/following?edit=1",children:"Edit feed"})]}):e.jsxs("span",{className:"research-follow-hint",children:[x[l]," in ",e.jsx(f,{to:"/following",children:"your Following feed"}),"."]})]})}export{E as R};
 
1
+ import{b,j as e,r as F,e as N,t as k,i as S,k as v,l as L,C as y,L as f}from"./index-B0aq-iar.js";import{g as C,d as G}from"./researchTopic-179EqBPz.js";import{F as R}from"./FollowerAvatar-DMLlkjGd.js";import{P as m}from"./plus-Ig6EFSa0.js";function _({kind:l,entityId:a}){const{data:s}=b(F.entityFollowers(l,a));if(!(s!=null&&s.followers))return null;const o=s.followers-s.follower_avatars.length;return e.jsxs("div",{className:"follower-stack",children:[s.follower_avatars.length>0&&e.jsxs("ul",{className:"follower-stack-faces","aria-label":"Followers",children:[s.follower_avatars.map(r=>e.jsx("li",{children:e.jsx("a",{href:`https://huggingface.co/${r.username}`,target:"_blank",rel:"noreferrer","aria-label":`@${r.username}`,children:e.jsx(R,{person:r,size:28})})},r.username)),o>0&&e.jsxs("li",{className:"follower-stack-more","aria-label":`${o.toLocaleString()} more`,children:["+",o.toLocaleString()]})]}),e.jsxs("span",{className:"follower-stack-count",children:[e.jsx("strong",{children:s.followers.toLocaleString()})," ",s.followers===1?"follower":"followers"]})]})}const x={task:"Get new papers on this task",method:"Get new papers using this method",benchmark:"Get new results on this benchmark",author:"Get new papers by this author",organization:"Get new papers from this organization"};function E({kind:l,entityId:a,showFollowers:s=!1}){var u;const o=N(),r=o==null?void 0:o.user,w=k(),[g,j]=S.useState(null),d=`${l}:${a}`,n=C(),t=((u=n.data)==null?void 0:u.some(c=>c.kind===l&&String(c.entity_id)===String(a)))??!1,h=G({onChanged:({follow:c})=>j(c?d:null),awaitRefresh:!0}),i=s&&e.jsx(_,{kind:l,entityId:a});if(!o||!r&&v())return i&&e.jsx("div",{className:"research-follow",children:i});if(!r)return e.jsxs("div",{className:"research-follow",children:[e.jsxs("a",{className:"research-follow-btn",href:L(w.pathname+w.search),children:[e.jsx(m,{"aria-hidden":"true"}),"Follow"]}),i,e.jsxs("span",{className:"research-follow-hint",children:["Sign in to ",x[l].toLowerCase(),"."]})]});const p=h.error||n.error;return e.jsxs("div",{className:"research-follow",children:[e.jsx("button",{type:"button",className:t?"research-follow-btn is-following":"research-follow-btn",disabled:n.isLoading||!!n.error||h.isPending,"aria-pressed":t,"aria-label":t?"Unfollow":"Follow",onClick:()=>h.mutate({kind:l,entityId:a,follow:!t}),children:t?e.jsxs(e.Fragment,{children:[e.jsx(y,{"aria-hidden":"true"}),e.jsx("span",{className:"research-follow-label",children:"Following"}),e.jsx("span",{className:"research-follow-label-hover",children:"Unfollow"})]}):e.jsxs(e.Fragment,{children:[e.jsx(m,{"aria-hidden":"true"}),"Follow"]})}),i,p?e.jsx("span",{className:"research-follow-hint is-error",role:"alert",children:"Could not update follows. Please try again."}):t?g===d&&e.jsxs("span",{className:"research-follow-hint",role:"status",children:["Added to ",e.jsx(f,{to:"/following",children:"your Following feed"})," · ",e.jsx(f,{to:"/following?edit=1",children:"Edit feed"})]}):e.jsxs("span",{className:"research-follow-hint",children:[x[l]," in ",e.jsx(f,{to:"/following",children:"your Following feed"}),"."]})]})}export{E as R};
assets/{SavedPapersView-yO4GS4OA.js → SavedPapersView-CiKXIMdJ.js} RENAMED
@@ -1 +1 @@
1
- import{a as g,b as v,O as x,A as j,j as e,H as b,L as k}from"./index-BhKQv9LT.js";import{P as N}from"./PaperCard-CSOLEzIX.js";import{T as f}from"./SotaBadges-CcS46IjG.js";import{S as r}from"./skeleton-BkbzA0oF.js";import{A as y,a as w}from"./alert-zC2kYXtI.js";import{t as B}from"./transform-BzmXOpxt.js";import{s as A}from"./savedPapersAuth-CLNfo1HR.js";import"./AuthorAvatar-DfcP8J6o.js";import"./Icon-Cdqu8Hq_.js";import"./LatexTitle-GmCrtZ_I.js";import"./safeExternalHref-CkBrsh84.js";import"./colors-BkWRhvFI.js";const q=()=>{var o,l;const{user:n,isLoading:h}=g(),a=v({...x.saved(),enabled:!!n,staleTime:30*1e3}),d=a.error instanceof j&&a.error.code==="saved_papers_bucket_authorization_required",c=!!a.data&&!a.data.bucket_connected&&a.data.bucket_available!==!1,i=()=>{window.location.assign(A())};if(h)return e.jsxs("div",{className:"page",children:[e.jsx(r,{className:"h-10 w-1/3 mb-4"}),e.jsx(r,{className:"h-6 w-1/2 mb-8"})]});if(!n)return e.jsxs("div",{className:"page",children:[e.jsx("div",{className:"feed-header",children:e.jsxs("div",{children:[e.jsxs("h1",{className:"feed-title",children:["Saved ",e.jsx("em",{children:"Papers"})]}),e.jsx("div",{className:"feed-subtitle",children:"Sign in with Hugging Face to save papers and revisit them later."})]})}),e.jsx("div",{className:"saved-signin-panel",children:e.jsx(b,{returnTo:"/saved"})})]});let m=0;return e.jsxs("div",{className:"page",children:[e.jsx("div",{className:"feed-header",children:e.jsxs("div",{children:[e.jsxs("h1",{className:"feed-title",children:["Saved ",e.jsx("em",{children:"Papers"})]}),e.jsxs("div",{className:"feed-subtitle",children:[(o=a.data)!=null&&o.count?`${a.data.count.toLocaleString()} saved · grouped by domain`:"Your bookmarked papers, grouped by domain.",(l=a.data)!=null&&l.bucket_connected?e.jsxs(e.Fragment,{children:[" · ",e.jsx("a",{href:`https://huggingface.co/buckets/${n.username}/pwc-saved-papers`,target:"_blank",rel:"noopener noreferrer",children:"Open your Hugging Face Bucket"})]}):null]})]})}),d?e.jsxs("div",{className:"saved-bucket-migration",children:[e.jsx("p",{children:"Your saved papers are still safe in Papers With Code. Approve Bucket access to copy them into a private Hugging Face Bucket that belongs to you."}),e.jsx("button",{type:"button",className:"hf-signin-btn",onClick:i,children:"Approve and migrate saved papers"})]}):a.error?e.jsx(y,{variant:"destructive",className:"mb-4",children:e.jsx(w,{children:"Failed to load your saved papers. Please try again."})}):null,c&&a.data.bucket_migrated?e.jsxs("div",{className:"saved-bucket-migration",children:[e.jsx("p",{children:"Your saved papers are already in your private Hugging Face Bucket. Reconnect it in this browser to read from it and save new papers there."}),e.jsx("button",{type:"button",className:"hf-signin-btn",onClick:i,children:"Reconnect Hugging Face Bucket"})]}):c&&a.data.bucket_error?e.jsxs("div",{className:"saved-bucket-migration",children:[e.jsxs("p",{children:["Hugging Face could not set up your private saved-papers Bucket:"," ",a.data.bucket_error," Your saved papers stay in Papers With Code, and saving new papers still works. Check that your Hugging Face account can create private Buckets, then try again."]}),e.jsx("button",{type:"button",className:"hf-signin-btn",onClick:i,children:"Try the Bucket migration again"})]}):c?e.jsxs("div",{className:"saved-bucket-migration",children:[e.jsxs("p",{children:[a.data.count?`Your ${a.data.count.toLocaleString()} saved ${a.data.count===1?"paper is":"papers are"} still available below. `:"When you save your first paper, ","Approve Bucket access to copy saved papers into a private Hugging Face Bucket that belongs to you. The existing data is kept until the copy is verified."]}),e.jsx("button",{type:"button",className:"hf-signin-btn",onClick:i,children:a.data.count?"Approve and migrate saved papers":"Use a Hugging Face Bucket"})]}):null,d||a.error?null:a.isLoading?e.jsx("div",{className:"paper-list",children:Array.from({length:4}).map((t,s)=>e.jsxs("div",{className:"paper-card",children:[e.jsx(r,{className:"h-[220px] w-[160px]"}),e.jsxs("div",{className:"paper-body",style:{flex:1,gap:12},children:[e.jsx(r,{className:"h-6 w-3/4"}),e.jsx(r,{className:"h-4 w-1/2"}),e.jsx(r,{className:"h-12 w-full"})]})]},s))}):!a.data||a.data.count===0?e.jsxs("div",{className:"no-results",children:["No saved papers yet."," ",e.jsx(k,{to:"/papers",className:"sidebar-link",style:{display:"inline"},children:"Browse papers →"})]}):a.data.areas.map(t=>e.jsxs("section",{className:"saved-area-section",children:[e.jsx("h2",{className:"saved-area-heading",children:t.name}),t.tasks.map(s=>{const p=s.papers.length;return e.jsxs("div",{className:"saved-task-block",children:[e.jsxs("div",{className:"saved-task-row",children:[s.slug?e.jsx(f,{slug:s.slug,label:s.name}):e.jsx("span",{className:"tag-chip",style:{background:"var(--surface)"},children:s.name}),e.jsxs("span",{className:"saved-task-count",children:[p," ",p===1?"paper":"papers"]})]}),e.jsx("div",{className:"paper-list",children:s.papers.map(u=>e.jsx(N,{paper:B(u),priority:m++<3},u.id))})]},`task-${t.id??"other"}-${s.id??"untagged"}`)})]},`area-${t.id??"other"}`))]})};export{q as default};
 
1
+ import{a as g,b as v,O as x,A as j,j as e,H as b,L as k}from"./index-B0aq-iar.js";import{P as N}from"./PaperCard-CXKXdRil.js";import{T as f}from"./SotaBadges-Dh4JgSRd.js";import{S as r}from"./skeleton-DsZ-wKhC.js";import{A as y,a as w}from"./alert-Cf45hSUq.js";import{t as B}from"./transform-BII-_KDB.js";import{s as A}from"./savedPapersAuth-DsvbQ2zl.js";import"./AuthorAvatar-CWdu93Ln.js";import"./Icon-BkpouXtc.js";import"./LatexTitle-CXLW2LHS.js";import"./safeExternalHref-CkBrsh84.js";import"./colors-BkWRhvFI.js";const q=()=>{var o,l;const{user:n,isLoading:h}=g(),a=v({...x.saved(),enabled:!!n,staleTime:30*1e3}),d=a.error instanceof j&&a.error.code==="saved_papers_bucket_authorization_required",c=!!a.data&&!a.data.bucket_connected&&a.data.bucket_available!==!1,i=()=>{window.location.assign(A())};if(h)return e.jsxs("div",{className:"page",children:[e.jsx(r,{className:"h-10 w-1/3 mb-4"}),e.jsx(r,{className:"h-6 w-1/2 mb-8"})]});if(!n)return e.jsxs("div",{className:"page",children:[e.jsx("div",{className:"feed-header",children:e.jsxs("div",{children:[e.jsxs("h1",{className:"feed-title",children:["Saved ",e.jsx("em",{children:"Papers"})]}),e.jsx("div",{className:"feed-subtitle",children:"Sign in with Hugging Face to save papers and revisit them later."})]})}),e.jsx("div",{className:"saved-signin-panel",children:e.jsx(b,{returnTo:"/saved"})})]});let m=0;return e.jsxs("div",{className:"page",children:[e.jsx("div",{className:"feed-header",children:e.jsxs("div",{children:[e.jsxs("h1",{className:"feed-title",children:["Saved ",e.jsx("em",{children:"Papers"})]}),e.jsxs("div",{className:"feed-subtitle",children:[(o=a.data)!=null&&o.count?`${a.data.count.toLocaleString()} saved · grouped by domain`:"Your bookmarked papers, grouped by domain.",(l=a.data)!=null&&l.bucket_connected?e.jsxs(e.Fragment,{children:[" · ",e.jsx("a",{href:`https://huggingface.co/buckets/${n.username}/pwc-saved-papers`,target:"_blank",rel:"noopener noreferrer",children:"Open your Hugging Face Bucket"})]}):null]})]})}),d?e.jsxs("div",{className:"saved-bucket-migration",children:[e.jsx("p",{children:"Your saved papers are still safe in Papers With Code. Approve Bucket access to copy them into a private Hugging Face Bucket that belongs to you."}),e.jsx("button",{type:"button",className:"hf-signin-btn",onClick:i,children:"Approve and migrate saved papers"})]}):a.error?e.jsx(y,{variant:"destructive",className:"mb-4",children:e.jsx(w,{children:"Failed to load your saved papers. Please try again."})}):null,c&&a.data.bucket_migrated?e.jsxs("div",{className:"saved-bucket-migration",children:[e.jsx("p",{children:"Your saved papers are already in your private Hugging Face Bucket. Reconnect it in this browser to read from it and save new papers there."}),e.jsx("button",{type:"button",className:"hf-signin-btn",onClick:i,children:"Reconnect Hugging Face Bucket"})]}):c&&a.data.bucket_error?e.jsxs("div",{className:"saved-bucket-migration",children:[e.jsxs("p",{children:["Hugging Face could not set up your private saved-papers Bucket:"," ",a.data.bucket_error," Your saved papers stay in Papers With Code, and saving new papers still works. Check that your Hugging Face account can create private Buckets, then try again."]}),e.jsx("button",{type:"button",className:"hf-signin-btn",onClick:i,children:"Try the Bucket migration again"})]}):c?e.jsxs("div",{className:"saved-bucket-migration",children:[e.jsxs("p",{children:[a.data.count?`Your ${a.data.count.toLocaleString()} saved ${a.data.count===1?"paper is":"papers are"} still available below. `:"When you save your first paper, ","Approve Bucket access to copy saved papers into a private Hugging Face Bucket that belongs to you. The existing data is kept until the copy is verified."]}),e.jsx("button",{type:"button",className:"hf-signin-btn",onClick:i,children:a.data.count?"Approve and migrate saved papers":"Use a Hugging Face Bucket"})]}):null,d||a.error?null:a.isLoading?e.jsx("div",{className:"paper-list",children:Array.from({length:4}).map((t,s)=>e.jsxs("div",{className:"paper-card",children:[e.jsx(r,{className:"h-[220px] w-[160px]"}),e.jsxs("div",{className:"paper-body",style:{flex:1,gap:12},children:[e.jsx(r,{className:"h-6 w-3/4"}),e.jsx(r,{className:"h-4 w-1/2"}),e.jsx(r,{className:"h-12 w-full"})]})]},s))}):!a.data||a.data.count===0?e.jsxs("div",{className:"no-results",children:["No saved papers yet."," ",e.jsx(k,{to:"/papers",className:"sidebar-link",style:{display:"inline"},children:"Browse papers →"})]}):a.data.areas.map(t=>e.jsxs("section",{className:"saved-area-section",children:[e.jsx("h2",{className:"saved-area-heading",children:t.name}),t.tasks.map(s=>{const p=s.papers.length;return e.jsxs("div",{className:"saved-task-block",children:[e.jsxs("div",{className:"saved-task-row",children:[s.slug?e.jsx(f,{slug:s.slug,label:s.name}):e.jsx("span",{className:"tag-chip",style:{background:"var(--surface)"},children:s.name}),e.jsxs("span",{className:"saved-task-count",children:[p," ",p===1?"paper":"papers"]})]}),e.jsx("div",{className:"paper-list",children:s.papers.map(u=>e.jsx(N,{paper:B(u),priority:m++<3},u.id))})]},`task-${t.id??"other"}-${s.id??"untagged"}`)})]},`area-${t.id??"other"}`))]})};export{q as default};
assets/{SearchOverlay-CWhqioFp.js → SearchOverlay-BJjY8IHv.js} RENAMED
@@ -1 +1 @@
1
- import{i as O,o as H,ad as U,z as B,b as l,O as $,x,j as e,aF as G,aG as K,aH as Y,aI as X,aL as Z,L as i,bt as V}from"./index-BhKQv9LT.js";import{L as W}from"./LatexTitle-GmCrtZ_I.js";import{u as J}from"./useDebounce-Bt-Usy3P.js";import{c as ss,h as es}from"./colors-BkWRhvFI.js";import{d as as}from"./transform-BzmXOpxt.js";const ts=10,C=6,ns=350,_=3,os=({open:h,onClose:t})=>{var L,Q,T,z,P,R;const v=O.useRef(null),D=H(),[r,I]=U.useState(""),n=J(r,ns),j=r.trim(),N=n.trim().length>=_,k=B();O.useEffect(()=>{if(!h)return;const s=a=>{a.key==="Escape"&&(a.preventDefault(),a.stopPropagation(),t())};return window.addEventListener("keydown",s,!0),()=>window.removeEventListener("keydown",s,!0)},[h,t]);const c={enabled:h&&N,staleTime:V,retry:!1},f=l({...$.search(n,ts),...c}),y=l({...x.taskList({q:n,page_size:6}),...c}),b=l({...x.methodList({q:n,page_size:6}),...c}),E=l({...x.datasetList({q:n,page_size:6}),...c}),F=l({...$.authorSearch(n,C),...c}),S=l({...x.organizationSearch(n,C),...c});if(!h)return null;const o=((L=y.data)==null?void 0:L.results)||[],d=((Q=b.data)==null?void 0:Q.results)||[],u=((T=E.data)==null?void 0:T.results)||[],m=((z=F.data)==null?void 0:z.results)||[],p=((P=S.data)==null?void 0:P.results)||[],g=((R=f.data)==null?void 0:R.results)||[],q=f.isFetching||y.isFetching||b.isFetching||E.isFetching||F.isFetching||S.isFetching,M=o.length||g.length||d.length||u.length||m.length||p.length,A=s=>{t(),D(s)},w=()=>{const s=r.trim();s&&A(`/chat?q=${encodeURIComponent(s)}`)};return e.jsx(G,{open:!0,onOpenChange:s=>!s&&t(),children:e.jsx(K,{children:e.jsx(Y,{className:"search-overlay",children:e.jsxs(X,{className:"search-modal","aria-modal":"true","aria-describedby":void 0,onOpenAutoFocus:s=>{var a;s.preventDefault(),(a=v.current)==null||a.focus()},children:[e.jsx(Z,{className:"sr-only",children:"Search"}),e.jsx("input",{ref:v,"aria-label":"Search papers, tasks, methods, benchmarks, authors, or organizations",className:"search-modal-input",placeholder:"Search papers, tasks, methods, benchmarks, authors, or organizations…",value:r,onChange:s=>I(s.target.value),onKeyDown:s=>{k&&s.key==="Enter"&&(s.preventDefault(),w())}}),e.jsxs("div",{className:"search-results",children:[k&&r.trim()&&e.jsxs("button",{type:"button",className:"search-ask-row",onClick:w,children:[e.jsx("span",{className:"search-ask-chip",children:"assistant"}),e.jsxs("span",{className:"search-ask-text",children:["Ask: “",r.trim(),"”"]}),e.jsx("kbd",{children:"↵"})]}),!n&&e.jsxs("div",{className:"search-empty",children:["Try “diffusion”, “object detection”, or an arXiv id.",k&&e.jsx("span",{className:"search-empty-sub",children:"Press Enter to ask the assistant"})]}),n&&!N&&e.jsxs("div",{className:"search-empty",children:["Keep typing: results appear from ",_," characters."]}),N&&!q&&!M&&e.jsxs("div",{className:"search-empty",children:['No matches for "',r,'"']}),o.length>0&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"search-section-label",children:["Tasks · ",o.length]}),o.map(s=>{const a=ss(es(s.slug||""));return e.jsxs(i,{className:"search-result-tag",to:`/tasks/${s.slug}`,onClick:t,children:[e.jsx("span",{className:"dot",style:{width:6,height:6,borderRadius:"50%",background:a.dot}}),e.jsx("span",{className:"name",children:as(s.name,s.slug)}),s.paper_count!=null&&e.jsxs("span",{className:"count",children:[s.paper_count," papers"]})]},s.id)})]}),d.length>0&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"search-section-label",children:["Methods · ",d.length]}),d.map(s=>e.jsxs(i,{className:"search-result-tag",to:`/methods/${s.slug||s.id}`,onClick:t,children:[e.jsx("span",{style:{fontFamily:"var(--mono)",fontWeight:600},children:s.name}),s.paper_count!=null&&e.jsxs("span",{className:"count",children:[s.paper_count," papers"]})]},s.id))]}),u.length>0&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"search-section-label",children:["Benchmarks · ",u.length]}),u.map(s=>e.jsxs(i,{className:"search-result-tag",to:`/benchmark/${s.slug||s.id}`,onClick:t,children:[e.jsx("span",{className:"name",children:s.name}),s.paper_count!=null&&s.paper_count>0&&e.jsxs("span",{className:"count",children:[s.paper_count," entries"]})]},s.id))]}),m.length>0&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"search-section-label",children:["Authors · ",m.length]}),m.map(s=>e.jsxs(i,{className:"search-result-tag",to:`/authors/${s.id}`,onClick:t,children:[e.jsx("span",{className:"name",children:s.full_name}),s.hf_username&&e.jsxs("span",{className:"handle",children:["@",s.hf_username]}),s.paper_count>0&&e.jsxs("span",{className:"count",children:[s.paper_count," papers"]})]},s.id))]}),p.length>0&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"search-section-label",children:["Organizations · ",p.length]}),p.map(s=>e.jsxs(i,{className:"search-result-tag",to:`/orgs/${s.slug}`,onClick:t,children:[s.logo_url&&e.jsx("img",{className:"logo",src:s.logo_url,alt:"",loading:"lazy"}),e.jsx("span",{className:"name",children:s.name}),s.paper_count!=null&&s.paper_count>0&&e.jsxs("span",{className:"count",children:[s.paper_count," papers"]})]},s.id))]}),g.length>0&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"search-section-label",children:["Papers · ",g.length]}),g.map(s=>{var a;return e.jsxs(i,{className:"search-result",to:`/paper/${s.arxiv_id||s.id}`,onClick:t,children:[e.jsx("div",{className:"search-result-title",children:e.jsx(W,{title:s.title})}),e.jsxs("div",{className:"search-result-meta",children:[e.jsx("span",{children:s.arxiv_id?`arXiv:${s.arxiv_id}`:"External resource"}),((a=s.authors)==null?void 0:a[0])&&e.jsxs(e.Fragment,{children:[e.jsx("span",{children:"·"}),e.jsxs("span",{children:[s.authors[0],s.authors.length>1?" et al.":""]})]}),s.citation_count!=null&&e.jsxs(e.Fragment,{children:[e.jsx("span",{children:"·"}),e.jsxs("span",{children:["↑ ",s.citation_count.toLocaleString()]})]})]})]},s.id)})]}),j.length>=_&&e.jsxs("button",{type:"button",className:"search-view-all-row",onClick:()=>A(`/papers?search=${encodeURIComponent(j)}`),children:["View all paper results for “",j,"”"]})]})]})})})})};export{os as default};
 
1
+ import{i as O,o as H,ad as U,z as B,b as l,O as $,x,j as e,aF as G,aG as K,aH as Y,aI as X,aL as Z,L as i,bt as V}from"./index-B0aq-iar.js";import{L as W}from"./LatexTitle-CXLW2LHS.js";import{u as J}from"./useDebounce-D5i4faqC.js";import{c as ss,h as es}from"./colors-BkWRhvFI.js";import{d as as}from"./transform-BII-_KDB.js";const ts=10,C=6,ns=350,_=3,os=({open:h,onClose:t})=>{var L,Q,T,z,P,R;const v=O.useRef(null),D=H(),[r,I]=U.useState(""),n=J(r,ns),j=r.trim(),N=n.trim().length>=_,k=B();O.useEffect(()=>{if(!h)return;const s=a=>{a.key==="Escape"&&(a.preventDefault(),a.stopPropagation(),t())};return window.addEventListener("keydown",s,!0),()=>window.removeEventListener("keydown",s,!0)},[h,t]);const c={enabled:h&&N,staleTime:V,retry:!1},f=l({...$.search(n,ts),...c}),y=l({...x.taskList({q:n,page_size:6}),...c}),b=l({...x.methodList({q:n,page_size:6}),...c}),E=l({...x.datasetList({q:n,page_size:6}),...c}),F=l({...$.authorSearch(n,C),...c}),S=l({...x.organizationSearch(n,C),...c});if(!h)return null;const o=((L=y.data)==null?void 0:L.results)||[],d=((Q=b.data)==null?void 0:Q.results)||[],u=((T=E.data)==null?void 0:T.results)||[],m=((z=F.data)==null?void 0:z.results)||[],p=((P=S.data)==null?void 0:P.results)||[],g=((R=f.data)==null?void 0:R.results)||[],q=f.isFetching||y.isFetching||b.isFetching||E.isFetching||F.isFetching||S.isFetching,M=o.length||g.length||d.length||u.length||m.length||p.length,A=s=>{t(),D(s)},w=()=>{const s=r.trim();s&&A(`/chat?q=${encodeURIComponent(s)}`)};return e.jsx(G,{open:!0,onOpenChange:s=>!s&&t(),children:e.jsx(K,{children:e.jsx(Y,{className:"search-overlay",children:e.jsxs(X,{className:"search-modal","aria-modal":"true","aria-describedby":void 0,onOpenAutoFocus:s=>{var a;s.preventDefault(),(a=v.current)==null||a.focus()},children:[e.jsx(Z,{className:"sr-only",children:"Search"}),e.jsx("input",{ref:v,"aria-label":"Search papers, tasks, methods, benchmarks, authors, or organizations",className:"search-modal-input",placeholder:"Search papers, tasks, methods, benchmarks, authors, or organizations…",value:r,onChange:s=>I(s.target.value),onKeyDown:s=>{k&&s.key==="Enter"&&(s.preventDefault(),w())}}),e.jsxs("div",{className:"search-results",children:[k&&r.trim()&&e.jsxs("button",{type:"button",className:"search-ask-row",onClick:w,children:[e.jsx("span",{className:"search-ask-chip",children:"assistant"}),e.jsxs("span",{className:"search-ask-text",children:["Ask: “",r.trim(),"”"]}),e.jsx("kbd",{children:"↵"})]}),!n&&e.jsxs("div",{className:"search-empty",children:["Try “diffusion”, “object detection”, or an arXiv id.",k&&e.jsx("span",{className:"search-empty-sub",children:"Press Enter to ask the assistant"})]}),n&&!N&&e.jsxs("div",{className:"search-empty",children:["Keep typing: results appear from ",_," characters."]}),N&&!q&&!M&&e.jsxs("div",{className:"search-empty",children:['No matches for "',r,'"']}),o.length>0&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"search-section-label",children:["Tasks · ",o.length]}),o.map(s=>{const a=ss(es(s.slug||""));return e.jsxs(i,{className:"search-result-tag",to:`/tasks/${s.slug}`,onClick:t,children:[e.jsx("span",{className:"dot",style:{width:6,height:6,borderRadius:"50%",background:a.dot}}),e.jsx("span",{className:"name",children:as(s.name,s.slug)}),s.paper_count!=null&&e.jsxs("span",{className:"count",children:[s.paper_count," papers"]})]},s.id)})]}),d.length>0&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"search-section-label",children:["Methods · ",d.length]}),d.map(s=>e.jsxs(i,{className:"search-result-tag",to:`/methods/${s.slug||s.id}`,onClick:t,children:[e.jsx("span",{style:{fontFamily:"var(--mono)",fontWeight:600},children:s.name}),s.paper_count!=null&&e.jsxs("span",{className:"count",children:[s.paper_count," papers"]})]},s.id))]}),u.length>0&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"search-section-label",children:["Benchmarks · ",u.length]}),u.map(s=>e.jsxs(i,{className:"search-result-tag",to:`/benchmark/${s.slug||s.id}`,onClick:t,children:[e.jsx("span",{className:"name",children:s.name}),s.paper_count!=null&&s.paper_count>0&&e.jsxs("span",{className:"count",children:[s.paper_count," entries"]})]},s.id))]}),m.length>0&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"search-section-label",children:["Authors · ",m.length]}),m.map(s=>e.jsxs(i,{className:"search-result-tag",to:`/authors/${s.id}`,onClick:t,children:[e.jsx("span",{className:"name",children:s.full_name}),s.hf_username&&e.jsxs("span",{className:"handle",children:["@",s.hf_username]}),s.paper_count>0&&e.jsxs("span",{className:"count",children:[s.paper_count," papers"]})]},s.id))]}),p.length>0&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"search-section-label",children:["Organizations · ",p.length]}),p.map(s=>e.jsxs(i,{className:"search-result-tag",to:`/orgs/${s.slug}`,onClick:t,children:[s.logo_url&&e.jsx("img",{className:"logo",src:s.logo_url,alt:"",loading:"lazy"}),e.jsx("span",{className:"name",children:s.name}),s.paper_count!=null&&s.paper_count>0&&e.jsxs("span",{className:"count",children:[s.paper_count," papers"]})]},s.id))]}),g.length>0&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"search-section-label",children:["Papers · ",g.length]}),g.map(s=>{var a;return e.jsxs(i,{className:"search-result",to:`/paper/${s.arxiv_id||s.id}`,onClick:t,children:[e.jsx("div",{className:"search-result-title",children:e.jsx(W,{title:s.title})}),e.jsxs("div",{className:"search-result-meta",children:[e.jsx("span",{children:s.arxiv_id?`arXiv:${s.arxiv_id}`:"External resource"}),((a=s.authors)==null?void 0:a[0])&&e.jsxs(e.Fragment,{children:[e.jsx("span",{children:"·"}),e.jsxs("span",{children:[s.authors[0],s.authors.length>1?" et al.":""]})]}),s.citation_count!=null&&e.jsxs(e.Fragment,{children:[e.jsx("span",{children:"·"}),e.jsxs("span",{children:["↑ ",s.citation_count.toLocaleString()]})]})]})]},s.id)})]}),j.length>=_&&e.jsxs("button",{type:"button",className:"search-view-all-row",onClick:()=>A(`/papers?search=${encodeURIComponent(j)}`),children:["View all paper results for “",j,"”"]})]})]})})})})};export{os as default};