1import{j as e,r as x}from"./vendor-react-BGN68_Lp.js";import{u as X,fk as J,e$ as Q,g as a,c as Y,fl as ee,b as E,t as h,fm as te,a as ie,fn as se,j as F,I as R,N as ne,G as re,fo as ae,e0 as oe,w as $,dK as le,aP as ce}from"./index-uear5Vpj.js";import{a as de,u as f,b as me}from"./vendor-redux-D8sX5Eqv.js";import{g as r}from"./vendor-styled-pkIKgjgv.js";import{convertValue as pe}from"./index-Bu6Gk3kO.js";import{T as ge}from"./PlanTape.styles-CFui8rwA.js";import{u as N}from"./vendor-i18n-BWleq_Sd.js";import{m as ue,p as xe}from"./PremiumContent.styles-C1qOahR3.js";import{T as he}from"./TransparentHeaderWrapper-C-Fzq3DK.js";import"./vendor-socket-DSYo_sTV.js";import"./vendor-router-CYD8mbvC.js";import"./premiumApi-WY_Mz-No.js";import"./index-CQifdGyk.js";import"./AutoSub.styles-C3Oieddq.js";const fe=({color:s="#F4A445"})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:[e.jsx("g",{clipPath:"url(#plan-benefits-switch-icon)",children:e.jsx("path",{d:"M12.3279 0.0466919C12.759 0.0466968 13.1725 0.218471 13.4773 0.523254C13.7821 0.828035 13.9539 1.24161 13.9539 1.67267L13.9539 10.0467C13.9539 10.9439 13.2254 11.6717 12.3279 11.6717C11.8969 11.6716 11.4832 11.5008 11.1785 11.1961C10.8738 10.8914 10.703 10.4777 10.7029 10.0467V5.59552L2.82147 13.4769C2.18718 14.1116 1.15741 14.1123 0.522644 13.4779C0.21788 13.1732 0.0461299 12.7595 0.0460815 12.3285C0.0460914 11.8975 0.217846 11.4829 0.522644 11.1781L8.40309 3.29767L3.9529 3.29767C3.05565 3.29767 2.32789 2.56922 2.3279 1.67169C2.32798 1.24073 2.49877 0.826996 2.80349 0.52228C3.10821 0.217568 3.52193 0.0467609 3.9529 0.0466945L12.3279 0.0466919Z",fill:s})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"plan-benefits-switch-icon",children:e.jsx("rect",{width:"14",height:"14",fill:"white"})})})]}),be=({color:s="#F4A445"})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:[e.jsx("g",{clipPath:"url(#clip0_207_12458)",children:e.jsx("path",{d:"M6.33724 11.743C5.7025 12.3778 4.67259 12.3778 4.03816 11.743L0.476051 8.18081C-0.158684 7.54637 -0.158684 6.51644 0.476051 5.88199C1.11048 5.24725 2.14039 5.24725 2.77513 5.88199L4.89744 8.00405C5.05766 8.16396 5.31774 8.16396 5.47826 8.00405L11.2249 2.25731C11.8593 1.62256 12.8892 1.62256 13.5239 2.25731C13.8288 2.56213 14 2.97569 14 3.40672C14 3.83775 13.8288 4.25132 13.5239 4.55613L6.33724 11.743Z",fill:s})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_207_12458",children:e.jsx("rect",{width:"14",height:"14",fill:"white"})})})]}),U=(s,n)=>{if(n)switch(s){case"red":return"#A64D4D";case"gold":return"#7A5E3C";case"blue":return"#4F63B1";default:return"#7A5E3C"}switch(s){case"red":return"#D84949";case"gold":return"#E49635";case"blue":return"#6080FF";default:return"#E49635"}},_e=r.div` 2 width: ${s=>s.game==="rust"?"340px":"356px"}; 3 overflow: hidden; 4 background: linear-gradient( 5 180deg, 6 #1a1e2d -12.18%, 7 #1d2431 86.88%, 8 #1d2431 103.8% 9 ); 10 border-radius: 17px; 11 12 @media (max-width: 768px) { 13 width: 100%; 14 max-width: 396px; 15 } 16`,je=r.div` 17 padding: 32px; 18`,we=r.div` 19 padding: 10px 10px 0 10px; 20 21 &.fill { 22 padding: 0; 23 } 24 25 img { 26 width: 100%; 27 } 28 29 @media (max-width: 768px) { 30 padding: 16px 16px 0 16px; 31 32 &.fill { 33 padding: 0; 34 } 35 } 36`,ve=r.ul` 37 display: flex; 38 flex-direction: column; 39 40 li { 41 font-weight: 500; 42 font-size: 14px; 43 line-height: 16px; 44 45 &:not(:last-child) { 46 margin-bottom: 15px; 47 } 48 49 &, 50 a, 51 button { 52 color: #e5e8ef; 53 display: flex; 54 align-items: center; 55 } 56 57 button { 58 color: inherit; 59 font-weight: inherit; 60 background: transparent; 61 padding: 0; 62 text-align: left; 63 width: 100%; 64 } 65 66 svg { 67 width: 14px; 68 margin-right: 9px; 69 } 70 } 71`,ye=r.button` 72 color: #9fb1c9; 73 font-size: 14px; 74 font-weight: 500; 75 line-height: 16px; 76 background: transparent; 77 padding: 0; 78 display: inline-flex; 79 align-items: center; 80 gap: 1px; 81 transition: color 0.2s ease; 82 text-decoration-line: underline; 83 text-decoration-style: dotted; 84 text-decoration-skip-ink: auto; 85 text-decoration-color: #646980; 86 text-decoration-thickness: 17%; 87 text-underline-offset: 18%; 88 text-underline-position: from-font; 89 90 img { 91 height: 18px; 92 margin-left: 5px; 93 } 94 95 svg { 96 flex-shrink: 0; 97 } 98 99 &:hover { 100 color: #cbd8ec; 101 } 102`,Pe=r.div` 103 display: grid; 104 grid-gap: 8px; 105 height: 60px; 106 grid-template-columns: 1fr 60px; 107 margin-top: 32px; 108 109 &.disable { 110 opacity: 0.3; 111 pointer-events: none; 112 } 113 114 &.extended { 115 margin-bottom: 40px; 116 } 117 118 button { 119 display: flex; 120 height: 100%; 121 align-items: center; 122 justify-content: center; 123 } 124`,ke=r.button` 125 border: 2px solid ${s=>U(s.theme,!0)}; 126 background: transparent; 127 border-radius: 8px; 128`,Te=r.button` 129 background: ${s=>U(s.theme)}; 130 font-weight: 700; 131 font-size: 16px; 132 border-radius: ${s=>s.upgrade?"8px 8px 0 0":"8px"}; 133 134 img { 135 width: 23px; 136 margin-right: 10px; 137 } 138 139 @media all and (max-width: 750px) { 140 border-radius: 8px; 141 } 142`,Ie=r.span` 143 position: absolute; 144 top: -10px; 145 right: 13px; 146 padding: 3px 9px; 147 background: #ffffff; 148 border-radius: 6px; 149 font-weight: 500; 150 font-size: 14px; 151 color: #fb4949; 152 text-decoration: line-through; 153`,Ce=r.div` 154 height: 24px; 155 background: rgba(228, 150, 53, 0.1); 156 width: 100%; 157 display: flex; 158 align-items: center; 159 justify-content: center; 160 position: absolute; 161 bottom: -24px; 162 left: 0; 163 border-radius: 0 0 8px 8px; 164 font-weight: 500; 165 font-size: 10px; 166 color: #e49635; 167 168 img { 169 width: 12px; 170 margin-left: 4px; 171 } 172 173 @media all and (max-width: 750px) { 174 display: none; 175 } 176`,Ee=r.div` 177 border-radius: 4px; 178 border: 1px solid #7a5e3c; 179 margin-left: 9px; 180 align-items: center; 181 gap: 5px; 182 display: inline-flex; 183 padding: 3px 8px; 184 color: #ffd5a0; 185 font-size: 10px; 186 font-weight: 500; 187 188 span { 189 width: 5px; 190 height: 5px; 191 display: block; 192 border-radius: 50%; 193 background: #ffd5a0; 194 } 195`,Ne=r.button` 196 margin-top: 16px; 197 display: flex; 198 align-items: center; 199 justify-content: center; 200 background: transparent; 201 gap: 24px; 202 background: transparent; 203 width: 100%; 204 205 p { 206 max-width: 150px; 207 color: #c7d3e2; 208 font-size: 12px; 209 font-weight: 700; 210 line-height: 120%; 211 text-align: left; 212 } 213 214 & > div { 215 display: flex; 216 align-items: center; 217 } 218`,Me=r.img` 219 width: 28px; 220 display: block; 221 height: 28px; 222 border-radius: 28px; 223 border: 2px solid #171c27; 224 margin-right: -14px; 225`,Be=r.div` 226 width: 28px; 227 height: 28px; 228 border-radius: 28px; 229 background: #212533; 230 border: 2px solid #171c27; 231 display: flex; 232 align-items: center; 233 justify-content: center; 234 color: #c7d3e2; 235 font-size: 12px; 236 font-weight: 700; 237 margin-right: -14px; 238`,Se=r(ie)` 239 margin-left: 9px; 240`,Ae=s=>{const{t:n}=N(),o=de(),_=X(),g=J(),{lite:i,theme:m,recommend:b}=s.data,{activePrivilegesGroup:k,onTogglePrivilegesGroup:y}=s,j=f(t=>t.auth.premium),u=f(t=>t.auth.friends),P=f(t=>t.root.premiumPlans),c=g[k]??g.common,w=k==="rust"?"common":"rust",M=g[w]??[],p=x.useMemo(()=>Object.entries(u).filter(([t,l])=>i?l.group==="LITE":l.group==="VIP").map(([t,l])=>({key:t,...l})),[u,i]),T=j.group==="LITE"&&!i,B=Object.values(u).filter(t=>t.group==="LITE").length>0&&Object.values(u).filter(t=>t.group==="VIP").length>0;let I=i?"PREMIUM LITE":"PREMIUM",v=Q(P)?{}:P[I][P[I].length-1];const S=()=>
240{o(E("PREMIUM_INFO",te(n)))},G=t=>{if(!s.isAuth)return S();h("premium_buy_click",{plan:t==="PREMIUM LITE"?"lite":"premium"}),o(E("AUTOSUB_MODAL",{type:t}))},O=()=>{if(!p?.length)return"";const t=p.filter(d=>typeof d.name=="string"&&d.name.length<10).sort((d,Z)=>d.name.length-Z.name.length);return(t.length>0?t.slice(0,2):p.filter(d=>typeof d.name=="string").slice(0,1)).map(d=>d.name).join(` ${n("and")} `)+" "+n(i?"FriendsWithLite":"FriendsWithPremium")},D=()=>{if(!s.isAuth)return S();o(E("GIFT_PREMIUM",{type:i?"PREMIUM LITE":"PREMIUM",source:"plan"}))},W=()=>{if(v.price)return`${pe(v,!1,{symbolFirst:!0})} / ${n("Month")}`},H=()=>{o(E("FRIENDS_PROGRESS",{img:a(`/pages/premium/${i?"lite":"premium"}_3d.png`),title:n("FriendsWithPlan",{plan:i?"LITE":"PREMIUM"}),currentPoints:p.length,reachPoints:Object.keys(u).length,list:p.map(t=>({avatar:t.avatar,name:t.name})),classses:`premium ${i?"lite":""}`}))},q=t=>t==="rust"?"Rust":"CS2 / CS:GO",K=()=>{const t=M.length,l=q(w);return n("MoreGameBonuses",{count:t,game:l})},A=t=>n(i&&t.alternativeTitle||t.title),L=t=>{h("premium_advantages_click",{name:A(t)}),t.route&&_(t.route)},V=(t,l)=>{const C=e.jsx(be,{color:l?"#5C6776":m==="blue"?"#6080FF":"#F4A445"}),d=e.jsxs(e.Fragment,{children:[C,A(t),t.isNew&&!i&&e.jsx(Se,{children:"NEW"}),t.badge&&!i&&e.jsxs(Ee,{children:[e.jsx("span",{}),n(t.badge)]})]});return t.route?e.jsx("button",{type:"button",onClick:()=>L(t),children:d}):t.link?e.jsx("a",{onClick:()=>{L(t),ee(t.link,400)},children:d}):d};return e.jsx("div",{children:e.jsxs(_e,{children:[b&&e.jsx(ge,{theme:m,children:n("WeRecommend")}),e.jsx(we,{children:e.jsx("img",{loading:"lazy",src:a(`/img/premium/plans/${i?"lite":"premium"}-header.svg`),alt:""})}),e.jsxs(je,{children:[e.jsxs(ve,{children:[c.map(t=>{const l=t.fullOnly&&i,C=t.route||t.link||t.title||t.titleText;return e.jsx("li",{className:l?"disabled-benefit":void 0,children:V(t,l)},C)}),M.length>0&&e.jsx("li",{children:e.jsxs(ye,{type:"button",onClick:()=>y(w),children:[e.jsx(fe,{color:m==="blue"?"#6080FF":"#F4A445"}),K(),e.jsx("img",{loading:"lazy",src:a(`/img/png/${w==="rust"?"rust":"cs2"}_online.svg`),alt:""})]})})]}),e.jsxs(Pe,{className:Y(j.group==="LITE"&&"extended"),children:[e.jsxs(Te,{theme:m,onClick:()=>G(i?"PREMIUM LITE":"PREMIUM"),upgrade:j.group==="LITE"&&!i,children:[e.jsx("img",{loading:"lazy",src:a("/img/premium/white-crown.svg"),alt:""}),v.discount&&v.badges?.page_discout&&e.jsx(Ie,{children:`${v.badges.page_discout.old_price} ${v.badges.page_discout.currency_symbol}`}),W(),T&&e.jsxs(Ce,{children:[n("UpgradeFromLite"),e.jsx("img",{loading:"lazy",src:a("/pages/premium/icons/upgrade.svg"),alt:""})]})]}),e.jsx(ke,{theme:m,onClick:D,children:e.jsx("img",{loading:"lazy",src:a(`/pages/premium/icons/gift_${m}.svg`),alt:""})})]}),B&&e.jsxs(Ne,{onClick:H,children:[e.jsxs("div",{children:[p.slice(0,3).map((t,l)=>e.jsx(Me,{src:t.avatar},l)),p.length>3&&e.jsxs(Be,{children:["+",p.length-3]})]}),e.jsx("p",{children:O()})]})]})]})})},z=r.div` 241 position: absolute; 242 top: 50px; 243 left: -370px; 244 z-index: 2; 245 width: 240px; 246 247 span { 248 display: block; 249 color: #f1f3ff; 250 font-size: 22px; 251 line-height: 28px; 252 margin-bottom: 16px; 253 } 254 255 button { 256 padding: 0 25px; 257 height: 47px; 258 background: #e49635; 259 border-radius: 8px; 260 font-weight: 700; 261 font-size: 16px; 262 } 263 264 &.lite { 265 button { 266 background: #6080ff; 267 } 268 } 269 270 &.desktop { 271 position: absolute; 272 top: 67px; 273 left: -400px; 274 z-index: 2; 275 width: 215px; 276 } 277 278 &.mobile { 279 display: none; 280 } 281 282 @media (max-width: 1700px) { 283 right: -370px; 284 285 &.desktop { 286 left: -376px; 287 } 288 } 289 290 @media (max-width: 1600px) { 291 &.desktop, 292 &.lite { 293 display: none; 294 } 295 } 296 297 @media (max-width: 1000px) { 298 &.mobile { 299 display: block; 300 width: 100%; 301 max-width: 396px; 302 margin-top: 20px; 303 } 304 } 305`,Le=r.img` 306 top: 42px; 307 position: absolute; 308 left: -302px; 309 width: 369px; 310 311 @media all and (max-width: 1000px) { 312 display: none !important; 313 } 314`,Fe=r.img` 315 position: absolute; 316 right: -376px; 317 top: -20px; 318 height: 758px; 319 320 @media all and (max-width: 1000px) { 321 display: none !important; 322 } 323`,Re=s=>{const{t:n}=N(),o=se("premium_b_1"),_=f(c=>
323c.root.partnerData),g=f(c=>c.root.partners),i=f(c=>c.root.currentGame),[m,b]=x.useState(F(i)?"rust":"common"),k=[{theme:"gold",name:"premium",recommend:!0},{lite:!0,theme:"blue",name:"lite"}],y=s.allowBonus,j=g?.premium_page?.id,u=j==="skinrave"?"skinrave":y?"bb":null;x.useEffect(()=>{b(F(i)?"rust":"common")},[i]);function P(c){const w=Date.now(),p=c*1e3-w;if(p<=0)return n("OfferExpired");const T=Math.floor(p/(1e3*60*60)),B=Math.floor(T/24),I=T%24;return n("PremiumOfferTimeLeft",{days:B,hours:I})}return e.jsxs("div",{children:[e.jsxs("div",{className:"premium__main-plans",children:[e.jsx(Le,{src:a(`/pages/premium/t-${u??"empty"}.png`),alt:"",style:u?{width:460,left:-340,top:0}:{}}),e.jsx(Fe,{src:a("/pages/premium/ct.png"),alt:""}),y&&e.jsxs(z,{className:"desktop",children:[_.user_exclusive_betboom_dep_promo?e.jsxs(e.Fragment,{children:[e.jsx("span",{children:n("PremiumGiftOffer")}),e.jsx("span",{style:{color:"#FF5839"},children:P(_.betboom_dep_end)})]}):e.jsx("span",{dangerouslySetInnerHTML:{__html:n("PartnerPromo")}}),e.jsx("button",{onClick:()=>{h("partner_premium_click",{partner:"betboom"}),window.open(R("/promo/betboom"),"_blank")},children:n("PartnerPromo2")})]}),k.map(c=>e.jsx(Ae,{data:c,isAuth:s.isAuth,allowBonus:y,activePrivilegesGroup:m,onTogglePrivilegesGroup:b},c.name)),j==="skinrave"&&e.jsxs(z,{className:"premium",children:[e.jsx("span",{children:n`PartnerPromoEU`}),e.jsx("button",{onClick:()=>{h("partner_premium_click",{partner:"skinrave"}),window.open(R("/skinrave"),"_blank")},children:n("PartnerPromo2")})]})]}),o&&e.jsx("div",{onClick:()=>h("premium_banner_click",{id:o.id}),children:e.jsx(ne,{to:o.href,style:{width:"100%",maxWidth:730,display:"block",marginTop:24},children:e.jsx("img",{loading:"lazy",src:re(o.img),alt:o.alt,style:{width:"100%",borderRadius:"12px"}})})})]})},$e=r.div` 324 width: 52px; 325 height: 52px; 326 display: flex; 327 justify-content: center; 328 align-items: center; 329 background: radial-gradient(100% 100% at 50% 0%, #e49635 0%, #b37529 100%); 330 border: 1px solid #e49635; 331 box-shadow: 0px 0px 50px rgba(228, 150, 53, 0.24); 332 border-radius: 12px; 333 334 &.blue { 335 background: radial-gradient( 336 100% 100% at 50% 0%, 337 #6080ff 0%, 338 #435ab3 100% 339 ); 340 border: 1px solid #6080ff; 341 box-shadow: 0px 0px 50px rgba(96, 128, 255, 0.24); 342 } 343`,ze=r.div` 344 top: -500px; 345`,Ue=()=>{const{t:s}=N(),n=f(i=>i.root.showChanger),[o,_]=x.useState([]),g=f(i=>i.root.lang);return x.useEffect(()=>{ae(n)&&_([{title:"DropSkins1",description:"DropSkins4",img:"drop.png",class:"benefit__drops",images:[{class:"benefit-img__karambit",src:"karambit"},{class:"benefit-img__cases",src:"case"},{class:"benefit-img__flashbang",src:"flashbang"}],scrollTarget:5,addImg:{class:"benefit-img__blured-ak",src:"blured-ak47"}},{title:"SKINS-SELECTION-1",description:"SKINS-SELECTION-DESCR",icon:"SKINCHANGER1",img:`agents${g==="ru"?"":"-en"}.png`,class:"benefit__competitions",images:[],scrollTarget:11,hide:!n},{title:"freeStickerPlacement",description:"freeStickerPlacement2",img:"stickers.png",class:"",images:[],scrollTarget:13},{title:"teamspeakChannel",description:"teamspeakChannelText",img:"ts.jpg",images:[],scrollTarget:14},{title:"UniqueEvents",description:"UniqueEventsText",img:"event.png",class:"",images:[],scrollTarget:12},{title:"um1-1",description:"um1-2",img:"missions.png",images:[],class:"benefit__skinchanger",scrollTarget:6,scale:1.5},{title:"PremiumTextPlayProHeader",description:"PremiumTextPlayProBottom",img:"pro.png",class:"benefit__pro",images:[{class:"benefit-img__navi",src:"navi2"},{class:"benefit-forze",src:"twitch"},{class:"benefit-vp",src:"youtube"}],scrollTarget:7},{title:"HIGH-SUPPORT",description:"SupportFirstText",img:"supports.png",class:"",images:[],scrollTarget:9},{title:"ChangingNick",description:"ChangingNickText",img:"nick.png",class:"",images:[],scrollTarget:10},{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}])},[n]),e.jsxs("div",{className:"premium__benefits",children:[e.jsx("div",{className:"premium__benefits-wrapper",children:o.filter(i=>!i.hide).map((i,m)=>e.jsxs(x.Fragment,{children:[e.jsx(ze,{id:i.scrollTarget}),e.jsxs("div",{className:`premium__benefit-block ${m%2!=0?"reverse-benefit":""} ${i.class}`,children:[e.jsxs("div",{className:"premium__benefit-content",children:[e.jsx($e,{className:i.blueIcon&&"blue",children:e.jsx("img",{loading:"lazy",src:a(`/pages/premium/icons/icon-${i.icon||i.title}.svg`),alt:""})}),e.jsxs("div",{className:"premium__benefit-name",children:[s(i.title),i.isX2&&e.jsx("img",{loading:"lazy",src:a(`/pages/other/header/x2drop${g==="ru"?"":"_en"}.svg`),alt:""})]}),e.jsx("div",{className:"premium__benefit-descr",dangerouslySetInnerHTML:{__html:s(i.description)}})]}),e.jsxs("div",{className:"premium__benefit-images",children:[i.video?e.jsx("video",{muted:!0,loop:!0,autoPlay:!0,controls:!1,playsInl
345ine:!0,className:"benefit__gif",src:a(`/img/premium/${i.video}`)}):i.img?e.jsx("img",{loading:"lazy",src:a(`/img/premium/${i.img}`),alt:"",style:i.scale&&{width:i.scale*100+"%"},className:"benefit__gif"}):e.jsx("div",{id:"video-compare-container",className:"benefit__demo",children:e.jsx("div",{id:"video-clipper",children:e.jsx(ue,{handle:e.jsx("div",{}),hover:!0,leftImage:a("/img/premium/betboom-banner.jpg"),rightImage:a("/img/premium/no-betboom-banner.jpg")})})}),i.images.map(b=>e.jsx("img",{loading:"lazy",className:b.class,src:a(`/img/premium/${b.src}.png`)})),e.jsxs("div",{className:"under-demo-images",children:[e.jsx("span",{className:"benefit-number",children:m+1}),i.addImg&&e.jsx("img",{loading:"lazy",className:i.addImg.class,src:a(`/img/premium/${i.addImg.src}.png`)})]})]})]})]}))}),e.jsx(oe,{style:{marginBottom:64,paddingBottom:64},autoOpen:0,list:[{question:"BuyPremWithBalance",answer:"BuyPremWithBalance2"},{question:"CancelRecurrent",answer:"CancelRecurrent2"},{question:"WhyDepError",answer:"WhyDepError2"},{question:"PremiumGiftNotReceived",answer:"PremiumGiftNotReceived2"},{question:"HowSlotWorks",answer:"HowSlotWorks2"},{question:"HowDoesNoAds",answer:"HowDoesNoAds2"}],onItemOpen:i=>{h("premium_faq_click",{name:i})}}),e.jsxs("div",{className:"premium__bottom-subscribe",children:[e.jsx("h2",{children:s("InterestedPremium")}),e.jsx("p",{children:s("InterestedPremium2")}),e.jsx("button",{onClick:()=>{h("premium_footer_buy_button"),document.getElementById("main")?.scrollTo({top:0,behavior:"smooth"})},children:s("BuyPremium")})]})]})},Ge=r.div` 346 ${xe} 347`,Oe=r.div` 348 display: flex; 349 flex-direction: column; 350 align-items: center; 351 background: url(${a("/pages/premium/bg.png")}) no-repeat 352 center top / contain; 353 354 @media (max-width: 750px) { 355 background: none; 356 } 357`,De=s=>{x.useEffect(()=>{s.setAutobuy(!1)},[]),x.useEffect(()=>{h("premium_page_open",{is_auth:!!$.get("multitoken"),language:$.get("lang_g")})},[]);const{t:n}=N();return s.allowBonus===void 0?null:e.jsx(he,{children:e.jsxs(Ge,{className:"premium-page",children:[e.jsx(le,{title:n("PAGE-PREMIUM-TITLE"),descr:n("OpportunitiesWithPREMIUM")}),e.jsxs(Oe,{children:[e.jsx("h1",{className:"premium__title",dangerouslySetInnerHTML:{__html:n("PremTitle")}}),e.jsx("p",{className:"premium__sub-title",children:n("PremSubtitle")}),e.jsx(Re,{isAuth:s.isAuth,allowBonus:s.allowBonus}),e.jsx("img",{loading:"lazy",src:a("/img/premium/arrow.svg"),alt:"",className:"premium__down-arrow",onClick:o=>document.getElementById("main")?.scrollTo({top:o.target.offsetTop,behavior:"smooth"})})]}),e.jsx(Ue,{})]})})};let We=s=>({isAuth:s.auth.isAuth,allowBonus:s.root.partnerData.page_premium_ads});const rt=me(We,{setAutobuy:ce})(De);export{rt 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.