-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcard.js
538 lines (525 loc) · 45.7 KB
/
card.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
const data = require("./data");
module.exports = async (query, res) => {
let rating = {
codeforces: "-",
codechef: "-",
atcoder: "-",
};
let ratingColor = {
codeforces: "rgb(255, 255, 255)",
codechef: "rgb(255, 255, 255)",
atcoder: "rgb(255, 255, 255)",
};
for (const [key, value] of Object.entries(query)) {
if (key == "codeforces") {
rating[key] = await Promise.resolve(data.codeforces(value));
let rate = Number(rating[key]);
if (rate <= 1199) {
ratingColor[key] = "#cec8c1";
} else if (rate > 1199 && rate <= 1399) {
ratingColor[key] = "#43A217";
} else if (rate > 1399 && rate <= 1599) {
ratingColor[key] = "#22C4AE";
} else if (rate > 1599 && rate <= 1899) {
ratingColor[key] = "#1427B2";
} else if (rate > 1899 && rate <= 2199) {
ratingColor[key] = "#700CB0";
} else if (rate > 2199 && rate <= 2399) {
ratingColor[key] = "#F9A908";
} else {
ratingColor[key] = "#FF0000";
}
} else if (key == "codechef") {
{
rating[key] = await Promise.resolve(data.codechef(value));
let rate = Number(rating[key]);
if (rate <= 1399) {
ratingColor[key] = "#6A6860";
} else if (rate > 1399 && rate <= 1599) {
ratingColor[key] = "#3D8C0B";
} else if (rate > 1599 && rate <= 1799) {
ratingColor[key] = "#347FBD";
} else if (rate > 1799 && rate <= 1999) {
ratingColor[key] = "#7A4AAF";
} else if (rate > 1999 && rate <= 2199) {
ratingColor[key] = "#FFC300";
} else if (rate > 2199 && rate <= 2499) {
ratingColor[key] = "#FF9E1B";
} else {
ratingColor[key] = "#FF1B1B";
}
}
} else if (key == "atcoder") {
rating[key] = await Promise.resolve(data.atcoder(value));
let rate = Number(rating[key]);
if (rate <= 399) {
ratingColor[key] = "#8E8E81";
} else if (rate > 399 && rate <= 799) {
ratingColor[key] = "#81501B";
} else if (rate > 799 && rate <= 1199) {
ratingColor[key] = "#5CB01E";
} else if (rate > 1199 && rate <= 1599) {
ratingColor[key] = "#16E5D8";
} else if (rate > 1599 && rate <= 1999) {
ratingColor[key] = "#1642E5";
} else if (rate > 1999 && rate <= 2399) {
ratingColor[key] = "#CFE115";
} else if (rate > 2399 && rate <= 2799) {
ratingColor[key] = "#FF8700";
} else {
ratingColor[key] = "#FF0000";
}
}
}
let svg = ` <svg
width="300"
height="170"
viewBox="0 0 300 170"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<style>
.header {
font: 700 18px "Segoe UI", Ubuntu, Sans-Serif;
fill: rgb(255, 255, 255);
animation: fadeInAnimation 0.8s ease-in-out forwards;
}
.site {
font: 600 16px "Segoe UI", Ubuntu, Sans-Serif;
fill: rgb(255, 255, 255);
}
.icon { fill: #f8d847 }
.codeForces{
fill: ${ratingColor.codeforces};
font: 700 16px "Segoe UI", Ubuntu, Sans-Serif;
}
.codeChef{
fill: ${ratingColor.codechef};
font: 700 16px "Segoe UI", Ubuntu, Sans-Serif;
}
.atCoder{
fill:${ratingColor.atcoder};
font: 700 16px "Segoe UI", Ubuntu, Sans-Serif;
}
.rating {
font: 600 16px "Segoe UI", Ubuntu, Sans-Serif;
fill: rgb(255, 255, 255);
}
</style>
undefined
<rect
data-testid="card-bg"
x="0.5"
y="0.5"
rx="4.5"
height="99%"
stroke="#E4E2E2"
width="299"
fill="#141321"
stroke-opacity="1"
/>
<g data-testid="card-title" transform="translate(25, 30)">
<text x="0" y="0" class="header" data-testid="header" letter-spacing="2">
${query.name}
</text>
</g>
<g data-testid="codeforces" transform="translate(25, 65)">
<g transform="translate(-4, -13)" class="icon">
<svg
width="28"
height="28"
viewBox="0 0 28 28"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<g filter="url(#filter0_d)">
<path
d="M8.10291 5.66724H5.21869C4.54164 5.66724 4 6.37782 4 7.22704V18.4402C4 19.3068 4.55518 20 5.21869 20H8.10291C8.77996 20 9.3216 19.2894 9.3216 18.4402V7.22704C9.33514 6.36048 8.77996 5.66724 8.10291 5.66724Z"
fill="url(#paint0_linear)"
/>
<path
d="M15.4557 0H12.5714C11.8944 0 11.3527 0.710572 11.3527 1.55979V18.4402C11.3527 19.3068 11.9079 20 12.5714 20H15.4557C16.1327 20 16.6743 19.2894 16.6743 18.4402V1.55979C16.6743 0.710572 16.1327 0 15.4557 0Z"
fill="url(#paint1_linear)"
/>
<path
d="M22.7813 7.81629H19.8971C19.22 7.81629 18.6784 8.52686 18.6784 9.37608V18.4402C18.6784 19.3068 19.2336 20 19.8971 20H22.7813C23.4584 20 24 19.2894 24 18.4402V9.37608C24 8.50953 23.4584 7.81629 22.7813 7.81629Z"
fill="url(#paint2_linear)"
/>
</g>
<defs>
<filter
id="filter0_d"
x="0"
y="0"
width="28"
height="28"
filterUnits="userSpaceOnUse"
color-interpolation-filters="sRGB"
>
<feFlood flood-opacity="0" result="BackgroundImageFix" />
<feColorMatrix
in="SourceAlpha"
type="matrix"
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
/>
<feOffset dy="4" />
<feGaussianBlur stdDeviation="2" />
<feColorMatrix
type="matrix"
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"
/>
<feBlend
mode="normal"
in2="BackgroundImageFix"
result="effect1_dropShadow"
/>
<feBlend
mode="normal"
in="SourceGraphic"
in2="effect1_dropShadow"
result="shape"
/>
</filter>
<linearGradient
id="paint0_linear"
x1="4"
y1="12.8394"
x2="9.33182"
y2="12.8394"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#F6C43D" />
<stop offset="1" stop-color="#FCD975" />
</linearGradient>
<linearGradient
id="paint1_linear"
x1="11.3463"
y1="10.008"
x2="16.6782"
y2="10.008"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#1480C4" />
<stop offset="1" stop-color="#1C99D4" />
</linearGradient>
<linearGradient
id="paint2_linear"
x1="18.6741"
y1="13.9138"
x2="24.0059"
y2="13.9138"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#B11E26" />
<stop offset="1" stop-color="#C21C24" />
</linearGradient>
</defs>
</svg>
</g>
<g transform="translate(30, 5)">
<text x="0" y="0" class="site" data-testid="header">Codeforces</text>
</g>
<g transform="translate(150, 5)">
<text x="0" y="0" class="codeForces" data-testid="header">
${rating.codeforces}
</text>
</g>
</g>
<g data-testid="codechef" transform="translate(25, 100)">
<g transform="translate(-3, -10)" class="icon">
<svg
width="24"
height="28"
viewBox="0 0 24 28"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<g clip-path="url(#clip0)" filter="url(#filter0_d)">
<path
d="M11.0829 0.000689028C10.4271 0.0265224 9.82044 0.309022 9.23127 0.571522C8.73023 0.80858 8.21074 1.0045 7.67794 1.15736C7.14877 1.30402 6.59461 1.45236 6.16627 1.81402C5.98127 1.96402 5.86961 2.17986 5.72544 2.36569C5.46794 2.77069 5.35211 3.25486 5.34461 3.73069C5.37461 4.23902 5.52461 4.73069 5.65794 5.21902C5.96461 6.27069 6.33044 7.30485 6.65544 8.35152C6.96044 9.31902 7.24127 10.3049 7.73377 11.1982C7.89794 11.5265 8.02544 11.8715 8.17961 12.2032C8.20211 12.259 8.22294 12.3349 8.29794 12.3274C8.41127 12.3174 8.50044 12.2315 8.60461 12.1907C9.29461 11.8457 10.0546 11.6557 10.8171 11.5665C11.4071 11.5049 12.0088 11.5015 12.5929 11.6115C13.1929 11.7474 13.7738 11.9665 14.3363 12.2149C14.6363 12.3582 14.9354 12.5049 15.2429 12.6299C15.2829 12.6632 15.3554 12.6782 15.3763 12.6165C15.5588 12.344 15.7671 12.0874 15.9321 11.8032C16.3446 10.919 16.3671 9.90402 16.7971 9.02735C17.0954 8.42652 17.5404 7.91319 17.8521 7.32069C17.9979 7.09902 18.2113 6.93152 18.3421 6.69819C18.7063 6.14069 18.9921 5.53319 19.2171 4.90652C19.3021 4.66236 19.3604 4.39652 19.2921 4.14069C19.2421 3.89152 19.1238 3.66569 19.0271 3.43402C18.9769 3.24045 18.8989 3.05519 18.7954 2.88402C18.4563 2.32069 17.9038 1.92652 17.3429 1.60402C16.4721 1.11236 15.5129 0.796522 14.5504 0.537356C13.5293 0.266276 12.4855 0.089424 11.4321 0.00902236C11.3156 0.00134716 11.1988 -0.00143307 11.0821 0.000689028H11.0829ZM10.3421 0.505689C10.1246 0.691522 10.0396 0.979856 9.95211 1.24152C9.81211 1.71486 9.73294 2.21069 9.77961 2.70486C9.83294 3.58986 9.94377 4.47152 10.0546 5.35069C10.2046 6.47736 10.3771 7.60069 10.6188 8.71236C10.6404 8.84986 10.6721 9.00152 10.6604 9.13735C10.5646 8.99152 10.5088 8.81819 10.4454 8.65402C10.2371 8.01652 10.0854 7.36319 9.94211 6.70902C9.68573 5.52505 9.52907 4.32167 9.47377 3.11152C9.45294 2.40902 9.47044 1.67319 9.78211 1.02736C9.88044 0.839022 9.99794 0.644022 10.1821 0.529856C10.2377 0.499729 10.3006 0.485596 10.3638 0.489022L10.3421 0.505689V0.505689ZM7.34044 1.47569C7.44711 1.47569 7.45627 1.60819 7.48044 1.68569C7.70211 2.35069 7.83211 3.04236 8.04627 3.70902C8.19127 4.24986 8.24461 4.81152 8.30294 5.36819C8.38377 6.23402 8.39294 7.10569 8.50794 7.96819C8.52961 8.13402 8.57627 8.29569 8.60711 8.45985C8.61544 8.51569 8.55794 8.50069 8.53794 8.47152C8.41461 8.33735 8.38544 8.14569 8.33294 7.97819C8.19961 7.44069 8.13127 6.89069 8.05461 6.34319C7.90961 5.24652 7.81544 4.14319 7.61377 3.05569C7.48211 2.54569 7.31711 2.04319 7.23044 1.52402C7.23544 1.48152 7.30794 1.48402 7.34044 1.47569V1.47569ZM5.73461 3.00652C5.92544 3.05319 6.03877 3.22986 6.16127 3.36819C6.49461 3.81402 6.61127 4.37152 6.74044 4.90402C6.97627 5.95819 7.11211 7.03152 7.34461 8.08736C7.45377 8.64236 7.58877 9.19235 7.76711 9.72985C7.77877 9.77235 7.79627 9.84069 7.79877 9.87152C7.60461 9.51319 7.47127 9.12485 7.32794 8.74402C6.82961 7.32902 6.64211 5.83069 6.24461 4.38736C6.13377 3.98902 5.98794 3.59569 5.74794 3.25569C5.70877 3.18236 5.68127 3.08569 5.71711 3.00819C5.72211 3.00486 5.72877 3.00569 5.73377 3.00652H5.73461ZM16.2729 14.0032C16.1596 14.009 16.0146 14.0949 16.0429 14.2257C16.1213 14.4074 16.3213 14.4824 16.4813 14.5724C16.8488 14.7524 17.2629 14.814 17.6129 15.0274C17.6896 15.0774 17.7371 15.1915 17.6663 15.2665C17.5163 15.4882 17.2746 15.6332 17.0638 15.7949C16.7538 16.0165 16.4163 16.2199 16.1829 16.5274C16.1279 16.6165 16.1488 16.7499 16.2513 16.794C16.3421 16.8599 16.4538 16.809 16.5329 16.7515C16.9646 16.5065 17.3621 16.2065 17.7646 15.9165C18.0313 15.7174 18.3013 15.519 18.5363 15.2832C18.6071 15.1707 18.5113 15.0549 18.4379 14.974C18.2104 14.7365 17.9213 14.5682 17.6338 14.4157C17.2527 14.2158 16.8428 14.0766 16.4188 14.0032C16.3702 13.9998 16.3215 13.9998 16.2729 14.0032V14.0032ZM6.87711 14.0257C6.43794 14.1374 6.04627 14.3757 5.64877 14.5865C5.29461 14.789 4.93711 14.9999 4.64461 15.2874C4.54657 15.3996 4.49527 15.5451 4.50127 15.694C4.55544 15.784 4.66794 15.8107 4.75211 15.8657C5.46211 16.234 6.19794 16.5507 6.94377 16.839C7.05377 16.874 7.16461 16.9332 7.28211 16.9282C7.41377 16.9115 7.53961 16.7582 7.45961 16.6315C7.33794 16.429 7.10961 16.3307 6.91794 16.2099C6.46211 15.9574 5.95627 15.7832 5.55461 15.4449C5.51627 15.369 5.63294 15.3382 5.67294 15.2949C6.13044 14.9657 6.69711 14.8007 7.10044 14.3974C7.17461 14.3224 7.23711 14.1815 7.14044 14.099C7.06877 14.0382 6.96877 14.0265 6.87711 14.0257V14.0257ZM13.6396 14.6865C13.2813 14.709 12.9438 15.0457 12.9946 15.4165C13.0213 15.6324 13.0688 15.854 13.1846 16.0407C13.2846 16.1907 13.4596 16.279 13.6396 16.2799C13.8671 16.3057 14.1313 16.2307 14.2446 16.0149C14.3588 15.8174 14.4213 15.5865 14.4154 15.359C14.3838 14.9757 14.0271 14.6549 13.6404 14.6865H13.6396ZM9.89794 14.6949C9.51127 14.7182 9.22544 15.1157 9.25627 15.489C9.26544 15.859 9.51877 16.2407 9.89377 16.3174C10.1871 16.3674 10.4854 16.159 10.5629 15.8757C10.6671 15.584 10.6729 15.2415 10.5263 14.9632C10.3954 14.7549 10.1279 14.6907 9.89794 14.6949V14.6949ZM9.99127 15.239C10.1921 15.2924 10.2363 15.6307 10.0288 15.704C9.91127 15.7324 9.82961 15.604 9.83377 15.5007C9.82711 15.3949 9.87544 15.2615 9.99127 15.239ZM13.6888 15.3582C13.7696 15.3582 13.8771 15.4174 13.8471 15.514C13.8363 15.6565 13.6679 15.7915 13.5329 15.7024C13.4229 15.644 13.3896 15.4557 13.5163 15.3957C13.5696 15.3686 13.629 15.3557 13.6888 15.3582ZM10.7571 17.839C10.2963 17.8815 9.88711 18.1182 9.47211 18.3049C9.21877 18.4349 8.92044 18.5649 8.63461 18.4607C8.32044 18.3607 8.04544 18.169 7.75211 18.0274C7.68961 18.0165 7.70127 18.0915 7.71294 18.129C7.78044 18.5707 7.82044 19.0474 8.09127 19.4207C8.37294 19.7849 8.84294 19.9357 9.28544 19.9765C9.94961 20.0365 10.6538 19.8782 11.1779 19.4524C11.4354 19.234 11.6538 18.9265 11.6654 18.5782C11.6604 18.3082 11.4621 18.0815 11.2288 17.9665C11.0862 17.8815 10.9231 17.8374 10.7571 17.839V17.839ZM12.9071 17.8457C12.5771 17.889 12.2279 18.064 12.0971 18.3874C11.9896 18.6857 12.1254 19.0107 12.3238 19.2374C12.6788 19.6615 13.2154 19.8982 13.7554 19.974C14.2363 20.039 14.7438 19.9857 15.1838 19.774C15.5488 19.5865 15.8229 19.2282 15.8921 18.8224C15.9454 18.5799 15.9596 18.3307 15.9954 18.0857C15.9404 18.0207 15.8721 18.1174 15.8138 18.129C15.5329 18.2474 15.2746 18.4349 14.9721 18.4915C14.6696 18.5115 14.3996 18.3482 14.1263 18.2474C13.7679 18.099 13.4171 17.9115 13.0304 17.849C12.9897 17.8454 12.9488 17.8443 12.9079 17.8457H12.9071ZM10.5063 13.6032C10.4479 13.6032 10.3871 13.6149 10.3263 13.6282C10.1969 13.66 10.0704 13.7024 9.94794 13.7549C9.82294 13.8057 9.70461 13.8607 9.60877 13.9049C9.54897 13.9322 9.48839 13.9577 9.42711 13.9815C9.3748 13.9898 9.32125 13.9797 9.27544 13.9532C9.22377 13.9224 9.17544 13.869 9.15794 13.7407L8.93294 13.7724C8.95877 13.954 9.04961 14.0807 9.15794 14.1474C9.26627 14.2132 9.38127 14.2224 9.47294 14.2032C9.54377 14.1882 9.60627 14.1549 9.70294 14.1107C9.79961 14.0665 9.91544 14.0124 10.0338 13.964C10.1529 13.9157 10.2738 13.8724 10.3754 13.849C10.4438 13.8293 10.5159 13.8268 10.5854 13.8415C10.7021 13.8915 10.7438 13.9499 10.7646 13.9907C10.7854 14.0324 10.7896 14.0465 10.7896 14.0465L11.0088 13.9965C11.0088 13.9965 11.0104 13.9765 10.9671 13.8899C10.9031 13.7728 10.7998 13.6822 10.6754 13.634C10.6217 13.6115 10.5637 13.601 10.5054 13.6032H10.5063ZM12.7929 16.884C12.7766 16.8844 12.7606 16.8884 12.7459 16.8956C12.7312 16.9027 12.7183 16.913 12.7079 16.9257C12.7079 16.9257 12.6063 17.049 12.4696 17.1715C12.3321 17.2949 12.1529 17.4049 12.0588 17.4074C11.9654 17.4099 11.7971 17.309 11.6671 17.1907C11.5379 17.074 11.4446 16.954 11.4446 16.954C11.4359 16.9412 11.4246 16.9304 11.4115 16.9221C11.3984 16.9138 11.3838 16.9083 11.3685 16.9059C11.3531 16.9036 11.3375 16.9043 11.3225 16.9082C11.3075 16.9121 11.2935 16.919 11.2813 16.9286C11.2691 16.9381 11.2589 16.95 11.2515 16.9636C11.2441 16.9772 11.2396 16.9922 11.2381 17.0076C11.2367 17.0231 11.2385 17.0386 11.2433 17.0533C11.2482 17.068 11.256 17.0816 11.2663 17.0932C11.2663 17.0932 11.3696 17.2265 11.5154 17.359C11.6613 17.4924 11.8463 17.6399 12.0654 17.634C12.2813 17.6274 12.4688 17.4757 12.6204 17.3407C12.7721 17.2049 12.8829 17.0699 12.8829 17.0699C12.8969 17.0531 12.9057 17.0327 12.9084 17.0111C12.911 16.9895 12.9074 16.9675 12.8979 16.9479C12.8884 16.9283 12.8734 16.9119 12.8548 16.9005C12.8362 16.8892 12.8147 16.8835 12.7929 16.884V16.884ZM11.0829 0.00152236C10.4271 0.0265224 9.82044 0.308189 9.23127 0.571522C8.73023 0.80858 8.21074 1.0045 7.67794 1.15736C7.14877 1.30402 6.59461 1.45236 6.16627 1.81402C5.98127 1.96402 5.86961 2.18069 5.72544 2.36652C5.46794 2.77069 5.35211 3.25486 5.34461 3.73069C5.37461 4.23902 5.52461 4.73069 5.65794 5.21902C5.96461 6.27152 6.33044 7.30485 6.65544 8.35152C6.96044 9.31902 7.24127 10.3049 7.73377 11.199C7.89794 11.5265 8.02544 11.8715 8.17961 12.2032C8.20211 12.259 8.22294 12.3349 8.29794 12.3282C8.41127 12.3174 8.50044 12.2315 8.60461 12.1907C9.29461 11.8457 10.0546 11.6565 10.8171 11.5665C11.4071 11.5049 12.0088 11.5015 12.5929 11.6124C13.1929 11.7482 13.7738 11.9665 14.3363 12.2149C14.6363 12.3582 14.9354 12.5049 15.2429 12.6299C15.2829 12.6632 15.3554 12.6782 15.3763 12.6165C15.5588 12.344 15.7671 12.0874 15.9321 11.804C16.3446 10.919 16.3671 9.90402 16.7971 9.02735C17.0954 8.42652 17.5404 7.91402 17.8521 7.32152C17.9979 7.09985 18.2113 6.93152 18.3421 6.69902C18.7063 6.14069 18.9921 5.53236 19.2171 4.90652C19.3021 4.66236 19.3604 4.39652 19.2921 4.14069C19.2421 3.89236 19.1238 3.66569 19.0271 3.43402C18.9768 3.24074 18.8988 3.05576 18.7954 2.88486C18.4563 2.32152 17.9038 1.92652 17.3429 1.60486C16.4721 1.11236 15.5129 0.796522 14.5504 0.537356C13.5293 0.266276 12.4855 0.089424 11.4321 0.00902236C11.3156 0.00134716 11.1988 -0.00143307 11.0821 0.000689028L11.0829 0.00152236ZM10.3421 0.506522C10.1246 0.691522 10.0396 0.979856 9.95211 1.24236C9.81211 1.71486 9.73294 2.21152 9.77961 2.70486C9.83294 3.58986 9.94377 4.47152 10.0546 5.35069C10.2046 6.47736 10.3771 7.60152 10.6188 8.71236C10.6404 8.84986 10.6721 9.00152 10.6604 9.13735C10.5646 8.99152 10.5088 8.81819 10.4454 8.65402C10.2371 8.01652 10.0854 7.36319 9.94211 6.70902C9.68578 5.52532 9.52912 4.32222 9.47377 3.11236C9.45294 2.40902 9.47044 1.67319 9.78211 1.02736C9.88044 0.839856 9.99794 0.644022 10.1821 0.529856C10.2377 0.499729 10.3006 0.485596 10.3638 0.489022L10.3421 0.505689V0.506522ZM7.34044 1.47569C7.44711 1.47569 7.45627 1.60902 7.48044 1.68569C7.70211 2.35069 7.83211 3.04236 8.04627 3.70986C8.19127 4.24986 8.24461 4.81152 8.30294 5.36819C8.38377 6.23486 8.39294 7.10652 8.50794 7.96819C8.52961 8.13402 8.57627 8.29652 8.60711 8.45985C8.61544 8.51652 8.55794 8.50152 8.53794 8.47152C8.41461 8.33819 8.38544 8.14652 8.33294 7.97819C8.19961 7.44069 8.13127 6.89152 8.05461 6.34319C7.90961 5.24736 7.81544 4.14319 7.61377 3.05569C7.48211 2.54569 7.31711 2.04319 7.23044 1.52402C7.23544 1.48152 7.30794 1.48402 7.34044 1.47569V1.47569ZM5.73461 3.00736C5.92544 3.05319 6.03877 3.22986 6.16127 3.36819C6.49461 3.81402 6.61127 4.37152 6.74044 4.90402C6.97627 5.95819 7.11211 7.03236 7.34461 8.08736C7.45377 8.64236 7.58877 9.19319 7.76711 9.72985C7.77877 9.77235 7.79627 9.84069 7.79877 9.87152C7.60461 9.51319 7.47127 9.12485 7.32794 8.74485C6.82961 7.32819 6.64211 5.83069 6.24461 4.38652C6.13377 3.98902 5.98794 3.59486 5.74794 3.25569C5.70877 3.18319 5.68127 3.08569 5.71711 3.00902C5.72211 3.00569 5.72877 3.00652 5.73377 3.00736H5.73461ZM16.2729 14.0032C16.1596 14.009 16.0146 14.0949 16.0429 14.2265C16.1213 14.4074 16.3213 14.4824 16.4813 14.5732C16.8488 14.7524 17.2629 14.814 17.6129 15.0274C17.6896 15.0774 17.7371 15.1915 17.6663 15.2665C17.5163 15.489 17.2746 15.6332 17.0638 15.7949C16.7538 16.0165 16.4163 16.2199 16.1829 16.5274C16.1279 16.6165 16.1488 16.7499 16.2513 16.794C16.3421 16.8599 16.4538 16.8099 16.5329 16.7524C16.9646 16.5065 17.3621 16.2065 17.7646 15.9174C18.0313 15.7174 18.3013 15.519 18.5363 15.2832C18.6071 15.1707 18.5113 15.0549 18.4379 14.9749C18.2104 14.7365 17.9213 14.5682 17.6338 14.4149C17.2526 14.2155 16.8427 14.0769 16.4188 14.004C16.3702 14.0003 16.3215 14.0001 16.2729 14.0032V14.0032ZM6.87627 14.0274C6.43711 14.1382 6.04544 14.3774 5.64794 14.5874C5.29377 14.7899 4.93627 15.0015 4.64377 15.289C4.54594 15.401 4.49466 15.5462 4.50044 15.6949C4.55461 15.7857 4.66711 15.8115 4.75127 15.8665C5.46127 16.2349 6.19711 16.5524 6.94294 16.8399C7.05294 16.8749 7.16377 16.934 7.28127 16.9299C7.41294 16.9132 7.53877 16.759 7.45877 16.6324C7.33711 16.4299 7.10877 16.3315 6.91711 16.2107C6.46127 15.9582 5.95544 15.784 5.55377 15.4457C5.51544 15.3707 5.63211 15.339 5.67211 15.2957C6.12961 14.9674 6.69627 14.8024 7.09961 14.3982C7.17377 14.3232 7.23627 14.1832 7.13961 14.1007C7.06794 14.039 6.96794 14.0274 6.87627 14.0274ZM13.6388 14.6874C13.2804 14.7107 12.9429 15.0474 12.9938 15.4174C13.0204 15.634 13.0679 15.8557 13.1838 16.0424C13.2838 16.1915 13.4588 16.2799 13.6388 16.2815C13.8663 16.3065 14.1304 16.2315 14.2438 16.0157C14.3579 15.819 14.4204 15.5874 14.4146 15.3599C14.3829 14.9765 14.0263 14.6565 13.6396 14.6874H13.6388ZM9.89711 14.6957C9.51044 14.719 9.22461 15.1165 9.25544 15.4899C9.26461 15.8599 9.51794 16.2415 9.89294 16.319C10.1863 16.3682 10.4846 16.1607 10.5621 15.8774C10.6663 15.5857 10.6721 15.2424 10.5254 14.964C10.3946 14.7565 10.1271 14.6915 9.89711 14.6957V14.6957ZM9.99044 15.2407C10.1913 15.2932 10.2354 15.6324 10.0279 15.7049C9.91044 15.7332 9.82877 15.6049 9.83294 15.5015C9.82627 15.3957 9.87461 15.2624 9.99044 15.2407ZM13.6879 15.359C13.7688 15.359 13.8763 15.419 13.8463 15.5149C13.8354 15.6582 13.6671 15.7924 13.5321 15.704C13.4221 15.6449 13.3888 15.4565 13.5154 15.3965C13.5688 15.3694 13.6282 15.3565 13.6879 15.359V15.359ZM10.7563 17.8399C10.2954 17.8832 9.88627 18.1199 9.47127 18.3065C9.21794 18.4357 8.91961 18.5657 8.63377 18.4615C8.31961 18.3624 8.04461 18.1699 7.75127 18.0282C7.68877 18.0182 7.70044 18.0932 7.71211 18.1299C7.77961 18.5715 7.81961 19.0482 8.09044 19.4215C8.37211 19.7865 8.84211 19.9374 9.28461 19.9774C9.94877 20.0374 10.6529 19.879 11.1771 19.4532C11.4346 19.2349 11.6529 18.9282 11.6646 18.579C11.6596 18.309 11.4613 18.0824 11.2279 17.9674C11.0854 17.8824 10.9222 17.8383 10.7563 17.8399V17.8399ZM12.9063 17.8465C12.5763 17.8899 12.2271 18.0649 12.0963 18.3882C11.9888 18.6874 12.1246 19.0115 12.3229 19.239C12.6779 19.6624 13.2146 19.899 13.7546 19.9749C14.2354 20.0399 14.7429 19.9874 15.1829 19.7749C15.5479 19.5874 15.8221 19.229 15.8913 18.8232C15.9446 18.5815 15.9588 18.3315 15.9946 18.0865C15.9396 18.0224 15.8713 18.119 15.8129 18.1299C15.5321 18.249 15.2738 18.4357 14.9713 18.4932C14.6688 18.5132 14.3988 18.3499 14.1254 18.2482C13.7671 18.0999 13.4163 17.9132 13.0296 17.8507C12.9889 17.8471 12.948 17.846 12.9071 17.8474L12.9063 17.8465Z"
fill="white"
/>
</g>
<defs>
<filter
id="filter0_d"
x="-2"
y="0"
width="28"
height="28"
filterUnits="userSpaceOnUse"
color-interpolation-filters="sRGB"
>
<feFlood flood-opacity="0" result="BackgroundImageFix" />
<feColorMatrix
in="SourceAlpha"
type="matrix"
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
/>
<feOffset dy="4" />
<feGaussianBlur stdDeviation="2" />
<feColorMatrix
type="matrix"
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"
/>
<feBlend
mode="normal"
in2="BackgroundImageFix"
result="effect1_dropShadow"
/>
<feBlend
mode="normal"
in="SourceGraphic"
in2="effect1_dropShadow"
result="shape"
/>
</filter>
<clipPath id="clip0">
<rect
width="20"
height="20"
fill="white"
transform="translate(2)"
/>
</clipPath>
</defs>
</svg>
</g>
<g transform="translate(30, 5)">
<text x="0" y="0" class="site" data-testid="header">Codechef</text>
</g>
<g transform="translate(150, 5)">
<text x="0" y="0" class="codeChef" data-testid="header">
${rating.codechef}
</text>
</g>
</g>
<g data-testid="atcoder" transform="translate(25, 137)">
<g transform="translate(-7, -12)" class="icon">
<svg
width="28"
height="28"
viewBox="0 0 28 28"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<g filter="url(#filter0_d)">
<path
d="M13.9822 2.90229C13.9443 2.95889 13.8936 3.41173 13.8936 3.88342L13.8683 4.75135L13.7797 3.99663C13.7038 3.27965 13.6658 3.29852 13.4886 4.09097C13.4379 4.31739 13.4126 4.29852 13.4126 4.03437C13.4 3.75135 13.362 3.75135 13.1468 3.94003C13.0075 4.0721 12.8936 4.29852 12.8936 4.44946C12.8936 4.65701 12.843 4.63814 12.7037 4.35512C12.4886 3.95889 12.4886 4.05323 12.767A 5.43059L12.9316 6.27965L14.0582 6.26078L15.1974 6.24191L15.4379 5.20418C15.7164 3.97776 15.7038 4.09097 15.5645 4.09097C15.5012 4.09097 15.3873 4.31739 15.3114 4.6004L15.1721 5.12871L15.2354 4.6004C15.2987 4.09097 15.1215 3.88342 15.0076 4.31739C14.9696 4.44946 14.9316 4.35512 14.9316 4.09097C14.9189 3.58154 14.7291 3.77022 14.6278 4.37399C14.6025 4.58154 14.5898 4.46833 14.6151 4.14757C14.6531 3.52493 14.4886 3.12871 14.3746 3.56267C14.3367 3.69474 14.2987 3.61927 14.2987 3.39286C14.286 2.95889 14.1215 2.69474 13.9822 2.90229ZM14.2481 5.35512C14.2227 5.65701 14.1974 5.44946 14.1974 4.94003C14.1974 4.41173 14.2227 4.18531 14.2481 4.41173C14.2734 4.65701 14.2734 5.0721 14.2481 5.35512ZM13.2354 4.69474C13.1974 4.84569 13.1594 4.78908 13.1594 4.58154C13.1468 4.37399 13.1848 4.26078 13.2227 4.33625C13.2607 4.39286 13.2734 4.56267 13.2354 4.69474ZM13.6151 5.16644C13.5772 5.35512 13.5519 5.24191 13.5519 4.94003C13.5519 4.61927 13.5772 4.4872 13.6151 4.6004C13.6405 4.73248 13.6405 4.99663 13.6151 5.16644ZM14.881 5.0721C14.843 5.22305 14.805 5.16644 14.805 4.95889C14.7924 4.75135 14.8303 4.63814 14.8683 4.71361C14.9063 4.77022 14.9189 4.94003 14.881 5.0721ZM13.362 5.44946C13.324 5.6004 13.286 5.5438 13.286 5.33625C13.2734 5.12871 13.3113 5.0155 13.3493 5.09097C13.3873 5.14757 13.4 5.31739 13.362 5.44946ZM14.5012 5.44946C14.4632 5.6004 14.4253 5.5438 14.4253 5.33625C14.4126 5.12871 14.4506 5.0155 14.4886 5.09097C14.5265 5.14757 14.5392 5.31739 14.5012 5.44946Z"
fill="white"
/>
<path
d="M11.4379 4.84569C11.4 4.95889 11.4632 5.03437 11.5898 5.05323C11.7544 5.05323 11.7417 5.10984 11.5012 5.24191C11.2481 5.39286 11.2227 5.46833 11.3746 5.6004C11.5265 5.75135 11.5012 5.78908 11.2607 5.78908C11.0582 5.78908 10.9822 5.71361 11.0455 5.50606C11.0835 5.33625 11.0455 5.22305 10.9569 5.22305C10.7417 5.22305 10.2481 5.77022 10.4632 5.78908C10.6911 5.78908 10.6531 6.35512 10.4126 6.35512C10.3113 6.35512 10.2481 6.27965 10.286 6.20418C10.3113 6.12871 10.2354 5.94003 10.0962 5.82682C9.88097 5.61927 9.83033 5.65701 9.74173 6.0155C9.67843 6.29852 9.67843 6.50606 9.7797 6.58154C9.88097 6.67588 9.86831 6.78908 9.74173 6.95889C9.6278 7.12871 9.55185 7.14757 9.51388 6.99663C9.45059 6.71361 8.88097 6.90229 8.79236 7.24191C8.70375 7.56267 8.79236 7.86456 8.96957 7.86456C9.03286 7.86456 9.05818 7.73248 9.02021 7.58154C8.95691 7.37399 9.03286 7.29852 9.33666 7.29852C9.58983 7.29852 9.7797 7.16644 9.88097 6.92116C9.96957 6.71361 10.1594 6.5438 10.3113 6.5438C10.4632 6.5438 10.6531 6.41173 10.7417 6.26078C10.8303 6.10984 11.0582 5.97776 11.2607 5.97776C11.4632 5.97776 11.6278 5.88342 11.6278 5.77022C11.6278 5.63814 11.767 5.61927 11.9949 5.69474C12.2101 5.75135 12.4 5.73248 12.4506 5.61927C12.5012 5.4872 12.4126 5.43059 12.2354 5.46833C12.0708 5.4872 11.9569 5.41172 11.9696 5.29852C11.9949 5.0155 11.5265 4.61927 11.4379 4.84569Z"
fill="white"
/>
<path
d="M16.4379 4.84569C16.4379 4.94003 16.5012 5.03437 16.5772 5.03437C16.6405 5.03437 16.6658 4.94003 16.6278 4.84569C16.5898 4.73248 16.5265 4.65701 16.4886 4.65701C16.4632 4.65701 16.4379 4.73248 16.4379 4.84569Z"
fill="white"
/>
<path
d="M17.324 4.92116C17.324 4.95889 17.4126 5.03437 17.5139 5.10984C17.6151 5.16644 17.7038 5.12871 17.7038 5.03437C17.7038 4.92116 17.6151 4.84569 17.5139 4.84569C17.4126 4.84569 17.324 4.88342 17.324 4.92116Z"
fill="white"
/>
<path
d="M16.1468 5.31739C16.2101 5.60041 16.1721 5.63814 15.9316 5.5438C15.7417 5.46833 15.6784 5.4872 15.767 5.61927C15.843 5.73248 16.2101 5.86456 16.5772 5.92116C16.9569 5.97776 17.3493 6.12871 17.4632 6.27965C17.5645 6.43059 17.7544 6.5438 17.8683 6.5438C17.9822 6.5438 18.1341 6.71361 18.2101 6.92116C18.3113 7.18531 18.4759 7.29852 18.7797 7.29852C19.0202 7.29852 19.2227 7.39286 19.2227 7.50607C19.2227 7.61927 19.1088 7.65701 18.9443 7.58154C18.7164 7.4872 18.6911 7.50607 18.843 7.65701C19.1341 7.9589 19.3493 7.90229 19.3493 7.52493C19.3493 7.09097 18.805 6.67588 18.6151 6.9589C18.5392 7.0721 18.4632 7.0721 18.3999 6.92116C18.3493 6.78908 18.3873 6.61927 18.4759 6.52493C18.6025 6.41173 18.5772 6.33625 18.3367 6.18531C18.0962 6.05324 18.0835 5.99663 18.248 5.99663C18.3746 5.97776 18.4506 5.90229 18.4126 5.80795C18.362 5.71361 18.2101 5.73248 18.0329 5.84569C17.8303 5.99663 17.767 6.10984 17.8683 6.20418C17.9696 6.29852 17.9443 6.35512 17.805 6.35512C17.5139 6.35512 17.3746 5.97776 17.5898 5.77022C17.7924 5.60041 17.7417 5.50607 17.362 5.33625C17.1341 5.22305 17.0835 5.26078 17.1468 5.4872C17.2101 5.71361 17.1341 5.78908 16.8683 5.78908C16.5898 5.78908 16.5518 5.73248 16.6911 5.60041C16.9189 5.39286 16.8556 5.29852 16.3999 5.12871C16.1088 5.0155 16.0708 5.03437 16.1468 5.31739Z"
fill="white"
/>
<path
d="M11.4506 6.50606C10.5392 7.03437 10.3113 7.10984 10.2101 6.90229C10.1088 6.67588 10.0962 6.69474 10.1468 6.92116C10.1721 7.0721 10.0962 7.29852 9.96957 7.39286C9.74172 7.58154 9.74172 7.6004 9.96957 7.80795C10.1468 7.97776 10.4379 7.88342 11.4253 7.29852C12.1088 6.90229 12.6911 6.52493 12.7291 6.46833C12.767 6.43059 12.7417 6.26078 12.6784 6.10984C12.5898 5.90229 12.3873 5.95889 11.4506 6.50606Z"
fill="white"
/>
<path
d="M15.4506 6.27965C15.4759 6.46833 15.9569 6.86456 16.7544 7.31739C17.8556 7.95889 18.0455 8.0155 18.1974 7.77021C18.362 7.5438 18.3367 7.4872 18.0708 7.31739C15.4632 5.80795 15.3746 5.77022 15.4506 6.27965Z"
fill="white"
/>
<path
d="M12.1468 7.33625L10.3367 8.29852L10.4253 9.44946C10.7417 13.8834 11.4759 16.2985 13.1974 18.7891L14.0329 19.9778L14.5518 19.3551C15.286 18.5061 16.248 16.7136 16.6911 15.4306C17.1594 14.0344 17.5772 11.5627 17.6658 9.73248C17.7291 8.44946 17.7164 8.27965 17.5012 8.14757C17.248 7.99663 13.9822 6.35512 13.9696 6.37399C13.9696 6.37399 13.1468 6.80795 12.1468 7.33625ZM15.6911 7.46833C16.4886 7.88342 17.2354 8.27965 17.3746 8.35512C17.5772 8.46833 17.6025 8.61927 17.5139 9.80795C17.3999 11.5627 17.0202 13.7325 16.5772 15.1287C16.1848 16.3929 15.1594 18.3363 14.4632 19.1287L13.9949 19.6381L13.0329 18.1287C12.5012 17.2985 11.8936 16.1098 11.6658 15.4872C11.1341 14.0155 10.7164 11.5061 10.6911 9.77022L10.6784 8.37399L12.1974 7.58154C13.0329 7.14757 13.843 6.77022 13.9822 6.75135C14.1341 6.75135 14.9063 7.0721 15.6911 7.46833Z"
fill="white"
/>
<path
d="M12.324 7.75135L10.805 8.56267L10.8303 9.80795C10.8683 11.5061 11.286 13.8646 11.7797 15.2796C12.0075 15.9212 12.6025 17.0721 13.1088 17.8457L14.0329 19.2419L14.5645 18.5061C16.2987 16.1853 16.9949 14.0721 17.3113 10.223C17.3746 9.39286 17.4126 8.69474 17.3873 8.65701C17.286 8.4872 14.2101 6.92116 14.0329 6.94003C13.9316 6.94003 13.1594 7.29852 12.324 7.75135ZM15.3746 7.75135C17.5012 8.82682 17.2987 8.56267 17.1721 10.1664C16.9189 13.3929 16.3493 15.4495 15.1594 17.374C14.1468 19.0344 14.1341 19.0344 13.2481 17.7325C12.286 16.3174 11.7924 15.1664 11.4379 13.4683C11.0835 11.808 10.7924 9.03437 10.9569 8.78908C11.0455 8.65701 13.8177 7.14757 14.0455 7.10984C14.0835 7.10984 14.6784 7.39286 15.3746 7.75135Z"
fill="white"
/>
<path
d="M13.7164 8.61927C13.6784 8.71361 13.7291 8.80795 13.8303 8.80795C13.9443 8.80795 14.0329 8.71361 14.0329 8.61927C14.0329 8.50606 13.9822 8.43059 13.9189 8.43059C13.843 8.43059 13.7544 8.50606 13.7164 8.61927Z"
fill="white"
/>
<path
d="M14.1594 8.61927C14.1594 8.73248 14.2481 8.80795 14.3493 8.80795C14.4506 8.80795 14.5392 8.77022 14.5392 8.73248C14.5392 8.69474 14.4506 8.61927 14.3493 8.5438C14.2481 8.4872 14.1594 8.52493 14.1594 8.61927Z"
fill="white"
/>
<path
d="M11.9443 9.56267C11.7164 9.92116 11.7291 9.94003 11.9569 9.94003C12.0962 9.94003 12.2734 9.77021 12.362 9.56267C12.4886 9.26078 12.4886 9.18531 12.3493 9.18531C12.2481 9.18531 12.0708 9.35512 11.9443 9.56267Z"
fill="white"
/>
<path
d="M12.5392 9.56267C12.4 9.90229 12.4126 9.94003 12.7544 9.94003C13.0075 9.94003 13.1341 9.82682 13.1848 9.56267C13.2354 9.27965 13.1848 9.18531 12.9696 9.18531C12.8303 9.18531 12.6278 9.35512 12.5392 9.56267Z"
fill="white"
/>
<path
d="M13.3493 9.4872C13.2354 9.92116 13.2481 9.94003 13.6531 9.94003C13.9443 9.94003 14.0329 9.86455 14.0329 9.56267C14.0329 9.09097 13.4632 9.03437 13.3493 9.4872Z"
fill="white"
/>
<path
d="M14.1594 9.56267C14.1594 9.84569 14.2481 9.94003 14.5265 9.94003C14.8303 9.94003 14.881 9.88342 14.8303 9.56267C14.7924 9.31738 14.6531 9.18531 14.4632 9.18531C14.2481 9.18531 14.1594 9.29852 14.1594 9.56267Z"
fill="white"
/>
<path
d="M14.9696 9.4872C15.0075 9.65701 15.0455 9.82682 15.0455 9.86455C15.0455 9.90229 15.1848 9.94003 15.362 9.94003C15.7037 9.94003 15.767 9.77021 15.5265 9.41172C15.2987 9.0721 14.881 9.12871 14.9696 9.4872Z"
fill="white"
/>
<path
d="M15.805 9.56267C15.881 9.77021 16.0582 9.94003 16.2101 9.94003C16.4632 9.94003 16.4759 9.92116 16.2481 9.56267C16.1215 9.35512 15.9443 9.18531 15.843 9.18531C15.7037 9.18531 15.7037 9.26078 15.805 9.56267Z"
fill="white"
/>
<path
d="M11.5012 10.4872C11.324 11.0155 11.3367 11.0721 11.6784 11.0721C11.8683 11.0721 12.0075 10.94 12.0455 10.7136C12.1594 10.0532 11.7291 9.88342 11.5012 10.4872Z"
fill="white"
/>
<path
d="M12.2607 10.2985C12.2607 10.3929 12.2227 10.6004 12.1848 10.7702C12.1215 11.0155 12.1974 11.0721 12.5645 11.0721C12.9696 11.0721 13.0202 11.0155 13.0202 10.6004C13.0202 10.2042 12.9569 10.1287 12.6405 10.1287C12.4379 10.1287 12.2607 10.2042 12.2607 10.2985Z"
fill="white"
/>
<path
d="M13.2354 10.2419C13.1848 10.3174 13.1468 10.5438 13.1468 10.7325C13.1468 10.9966 13.2481 11.0721 13.6025 11.0721C13.9949 11.0721 14.0455 11.0155 14.0075 10.6381C13.9822 10.3551 13.8683 10.2042 13.6531 10.1664C13.4759 10.1287 13.286 10.1664 13.2354 10.2419Z"
fill="white"
/>
<path
d="M14.2481 10.2608C14.1974 10.3174 14.1594 10.5438 14.1594 10.7325C14.1594 10.9966 14.2607 11.0721 14.6151 11.0721C14.9822 11.0721 15.0582 11.0155 14.9949 10.7702C14.9569 10.6004 14.9189 10.3929 14.9189 10.2985C14.9189 10.1098 14.3746 10.0721 14.2481 10.2608Z"
fill="white"
/>
<path
d="M15.1721 10.5815C15.1721 10.9966 15.2227 11.0721 15.5645 11.0721C15.8936 11.0721 15.9443 11.0155 15.9063 10.6381C15.881 10.3363 15.767 10.2042 15.5265 10.1664C15.2227 10.1098 15.1721 10.1664 15.1721 10.5815Z"
fill="white"
/>
<path
d="M16.1088 10.3929C16.0075 10.7891 16.1468 11.0721 16.4506 11.0721C16.6405 11.0721 16.7037 10.9589 16.6658 10.657C16.6151 10.1476 16.2227 9.95889 16.1088 10.3929Z"
fill="white"
/>
<path
d="M11.4253 11.5627C11.4632 11.7325 11.5012 11.94 11.5012 12.0344C11.5012 12.223 11.9189 12.2796 12.0329 12.091C12.2101 11.8268 11.9569 11.2608 11.6658 11.2608C11.4253 11.2608 11.362 11.3363 11.4253 11.5627Z"
fill="white"
/>
<path
d="M12.1848 11.5627C12.2227 11.7325 12.2607 11.94 12.2607 12.0344C12.2607 12.1287 12.4379 12.2042 12.6405 12.2042C12.9569 12.2042 13.0202 12.1287 13.0202 11.7325C13.0202 11.3174 12.9696 11.2608 12.5645 11.2608C12.1974 11.2608 12.1215 11.3174 12.1848 11.5627Z"
fill="white"
/>
<path
d="M13.1468 11.7325C13.1468 12.1476 13.1974 12.2042 13.5898 12.2042C13.9822 12.2042 14.0329 12.1476 14.0329 11.7325C14.0329 11.3174 13.9822 11.2608 13.5898 11.2608C13.1974 11.2608 13.1468 11.3174 13.1468 11.7325Z"
fill="white"
/>
<path
d="M14.1594 11.7325C14.1594 12.1287 14.2227 12.2042 14.5265 12.2042C14.7797 12.2042 14.9063 12.091 14.9569 11.8457C15.0329 11.374 14.9569 11.2608 14.5139 11.2608C14.2227 11.2608 14.1594 11.3363 14.1594 11.7325Z"
fill="white"
/>
<path
d="M15.1341 11.6193C15.0582 12.091 15.1341 12.2042 15.5772 12.2042C15.8683 12.2042 15.9316 12.1287 15.9316 11.7325C15.9316 11.3363 15.8683 11.2608 15.5645 11.2608C15.3113 11.2608 15.1848 11.374 15.1341 11.6193Z"
fill="white"
/>
<path
d="M16.1468 11.3929C16.0961 11.4495 16.0582 11.6759 16.0582 11.8646C16.0582 12.1287 16.1341 12.223 16.3493 12.1664C16.7164 12.091 16.8303 11.2608 16.4632 11.2608C16.3367 11.2608 16.1848 11.3174 16.1468 11.3929Z"
fill="white"
/>
<path
d="M11.881 12.8646C12.1594 13.3174 12.5139 13.5061 12.5139 13.1853C12.5012 12.8457 12.1468 12.3929 11.881 12.3929H11.5898L11.881 12.8646Z"
fill="white"
/>
<path
d="M12.3873 12.5438C12.3873 12.6381 12.5012 12.8646 12.6405 13.0532C12.9443 13.4683 13.2734 13.3174 13.1848 12.7891C13.1341 12.5061 13.0202 12.3929 12.7544 12.3929C12.5518 12.3929 12.3873 12.4683 12.3873 12.5438Z"
fill="white"
/>
<path
d="M13.2734 12.6193C13.286 13.4117 13.9316 13.5815 14.0075 12.808C14.0455 12.4495 13.9949 12.3929 13.6658 12.3929C13.4379 12.3929 13.2734 12.4872 13.2734 12.6193Z"
fill="white"
/>
<path
d="M14.1594 12.8646C14.1594 13.4495 14.5898 13.5249 14.7924 12.9778C14.9822 12.4495 14.9569 12.3929 14.5392 12.3929C14.2227 12.3929 14.1594 12.4683 14.1594 12.8646Z"
fill="white"
/>
<path
d="M14.9949 12.6947C14.8683 13.1853 14.9063 13.3363 15.1594 13.3363C15.286 13.3363 15.4886 13.1476 15.6025 12.9023L15.8177 12.4872L15.7417 12.9023C15.6405 13.4683 15.8177 13.4495 16.1721 12.8834L16.4632 12.4306L15.767 12.4117C15.2481 12.4117 15.0455 12.4872 14.9949 12.6947Z"
fill="white"
/>
<path
d="M13.1848 13.7513C13.3113 13.8457 13.4632 13.8646 13.5392 13.8079C13.6025 13.7325 13.7417 13.7891 13.843 13.9023C13.9949 14.091 14.0329 14.0721 14.0329 13.8457C14.0329 13.6193 13.9063 13.5438 13.5012 13.5627C13.1088 13.5627 13.0329 13.6193 13.1848 13.7513Z"
fill="white"
/>
<path
d="M14.1594 13.8268C14.1594 14.091 14.1974 14.091 14.3493 13.9023C14.4506 13.7702 14.5392 13.6381 14.5392 13.6004C14.5392 13.5627 14.4506 13.5249 14.3493 13.5249C14.2481 13.5249 14.1594 13.657 14.1594 13.8268Z"
fill="white"
/>
<path
d="M14.6658 13.7136C14.6658 13.808 14.7544 13.8457 14.8556 13.7891C14.9569 13.7136 15.0455 13.6381 15.0455 13.6004C15.0455 13.5627 14.9569 13.5249 14.8556 13.5249C14.7544 13.5249 14.6658 13.6004 14.6658 13.7136Z"
fill="white"
/>
<path
d="M13.2987 15.6947C12.9822 16.657 12.9696 16.7325 13.1341 16.7325C13.1974 16.7325 13.324 16.4306 13.4 16.0721C13.4759 15.7136 13.5898 15.4117 13.6278 15.4117C13.6784 15.4117 13.8177 15.6759 13.9316 15.9778C14.0582 16.2985 14.2354 16.6004 14.3493 16.657C14.5645 16.7891 15.2481 16.4117 15.1341 16.2419C15.0962 16.1853 14.9443 16.2419 14.7924 16.3551C14.5519 16.5438 14.4632 16.5249 14.2481 16.2042C14.0202 15.8646 14.0202 15.7702 14.1594 15.5061C14.286 15.2796 14.4632 15.223 14.7924 15.2985C15.1974 15.3929 15.2227 15.374 14.9949 15.1287C14.6405 14.7325 14.3367 14.7702 14.1215 15.2419L13.9316 15.6381L13.843 15.2419C13.7164 14.657 13.6025 14.7513 13.2987 15.6947Z"
fill="white"
/>
<path
d="M8.03286 9.41173C7.71641 10.091 7.7797 10.4683 8.12147 9.97777C8.43793 9.5438 8.83033 9.43059 9.04552 9.75135C9.10881 9.84569 9.2354 9.86456 9.33666 9.75135C9.65312 9.46833 9.26071 8.99663 8.70375 8.99663C8.34932 8.99663 8.1721 9.10984 8.03286 9.41173Z"
fill="white"
/>
<path
d="M18.7924 9.35512C18.5265 9.78908 18.7544 9.97776 19.1974 9.69474C19.5139 9.46833 20.1088 9.77022 20.1088 10.1476C20.1088 10.2985 20.0202 10.2608 19.881 10.0721C19.6151 9.71361 19.2734 9.65701 19.1468 9.9589C19.1088 10.0721 18.9189 10.1098 18.7291 10.0532C18.4126 9.9589 18.4126 9.9589 18.6911 10.1664C18.881 10.3174 18.9696 10.5438 18.9696 10.94C18.9696 11.4872 18.9696 11.5061 19.2227 11.1664C19.4632 10.8457 19.4759 10.8457 19.4759 11.1664C19.4759 11.8268 19.1215 12.1664 18.5772 12.0721C18.0835 11.9589 18.0835 11.9778 18.0835 12.6193C18.0835 12.9778 18.0202 13.3551 17.9443 13.4683C17.8557 13.6004 17.843 13.9212 17.8936 14.2796C17.9569 14.6759 18.0202 14.8268 18.1088 14.6947C18.1848 14.5815 18.1848 14.374 18.0835 14.091C17.8936 13.5815 18.0202 13.374 18.3367 13.6759C18.6405 13.9589 18.6784 13.6381 18.4 13.223C18.1848 12.8834 18.1341 12.1098 18.3493 12.2985C18.4253 12.374 18.4506 12.5438 18.4126 12.6947C18.3746 12.8457 18.4 12.9589 18.4632 12.9589C18.7164 12.9589 19.843 14.8646 19.9316 15.4495C20.1088 16.657 20.0708 16.94 19.6531 17.4117C19.4253 17.6759 19.2227 18.0532 19.1848 18.2419C19.0962 18.7702 19.3367 18.7136 19.4632 18.1664C19.5772 17.7702 20.4506 16.808 20.5645 16.9778C20.5898 17.0155 20.4379 17.2796 20.2354 17.5815C19.8936 18.0721 19.6784 19.1853 19.9822 18.9023C20.0582 18.8268 20.0835 18.7136 20.0455 18.6381C20.0202 18.5438 20.1848 18.1476 20.4126 17.7325C20.7544 17.1476 20.8177 16.9212 20.7164 16.657C20.6151 16.3929 20.6658 16.2042 20.9696 15.7325C21.4126 15.0344 21.3746 14.7702 20.7164 13.9212C20.286 13.3551 20.248 13.223 20.248 12.3363C20.2734 10.4683 20.1721 9.35512 19.9822 9.18531C19.6658 8.88342 19.0202 8.97776 18.7924 9.35512Z"
fill="white"
/>
<path
d="M8.37463 9.90229C8.09615 10.1664 7.83033 11.4117 7.83033 12.3929C7.83033 13.2985 7.79236 13.4117 7.18476 14.2985C6.83033 14.8079 6.43793 15.223 6.31134 15.223C6.15944 15.223 6.07084 15.3929 6.03286 15.7513C5.98223 16.2419 6.19742 16.8268 6.34932 16.6193C6.45058 16.4683 6.37463 17.5627 6.27337 17.8079C6.12147 18.1664 6.31134 18.1098 6.60248 17.7325C6.84299 17.4117 6.84299 17.4117 6.75438 17.8457C6.69109 18.1664 6.70375 18.2419 6.81767 18.1476C6.90628 18.0721 6.94426 17.7325 6.91894 17.374C6.89362 17.0155 6.91894 16.7325 6.98223 16.7325C7.04552 16.7325 7.03286 16.6004 6.94426 16.4495C6.85565 16.2796 6.81767 16.1098 6.85565 16.0344C6.90628 15.9778 6.88096 15.8079 6.80501 15.657C6.58982 15.2796 6.84299 15.374 7.18476 15.7891C7.41261 16.0721 7.46324 16.2796 7.39995 16.657C7.33666 17.0155 7.39995 17.2796 7.66577 17.7513C7.85565 18.091 8.0835 18.5249 8.1721 18.7325C8.31134 19.0721 8.324 19.0721 8.324 18.6759C8.33666 18.4495 8.15944 17.9966 7.94426 17.6759C7.72907 17.3551 7.57717 17.0532 7.61514 16.9966C7.75438 16.7891 8.58982 17.7891 8.70375 18.2985C8.85565 18.94 9.0202 18.9778 8.91894 18.3362C8.86831 18.0721 8.65312 17.6193 8.43793 17.3174C8.07084 16.8268 8.05818 16.7513 8.13413 15.9212C8.22274 15.0532 8.34932 14.7513 9.18476 13.4683C9.53919 12.9212 9.66577 12.8457 9.79236 13.1476C9.83033 13.2419 9.7797 13.3362 9.67843 13.3362C9.56451 13.3362 9.4759 13.4683 9.4759 13.6193C9.4759 13.9589 9.6278 13.9778 9.81767 13.6947C10.0455 13.3551 10.2607 13.6759 10.0962 14.1287C10.0075 14.374 10.0075 14.5815 10.0835 14.6947C10.2607 14.9589 10.4 13.9778 10.2354 13.5249C10.1721 13.3362 10.1088 12.9023 10.1088 12.5815C10.1088 11.9966 10.0962 11.9966 9.61514 12.0344C9.26071 12.0721 9.03286 11.9966 8.85565 11.7513C8.57717 11.374 8.50122 10.8834 8.71641 10.8834C8.79236 10.8834 8.84299 10.9589 8.84299 11.0532C8.84299 11.1476 8.9316 11.2796 9.04552 11.3362C9.19742 11.4306 9.22274 11.3551 9.14679 11.0344C9.09615 10.7513 9.14679 10.5438 9.33666 10.3362L9.60248 10.0344L9.31134 10.0155C9.15945 9.99663 8.91894 9.92116 8.7797 9.86455C8.64046 9.80795 8.46324 9.80795 8.37463 9.90229ZM9.95691 12.7702C9.9316 12.8834 9.85565 12.8834 9.72907 12.7702C9.56451 12.6004 9.56451 12.5627 9.72907 12.3929C9.91894 12.2042 10.0455 12.3929 9.95691 12.7702Z"
fill="white"
/>
<path
d="M21.362 15.5061C21.3367 15.94 21.3113 16.0532 21.2354 16.2608C21.1974 16.3551 21.1974 16.8646 21.2481 17.3929C21.2987 17.9023 21.3493 18.1287 21.362 17.8646C21.3746 17.4495 21.4 17.4306 21.5139 17.7136C21.6911 18.1853 21.9189 18.1476 21.7544 17.6759C21.6784 17.4495 21.6658 17.2985 21.7417 17.2985C21.805 17.2985 21.8303 17.1098 21.7924 16.8646C21.7417 16.5249 21.7544 16.5061 21.8683 16.7325C21.9822 16.9778 22.0076 16.9589 22.0202 16.6381C22.1088 15.2797 22.0962 15.223 21.7291 15.223C21.5012 15.223 21.3746 15.3363 21.362 15.5061Z"
fill="white"
/>
</g>
<defs>
<filter
id="filter0_d"
x="0"
y="0"
width="28"
height="28"
filterUnits="userSpaceOnUse"
color-interpolation-filters="sRGB"
>
<feFlood flood-opacity="0" result="BackgroundImageFix" />
<feColorMatrix
in="SourceAlpha"
type="matrix"
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
/>
<feOffset dy="4" />
<feGaussianBlur stdDeviation="2" />
<feColorMatrix
type="matrix"
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"
/>
<feBlend
mode="normal"
in2="BackgroundImageFix"
result="effect1_dropShadow"
/>
<feBlend
mode="normal"
in="SourceGraphic"
in2="effect1_dropShadow"
result="shape"
/>
</filter>
</defs>
</svg>
</g>
<g transform="translate(30, 5)">
<text x="0" y="0" class="site" data-testid="header">At Coder</text>
</g>
<g transform="translate(150, 5)">
<text x="0" y="0" class="atCoder" data-testid="header">
${rating.atcoder}
</text>
</g>
</g>
</svg>`;
res.setHeader("Content-Type", "image/svg+xml");
res.send(svg);
};