PageSourceSearch

https://cybershoke.net/assets/Lite24-DYLjN9V6.js

js cybershoke.net collected 2026-10-04 05:23:02 UTC 14,370 bytes, 153 lines download raw bytes

1import{r as u,j as t}from"./vendor-react-BGN68_Lp.js";import{aB as k,g as l,u as $,dK as M,aL as W,s as q}from"./index-uear5Vpj.js";import{m as G,p as K}from"./PremiumContent.styles-C1qOahR3.js";import{g as c}from"./vendor-styled-pkIKgjgv.js";import{u as I}from"./vendor-redux-D8sX5Eqv.js";import{L as H,a as U}from"./LandingsIcons-B-Qxfyf-.js";import{u as Z}from"./vendor-i18n-BWleq_Sd.js";const X=()=>{const o=u.useRef();return u.useEffect(()=>{const w=setTimeout(()=>{o.current.style.opacity=1},1e3),_=setTimeout(()=>{o.current.style.opacity=0},3e3);var y,C,h,g,x,n,j,f,b,r,v,e,a,d,T,L,E;return h=40,y=[[235,90,70],[97,189,79],[242,214,0],[0,121,191],[195,119,224]],g=o.current,n=g.getContext("2d"),e=g.width=window.innerWidth,a=g.height=window.innerHeight,d=function(){return e=g.width=window.innerWidth,a=g.height=window.innerHeight},window.addEventListener("resize",d,!1),r=function(i,s){return(s-i)*Math.random()+i},j=function(i,s,m,p){return n.beginPath(),n.moveTo(i,s),n.bezierCurveTo(i-17,s+14,i+13,s+5,i-5,s+22),n.lineWidth=2,n.strokeStyle=p,n.stroke()},f=function(i,s,m,p){return n.beginPath(),n.moveTo(i,s),n.lineTo(i+6,s+9),n.lineTo(i+12,s),n.lineTo(i+6,s-9),n.closePath(),n.fillStyle=p,n.fill()},b=function(i,s,m,p){return n.beginPath(),n.moveTo(i,s),n.lineTo(i+5,s+5),n.lineTo(i+10,s),n.lineTo(i+5,s-5),n.closePath(),n.fillStyle=p,n.fill()},v=.9,T=function(i){return v=i.pageX/e},document.addEventListener("mousemove",T),window.requestAnimationFrame=(function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(i){return window.setTimeout(i,5)}})(),C=(function(){function i(){this.style=y[~~r(0,5)],this.rgb="rgba("+this.style[0]+","+this.style[1]+","+this.style[2],this.r=~~r(2,6),this.r2=2*this.r,this.replace()}return i.prototype.replace=function(){return this.opacity=0,this.dop=.03*r(1,4),this.x=r(-this.r2,e-this.r2),this.y=r(-20,a-this.r2),this.xmax=e-this.r,this.ymax=a-this.r,this.vx=r(0,2)+8*v-5,this.vy=.7*this.r+r(-1,1)},i.prototype.draw=function(){var s;return this.x+=this.vx,this.y+=this.vy,this.opacity+=this.dop,1<this.opacity&&(this.opacity=1,this.dop*=-1),(0>this.opacity||this.y>this.ymax)&&this.replace(),0<(s=this.x)&&s<this.xmax||(this.x=(this.x+this.xmax)%this.xmax),j(~~this.x,~~this.y,this.r,this.rgb+","+this.opacity+")"),b(.5*~~this.x,~~this.y,this.r,this.rgb+","+this.opacity+")"),f(1.5*~~this.x,1.5*~~this.y,this.r,this.rgb+","+this.opacity+")")},i})(),x=(function(){var i,s,m;for(m=[],i=1,s=h;1<=s?i<=s:i>=s;1<=s?++i:--i)m.push(new C);return m})(),L=function(){var i,s,m,p;for(E=requestAnimationFrame(L),n.clearRect(0,0,e,a),p=[],s=0,m=x.length;s<m;s++)i=x[s],p.push(i.draw());return p},L(),()=>{clearTimeout(w),clearTimeout(_),cancelAnimationFrame(E),window.removeEventListener("resize",d),document.removeEventListener("mousemove",T)}},[o]),t.jsx("canvas",{style:{position:"absolute",left:"0",right:"0",top:"0",zIndex:99999,width:"100vw",height:"100vh",transition:"all 1s ease",pointerEvents:"none",opacity:"0"},id:"confeti",className:"active",ref:o})},A={receiveLite(o){return k(`/api/v1/events/promo/eu/${o??"discord"}/get`)},getGift(o){return k(`/api/v1/events/promo/eu/${o??"discord"}`)}},Y=c.div`
2    ${K}
3`,z=c.div`
4    padding-top: 135px;
5    display: flex;
6    justify-content: center;
7    gap: 64px;
8    align-items: flex-start;
9    background: url(${l("/img/discord_bg.png")}) no-repeat center
10        top / cover;
11
12    a {
13        display: block;
14        width: fit-content;
15    }
16
17    .image {
18        width: 554px;
19        border-radius: 7px;
20        margin-bottom: 12px;
21    }
22
23    @media (max-width: 1300px) {
24        flex-direction: column-reverse;
25        align-items: center;
26        padding-bottom: 200px;
27    }
28`,S=c.h2`
29    color: #ecf1f8;
30    font-size: 40px;
31    font-weight: 700;
32    display: flex;
33    align-items: center;
34
35    img {
36        height: 48px;
37        margin-left: 10px;
38    }
39`,D=c.p`
40    margin: 20px 0 36px 0;
41    color: #adbcd0;
42    font-size: 15px;
43    font-weight: 500;
44    line-height: 22px;
45    max-width: 460px;
46`,P=c.div`
47    max-width: 460px;
48`,R=c.div`
49    display: flex;
50    flex-direction: column;
51    gap: 4px;
52`,N=c.svg``,B=c.div`
53    display: flex;
54    align-items: center;
55    gap: 12px;
56`,F=c.div`
57    border-radius: 6px;
58    background: #1a202d;
59    display: flex;
60    align-items: center;
61    justify-content: space-between;
62    padding: 16px;
63
64    h6 {
65        color: #dee2ed;
66        margin-bottom: 6px;
67        font-size: 14px;
68        font-weight: 500;
69    }
70
71    p {
72        color: rgba(222, 226, 237, 0.7);
73        font-size: 12px;
74    }
75
76    button {
77        padding: 10px 12px;
78        border-radius: 8px;
79        background: rgba(96, 128, 255, 0.12);
80        color: #6080ff;
81        font-size: 14px;
82        display: flex;
83        align-items: center;
84
85        svg {
86            width: 16px;
87            margin-left: 8px;
88        }
89    }
90
91    &.done {
92        background:
93            linear-gradient(
94                0deg,
95                rgba(39, 79, 76, 0.25) 0%,
96                rgba(39, 79, 76, 0.25) 100%
97            ),
98            #1a202d;
99
100        button {
101            background: rgba(91, 234, 174, 0.12);
102            color: #6bcea5;
103        }
104    }
105`,O=c.div`
106    display: flex;
107    align-items: center;
108    justify-content: space-between;
109    margin-top: 24px;
110
111    p {
112        color: #7f8eaa;
113        font-size: 14px;
114        font-weight: 500;
115    }
116
117    button {
118        padding: 11px 24px;
119        border-radius: 6px;
120        border: 1px solid #1f2534;
121        color: #7f8eaa;
122        font-size: 14px;
123        font-weight: 500;
124        display: flex;
125        background: transparent;
126        align-items: center;
127
128        svg {
129            width: 16px;
130            margin-left: 8px;
131        }
132    }
133`,J=c.div`
134    width: 52px;
135    height: 52px;
136    display: flex;
137    justify-content: center;
138    align-items: center;
139    background: radial-gradient(100% 100% at 50% 0%, #e49635 0%, #b37529 100%);
140    border: 1px solid #e49635;
141    box-shadow: 0px 0px 50px rgba(228, 150, 53, 0.24);
142    border-radius: 12px;
143
144    &.blue {
145        background: radial-gradient(
146            100% 100% at 50% 0%,
147            #6080ff 0%,
148            #435ab3 100%
149        );
150        border: 1px solid #6080ff;
151        box-shadow: 0px 0px 50px rgba(96, 128, 255, 0.24);
152    }
153`,Q=()=>{const{t:o}=Z(),w=$(),_=I(e=>e.root.showChanger),y=I(e=>e.auth.steamid64),C=I(e=>e.auth.isAuth),[h,g]=u.useState({}),[x,n]=u.useState(!1),[j,f]=u.useState(!1),b=()=>{f(!0),setTimeout(()=>{f(!1)},3e3),A.getGift().then(e=>{e&&e.data&&(e.data.access_promo.code==101&&w("/"),e.data.auth&&e.data.write_message&&e.data.connection&&e.data.join_channel&&!e.data.received&&A.receiveLite().then(a=>{a&&(n(!0),q(o("GIFT-PROMO-LITE")))}),g(e.data))})};u.useEffect(()=>{b()},[]);const r=[{title:"DiscordLite1",text:"DiscordLite1Text",btn:"Authorize",action:()=>{window.open("//auth.cybershoke.net/steam")},completed:h.auth},{title:"DiscordLite2",text:"DiscordLite2Text",btn:"Connect",action:()=>{window.open("//auth.cybershoke.net/connect/discord")},completed:h.connection},{title:"DiscordLite3",text:"DiscordLite3Text",btn:"Join",action:()=>{window.open("//discord.gg/gQBYwyNHAa")},completed:h.join_channel},{title:"DiscordLite4",text:"DiscordLite4Text",btn:"Open",action:()=>{window.open("//discord.gg/W9GXKB4dxm")},completed:h.write_message}],v=[{title:"SKINS-SELECTION-1",description:"SKINS-SELECTION-DESCR",icon:"SKINCHANGER1",img:"changer.png",class:"benefit__competitions",images:[{class:"benefit-img__awp",src:"changer2"},{class:"benefit-img__bullets",src:"bullets"}],scrollTarget:11,hide:!_,blueIcon:!0},{title:"PremTag",description:"AccessTag",img:"tag.png",class:"benefit__tag",images:[{class:"benefit__curtain",src:"curtain"},{class:"benefit__feathers",src:"feathers"}],scrollTarget:3,addImg:{class:"benefit__corona",src:"corona"},blueIcon:!0},{title:"ImmunityAWPRestriction1",description:"ImmunityAWPRestriction2",img:"demo9.png",class:"benefit__unlimit-awp",images:[{class:"benefit-img__awp",src:"awp"},{class:"benefit-img__crosshair",src:"crosshair"},{class:"benefit-img__locker",src:"locker"}],scrollTarget:4,blueIcon:!0},{title:"TheLackAdvertising1",description:"TheLackAdvertising2",img:null,class:"benefit__no-ads",images:[],scrollTarget:2,blueIcon:!0},{title:"PremSlot",description:"SlotText",img:"slot.png",class:"",images:[],blueIcon:!0,scrollTarget:1}];return u.useEffect(()=>{const e=document.getElementById("main");if(!e)return;const a=d=>{document.body.classList.toggle("dark-header",d.target.scrollTop>50)};return document.body.classList.add("static-header"),e.addEventListener("scroll",a),()=>{document.body.classList.remove("static-header"),e.removeEventListener("scroll",a)}},[]),t.jsxs(Y,{children:[t.jsx(M,{title:"CYBERSHOKE | Get LITE gift"}),x&&t.jsx(X,{}),t.jsxs(z,{children:[t.jsx("img",{loading:"lazy",src:l("/img/discord.jpg"),className:"image",alt:""}),t.jsxs("div",{children:[t.jsx(S,{style:{maxWidth:500},children:o("DiscordLiteTitle")}),t.jsx(D,{children:o("DiscordLiteText")}),t.jsxs(P,{children:[t.jsx(R,{children:r.map(e=>t.jsxs(F,{className:e.completed&&"done",children:[t.jsxs(B,{children:[e.completed?t.jsxs(N,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[t.jsx("path",{opacity:"0.4",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",fill:"#64D3AB"}),t.jsx("path",{d:"M10.833 15.083C10.6343 15.083 10.4437 15.0042 10.303 14.864L7.97 12.53C7.83752 12.3878 7.7654 12.1998 7.76882 12.0055C7.77225 11.8112 7.85096 11.6258 7.98838 11.4884C8.12579 11.351 8.31118 11.2723 8.50548 11.2688C8.69978 11.2654 8.88782 11.3375 9.03 11.47L10.83 13.27L14.97 9.136C15.0399 9.0664 15.1227 9.01124 15.2139 8.97368C15.3051 8.93611 15.4028 8.91687 15.5014 8.91705C15.6 8.91724 15.6976 8.93685 15.7887 8.97476C15.8797 9.01267 15.9
153624 9.06814 16.032 9.138C16.1016 9.20787 16.1568 9.29075 16.1943 9.38193C16.2319 9.47311 16.2511 9.5708 16.2509 9.66942C16.2508 9.76803 16.2312 9.86565 16.1932 9.95668C16.1553 10.0477 16.0999 10.1304 16.03 10.2L11.364 14.867C11.2225 15.0064 11.0316 15.084 10.833 15.083Z",fill:"#64D3AB"})]}):t.jsxs(N,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[t.jsx("path",{opacity:"0.4",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",fill:"#D45050"}),t.jsx("path",{d:"M13.061 12L15.53 9.53C15.6625 9.38782 15.7346 9.19978 15.7312 9.00548C15.7277 8.81118 15.649 8.62579 15.5116 8.48838C15.3742 8.35097 15.1888 8.27225 14.9945 8.26882C14.8002 8.2654 14.6122 8.33752 14.47 8.47L12 10.939L9.53 8.47C9.38783 8.33752 9.19978 8.2654 9.00548 8.26882C8.81118 8.27225 8.62579 8.35097 8.48838 8.48838C8.35097 8.62579 8.27225 8.81118 8.26883 9.00548C8.2654 9.19978 8.33752 9.38782 8.47 9.53L10.939 12L8.47 14.47C8.39631 14.5387 8.33721 14.6215 8.29622 14.7135C8.25523 14.8055 8.23319 14.9048 8.23141 15.0055C8.22963 15.1062 8.24816 15.2062 8.28588 15.2996C8.3236 15.393 8.37974 15.4778 8.45096 15.549C8.52218 15.6203 8.60702 15.6764 8.7004 15.7141C8.79379 15.7518 8.89382 15.7704 8.99452 15.7686C9.09523 15.7668 9.19454 15.7448 9.28654 15.7038C9.37854 15.6628 9.46134 15.6037 9.53 15.53L12 13.061L14.47 15.53C14.6122 15.6625 14.8002 15.7346 14.9945 15.7312C15.1888 15.7277 15.3742 15.649 15.5116 15.5116C15.649 15.3742 15.7277 15.1888 15.7312 14.9945C15.7346 14.8002 15.6625 14.6122 15.53 14.47L13.061 12Z",fill:"#D45050"})]}),t.jsxs("div",{children:[t.jsx("h6",{children:o(e.title)}),t.jsx("p",{children:o(e.text)})]})]}),e.btn&&t.jsxs("button",{onClick:e.completed?()=>{}:e.action,children:[e.completed?o("Completed"):o(e.btn),e.completed&&t.jsx(H,{})]})]},e.title||e.text))}),t.jsxs(O,{children:[r.every(e=>e.completed)?t.jsxs("p",{children:[o("ActiveUpTo"),":"," ",W(h.access_promo.unixtime)]}):t.jsx("div",{}),r.every(e=>e.completed)&&t.jsx("button",{onClick:()=>w("/profile/"+y+"/inventory"),children:o("GoToInventory")}),r.some(e=>!e.completed)&&C&&t.jsxs("button",{onClick:()=>!j&&b(),children:[o("ToUpdate"),t.jsx(U,{})]})]})]})]})]}),t.jsx("img",{loading:"lazy",src:l("/img/premium/arrow.svg"),alt:"",className:"premium__down-arrow",style:{margin:"50px auto 50px auto",display:"block"},onClick:e=>document.getElementById("main")?.scrollTo({top:e.target.offsetTop,behavior:"smooth"})}),t.jsx(S,{style:{justifyContent:"center",marginBottom:100},children:o("LiteBenefits")}),t.jsx("div",{className:"premium__benefits-wrapper",children:v.filter(e=>!e.hide).map((e,a)=>t.jsx(u.Fragment,{children:t.jsxs("div",{className:`premium__benefit-block ${a%2!=0?"reverse-benefit":""} ${e.class}`,children:[t.jsxs("div",{className:"premium__benefit-content",children:[t.jsx(J,{className:e.blueIcon&&"blue",children:t.jsx("img",{loading:"lazy",src:l(`/pages/premium/icons/icon-${e.icon||e.title}.svg`),alt:""})}),t.jsx("div",{className:"premium__benefit-name",children:o(e.title)}),t.jsx("div",{className:"premium__benefit-descr",children:o(e.description)})]}),t.jsxs("div",{className:"premium__benefit-images",children:[e.video?t.jsx("video",{muted:!0,loop:!0,autoPlay:!0,controls:!1,playsInline:!0,className:"benefit__demo benefit__gif",src:l(`/img/premium/${e.video}`)}):e.img?t.jsx("img",{loading:"lazy",src:l(`/img/premium/${e.img}`),alt:"",className:"benefit__demo benefit__gif"}):t.jsx("div",{id:"video-compare-container",className:"benefit__demo",children:t.jsx("div",{id:"video-clipper",children:t.jsx(G,{handle:t.jsx("div",{}),hover:!0,leftImage:l("/img/premium/betboom-banner.jpg"),rightImage:l("/img/premium/no-betboom-banner.jpg")})})}),e.images.map(d=>t.jsx("img",{loading:"lazy",className:d.class,src:l(`/img/premium/${d.src}.png`)},d.src)),t.jsxs("div",{className:"under-demo-images",children:[t.jsx("span",{className:"benefit-number",children:a+1}),e.addImg&&t.jsx("img",{loading:"lazy",className:e.addImg.class,src:l(`/img/premium/${e.addImg.src}.png`)})]})]})]})},e.title||a))})]})},ae=Object.freeze(Object.defineProperty({__proto__:null,List:R,ListWrapper:P,Status:O,Step:F,StepLeft:B,StepStatus:N,Subtitle:D,Title:S,Wrapper:z,default:Q},Symbol.toStringTag,{value:"Module"}));
153export{X as C,R as L,D as S,S as T,z as W,F as a,B as b,N as c,O as d,P as e,ae as f,A as l};

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.