@opencompass-fe/oc-webkit-eval 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/README.md +37 -0
  2. package/dist/assets/svg/arrow.svg.js +1 -0
  3. package/dist/assets/svg/blueNewLogo.svg.js +1 -0
  4. package/dist/assets/svg/blueNewLogoEn.svg.js +1 -0
  5. package/dist/assets/svg/evaluation/comprehensive.svg.js +1 -0
  6. package/dist/assets/svg/evaluation/customize.svg.js +1 -0
  7. package/dist/assets/svg/evaluation/done.svg.js +1 -0
  8. package/dist/assets/svg/evaluation/part.svg.js +1 -0
  9. package/dist/assets/svg/evaluation/quick.svg.js +1 -0
  10. package/dist/assets/svg/footer/github.svg.js +1 -0
  11. package/dist/assets/svg/footer/twitter.svg.js +1 -0
  12. package/dist/assets/svg/footer/wechat.svg.js +1 -0
  13. package/dist/assets/svg/footer/zhihu.svg.js +1 -0
  14. package/dist/assets/svg/left-wing.svg.js +1 -0
  15. package/dist/assets/svg/llm-evaluation.svg.js +1 -0
  16. package/dist/assets/svg/mm-evaluation.svg.js +1 -0
  17. package/dist/assets/svg/newLogo.svg.js +1 -0
  18. package/dist/assets/svg/newLogoEn.svg.js +1 -0
  19. package/dist/assets/svg/right-wing.svg.js +1 -0
  20. package/dist/assets/svg/top-nav/AI4S.svg.js +1 -0
  21. package/dist/assets/svg/top-nav/LLM.svg.js +1 -0
  22. package/dist/assets/svg/top-nav/agent.svg.js +1 -0
  23. package/dist/assets/svg/top-nav/arena-flag-mobile.svg.js +1 -0
  24. package/dist/assets/svg/top-nav/arena-flag.svg.js +1 -0
  25. package/dist/assets/svg/top-nav/arrow-right-up.svg.js +1 -0
  26. package/dist/assets/svg/top-nav/arrow-up.svg.js +1 -0
  27. package/dist/assets/svg/top-nav/finance.svg.js +1 -0
  28. package/dist/assets/svg/top-nav/group-bullet.svg.js +1 -0
  29. package/dist/assets/svg/top-nav/image-understanding.svg.js +1 -0
  30. package/dist/assets/svg/top-nav/logo-mark.svg.js +1 -0
  31. package/dist/assets/svg/top-nav/logo-word.svg.js +1 -0
  32. package/dist/assets/svg/top-nav/medical.svg.js +1 -0
  33. package/dist/assets/svg/top-nav/nav-down.svg.js +1 -0
  34. package/dist/assets/svg/top-nav/physical-intelligence.svg.js +1 -0
  35. package/dist/assets/svg/top-nav/video-understanding.svg.js +1 -0
  36. package/dist/components/dropdown/dropdown.js +1 -0
  37. package/dist/components/dropdown/dropdown.module.less.js +175 -0
  38. package/dist/components/dropdown/index.js +1 -0
  39. package/dist/components/footer/footer.js +1 -0
  40. package/dist/components/footer/footer.module.less.js +68 -0
  41. package/dist/components/footer/index.js +1 -0
  42. package/dist/components/footer-expansion/footer-expansion.js +1 -0
  43. package/dist/components/footer-expansion/footer-expansion.module.less.js +120 -0
  44. package/dist/components/footer-expansion/index.js +1 -0
  45. package/dist/components/header/components/create-online-evaluation/component/create-evaluation/create-evaluation.js +1 -0
  46. package/dist/components/header/components/create-online-evaluation/component/create-evaluation/create-evaluation.module.less.js +249 -0
  47. package/dist/components/header/components/create-online-evaluation/component/evaluation-button/evaluation-button.js +1 -0
  48. package/dist/components/header/components/create-online-evaluation/component/evaluation-button/evaluation-button.module.less.js +19 -0
  49. package/dist/components/header/components/create-online-evaluation/component/pre-create-evaluation/index.js +1 -0
  50. package/dist/components/header/components/create-online-evaluation/component/pre-create-evaluation/index.module.less.js +68 -0
  51. package/dist/components/header/components/create-online-evaluation/component/sidebar/sidebar.module.less.js +18 -0
  52. package/dist/components/header/firstHeader.module.less.js +305 -0
  53. package/dist/components/header/header.js +1 -0
  54. package/dist/components/header/header.module.less.js +434 -0
  55. package/dist/components/header/hooks/useUrl.js +1 -0
  56. package/dist/components/header/index.js +1 -0
  57. package/dist/components/header/secondHeader.js +1 -0
  58. package/dist/components/md-render/index.js +6 -0
  59. package/dist/components/md-render/index.module.less.js +369 -0
  60. package/dist/components/online-evaluation/index.js +1 -0
  61. package/dist/components/online-evaluation/online-evaluation.js +1 -0
  62. package/dist/components/side-nav/index.js +1 -0
  63. package/dist/components/side-nav/side-nav.js +1 -0
  64. package/dist/components/side-nav/side-nav.module.less.js +80 -0
  65. package/dist/components/top-nav/index.js +1 -0
  66. package/dist/components/top-nav/shared.js +1 -0
  67. package/dist/components/top-nav/top-nav.js +1 -0
  68. package/dist/components/top-nav/top-nav.module.less.js +526 -0
  69. package/dist/constants/enums.js +1 -0
  70. package/dist/extraComponents/button/button.js +1 -0
  71. package/dist/extraComponents/button/button.module.less.js +52 -0
  72. package/dist/extraComponents/icon-font/index.js +1 -0
  73. package/dist/google-log/home.js +1 -0
  74. package/dist/helper/index.js +1 -0
  75. package/dist/index.js +1 -0
  76. package/dist/locale/en.js +3 -0
  77. package/dist/locale/index.js +1 -0
  78. package/dist/locale/zh.js +3 -0
  79. package/dist/mobile/components/top-nav/top-nav.js +1 -0
  80. package/dist/mobile/components/top-nav/top-nav.module.less.js +343 -0
  81. package/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +1 -0
  82. package/dist/providers/OcConfigContext.js +1 -0
  83. package/dist/providers/OcContext.js +1 -0
  84. package/dist/types/components/dropdown/dropdown.d.ts +39 -0
  85. package/dist/types/components/dropdown/index.d.ts +2 -0
  86. package/dist/types/components/footer/index.d.ts +6 -0
  87. package/dist/types/components/footer-expansion/index.d.ts +6 -0
  88. package/dist/types/components/header/index.d.ts +6 -0
  89. package/dist/types/components/md-render/index.d.ts +9 -0
  90. package/dist/types/components/online-evaluation/index.d.ts +6 -0
  91. package/dist/types/components/side-nav/index.d.ts +6 -0
  92. package/dist/types/components/top-nav/index.d.ts +6 -0
  93. package/dist/types/constants/enums.d.ts +22 -0
  94. package/dist/types/google-log/home.d.ts +9 -0
  95. package/dist/types/helper/index.d.ts +13 -0
  96. package/dist/types/index.d.ts +164 -0
  97. package/dist/utils/utils.js +1 -0
  98. package/package.json +149 -0
