PageSourceSearch

https://cybershoke.net/assets/MediaSkinrave-BsQ-gmbD.js

js cybershoke.net collected 2026-10-04 05:22:57 UTC 6,881 bytes, 84 lines download raw bytes

1import{r,j as e,i as x}from"./vendor-react-BGN68_Lp.js";import{g as a}from"./vendor-styled-pkIKgjgv.js";import{u as C}from"./vendor-redux-D8sX5Eqv.js";import{x as h,ba as f,c as m,g as b,q as l}from"./index-uear5Vpj.js";import{u as c}from"./vendor-i18n-BWleq_Sd.js";import"./vendor-socket-DSYo_sTV.js";import"./vendor-router-CYD8mbvC.js";const u=a.div`
2    padding: 40px;
3    width: 540px;
4    border-radius: 15px;
5    background: #171c2a;
6`,k=a.h1`
7    margin-bottom: 8px;
8    color: #ecf1f8;
9    font-size: 32px;
10    font-weight: 700;
11    text-transform: none;
12`,v=a.p`
13    color: #adbcd0;
14    font-size: 15px;
15    font-weight: 500;
16    line-height: 22px;
17`,j=a.ul`
18    display: flex;
19    flex-direction: column;
20    margin-top: 24px;
21    border-radius: 8px;
22    overflow: hidden;
23    gap: 2px;
24`,_=a.li`
25    background: ${n=>n.done?"rgba(39, 79, 76, 0.25)":"#1d2435"};
26    display: flex;
27    align-items: center;
28    justify-content: space-between;
29    padding: 16px;
30
31    button {
32        padding: 10px 12px;
33        border-radius: 8px;
34        background: ${n=>n.done?"rgba(91, 234, 174, 0.12)":"rgba(96, 128, 255, 0.12)"};
35        color: ${n=>n.done?"#6BCEA5":"#6080ff"};
36        font-size: 14px;
37        display: flex;
38        align-items: center;
39
40        svg {
41            width: 16px;
42            margin-left: 4px;
43            display: ${n=>n.done?"block":"none"};
44        }
45
46        &.simple {
47            background: transparent;
48            padding: 0;
49        }
50    }
51`,w=a.div`
52    display: flex;
53    align-items: center;
54    gap: 12px;
55
56    h6 {
57        color: #dee2ed;
58        font-size: 14px;
59        font-weight: 500;
60        margin-bottom: 6px;
61    }
62
63    a,
64    p {
65        color: rgba(222, 226, 237, 0.7);
66        font-size: 12px;
67        font-weight: 400;
68        display: flex;
69        align-items: center;
70
71        svg {
72            width: 14px;
73            margin-left: 3px;
74        }
75    }
76
77    svg {
78        width: 24px;
79    }
80`,y=a.button`
81    margin-top: 24px;
82    letter-spacing: 0;
83    font-weight: 700;
84`,o={skinrave_registration:{name:"{{registerPartnerSkinrave}}",link:"//auth.cybershoke.net/connect/skinrave",tippy:"{{registerPartnerSkinrave}}",buttonName:"MoveTo"},skinrave_open_case:{name:"{{skinraveMissionOpenCase}}",link:"https://skinrave.gg/cs2/case-opening/cybershoke",tippy:"{{skinraveMissionOpenCase}}",buttonName:"MoveTo"}},z=()=>{const{t:n}=c(),{challenge:t}=C(({modals:i})=>i.data.SKINRAVE_OPEN_CASE),[s,p]=r.useState(null),d=r.useMemo(()=>s&&Object.values(s).every(i=>i),[s]),g={name:t?.name||o.skinrave_open_case.name,tippy:t?.name||o.skinrave_open_case.tippy,link:t?.data_object?.play?.href||o.skinrave_open_case.link,buttonName:"MoveTo"};return r.useEffect(()=>{p({skinrave_registration:t?.data_object?.inner_data?.skinrave_registration||!1,skinrave_open_case:t?.data_object?.inner_data?.skinrave_open_case||!1})},[]),e.jsxs(u,{children:[e.jsx(h,{}),e.jsx(k,{children:n("Mission")}),e.jsx(v,{children:n("skinraveMissionText2")}),e.jsx(j,{children:s?Object.keys(s).map(i=>e.jsx(M,{isSuccess:s[i],mission:i==="skinrave_open_case"?g:o[i]},i)):e.jsx(f,{count:2,baseColor:"#1d2435",highlightColor:"#202738",height:68})}),e.jsx(y,{className:m("modal-button",!s&&"loading"),onClick:()=>window.location.reload(),children:e.jsx("p",{children:n(d?"GET":"Check")})})]})},M=({isSuccess:n,mission:t})=>{const{t:s}=c();return e.jsx(x,{placement:"top",content:l(t.tippy),disabled:!t.tippy,children:e.jsxs(_,{done:n,children:[e.jsxs(w,{children:[e.jsx("img",{loading:"lazy",src:b(`/pages/missions/icons/${n?"":"un"}success.svg`),alt:""}),e.jsxs("div",{children:[e.jsx("h6",{children:l(t.name)}),e.jsxs("a",{href:t.link,target:"_blank",rel:"noreferrer",children:[s("MoveTo"),e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:e.jsx("path",{d:"M12.2503 2.33363V5.25029C12.2503 5.405 12.1888 5.55338 12.0794 5.66277C11.97 5.77217 11.8217 5.83363 11.667 5.83363C11.5123 5.83363 11.3639 5.77217 11.2545 5.66277C11.1451 5.55338 11.0836 5.405 11.0836 5.25029V3.74179L6.82938 7.99604C6.71936 8.1023 6.57201 8.1611 6.41906 8.15977C6.26611 8.15844 6.1198 8.09709 6.01165 7.98894C5.90349 7.88078 5.84215 7.73447 5.84082 7.58153C5.83949 7.42858 5.89828 7.28123 6.00454 7.17121L10.2588 2.91696H8.75029C8.59558 2.91696 8.44721 2.8555 8.33781 2.7461C8.22842 2.63671 8.16696 2.48834 8.16696 2.33363C8.16696 2.17892 8.22842 2.03054 8.33781 1.92115C8.44721 1.81175 8.59558 1.75029 8.75029 1.75029H11.667C11.7434 1.75066 11.8191 1.76591 11.8898 1.79521C11.9964 1.83927 12.0875 1.91393 12.1517 2.00976C12.2158 2.10559 12.2502 2.2183 12.2503 2.33363ZM11.667 7.00029C11.5123 7.00029 11.3639 7.06175 11.2545 7.17115C11.1451 7.28054 11.0836 7.42892 11.0836 7.58363V9.91696C11.0836 10.7564 10.7564 11.0836 9.91696 11.0836H4.08363C3.24421 11.0836 2.91696 10.7564 2.91696 9.91696V4.08363C2.91696 3.24421 3.24421 2.91696 4.08363 2.91696H6.41696C6.57167 2.91696 6.72004 2.8555 6.82944 2.7461C6.93883 2.63671 7.00029 2.48834 7.00029 2.33363C7.00029 2.17892 6.93883 2.03054 6.82944 1.92115C6.72004 1.81175 6.57167 1.75029 6.41696 1.75029H4.08363C3.76913 1.7174 3.45125 1.75514 3.1532 1.86077C2.85515 1.9664 2.58445 2.13725 2.36085 2.36085C2.13725 2.58445 1.9664 2.85515 1.86077 3.1532C1.75514 3.45125 1.7174 3.76913 1.75029 4.08363V9.91696C1.7174 10.2315 1.75514 10.5493 1.86077 10.8474C1.9664 11.1454 2.13725 11.4161 2.36085 11.6397C2.58445 11.8633 2.85515 12.0342 3.1532 12.1398C3.45125 12.2454 3.76913 12.2832 4.08363 12.2503H9.91696C10.2315 12.2832 10.5493 12.2454 10.8474 12.1398C11.1454 12.0342 11.4161 11.8633 11.6397 11.6397C11.8633 11.4161 12.0342 11.1454 12.1398 10.8474C12.2454 10.5493 12.2832 10.2315 12.2503 9.91696V7.58363C12.2503 7.42892 12.1888 7.28054 12.0794 7.
8417115C11.97 7.06175 11.8217 7.00029 11.667 7.00029Z",fill:"#DEE2ED",fillOpacity:"0.7"})})]})]})]}),e.jsx("a",{href:t.link,target:"_blank",rel:"noreferrer",children:e.jsxs("button",{children:[s(t.buttonName||"Subscribe1"),e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:e.jsx("path",{d:"M6.97386 12C6.7162 12 6.46906 11.8978 6.28654 11.7158L3.26104 8.68761C3.08924 8.50314 2.99571 8.25916 3.00015 8.00707C3.0046 7.75497 3.10667 7.51444 3.28487 7.33616C3.46307 7.15787 3.70349 7.05575 3.95546 7.0513C4.20744 7.04685 4.4513 7.14043 4.63568 7.31231L6.96997 9.64772L12.3388 4.28407C12.4294 4.19377 12.5369 4.12221 12.6552 4.07347C12.7734 4.02472 12.9001 3.99976 13.028 4C13.1559 4.00024 13.2825 4.02568 13.4005 4.07487C13.5186 4.12406 13.6258 4.19603 13.7161 4.28667C13.8063 4.37731 13.8779 4.48486 13.9266 4.60316C13.9753 4.72146 14.0002 4.8482 14 4.97615C13.9998 5.1041 13.9743 5.23075 13.9252 5.34886C13.876 5.46698 13.8041 5.57425 13.7135 5.66456L7.66247 11.7197C7.479 11.9006 7.2314 12.0013 6.97386 12Z",fill:"#64D3AB"})})]})})]})})};export{o as MEDIA_DATA,z 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.