PageSourceSearch

https://cybershoke.net/assets/ServerModal-CWr5fO8S.js

js cybershoke.net collected 2026-10-04 05:21:58 UTC 59,219 bytes, 1,237 lines download raw bytes

1import{r as l,j as e,i as k,R as kn}from"./vendor-react-BGN68_Lp.js";import{u as Ln,y as ut,q as $,T as $n,z as _n,g as x,A as Ne,t as bt,B as Sn,s as Tn,b as ze,E as ae,N as re,C as le,D as In,F as vt,G as Mn,H as Nn,I as zn}from"./index-uear5Vpj.js";import{a as Rn,u as j}from"./vendor-redux-D8sX5Eqv.js";import{D as Fn,L as Re,M as Hn}from"./lobby-settings-BrXp16HJ.js";import{G as Pn,C as jt}from"./Curtain-JIs9jbRB.js";import{g as i,E as Bt}from"./vendor-styled-pkIKgjgv.js";import{u as En}from"./vendor-i18n-BWleq_Sd.js";import"./vendor-socket-DSYo_sTV.js";import"./vendor-router-CYD8mbvC.js";import"./premiumGroups-B_5uzJUp.js";import"./MatchIcons-CVn1p0ME.js";const An=i.div`
2    width: fit-content;
3    max-width: min(1116px, calc(100vw - 32px));
4    max-height: calc(100dvh - 32px);
5    z-index: 1000000;
6    border-radius: 12px;
7    overflow-x: hidden;
8    overflow-y: auto;
9    background: #171c2a;
10    box-shadow: 0 4px 134px 0 rgba(0, 0, 0, 0.37);
11
12    &.arcticmodal {
13        display: block;
14    }
15
16    @media (max-width: 1000px) {
17        width: calc(100vw - 32px);
18    }
19`,Bn=i.div`
20    position: relative;
21    display: flex;
22    height: 200px;
23    box-sizing: border-box;
24    flex-direction: column;
25    align-items: center;
26    justify-content: flex-end;
27    gap: 32px;
28    padding: 24px 24px 32px;
29
30    > *:not(button) {
31        opacity: ${({$ready:n})=>n?1:0};
32        transition: opacity 0.25s ease;
33    }
34
35    @media (max-width: 900px) {
36        height: auto;
37        gap: 24px;
38        padding: 72px 16px 20px;
39    }
40`,Vn=i.div`
41    position: absolute;
42    inset: 0;
43    overflow: hidden;
44
45    img {
46        width: 100%;
47        height: 100%;
48        object-fit: cover;
49    }
50
51    &::after {
52        content: '';
53        position: absolute;
54        inset: 0;
55        background:
56            radial-gradient(
57                96.08% 100% at 50% 0%,
58                rgba(23, 28, 42, 0) 0%,
59                rgba(23, 28, 42, 1) 100%
60            ),
61            rgba(23, 28, 42, 0.44);
62    }
63`,Dn=i.div`
64    position: relative;
65    z-index: 1;
66    display: flex;
67    flex-direction: column;
68    align-items: center;
69    gap: 12px;
70`,On=i.h2`
71    margin: 0;
72    color: #c7d3e2;
73    font-family: 'Roboto Condensed', sans-serif;
74    font-size: 44px;
75    font-weight: 800;
76    line-height: 0.8;
77    letter-spacing: -1px;
78    text-align: center;
79    text-transform: uppercase;
80
81    @media (max-width: 900px) {
82        font-size: 28px;
83        line-height: 1.1;
84    }
85`,Zn=i.div`
86    position: relative;
87    z-index: 1;
88    display: flex;
89    flex-wrap: wrap;
90    align-items: flex-start;
91    justify-content: center;
92    gap: 8px;
93`,U=i.div`
94    display: flex;
95    align-items: center;
96    gap: 8px;
97    box-sizing: border-box;
98    height: 32px;
99    padding: 8px 12px;
100    border-radius: 8px;
101    background: ${({$accent:n})=>n?"#5cd48b":"rgba(145, 175, 253, 0.08)"};
102    color: ${({$accent:n})=>n?"#002d11":"#fff"};
103    font-size: 14px;
104    font-weight: 500;
105    line-height: 16px;
106    white-space: nowrap;
107
108    b {
109        color: #7a8697;
110        font-weight: 500;
111    }
112
113    svg,
114    img {
115        width: 16px;
116        height: 16px;
117        flex: 0 0 auto;
118    }
119
120    b {
121        color: #7a8697;
122        font-size: 14px;
123        font-weight: 500;
124    }
125
126    span {
127        font-size: 14px;
128        font-weight: 500;
129    }
130`,Gn=i.div`
131    display: flex;
132    align-items: center;
133    gap: 8px;
134
135    div {
136        display: flex;
137        align-items: center;
138        gap: 4px;
139    }
140
141    img {
142        width: 16px;
143        height: 16px;
144    }
145`,Wn=i(U)`
146    gap: 6px;
147    color: #d9e4ff;
148`,Un=i.div`
149    display: flex;
150    align-items: center;
151    gap: 2px;
152
153    ${U} {
154        padding-right: 8px;
155        border-radius: 8px 0 0 8px;
156    }
157`,Kn=i.button`
158    display: flex;
159    align-items: center;
160    justify-content: center;
161    width: 32px;
162    height: 32px;
163    border-radius: 0 8px 8px 0;
164    background: rgba(145, 175, 253, 0.08);
165    color: #91affd;
166    cursor: pointer;
167    transition: background 0.3s ease;
168
169    svg {
170        width: 16px;
171        height: 16px;
172        transition: transform 0.3s ease-out;
173    }
174
175    &:hover,
176    &:focus-visible {
177        background: rgba(145, 175, 253, 0.14);
178        filter: none !important;
179        outline: none;
180    }
181
182    &:hover svg {
183        transform: rotate(180deg);
184    }
185
186    @media (prefers-reduced-motion: reduce) {
187        svg {
188            transition: none;
189        }
190    }
191`,qn=i.span`
192    display: flex;
193    flex-direction: column;
194    gap: 2px;
195    font-size: 12px;
196    line-height: 16px;
197    font-weight: 400;
198    text-align: left;
199
200    b {
201        color: #d9e4ff;
202        font-weight: 400;
203    }
204
205    span {
206        color: #91affd;
207    }
208`,Yn=i.span`
209    display: flex;
210    align-items: center;
211    gap: 4px;
212`,Xn=i.span`
213    display: flex;
214    align-items: center;
215    gap: 3px;
216    color: ${({$color:n})=>n};
217    line-height: 12px;
218
219    svg {
220        width: 12px;
221        height: 12px;
222    }
223`,Jn=i.img`
224    width: auto !important;
225    height: 18px !important;
226    flex: 0 0 auto;
227`,Ct=i.img`
228    width: 24px !important;
229    height: 24px !important;
230    flex: 0 0 auto;
231`,Qn=i.img`
232    width: 12px !important;
233    height: 12px !important;
234    border-radius: 30px;
235    object-fit: cover;
236`,ei=i.button`
237    position: absolute;
238    z-index: 2;
239    top: 20px;
240    right: 20px;
241    display: flex;
242    width: 16px;
243    height: 16px;
244    align-items: center;
245    justify-content: center;
246    background: transparent;
247    opacity: 0.6;
248    transition: opacity 0.2s ease;
249
250    &:hover {
251        opacity: 1;
252    }
253
254    svg {
255        width: 16px;
256        height: 16px;
257    }
258`,ti=i.div`
259    display: grid;
260    grid-template-columns: minmax(0, 596px) ${({$side:n})=>n}px;
261    gap: 16px;
262    padding: 16px;
263
264    @media (max-width: 1000px) {
265        grid-template-columns: minmax(0, 1fr);
266    }
267`,ni=i.div`
268    position: relative;
269    display: flex;
270    min-width: 0;
271    height: 428px;
272    flex-direction: column;
273    box-sizing: border-box;
274    padding: 8px;
275    overflow-x: auto;
276    overflow-y: hidden;
277    border-radius: 12px;
278    background: #1c2334;
279
280    & > * {
281        min-width: 560px;
282    }
283
284    &::after {
285        content: '';
286        position: absolute;
287        right: 0;
288        bottom: 0;
289        left: 0;
290        height: 90px;
291        pointer-events: none;
292        background: linear-gradient(
293            180deg,
294            rgba(28, 35, 52, 0) 0%,
295            #1c2334 75%
296        );
297        transition: opacity 0.25s ease;
298    }
299
300    &.at-end::after {
301        opacity: 0;
302    }
303
304    @media (prefers-reduced-motion: reduce) {
305        &::after {
306            transition: none;
307        }
308    }
309`,ii=i.div`
310    display: flex;
311    flex: 1;
312    min-height: 0;
313    flex-direction: column;
314    gap: 2px;
315    padding-right: 4px;
316    overflow-x: hidden;
317    overflow-y: auto;
318`,yt=i.div`
319    display: grid;
320    align-items: center;
321    grid-template-columns: ${({$columns:n})=>n};
322    flex: 0 0 auto;
323    height: ${({$header:n})=>n?"40px":"48px"};
324    border-bottom: ${({$header:n})=>n?"2px solid rgba(145, 175, 253, 0.08)":"0"};
325    background: ${({$header:n,$striped:c,$selected:L})=>L?"rgba(96, 128, 255, 0.12)":!n&&c?"rgba(145, 175, 253, 0.04)":"transparent"};
326
327    ${({$dense:n})=>n&&`> div:nth-child(n + 3) {
328            padding-left: 10px;
329            padding-right: 10px;
330        }`}
331`,ce=i.div`
332    display: flex;
333    align-items: center;
334    gap: 4px;
335    padding: 0 16px;
336    color: #7a8697;
337    font-size: 14px;
338    font-weight: 500;
339    white-space: nowrap;
340
341    &.avatar {
342        padding: 0 12px 0 24px;
343    }
344
345    &.name {
346        padding: 0;
347    }
348
349    &.counter {
350        justify-content: center;
351        padding: 0 0 0 12px;
352    }
353
354    &.center {
355        justify-content: center;
356    }
357
358    &.sortable {
359        cursor: pointer;
360        user-select: none;
361    }
362
363    img.sort {
364        width: 6px;
365        margin-left: 4px;
366    }
367
368    img.sort.desc {
369        transform: rotate(180deg);
370    }
371
372    svg {
373        width: 16px;
374        height: 16px;
375        flex: 0 0 auto;
376    }
377`,si=i.div`
378    display: flex;
379    align-items: center;
380    justify-content: center;
381    padding: 0 12px 0 24px;
382
383    & > a,
384    & > div {
385        display: flex;
386        align-items: flex-end;
387    }
388`,oi=i.img`
389    width: 24px;
390    height: 24px;
391    margin-right: -6px;
392    border-radius: 100%;
393    background: linear-gradient(to top, #3b4851 51%, #252d30 88%);
394    object-fit: cover;
395
396    &.premium {
397        border: 2px solid #fdb510;
398    }
399
400    &.premium-lite {
401        border: 2px solid #6080ff;
402    }
403`,ai=i.img`
404    position: relative;
405    top: 3px;
406    box-sizing: content-box;
407    flex: 0 0 auto;
408    width: 12px;
409    height: 12px;
410    border: 2px solid #181d2b;
411    border-radius: 30px;
412    object-fit: cover;
413`,ri=i.div`
414    display: flex;
415    min-width: 0;
416    align-items: center;
417    gap: 6px;
418
419    a,
420    & > span {
421        overflow: hidden;
422        color: #e1e9fd;
423        font-size: 14px;
424        font-weight: 500;
425        text-overflow: ellipsis;
426        white-space: nowrap;
427    }
428`,li=i.div`
429    display: flex;
430    align-items: center;
431    justify-content: flex-end;
432    gap: 2px;
433`,wt={1:"#fcc251",2:"#a5c9ff",3:"#d48f71"},W=i.span`
434    display: flex;
435    align-items: center;
436    gap: 4px;
437    padding: 4px 6px;
438    border-radius: 4px;
439    background: ${({$place:n}
439)=>wt[n]??"#28314e"};
440    color: ${({$place:n})=>wt[n]?"#000":"#8fa5ff"};
441    font-size: 12px;
442    font-weight: 600;
443    line-height: 12px;
444    white-space: nowrap;
445
446    svg,
447    img {
448        width: 12px;
449        height: 12px;
450        flex: 0 0 auto;
451    }
452
453    svg {
454        width: auto;
455        height: 8px;
456    }
457
458    svg.cup {
459        width: 12px;
460        height: 12px;
461    }
462`,u=i.div`
463    display: flex;
464    align-items: center;
465    gap: 4px;
466    padding: 0 16px;
467
468    img {
469        width: 20px;
470        height: 20px;
471        object-fit: contain;
472    }
473    color: #e1e9fd;
474    font-size: 14px;
475    font-weight: 400;
476    white-space: nowrap;
477
478    b {
479        color: #7a8697;
480        font-weight: 400;
481    }
482
483    &.center {
484        justify-content: center;
485    }
486`,Z=i.div`
487    display: flex;
488    min-width: 0;
489    height: 428px;
490    flex-direction: column;
491    gap: 16px;
492`,ci=i.div`
493    display: flex;
494    align-items: center;
495    justify-content: space-between;
496    padding: 12px;
497    border-radius: 8px;
498    background:
499        linear-gradient(
500            270deg,
501            rgba(25, 30, 40, 0) 60.9%,
502            rgba(30, 34, 41, 0) 64.4%,
503            rgba(52, 49, 43, 0.4) 77.7%,
504            rgba(111, 90, 50, 0.4) 102.9%
505        ),
506        rgba(145, 175, 253, 0.04);
507`,di=i.div`
508    display: flex;
509    min-width: 0;
510    align-items: center;
511    gap: 8px;
512    color: #fff;
513    font-size: 14px;
514    font-weight: 500;
515    line-height: 16px;
516
517    img {
518        width: 16px;
519        height: 16px;
520        flex: 0 0 auto;
521        border-radius: 100%;
522        object-fit: cover;
523    }
524
525    span {
526        max-width: 160px;
527        overflow: hidden;
528        text-overflow: ellipsis;
529        white-space: nowrap;
530    }
531`,pi=i.div`
532    display: flex;
533    flex: 0 0 auto;
534    align-items: center;
535    gap: 4px;
536    color: #fff;
537    font-size: 14px;
538    font-weight: 500;
539    line-height: 16px;
540`,de=i.div`
541    position: relative;
542    display: flex;
543    flex: 1;
544    min-height: 0;
545    flex-direction: column;
546    gap: 2px;
547    overflow: hidden;
548    border-radius: 8px;
549    background: ${({$loading:n})=>n?"#1c2334":"transparent"};
550`,Pe=i.div`
551    display: flex;
552    flex: 0 0 auto;
553    align-items: center;
554    justify-content: space-between;
555    padding: 12px 14px;
556    background: rgba(145, 175, 253, 0.04);
557`,kt=i.div`
558    display: flex;
559    align-items: center;
560    gap: ${({$tight:n})=>n?"4px":"12px"};
561    color: #7a8697;
562    font-size: 14px;
563    font-weight: 500;
564    line-height: 16px;
565
566    & > svg {
567        width: 16px;
568        height: 16px;
569        flex: 0 0 auto;
570    }
571`,xi=i.span`
572    flex: 0 0 24px;
573    width: 24px;
574    color: #7a8697;
575    font-size: 14px;
576    font-weight: 500;
577    line-height: 16px;
578    text-align: center;
579`,Lt=i.button`
580    display: flex;
581    align-items: center;
582    gap: 4px;
583    background: transparent;
584    color: #8fa5ff;
585    font-size: 14px;
586    font-weight: 600;
587    line-height: 16px;
588
589    svg {
590        width: 14px;
591        height: 11px;
592    }
593
594    &:disabled {
595        cursor: default;
596    }
597`,gi=i.div`
598    position: relative;
599    display: flex;
600    flex: 1;
601    min-height: 0;
602    flex-direction: column;
603    gap: 2px;
604    padding-right: 4px;
605    overflow-x: hidden;
606    overflow-y: auto;
607    background: rgba(145, 175, 253, 0.04);
608
609    &&::-webkit-scrollbar {
610        background: transparent;
611    }
612
613    & > :nth-last-child(2) {
614        margin-bottom: 56px;
615    }
616`,hi=i.div`
617    display: flex;
618    flex: 0 0 auto;
619    align-items: center;
620    justify-content: space-between;
621    padding: 12px 14px;
622    background: ${({$me:n})=>n?"linear-gradient(270deg, rgba(40, 53, 113, 0) 0%, rgba(46, 63, 138, 0.6) 100%)":"transparent"};
623    transition: background-color 0.2s ease;
624
625    ${({$clickable:n})=>n&&`cursor: pointer;
626
627        &:hover {
628            background-color: rgba(145, 175, 253, 0.06);
629        }`}
630`,mi=i.span`
631    flex: 0 0 auto;
632    min-width: 24px;
633    max-width: none !important;
634    overflow: visible !important;
635    text-overflow: clip !important;
636    color: ${({$me:n})=>n?"#6080ff":"#d9e4ff"};
637    font-size: ${({$digits:n})=>n>4?10:n>3?11:n>2?12:14}px;
638    white-space: nowrap;
639    font-weight: 500;
640    text-align: center;
641    font-variant-numeric: lining-nums tabular-nums;
642`,fi=i.div`
643    display: flex;
644    min-width: 0;
645    align-items: center;
646    gap: 12px;
647
648    & > div {
649        display: flex;
650        min-width: 0;
651        align-items: center;
652        gap: 6px;
653        color: ${({$me:n})=>n?"#6080ff":"#d9e4ff"};
654        font-size: 14px;
655        font-weight: 500;
656    }
657
658    & > div span {
659        color: inherit;
660    }
661
662    img {
663        width: 16px;
664        height: 16px;
665        flex: 0 0 auto;
666        border-radius: 100%;
667        object-fit: cover;
668    }
669
670    span {
671        max-width: 140px;
672        overflow: hidden;
673        text-overflow: ellipsis;
674        white-space: nowrap;
675    }
676`,ui=i.div`
677    display: flex;
678    flex: 0 0 auto;
679    align-items: center;
680    gap: 12px;
681    color: #fff;
682    font-size: 14px;
683    font-weight: 500;
684    line-height: 16px;
685    font-variant-numeric: lining-nums tabular-nums;
686
687    em {
688        color: #85f479;
689        font-style: normal;
690        font-weight: 400;
691    }
692
693    & > div {
694        display: flex;
695        align-items: center;
696        gap: 4px;
697    }
698`,bi="linear-gradient(to top, rgba(28,34,50,1) 0px, rgba(28,34,50,1) 12px, rgba(28,34,50,0.972) 12.7px, rgba(28,34,50,0.896) 14.8px, rgba(28,34,50,0.784) 18px, rgba(28,34,50,0.648) 22.2px, rgba(28,34,50,0.5) 27.1px, rgba(28,34,50,0.352) 32.5px, rgba(28,34,50,0.216) 38.3px, rgba(28,34,50,0.104) 44.3px, rgba(28,34,50,0.028) 50.3px, rgba(28,34,50,0) 56px)",$t=i.div`
699    position: sticky;
700    z-index: 1;
701    flex: 0 0 ${({$bottom:n})=>n?56:42}px;
702    pointer-events: none;
703    background: ${({$bottom:n})=>n?bi:"linear-gradient(0deg, rgba(28, 34, 50, 0) 0%, #1c2232 75%)"};
704    opacity: ${({$hidden:n})=>n?0:1};
705    transition: opacity 0.25s ease;
706    ${({$bottom:n})=>n?"bottom: 0; margin-top: -56px;":"top: 0; margin-bottom: -42px;"}
707
708    @media (prefers-reduced-motion: reduce) {
709        transition: none;
710    }
711`,Vt=i.button`
712    display: flex;
713    flex: 0 0 auto;
714    align-items: center;
715    justify-content: space-between;
716    padding: 16px 14px;
717    background: rgba(96, 128, 255, 0.12);
718    color: #6080ff;
719    font-size: 13px;
720    font-weight: 500;
721    line-height: 14px;
722`,vi=i.div`
723    display: flex;
724    flex: 1;
725    min-height: 0;
726    flex-direction: column;
727    gap: 8px;
728    box-sizing: border-box;
729    padding: 8px;
730    border-radius: 12px;
731    background: #1c2334;
732`,ji=i.div`
733    position: relative;
734    flex: 1 1 auto;
735    min-height: 0;
736    overflow: hidden;
737    border-radius: 8px;
738    background: rgba(145, 175, 253, 0.04);
739
740    img {
741        width: 100%;
742        height: 100%;
743        object-fit: cover;
744    }
745
746    &::after {
747        content: '';
748        position: absolute;
749        inset: 0;
750        background: linear-gradient(
751            180deg,
752            rgba(28, 35, 52, 0) 40%,
753            rgba(28, 35, 52, 0.7) 100%
754        );
755    }
756`,Ci=i.span`
757    position: absolute;
758    z-index: 1;
759    bottom: 10px;
760    left: 12px;
761    color: #fff;
762    font-size: 14px;
763    font-weight: 700;
764    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
765`,yi=i.div`
766    display: flex;
767    flex: 0 0 auto;
768    min-height: 0;
769    flex-direction: column;
770    gap: 2px;
771    overflow-x: hidden;
772    overflow-y: auto;
773    border-radius: 8px;
774
775    &::-webkit-scrollbar {
776        width: 0;
777    }
778`,wi=i.div`
779    display: flex;
780    flex: 0 0 auto;
781    align-items: center;
782    justify-content: space-between;
783    gap: 12px;
784    padding: 12px 14px;
785    background: rgba(145, 175, 253, 0.04);
786    font-size: 14px;
787    font-weight: 500;
788    line-height: 16px;
789
790    b {
791        color: #7a8697;
792        font-weight: 500;
793    }
794
795    span {
796        overflow: hidden;
797        color: #fff;
798        text-overflow: ellipsis;
799        white-space: nowrap;
800    }
801`,_=i.span`
802    display: flex;
803    height: 20px;
804    flex: 0 0 auto;
805    align-items: center;
806
807    svg {
808        width: 25px;
809        height: 25px;
810    }
811`,pe=i.div`
812    display: flex;
813    flex: 1;
814    min-height: 0;
815    align-items: center;
816    justify-content: center;
817    border-radius: 8px;
818    background: rgba(145, 175, 253, 0.04);
819
820    img {
821        filter: brightness(2);
822    }
823`,ki=i.div`
824    display: flex;
825    flex: 0 0 auto;
826    gap: 2px;
827    overflow: hidden;
828    border-radius: 8px;
829`,_t=i.button`
830    display: flex;
831    flex: 0 0 auto;
832    align-items: center;
833    padding: 16px 14px;
834    border-radius: 8px;
835    background: rgba(96, 128, 255, 0.12);
836`,Li=i.div`
837    display: flex;
838    align-items: center;
839    gap: 4px;
840    color: #7a8697;
841    font-size: 14px;
842    font-weight: 500;
843    line-height: 16px;
844
845    b {
846        color: #6080ff;
847        font-weight: 500;
848    }
849
850    span {
851        color: inherit;
852    }
853
854    img {
855        width: 16px;
856        height: 16px;
857        flex: 0 0 auto;
858        border-radius: 50%;
859        object-fit: cover;
860    }
861`,$i=i.div`
862    position: relative;
863    display: flex;
864    align-items: center;
865    padding: 4px;
866    border-radius: 30px;
867    background: #171c2a;
868`,_i=i.span`
869    position: absolute;
870    top: 4px;
871    bottom: 4px;
872    left: 0;
873    border-radius: 30px;
874    background: #6080ff;
875    transition: ${({$animate:n})=>n?"transform 0.25s ease, width 0.25s ease":"none"};
876`,Si=i.button`
877    z-index: 1;
878    display: flex;
879    align-items: center;
880    justify-content: center;
881    gap: 4px;
882    padding: 4px 12px;
883    border-radius: 30px;
884    background: transparent;
885    color: ${({$active:n})=>n?"#fff":"#6080ff"};
886    font-size: 14px;
887    font-weight: 500;
888    line-height: 16px;
889    transition: color 0.25s ease;
890`,Ti=i.div`
891    display: flex;
892    flex: 1;
893    min-height: 0;
894    flex-direction: column;
895    gap: 24px;
896    padding: 12px 14px;
897    box-shadow: inset 0 -6px 13.8px 0 #1c2232;
898    background:
899        radial-gradient(
900            58% 26% at 0% 100%,
901            rgba(59, 105, 245, 0.32) 0%,
902            rgba(59, 105, 245, 0.16) 50%,
903            rgba(59, 105, 245, 0) 100%
904        ),
905        radial-gradient(
906            58% 26% at 100% 100%,
907            rgba(59, 105, 245, 0.32) 0%,
908            rgba(59, 105, 245, 0.16) 50%,
909            rgba(59, 105, 245, 0) 100%
910        ),
911        rgba(145, 175, 253, 0.04);
912`,Ii=i.div`
913    position: relative;
914    display: flex;
915    flex: 1;
916    min-height: 0;
917    flex-direction: column;
918    overflow: hidden;
919`,Mi=i.span`
920    position: absolute;
921    top: 0;
922    right: 0;
923    bottom: 0;
924    width: calc(100% / ${({$columns:n})=>n});
925    border-radius: 8px 8px 0 0;
926    background: linear-gradient(
927        180deg,
928        rgba(96, 128, 255, 0.08) 0%,
929        rgba(96, 128, 255, 0.08) 55%,
930        rgba(96, 128, 255, 0) 100%
931    );
932`,Ni=i.div`
933    display: grid;
934    flex: 0 0 auto;
935    grid-auto-flow: column;
936    grid-auto-columns: minmax(0, 1fr);
937`,zi=i.div`
938    display: flex;
939    flex-direction: column;
940    align-items: center;
941    padding-top: 4px;
942    color: rgba(96, 128, 255, 0.62);
943    font-size: 14px;
944    font-weight: 500;
945    line-height: 16px;
946
947    span {
948        position: relative;
949        width: 100%;
950        margin-top: 12px;
951        border-top: 2px ${({$gap:n})=>n?"dashed":"solid"} #6080ff;
952    }
953
954    span::after {
955        content: '';
956        position: absolute;
957        top: -5px;
958        left: 50%;
959        width: 8px;
960        height: 8px;
961        box-sizing: border-box;
962        transform: translateX(-50%);
963        border: 2px solid #6080ff;
964        border-radius: 50%;
965        background: #1c2232;
966    }
967`,Ri=Bt`
968    from {
969        transform: scaleY(0);
970    }
971
972    to {
973        transform: scaleY(1);
974    }
975`,Fi=Bt`
976    from {
977        opacity: 0;
978        transform: translate(-50%, -50%) scale(0.4);
979    }
980
981    to {
982        opacity: 1;
983        transform: translate(-50%, -50%) scale(1);
984    }
985`,Hi=i.div`
986    position: relative;
987    flex: 1;
988    min-height: 0;
989    margin-top: 16px;
990
991    svg {
992        position: absolute;
993        inset: 0;
994        width: 100%;
995        height: 100%;
996        overflow: visible;
997    }
998
999    polyline {
1000        transform-box: fill-box;
1001        transform-origin: bottom;
1002        animation: ${Ri} 700ms cubic-bezier(0.33, 1, 0.68, 1) both;
1003    }
1004
1005    @media (prefers-reduced-motion: reduce) {
1006        polyline {
1007            animation: none;
1008        }
1009    }
1010`,Pi=i.div`
1011    position: absolute;
1012    inset: 0;
1013    display: grid;
1014    grid-auto-flow: column;
1015    grid-auto-columns: minmax(0, 1fr);
1016`,Ei=i.b`
1017    position: absolute;
1018    left: 0;
1019    right: 0;
1020    top: ${({$top:n})=>n}%;
1021    height: 1px;
1022    margin-top: -1px;
1023    background: repeating-linear-gradient(
1024        90deg,
1025        rgba(122, 134, 151, 0.1) 0 4px,
1026        transparent 4px 8px
1027    );
1028    font-size: 14px;
1029    font-weight: 500;
1030    line-height: 16px;
1031
1032    em {
1033        position: absolute;
1034        bottom: 2px;
1035        color: rgba(96, 128, 255, 0.62);
1036        font-style: normal;
1037    }
1038`,Ai=i.div`
1039    display: flex;
1040    flex: 0 0 auto;
1041    align-items: center;
1042    justify-content: space-between;
1043    width: 100%;
1044`,Fe=i.div`
1045    display: flex;
1046    flex: 1;
1047    min-width: 0;
1048    flex-direction: column;
1049    align-items: ${({$align:n})=>n};
1050    white-space: nowrap;
1051
1052    b {
1053        color: #fff;
1054        font-size: 14px;
1055        font-weight: 500;
1056        line-height: 16px;
1057    }
1058
1059    span {
1060        color: #7a8697;
1061        font-size: 14px;
1062        font-weight: 500;
1063        line-height: 16px;
1064    }
1065`,Bi=i.span`
1066    position: absolute;
1067    width: 16px;
1068    height: 16px;
1069    transform: translate(-50%, -50%);
1070    border-radius: 50%;
1071    background: #6080ff;
1072    animation: ${Fi} 200ms ease-out 500ms both;
1073
1074    @media (prefers-reduced-motion: reduce) {
1075        animation: none;
1076    }
1077`,Vi=i(pe)`
1078    height: 428px;
1079`,Di=i(Pe)`
1080    gap: 12px;
1081    padding: 12px;
1082    background:
1083        linear-gradient(
1084            90deg,
1085            rgba(0, 255, 143, 0) 50%,
1086            rgba(0, 255, 143, 0.2) 100%
1087        ),
1088        rgba(145, 175, 253, 0.04);
1089`,Oi=i.div`
1090    display: flex;
1091    min-width: 0;
1092    align-items: center;
1093    gap: 4px;
1094    color: #7a8697;
1095    font-size: 14px;
1096    font-weight: 500;
1097    line-height: 16px;
1098    white-space: nowrap;
1099
1100    b {
1101        overflow: hidden;
1102        color: #fff;
1103        font-weight: 500;
1104        text-overflow: ellipsis;
1105    }
1106
1107    img {
1108        width: 16px;
1109        height: 16px;
1110        flex: 0 0 auto;
1111        border-radius: 50%;
1112        object-fit: cover;
1113    }
1114
1115    a {
1116        transition: color 0.2s ease;
1117
1118        &:hover {
1119            color: #6080ff;
1120        }
1121    }
1122`,Zi=i.div`
1123    display: flex;
1124    flex: 0 0 auto;
1125    align-items: center;
1126    gap: 4px;
1127    color: #00ff8f;
1128    font-size: 14px;
1129    font-weight: 500;
1130    line-height: 16px;
1131    white-space: nowrap;
1132
1133    svg {
1134        width: 16px;
1135        height: 16px;
1136    }
1137`,Gi=i.div`
1138    display: grid;
1139    flex: 1;
1140    min-height: 0;
1141    grid-template-columns: repeat(4, minmax(0, 1fr));
1142    align-content: start;
1143    gap: 8px;
1144    padding: 12px;
1145    overflow-x: hidden;
1146    overflow-y: auto;
1147    background: rgba(145, 175, 253, 0.04);
1148
1149    &::-webkit-scrollbar {
1150        width: 0;
1151    }
1152`,St={golden:["#e8a717","98, 83, 43",.65],covert:["#eb4b4b","120, 37, 37",.45],classified:["#d32ee6","109, 30, 119",.4],restricted:["#8847ff","70, 37, 132",.3],milspec:["#4b69ff","40, 54, 132",.2],industrial:["#5e98d9","40, 70, 110",.2],consumer:["#b0c3d9","80, 90, 100",.15]},F=({$rarity:n})=>St[n]??St.milspec,Wi=i.div`
1153    position: relative;
1154    aspect-ratio: 1;
1155    min-width: 64px;
1156    clip-path: inset(0 round 8px);
1157    border-radius: 8px;
1158    background:
1159        radial-gradient(
1160            165% 165% at 32% 153%,
1161            rgba(${n=>F(n)[1]}, ${n=>F(n)[2]}) 0%,
1162            rgba(${n=>F(n)[1]}, ${n=>F(n)[2]/2}) 50%,
1163            rgba(${n=>F(n)[1]}, 0) 100%
1164        ),
1165        #131825;
1166
1167
1168    &::after {
1169        content: '';
1170        position: absolute;
1171        bottom: 10px;
1172        left: 10px;
1173        width: 5px;
1174        height: 5px;
1175        border-radius: 2.5px;
1176        background: ${n=>F(n)[0]};
1177    }
1178
1179    img {
1180        position: absolute;
1181        top: 50%;
1182        left: 50%;
1183        z-index: 1;
1184        width: 88%;
1185        height: 66%;
1186        object-fit: contain;
1187        transform: translate(-50%, -50%);
1188    }
1189`,Ui=i(Vt)`
1190    position: absolute;
1191    left: 50%;
1192    bottom: 12px;
1193    z-index: 2;
1194    height: 32px;
1195    padding: 0 12px;
1196    gap: 8px;
1197    justify-content: flex-start;
1198    border-radius: 8px;
1199    background:
1200        linear-gradient(rgba(145, 175, 253, 0.04), rgba(145, 175, 253, 0.04)),
1201        #1c2232;
1202    font-size: 14px;
1203    line-height: 1.15;
1204    white-space: nowrap;
1205    transform: translateX(-50%);
1206    cursor: pointer;
1207    transition: filter 0.3s ease;
1208
1209    &:hover {
1210        filter: brightness(115%);
1211    }
1212
1213    ${_} {
1214        height: 18px;
1215    }
1216
1217    ${_} svg {
1218        width: 18px;
1219        height: 18px;
1220    }
1221`,Ki=i.span`
1222    display: inline-flex;
1223    align-items: center;
1224    gap: 4px;
1225
1226    img {
1227        width: 18px;
1228        height: 18px;
1229        flex: 0 0 auto;
1230        margin: -1px 0;
1231    }
1232
1233    span {
1234        color: #ffb660;
1235        font-weight: 500;
1236    }
1237`,qi="https://avatars.akamai.steamstatic.com/fef49e7fa7e1997310d705b2a6158ff8dc1cdfeb_full.jpg",Tt=3,Yi=[{id:"ttk",label:"TTK"},{id:"kd",label:"K/D"},{id:"hs",label:"HS"}],Xi={ttk:{unit:"ms",current:418,prev:405,avg:432,values:[472,455,505,468,null,462,450,478,466,812,470,null,452,560]}
1237,kd:{unit:"",current:1.32,prev:1.18,avg:1.24,values:[1.1,.9,1.4,1.2,null,1.05,1.3,1.6,1.2,.8,1.35,null,1.5,1.7]},hs:{unit:"%",current:64,prev:58,avg:61,values:[52,61,48,57,null,63,55,71,66,44,68,null,59,74]}},G=(n,c)=>`${Number.isInteger(n)?n:n.toFixed(2).replace(/0$/,"")}${c}`,It={fun:"66px minmax(0, 1fr) 128px 149px 103px",maniac:"66px minmax(0, 1fr) 68px 68px 103px",inspect:"66px minmax(0, 1fr) 103px",competitive:"66px minmax(0, 1fr) 96px 96px 120px",competitiveWide:"58px minmax(0, 1fr) 76px 44px 92px 56px 56px 76px",rust:"66px minmax(0, 1fr) 96px 96px 120px"},Ji=()=>e.jsxs("svg",{viewBox:"0 0 20 20",fill:"none",children:[e.jsx("path",{d:"M10.5 4.99995C10.7357 4.99995 10.8536 4.99995 10.9268 5.07317C11 5.1464 11 5.26425 11 5.49995V8.75746C11 9.16621 11 9.37059 11.0761 9.55436C11.1522 9.73813 11.2968 9.88264 11.5858 10.1717L13.3535 11.9394C13.5201 12.106 13.6035 12.1894 13.6035 12.2929C13.6035 12.3965 13.5201 12.4798 13.3535 12.6465L12.6465 13.3534C12.4799 13.5201 12.3965 13.6034 12.293 13.6034C12.1894 13.6034 12.1061 13.5201 11.9394 13.3534L10.1716 11.5856C9.59351 11.0075 9.30448 10.7185 9.15224 10.351C9 9.98341 9 9.57466 9 8.75716V5.49995C9 5.26425 9 5.1464 9.07322 5.07317C9.14645 4.99995 9.2643 4.99995 9.5 4.99995H10.5Z",fill:"#D9E4FF"}),e.jsx("path",{d:"M17.338 9.99906C17.3379 5.94805 14.054 2.66407 10.003 2.66407C5.95197 2.66409 2.668 5.94807 2.66798 9.99906C2.66798 14.0501 5.95196 17.334 10.003 17.3341V19.3341C4.84739 19.334 0.667969 15.1546 0.667969 9.99906C0.66799 4.84349 4.8474 0.664084 10.003 0.664062C15.1586 0.664062 19.3379 4.84348 19.338 9.99906C19.338 15.1547 15.1586 19.3341 10.003 19.3341V17.3341C14.054 17.3341 17.338 14.0501 17.338 9.99906Z",fill:"#D9E4FF"})]}),Qi=()=>e.jsx("svg",{viewBox:"0 0 16 16",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.04786 14.67C13.1489 14.67 15.4048 4.38655 8.63214 1.54133C8.20536 1.35843 7.98689 1.26697 7.86495 1.37875C7.74301 1.48036 7.81414 1.7344 7.96148 2.23232C8.45432 3.93945 8.12915 5.47384 7.78366 6.42902C7.63124 6.84564 7.55502 7.04887 7.3772 7.05903C7.19937 7.05903 7.10792 6.83548 6.91993 6.38837C6.66081 5.78884 6.30008 5.05721 5.88854 4.61011C5.79708 4.50849 5.73103 4.43736 5.6599 4.40688L5.54813 4.39672C5.41095 4.41704 5.35506 4.52882 5.2382 4.75237C4.07471 7.03871 3.14493 7.9634 3.14493 10.2904C3.14493 12.282 4.73521 14.67 8.04786 14.67ZM10.1005 11.5707C10.1005 12.1195 9.82104 12.6174 9.37393 12.973C8.94715 13.3084 8.36794 13.5217 7.72777 13.5217C6.41694 13.5217 5.35506 12.6479 5.35506 11.5707C5.35506 11.2151 5.46684 10.8899 5.66498 10.6054C6.07653 10.016 6.84372 9.61973 7.72777 9.61973C9.0386 9.61973 10.1005 10.4936 10.
12371005 11.5707Z",fill:"#00FF8F"})}),Mt=()=>e.jsx("svg",{viewBox:"0 0 16 16",fill:"none",children:e.jsx("path",{d:"M1.6 8C1.6 11.5346 4.46538 14.4 8 14.4C11.5346 14.4 14.4 11.5346 14.4 8C14.4 4.46538 11.1371 1.6 8 1.6C4.86285 1.6 3.14946 2.93763 1.6 5.56723M0.802037 1.89363L1.6 5.56723H5.41282",stroke:"#D9E4FF",strokeWidth:"1.6"})}),es=({color:n})=>e.jsx("svg",{viewBox:"0 0 12 12",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.1685 0.999822H9.09335C8.61995 0.999822 8.23622 1.38358 8.23622 1.85697V10.1424C8.23622 10.6158 8.61995 10.9995 9.09335 10.9995H10.1685C10.6419 10.9995 11.0256 10.6158 11.0256 10.1425V1.85697C11.0256 1.38358 10.6419 0.999822 10.1685 0.999822ZM6.27382 3.23664H5.19871C4.72532 3.23664 4.34157 3.6204 4.34157 4.09378V10.1425C4.34157 10.6159 4.72532 10.9996 5.19871 10.9996H6.27382C6.74721 10.9996 7.13097 10.6159 7.13097 10.1425V4.09378C7.13097 3.6204 6.74721 3.23664 6.27382 3.23664ZM1.35679 5.90009H2.4319C2.9053 5.90009 3.28905 6.28385 3.28905 6.75723V10.1422C3.28905 10.6155 2.90529 10.9994 2.4319 10.9994H1.35679C0.883398 10.9994 0.499645 10.6155 0.499645 10.1422V6.75723C0.499645 6.28385 0.883398 5.90009 1.35679 5.90009Z",fill:n})}),ts=()=>e.jsxs("svg",{viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:[e.jsx("path",{d:"M13 8a5 5 0 0 1-8.9 3.1M3 8a5 5 0 0 1 8.9-3.1",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),e.jsx("path",{d:"M12.5 1.8v3.4H9.1M3.5 14.2v-3.4h3.4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),ns=()=>e.jsx("svg",{viewBox:"0 0 16 16",fill:"none",children:e.jsx("path",{d:"M9.46585 8.01229L15.6959 1.78201C16.1014 1.37676 16.1014 0.721523 15.6959 0.316269C15.2907 -0.0889842 14.6354 -0.0889842 14.2302 0.316269L7.99992 6.54654L1.76983 0.316269C1.36439 -0.0889842 0.709336 -0.0889842 0.304083 0.316269C-0.101361 0.721523 -0.101361 1.37676 0.304083 1.78201L6.53417 8.01229L0.304083 14.2426C-0.101361 14.6478 -0.101361 15.3031 0.304083 15.7083C0.506045 15.9105 0.771595 16.012 1.03696 16.012C1.30232 16.012 1.56768 15.9105 1.76983 15.7083L7.99992 9.47803L14.2302 15.7083C14.4323 15.9105 14.6977 16.012 14.9631 16.012C15.2284 16.012 15.4938 15.9105 15.6959 15.7083C16.1014 15.3031 16.1014 14.6478 15.6959 14.2426L9.46585 8.01229Z",fill:"#fff"})}),is=()=>e.jsx("svg",{viewBox:"0 0 16 16",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.10547 9.44092L13.0952 4.33858C13.696 3.72424 13.9964 3.41706 13.9735 2.97921C13.9507 2.54136 13.6681 2.30705 13.1028 1.83843C11.7179 0.6902 9.93946 0 8 0C3.58203 0 0 3.58154 0 8C0 12.4185 3.58203 16 8 16C12.418 16 16 12.4185 16 8C16 7.41837 15.9379 6.85127 15.82 6.30496C15.6858 5.68313 15.6187 5.37222 15.3316 5.2894C15.0444 5.20657 14.8023 5.45424 14.318 5.94956L9.53711 10.8394C8.52734 11.8716 8.02246 12.3877 7.3916 12.3877C6.76074 12.3877 6.25586 11.8716 5.24707 10.8394L3.10938 8.65332C2.9043 8.44434 2.76367 8.30029 2.68652 8.17139C2.63965 8.09277 2.61621 8.01953 2.61719 7.94092C2.61816 7.8418 2.65723 7.75244 2.73438 7.6499C2.81934 7.53809 2.94922 7.41113 3.125 7.23926C3.46191 6.90967 3.63086 6.74512 3.83789 6.74707C4.04492 6.74951 4.20996 6.91797 4.53906 7.25537L6.67578 9.44043C7.01172 9.78467 7.18066 9.95654 7.39062 9.95654C7.60059 9.95654 7.76953 9.78467 8.10547 9.44092Z",fill:"#002D11"})}),ss=()=>e.jsx("svg",{className:"cup",viewBox:"0 0 11.9004 11.6748",fill:"none",children:e.jsx("path",{d:"M8.54539 0C8.97609 1.75e-05 9.3252 0.349114 9.3252 0.779784V1.4248H11.2461C11.6073 1.42486 11.9003 1.71788 11.9004 2.0791C11.9003 3.94675 10.7609 5.54794 9.13965 6.22704C8.74335 7.37399 7.74715 8.23984 6.5254 8.44969V10.5244H7.8252C8.14275 10.5244 8.40035 10.7821 8.4004 11.0996C8.4004 11.4172 8.14275 11.6748 7.8252 11.6748H4.0752C3.75763 11.6748 3.5 11.4172 3.5 11.0996C3.50005 10.7821 3.75767 10.5244 4.0752 10.5244H5.375V8.44969C4.1532 8.23984 3.15654 7.37404 2.76026 6.22704C1.13919 5.54784 9.925e-05 3.94659 0 2.0791C5.745e-05 1.71787 0.293075 1.42486 0.654295 1.4248H2.5752V0.779784C2.5752 0.349114 2.92432 1.7e-05 3.35498 0H8.54539ZM1.18701 2.57519C1.32467 3.50101 1.84213 4.30222 2.5752 4.81738V2.57519H1.18701ZM9.3252 4.81738C10.0582 4.30222 10.5757 3.50101 10.7134 2.57519H9.3252V4.81738Z",fill:"currentColor"})}),os=({place:n}
1237)=>e.jsxs(W,{$place:n,children:[n<=3?e.jsx("img",{loading:"lazy",src:x(`/pages/leaderboard/icons/place-${n}.svg`),alt:""}):e.jsx(ss,{}),String(n).replace(/\B(?=(\d{3})+(?!\d))/g," ")]}),as=({value:n})=>e.jsxs(Ki,{children:[e.jsx("img",{src:x("/pages/leaderboard/icons/logo.svg"),alt:"",loading:"lazy"}),e.jsx("span",{children:String(n).replace(/\B(?=(\d{3})+(?!\d))/g," ")})]}),Dt=n=>/^[\d:.]+$/.test(String(n??"")),rs=n=>Dt(n)?String(n).split(":").reduce((c,L)=>c*60+Number(L),0):1/0,ls=n=>n>=1e4?`${Math.floor(n/1e3).toLocaleString("en-US")}k`:n,Nt=()=>e.jsxs("svg",{viewBox:"0 0 19.5922 8.0746",fill:"none",children:[e.jsx("path",{d:"M0.0768244 8.0746C0.0208244 8.0746 -0.00456035 8.05153 0.000670227 8.00539L0.181717 0.0922813C0.183358 0.0307605 0.216178 0 0.280178 0L2.11618 0C2.16418 0 2.18556 0.0230705 2.18033 0.0692114L1.86874 5.34077H1.97674L4.90433 0.0692114C4.93356 0.0230705 4.97218 0 5.02018 0L6.82018 0C6.86818 0 6.89356 0.0230705 6.89633 0.0692114L6.74074 5.34077H6.84874L9.57233 0.0692114C9.59356 0.0230705 9.62818 0 9.67618 0L11.4522 0C11.5162 0 11.5314 0.0307605 11.4977 0.0922813L7.10467 8.00539C7.08344 8.05153 7.04482 8.0746 6.98882 8.0746H5.17682C5.12882 8.0746 5.10344 8.05153 5.10067 8.00539L5.10527 2.88379H4.99727L2.00467 8.00539C1.97544 8.05153 1.93682 8.0746 1.88882 8.0746H0.0768244Z",fill:"currentColor"}),e.jsx("path",{d:"M18.7964 4.12958C18.7854 4.16803 18.7594 4.20264 18.7186 4.2334L17.096 5.45612C17.0552 5.48688 17.0148 5.50226 16.9748 5.50226H16.3508L17.5509 7.97078C17.5711 8.03999 17.5412 8.0746 17.4612 8.0746H15.6012C15.5612 8.0746 15.5336 8.05922 15.5184 8.02846L14.2996 5.58301H12.2836L11.5923 7.99385C11.5769 8.04768 11.5412 8.0746 11.4852 8.0746H9.73317C9.67717 8.0746 9.65689 8.04768 9.67232 7.99385L11.9414 0.0807464C11.9568 0.0269155 11.9925 0 12.0485 0L18.5525 0C18.5925 0 18.6241 0.0153802 18.6473 0.0461407L19.5687 1.26887C19.5919 1.29963 19.5979 1.33423 19.5869 1.37268L18.7964 4.12958ZM16.9967 3.66817L17.5115 1.91483L17.2039 1.52264L13.4479 1.52264L12.7169 4.07191H16.4729L16.9967 3.66817Z",fill:"currentColor"})]}),zt=()=>e.jsx("svg",{viewBox:"0 0 14 11.0531",fill:"none",children:e.jsx("path",{d:"M5.68981 10.8616L0.197185 5.51901C0.070043 5.39544 0 5.23049 0 5.05461C0 4.87872 0.070043 4.71377 0.197185 4.59021L0.601585 4.19677C0.865095 3.94075 1.29338 3.94075 1.55649 4.19677L6.16887 8.68304L10.7864 4.19179C10.9135 4.06823 11.083 4 11.2637 4C11.4447 4 11.6142 4.06823 11.7414 4.19179L12.1457 4.58523C12.2728 4.70889 12.3429 4.87375 12.3429 5.04963C12.3429 5.22551 12.2728 5.39046 12.1457 5.51403L6.64803 10.8616C6.52049 10.9854 6.3502 11.0535 6.16918 11.0531C5.98745 11.0535 5.81726 10.9854 5.68981 10.8616Z",fill:"#4155A4"})}),cs=()=>e.jsxs("svg",{viewBox:"0 0 16 16",fill:"none",children:[e.jsx("rect",{width:"16",height:"16",rx:"8",fill:"#91AFFD",fillOpacity:"0.04"}),e.jsx("path",{d:"M7.87588 2.97144C7.92055 2.74812 8.06571 2.53038 8.31136 2.31823C8.55701 2.10608 8.80266 2 9.04831 2C9.2828 2 9.46704 2.10049 9.60103 2.30148C9.73502 2.4913 9.78527 2.68112 9.75177 2.87095C9.70711 3.12776 9.56195 3.35108 9.3163 3.54091C9.07064 3.71956 8.82499 3.80889 8.57934 3.80889C8.36719 3.80889 8.18295 3.72514 8.02663 3.55765C7.88147 3.379 7.83122 3.18359 7.87588 2.97144ZM7.6414 11.1114C7.76422 11.1114 7.9038 11.0556 8.06012 10.9439C8.21645 10.8211 8.36719 10.676 8.51235 10.5085C8.6575 10.341 8.79708 10.1679 8.93107 9.98926C9.06506 9.8106 9.16556 9.66544 9.23255 9.55379L9.56753 9.72127C9.4447 10.0451 9.27722 10.3745 9.06506 10.7095C8.86407 11.0444 8.64075 11.3459 8.3951 11.6139C8.14945 11.8707 7.89263 12.0829 7.62465 12.2504C7.35667 12.4179 7.09985 12.5016 6.8542 12.5016C6.57505 12.5016 6.36289 12.4179 6.21774 12.2504C6.07258 12.0829 6 11.8596 6 11.5804C6 11.2678 6.10608 10.8546 6.31823 10.341C6.54155 9.82735 6.76487 9.2858 6.98819 8.71634C7.05519 8.53768 7.12218 8.34228 7.18918 8.13012C7.26734 7.91797 7.33433 7.71698 7.39016 7.52716C7.45716 7.33734 7.50741 7.16985 7.54091 7.02469C7.5744 6.86837 7.59115 6.76229 7.59115 6.70646C7.59115 6.5948 7.56882 6.50547 7.52416 6.43848C7.47949 6.37148 7.4125 6.33798 7.32317 6.33798C7.21151 6.33798 7.06077 6.42173 6.87095 6.58922C6.68112 6.74554 6.50805 6.88512 6.35173 7.00794L6.13399 6.84045C6.27915 6.39381 6.54155 5.99742 6.92119 5.65128C7.312 5.29396 7.72514 5.11531 8.16062 5.11531C8.40627 5.11531 8.61284 5.20464 8.78033 5.38329C8.94782 5.55078 9.03156 5.7406 9.03156 5.95276C9.03156 6.18724 8.97573 6.44964 8.86407 6.73996C8.75241 7.01911 8.60167 7.382 8.41185 7.82864C8.15503 8.4316 7.92055 9.01782 7.70839 9.58728C7.50741 10.1456 7.40691 10.5587 7.40691 10.8267C7.40691 10.9272 7.42366 10.9998 7.45716 11.0444C7.49066 11.0891 7.55207 11.
12371114 7.6414 11.1114Z",fill:"#6080FF"})]}),Rt=()=>e.jsxs("svg",{viewBox:"0 0 25 25",fill:"none",children:[e.jsx("circle",{cx:"12.5",cy:"12.5",r:"9.375",stroke:"#6080FF",strokeWidth:"2.08333",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M11.46 15.625L14.585 12.5L11.46 9.375",stroke:"#6080FF",strokeWidth:"2.08333",strokeLinecap:"round",strokeLinejoin:"round"})]}),ds=()=>e.jsx("svg",{viewBox:"0 0 25 25",fill:"none",children:e.jsx("path",{d:"M12.5003 2.08282C6.75025 2.08282 2.08359 6.74949 2.08359 12.4995C2.08359 18.2495 6.75025 22.9162 12.5003 22.9162C18.2503 22.9162 22.9169 18.2495 22.9169 12.4995C22.9169 6.74949 18.2503 2.08282 12.5003 2.08282ZM15.2711 14.3016L13.9378 15.0724L12.6044 15.8432C10.8857 16.8328 9.47942 16.0203 9.47942 14.0412V12.4995V10.9578C9.47942 8.96824 10.8857 8.16616 12.6044 9.15574L13.9378 9.92657L15.2711 10.6974C16.9898 11.687 16.9898 13.312 15.2711 14.3016Z",fill:"#fff"})}),ps=()=>e.jsx("svg",{viewBox:"0 0 25 25",fill:"none",children:e.jsx("path",{d:"M11.2126 8.87256C14.7232 8.87267 16.1276 10.277 16.1277 13.7876V18.0015C16.1276 21.5122 14.7233 22.9164 11.2126 22.9165H6.99878C3.48793 22.9165 2.08379 21.5123 2.08374 18.0015V13.7876C2.08385 10.2769 3.48801 8.87261 6.99878 8.87256H11.2126ZM17.8123 2.08252C21.4579 2.08258 22.9157 3.54138 22.9158 7.18701V11.562C22.9158 14.8735 21.7045 16.3721 18.7595 16.6196C18.3261 16.6561 17.9687 16.3007 17.9685 15.8657V13.437C17.9685 9.06221 15.937 7.03084 11.5623 7.03076H9.13354C8.69858 7.03062 8.34321 6.67322 8.37964 6.23975C8.62718 3.29472 10.1258 2.08252 13.4373 2.08252H17.8123Z",fill:"#6080FF"})}),xs=()=>e.jsxs("svg",{viewBox:"0 0 25 25",fill:"none",children:[e.jsx("path",{d:"M21.2228 24.9995V21.3699L25.0007 21.3695V18.9608L21.2228 18.9615V15.332H18.814L18.8136 18.9608H15.0361L15.0354 21.3699L18.8136 21.3705V24.9999L21.2228 24.9995Z",fill:"#6080FF"}),e.jsx("path",{d:"M16.0282 14.4716L11.3028 22.6563H5.47363C4.50292 22.6563 4.01756 22.6563 3.63471 22.4977C3.12423 22.2862 2.71866 21.8807 2.50722 21.3702C2.34863 20.9873 2.34863 20.502 2.34863 19.5312C2.34863 16.4064 7.81386 14.0626 12.4984 14.0625C13.6587 14.0625 14.867 14.207 16.0282 14.4716Z",fill:"#6080FF"}),e.jsx("path",{d:"M16.9579 6.05435C16.9577 9.36675 15.8096 12.053 12.4972 12.0532C9.18459 12.0532 8.03491 9.36692 8.03467 6.05435C8.03496 2.74181 10.1897 1.5918 12.4972 1.5918C14.8047 1.5918 16.9577 2.74197 16.95
123779 6.05435Z",fill:"#6080FF"})]}),Ft=60,Ht=n=>n==null?"#7a8697":n<=40?"#64b44d":n<=90?"#e3b341":"#e05c5c",gs=n=>n?n==="LITE"?"premium-lite":"premium":"",hs=n=>n.avatar||zn(`/storage/images/avatars/${n.steamid64}.jpg`),ms=n=>x(`/img/flags/${n||"country"}.svg`),Pt=n=>n.kd??(!n.kills||!n.deaths?"0.00":(n.kills/n.deaths).toFixed(2)),Et=n=>n.hs??`${n.kills?Math.round(n.headshots/n.kills*100):0}%`,He=n=>n.name_unique?`/id/${n.name_unique}`:n.steamid64?`/profile/${n.steamid64}`:null,At=["surf","bhop","kz"],fs=n=>(Array.isArray(n)?n:[]).map((c,L)=>({place:c.place??L+1,steamid64:c.steamid64,name:c.name,avatar:c.avatar,value:c.result??c.time??c.points,delta:c.delta,tag:c.tag??c.type,me:!!c.me})),Ss=()=>{const{t:n}=En(),c=Rn(),L=Ln(),Ee=j(t=>t.modals.data.SERVER_MODAL),Ae=j(t=>t.modals.data.SERVER_MODAL_RUST),xe=j(t=>t.modals.modalId),Be=j(t=>t.auth.isAuth),Ot=j(t=>t.auth.premium?.group),Ve=j(t=>t.auth.avatar),De=j(t=>t.root.pingsData),Zt=j(t=>t.root.games),Gt=j(t=>t.root.servers),{ip:C,port:y,source:Oe,viewOnly:Wt,variant:ge}=xe==="SERVER_MODAL_RUST"?Ae:Ee,[S,he]=l.useState(null),[Ut,Ze]=l.useState(!1),[T,Kt]=l.useState(null),[me,fe]=l.useState(null),[qt,Yt]=l.useState(null),[K,H]=l.useState(null),[q,Ge]=l.useState({top:!0,end:!0}),Y=l.useRef(0),We=l.useRef(null),[ue,Ue]=l.useState(!1),[Ke,qe]=l.useState([]),[Ye,be]=l.useState(!1),[I,Xt]=l.useState("ttk"),Xe=l.useRef(null),ve=l.useRef(!1),[je,Jt]=l.useState({left:0,width:0}),[Qt,en]=l.useState(()=>ut()),p=S?.data,b=p?.id_type_modal!==void 0,o=b?p.server:p||S?.serversv2?.[0],M=b?p.players?.list||S?.playersv2||[]:S?.players||S?.playersv2||[],r=b?p.leaderboard:null,Ce=b?p.catalog:null,N=(Ce?.styles??[]).filter(t=>t.enabled),Je=N.find(t=>String(t.id)===String(r?.active?.style_id??Ce?.default_style_id))??N.find(t=>t.is_default),tn=Je?.short_name,Qe=Zt?.[o?.id_games]?.url_name,P=String(o?.mode??"").toLowerCase(),et=r?.active?.list==="friends",ye=!!r&&Be,tt=r?r.list??[]:null,we=r?.season?.types??[],ke=we.find(t=>t.season===r?.active?.season),Le=N.length?N:we,nt=tn??(ke&&$(ke.name)),z=b?p.header?.wr:null,X=p?.header?.teams,$e=p?.header?.timer;l.useLayoutEffect(()=>{const t=We.current;Ze(!t||t.scrollTop+t.clientHeight>=t.scrollHeight-2)},[M.length]);const h=l.useMemo(()=>ge||(Number(o?.id_games)===Tt?"rust":String(o?.mode).toUpperCase()==="MANIAC"?"maniac":String(o?.mode_alt||o?.mode).replace(/[^a-z]/gi,"").toUpperCase()==="SKININSPECT"?"inspect":b?Number(p.id_type_modal)===1?"fun":"competitive":o?.round_win_ct!==void 0||o?.round_win_t!==void 0||o?.match_start_time?"competitive":"fun"),[ge,o,b,p?.id_type_modal]),v=h==="competitive",it=v?It.competitiveWide:It[h],st=!b&&$n.includes(String(o?.mode??"").toUpperCase()),E=o?`${o.ip}:${o.port}`:C&&y?`${C}:${y}`:"",nn=p?.header?.badges?.find(t=>t.key==="category"),ot=Number(p?.id_type_modal)===4&&nn?.value||o?.mode_alt||o?.mode||"",sn=ot.replace(/[^a-z]/gi,"").toUpperCase()==="SKININSPECT",on=o?`#${o.num} · ${ot}`:"",an=o?.max_players??0,rn=o?.players??M.length,J=[...p?.header?.badges??(o?.map?[{key:"map",value:o.map}]:[])];_n()&&Number(p?.id_type_modal)===1&&!J.some(t=>t.key==="completed")&&J.splice(1,0,{key:"completed",name:"{{Completed}}",icon:"check",is_accent:!0});const at=J.find(t=>t.key==="category")?.value??o?.category,Q=o?x(`/img/maps/${o.id_games}/${o.map}.jpg`):null,rt=$e?Number($e.unixtime_start)+Number($e.seconds_max):o?.match_start_time&&o?.match_max_time?Number(o.match_start_time)+Number(o.match_max_time):null,lt=Number(X?X.ct?.score:o?.round_win_ct)||0,ct=Number(X?X.t?.score:o?.round_win_t)||0,ln=lt+ct>0,ee=rt?Math.ceil(Math.max(Number(rt)-Qt,0)/60):0,A=()=>c(ze(null));l.useEffect(()=>{if(!C||!y)return;let t=!0;return Y.current+=1,Ue(!1),he(null),Ne.getServer(C,y).then(s=>{t&&(Ue(!0),s&&he(s))}),()=>{t=!1}},[C,y]);const _e=t=>{Y.current+=1;const s=Y.current;H(null),Ne.getServer(C,y,{list:r.active?.list,...Ce?{style:r.active?.style}:{season:r.active?.season},...t}).then(a=>{s===Y.current&&a?.data?.id_type_modal!==void 0&&he(a)})},cn=t=>{_e({style:t.is_default?"0":(1n<<BigInt(t.id)).toString()})};l.useEffect(()=>{o&&bt("server_modal_open",{source:Oe,server_id:o.ip,gamemode:o.mode,map:o.map,category:at})},[ue,Oe]),l.useEffect(()=>{if(b||h!=="fun"||!o?.mode){qe([]),be(!0);return}let t=!0;return be(!1),Ne.getModeInfo(o.mode).then(s=>{t&&(qe(fs(s?.leaderboard)),be(!0))}),()=>{t=!1}},[h,o?.mode,b]),l.useEffect(()=>{const t=setInterval(()=>en(ut()),1e3);return()=>clearInterval(t)},[]),l.useLayoutEffect(()=>{const t=Xe.current?.querySelector(`[data-tab="${I}"]`);if(!t){ve.current=!1;return}Jt({left:t.offsetLeft,width:t.offsetWidth,animate:ve.current}),ve.current=!0},[I,st]);const Se=t=>bt(t,{source:"modal",gamemode:o?.mode,map:o?.map,category:at,server_id:o?.ip}),dn=()=>{Se("servers_play_button_click"),window.location.href=Number(o?.id_games)===Tt?`steam://run/252490//+connect ${E}`:Number(o?.id_games)===2?`steam://rungameid/730//+connect ${E}
1237`:`steam://rungameid/4465480//+connect ${E}`};if(!S&&(!C||!y))return null;const dt=["fun","maniac","inspect"].includes(h),te=sn||Number(p?.id_type_modal)===3,g=M.find(t=>t.collection&&t.collection.id===qt)?.collection??p?.collection_default,pn=t=>{t.collection&&(Yt(t.collection.id),fe(null))},xn=t=>Kt(s=>s?.key===t?{key:t,desc:!s.desc}:{key:t,desc:t!=="pb"}),pt=(t,s)=>{if(s==="pb")return rs(t.pb);if(s==="kd")return Number(Pt(t));if(s==="hs")return parseFloat(Et(t));if(s==="faceit_level")return Number(t.faceit_level)||1/0;const a=Number(t[s]);return t[s]==null||Number.isNaN(a)?1/0:a},gn=T?[...M].sort((t,s)=>{const a=pt(t,T.key),d=pt(s,T.key);return a===1/0||d===1/0?(a===1/0)-(d===1/0):T.desc?d-a:a-d}):M,f=(t,s,a="")=>{const d=T?.key===t;return e.jsxs(ce,{className:`sortable ${a}`,onClick:()=>xn(t),children:[s,e.jsx("img",{className:d&&T.desc?"sort desc":"sort",src:x(`/img/icons/servers/${d?"":"empty-"}sort.svg`),alt:""})]})},hn=(t,s)=>{const a=He(t),d=t.name||"unnamed",O=Number(t.mode_position)||0,R=Number(t.wr_count)||0,oe=e.jsxs(e.Fragment,{children:[e.jsx(oi,{loading:"lazy",className:gs(t.group),src:hs(t),onError:Me=>Me.target.src=qi,alt:""}),e.jsx(ai,{src:ms(t.country),alt:""})]});return e.jsxs(yt,{$columns:it,$dense:v,$striped:s%2===1,$selected:te&&!!g&&t.collection?.id===g.id,onClick:te?()=>pn(t):void 0,style:te&&t.collection?{cursor:"pointer"}:void 0,children:[e.jsx(si,{children:a?e.jsx(re,{click:A,to:a,children:oe}):e.jsx("div",{children:oe})}),e.jsx(ri,{children:a?e.jsx(re,{click:A,to:a,children:d}):e.jsx("span",{children:d})}),h==="fun"?e.jsxs(e.Fragment,{children:[e.jsxs(li,{children:[!!O&&e.jsx(k,{placement:"top",content:n("SERVER-MODE-POSITION-TIP"),children:e.jsx("span",{style:{display:"flex"},children:e.jsx(os,{place:O})})}),!!R&&e.jsxs(W,{children:[e.jsx(Nt,{}),R]})]}),e.jsxs(u,{children:[Dt(t.pb)?t.pb:"—",Number(t.position)>0&&e.jsxs(e.Fragment,{children:[e.jsx("b",{children:"·"}),e.jsx("b",{children:ls(Number(t.position))})]})]}),e.jsx(u,{className:"center",children:t.time!=null?le(t.time):"—"})]}):h==="inspect"?e.jsx(u,{className:"center",children:t.time!=null?le(t.time):"—"}):h==="maniac"?e.jsxs(e.Fragment,{children:[e.jsx(u,{children:t.kills??"—"}),e.jsx(u,{children:t.deaths??"—"}),e.jsx(u,{className:"center",children:t.time!=null?le(t.time):"—"})]}):e.jsxs(e.Fragment,{children:[v&&e.jsx(u,{children:e.jsx(Jn,{loading:"lazy",src:x(`/img/ranks/${o?.mode}/${t.rank??0}.png`),alt:"",onError:Me=>Me.target.style.visibility="hidden"})}),v&&e.jsx(u,{children:Number(t.faceit_level)>0?e.jsx(Ct,{loading:"lazy",src:x(`/img/ranks/faceit/${Number(t.faceit_level)}.png`),alt:""}):"—"}),e.jsx(u,{className:"center",children:t.kills??0}),e.jsx(u,{children:Pt(t)}),v&&e.jsx(u,{children:Et(t)}),e.jsx(u,{children:le(t.time)})]})]},t.steamid64||s)},mn=t=>{if(!(t>Ft)||!o?.map)return null;const s=Gt?.[o.id_games]?.[String(o.mode).toUpperCase()];return Object.values(s??{}).flat().filter(a=>a.map===o.map&&Number(a.players)<Number(a.maxplayers)&&!(a.ip==C&&a.port==y)).map(a=>({item:a,ping:vt(De?.find(d=>d.id==a.location))})).filter(a=>a.ping>0&&a.ping<=Ft).sort((a,d)=>Number(d.item.players)-Number(a.item.players)||a.ping-d.ping)[0]?.item??null},fn=t=>{if(t.key==="location"){const a=De?.find(oe=>oe.id==t.id_location),d=vt(a)??null,O=e.jsxs(U,{children:[e.jsxs(Yn,{children:[e.jsx(Qn,{src:Mn(a?.img)||x(t.icon),alt:""}),e.jsx("span",{children:n(a?.key??t.id_location)})]}),d!==null&&e.jsxs(Xn,{$color:Ht(d),children:[e.jsx(es,{color:Ht(d)}),d]})]}),R=mn(d);return R?e.jsxs(Un,{children:[O,e.jsx(k,{theme:"ping",placement:"bottom",offset:[0,9],appendTo:()=>document.body,showOnCreate:!0,content:e.jsxs(qn,{children:[e.jsx("b",{children:n("SERVER-PING-TIP-TITLE")}),e.jsx("span",{children:n("SERVER-PING-TIP-ACTION",{map:o.map})})]}),children:e.jsx(Kn,{type:"button","aria-label":n("SERVER-PING-TIP-ACTION",{map:o.map}),onClick:()=>c(ze(xe,{...xe==="SERVER_MODAL_RUST"?Ae:Ee,ip:R.ip,port:R.port,source:"better ping"})),children:e.jsx(ts,{})})})]},t.key):e.jsx(kn.Fragment,{children:O},t.key)}if(t.key==="faceit_avg")return e.jsxs(U,{children:[e.jsx(Ct,{loading:"lazy",src:x(t.icon),alt:""}),t.name]},t.key);const s=t.icon==="check"?e.jsx(is,{}):t.icon==="clock"?e.jsx(Ji,{}):t.icon?e.jsx("img",{loading:"lazy",src:x(t.icon),alt:""}):t.key!=="map"?null:Nn.includes(t.value)?e.jsx("img",{loading:"lazy",src:x(`/pages/servers
1237/mode_icon/${o?.id_games}/${t.value}.png`),alt:""}):e.jsx(Hn,{color:"#7A8697"});return e.jsxs(U,{$accent:t.is_accent,children:[s,t.key==="completed"?n("passed"):t.name&&(t.is_accent?$(t.name):e.jsx("b",{children:$(t.name)})),t.value&&e.jsx("span",{children:$(String(t.value))})]},t.key)},B=Wt?null:e.jsxs(ki,{children:[e.jsx(k,{placement:"top",content:n("ConnectHover"),children:e.jsx(Pn,{onClick:dn,right:e.jsx(_,{children:e.jsx(ds,{})}),children:n("JoinTheServer")})}),e.jsx(Sn.CopyToClipboard,{text:`connect ${E}`,onCopy:()=>{Se("servers_copy_button_click"),Tn(n("AddressServerCopy"))},children:e.jsx(_t,{type:"button",title:E,children:e.jsx(_,{children:e.jsx(ps,{})})})}),Be&&e.jsx(_t,{type:"button",title:n("InvitePlayers"),onClick:()=>{Se("servers_invite_click"),c(ze("INVITE",{server:o}))},children:e.jsx(_,{children:e.jsx(xs,{})})})]}),un=ue&&!M.length?e.jsx(Vi,{children:e.jsx(ae,{text:"NoPlayersOnServer",subtext:"WAITING-FOR-PLAYERS",icon:x("/img/icons/modals/friends-empty_new.svg"),variant:"compact"})}):e.jsxs(ni,{className:Ut?"at-end":void 0,children:[ue&&e.jsxs(yt,{$columns:it,$dense:v,$header:!0,children:[e.jsx(ce,{className:dt?"avatar counter":"avatar",children:dt&&`${rn}/${an}`}),e.jsx(ce,{className:"name",children:n("Player")}),h==="fun"?e.jsxs(e.Fragment,{children:[e.jsx(ce,{}),f("pb",n("PbAndPosition")),f("time",n("InServer"),"center")]}):h==="inspect"?f("time",n("InServer"),"center"):h==="maniac"?e.jsxs(e.Fragment,{children:[f("kills","K"),f("deaths","D"),f("time",n("InServer"),"center")]}):e.jsxs(e.Fragment,{children:[v&&f("rank",n("CybershokeRank")),v&&f("faceit_level","FT"),f("kills",n("Kills")),f("kd","K/D"),v&&f("hs","HS%"),f("time",n("InGame"))]})]}),e.jsx(ii,{ref:We,className:"grey-scroll",onScroll:t=>{const s=t.currentTarget;Ze(s.scrollTop+s.clientHeight>=s.scrollHeight-2)},children:gn.map(hn)})]}),ne=b?!!r:!st&&h==="fun",w=r?z&&{name:z.name,avatar:z.avatar,value:z.time,steamid64:z.steamid64}:Ke[0],bn=r&&!z&&r.player?[r.player,...tt.filter(t=>!t.is_user)]:tt,ie=r?bn.map(t=>({place:t.place,steamid64:t.steamid64,name:t.name,avatar:t.avatar,value:r.column?.points?t.points:t.time??t.points,points:!!r.column?.points,delta:t.delta,me:!!t.is_user})):Ke.slice(1),xt=t=>{const s=!r||!t?null:At.includes(P)?`/${Qe||"cs2"}/leaderboard/${P}/maps/${t}`:He({steamid64:t});s&&(A(),L(s))},gt=t=>e.jsx(Fn,{children:t==="source"?[!1,!0].map(s=>e.jsx(Re,{className:et===s?"active":"",onClick:()=>_e({list:s?"friends":"all"}),children:n(s?"Friends":"ALL")},String(s))):N.length?N.map(s=>e.jsx(Re,{className:Je?.id===s.id?"active":"",onClick:()=>cn(s),children:s.title||s.name},s.id)):we.map(s=>e.jsx(Re,{className:ke?.season===s.season?"active":"",onClick:()=>_e({season:s.season}),children:$(s.name)},s.key))}),vn=e.jsxs(Z,{children:[ne&&w&&e.jsxs(ci,{onClick:()=>xt(w.steamid64),style:r?{cursor:"pointer"}:void 0,children:[e.jsxs(di,{children:[e.jsx(W,{$place:1,children:e.jsx(Nt,{})}),w.avatar&&e.jsx("img",{loading:"lazy",src:w.avatar,alt:""}),e.jsx("span",{children:w.name})]}),e.jsxs(pi,{children:[w.value,w.tag&&e.jsx(W,{children:w.tag})]})]}),e.jsxs(de,{$loading:!r&&!Ye,children:[!r&&!Ye?null:!ne||!r&&ie.length<1?e.jsx(pe,{children:e.jsx(ae,{text:"NoLeaderboard",subtext:"CheckOtherModes",icon:x("/img/icons/modals/friends-empty_new.svg"),variant:"compact"})}):e.jsxs(e.Fragment,{children:[e.jsxs(Pe,{children:[e.jsxs(kt,{children:[e.jsx(xi,{children:"№"}),e.jsx(k,{theme:"custom",appendTo:()=>document.body,visible:K==="source",onClickOutside:()=>H(null),content:gt("source"),interactive:!0,placement:"bottom",disabled:!ye,children:e.jsxs(Lt,{type:"button",disabled:!ye,onClick:()=>H(K==="source"?null:"source"),children:[n(et?"Friends":"ALL"),ye&&e.jsx(zt,{})]})})]}),e.jsxs(kt,{$tight:!0,children:[e.jsx(k,{placement:"top",content:n(`${P}_category_info`),children:e.jsx("span",{style:{display:"flex"},children:e.jsx(cs,{})})}),nt&&e.jsx(k,{theme:"custom",appendTo:()=>document.body,visible:K==="style",onClickOutside:()=>H(null),content:gt("style"),interactive:!0,placement:"bottom",disabled:Le.length<2,children:e.jsxs(Lt,{type:"button",disabled:Le.length<2,onClick:()=>H(K==="style"?null:"style"),children:[nt,Le.length>1&&e.jsx(zt,{})]})})]})]}),e.jsxs(gi,{className:"grey-scroll",ref:t=>
1237{if(!t)return;const s={top:t.scrollTop<=1,end:t.scrollTop+t.clientHeight>=t.scrollHeight-2};(s.top!==q.top||s.end!==q.end)&&Ge(s)},onScroll:t=>{const s=t.currentTarget;Ge({top:s.scrollTop<=1,end:s.scrollTop+s.clientHeight>=s.scrollHeight-2})},children:[e.jsx($t,{$hidden:q.top}),ie.length===0?e.jsx(pe,{children:e.jsx(ae,{text:"NoLeaderboard",subtext:"CheckOtherModes",icon:x("/img/icons/modals/friends-empty_new.svg"),variant:"compact"})}):ie.map(t=>e.jsxs(hi,{$me:t.me,$clickable:!!(r&&t.steamid64),onClick:()=>xt(t.steamid64),children:[e.jsxs(fi,{$me:t.me,children:[e.jsx(mi,{$me:t.me,$digits:String(t.place??"").length,children:t.place>0&&t.place}),e.jsxs("div",{children:[t.avatar&&e.jsx("img",{loading:"lazy",src:t.avatar,alt:""}),e.jsx("span",{children:t.name})]})]}),e.jsxs(ui,{children:[t.delta&&e.jsx("em",{children:t.delta}),e.jsxs("div",{children:[t.points?e.jsx(as,{value:t.value}):t.value,t.tag&&e.jsx(W,{children:t.tag})]})]})]},`${t.place}-${t.steamid64??t.name}`)),e.jsx($t,{$bottom:!0,$hidden:q.end})]})]}),ne&&(r||ie.length>0)&&e.jsxs(Ui,{as:re,to:`/${Qe||"cs2"}/leaderboard/${P}`+(At.includes(P)&&o?.map?`/map/${o.map}`:""),children:[n("GoToLeaderboard"),e.jsx(_,{children:e.jsx(Rt,{})})]})]}),B]}),m=Xi[I],V=m.values.map((t,s)=>({value:t,index:s})).filter(t=>t.value!==null),D=Math.max(...V.map(t=>t.value)),se=Math.min(...V.map(t=>t.value)),ht=t=>(t+.5)/m.values.length*100,Te=t=>D===se?50:10+(D-t)/(D-se)*90,mt=V[V.length-1],Ie=m.values.map((t,s)=>{const a=new Date;return a.setDate(a.getDate()-(m.values.length-1-s)),String(a.getDate()).padStart(2,"0")});n("Trends"),n("LastTwoWeeks"),je.animate,`${je.width}`,`${je.left}`,Yi.map(t=>e.jsx(Si,{type:"button","data-tab":t.id,$active:I===t.id,onClick:()=>Xt(t.id),children:t.label},t.id)),m.values.length,Ie.map((t,s)=>e.jsxs(zi,{$gap:m.values[s]===null,children:[t,e.jsx("span",{})]},t)),[D,(D+se)/2,se].map(t=>e.jsx(Ei,{$top:Te(t),children:e.jsx("em",{children:G(t,"")})},t)),V.map(t=>`${ht(t.index)},${Te(t.value)}`).join(" "),`${ht(mt.index)}`,`${Te(mt.value)}`,m.values.map((t,s)=>e.jsx(k,{placement:"top",touch:!1,disabled:t===null,content:`${Ie[s]} · ${G(t??0,m.unit)}`,children:e.jsx("span",{})},Ie[s])),G(m.prev,m.unit),n("PrevWeek"),G(m.current,m.unit),n("CurrentWeek"),G(m.avg,m.unit),n("AvgAllTime");const jn=e.jsxs(Z,{children:[e.jsx(de,{children:e.jsx(pe,{children:e.jsx(ae,{text:"NoLeaderboard",subtext:"CheckOtherModes",icon:x("/img/icons/modals/friends-empty_new.svg"),variant:"compact"})})}),B]}),ft=g&&He(g.author??{}),Cn=()=>In.use(g.id).then(t=>{!t||t.result==="error"||(fe("shown"),setTimeout(()=>fe("done"),1500))}),yn=e.jsxs(Z,{children:[e.jsxs(de,{children:[e.jsxs(Di,{children:[e.jsxs(Oi,{children:[e.jsx("b",{children:$(g?.name??"")}),g?.author?.name&&e.jsxs(e.Fragment,{children:[e.jsx("span",{children:"·"}),g.author.avatar&&e.jsx("img",{loading:"lazy",src:g.author.avatar,alt:""}),ft?e.jsx(re,{click:A,to:ft,children:g.author.name}):e.jsx("span",{children:g.author.name})]})]}),g?.is_top_week&&e.jsxs(Zi,{children:[e.jsx(Qi,{}),n("TopWeek")]})]}),e.jsx(Gi,{children:(g?.skins??[]).map((t,s)=>e.jsx(Wi,{title:t.name,$rarity:String(t.color??"").replace("color-",""),children:e.jsx("img",{loading:"lazy",src:x(t.img??`/img/csgoweapons/${t.id}.png`),alt:""})},s))}),me!=="done"&&g?.is_public&&!!Ot&&e.jsx(k,{placement:"top",visible:me==="shown",appendTo:()=>document.body,content:n("CollectionIsSet"),children:e.jsxs(Vt,{type:"button",disabled:!!me,onClick:Cn,children:[n("SetCollectionOnServers"),e.jsx(_,{children:e.jsx(Rt,{})})]})})]}),B]}),wn=e.jsxs(Z,{children:[e.jsxs(vi,{children:[e.jsxs(ji,{children:[Q&&e.jsx("img",{loading:"lazy",src:Q,alt:"",onError:t=>t.currentTarget.style.display="none"}),o?.map&&e.jsx(Ci,{children:o.map})]}),e.jsx(yi,{children:Object.entries(p?.header?.desc??{}).map(([t,s])=>e.jsxs(wi,{children:[e.jsx("b",{children:$(s.name)}),e.jsx("span",{children:s.unixtime?new Date(s.unixtime*1e3).toLocaleDateString():s.value||"—"})]},t))})]}),B]});return e.jsxs(An,{id:"serverInfoModal",className:"arcticmodal",children:[e.jsxs(Bn,{$ready:!!o,children:[e.jsx(Vn,{children:Q&&e.jsx("img",{loading:"lazy",src:Q,alt:""})}),e.jsx(ei,{type:"button",onClick:A,children:e.jsx(ns,{})}),ln?e.jsx(jt,{children:e.jsxs(Gn,{children:[e.jsxs("div",{children:[e.jsx("img",{src:x("/img/png/modals/server/ct-side.svg"),alt:""}),e.jsx("h5",{children:lt})]}),e.jsx("h5",{children:":"}),e.jsxs("div",{children:[e.jsx("h5",{children:ct}),e.jsx("img",{src:x("/img/png/modals/server/t-side.svg"),alt:""})]})]})}):ee>0&&e.jsxs(jt,{children:[e.jsx(Mt,{}),e.jsx("h5",{children:n("RestartInMinutes",{count:ee})})]}),e.jsx(Dn,{children:e.jsx(On,{children:on})}),e.jsxs(Zn,{children:[ee>0&&e.jsxs(Wn,{children:[e.jsx(Mt,{}),e.jsxs("span",{children:[ee," ",n("minutesShort")]})]}),J.map(fn)]})]}),e.jsxs(ti,{$side:h==="rust"?340:472,children:[un,h==="rust"?wn:te&&g?yn:ne?vn:jn]})]})};export{Ss as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.