@@ -0,0 +1,526 @@
1
+ import n from"../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js";var o=`.top-nav-module_topbar__M-9LM {
2
+ --oc-white: #ffffff;
3
+ --oc-text-primary: #121316;
4
+ --oc-text-secondary: rgba(18, 19, 22, 0.8);
5
+ --oc-text-tertiary: rgba(18, 19, 22, 0.5);
6
+ --oc-fill-bg: #f7f8fa;
7
+ --oc-fill-bg-hover: #f0f1f5;
8
+ --oc-fill-special: #9ca3af;
9
+ --oc-border-primary: #f0f1f5;
10
+ --oc-divider-primary: #e2e3e4;
11
+ --oc-divider-secondary: #ecedee;
12
+ --oc-primary: #1b3882;
13
+ --oc-primary-hover: #36569b;
14
+ --oc-radius-sm: 4px;
15
+ --oc-radius-md: 8px;
16
+ --oc-radius-xl: 16px;
17
+ --oc-nav-motion: cubic-bezier(0.22, 1, 0.36, 1);
18
+ position: sticky;
19
+ top: 0;
20
+ z-index: 20;
21
+ display: grid;
22
+ grid-template-columns: 218px minmax(430px, 1fr) 218px;
23
+ align-items: center;
24
+ width: 100%;
25
+ height: 64px;
26
+ margin: 0;
27
+ padding: 8px 24px;
28
+ background: var(--oc-white);
29
+ border-bottom: 1px solid var(--oc-divider-primary);
30
+ color: var(--oc-text-primary);
31
+ font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
32
+ letter-spacing: 0;
33
+ box-sizing: border-box;
34
+ transition: background-color 320ms var(--oc-nav-motion), border-color 320ms var(--oc-nav-motion), box-shadow 320ms var(--oc-nav-motion);
35
+ }
36
+ .top-nav-module_topbar__M-9LM *,
37
+ .top-nav-module_topbar__M-9LM *::before,
38
+ .top-nav-module_topbar__M-9LM *::after {
39
+ box-sizing: border-box;
40
+ }
41
+ .top-nav-module_topbar__M-9LM a {
42
+ color: inherit;
43
+ text-decoration: none;
44
+ }
45
+ .top-nav-module_topbar__M-9LM :where(button) {
46
+ display: inline-flex;
47
+ align-items: center;
48
+ justify-content: center;
49
+ padding: 0;
50
+ font: inherit;
51
+ color: inherit;
52
+ cursor: pointer;
53
+ background: transparent;
54
+ border: 0;
55
+ }
56
+ .top-nav-module_topbar__M-9LM.top-nav-module_scrolled__0c7O- {
57
+ background: rgba(255, 255, 255, 0);
58
+ border-bottom-color: rgba(226, 227, 228, 0);
59
+ box-shadow: none;
60
+ }
61
+ .top-nav-module_topbar__M-9LM.top-nav-module_scrolled__0c7O- .top-nav-module_brand__kzZ04 {
62
+ pointer-events: none;
63
+ opacity: 0;
64
+ transform: translateY(-8px) scale(0.96);
65
+ }
66
+ .top-nav-module_topbar__M-9LM.top-nav-module_scrolled__0c7O- .top-nav-module_nav__CNENL.top-nav-module_navScrolled__0VNTc {
67
+ --oc-nav-width: 448px;
68
+ --oc-nav-height: 52px;
69
+ --oc-nav-padding: 8px;
70
+ --oc-nav-background: var(--oc-white);
71
+ --oc-nav-border-color: #e2e3e4;
72
+ --oc-nav-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
73
+ --oc-nav-transform: translateX(-50%) translateY(6px);
74
+ border-radius: 1000px;
75
+ }
76
+ .top-nav-module_topbar__M-9LM .top-nav-module_brand__kzZ04 {
77
+ position: relative;
78
+ display: block;
79
+ width: 100px;
80
+ height: 48px;
81
+ transition: opacity 260ms ease, transform 360ms var(--oc-nav-motion);
82
+ }
83
+ .top-nav-module_topbar__M-9LM .top-nav-module_brand__kzZ04 .top-nav-module_brandMark__YXJNT {
84
+ position: absolute;
85
+ top: 8px;
86
+ left: 7.2px;
87
+ width: 32px;
88
+ height: 32px;
89
+ }
90
+ .top-nav-module_topbar__M-9LM .top-nav-module_brand__kzZ04 .top-nav-module_brandWord__9jsOL {
91
+ position: absolute;
92
+ top: 13.27px;
93
+ left: 46.96px;
94
+ width: 45.06px;
95
+ height: 21.68px;
96
+ }
97
+ .top-nav-module_topbar__M-9LM .top-nav-module_nav__CNENL {
98
+ position: fixed;
99
+ top: 14px;
100
+ left: 50vw;
101
+ z-index: 21;
102
+ display: flex;
103
+ gap: 8px;
104
+ align-items: center;
105
+ justify-self: center;
106
+ justify-content: center;
107
+ width: var(--oc-nav-width, 430px);
108
+ height: var(--oc-nav-height, 36px);
109
+ padding: var(--oc-nav-padding, 0);
110
+ background-color: var(--oc-nav-background, rgba(255, 255, 255, 0));
111
+ border: 1px solid var(--oc-nav-border-color, rgba(226, 227, 228, 0));
112
+ border-radius: 1000px;
113
+ box-shadow: var(--oc-nav-shadow, 0 4px 10px rgba(0, 0, 0, 0));
114
+ transform: var(--oc-nav-transform, translateX(-50%));
115
+ transform-origin: center top;
116
+ transition: width 360ms var(--oc-nav-motion), height 360ms var(--oc-nav-motion), padding 360ms var(--oc-nav-motion), background-color 320ms ease, border-color 320ms ease, box-shadow 360ms var(--oc-nav-motion), transform 360ms var(--oc-nav-motion);
117
+ will-change: width, height, padding, transform, border-color, box-shadow;
118
+ }
119
+ .top-nav-module_topbar__M-9LM .top-nav-module_nav__CNENL .top-nav-module_navLink__7uaQg {
120
+ display: inline-flex;
121
+ align-items: center;
122
+ justify-content: center;
123
+ height: 36px;
124
+ padding: 6px 16px;
125
+ font-size: 14px;
126
+ font-weight: 400;
127
+ line-height: 20px;
128
+ white-space: nowrap;
129
+ cursor: pointer;
130
+ border-radius: 1000px;
131
+ transition: background-color 220ms ease, color 220ms ease, transform 220ms ease;
132
+ }
133
+ .top-nav-module_topbar__M-9LM .top-nav-module_nav__CNENL .top-nav-module_navLink__7uaQg:hover {
134
+ background: var(--oc-fill-bg-hover);
135
+ }
136
+ .top-nav-module_topbar__M-9LM .top-nav-module_nav__CNENL .top-nav-module_navLink__7uaQg.top-nav-module_navLinkActive__6zx3T {
137
+ font-weight: 600;
138
+ background: var(--oc-fill-bg-hover);
139
+ }
140
+ .top-nav-module_topbar__M-9LM .top-nav-module_nav__CNENL .top-nav-module_navLink__7uaQg.top-nav-module_withDown__KAkUA {
141
+ gap: 2px;
142
+ padding-right: 12px;
143
+ }
144
+ .top-nav-module_topbar__M-9LM .top-nav-module_nav__CNENL .top-nav-module_navLink__7uaQg.top-nav-module_withDown__KAkUA img {
145
+ width: 16px;
146
+ height: 16px;
147
+ }
148
+ .top-nav-module_topbar__M-9LM .top-nav-module_actions__NeiZP {
149
+ position: fixed;
150
+ top: 12px;
151
+ right: 24px;
152
+ left: auto;
153
+ z-index: 22;
154
+ display: flex;
155
+ gap: 8px;
156
+ align-items: center;
157
+ justify-self: end;
158
+ width: 218px;
159
+ height: 40px;
160
+ padding: 0;
161
+ background-color: rgba(255, 255, 255, 0);
162
+ border: 1px solid rgba(226, 227, 228, 0);
163
+ border-radius: 1000px;
164
+ box-shadow: 0 4px 10px rgba(0, 0, 0, 0);
165
+ transform: translateY(0) scale(1);
166
+ transition: opacity 260ms ease, transform 360ms var(--oc-nav-motion);
167
+ }
168
+ .top-nav-module_topbar__M-9LM .top-nav-module_actions__NeiZP .top-nav-module_arenaButton__uYjCi {
169
+ display: inline-flex;
170
+ gap: 2px;
171
+ align-items: center;
172
+ justify-content: center;
173
+ height: 36px;
174
+ padding: 8px 16px;
175
+ color: var(--oc-text-primary);
176
+ cursor: pointer;
177
+ border: 1px solid var(--oc-border-primary);
178
+ border-radius: 1000px;
179
+ transition: gap 220ms ease, padding 260ms ease, border-color 220ms ease, background-color 220ms ease;
180
+ }
181
+ .top-nav-module_topbar__M-9LM .top-nav-module_actions__NeiZP .top-nav-module_arenaButton__uYjCi .top-nav-module_arenaIconHover__5Npwf {
182
+ display: none;
183
+ }
184
+ .top-nav-module_topbar__M-9LM .top-nav-module_actions__NeiZP .top-nav-module_arenaButton__uYjCi:hover {
185
+ background-color: var(--oc-fill-bg-hover);
186
+ border-color: transparent;
187
+ }
188
+ .top-nav-module_topbar__M-9LM .top-nav-module_actions__NeiZP .top-nav-module_arenaButton__uYjCi:hover .top-nav-module_arenaIconDefault__CeDXO {
189
+ display: none;
190
+ }
191
+ .top-nav-module_topbar__M-9LM .top-nav-module_actions__NeiZP .top-nav-module_arenaButton__uYjCi:hover .top-nav-module_arenaIconHover__5Npwf {
192
+ display: inline-flex;
193
+ }
194
+ .top-nav-module_topbar__M-9LM .top-nav-module_actions__NeiZP .top-nav-module_arenaButton__uYjCi img {
195
+ width: 18px;
196
+ height: 18px;
197
+ }
198
+ .top-nav-module_topbar__M-9LM .top-nav-module_actions__NeiZP .top-nav-module_arenaButton__uYjCi span {
199
+ font-size: 14px;
200
+ font-weight: 400;
201
+ line-height: 20px;
202
+ white-space: nowrap;
203
+ }
204
+ .top-nav-module_topbar__M-9LM .top-nav-module_actions__NeiZP .top-nav-module_langButton__6jlyg {
205
+ width: 40px;
206
+ height: 40px;
207
+ color: var(--oc-text-secondary);
208
+ border-radius: var(--oc-radius-md);
209
+ font-size: 14px;
210
+ font-weight: 400;
211
+ line-height: 20px;
212
+ white-space: nowrap;
213
+ transition: width 240ms ease, padding 240ms ease, opacity 180ms ease, background-color 220ms ease, transform 220ms ease;
214
+ }
215
+ .top-nav-module_topbar__M-9LM .top-nav-module_actions__NeiZP .top-nav-module_langButton__6jlyg:hover {
216
+ background-color: var(--oc-fill-bg-hover);
217
+ }
218
+ .top-nav-module_topbar__M-9LM .top-nav-module_actions__NeiZP .top-nav-module_loginButton__rTUW2 {
219
+ height: 36px;
220
+ padding: 8px 20px;
221
+ color: var(--oc-white);
222
+ background: var(--oc-primary);
223
+ border: 1px solid var(--oc-primary);
224
+ border-radius: var(--oc-radius-md);
225
+ font-size: 14px;
226
+ font-weight: 400;
227
+ line-height: 20px;
228
+ white-space: nowrap;
229
+ transition: width 240ms ease, padding 240ms ease, opacity 180ms ease, background-color 220ms ease, border-color 220ms ease, transform 220ms ease;
230
+ }
231
+ .top-nav-module_topbar__M-9LM .top-nav-module_actions__NeiZP .top-nav-module_loginButton__rTUW2:hover {
232
+ background: var(--oc-primary-hover);
233
+ border-color: var(--oc-primary-hover);
234
+ }
235
+ .top-nav-module_topbar__M-9LM .top-nav-module_userAvatar__ZP5Xt {
236
+ flex: none;
237
+ width: var(--avatar-size, 36px);
238
+ height: var(--avatar-size, 36px);
239
+ padding: 0;
240
+ color: var(--oc-white);
241
+ background: var(--oc-primary);
242
+ border: 1px solid var(--oc-primary);
243
+ border-radius: 50%;
244
+ overflow: hidden;
245
+ cursor: pointer;
246
+ transition: transform 220ms ease, box-shadow 220ms ease, opacity 180ms ease;
247
+ }
248
+ .top-nav-module_topbar__M-9LM .top-nav-module_userAvatar__ZP5Xt:hover,
249
+ .top-nav-module_topbar__M-9LM .top-nav-module_userAvatar__ZP5Xt:focus-visible {
250
+ box-shadow: 0 2px 8px rgba(27, 56, 130, 0.25);
251
+ transform: translateY(-1px);
252
+ }
253
+ .top-nav-module_topbar__M-9LM .top-nav-module_userAvatar__ZP5Xt img {
254
+ display: block;
255
+ width: 100%;
256
+ height: 100%;
257
+ object-fit: cover;
258
+ }
259
+ .top-nav-module_topbar__M-9LM .top-nav-module_userAvatar__ZP5Xt .top-nav-module_userAvatarInitials__ylcWf {
260
+ display: inline-block;
261
+ font-size: 13px;
262
+ font-weight: 600;
263
+ line-height: 1;
264
+ letter-spacing: 0;
265
+ user-select: none;
266
+ }
267
+ .top-nav-module_topbar__M-9LM .top-nav-module_floatingArena__SzJGl {
268
+ position: fixed;
269
+ top: 20px;
270
+ left: calc(50vw + 231px);
271
+ z-index: 22;
272
+ display: flex;
273
+ gap: 8px;
274
+ align-items: center;
275
+ width: fit-content;
276
+ height: 52px;
277
+ padding: 8px;
278
+ pointer-events: none;
279
+ background-color: var(--oc-white);
280
+ border: 1px solid var(--oc-divider-primary);
281
+ border-radius: 1000px;
282
+ opacity: 0;
283
+ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
284
+ transition: opacity 260ms ease;
285
+ }
286
+ .top-nav-module_topbar__M-9LM .top-nav-module_floatingArena__SzJGl.top-nav-module_visible__OmbPC {
287
+ pointer-events: auto;
288
+ opacity: 1;
289
+ }
290
+ .top-nav-module_topbar__M-9LM .top-nav-module_floatingArena__SzJGl .top-nav-module_floatingArenaButton__KQlN7 {
291
+ display: inline-flex;
292
+ gap: 4px;
293
+ align-items: center;
294
+ justify-content: center;
295
+ height: 36px;
296
+ padding: 6px 16px;
297
+ color: var(--oc-text-primary);
298
+ cursor: pointer;
299
+ border: 1px solid transparent;
300
+ border-radius: 1000px;
301
+ transition: background-color 220ms ease;
302
+ }
303
+ .top-nav-module_topbar__M-9LM .top-nav-module_floatingArena__SzJGl .top-nav-module_floatingArenaButton__KQlN7 .top-nav-module_arenaIconHover__5Npwf {
304
+ display: none;
305
+ }
306
+ .top-nav-module_topbar__M-9LM .top-nav-module_floatingArena__SzJGl .top-nav-module_floatingArenaButton__KQlN7:hover {
307
+ background-color: var(--oc-fill-bg-hover);
308
+ }
309
+ .top-nav-module_topbar__M-9LM .top-nav-module_floatingArena__SzJGl .top-nav-module_floatingArenaButton__KQlN7:hover .top-nav-module_arenaIconDefault__CeDXO {
310
+ display: none;
311
+ }
312
+ .top-nav-module_topbar__M-9LM .top-nav-module_floatingArena__SzJGl .top-nav-module_floatingArenaButton__KQlN7:hover .top-nav-module_arenaIconHover__5Npwf {
313
+ display: inline-flex;
314
+ }
315
+ .top-nav-module_topbar__M-9LM .top-nav-module_floatingArena__SzJGl .top-nav-module_floatingArenaButton__KQlN7 span {
316
+ font-size: 14px;
317
+ font-weight: 400;
318
+ line-height: 20px;
319
+ white-space: nowrap;
320
+ }
321
+ .top-nav-module_topbar__M-9LM .top-nav-module_floatingArena__SzJGl .top-nav-module_floatingAvatar__7RdpU {
322
+ width: 36px;
323
+ height: 36px;
324
+ }
325
+ .top-nav-module_topbar__M-9LM .top-nav-module_iconBox__B9xJD {
326
+ display: inline-flex;
327
+ flex: 0 0 var(--icon-size);
328
+ align-items: center;
329
+ justify-content: center;
330
+ width: var(--icon-size);
331
+ height: var(--icon-size);
332
+ min-width: var(--icon-size);
333
+ min-height: var(--icon-size);
334
+ overflow: hidden;
335
+ line-height: 0;
336
+ }
337
+ .top-nav-module_topbar__M-9LM .top-nav-module_iconBox__B9xJD img {
338
+ display: block;
339
+ flex: none;
340
+ width: var(--icon-size) !important;
341
+ height: var(--icon-size) !important;
342
+ max-width: none;
343
+ max-height: none;
344
+ object-fit: contain;
345
+ }
346
+ @media (max-width: 1180px) {
347
+ .top-nav-module_topbar__M-9LM {
348
+ grid-template-columns: 160px minmax(360px, 1fr) 218px;
349
+ }
350
+ }
351
+ @media (max-width: 860px) {
352
+ .top-nav-module_topbar__M-9LM {
353
+ display: flex;
354
+ flex-wrap: wrap;
355
+ gap: 8px 16px;
356
+ height: auto;
357
+ min-height: 64px;
358
+ }
359
+ .top-nav-module_topbar__M-9LM.top-nav-module_scrolled__0c7O- {
360
+ background: rgba(255, 255, 255, 0.96);
361
+ border-bottom-color: var(--oc-divider-primary);
362
+ box-shadow: 0 2px 10px rgba(18, 19, 22, 0.06);
363
+ }
364
+ .top-nav-module_topbar__M-9LM.top-nav-module_scrolled__0c7O- .top-nav-module_brand__kzZ04 {
365
+ pointer-events: auto;
366
+ opacity: 1;
367
+ transform: none;
368
+ }
369
+ .top-nav-module_topbar__M-9LM.top-nav-module_scrolled__0c7O- .top-nav-module_nav__CNENL.top-nav-module_navScrolled__0VNTc {
370
+ width: 100%;
371
+ height: 44px;
372
+ padding: 4px;
373
+ overflow-x: auto;
374
+ border-color: var(--oc-divider-primary);
375
+ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
376
+ transform: none;
377
+ }
378
+ .top-nav-module_topbar__M-9LM .top-nav-module_nav__CNENL {
379
+ position: static;
380
+ top: auto;
381
+ left: auto;
382
+ z-index: auto;
383
+ order: 3;
384
+ justify-content: flex-start;
385
+ width: 100%;
386
+ overflow-x: auto;
387
+ background-color: transparent;
388
+ border-color: rgba(226, 227, 228, 0);
389
+ box-shadow: none;
390
+ transform: none;
391
+ }
392
+ .top-nav-module_topbar__M-9LM .top-nav-module_actions__NeiZP {
393
+ position: static;
394
+ top: auto;
395
+ left: auto;
396
+ right: auto;
397
+ z-index: auto;
398
+ width: auto;
399
+ height: auto;
400
+ padding: 0;
401
+ background-color: transparent;
402
+ border: 0;
403
+ box-shadow: none;
404
+ margin-left: auto;
405
+ }
406
+ .top-nav-module_topbar__M-9LM .top-nav-module_floatingArena__SzJGl {
407
+ display: none;
408
+ }
409
+ }
410
+ @media (prefers-reduced-motion: reduce) {
411
+ .top-nav-module_topbar__M-9LM,
412
+ .top-nav-module_topbar__M-9LM .top-nav-module_brand__kzZ04,
413
+ .top-nav-module_topbar__M-9LM .top-nav-module_nav__CNENL,
414
+ .top-nav-module_topbar__M-9LM .top-nav-module_navLink__7uaQg,
415
+ .top-nav-module_topbar__M-9LM .top-nav-module_actions__NeiZP,
416
+ .top-nav-module_topbar__M-9LM .top-nav-module_arenaButton__uYjCi,
417
+ .top-nav-module_topbar__M-9LM .top-nav-module_floatingArena__SzJGl,
418
+ .top-nav-module_topbar__M-9LM .top-nav-module_floatingArenaButton__KQlN7,
419
+ .top-nav-module_topbar__M-9LM .top-nav-module_langButton__6jlyg,
420
+ .top-nav-module_topbar__M-9LM .top-nav-module_loginButton__rTUW2 {
421
+ transition-duration: 1ms;
422
+ transition-delay: 0ms;
423
+ animation-duration: 1ms;
424
+ }
425
+ }
426
+ @media (max-width: 620px) {
427
+ .top-nav-module_topbar__M-9LM {
428
+ padding: 8px 16px;
429
+ }
430
+ .top-nav-module_topbar__M-9LM .top-nav-module_actions__NeiZP .top-nav-module_arenaButton__uYjCi {
431
+ width: 40px;
432
+ padding: 0;
433
+ }
434
+ .top-nav-module_topbar__M-9LM .top-nav-module_actions__NeiZP .top-nav-module_arenaButton__uYjCi span {
435
+ position: absolute;
436
+ width: 1px;
437
+ height: 1px;
438
+ overflow: hidden;
439
+ clip: rect(0 0 0 0);
440
+ }
441
+ .top-nav-module_topbar__M-9LM .top-nav-module_actions__NeiZP .top-nav-module_loginButton__rTUW2 {
442
+ padding: 8px 16px;
443
+ }
444
+ }
445
+ .top-nav-module_customDropdown__NSITf {
446
+ background-color: var(--oc-white, #ffffff);
447
+ border: 1px solid var(--oc-border-primary, #f0f1f5);
448
+ box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
449
+ border-radius: 16px;
450
+ padding: 12px;
451
+ display: flex;
452
+ flex-direction: column;
453
+ gap: 8px;
454
+ min-width: 154px;
455
+ box-sizing: border-box;
456
+ }
457
+ .top-nav-module_customDropdown__NSITf .top-nav-module_dropdownGroup__EbZKl {
458
+ display: flex;
459
+ flex-direction: column;
460
+ gap: 8px;
461
+ width: 100%;
462
+ }
463
+ .top-nav-module_customDropdown__NSITf .top-nav-module_dropdownGroup__EbZKl .top-nav-module_dropdownGroupHeader__hZis- {
464
+ display: flex;
465
+ align-items: center;
466
+ gap: 8px;
467
+ min-height: 36px;
468
+ padding: 6px 14px 6px 8px;
469
+ }
470
+ .top-nav-module_customDropdown__NSITf .top-nav-module_dropdownGroup__EbZKl .top-nav-module_dropdownGroupTitle__aLgXj {
471
+ font-family: 'PingFang SC', sans-serif;
472
+ font-size: 12px;
473
+ font-weight: 400;
474
+ line-height: 18px;
475
+ color: rgba(18, 19, 22, 0.5);
476
+ margin: 0;
477
+ padding: 0;
478
+ }
479
+ .top-nav-module_customDropdown__NSITf .top-nav-module_dropdownItem__can1p {
480
+ display: flex;
481
+ align-items: center;
482
+ gap: 8px;
483
+ min-height: 36px;
484
+ padding: 6px 14px 6px 8px;
485
+ border-radius: 8px;
486
+ background-color: transparent;
487
+ cursor: pointer;
488
+ transition: background-color 220ms ease;
489
+ text-decoration: none;
490
+ color: rgba(18, 19, 22, 0.8);
491
+ box-sizing: border-box;
492
+ width: 100%;
493
+ }
494
+ .top-nav-module_customDropdown__NSITf .top-nav-module_dropdownItem__can1p:hover {
495
+ background-color: var(--oc-fill-bg-hover, #f0f1f5);
496
+ }
497
+ .top-nav-module_customDropdown__NSITf .top-nav-module_dropdownItem__can1p .top-nav-module_dropdownItemIcon__SwM01 {
498
+ display: flex;
499
+ align-items: center;
500
+ justify-content: center;
501
+ width: 14px;
502
+ height: 14px;
503
+ flex-shrink: 0;
504
+ }
505
+ .top-nav-module_customDropdown__NSITf .top-nav-module_dropdownItem__can1p .top-nav-module_dropdownItemIcon__SwM01 img {
506
+ display: block;
507
+ width: 14px;
508
+ height: 14px;
509
+ object-fit: contain;
510
+ }
511
+ .top-nav-module_customDropdown__NSITf .top-nav-module_dropdownItem__can1p .top-nav-module_dropdownItemLabel__4at-M {
512
+ font-family: 'PingFang SC', sans-serif;
513
+ font-size: 14px;
514
+ font-weight: 400;
515
+ line-height: 20px;
516
+ word-break: break-word;
517
+ }
518
+ .top-nav-module_customDropdown__NSITf .top-nav-module_dropdownDivider__uFRaR {
519
+ height: 1px;
520
+ background-color: var(--oc-border-primary, #f0f1f5);
521
+ margin: 0;
522
+ width: calc(100% + 24px);
523
+ /* Negate padding */
524
+ margin-left: -12px;
525
+ }
526
+ `,a={topbar:"top-nav-module_topbar__M-9LM",scrolled:"top-nav-module_scrolled__0c7O-",brand:"top-nav-module_brand__kzZ04",nav:"top-nav-module_nav__CNENL",navScrolled:"top-nav-module_navScrolled__0VNTc",brandMark:"top-nav-module_brandMark__YXJNT",brandWord:"top-nav-module_brandWord__9jsOL",navLink:"top-nav-module_navLink__7uaQg",navLinkActive:"top-nav-module_navLinkActive__6zx3T",withDown:"top-nav-module_withDown__KAkUA",actions:"top-nav-module_actions__NeiZP",arenaButton:"top-nav-module_arenaButton__uYjCi",arenaIconHover:"top-nav-module_arenaIconHover__5Npwf",arenaIconDefault:"top-nav-module_arenaIconDefault__CeDXO",langButton:"top-nav-module_langButton__6jlyg",loginButton:"top-nav-module_loginButton__rTUW2",userAvatar:"top-nav-module_userAvatar__ZP5Xt",userAvatarInitials:"top-nav-module_userAvatarInitials__ylcWf",floatingArena:"top-nav-module_floatingArena__SzJGl",visible:"top-nav-module_visible__OmbPC",floatingArenaButton:"top-nav-module_floatingArenaButton__KQlN7",floatingAvatar:"top-nav-module_floatingAvatar__7RdpU",iconBox:"top-nav-module_iconBox__B9xJD",customDropdown:"top-nav-module_customDropdown__NSITf",dropdownGroup:"top-nav-module_dropdownGroup__EbZKl",dropdownGroupHeader:"top-nav-module_dropdownGroupHeader__hZis-",dropdownGroupTitle:"top-nav-module_dropdownGroupTitle__aLgXj",dropdownItem:"top-nav-module_dropdownItem__can1p",dropdownItemIcon:"top-nav-module_dropdownItemIcon__SwM01",dropdownItemLabel:"top-nav-module_dropdownItemLabel__4at-M",dropdownDivider:"top-nav-module_dropdownDivider__uFRaR"};n(o);export{a as default};
@@ -0,0 +1 @@
1
+ var n;(function(i){i.en="en-US",i.zh="zh-CN"})(n||(n={}));var t;(function(i){i.development="development",i.staging="staging",i.production="production"})(t||(t={}));var e;(function(i){i.lightWeb="lightWeb",i.blueWeb="blueWeb",i.miniWeb="miniWeb",i.lightMiniWeb="lightMiniWeb",i.transparentWeb="transparentWeb"})(e||(e={}));var l;(function(i){i.llm="llm",i.mm="mm"})(l||(l={}));export{t as envTypeEnum,l as evaluationTypeEnum,n as langTypeEnum,e as webTypeEnum};
@@ -0,0 +1 @@
1
+ import _ from"react";import v from"classnames";import n from"./button.module.less.js";var y=Object.defineProperty,l=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,f=(r,t,e)=>t in r?y(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e,u=(r,t)=>{for(var e in t||(t={}))o.call(t,e)&&f(r,e,t[e]);if(l)for(var e of l(t))s.call(t,e)&&f(r,e,t[e]);return r},O=(r,t)=>{var e={};for(var a in r)o.call(r,a)&&t.indexOf(a)<0&&(e[a]=r[a]);if(r!=null&&l)for(var a of l(r))t.indexOf(a)<0&&s.call(r,a)&&(e[a]=r[a]);return e};const d=r=>{const t=r,{type:e,className:a,style:i,children:m,onClick:c}=t,p=O(t,["type","className","style","children","onClick"]);return _.createElement("button",u({onClick:c,className:v(n.button,a,n[e]),style:i},p),m)};export{d as default};
@@ -0,0 +1,52 @@
1
+ import n from"../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js";var o=`.button-module_button__UG4fq {
2
+ font-size: 14px;
3
+ font-weight: 400;
4
+ line-height: 24px;
5
+ color: #fff;
6
+ background: #1B3882;
7
+ border-radius: 2px;
8
+ text-align: center;
9
+ border: none;
10
+ padding: 6px 24px;
11
+ transition: all 0.2s;
12
+ cursor: pointer;
13
+ display: flex;
14
+ align-items: center;
15
+ justify-content: center;
16
+ gap: 8px;
17
+ }
18
+ .button-module_button__UG4fq:hover {
19
+ cursor: pointer;
20
+ background: #36569B;
21
+ }
22
+ .button-module_button__UG4fq[disabled] {
23
+ cursor: wait;
24
+ opacity: 0.5;
25
+ background-color: #B1C7E6;
26
+ }
27
+ .button-module_secondary__FBeX6 {
28
+ background: var(--fill-2, #F4F5F9);
29
+ color: rgba(18, 19, 22, 0.8);
30
+ }
31
+ .button-module_secondary__FBeX6:hover {
32
+ background: #EBECF0;
33
+ }
34
+ .button-module_link__2-n31 {
35
+ background: transparent;
36
+ color: #1B3882;
37
+ }
38
+ .button-module_link__2-n31:hover {
39
+ background: #F4F5F9;
40
+ }
41
+ .button-module_light__TwgvN {
42
+ border-radius: 2px;
43
+ color: #1B3882;
44
+ border: 1px solid var(--Brand1-6, #1B3882);
45
+ background: var(--fill-2, #F4F5F9);
46
+ /* \u6295\u5F71/\u8F7B\u6295\u5F71 */
47
+ box-shadow: 0px 4px 12px 2px rgba(18, 19, 22, 0.12);
48
+ }
49
+ .button-module_light__TwgvN:hover {
50
+ background: var(--fill-3, #EBECF0);
51
+ }
52
+ `,t={button:"button-module_button__UG4fq",secondary:"button-module_secondary__FBeX6",link:"button-module_link__2-n31",light:"button-module_light__TwgvN"};n(o);export{t as default};
@@ -0,0 +1 @@
1
+ import{createFromIconfontCN as o}from"@ant-design/icons";const t=o({scriptUrl:`//at.alicdn.com/t/c/font_3858115_77rquwxju1u.js?id=${Date.now()}`});export{t as default};
@@ -0,0 +1 @@
1
+ const t=(o,n,e)=>{window.gtag("event","go_OC",{event_source:n}),window.location.href=`${e}?lang=${o}`},a=(o,n,e)=>{window.gtag("go_rank",{event_source:n}),window.location.href=`${e}?lang=${o}`},g=(o,n,e)=>{window.gtag("go_hub",{event_source:n}),window.location.href=`${e}?lang=${o}`},i=(o,n,e)=>{window.gtag("go_hub",{event_source:n}),window.location.href=`${e}?lang=${o}`},c=(o,n,e)=>{window.gtag("go_kit",{event_source:n}),window.open(`${e}?lang=${o}`)},w=(o,n)=>{window.gtag("contribute_benchmarks",{event_source:"header"}),window.location.href=`${n}/dataset-submit?lang=${o}`},r=(o,n,e)=>{window.gtag("go_rules",{event_source:n}),window.location.href=`${e}rule?lang=${o}`},l=(o,n,e)=>{window.gtag("click_arena",{event_source:"rank-header"}),n==="mm"?window.location.href=`${e}arena/multimodal?lang=${o}`:window.location.href=`${e}arena?lang=${o}`},s=(o,n,e)=>{window.gtag("go_collaboration",{event_source:"collaboration"}),window.location.href=`${e}?lang=${o}`},d=(o,n,e)=>{window.gtag("go_collaboration",{event_source:n}),window.location.href=`${e}?lang=${o}`},$=(o,n,e)=>{window.gtag("goInternDiscoveryEvalKit",{event_source:n}),window.open(`${e}?lang=${o}`)};export{l as clickArena,w as clickContributeBenchmarks,i as goAnnualBenchmark,d as goCommon,s as goData,g as goHub,$ as goInternDiscoveryEvalKit,c as goKit,t as goOCHome,a as goRank,r as goRules};
@@ -0,0 +1 @@
1
+ var a;(function(r){r[r.LLM=0]="LLM",r[r.MM=1]="MM"})(a||(a={}));const g={["zh-CN"]:{year:"\u5E74",month:"\u6708",leaderboard:"\u699C",currRanking:"\u672C\u6708\u5B9E\u65F6\u699C"},["en-US"]:{year:"year",month:"month",leaderboard:"",currRanking:"Real-time"}},C=(r,h,R)=>{var v,c,s,y,m,$,f,M,_,b,k,E;const e=g[h],d=[],o=[],l=r==null?void 0:r.filter(n=>R===0?n.month==="REALTIME"||n.month>"24-01":n.month);for(let n=0;n<(l==null?void 0:l.length);n++)if(((v=l==null?void 0:l[n])==null?void 0:v.month)==="REALTIME"){const u=new Date().getFullYear();d.indexOf(`${u}`)<0?(d.push(`${u}`),o.push({label:`${u} ${e.year}`,key:`${u}`,children:[{label:e==null?void 0:e.currRanking,key:"REALTIME"}]})):(y=(s=(c=o==null?void 0:o.filter(t=>t.label===`${u}`))==null?void 0:c[0])==null?void 0:s.children)==null||y.push({label:e==null?void 0:e.currRanking,key:"REALTIME"})}else{const[u,t]=(($=(m=l==null?void 0:l[n])==null?void 0:m.month)==null?void 0:$.split("-"))||[],i=`20${u}`,L=h==="zh-CN"?`${u} ${e.year} ${t} ${e.month}${e.leaderboard}`:((f=l==null?void 0:l[n])==null?void 0:f.month)||"";d.indexOf(i)<0?(d.push(i),o==null||o.push({label:`${i} ${e.year}`,key:i,children:[{label:L,key:((M=l==null?void 0:l[n])==null?void 0:M.month)||""}]})):(E=(b=(_=o==null?void 0:o.filter(p=>p.key===i))==null?void 0:_[0])==null?void 0:b.children)==null||E.push({label:L,key:((k=l==null?void 0:l[n])==null?void 0:k.month)||""})}return o||[]};export{a as RankingType,C as getMenuData};
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ export{default as OcHeader}from"./components/header/index.js";export{default as TopNav}from"./components/top-nav/index.js";export{default as OcOnlineEvaluation}from"./components/online-evaluation/index.js";export{default as OcSideNav}from"./components/side-nav/index.js";export{default as OcFooter}from"./components/footer/index.js";export{default as OcDropdown}from"./components/dropdown/dropdown.js";export{goData,goHub,goInternDiscoveryEvalKit,goKit,goOCHome,goRank,goRules}from"./google-log/home.js";export{default as OcFooterExpansion}from"./components/footer-expansion/index.js";export{default as OcMdRender}from"./components/md-render/index.js";export{envTypeEnum,evaluationTypeEnum,langTypeEnum,webTypeEnum}from"./constants/enums.js";export{getMenuData}from"./helper/index.js";
@@ -0,0 +1,3 @@
1
+ const e={llmArena:"Large Language Model Arena",mmArena:"Multi-modal Model Arena",docs:"Docs",rules:"Rules",login:"Login",logout:"Logout",records:"Records",joinEvaluation:"Join Evaluation",contributeBenchmarks:"Contribute Benchmark",userCenter:"User Center",arena:"Compass Arena",onlineEvaluation:"Online Evaluation",myEvaluation:"My Evaluation",myBenchmark:"My Benchmark",myModel:"My Model",create:"Create",cancel:"Cancel",quick:"Quick Evaluation",quickFeatures1:"Provide OpenCompass-supported models",quickFeatures3:"Provide scores and wrong answer details",comprehensive:"OpenCompass2.0 Evaluation",abilityFeatures1:"Support custom models",abilityFeatures3:"Provide comprehensive ability scores and sub dimension scores",createAbilityCompany:"Only for organization",createAbilityTip:"Please confirm the account has been granted OpenCompass2.0 evaluation permission",createAbilityTip1:"For permission application, please contact\uFF1Aopencompass@pjlab.org.cn",createOnlineEvaluation:"Create new task",customize:"Custom Evaluation",customFeature1:"Support custom models",customFeature2:"Support custom benchmark",customFeature3:"Provide scores and wrong answer details",quickFeatures2:"Support ",quickFeatures21:"open-source benchmark",abilityFeatures2:"OpenCompass 2.0 ",abilityFeatures21:"closed-source benchmark",llmEvaluation:"Large Language Model Evaluation",mmEvaluation:"MultiModal Model Evaluation",prevStep:"Previous",ArenaMode:"Task Mode Arena",applyNow:"Apply Now",abilityApplySubmit:"Submit",createQuickEvaluation:"Create Quick Evaluation",createAbilityEvaluation:"Create Ability Evaluation",limitTitle:"Reached daily evaluation limit",limitContent:"The daily evaluation limit is 10 times",limitKnow:"Got it",comingSoon:"Coming Soon",copySuccess:"Copied",modelType:"Model Type",dialogueModel:"Chat Model",dialogueModelTip:"Often built upon the base model and refined through directive fine-tuning or human preference alignment (e.g., OpenAI\u2019s ChatGPT, Shanghai AI Lab\u2019s Scholar Pu Tongue). These models can understand human instructions and have strong conversational skills.",baseModel:"Base Model",baseModelTip:"Typically obtained through training on massive textual data in a self-supervised manner (e.g., OpenAI\u2019s GPT-3, Meta\u2019s LLaMA). These models usually have powerful text continuation capabilities.",selectModel:"Choose Model",selectModelTip:"Provide OpenCompass-supported models",selectDataset:"Choose Benchmark",selectDatasetTip:"Provide OpenCompass-supported benchmarks",modelPlaceholder:"Select up to 1 models",dataset:"Benchmark",datasetPlaceholder:"Select up to 10 benchmarks",next:" Next",previous:"Previous",start:" Start Evaluation",success:"Created successfully",fail:"Creation failed",datasetCoptSuccess:"version id copied",setting:"Setting:",abilitySetBase:"Basic Information",abilitySetBaseTip:"Model,file and orgnization information",abilitySetModel:"Model configuration information",abilitySetModelTip:"Key parameters for model initialization ",abilityAdvance:"Advanced setting",abilityAdvanceStop_wordsPlaceholder:"Advanced setting",abilityAdvanceStop_wordsExtra:"For example\uFF1A['</s>', '<|im_end|>']",abilityAdvanceStop_wordsTip:"Vocabulary needs to be removed during text processing",abilityNotice:"Note",abilityNotice1:"1. Model Type\uFF1A",abilityNotice11:"Currently\uFF0Cwe only support",abilityNotice13:"evaluation",abilityNotice2:"2. Model File\uFF1A",abilityNotice21:"Model files need to be hosted in a public git repository\uFF08Common platforms\uFF1A",abilityNotice22:"\u3001",abilityNotice23:"\uFF09",abilityNotice3:"3. Model Format\uFF1A",abilityNotice31:"Only support the models which can be initialized with class transformers.AutoModelForCausalLM",abilityNotice5:"5. No modification\uFF1A",abilityNotice51:"After submission, all information cannot be modified",abilityBase:"Model basic information",abilityBaseNameEN:"Model Name",abilityBaseNameENPlaceholder:"Please input English, numbers, or characters",abilityBaseNameENError1:"Please input model name",abilityBaseNameENError2:"Please input English, numbers, or characters",abilityBaseNameDescCN:"Model Introduction",abilityBaseNameDescCNError:"Please input model introduction",abilityBaseNameDescEN:"Model Introduction(English)",abilityBaseNameDescENError:"Please input model introduction in english",evalDimensions:"Dimension",evalDimensionsDesc:"The fewer dimensions, the less time is required",evalDimensionsError:"Please select at least one dimension",abilityBaseRefer:"Parameter quantity (unit:B)",abilityBaseReferPlaceholder:"Please input the parameter quantity",abilityBaseReferError:"Please input a number",abilityBaseWebsite:"Website/GitHub",abilityBaseWebsiteError:"Please input website or GitHub",abilityBaseWebsiteError1:"Please input correct link",abilityBaseWebsitePlaceholder:"Please input website or GitHub",abilityBaseReport:"Paper/Report",abilityBaseReportError:"Please input correct link",abilityBaseReportPlaceholder:"Please input paper or report link",abilityPaper:"Model file information",abilityPaperUrl:"Model Repository",abilityPaperUrlExtra:"For example\uFF1Ahttps://huggingface.co/username/repo_name",abilityPaperUrlPlaceholder:"Please input public model repository address of Hugging Face\uFF0CModelScope\uFF0COpenXLab or Gitee",abilityPaperUrlError:"Please input model repository address",abilityPaperUrlError1:"Please input correct link",abilityPaperUrlError2:"Please input public model repository address",abilityVersion:"Version",abilityVersionExtra:"Pull the latest version of the files in default branch (if the commit ID is not filled in)",abilityVersionPlaceholder:"Please input the complete commit id (40 digits)",abilityVersionError:"The commit id does not exist",abilityOrganize:"Company/Organization Information",abilityOrganizeName:"Company/Organization Name\uFF08english\uFF09",abilityOrganizeNamePlaceholder:"Please input English, numbers, or characters",abilityOrganizeNameError:"Please input the name of the company/organization",abilityOrganizeNameError1:"Please input English, numbers, or characters",abilityOrganizeEmail:"Email",abilityOrganizeEmailExtra:"Recommend filling in company/organization email",abilityOrganizeEmailPlaceholder:"Please input company/organization email",abilityOrganizeEmailError:"Please input the correct email",abilityOrganizePhone:"Phone",abilityOrganizeError:"Please input the right phone number",abilityOrganizePhonePlaceholder:"Please input your phone number ",abilityParams:"Basic Parameter",abilityParamsTokenError:"Please input max_out_len",abilityParamsTokenPlaceholder:"Suggested value is 1024",abilityParamsTokenTip:"Maximum number of generated tokens",abilityParamsBatchError:"Please input batch_size",abilityParamsBatchPlaceholder:"Suggested value is 8",abilityParamsBatchTip:"batch size",abilityParamsGPUError:"Please input num_gpus",abilityParamsGPUPlaceholder:"Suggested value is 1",abilityParamsGPUTip:"GPU Number(s)",abilityParamsAgree:"I agree to make the results of this evaluation public, including model information, scores, etc",abilitySubmit:"Submit",abilityConfirmSubmit:"Submit",quickLimitContent:"The daily quick evaluation limit is 10 times",abilityLimitContent:"The daily OpenCompass2.0 evaluation limit is 5 times",abilityNoPermission:"This account does not have permission",abilityNoPermissionContent:"The OpenCompass 2.0 evaluation is only open to organization. Please contact",abilityNoPermissionContent1:"opencompass@pjlab.org.cn to get permission",abilityPermissionApply:"Apply for OpenCompass2.0 Evaluation",abilityModelUsage:"Model Usage",abilityModelPlaceholder:"Please input the usage scenario of the model",abilityApplyWarning:"*Please confirm you have registered an account using the provided phone or email",orgName:"Enterprise/Organization Name",submitSuccess:"Submitted successfully",createAbilityTitle:"After submission, all information cannot be modified.",createAbilityContent:"After submission, all information cannot be modified. Please check carefully!",abilityNotice12:"Large Language Model\uFF08Chat\uFF09",abilityNotice4:"4. Parameter and file size\uFF1A",abilityNotice41:"Only supports model: parameter less than 40B. The total file size should be less than 100G",abilityPaperUrlExtra1:"Note: Any repository with permission requests in Hugging Face is not a public repository",abilityParamsTokenError1:"Please input an integer between 1-1024",abilityParamsBatchError1:"Please input an integer between 1-64",abilityBaseReferError1:"Parameter needs to be less than 40B",abilityVersionLoading:"Verifying...",customLimitContent1:"The daily custom evaluation limit is 10 times",customEvaluation:"Custom Evaluation",newCustomTask:"Create new task",choseModel:"Select Model",modelTypeRequired:"Please select the model type",customModel:"Custom Model",customModelTip:"Personal Model",presetModel:"Provided Model",presetModelTip:"Large language models supported by OpenCompass",modelSource:"Model Source",modelSourceRequired:"Please select the model source",APIModel:"API Model",modelName:"Model Name",modelNameValidateError:"Model name verification failed",modelNamePlaceholder:"Please input model name",modelNameRequired:"The model name cannot be empty",duplicateName:"The model name already exists",APIParams:"API Parameter",APIParamsValidateError:"API Parameter verification failed",APIParamsTip:"Support OpenAI type API, and you can refer to the example to fill in",apiParamsRequired:"API Parameters cannot be empty",viewExample:"View Example",example:"Example",noted:"Got it",paramName:"Parameter Name",paramMeaning:"Meaning",apiNotModified:"Please input API Parameters",apiError1:"Please fill in the parameter value: openai_api_base",apiError2:"Please fill in the parameter value: key",apiError3:"Please fill in the parameter value: model",apiError4:"Please fill in the parameter value: max_out_len",apiError5:"Please fill in the parameter value: max_seq_len",apiError6:"Please fill in the parameter value: query_per_second",apiError7:"Please fill in the parameter value: batch_size",apiInvalidate1:"API Key is invalid",apiInvalidate2:"The model cannot be found",apiInvalidate3:"API service exception",modelMaxNum:"Select up to 1 model",modelRequired:"Please select a model",noModel:"No Model",createModelBefore:"Please",createModel:"Fill in API information",createModelAfter:"to create",openai_api_base_mean:"URL address",key_mean:`Personal API Token
2
+ For personally deployed services, this value can be set to any string`,model_mean:"API Model Name\uFF08Model ID\uFF09",max_out_len_mean:"Used to control the maximum length of the generated content",max_seq_len_mean:"Maximum length of input sequence",max_out_len_int:"max_out_len only supports integer greater than 0",max_seq_len_int:"max_seq_len only supports integer greater than 0",query_per_second_mean:"The number of requests allowed per second",batch_size_mean:"Batch processing size ",query_per_second_format:"query_per_second only supports numbers greater than 0 and not exceeding 100",batch_size_format:"batch_size only supports integer greater than 0 and not exceeding 64",query_per_second_max:"The query_per_second value cannot exceed 100",batch_size_max:"The batch_size value cannot exceed 64",query_per_second_min:"The query_per_second value cannot be 0",batch_size_min:"The batch_size value only supports integers, with a minimum value of 1",createBenchmark:"Create Benchmark",choseBenchmark:"Please select benchmark",communityBenchmark:"Community Benchmark",benchmarkEmpty:"No Content",source:"Source",operation:"Operation",delete:"Delete",tableDesc:"Please upload benchmark or select benchmark above",chosenBenchmark:"Selected Benchmark",noContent:"No Content",dropdownDesc:"The benchmark included file",maxCount:"Maximum number of benchmarks is 10",fileRequirement1:"Supports JSON and CSV file up to 30MB; Question type: multiple choice questions",fileRequirement2:"Need to comply with OpenCompass format",uploadFile:"Upload File",datasetNameError:"Please input dataset name",datasetNameError1:"Only supports starting with numbers or letters",datasetNameError2:"Please input English, numbers, or characters+. -_ ( )",datasetNameError3:"Continuous characters are not allowed",evalDimensionError:"Please select the dimension",datasetNamePlaceholder:"Please input English, numbers, or characters+. -_ ( )",evalDimensionPlaceholder:"Select up to 3 dimensions",downloadTemplate:"Download Template",sizeError:"File size should not exceed 30MB",showHere:"Uploaded files are here",scienceCommit:"AI4S Program",commitRecord:"AI4S Program Submission Record",agreement:"OpenCompass Platform Service Agreement",evalRank:"Rank",closeLeaderboard:"CompassBench Leaderboard",openLeaderboard:"CompassAcademic Leaderboard",arenaLeader:"CompassArena Leaderboard",mmLeaderboard:"Multimodal Model Leaderboard",exploreMore:"Explore More",compassHub:"CompassHub",compassKit:"CompassKit",docsCenter:"Docs Center",rankRules:"Rules",useGuide:"Docs",compassCommunity:"Community",followUs:`Follow OpenCompass
3
+ WeChat Account`,contactUs:"Contact Us",aboutUs:"\u5173\u4E8E\u6211\u4EEC",joinUs:"\u52A0\u5165\u6211\u4EEC",terms:"\u670D\u52A1\u6761\u6B3E",privacy:"\u9690\u79C1\u653F\u7B56",feedback:"\u610F\u89C1\u53CD\u9988",email:"",finance:"AI x Finance",medical:"AI x Medical",yearEvaluation:"ANNUAL BENCHMARK",yearEvaluationTitle:"OpenCompass Annual Benchmark Election has begun!",yearEvaluationDesc:"Welcome everyone to submit benchmark papers and vote!",yearEvaluationKnown:"Got it",topNavBrandAria:"OpenCompass home",topNavBrandName:"OpenCompass",topNavArena:"Arena",topNavLangSwitch:"\u4E2D\u6587",topNavNavAria:"Main navigation",topNavHome:"Home",topNavLeaderboard:"Leaderboard",topNavModels:"Models",topNavBenchmarks:"Benchmarks",topNavTools:"Tools"};export{e as EN};
@@ -0,0 +1 @@
1
+ import{EN as o}from"./en.js";import{ZH as r}from"./zh.js";var e={"zh-CN":r,"en-US":o};const t="zh-CN";export{t as DEFAULT_LANG,e as default};