PageSourceSearch

https://wargaming.net/wgsw_dist/wgnet_794.f6b45253b648edb2dc49.1.5.js

js wargaming.net collected 2026-10-01 08:40:36 UTC 28,024 bytes, 2 lines download raw bytes

1/*! For license information please see wgnet_794.f6b45253b648edb2dc49.1.5.js.LICENSE.txt */
2(self.webpackChunk_wgn_wgsw=self.webpackChunk_wgn_wgsw||[]).push([[794],{820:()=>{},7052:()=>{},1581:()=>{},2386:()=>{},8076:()=>{},152:()=>{},2633:()=>{},1681:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>b});var s=i(2261),n=i.n(s),o=i(1339),r=i(6149);const a={name:"Tiles",components:{"no-ssr":n(),VideoBlock:()=>i.e(234).then(i.bind(i,8234))},props:["filter"],data:()=>({progress:0,active:"",hoverId:"",ani_dest:{x:0,y:0},ani_valx:0,ani_valy:0,simpleAni:0,scroll:{x:0,y:0},mouseDown:!1,dontMove:!0,moveStart:{},pageXY:{},height:0,prevIndex:!1,cards:{},highlighted:!1,mobile_view:null,filterChanged:!1,console}),computed:{publicPath(){return this.$store.state.initialData.client.host+this.$store.state.initialData.publicURL},brandId(){return this.$store.state.branding.id},cardList(){return this.cards},filter_name(){return this.filtered?this.$store.state.filter_name:"all"},storeMobile(){return this.$store.state.mobile_view},touchView(){return this.$store.state.platform.touch},mobileView(){return null!==this.mobile_view?this.mobile_view:r.Z.getOs(window.navigator.userAgent).mobile},activeHome(){return this.$store.state.active_home},games(){return this.$store.state.data},filtered(){return this.$store.state.filter_hide},pos(){return this.$store.state.pos},tiles(){return this.$store.getters.getGrid(this.$store.state.pos.x,this.$store.state.pos.y)}},watch:{storeMobile(e){this.mobile_view=r.Z.getOs(window.navigator.userAgent).mobile},filter_name(){this.filterChanged=!0,this.clearPrev(),this.prevIndex=!this.prevIndex}},beforeUpdate(){},beforeMount(){this.$store.dispatch("fetchHomeImages").then((()=>{this.games.forEach(((e,t)=>{this.$set(this.cards,t,{bg:e.background,logo:e.card_logo})}))}))},mounted(){o.$.$on("progress",this.onProgress),this.isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),this.prev=[[],[]],this.clearPrev(),this.prevIndex=!this.prevIndex},beforeCreate(){this.prev=[[],[]]},beforeDestroy(){o.$.$off("progress",this.onProgress)},methods:{onClick(e){window.dataLayer.push({event:"autoEvent-new-UI",eventCategory:"Navigation_Interaction",eventAction:"navigation_link_click",eventLabel:`Homepage | ${e.currentTarget.dataset.name} game tile`}),this.active=this.hoverId},setHightlight(e){this.highlighted=e},getPic(e){return this.cards[e]},getImgUrl:e=>e,enterAnimation(e){this.height=Math.max(this.height,e.offsetHeight)},endAnimation(){this.height=0},getCode(e){return this.prev[Number(this.prevIndex)].indexOf(e)>=0?"is-prev":"isnt-prev"},mouseOver(e){e.target.dataset.pos&&e.target.dataset.pos!==this.hoverId&&(this.hoverId=e.target.dataset.pos)},mouseOut(e){const t=e.toElement||e.relatedTarget;t&&t.className&&(t.className.indexOf("game_tagline")<0&&t.dataset.pos!==this.hoverId&&(this.highlighted=!1,this.hoverId=null),t.className.indexOf("game_tagline")>=0&&e.stopPropagation())},clearPrev(){this.prev[Number(this.prevIndex)]=[],this.tiles.forEach((e=>{this.prev[Number(this.prevIndex)].push(e.d+e.n)}))},onProgress(e){this.progress=e}}};i(2146);var l=i(1900);const c=(0,l.Z)(a,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"tiles-wrapper ready",style:{minHeight:e.height+"px"}},[t("transition",{attrs:{name:"tiles-animate"},on:{enter:e.enterAnimation,leave:e.enterAnimation,"after-enter":e.endAnimation}},[t("div",{key:e.filter_name,class:["home-wrapper",{"not-filtered":!e.filtered},{filtered:e.filterChanged},{highlighted:e.highlighted}],attrs:{"data-key":e.filter_name},on:{mouseover:e.mouseOver,mouseout:e.mouseOut}},e._l(e.tiles,(function(i){return t("router-link",{key:i.d,class:["block",i.video?"":"hasnt-video",e.games[i.d].class,{hover:i.n===e.hoverId},{"anim-hide":i.hide},e.getCode(i.d+i.n)],attrs:{tag:"a",to:{name:"game",params:{source:e.games[i.d].slug}},"data-name":e.games[i.d].slug,"data-pos":i.n},nativeOn:{click:function(t){return e.onClick.apply(null,arguments)}}},[t("no-ssr",[i.video&&!e.touchView?t("VideoBlock",{attrs:{hover:i.n==e.hoverId,source:i.video,poster:e.cards[i.d]?e.cards[i.d].bg:""},on:{highlighted:e.setHightlight}}
2):e._e()],1),e._v(" "),t("div",{staticClass:"block__bg",style:[e.cards[i.d]?{backgroundImage:`url(${e.cards[i.d].bg})`}:{}]}),e._v(" "),t("div",{class:["block__logo",{block__logo_hidden:e.active&&e.active===i.n}]},[t("div",{staticClass:"game__logo-wrapper",style:[e.cards[i.d]?{backgroundImage:`url(${e.cards[i.d].logo})`}:{}]}),e._v(" "),t("div",{staticClass:"show-on"},[t("div",{class:["game_tagline",{mobileView:e.touchView}]},[e._v("\n              "+e._s(e.games[i.d].short_description)+"\n            ")]),e._v(" "),t("ul",{staticClass:"platform-list"},e._l(e.games[i.d].platforms,(function(e,i){return t("li",{key:e.id},[e.icon?t("i",{staticClass:"platform-list__icon",style:{backgroundImage:`url(${e.icon})`,transitionDelay:100*(i+1)+"ms"}}):t("i",{class:["platform-list__icon","icon","icon-"+e.slug]})])})),0)])]),e._v(" "),e.active&&e.active===i.n?t("div",{staticClass:"block__progress"},[t("svg",{staticClass:"block__progress-svg"},[t("defs",[t("filter",{attrs:{id:"f_blur",x:"-50%",y:"-50%",width:"200%",height:"200%"}},[t("feDropShadow",{attrs:{dx:"0",dy:"0",stdDeviation:e.storeMobile?1:.5}})],1),e._v(" "),t("clipPath",{attrs:{id:"clip"}},[t("use",{attrs:{"xlink:href":"#circle"}})])]),e._v(" "),t("image",{attrs:{"xlink:href":`${e.publicPath}/${e.brandId}/logo-short.svg`,x:"12%",y:"12%",height:"76%",width:"76%",filter:"url(#f_blur)","clip-path":"url(#clip)"}}),e._v(" "),t("circle",{attrs:{id:"circle",cx:"50%",cy:"50%",r:"38%",fill:"transparent","stroke-width":"2","stroke-dasharray":3.65*e.progress+", 365"}})])]):e._e()],1)})),1)])],1)}),[],!1,null,"0ec3d350",null).exports;var h=i(7616);const u=new class{constructor(){this.canvasSource={},this.timer=0,this.isOk=!0}setSource(e){return this.canvasSource={destination:e},this.init(),this.textureId}clearDestionation(){delete this.canvasSource}onResize(){let e=this.canvas.clientWidth,t=this.canvas.clientHeight;e>1920&&(e=1920),t>1080&&(t=1080),this.canvas.width===e&&this.canvas.height===t||(this.canvas.width=e,this.canvas.height=t,this.gl.viewport(0,0,this.canvas.width,Math.floor(this.canvas.width/16*9)))}render(){this.timer+=.01,this.gl.uniform1f(this.u_timerLoc,this.timer);const e=this.gl.getError();return this.onResize(),e||h.y0(this.gl,this.bufferInfo),e}init(){{if(0===r.Z.getBrowser().name.indexOf("IE"))return;if(this.canvas=this.canvasSource.destination,this.gl=h.fw(this.canvas),!this.gl||!h.D0(this.gl))return void(this.isOk=!1);const e="\n                    attribute vec4 position;\n                    varying vec2 v_texcoord;\n\n                    void main() {\n                      gl_Position = position;\n                      v_texcoord = gl_Position.xy * .5 + .5;\n                    }\n                    ",t="\n                    precision mediump float;\n                    varying vec2 v_texcoord;\n                    uniform float u_timer;\n\n\nfloat hash1_2(in vec2 x)\n{\n     return fract(sin(dot(x, vec2(52.127, 61.2871))) * 521.582);\n}\n\nvec2 hash2_2(in vec2 x)\n{\n    return fract(sin(x * mat2(20.52, 24.1994, 70.291, 80.171)) * 492.194);\n}\n\n//Simple interpolated noise\nvec2 noise2_2(vec2 uv)\n{\n    //vec2 f = fract(uv);\n    vec2 f = smoothstep(0.0, 1.0, fract(uv));\n\n    vec2 uv00 = floor(uv);\n    vec2 uv01 = uv00 + vec2(0,1);\n    vec2 uv10 = uv00 + vec2(1,0);\n    vec2 uv11 = uv00 + 1.0;\n    vec2 v00 = hash2_2(uv00);\n    vec2 v01 = hash2_2(uv01);\n    vec2 v10 = hash2_2(uv10);\n    vec2 v11 = hash2_2(uv11);\n\n    vec2 v0 = mix(v00, v01, f.y);\n    vec2 v1 = mix(v10, v11, f.y);\n    vec2 v = mix(v0, v1, f.x);\n\n    return v;\n}\n\n//Simple interpolated noise\nfloat noise1_2(in vec2 uv)\n{\n    vec2 f = fract(uv);\n    //vec2 f = smoothstep(0.0, 1.0, fract(uv));\n\n    vec2 uv00 = floor(uv);\n    vec2 uv01 = uv00 + vec2(0,1);\n    vec2 uv10 = uv00 + vec2(1,0);\n    vec2 uv11 = uv00 + 1.0;\n\n    float v00 = hash1_2(uv00);\n    float v01 = hash1_2(uv01);\n    float v10 = hash1_2(uv10);\n    float v11 = hash1_2(uv11);\n\n    float v0 = mix(v00, v01, f.y);\n    float v1 = mix(v10, v11, f.y);\n    float v = mix(v0, v1, f.x);\n\n    return v;\n}\n\n#define PI 3.1415927\n#define TWO_PI 6.283185\n\n#define ANIMATION_
2SPEED 0.7\n#define MOVEMENT_SPEED .3\n#define MOVEMENT_DIRECTION vec2(0.7, -1.0)\n\n#define PARTICLE_SIZE 0.004\n\n#define PARTICLE_SCALE (vec2(0.5, 1.6))\n#define PARTICLE_SCALE_VAR (vec2(0.25, 0.2))\n\n#define PARTICLE_BLOOM_SCALE (vec2(0.5, 0.8))\n#define PARTICLE_BLOOM_SCALE_VAR (vec2(0.3, 0.1))\n\n#define SPARK_COLOR vec3(1.0, 0.4, 0.05) * 1.5\n#define BLOOM_COLOR vec3(1.0, 0.4, 0.05) * 0.8\n#define SMOKE_COLOR vec3(1.0, 0.43, 0.1) * 0.8\n\n#define SIZE_MOD 1.15\n#define ALPHA_MOD 0.7\n#define LAYERS_COUNT 7\n\n\nfloat layeredNoise1_2(in vec2 uv, in float sizeMod, in float alphaMod, in int layers, in float animation)\n{\n    float noise = 0.0;\n    float alpha = 1.0;\n    float size = 1.0;\n    vec2 offset;\n    for (int i = 0; i < LAYERS_COUNT; i++)\n    {\n        offset += hash2_2(vec2(alpha, size)) * 10.0;\n\n        //Adding noise with movement\n        noise += noise1_2(uv * size + u_timer * animation * 8.0 * MOVEMENT_DIRECTION * MOVEMENT_SPEED + offset) * alpha;\n        alpha *= alphaMod;\n        size *= sizeMod;\n    }\n\n    noise *= (1.0 - alphaMod)/(1.0 - pow(alphaMod, float(layers)));\n    return noise;\n}\n\n//Rotates point around 0,0\nvec2 rotate(in vec2 point, in float deg)\n{\n    float s = sin(deg);\n    float c = cos(deg);\n    return mat2(s, c, -c, s) * point;\n}\n\n//Cell center from point on the grid\nvec2 voronoiPointFromRoot(in vec2 root, in float deg)\n{\n    vec2 point = hash2_2(root) - 0.5;\n    float s = sin(deg);\n    float c = cos(deg);\n    point = mat2(s, c, -c, s) * point * 0.66;\n    point += root + 0.5;\n    return point;\n}\n\n//Voronoi cell point rotation degrees\nfloat degFromRootUV(in vec2 uv)\n{\n    return u_timer * ANIMATION_SPEED * (hash1_2(uv) - 0.5) * 2.0;\n}\n\nvec2 randomAround2_2(in vec2 point, in vec2 range, in vec2 uv)\n{\n    return point + (hash2_2(uv) - 0.5) * range;\n}\n\n\nvec3 fireParticles(in vec2 uv, in vec2 originalUV)\n{\n    vec3 particles = vec3(0.0);\n    vec2 rootUV = floor(uv);\n    float deg = degFromRootUV(rootUV);\n    vec2 pointUV = voronoiPointFromRoot(rootUV, deg);\n    float dist = 2.0;\n    float distBloom = 0.0;\n\n    //UV manipulation for the faster particle movement\n    vec2 tempUV = uv + (noise2_2(uv * 2.0) - 0.5) * 0.1;\n    tempUV += -(noise2_2(uv * 3.0 + u_timer) - 0.5) * 0.07;\n\n    //Sparks sdf\n    dist = length(rotate(tempUV - pointUV, 0.7) * randomAround2_2(PARTICLE_SCALE, PARTICLE_SCALE_VAR, rootUV));\n\n    //Bloom sdf\n    distBloom = length(rotate(tempUV - pointUV, 0.7) * randomAround2_2(PARTICLE_BLOOM_SCALE, PARTICLE_BLOOM_SCALE_VAR, rootUV));\n\n    //Add sparks\n    particles += (1.0 - smoothstep(PARTICLE_SIZE * 0.6, PARTICLE_SIZE * 3.0, dist)) * SPARK_COLOR;\n\n    //Add bloom\n    particles += pow((1.0 - smoothstep(0.0, PARTICLE_SIZE * 6.0, distBloom)) * 1.0, 3.0) * BLOOM_COLOR;\n\n    //Upper disappear curve randomization\n    float border = (hash1_2(rootUV) - 0.5) * 2.0;\n    float disappear = 1.0 - smoothstep(border, border + 0.5, originalUV.y);\n\n    //Lower appear curve randomization\n    border = (hash1_2(rootUV + 0.214) - 1.8) * 0.7;\n    float appear = smoothstep(border, border + 0.4, originalUV.y);\n\n    return particles * disappear * appear;\n}\n\n\n//Layering particles to imitate 3D view\nvec3 layeredParticles(in vec2 uv, in float sizeMod, in float alphaMod, in int layers, in float smoke)\n{\n    vec3 particles = vec3(0);\n    float size = 1.0;\n    float alpha = 1.0;\n    vec2 offset = vec2(0.0);\n    vec2 noiseOffset;\n    vec2 bokehUV;\n\n    for (int i = 0; i < LAYERS_COUNT; i++)\n    {\n        //Particle noise movement\n        noiseOffset = (noise2_2(uv * size * 2.0 + 0.5) - 0.5) * 0.15;\n\n        //UV with applied movement\n        bokehUV = (uv * size + u_timer * MOVEMENT_DIRECTION * MOVEMENT_SPEED) + offset + noiseOffset;\n\n        //Adding particles                              if there is more smoke, remove smaller particles\n        particles += fireParticles(bokehUV, uv) * alpha * (1.0 - smoothstep(0.0, 1.0, smoke) * (float(i) / float(layers)));\n\n        //Moving uv origin to avoid generating the same particles\n        offset += hash2_2(vec2(alpha, alph
2a)) * 10.0;\n\n        alpha *= alphaMod;\n        size *= sizeMod;\n    }\n\n    return particles;\n}\n\nvoid main(){\n\n    vec2 uv = v_texcoord;\n    uv.y = uv.y / 2. - .2;\n\n    float vignette = 1.0 - smoothstep(0.4, 1.4, length(uv + vec2(0.0, 0.3)));\n\n    uv *= 4.8;\n\n    float smokeIntensity = layeredNoise1_2(uv * 10.0 + u_timer * 4.0 * MOVEMENT_DIRECTION * MOVEMENT_SPEED, 1.7, 0.7, 6, 0.2);\n    smokeIntensity *= pow(1.0 - smoothstep(-1.0, 1.6, uv.y), 2.0);\n    vec3 smoke = smokeIntensity * SMOKE_COLOR * 0.4 * vignette;\n\n    //Cutting holes in smoke\n    smoke *= pow(layeredNoise1_2(uv * 4.0 + u_timer * 0.5 * MOVEMENT_DIRECTION * MOVEMENT_SPEED, 1.8, 0.5, 3, 0.2), 2.0) * 1.1;\n\n    vec3 particles = layeredParticles(uv, SIZE_MOD, ALPHA_MOD, LAYERS_COUNT, smokeIntensity);\n\n    vec3 col = particles + smoke + SMOKE_COLOR * 0.02;\n    col *= vignette;\n\n    col = smoothstep(-0.08, 1.0, col);\n\n    gl_FragColor = vec4(col.r * .5,col.g * .4,col.b * .4, 0.);\n\n                    }\n                    ";this.programInfo=h.EK(this.gl,[e,t]),this.bufferInfo=h.S6.createXYQuadBufferInfo(this.gl),this.uniforms={u_timer:this.timer},this.gl.useProgram(this.programInfo.program),h.o8(this.gl,this.programInfo,this.bufferInfo),h.N9(this.programInfo,this.uniforms),this.u_timerLoc=this.gl.getUniformLocation(this.programInfo.program,"u_timer")}}},v={name:"Sparks",components:{},props:["source","hover","poster"],data:()=>({ready:!1,play:!1,created:!1,active:!0,timer:0,fixed:!0,then:0}),computed:{isMobile(){return this.$store.state.mobile_view}},mounted(){this.init()},beforeDestroy(){this.created&&(this.created=!1,u.clearDestionation(this.id),cancelAnimationFrame(this.animation_id))},methods:{init(){0!==r.Z.getBrowser().name.indexOf("IE")&&(this.needToRedraw=!0,this.id=u.setSource(this.$refs.canvas_el),u.isOk&&(this.created=!0,this.play=!0,this.block=0,this.start=0,this.animation_id=requestAnimationFrame(this.animate)))},render(){this.needToRedraw&&u.render(this.id)},animate(e){const t=.001*e;this.then||(this.then=t-1/60,this.start=t);const i=t-this.then;this.then=t;const s=1/i;this.block+=s,this.render(),this.fixed&&t-this.start>3&&(this.fixed=!1,this.block/60/60+this.start+1.5<t&&(this.active=!1)),this.active&&(this.animation_id=requestAnimationFrame(this.animate))}}};i(126);const d=(0,l.Z)(v,(function(){return(0,this._self._c)("canvas",{ref:"canvas_el",staticClass:"sparks-block",style:{display:(this.active,"block")},attrs:{width:"1024",height:"768"}})}),[],!1,null,null,null).exports;const _={name:"Filters",props:["home"],data:()=>({filterName:"",menuOpened:!1,isMobile:!1}),computed:{m:()=>"",isMobile2(){return this.$store.state.mobile_view},filter_name(){return this.$store.state.filter_name},filter_hide(){return this.$store.state.filter_hide},filter_title(){return this.platfroms.find((e=>e.slug===this.filter_name))},platfroms(){return this.$store.state.platforms}},watch:{storeMobile(e){this.isMobile=e}},mounted(){this.isMobile=(window.innerWidth||window.outerWidth)<=1024},methods:{hoverBy(e){this.$store.state.filter_hide||this.isMobile||this.$store.commit("setFilterName",e)},hoverByOff(){this.$store.state.filter_hide||this.isMobile||this.$store.commit("setFilterName","")},fiterBy(e){this.closeMenu(),this.$store.commit("setFilterName",e),this.$store.commit("setGamesHide",e),this.$store.commit("setFirstLoad",!1),window.dataLayer.push({event:"autoEvent-new-UI",eventCategory:"Navigation_Interaction",eventAction:"filter_link_click",eventLabel:`Homepage | Filter ${e||"All games"}`})},toggleMenu(){this.menuOpened=!this.menuOpened},closeMenu(){this.menuOpened=!1}}};i(5700);const m={name:"HomeHeader",components:{Filters:(0,l.Z)(_,(function(){var e=this,t=e._self._c;return t("div",{class:["filter",{filter_opened:e.isMobile&&e.menuOpened}]},[e.isMobile?t("div",{staticClass:"filter__overlay",on:{click:e.closeMenu}}):e._e(),e._v(" "),t("div",{class:[{"desktop-view":!e.isMobile},"filter__wrapper"]},[t("ul",{staticClass:"filter__list"},[e.filter_title||!e.isMobile?t("li",{staticClass:"filter__list-item filter__list-item_all"},[t("a",{class:["filter__link",{filter__link_active:!e.filter_hide}],attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.fiterBy("")}}},[e._v("\n          "+e._s(e.$store.getters.msg("allPlatfroms"))+"\n        ")])]):e._e(
2),e._v(" "),e._l(e.platfroms,(function(i){return t("li",{key:i.slug,staticClass:"filter__list-item",attrs:{"data-filter":i.slug,"data-title":i.name}},[t("a",{class:["filter__link",{filter__link_active:e.filter_name===i.slug}],attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.fiterBy(i.slug)},mouseover:function(t){return e.hoverBy(i.slug)},mouseout:function(t){return e.hoverByOff()}}},[e._v("\n          "+e._s(i.name)+"\n        ")])])}))],2)]),e._v(" "),e.isMobile?t("a",{class:["filter__button",{filter__button_active:e.filter_name}],attrs:{href:"#"},on:{click:e.toggleMenu}},[e.filter_title?t("div",{staticClass:"filter__name"},[e._v("\n      "+e._s(e.filter_title.name)+"\n    ")]):e._e(),e._v(" "),e._m(0)]):e._e()])}),[function(){var e=this,t=e._self._c;return t("div",{staticClass:"filter__icon"},[t("span",{staticClass:"filter__icon-line"}),e._v(" "),t("span",{staticClass:"filter__icon-line"}),e._v(" "),t("span",{staticClass:"filter__icon-line"})])}],!1,null,"eb14fac0",null).exports},props:["home"],computed:{platform(){if(this.$store.state.filter_name&&this.$store.state.filter_hide)return this.$store.getters.getPlatform()}},methods:{}};i(7597);const f=(0,l.Z)(m,(function(){var e=this._self._c;return e("div",{staticClass:"home-header w10"},[e("a",{staticClass:"logo",attrs:{href:"/"}}),this._v(" "),e("Filters")],1)}),[],!1,null,"098c3a96",null).exports;var g=i(2259),p=i(5546);const k={components:{Sparks:d,HomeHeader:f,Tiles:c,Footer:g.Z,Grid:p.Z},asyncData(e){let{store:t}=e;return new Promise((e=>{t.dispatch("fetchHome").then((()=>{t.dispatch("fetchHomeImages").then(e)}))}))},data:()=>({activeMenu:!1,gamesFilter:"",first:"Foo",second:"Bar"}),computed:{isMobile(){return this.$store.state.mobile_view},message:{get(){return this.first.split("").reverse().join("")},set(e){this.first=e}},games(){return this.$store.state.games},pageSettings(){const e=this.$store.state.homepage;return e.home=!0,e},activeHome(){return this.$store.state.active_home},sources(){return this.$store.state.sources}},beforeMount(){this.$store.commit("setFilterName",""),this.$store.commit("setGamesHide",!1)},beforeDestroy(){this.$store.commit("setFirstLoad",!1)},beforeCreate(){localStorage.site_visited?this.$store.dispatch("setActiveHome"):localStorage.site_visited=!0},methods:{setMenu(e){this.activeMenu=e},setFilter(){this.$store.commit("filterHide",!0)}},metaInfo(){return{title:this.pageSettings.seo_title,titleTemplate:"%s",meta:[{name:"description",content:this.pageSettings.seo_description},{name:"keywords",content:this.pageSettings.seo_keywords},{property:"og:title",content:this.pageSettings.seo_title},{property:"og:description",content:this.pageSettings.seo_og_description},{property:"og:twitter_description",content:this.pageSettings.seo_og_description},{property:"og:url",content:this.$store.state.initialData.client.host+this.$router.currentRoute.fullPath},{property:"og:image",content:this.pageSettings.seo_og_image}]}}};i(7819);const b=(0,l.Z)(k,(function(){var e=this,t=e._self._c;return t("div",{key:"home",class:[{ready:e.activeHome},"home"],style:{backgroundImages:`url(${e.pageSettings.background_image})`}},[t("HomeHeader"),e._v(" "),e.isMobile?e._e():t("Sparks"),e._v(" "),t("Tiles",{attrs:{filter:e.gamesFilter}}),e._v(" "),t("Footer",{attrs:{game:e.pageSettings}}),e._v(" "),t("Grid")],1)}),[],!1,null,null,null).exports},2259:(e,t,i)=>{"use strict";i.d(t,{Z:()=>l});var s=i(1339);const n=JSON.parse('{"languages":{"en":"English","cs":"Čeština","de":"Deutsch","es":"Español","es-ar":"Español (Argentina)","fr":"Français","hu":"Magyar","it":"Italiano","ja":"日本語","kk":"Қазақша","ko":"한국어","pl":"Polski","pt-br":"Português (Brasil)","ru":"Русский","th":"ไทย","tr":"Türkçe","uk":"Українська","vi":"Tiếng Việt","zh-cn":"繁體中文","zh-sg":"简体中文","zh-tw":"繁體中文"}}');const o={name:"Realms",data(){return{active:!1,path:this.$router.currentRoute.fullPath,languagesNames:n.languages}},computed:{isMobile(){return this.$store.state.mobile_view},localPath(){const e=new RegExp(`^(/${this.$store.state.currentLang})`),t=this.path.replace(e,"");return t.length?t:"/"},realms(){return this.$store.state.realms.realms},currentRealm(){return this.$store.state.realms.current_realm},currentLang(){return this.$store.state.currentLang}},watch:{$route(e){this.path=e.path}},mounted(){s.$.$on("open_lang_menu",(()=>{this.active=!0}))},methods:{_click(e){window.dataLayer.push({event:"autoEvent-new-UI",eventCategory:"General UI interaction",eventAction:"Change language link click",eventLabel:`${"game"===this.$router.currentRoute.name?this.$store.state.current_game:this.$router.currentRoute.name} | ${this.currentLang}-${e}`})},closeWindow(){s.$.$emit("openPopup",!1),this.active=!1}}};i(4169);var r=i(1900);const a={name:"FooterWidget",components:{Realms:(0,r.Z)(o,(function(){var e=this,t=e._self._c;return t("div",{class:["popup-window",{"popup-window_active":e.active}]},[t("div",{staticClass:"popup-window__wrapper",on:{click:function(t){return e.closeWindow()}}},[t("ul",{staticClass:"realms-list"},e._l(e.realms,(function(i,s){return t("li",{key:s,class:["realms-list__block",{"realms-list__block_active":e.currentRealm===s}]},[t("span",{staticClass:"realms-list__name"},[e._v(e._s(e.$store.getters.msg("realm_"+s)))]),e._v(" "),t("ul",{staticClass:"languages-list"},e._l(i.languages,(function(s){return t("li",{key:s,class:["languages-list__block"]},[t("a",{class:["languages-list__link",{"languages-list__link_active":e.currentLang===s}],attrs:{href:i.url+"/"+s+e.localPath},on:{click:function(t){return e._click(s)}}},[e._v(e._s(e.languagesNames[s]))])])})),0)])})),0)]),e._v(" "),t("div",{staticClass:"close-button",on:{click:function(t){return e.closeWindow()}}},[e.isMobile?e._e():t("span",[e._v(e._s(e.$store.getters.msg("menuClose")))]),t("i",{staticClass:"icon-close"})])])}),[],!1,null,"ca70218c",null).exports},props:["game"],data:()=>({ralms:n}),computed:{ratingIcons(){return this.$props.game.footer_ratings_icons?this.$props.game.footer_ratings_icons.filter((e=>e.icon.length)):[]},currentLang(){return this.$store.state.currentLang},cookieBannerButtonAvailable(){const{enabled:e,allowedCountries:t}=this.$store.state.cookieBanner||{};if(e){if(!Array.isArray(t))return!0;const{country:e}=this.$store.state.oneTrust||{};return Boolean(e&&t.includes(e.toUpperCase()))}return!1},currentRealm(){return this.$store.state.realms.current_realm},copyright(){const e=new Date;return this.game.copyright?this.game.copyright.replace("#currentYear",e.getFullYear()):""},geoWidgetEnabled(){return this.$store.state.geoWidget.enabled}},methods:{_click(e){window.dataLayer.push({event:"autoEvent-new-UI",eventCategory:"General UI interaction",eventAction:"Outbound link click",eventLabel:["game"===this.$router.currentRoute.name?this.$store.state.current_game:this.$router.currentRoute.name,e].join(" | ")})},openLangMenu(){window.dataLayer.push({event:"autoEvent-new-UI",eventCategory:"General UI interaction",eventAction:"Change language link click",eventLabel:[this.$props.game.game?this.$props.game.game:this.$router.currentRoute.name,`Open menu from ${this.currentLang}`].join(" | ")}),s.$.$emit("open_lang_menu",!0),s.$.$emit("openPopup",!0)}
2,openCookieSettings(){window.OneTrust&&window.OneTrust.ToggleInfoDisplay&&window.OneTrust.ToggleInfoDisplay()}}};i(3553);const l=(0,r.Z)(a,(function(){var e=this,t=e._self._c;return t("Section",{class:[{section_visible:e.game.home}],attrs:{name:"footer"}},[t("div",{staticClass:"wrapper w10"},[t("Realms"),e._v(" "),t("div",{staticClass:"wrapper w10 footer-line"},[e.geoWidgetEnabled?t("div",{staticClass:"footer-lang-selector footer-ani footer-ani_1",on:{click:function(t){return e.openLangMenu()}}},[t("img",{staticClass:"footer-lang-selector__map",attrs:{src:e.$store.state.initialData.publicURL+"/images/world.svg",alt:""}}),e._v("\n        "+e._s(e.$store.getters.msg("realm_"+e.currentRealm))+" ("+e._s(e.ralms.languages[e.currentLang])+")\n      ")]):e._e(),e._v(" "),t("ul",{staticClass:"footer-ratings footer-ani footer-ani_2"},e._l(e.ratingIcons,(function(i,s){return t("li",{key:s,class:["footer-ratings__item",i.class_modifier&&`footer-ratings__item_${i.class_modifier}`]},[t("a",{staticClass:"footer-ratings__link",attrs:{href:i.link,target:i.open_in_new_tab?"_blank":"_self",rel:"nofollow noopener"},on:{click:function(t){return e._click(i.link)}}},[t("img",{attrs:{src:i.icon,alt:""}})])])})),0),e._v(" "),t("ul",{staticClass:"footer-text-links footer-ani footer-ani_3"},[e._l(e.game.footer_links,(function(i,s){return t("li",{key:s,staticClass:"footer-text-links__item"},[i.link&&i.link.indexOf("http")>=0?t("a",{staticClass:"footer-text-links__link",attrs:{href:i.link,target:"_blank",rel:"nofollow noopener"},on:{click:function(t){return e._click(i.link)}}},[e._v(e._s(i.title))]):t("router-link",{staticClass:"footer-text-links__link",attrs:{to:i.link}},[e._v(e._s(i.title))])],1)})),e._v(" "),t("li",{directives:[{name:"show",rawName:"v-show",value:e.cookieBannerButtonAvailable,expression:"cookieBannerButtonAvailable"}],staticClass:"footer-text-links__item"},[t("a",{staticClass:"footer-text-links__link ot-sdk-show-settings",attrs:{href:"javascript:void(0);"},on:{click:e.openCookieSettings}})])],2),e._v(" "),t("ul",{staticClass:"footer-image-links footer-ani footer-ani_4"},e._l(e.game.footer_studios_icons,(function(i,s){return t("li",{key:s,staticClass:"footer-image-links__item"},[t("a",{staticClass:"footer-text-links__link",attrs:{href:i.link,target:i.open_in_new_tab?"_blank":"_self",rel:"nofollow noopener"},on:{click:function(t){return e._click(i.link)}}},[t("img",{attrs:{src:i.icon,alt:""}})])])})),0),e._v(" "),t("div",{staticClass:"footer-copyright footer-ani footer-ani_5",domProps:{innerHTML:e._s(e.copyright)}})])],1)])}),[],!1,null,"71477132",null).exports},5700:(e,t,i)=>{var s=i(820);s.__esModule&&(s=s.default),"string"==typeof s&&(s=[[e.id,s,""]]),s.locals&&(e.exports=s.locals);(0,i(5346).Z)("76da2d70",s,!0,{})},7819:(e,t,i)=>{var s=i(7052);s.__esModule&&(s=s.default),"string"==typeof s&&(s=[[e.id,s,""]]),s.locals&&(e.exports=s.locals);(0,i(5346).Z)("383f4eba",s,!0,{})},7597:(e,t,i)=>{var s=i(1581);s.__esModule&&(s=s.default),"string"==typeof s&&(s=[[e.id,s,""]]),s.locals&&(e.exports=s.locals);(0,i(5346).Z)("c14a5c62",s,!0,{})},2146:(e,t,i)=>{var s=i(2386);s.__esModule&&(s=s.default),"string"==typeof s&&(s=[[e.id,s,""]]),s.locals&&(e.exports=s.locals);(0,i(5346).Z)("f5f14806",s,!0,{})},4169:(e,t,i)=>{var s=i(8076);s.__esModule&&(s=s.default),"string"==typeof s&&(s=[[e.id,s,""]]),s.locals&&(e.exports=s.locals);(0,i(5346).Z)("5645b81c",s,!0,{})},126:(e,t,i)=>{var s=i(152);s.__esModule&&(s=s.default),"string"==typeof s&&(s=[[e.id,s,""]]),s.locals&&(e.exports=s.locals);(0,i(5346).Z)("64ff44bb",s,!0,{})},3553:(e,t,i)=>{var s=i(2633);s.__esModule&&(s=s.default),"string"==typeof s&&(s=[[e.id,s,""]]),s.locals&&(e.exports=s.locals);(0,i(5346).Z)("52fefa86",s,!0,{})},7462:(e,t,i)=>{"use strict";function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(e[s]=i[s])}return e},s.apply(this,arguments)}i.d(t,{Z:()=>s})}}]);

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.