PageSourceSearch

https://www.fanatical.com/static/js/main~7aeafcb2.ac1d492b.js

js fanatical.com collected 2026-09-24 08:57:15 UTC 171,315 bytes, 2 lines download raw bytes

1(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[247],{61186:(e,t,a)=>{"use strict";a.d(t,{Ai:()=>B,B7:()=>X,E6:()=>K,F7:()=>j,FS:()=>U,HE:()=>H,IO:()=>R,JA:()=>Q,PO:()=>ne,QQ:()=>ee,SE:()=>ae,Ul:()=>q,Vl:()=>L,X2:()=>le,_O:()=>Z,_o:()=>I,a9:()=>T,eV:()=>$,fM:()=>O,h9:()=>V,hb:()=>se,if:()=>A,io:()=>te,k9:()=>x,kg:()=>z,kh:()=>Y,l6:()=>G,ok:()=>M,rc:()=>F,s_:()=>oe,xI:()=>re,yh:()=>ie,zs:()=>J});var n=a(94844),r=a.n(n),o=a(15627),i=a.n(o),s=a(1141),l=a.n(s),c=a(41609),d=a.n(c),u=a(13217),m=a.n(u),p=a(27361),h=a.n(p),g=a(91175),f=a.n(g),y=a(84240),w=a(66545),v=a(56514),b=a(74690),E=a(53150),S=a(24845),_=a(61297);const k=Math.round((new Date).getTime()/1e3),P=(Math.round(r()(new Date,2).getTime()/1e3),Math.round(i()(new Date,7).getTime()/1e3),Math.round(l()(new Date,1).getTime()/1e3),Math.round(l()(new Date,2).getTime()/1e3),Math.round(l()(new Date,3).getTime()/1e3)),N=["age_ratings","available_valid_from","available_valid_until","best_ever","bundle_covers","collections","cover","cover_alt_text","cover_type","discount_percent","discount_slug","display_type","dlc_total","drm","flash_sale","free_to_play","fullPrice","game_total","giveaway","hideDLC","hide_discount","hide_price","is_srp_bundle","metacritic_score","mystery","mystery_homepage","name","no_release_date","on_sale","opencritic_score","operating_systems","pay_what_you_want","pnm_saving","portrait_cover","position","preorder_playable_from","presale","price","product_id","rating_score","rating_score","release_date","reveal_template","screenshots","slug","sponsored_discount","star_deal","tiered","total_ratings","type","video","video_clip_f
1iles","video_clip_poster","lowest_in_30_days"],x=y.algolia.indexName,T=e=>`${x}${e?"_unlimited":""}`,C=e=>e,D=e=>{const t=f()(e),a=m()(e);let n="";return d()(a)||(n=a.map((e=>`AND NOT slug:"${e}"`)).join(" ")),`(NOT slug:"${t}" ${n})`};async function Z(e,t){return(await(0,_.rw)(`${x}_best_price_rank`)).search("",{filters:`${D(t)}`,hitsPerPage:e||5,analyticsTags:["frontend.fetchLatestDealsSection"]}).then((e=>e.hits))}async function I(e,t,a){return(await(0,_.rw)(T())).search("",{hitsPerPage:t||12,filters:`${D(a)} AND ${e} AND display_type:game AND mystery != 1 AND giveaway != 1`,analyticsTags:["frontend.fetchCheapUpsellGames"]}).then((e=>e.hits))}async function A(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;const t=await(0,_.rw)(T()),{locale:a}=window,n=N.concat(["sdesc",`sdescs.${a}`]);return t.search("",{filters:"display_type:bundle AND NOT display_type:software-bundle",hitsPerPage:e,attributesToRetrieve:n,analyticsTags:["frontend.fetchBundles"]}).then((e=>e))}async function $(){return(await(0,_.rw)(T())).search("",{filters:"display_type:software-bundle",hitsPerPage:4,analyticsTags:["frontend.fetchSoftwareBundleSection"]}).then((e=>e))}async function L(){const{data:e}=await(0,b.U2)([],C("/algolia/flash-sale"));return e}async function M(e,t){const a=E.default.getState(),n=h()(a,"flashSale");let r=`mystery_homepage != 1 AND NOT drm:switch AND NOT drm:threeds AND NOT display_type:software-bundle ${t?"AND NOT display_type:bundle":""} AND NOT display_type:elearning-bundle AND NOT display_type:elearning AND NOT display_type:audio-bundle AND NOT display_type:audio`;d()(n)||(r=`flash_sale != 1 AND mystery_homepage != 1 AND NOT drm:switch AND NOT drm:threeds AND NOT display_type:software-bundle ${t?"AND NOT display_type:bundle":""} AND NOT display_type:elearning-bundle AND NOT display_type:elearning AND NOT display_type:audio-bundle AND NOT display_type:audio`);const o=T();return(await(0,_.rw)(o)).search("",{facetFilters:[["display_type:-book-bundle"]],filters:r,hitsPerPage:e||11,analyticsTags:["frontend.fetchTopSellersSection"]}).then((e=>e.hits))}async function O(e){const t=T();return(await(0,_.rw)(t)).search("",{hitsPerPage:e||15,filters:"flash_sale != 1 AND mystery_homepage != 1 AND type:game OR type:dlc",analyticsTags:["frontend.fetchTopSellersGamesSection"]}).then((e=>e.hits))}async function B(e,t){const{locale:a}=window,{data:n}=await(0,b.U2)([],C(`/algolia/top-sellers${e?`/${e}`:""}?lang=${a}${t?`&count=${t}`:""}`));return n}async function U(e,t){const a=T(),n=await(0,_.rw)(a),{locale:r}=window,o=N.concat(["sdesc",`sdescs.${r}`]);return n.search("",{hitsPerPage:e||11,facets:["display_type"],page:0,attributesToRetrieve:o,filters:D(t),analyticsTags:["frontend.fetchTopSellersExclude"]}).then((e=>e.hits))}async function R(e,t,a){return(await(0,_.rw)(T())).search(e||"",{filters:D(a),hitsPerPage:t||3,analyticsTags:["frontend.query"]}).then((e=>e.hits))}async function F(e){let{facet:t,value:a,callPage:n,facets:r=[],type:o,index:i}=e;const s=i?`${x}_${i}`:T(),l=await(0,_.rw)(s),c={facetFilters:`${t}Slug:${a}`,page:n,facets:r,filters:"",hitsPerPage:36,attributesToRetrieve:N.concat([t,...r,"sdesc",`sdescs.${window.locale}`,"collectionsSlug","franchisesSlug","publishersSlug","categoriesSlug"]),analyticsTags:["frontend.fetchStaticQuery",`frontend.fetchStaticQuery.${t}`]};return"price_asc"===i&&(c.filters+="presale != 1"),o&&(c.filters+=`${c.filters?" AND ":""}type: ${o}`),l.search("",c)}async function z(e,t){return(await(0,_.rw)(T())).search("",{filters:`${D(t)} AND isEdition:false`,facetFilters:`publishers:${e}`,hitsPerPage:15,analyticsTags:["frontend.fetchPublisherSection"]})}async function G(){return(await(0,_.rw)(T())).search("",{hitsPerPage:25,filters:`release_date > ${P} OR release_date > ${k} AND price.${v.Ep} >=20 AND display_type:game AND isEdition:false`,analyticsTags:["frontend.fetchShowcase"]})}async function j(e){const t=await(0,_.rw)(T()),{locale:a}=window,n=N.concat(["sdesc",`sdescs.${a}`]);return t.search("",{attributesToRetrieve:n,filters:`(slug:"${e}")`,analyticsTags:["frontend.fetchProductBySlug"]}).then((e=>e.hits[0]))}const W=e=>{const t=e[0],a=m()(e);let n="";return a&&(n=a.map((e=>`OR slug:"${e}"`)).join(" ")),`(slug:"${t}" ${n})`};async function V(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e||!Array.isArray(e)||!e.length)return!1;let a=T();const{hitsPerPage:n,algoliaIndexName:r,componentSpecificTag:o}=t;r&&(a=`${x}_${r}`);const{locale:i}=window,s=N.concat(["sdesc",`sdescs.${i}`,"categories"]),l=await(0,_.s3)(),c=[];e.forEach((e=>{c.push({indexName:a,params:{filters:W(e),hitsPerPage:n||25,attributesToRetrieve:s,analyticsTags:["frontend.fetchBySlugs"+(o?`.${o}`:"")]}})}));const d=await l.search(c);return d&&d.results?d.results.map(((t,a)=>t.hits.sort(((t,n)=>e[a].indexOf(t.slug)>e[a].indexOf(n.slug)?1:-1)))):e.map((()=>[]))}async function q(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n={hits:[],count:0};if(d()(e))return n;
1let r=`/algolia/get-hits-by-slugs?slugs=${e.toString()}`;t&&(r+=`&sort=${t}`),a&&(r+=`&page=${a}`);try{const{response:e,data:t}=await(0,b.U2)([],r);e.ok&&(n=t)}catch(o){}return n}async function H(e){const{data:t}=await(0,b.U2)([],C("/algolia/bundles"+(e?`/${e}`:"")));return t||[]}async function J(e){const t=T(),a=await(0,_.rw)(t),n=N.concat(["header"]);let r="display_type:bundle AND mystery_homepage != 1 AND mystery != 1";return""!==e&&(r=`display_type:bundle AND mystery_homepage != 1 AND mystery != 1 AND NOT slug:"${e}"`),a.search("",{attributesToRetrieve:n,hitsPerPage:4,filters:r,analyticsTags:["frontend.fetchGameBundles"]}).then((e=>e.hits))}async function K(){const{data:e}=await(0,b.U2)([],C("/algolia/get-ebook-section"));return e}async function Y(){const{data:e}=await(0,b.U2)([],C("/algolia/home"));return e}async function X(){const e=w.Z.newUser(),{data:t}=await(0,b.U2)([],`/algolia/home-carousel/${window.locale}`);return e?t:t.filter((e=>"product"!==e.type||"product"===e.type&&e.hit&&!(e.hit.giveaway&&"game"===e.hit.display_type)))}async function Q(){const{data:e}=await(0,b.U2)([],"/algolia/publisher-carousel");return e}async function ee(e){const{response:t,data:a}=await(0,b.U2)([],`/algolia/home-carousel-preview/${window.locale}/startdate=${e}`);return t.ok?a:(E.history.push("/"),window.alert("Unathorized: Preview feature requires logging into admin account"),[])}async function te(){const{data:e}=await(0,b.U2)([],C("/algolia/gift-guide"));return e}async function ae(e){const t=await(0,_.rw)(T());let a="";return Object.keys(e).forEach((t=>{d()(e[t])||(a+=`${a.length?" AND ":""}${e[t].map((e=>`${t}Slug:${(0,S.e)(e)}`)).join(" AND ")}`)})),t.search("",{hitsPerPage:0,facets:["genresSlug","playstylesSlug","themesSlug"],filters:a,analyticsTags:["frontend.fetchProductFinderFacets"]}).then((e=>e))}function ne(e){let t="";return Object.keys(e||{}).forEach((a=>{e[a]&&e[a].or&&e[a].or.length&&(t+=`${t.length?" AND ":""}(${e[a].or.map((e=>"type"===a?`type:${e}`:`${a}Slug:${(0,S.e)(e)}`)).join(" OR ")})`),e[a]&&e[a].and&&e[a].and.length&&(t+=`${t.length?" AND ":""}(${e[a].and.map((e=>"type"===a?`type:${e}`:`${a}Slug:${(0,S.e)(e)}`)).join(" AND ")})`)})),t}async function re(e,t,a,n){const r=t?`${x}_${t}`:T(),o=await(0,_.rw)(r);let i=ne(e);return"price_asc"===t&&(i+=" AND presale != 1"),o.search("",{hitsPerPage:36,page:a,facets:n,filters:i,analyticsTags:["frontend.fetchComboQuery"]})}async function oe(e){let{bestOfYear:t,hitsPerPage:a}=e;const n=await(0,_.rw)(`${x}_metacritic`),{locale:r}=window,o=N.concat(["sdesc",`sdescs.${r}`]),i=new Date(`${t}-01-01T00:00:00.000Z`).getTime()/1e3,s=new Date(`${t+1}-01-01T00:00:00.000Z`).getTime()/1e3;return n.search("",{attributesToRetrieve:o,hitsPerPage:a,filters:`release_date > ${i} AND release_date < ${s} AND metacritic_score > 80 AND presale != 1 AND (type:game OR type:dlc) AND isEdition:false`,analyticsTags:["frontend.fetchHallOfFame"]}).then((e=>e.hits))}async function ie(){return(await(0,_.rw)(T())).search("",{hitsPerPage:15,filters:"upsell = 1",analyticsTags:["frontend.fetchStandardUpsellDiscounts"]}).then((e=>e.hits))}async function se(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:15;return(await(0,_.rw)(T())).search("",{filters:"display_type:software-bundle OR display_type:bundle OR display_type:book-bundle OR display_type:elearning-bundle OR display_type:elearning OR display_type:comic-bundle OR display_type:audio-bundle OR display_type:video-bundle AND system_discount = 0",hitsPerPage:e,analyticsTags:["frontend.fetchBundleWithMysterySection"]}).then((e=>e.hits))}function le(){return e=>(0,b.U2)(e,C("/algolia/megamenu"),!0).then((e=>{let{response:t,data:a}=e;return!(!t||!a)&&a}))}},61297:(e,t,a)=>{"use strict";a.d(t,{d3:()=>f,s3:()=>v,rw:()=>b});var n=a(70290),r=a.n(n),o=a(27361),i=a.n(o),s=a(51673),l=a(9290),c=a(74690),d=a(53150),u=a(84240);function m(e){let t=0;for(const a of e)t=(t<<5)-t+a.charCodeAt(0),t|=0;return t}async function p(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=Date.now();if(e||!window.searchKey||!window.searchKeyExp||t>=Number(window.searchKeyExp)){const{response:e,data:t}=await(0,c.U2)(d.default.dispatch,"/algolia/key");if(!e||!e.ok)return window.location.reload(),null;window.searchKey=i()(t,"key",""),window.searchKeyExp=i()(t,"validUntil",0)}return window.searchKey}let h=[];const g={};
1class f extends Error{constructor(e,t){super(e),this.hash=t,g[t]?this.ignore=!0:g[t]=!0}}const y=e=>{const t=Date.now(),a=t-1e3*u.ratelimit.algoliaInterval;h=h.filter((e=>e.timestamp>a));if(h.filter((t=>t.hash===e)).length>u.ratelimit.algoliaLimit)throw new f("Algolia self rate limit exceeded",e);h.push({timestamp:t,hash:e})},w=async(e,t,a)=>{if(e&&("Invalid Application-ID or API key"===e.message||null!==e&&void 0!==e&&e.message.includes("expired"))){if(!t)return a();const e=window.location.href;if(!e.includes("algoliaKeyExpired=1"))return window.location.href=`${e}${e.includes("?")?"&":"?"}algoliaKeyExpired=1`,!1}return e instanceof Error?Promise.reject(e):Promise.reject(new Error(e.message,{cause:e}))};async function v(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const a=await p(e),n=r()("W2M9492DDV",a);return n._search=n.search,n.search=function(){for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];if(Array.isArray(r[0])&&(r[0].forEach((e=>{e.params.analyticsTags=["frontend",...e.params.analyticsTags||[]]})),!t)){const e=m(JSON.stringify({params:r}));y(e)}return n._search(...r).catch((async a=>w(a,e,(async()=>(await v(!0,t)).search(...r)))))},n}async function b(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const a=await p(t),n=r()("W2M9492DDV",a);if(!e)return n;const o=n.initIndex(e);return o._search=o.search,o.search=function(a,n){for(var r=arguments.length,i=new Array(r>2?r-2:0),c=2;c<r;c++)i[c-2]=arguments[c];"undefined"!==typeof n.page&&(n.page=Number(n.page)||0),"undefined"!==typeof n.hitsPerPage&&(n.hitsPerPage=Number(n.hitsPerPage)||36);let d=a;d&&d.length>512&&(d=d.substring(0,512)),n.analyticsTags=["frontend",...n.analyticsTags||[]],(0,s.Z)()?n.analyticsTags.push("isPrerender"):(0,l.Z)()&&n.analyticsTags.push("isBot");const u=m(JSON.stringify({query:d,params:n}));return y(u),o._search(d,n,...i).catch((async a=>w(a,t,(async()=>(await b(e,!0)).search(d,n,...i)))))},o}},10843:(e,t,a)=>{"use strict";a.d(t,{U:()=>o,e:()=>i});var n=a(74690),r=a(53150);function o(e,t,a){return(0,n.v_)(r.default.dispatch,"/cookie/set-cookie",{name:e,value:t,options:a})}async function i(){const{response:e,data:t}=await(0,n.U2)(r.default.dispatch,"/cookie/data-fetch");return e.ok?t:{}}},58629:(e,t,a)=>{"use strict";a.d(t,{Df:()=>g,Fc:()=>m,RD:()=>p,U5:()=>f,Uh:()=>u,mb:()=>h,wJ:()=>d});var n=a(74690),r=a(53150),o=a(74167),i=a(5014),s=a(44323),l=a(12523);const c="frontend/checkout/SET_GIFT_ORDER_DATA";async function d(e){let t={};try{const a=window.locale||"en",{response:r,data:o}=await(0,n.U2)([],`/orders/get-gift/${e}/${a}`);r.ok&&(t=o)}catch(a){r.default.dispatch((0,i.ru)({type:"error",title:"Gift Error",message:"Something went wrong fetching the gift. Please try again or contact support."}))}return t}async function u(e){try{const{response:t,data:a}=await(0,n.gz)([],`/user/orders/accept-gift/${e}`);t.ok?r.history.push(`/orders/${a._id}`):window.location.reload(!0)}catch(t){r.default.dispatch((0,i.ru)({type:"error",title:"Gift Error",message:"Something went wrong accepting the gift. Please try again or contact support."}))}}async function m(e){try{const{response:t}=await(0,n.gz)([],`/user/orders/revoke-gift/${e}`);t.ok&&window.location.reload(!0)}catch(t){r.default.dispatch((0,i.ru)({type:"error",title:"Gift Error",message:"Something went wrong revoking the gift. Please try again or contact support."}))}}async function p(e){try{const{response:t,data:a}=await(0,n.v_)([],`/user/orders/atok-check/${e}`,{atok:(0,s.h_)()});a.validAtock&&t.ok?((0,l.cJ)(p),r.default.dispatch((0,o.nI)({giftOrder:{},orderId:e,giftAction:"convert"}))):r.default.dispatch((0,o.gq)())}catch(t){r.default.dispatch((0,i.ru)({type:"error",title:"Gift Error",message:"Something went wrong converting the order to a gift. Please try again or contact support."}))}}async function h(e,t){try{const{response:a}=await(0,n.gz)([],`/user/orders/convert-to-gift/${e}`,{...t,atok:(0,s.h_)()});a.ok&&window.location.reload(!0)}catch(a){r.default.dispatch((0,i.ru)({type:"error",title:"Gift Error",message:"Something went wrong converting your order to a gift. Please try again or c
1ontact support."}))}}async function g(e,t){try{const{response:a}=await(0,n.gz)([],`/user/orders/edit-gift/${e}`,t);a.ok&&window.location.reload(!0)}catch(a){r.default.dispatch((0,i.ru)({type:"error",title:"Gift Error",message:"Something went wrong editing your gift. Please try again or contact support."}))}}function f(e){r.default.dispatch({type:c,payload:e})}},44323:(e,t,a)=>{"use strict";a.d(t,{h_:()=>l,Xo:()=>g,G3:()=>p,Li:()=>h});var n=a(88967);class r{constructor(){return new Proxy(new Promise(((e,t)=>{this.resolve=e,this.reject=t})),{get:(e,t)=>this[t]||e[t].bind(e)})}}const o=(e,t)=>{const a=[];let o=null,i=1;const s=async()=>{const r=a.shift();return r?((0,n.Z)("Processing Job",r.id),e(...r.data).then((e=>{(0,n.Z)("Processed Job",r.id),r.promise.resolve(e)})).catch((e=>r.promise.reject(e))),setTimeout((()=>{0===a.length&&((0,n.Z)("Clearing timer after job",r.id),clearInterval(o),o=null)}),.9*t),null):((0,n.Z)("Cancelling timer because no job to process"),clearInterval(o),!1)};return function(){const e=new r;for(var l=arguments.length,c=new Array(l),d=0;d<l;d++)c[d]=arguments[d];const u={data:c,promise:e,id:i};
1return(0,n.Z)("Queueing Job",u.id),a.push(u),i+=1,null===o&&((0,n.Z)("Starting new timer ",u.id),setTimeout(s,1),o=setInterval(s,t)),e}};var i=a(74690),s=a(53150);a(59881);const l=()=>{const e=s.default.getState();return e.atok&&""!==e.atok.value?e.atok.value:(()=>{let e="",t={};const a=localStorage.getItem("bsatok")||"";if(a&&"string"===typeof a)try{t=JSON.parse(a)}catch(n){return e}return t.value&&(e=t.value),e})()};async function c(e,t,a){const{response:n,data:r}=await(0,i.v_)(s.default.dispatch,"/user/orders/redeem",{oid:e,bid:t,pid:a._id,serialId:a.serialId,iid:a.iid,atok:l()});return n.ok?r:{key:"error"}}async function d(e,t,a){const{response:n,data:r}=await(0,i.v_)(s.default.dispatch,"/user/orders/redeem?mysteryNameOnly=1",{oid:e,bid:t,pid:a._id,serialId:a.serialId,iid:a.iid});return n.ok,r}let u,m;async function p(e,t,a){return u||(u=o(c,1e3)),u(e,t,a)}async function h(e,t,a){return m||(m=o(d,1e3)),m(e,t,a)}async function g(e,t){if("bundle"!==t.type||!t.bundles||!t.bundles.length)throw new Error("mysteryBundleReveal can only be used with bundles");const{iid:a,_id:n}=t,{response:r,data:o}=await(0,i.v_)(s.default.dispatch,"/user/orders/redeem?mysteryNameOnly=1",{oid:e,pid:n,iid:a});if(r.ok){return o}if(!r.ok)return{};throw o.message}},19622:(e,t,a)=>{"use strict";a.d(t,{CM:()=>i,gP:()=>o,mh:()=>r});const n=e=>e.filter(((t,a)=>e.indexOf(t)>=a));function r(){let e=[];try{e=JSON.parse(localStorage.getItem("recentlyViewed"))||[]}catch(t){}return e}function o(e){let t=r();t.unshift(e.slug),t=n(t).slice(0,36),localStorage.setItem("recentlyViewed",JSON.stringify(t))}function i(e){const t=r().filter((t=>!e.includes(t)));localStorage.setItem("recentlyViewed",JSON.stringify(t))}},92736:(e,t,a)=>{"use strict";a.d(t,{L5:()=>o,r1:()=>s,zi:()=>i});var n=a(74690),r=a(53150);async function o(e){return(0,n.v_)(r.default.dispatch,"/user/recommendations",e).then((e=>{let{data:t}=e;return t.hits})).catch((()=>{}))}async function i(){return(0,n.U2)(r.default.dispatch,"/user/long-tail-recommendations").then((e=>{let{data:t}=e;return t})).catch((()=>{}))}async function s(e){return(0,n.v_)(r.default.dispatch,"/user/recommendations/viewed",e).catch((()=>{}))}},96560:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(27646);window.fingerprint=null,window.fetchingFingerprint=!1;const r=[];function o(){return window.fingerprint?window.fingerprint:new Promise(((e,t)=>{if(window.fetchingFingerprint)return void r.push(((a,n)=>a?t(a):e(n)));window.fetchingFingerprint=!0;(new n.th).get({logging:!1}).then((t=>{if(!t.thumbmark)throw new Error("No thumbmark in response",t);const{thumbmark:a}=t;window.fingerprint=a,r.forEach((e=>e(null,a))),r.length=0,e(a),window.snowplow((function(){this.cf.xFanSetUserFingerprint(a),this.cf2026&&this.cf2026.xFanSetUserFingerprint(a)}))})).catch((t=>{r.forEach((e=>e(t))),r.length=0,e(t)}))}))}},74690:(e,t,a)=>{"use strict";a.d(t,{Aw:()=>f,IV:()=>k,LP:()=>w,U2:()=>S,gz:()=>P,r$:()=>N,v_:()=>_});var n=a(27361),r=a.n(n),o=a(90331),i=a(53150),s=a(76981),l=a(84240),c=a(1590),d=a(96560);const u=`${l.apiProtocol}://${l.apiUrl}`,m=`${l.appProtocol}://${l.appUrl}`,{version:p}=window;let h=[];const g={};class f extends Error{constructor(e,t){super(e),this.path=t,g[t]?this.ignore=!0:g[t]=!0}}const y=e=>{const t=Date.now(),a=t-1e3*l.ratelimit.interval;h=h.filter((e=>e.timestamp>a));if(h.filter((t=>t.path===e)).length>l.ratelimit.limit)throw new f(`Self rate limit exceeded ${e}`,e);h.push({timestamp:t,path:e})};function w(){let e={};i.default&&(e=i.default.getState());const t=e.auth;if(t){let e;try{e=t.token}catch(a){}if(e)return e}return!1}async function v(e){const t=new Headers({Accept:"application/json"}),a=w(),n=await async function(){let e={};i.default&&(e=i.default.getState());const t=e.anonymous;if(t){let e;try{e=t.id}catch(n){}if(e)return e}const a=crypto.randomUUID();return await(0,o.q)(a),a}(),r=await(0,d.Z)();return e&&t.append("Content-type","application/json"),a&&t.append("Authorization",a),n&&t.append("anonid",n),r&&t.append("x-fan-fp",r),window.version&&t.append("X-Fan-Client-Version",window.version),t}function b(e,t){return 204!==t.status&&(401===t.status&&(i.default.dispatch({type:"frontend/wishlist/FETCH_WISHLIST",payload:{wishlistLoaded:!1}}),i.default.dispatch({type:"frontend/wishlist/UPDATE_WISHLIST_ITEM",payload:{active:!1}}),i.default.dispatch({type:"frontend/auth/LOGOUT"})),429===t.status&&(0,c.Z)((e=>{e.captureException(new Error("429 response received",{cause:t.url}))})),async function(e){const t=e.headers.get("content-type");return t&&t.includes("application/json")?404===e.status?{response:e,data:{message:"Not Found"}}:e.json().then((t=>({response:e,data:t}))).catch((t=>({response:e,data:{err:t}}))):e.text().then((t=>({response:e,data:t}))).catch((t=>({response:e,data:t})))}(t))}async function E(e){const t=i.default.getState(),a=r()(t,"modal.frontend/modal/USER_REVIEW_MODA
1L",!1),n=window.location.pathname.includes("review"),o=window.location.pathname.includes("payment"),{response:s}=await async function(e,t){return y(t),b(0,await fetch(`${m}${t}`,{method:"HEAD",headers:await v()}))}(0,`${window.location.pathname}${window.location.search}${window.location.search?"&":"?"}expectedV=${e}`),l=parseInt(s.headers.get("X-Fan-Version"),10);if(l>=e&&!n&&!a&&!o){const e=new URLSearchParams(window.location.search);if(e.get("v")!==`${l}`)return e.set("v",l),window.location.search=`?${e.toString()}`,!1}return!1}async function S(e,t){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];y(t);let n=t;const r=(0,s.Z)("cc");r&&(n=`${n}${t.includes("?")?"&":"?"}cc=${r}`);const o={};a||(o.headers=await v());const i=await fetch(`${u}${n}`,o);if(p&&i.headers.has("X-Fan-Version")){const e=parseInt(i.headers.get("X-Fan-Version"),10);e>p&&await E(e)}return b(0,i)}async function _(e,t,a){y(t);return b(0,await fetch(`${u}${t}`,{method:"POST",headers:await v(!0),body:JSON.stringify(a)}))}async function k(e,t){y(t);return b(0,await fetch(`${u}${t}`,{method:"DELETE",headers:await v(!0)}))}async function P(e,t,a){y(t);return b(0,await fetch(`${u}${t}`,{method:"PUT",headers:await v(!0),body:JSON.stringify(a)}))}async function N(e,t,a){y(t);return b(0,await fetch(`${u}${t}`,{method:"PATCH",headers:await v(!0),body:JSON.stringify(a)}))}if(l.isDevelopment){const e=console.error;console.error=function(){for(var t=arguments.length,a=new Array(t),n=0;n<t;n++)a[n]=arguments[n];a[0]&&"string"===typeof a[0]&&a[0].includes("Support for defaultProps will be removed")||e(...a)}}},54469:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(67294),r=a(16550),o=a(67100),i=a(27361),s=a.n(i),l=a(8859),c=a(28378);const d=(0,n.lazy)((()=>Promise.all([a.e(2),a.e(97)]).then(a.bind(a,35774))));let u=!1;function m(e){let{noPrerender:t,component:a,render:i,componentProps:m,...p}=e;(0,n.useEffect)((()=>{let e=p.path;if(e){const{computedMatch:t}=p,a=e.match(/^\/:(\w+)\([\w|-]+\)\/(.*)/);if(a){const n=a[1],r=s()(t,`params.${n}`),o=a[2];r&&(e=`/${r}/${o}`)}(0,c.Z)((t=>{u||(u=!0,t.setPageViewName(e)),t.setCurrentRouteName(e),t.setCustomAttribute("route",e)}))}}));const h=(0,o.default)();if(t&&navigator.userAgent.includes("Prerender"))return n.createElement(n.Suspense,{fallback:n.createElement("div",null)},n.createElement(d,null));return n.createElement(r.AW,Object.assign({},p,{render:i||(e=>{var t;return Object.keys((null===e||void 0===e||null===(t=e.match)||void 0===t?void 0:t.params)||{}).forEach((t=>{"string"===typeof e.match.params[t]&&(e.match.params[t]=e.match.params[t].replace(/ /g,"-").replace(/[^\w-]/g,""))})),n.createElement(l.Z,null,n.createElement(a,Object.assign({intl:h},e,m)))})}))}m.type=r.AW,m.defaultProps={noPrerender:!1,render:null,component:null,componentProps:{}}},52665:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(67294),r=a(86933),o=a(84240),i=a(70987),s=a(40167),l=a.n(s),c=a(32742);function d(e){let{logoSrc:t,backgroundSrc:a,sponsorSrc:s,slimButtonColor:d,slimButtonBackgroundColor:u,slimBackgroundColor:m}=e;const{width:p}=(0,c.Z)(),h=100*Math.ceil(p/100),g=window.devicePixelRatio||1;return n.createElement("div",{className:"SlimBanner",style:{backgroundColor:m}},n.createElement("div",{className:"container SlimBanner__container"},n.createElement("div",{className:"SlimBanner__content",style:{backgroundImage:`url(${o.cdnUrl}/product/original/${a}?${l()}&dpr=${g}&h=80&w=${h})`}},n.createElement("div",{className:"SlimBanner__logoButton"},n.createElement("div",{className:"SlimBanner__saleLogo"},n.createElement(i.Z,{src:t,alt:"sale logo",lazy:!1})),n.createElement("div",{className:"SlimBanner__button",style:{color:d,backgroundColor:u}},n.createElement(r.Z,{id:"slimbanner.viewdeals",defaultMessage:"View Deals"}))),s&&n.createElement("div",{className:"SlimBanner__partnerLogo"},n.createElement(i.Z,{src:s,alt:"partner logo"})))))}d.defaultProps={logoSrc:"",backgroundSrc:"",sponsorSrc:"",slimButtonColor:"#000000",slimButtonBackgroundColor:"#FFFFFF",slimBackgroundColor:"#FFFFFF"}},29720:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});var n=a(67294),r=a(86706),o=a(27361),i=a.n(o),s=a(73727),l=a(52665),c=a(76981);const d=e=>{let{adverts:t,location:a}=e;const r=i()(t,"SlimBanner",[]),o=i()(t,"TakeOver",[]),d=(0,c.Z)("picksForYou"),u="0"===d||"1"===d;if(0===r.length)return!1;const m=i()(r,"[0]",{});if(!m)return!1;const p=i()(a,"pathname","").split("/")[1],h=i()(a,"pathname","").split("/")[2],g=["search","game","dlc","book","comic","audio","video","software"].includes(p)||"bundle"===p&&h;if(!g)return!1;if(g&&u)return!1;let f=!1;
1if(o.forEach((e=>{e.appears_on&&e.appears_on.bundles&&(f=!0)})),f&&"bundle"===p&&("games"===h||"books"===h||"software"===h))return!1;const y=i()(m,"external_link",!1),w=i()(m,"url"),v=i()(m,"images",[]),b=v.find((e=>"slim_logo"===i()(e,"img_type"))),E=v.find((e=>"slim_background"===i()(e,"img_type"))),S=v.find((e=>"slim_sponsor"===i()(e,"img_type")));if(!b)return!1;const _=i()(b,"img",""),k=i()(E,"img",""),P=i()(S,"img",""),N=i()(m,"slim_background_colour","#FFFFFF"),x=i()(m,"slim_button_data.text_colour","#000000"),T=i()(m,"slim_button_data.background_colour","#FFFFFF"),C=()=>n.createElement(l.Z,{logoSrc:_,backgroundSrc:k,sponsorSrc:P,slimButtonColor:x,slimButtonBackgroundColor:T,slimBackgroundColor:N});return n.createElement(n.Fragment,null,!w&&C(),w&&n.createElement(n.Fragment,null,!y&&n.createElement(s.rU,{to:`/${w.split("/en/")[1]}`},C()),y&&n.createElement("a",{href:w,target:"_blank",rel:"noopener noreferrer"},C())))};d.defaultProps={adverts:{}};const u=(0,r.$j)((e=>{let{adverts:t,router:{location:a}}=e;return{adverts:t,location:a}}))(d)},8859:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(67294),r=a(86933),o=a(53150),i=a(51673),s=a(30547),l=a(1590);class c extends Error{constructor(e){super(e.message),this.name=e.name||this.constructor.name,this.message=e.message,this.stack=e.stack||e.transporterStackTrace||(new Error).stack}}class d extends n.Component{static getDerivedStateFromError(e){return e&&(e.message&&e.message.match(/Loading chunk (.*) failed|promise.all is not|promise.resolve is not/)||e.code&&e.code.includes&&e.code.includes("CHUNK"))&&!(0,i.Z)()||e&&'"validUntil" parameter expired (less than current date)'===e.message||e&&"NotFoundError"===e.name||e&&e.message&&e.message.match(/QuotaExceededError/)?{error:!1}:(o.default.dispatch({type:"frontend/error/ERROR_PAGE"}),{error:!0})}constructor(e){super(e),this.state={error:!1}}componentDidCatch(e,t){if(e&&(e.message&&e.message.match(/Loading chunk (.*) failed|promise.all is not|promise.resolve is not/)||e.code&&e.code.includes&&e.code.includes("CHUNK"))&&!(0,i.Z)()){let e=window.location.href;if(!e.includes("chunkRedirect=1")&&!this.props.noChunkRedirect)return e=`${e}${e.includes("?")?"&":"?"}chunkRedirect=1`,window.location.href=e,!1}if(e&&'"validUntil" parameter expired (less than current date)'===e.message){let e=window.location.href;return e.includes("algoliaKeyExpired=1")?(window.location.reload(),!1):(e=`${e}${e.includes("?")?"&":"?"}algoliaKeyExpired=1`,window.location.href=e,!1)}if(e&&"NotFoundError"===e.name)return!1;if(e&&e.message&&e.message.match(/QuotaExceededError/)){let e=window.location.href;if(!e.includes("QuotaExceededError=1"))return e=`${e}${e.includes("?")?"&":"?"}QuotaExceededError=1`,localStorage.removeItem("recentlyViewed"),localStorage.removeItem("bsvoucher"),localStorage.removeItem("MOE_DATA"),window.location.href=e,!1}return(0,l.Z)((a=>{if(e instanceof Error){const n=a.captureException(e,{extra:t});this.setState({eventId:n})}else{const n=new c(e),r=a.captureException(n,{extra:t});this.setState({eventId:r})}})),!0}render(){return this.state.error?this.props.hideForm?n.createElement(s.WT,{name:"prerender-status-code",content:"503"}):n.createElement("div",{className:"text-center my-5 container"},n.createElement(s.WT,{name:"prerender-status-code",content:"503"}),n.createElement("h2",{className:"display-1 text-primary not-found-title"},n.createElement(r.Z,{id:"error.title",defaultMessage:"Unexpected Error - Something's wrong"})),n.createElement("p",{className:"my-4"},n.createElement(r.Z,{id:"error.description",defaultMessage:"It looks as though something on our website is broken. An error report has been sent to our developers. Please refresh and try again, or send us some extra feedback."})),!!this.state.eventId&&n.createElement("button",{className:"btn btn-lg btn-primary mb-2 mr-sm-2",onClick:()=>(0,l.Z)((e=>e.showReportDialog({eventId:this.state.eventId,lang:window.locale.substring(0,2)})))},n.createElement(r.Z,{id:"error.feebackbutton",defaultMessage:"Tell us what happened"})),n.createElement("button",{className:"btn btn-lg btn-primary mb-2 ml-sm-2",onClick:()=>window.location.reload(!0)},n.createElement(r.Z,{id:"error.reloadbutton",defaultMessage:"Refresh the page and try again"}))):this.props.children}}d.defaultProps={children:n.createElement(n.Fragment,null),hideForm:!1,noChunkRedirect:!1}},25821:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});var n=a(67294),r=a(32097),o=a(3280),i=a(60766),s=a(23149),l=a(86933),c=a(70982),d=a(59417);function u(e){let{open:t,setOpen:a,hasCloseIcon:u,hasCloseFooter:m,children:p,...h}=e;
1const[g,f]=(0,n.useState)(!1);return(0,n.useEffect)((()=>{t&&f(!0)}),[t]),n.createElement(r.Z,Object.assign({isOpen:t,toggle:()=>a(!1)},h),u&&n.createElement(o.Z,{color:"link","aria-label":"Close modal",className:"close-button",onClick:()=>a(!1)},n.createElement(c.G,{icon:d.g82,title:"Close modal"})),n.createElement(i.Z,null,g&&n.createElement(n.Suspense,{fallback:null},n.cloneElement(p,{open:t,setOpen:a}))),m&&n.createElement(s.Z,{className:"modal-footer-close"},n.createElement(o.Z,{"aria-label":"Close modal",color:"primary",size:"lg",onClick:()=>a(!1)},n.createElement(l.Z,{id:"lazy-modal.close-button",defaultMessage:"Close"}))))}u.defaultProps={open:!1,hasCloseIcon:!0,hasCloseFooter:!1,setOpen:()=>{}}},56443:(e,t,a)=>{"use strict";a.d(t,{Z:()=>h});var n=a(67294),r=a(86706),o=a(70982),i=a(59417),s=a(34288),l=a(86933),c=a(3280),d=a(46333),u=a(90753),m=a(53150);const p=e=>{let{allSlugs:t,productId:a,slug:r,userId:d,hit:p,wishlistLoaded:h,authenticated:g,componentType:f,place:y,saveWishlistItem:w}=e;const{name:v}=p,b=t.includes(r),E=()=>("Checkout Modal"===y&&m.default.dispatch({type:"frontend/checkout-modal/ADDED_TO_WISHLIST_FROM_CHECKOUT_MODAL",payload:{productId:a}}),d?w({slug:r,active:!b,name:v,productId:a,componentType:f,type:p.type}):(0,u.um)({name:v,productId:a,componentType:f,slug:r}));return"WishlistCard"===f?n.createElement("button",{className:"wishlist-card-delete-button btn-reset-style","aria-label":"Update item in your wishlist",disabled:!h&&g,onClick:E},b?n.createElement(n.Fragment,null,n.createElement(o.G,{icon:i.Vui,className:"mr-1"}),n.createElement(l.Z,{id:"WishlistCardDeleteBtn.delete",defaultMessage:"Delete"})):n.createElement(n.Fragment,null,n.createElement(o.G,{icon:s.m6i,className:"mr-1"}),n.createElement(l.Z,{id:"WishlistCardDeleteBtn.addtoyourwishlist",defaultMessage:"Add to wishlist"}))):"HitCard"===f&&b?n.createElement(n.Fragment,null,n.createElement("div",{className:"card-actions-container"},n.createElement("button",{"aria-label":b?"Wishlist Add":"Wishlist Remove",disabled:!h&&g,className:"card-action",onClick:E},n.createElement("div",{className:"action-text"},n.createElement(l.Z,{id:"hitcardwishlistbtn.icon-button.onwishlist",defaultMessage:"On wishlist"})))),n.createElement("div",{className:"wishlist-icon"},n.createElement("button",{"aria-label":b?"Wishlist Add":"Wishlist Remove",disabled:!h&&g,className:"card-action",onClick:E},n.createElement("div",{className:"action-icon"},n.createElement(o.G,{icon:i.m6i}))))):n.createElement("div",{className:"wishlist-button"},n.createElement(c.Z,{color:"link","aria-label":b?"Wishlist Add":"Wishlist Remove",disabled:!h&&g,className:b?"wishlist-add":"wishlist-remove",onClick:E},b?n.createElement(o.G,{icon:i.m6i}):n.createElement(o.G,{icon:s.m6i})))};p.defaultProps={allSlugs:[],productId:"",userId:"",slug:"",activeItem:{},hit:{},wishlistLoaded:!1,authenticated:!1,place:"",componentType:"HitCard"};const h=(0,r.$j)((e=>{let{auth:{_id:t,authenticated:a},wishlist:{allSlugs:n,wishlistLoaded:r}}=e;return{allSlugs:n,userId:t,authenticated:a,wishlistLoaded:r}}),{saveWishlistItem:d.i9})(p)},21921:(e,t,a)=>{"use strict";a.d(t,{Z:()=>f});var n=a(67294),r=a(86706),o=a(86933),i=a(70982),s=a(59417),l=a(73727),c=a(94184),d=a.n(c),u=a(3280),m=a(51913),p=a(38420),h=a(53150);function g(e){const[t,a]=(0,n.useState)(!1),{classNameButton:r,allSlugs:c,buttonInCartText:m,buttonText:p,goToCart:g,hideButtonText:f,id:y,modalToggle:w,place:v,quickLook:b,regionLocked:E,showInCartLink:S,slug:_,voucherToAdd:k,hideIcon:P,tierIndex:N,newIcon:x,parentComponent:T,onAddToCart:C,clickFunction:D}=e,Z=c.includes(_);if(Z&&S)return n.createElement(l.rU,{to:"/cart",className:d()("AddToCartBtn btn btn-primary",{"AddToCartBtn--iconOnly":f},{"d-none d-lg-flex":"WishlistCard"!==T},r),onClick:w?()=>w():()=>{}},!P&&n.createElement("div",{className:"cart-btn-icon"},n.createElement(i.G,{icon:s.LEp,className:"mr-1",title:"In Cart"})),!f&&n.createElement("div",{className:"btn-text-container in-cart-text"},!m&&n.createElement(o.Z,{id:"hitcardbuttons.incart",defaultMessage:"In Cart"}),m&&n.createElement(n.Fragment,null,m)));if(Z)return!1;const{push:I}=h.history;return n.createElement(u.Z,{color:"primary",disabled:t,className:d()("AddToCartBtn",{"AddToCartBtn--iconOnly":f},{"d-none d-lg-flex":"WishlistCard"!==T},r),onClick:()=>(async()=>{a(!0),b&&w&&w(),k&&await e.addVoucher(k),E&&_?await e.doAddToCart(I,null,N,"popup",_):await e.addToCart(I,y,N,"popup"),"Deep Discount Exit Intent"===v&&D(),"Checkout Modal"===v&&h.default.dispatch({type:"frontend/checkout-modal/ADDED_TO_CART_FROM_CHECKOUT_MODAL",payload:{product:y}}),a(!1),C&&C(),g&&(window.location.href="/cart")})()},!P&&n.createElement("div",{className:"cart-btn-icon"},x?n.createElement(i.G,{icon:s.qD8,className:"mr-1",title:"Add To Cart"}):n.createElement(i.G,{icon:s.yYj,className:"mr-1",title:"Add To Cart"})),!t&&!f&&n.createElement("div",{className:"btn-text-container"},!p&&n.createElement("div",null,n.createElement(o.Z,{id:"add-to-cart-button.addtocart",defaultMessage:"Add"})),p&&n.createElement("div",null,p)),t&&n.createElement("div",{className:"btn-text-container"},n.createElement(i.G,{spin:!0,icon:s.LM3,title:"Loading"})))}g.defaultProps={classNameButton:"",addToCart:()=>{},addVoucher:()=>{},allSlugs:[],buttonInCartText:null,buttonText:null,doAddToCart:()=>{},goToCart:!1,hideButtonText:!1,modalToggle:()=>{},place:"",quickLook:!1,regionLocked:!1,showInCartLink:!1,voucherToAdd:null,hideIcon:!1,newIcon:!1,tierIndex:null,parentComponent:void 0,onAddToCart:void 0};
1const f=(0,r.$j)((e=>{let{cart:{allSlugs:t}}=e;return{allSlugs:t}}),{addToCart:m.Xq,doAddToCart:m.BA,addVoucher:p.ow})(g)},88531:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(67294),r=a(86706),o=a(73727),i=a(86933);const s=e=>{let{className:t,parentClick:a,tag:s,section:l}=e;const c=(0,r.I0)(),d=(0,r.v9)((e=>e.starDeal)),u=null===d||void 0===d?void 0:d.slug,m=null===d||void 0===d?void 0:d.type,p=`/${m}/${u}`,h=()=>{a&&"function"===typeof a&&a(),c({type:"frontend/click/CLICK_INTERACTION",payload:{section:l,value:p,context:"StarDeal"}})};return!!d&&("a"!==s?n.createElement(s,{className:`nav-star-deal ${t}`,onClick:h},n.createElement(o.rU,{to:`/${m}/${u}`},n.createElement(i.Z,{id:"nav.stardeal",defaultMessage:"Star Deal"}))):n.createElement(o.rU,{to:`/${m}/${u}`,className:t,onClick:h},n.createElement("div",{className:"nav-star-deal star-deal-button"},n.createElement(i.Z,{id:"nav.stardeal",defaultMessage:"Star Deal"}))))};s.defaultProps={className:"",parentClick:null,tag:"a",section:"SecondaryNavLinks"};const l=s},4122:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(67294),r=a(94184),o=a.n(r),i=a(23305),s=a(81613);const l=[s.Do.space,s.Do.enter,s.Do.up,s.Do.down,s.Do.end,s.Do.home],c=e=>{const{className:t,cssModule:a,direction:r,isOpen:c,group:d,size:u,nav:m,setActiveFromChild:p,active:h,addonType:g,tag:f,menuRole:y,...w}=(0,s.CE)(e,["toggle","disabled","inNavbar","a11y"]),v=(0,n.useRef)(null),b=(0,n.useRef)(null),E=(0,n.useContext)(i.D),S=()=>{b.current=b},_=()=>v.current,k=()=>b.current,P=()=>v.current?v.current.querySelector("[aria-expanded]"):null,N=(0,n.useCallback)((()=>{const e=k()||_();return[].slice.call(e.querySelectorAll(`[role="${"listbox"===E.menuRole?"option":"menuitem"}"]`))}),[E.menuRole]),x=(0,n.useCallback)((t=>{if(t&&(3===t.which||"keyup"===t.type&&t.which!==s.Do.tab))return;const a=_(),n=k(),r=a.contains(t.target)&&a!==t.target,o=n&&n.contains(t.target)&&n!==t.target;(!r&&!o||"keyup"===t.type&&t.which!==s.Do.tab)&&e.toggle(t)}),[e]),T=(0,n.useCallback)((()=>{["click","touchstart","keyup"].forEach((e=>{document.addEventListener(e,x,!0)}))}),[x]),C=(0,n.useCallback)((()=>{["click","touchstart","keyup"].forEach((e=>{document.removeEventListener(e,x,!0)}))}),[x]),D=(0,n.useCallback)((t=>{const a="menuitem"===t.target.getAttribute("role")||"option"===t.target.getAttribute("role"),n=P()===t.target,r=s.Do.tab===t.which;if(!(/input|textarea/i.test(t.target.tagName)||r&&!e.a11y||r&&!a&&!n)&&((-1!==l.indexOf(t.which)||t.which>=48&&t.which<=90)&&t.preventDefault(),!e.disabled&&(n&&([s.Do.space,s.Do.enter,s.Do.up,s.Do.down].indexOf(t.which)>-1?(e.isOpen||e.toggle(t),setTimeout((()=>N()[0].focus()))):e.isOpen&&r?(t.preventDefault(),N()[0].focus()):e.isOpen&&t.which===s.Do.esc&&e.toggle(t)),e.isOpen&&a)))if([s.Do.tab,s.Do.esc].indexOf(t.which)>-1)e.toggle(t),P().focus();else if([s.Do.space,s.Do.enter].indexOf(t.which)>-1)t.target.click(),P().focus();else if([s.Do.down,s.Do.up].indexOf(t.which)>-1||[s.Do.n,s.Do.p].indexOf(t.which)>-1&&t.ctrlKey){const e=N();let a=e.indexOf(t.target);s.Do.up===t.which||s.Do.p===t.which&&t.ctrlKey?a=0!==a?a-1:e.length-1:(s.Do.down===t.which||s.Do.n===t.which&&t.ctrlKey)&&(a=a===e.length-1?0:a+1),e[a].focus()}else if(s.Do.end===t.which){const e=N();e[e.length-1].focus()}else if(s.Do.home===t.which){N()[0].focus()}}),[e,N]);(0,n.useEffect)((()=>(e.isOpen?T():C(),()=>{C()})),[e.isOpen,T,C]);const Z=f||(m?"li":"div");let I=!1;p&&n.Children.map(e.children[1].props.children,(e=>{e&&e.props.active&&(I=!0)}));const A=(0,s.mx)(o()(t,"down"!==r&&`drop${r}`,!(!m||!h)&&"active",!(!p||!I)&&"active",{[`input-group-${g}`]:g,"btn-group":d,[`btn-group-${u}`]:!!u,dropdown:!d&&!g,show:c,"nav-item":m}),a);return n.createElement(i.D.Provider,{value:{toggle:e.toggle,isOpen:e.isOpen,direction:"down"===e.direction&&e.dropup?"up":e.direction,inNavbar:e.inNavbar,disabled:e.disabled,onMenuRef:S,menuRole:e.menuRole}},n.createElement(Z,Object.assign({},w,{["string"===typeof Z?"ref":"innerRef"]:v,className:A,onKeyDown:D})))};c.defaultProps={a11y:!0,isOpen:!1,direction:"down",nav:!1,active:!1,addonType:!1,inNavbar:!1,setActiveFromChild:!1};const d=c},13664:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(67294),r=a(23305),o=a(94184),i=a.n(o);function s(e){return n.createElement(r.D.Consumer,null,(t=>{let{isOpen:a}=t;return n.createElement("div",{className:i()("dropdown-menu",{show:a,"dropdown-right":!!e.right||!!e.end})},e.children)}))}s.defaultProps={children:n.createElement(n.Fragment,null)}},51331:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(67294),r=a(94184),o=a.n(r),i=a(23305),s=a(3280),l=a(81613);const c=e=>{const{className:t,color:a,cssModule:r,caret:c,split:d,nav:u,tag:m,innerRef:p,disabled:h,...g}=e,f=(0,n.useContext)(i.D),y=g["aria-label"]||"Toggle Dropdown",w=(0,l.mx)(o()(t,{"dropdown-toggle":c||d,"dropdown-toggle-split":d,"nav-link":u}),r),v="undefined"!==typeof g.children?g.children:n.createElement("span",{className:"sr-only"},y);let b;return u&&!m?(b="a",g.href="#"):m?b=m:(b=s.Z,g.color=a,g.cssModule=r),n.createElement(b,Object.assign({},g,{className:w,"aria-expanded":f.isOpen,"aria-haspopup":f.menuRole||e["aria-haspopup"],onClick:t=>{e.disabled||f.disabled?t.preventDefault():(e.nav&&!e.tag&&t.preventDefault(),e.onClick&&e.onClick(t),f.toggle(t))}}),v)};c.defaultProps={color:"secondary","aria-haspopup":!0};const d=c},50049:(e,t,a)=>{"use strict";a.d(t,{Z:()=>c});var n=a(67294),r=a(86706),o=a(86933),i=a(62945),s=a(49824);function l(e){let{trustpilot:t,logoColor:a,minimal:r}=e;return n.createElement("div",{className:"trustpilotstrip"},n.createElement("div",{className:"logo-container"},n.createElement("a",{href:"https://www.trustpilot.com/review/www.fanatical.com",target:"_blank",rel:"noopener noreferrer",tabIndex:-1},n.createElement("img",{className:"trust-pilot-img",src:(0,s.Z)(a).image,alt:(0,s.Z)(a).alt}))),!r&&n.createElement("div",{className:"message-container"},n.createElement("a",{href:"https://www.trustpilot.com/review/www.fanatical.com",target:"_blank",rel:"noopener noreferrer",tabIndex:-1},n.createElement(o.Z,{id:"usp-bar.point.trustpilot",defaultMessage:"Rated 'EXCELLENT' Based on {count} Reviews",values:{count:n.createElement(i.BK,{value:t.total})}}))))}l.defaultProps={trustpilot:0,logoColor:"black",minimal:!1};const c=(0,r.$j)((e=>{let{trustpilot:t}=e;return{trustpilot:t}}),null)(l)},16839:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});var n=a(67294),r=a(94184),o=a.n(r),i=a(86933),s=a(70982),l=a(59417),c=a(99399),d=a(50049);function u(e){let{mobileEnabled:t}=e;
1const[a,r]=(0,n.useState)(1);(0,n.useEffect)((()=>{let e;return t&&(e=setTimeout((()=>{1===a&&r(2),2===a&&r(3),3===a&&r(1)}),5e3)),()=>clearTimeout(e)}),[r,a,t]);return t?n.createElement("div",{className:"small-usp-bar MobileUspBar"},n.createElement("div",{className:o()("MobileUspBar__message MobileUspBar__message--one",{"MobileUspBar__message--visible":1===a})},n.createElement("div",{className:"MobileUspBar__message__content"},n.createElement(s.G,{icon:l.byT}),n.createElement(i.Z,{id:"uspbar.official-safe",defaultMessage:"100% Safe and Secure"}))),n.createElement("div",{className:o()("MobileUspBar__message MobileUspBar__message--two",{"MobileUspBar__message--visible":2===a})},n.createElement(d.Z,{minimal:t,logoColor:"black"})),n.createElement("div",{className:o()("MobileUspBar__message MobileUspBar__message--three",{"MobileUspBar__message--visible":3===a})},n.createElement("div",{className:"MobileUspBar__message__content"},n.createElement(s.G,{icon:l.tMT}),n.createElement(i.Z,{id:"usp-bar.point.delivery",defaultMessage:"Instant Digital Delivery"})))):n.createElement("div",{"data-nosnippet":!0,className:"small-usp-bar"},n.createElement("div",{className:"container d-flex justify-content-between align-items-center align-self-center"},n.createElement("div",null,n.createElement("div",{className:"UspBar__slide"},n.createElement(c.Z,{ariaLabel:"100% Safe and secure dropdown. Expand for more details",tabIndex:-1,content:n.createElement(i.Z,{id:"uspbar.popout",defaultMessage:"All payments encrypted. {br}{br} Dedicated in-house customer support team.",values:{br:n.createElement("br",null)}})},n.createElement("div",{className:"UspBar__slide__tooltip"},n.createElement("div",{className:"pr-2 UspBar__slide__icon"},n.createElement(s.G,{icon:l.byT})),n.createElement(i.Z,{id:"uspbar.official-safe",defaultMessage:"100% Safe and Secure"}),!t&&n.createElement("div",{className:"pl-1 UspBar__slide__tooltip__chevron"},n.createElement(s.G,{icon:l.ptq,className:"small-chevron"})))))),n.createElement("div",null,n.createElement("div",{className:"UspBar__slide"},n.createElement(d.Z,{minimal:t,logoColor:"black"}))),n.createElement("div",null,n.createElement("div",{className:"UspBar__slide"},n.createElement(c.Z,{tabIndex:-1,ariaLabel:"Instant Digital Delivery dropdown. Expand for more details",content:n.createElement(i.Z,{id:"usp-bar.point.delivery.tooptip",defaultMessage:"Pre-orders will be delivered by release day. {br}{br} Less than 1% of all orders are flagged for manual authorization.",values:{br:n.createElement("br",null)}}),componentClassName:"justify-content-end",tooltipClassName:"tooltip-custom"},n.createElement("div",{className:"UspBar__slide__tooltip"},n.createElement("div",{className:"pr-2 UspBar__slide__icon"},n.createElement(s.G,{icon:l.tMT})),n.createElement(i.Z,{id:"usp-bar.point.delivery",defaultMessage:"Instant Digital Delivery"}),!t&&n.createElement("div",{className:"pl-1 UspBar__slide__tooltip__chevron"},n.createElement(s.G,{icon:l.ptq,className:"small-chevron"}))))))))}u.defaultProps={trustpilot:{total:0,score:{stars:0,trustScore:0}},mobileEnabled:!1}},2887:(e,t,a)=>{"use strict";a.d(t,{Z:()=>h});var n=a(67294),r=a(86706),o=a(67100),i=a(86933),s=a(62807),l=a(74167),c=a(83489),d=a(91439),u=a(53150);const m=e=>{let{auth:t,mobileEnabled:a,toggleEmailSubscribeModal:r,appearsOn:l}=e;const[m,p]=(0,n.useState)(""),h=(0,o.default)(),g=(0,c.Z)(l),f=(e,t,a)=>{e.preventDefault(),u.default.dispatch((0,s.Dc)(t,g,a,!0))};return(0,d.Z)(g),a?n.createElement("div",{id:`emailsignup-${g}`,className:"email-subscribe-input"},n.createElement("button",{className:"btn-block email-single-btn pb-0 pt-0 pl-3 pr-3",onClick:()=>r()},n.createElement(i.Z,{id:"subscribe.input.mobile-subscribe",defaultMessage:"Subscribe"}))):n.createElement("div",{id:`emailsignup-${g}`,className:"email-subscribe-input"},t.authenticated&&n.createElement("button",{className:"btn-block email-single-btn pb-0 pt-0 pl-3 pr-3",onClick:e=>f(e,t.email,!0)},n.createElement(i.Z,{id:"subscribe.input.button-subscribe",defaultMessage:"Subscribe"})),!t.authenticated&&n.createElement(n.Fragment,null,n.createElement("form",{onSubmit:e=>{f(e,m,!0)}},n.createElement("div",{className:"input-group",style:{width:"280px"}},n.createElement("input",{required:!0,placeholder:h.formatMessage({id:"email-subscribe-nav.placeholder",defaultMessage:"Enter your email"}),className:"form-control",type:"email",name:"email",title:"Enter your email address",enterKeyHint:"send","aria-label":"email",value:t.email,onChange:e=>{e.preventDefault(),p(e.target.value,!1)}}),n.createElement("span",{className:"input-group-append"},n.createElement("button",{className:"btn btn-primary pb-0 pt-0 pl-3 pr-3",type:"submit"},n.createElement(i.Z,{id:"subscribe.input.input-subscribe",defaultMessage:"Subscribe"})))))))};m.defaultProps={auth:{},mobileEnabled:!1};const p={toggleEmailSubscribeModal:l.uw},h=(0,r.$j)((e=>{let{auth:t}=e;return{auth:t}}),p)(m)},73111:(e,t,a)=>{"use strict";a.d(t,{Z:()=>p});var n=a(67294),r=a(62945),o=a(67100),i=a(94184),s=a.n(i),l=a(70982),c=a(59417),d=a(86706),u=a(33163);const m=(0,r.vU)({besteversaving:{id:"cardLabel.besteversaving",defaultMessage:"Best Ever Saving"},lastchance:{id:"cardLabel.lastchance",defaultMessage:"Last Chance"},preorder:{id:"cardLabel.preorder",defaultMessage:"Pre-order"},preorderwithdate:{id:"cardLabel.preorderwithdate",defaultMessage:"Releases {date}"},earlyaccess:{id:"cardLabel.earlyaccess",defaultMessage:"Available {date}"},earlyaccessnow:{id:"cardLabel.earlyaccessnow",defaultMessage:"Available Now"}
1,newrelease:{id:"cardLabel.newrelease",defaultMessage:"Released {date}"},flashdeal:{id:"cardLabel.flashdeal",defaultMessage:"Flash Deal"},stardeal:{id:"cardLabel.stardeal",defaultMessage:"Star Deal"},giveaway:{id:"cardLabel.giveaway",defaultMessage:"Giveaway"},justlaunched:{id:"cardLabel.justlaunched",defaultMessage:"Just Launched"},eBookBundle:{id:"cardLabel.eBookBundle",defaultMessage:"eBook Bundle"},inLibrary:{id:"cardLabel.inLibrary",defaultMessage:"In Library"},inSteamLibrary:{id:"cardLabel.inSteamLibrary",defaultMessage:"In Steam Library"},bundlefest:{id:"cardLabel.bundlefest",defaultMessage:"Bundlefest"},lowstock:{id:"cardLabel.lowstock",defaultMessage:"Low Stock"},sponsored:{id:"cardLabel.sponsored",defaultMessage:"Sponsored"},freeGift:{id:"cardLabel.freeGift",defaultMessage:"Free Gift"},recommended:{id:"cardLabel.recommended",defaultMessage:"Recommended for you"}});function p(e){var t;let{slug:a,bestDiscount:r,preorderDate:i,startingDate:p,endingDate:h,type:g,displayType:f,discountPercent:y,flashDealCard:w,noReleaseDate:v,systemDiscount:b,labelOverride:E,earlyAccessDate:S,isStarDeal:_,isGiveaway:k}=e;const{formatMessage:P,formatDate:N}=(0,o.default)(),x=(0,d.v9)((e=>{var t,a;return null===e||void 0===e||null===(t=e.router)||void 0===t||null===(a=t.location)||void 0===a?void 0:a.pathname}))||"",T=(null===(t=(0,u.Z)())||void 0===t?void 0:t.hit)||null,C=T&&(null===T||void 0===T?void 0:T.slug)===a,D=(()=>{if(!x)return!1;const e=x.toLowerCase().split("/").filter(Boolean)[0];return["deals","latest-deals","new-releases","categories","publishers","franchises","collections"].includes(e)})()&&C,Z=Date.now()/1e3-p;let I=!1;if(w){h-Date.parse(new Date)/1e3<14400&&(I=!0)}let A=!1;Date.now()>Date.parse("2024-05-20T15:00:00.000Z")&&Date.now()<Date.parse("2024-05-27T15:00:00.000Z")&&(A=!0);const $=[].includes(a);let L=null,M=null,O=!1;if(I&&(L="lastchance",M=P(m.lastchance)),r&&(L="bestdiscount",M=P(m.besteversaving)),1e3*i>Date.now()&&!S){if(v)return!1;L="preorder",M=P(m.preorder),O=!0,M=P(m.preorderwithdate,{date:N(new Date(1e3*i),{month:"short",day:"2-digit"})})}return 1e3*i>Date.now()&&S&&(L="earlyaccess",M=P(m.earlyaccessnow),1e3*S>Date.now()&&(M=P(m.earlyaccess,{date:N(new Date(1e3*S),{month:"short",day:"2-digit"})}))),"pick-and-mix"!==g&&"bundle"!==g||!A||(L="bundlefest",M=P(m.bundlefest)),!w&&y>0&&h-p<176400&&!b&&(L="flashdeal",M=P(m.flashdeal)),!w&&f&&f.includes("bundle")&&Z<86400&&"flashdeal"!==L&&(L="landed",M=P(m.justlaunched)),_&&(L="stardeal",M=P(m.stardeal)),k&&(L="giveaway",M=P(m.giveaway)),"newrelease"===E&&(L="preorder",O=!0,M=P(m.newrelease,{date:N(new Date(1e3*i),{month:"short",day:"2-digit"})})),$&&(L="gameawards",M="Game Awards Winner"),"recommended"===E&&(L="recommended",M=P(m.recommended)),"inLibrary"===E&&(L="inLibrary",M=P(m.inLibrary)),"inSteamLibrary"===E&&(L="inSteamLibrary",M=P(m.inSteamLibrary)),D&&(L="sponsored",M=P(m.sponsored)),n.createElement(n.Fragment,null,L&&n.createElement("div",{className:s()("hitCardLabel",{"pre-order-date":O})},n.createElement("div",{className:`d-flex label-${L}-container`},n.createElement("div",{className:"label-content"},"inLibrary"===L&&n.createElement(l.G,{icon:c.cnt,className:"mr-1"}),"inSteamLibrary"===L&&n.createElement("img",{src:"https://cdn.fanatical.com/production/icons/drm/light/steam-icon.svg",alt:"Steam Logo",className:"d-inline svg-inline--fa fa-lg mr-1"}),M),n.createElement("div",{className:"label-slash"})),n.createElement("div",{className:`label-triangle triangle-${L}`})))}p.defaultProps={slug:"",bestDiscount:!1,preorderDate:0,earlyAccessDate:0,startingDate:0,endingDate:0,type:"",displayType:"",flashDealCard:!1,discountPercent:0,noReleaseDate:!1,collections:[],pathname:"",labelOverride:"",systemDiscount:!1,isStarDeal:!1,isGiveaway:!1}},17340:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(67294),r=a(94184),o=a.n(r);function i(e){let{size:t}=e;return n.createElement("div",{className:o()("dlc-badge",{[`dlc-badge--${t}`]:""!==t})},"DLC")}i.defaultProps={size:""}},70987:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(67294),r=a(16391);function o(e){let{width:t,src:a,alt:o,className:i,folder:s,subfolder:l,lazy:c}=e;const d=(0,r.CO)({src:a,folder:s,subfolder:l}),u=c?"lazy":"eager";if((0,r.Dc)(a))return n.createElement("img",{src:d,alt:o,className:`img-fluid img-full ${i}`,loading:u,fetchpriority:c?void 0:"high"});const m=t?Number(t):void 0,p=e=>(0,r.qF)(d,{width:m,fit:"fillmax",dpr:e});return n.createElement("img",{srcSet:[1,2,3].map((e=>`${p(e)} ${e}x`)).join(", "),src:p(1),alt:o,className:i,loading:u,fetchpriority:c?"low":"high",decoding:c?"async":void 0})}o.defaultProps={alt:"",className:"",width:"",folder:"product",subfolder:"",lazy:!0};const i=o},99537:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(67294),r=a(59854),o=a.n(r),i=a(16391),s=a(32742);const l=()=>
1{const[e,t]=(0,n.useState)({width:0,height:0}),a=(0,n.useRef)(null);return(0,n.useEffect)((()=>{const e=a.current,n=new ResizeObserver((e=>{e.forEach((e=>{const{width:a,height:n}=e.contentRect;t({width:a,height:n})}))}));return e&&n.observe(e),()=>{e&&(n.unobserve(e),n.disconnect())}}),[]),[a,e]},c=e=>{let{sizesOverride:t,renderedVw:a,windowWidth:n}=e;if(t){const{widths:e,maxFallback:a}=((e,t)=>{const a=e.split(",").map((e=>e.trim())),n=a.map((e=>e.match(/(\d+)px$/))).filter(Boolean).map((e=>Number(e[1]))),r=a.map((e=>e.match(/(\d+)vw$/))).filter(Boolean).map((e=>o()(Number(e[1])/100*t))),i=[...n,...r];return{widths:[...i,...i.map((e=>2*e))],maxFallback:n.length?Math.max(...n):400}})(t,n);return{widths:[...e,...i.dg.filter((t=>!((e,t)=>t.some((t=>t/e>.85&&t/e<1.15)))(t,e)))],maxFallback:a}}return{widths:(0,i.b)(o()(a/100*n)),maxFallback:400}},d=(0,n.forwardRef)(((e,t)=>{let{size:a,src:r,alt:l,className:d,folder:u,subfolder:m,overrideWidth:p,sizesOverride:h,aspectRatio:g,ratio16by9:f,fullQuality:y,dpr:w,lazy:v,youtubeId:b}=e;const{width:E}=(0,s.Z)();if((0,i.Dc)(r))return n.createElement("img",{ref:t,src:(0,i.CO)({src:r,folder:u,subfolder:m}),alt:l,className:`img-fluid img-full ${d}`,loading:v?"lazy":"eager",fetchpriority:v?void 0:"high"});const S=p||((e,t)=>{const a=o()(e/t*100);return!a||a>100?33:a})(a.width,E),_=(e=>{let{src:t,folder:a,subfolder:n,youtubeId:r}=e;return r?`https://ytimg.imgix.net/${r}`:(0,i.CO)({src:t,folder:a,subfolder:n})})({src:r,folder:u,subfolder:m,youtubeId:b}),{widths:k,maxFallback:P}=c({sizesOverride:h,renderedVw:S,windowWidth:E}),N=((e,t)=>e||(t?16/9:0))(g,f),x=e=>(0,i.qF)(_,{width:e,dpr:w,quality:y&&e>950?95:void 0,...N?{fit:"crop",height:o()(e/N)}:{fit:"max"}}),T=[...k].sort(((e,t)=>t-e));return n.createElement("img",{ref:t,srcSet:T.map((e=>`${x(e)} ${e}w`)).join(", "),sizes:h||`${S}vw`,src:x((0,i.Hi)(T,P)),alt:l,loading:v?"lazy":"eager",fetchpriority:v?"low":"high",decoding:v?"async":void 0,className:`img-fluid img-full ${d}`})}));function u(e){const[t,a]=l();return e.overrideWidth||e.sizesOverride?n.createElement(d,e):n.createElement(d,Object.assign({ref:t,size:a},e))}d.defaultProps={size:{},src:"",alt:"",className:"",ratio16by9:!1,fullQuality:!1,folder:"product",subfolder:"",overrideWidth:"",sizesOverride:"",aspectRatio:0,youtubeId:"",dpr:1,lazy:!0},u.defaultProps={overrideWidth:"",sizesOverride:""};const m=u},64462:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(67294),r=a(94184),o=a.n(r),i=a(73727),s=a(84240),l=a(99537),c=a(66379);function d(e){let{alt:t,cover:a,portraitCover:r,coverType:c,displayType:d,dpr:u,lazy:m,folder:p,link:h,sizesOverride:g,thumbnail:f,adaptiveSize:y}=e,w="standard";"comic"!==d&&"graphic-novel"!==d&&"book"!==d&&"audio"!==d&&"video"!==d&&"software"!==d||(w="unknown"),"16x9"===c&&(w="standard"),"square"===c&&(w="square"),"portrait"===c&&(w="portrait");const v=()=>{if(r&&"portrait"===w)return n.createElement("div",{className:"responsive-image-island product-cover-container portrait-cover"},n.createElement("div",{className:"responsive-image responsive-image--2by3"},n.createElement(l.Z,{className:"cover-image-foreground",src:r,lazy:m,alt:t,folder:p})));let e="16x9";return"square"===w&&y&&(e="1x1"),"portrait"===w&&y&&(e="2x3"),n.createElement("div",{className:o()("responsive-image-island product-cover-container",`${w}-cover`,{"thumbnail-cover":f})},n.createElement("div",{className:o()("responsive-image",{"responsive-image--16by9":"16x9"===e},{"responsive-image--1by1":"1x1"===e},{"responsive-image--2by3":"2x3"===e})},a&&n.createElement(n.Fragment,null,a.startsWith("facet/")?n.createElement("img",{className:"img-force-full",alt:t,src:`${s.apiProtocol}://${s.apiUrl}/image/${a}`}):n.createElement(n.Fragment,null,"standard"===w&&n.createElement(l.Z,{ratio16by9:!0,sizesOverride:g,className:"img-force-full",src:a,alt:t,dpr:u,lazy:m,folder:p}),"standard"!==w&&n.createElement(n.Fragment,null,n.createElement(l.Z,{className:"cover-image-foreground",src:a,alt:t,dpr:u,lazy:m,folder:p}),n.createElement(l.Z,{className:"cover-image-background",src:a,alt:"Blurred background image",lazy:m,folder:p}))))))};return h?n.createElement(i.rU,{to:h},v()):v()}d.defaultProps={alt:"",cover:"",coverType:"",displayType:"",dpr:1,folder:"product",lazy:!1,link:null,portraitCover:"",sizesOverride:(0,c.Z)(3,4,4,6),thumbnail:!1,adaptiveSize:!1}},58811:(e,t,a)=>{"use strict";a.d(t,{Z:()=>c});var n=a(67294),r=a(8342),o=a.n(r),i=a(27361),s=a.n(i),l=a(93685);function c(e){let{item:t}=e,a=Math.abs(s()(t,"out.totalSavingPercent",0));if(a>99&&(a=99),"bundle"===t.type&&t.giveaway&&!t.hideDiscount)return n.createElement("div",{className:"discount-container"},"-100%");
1if(t.pickAndMix&&!t.hideDiscount){const e=(t.out.price-t.out.discountPrice)/t.out.price;return 0!==e&&n.createElement("div",{className:"discount-container"},"-",n.createElement(l.Z,{value:o()(e,2),style:"percent"}))}if(t.out&&t.out.isStarDeal&&!t.hideDiscount){const e=(t.out.price-t.out.discountPrice)/t.out.price;return n.createElement("div",{className:"discount-container"},"-",n.createElement(l.Z,{value:o()(e,2),style:"percent"}))}if(a>0&&!t.hideDiscount)return n.createElement("div",{className:"discount-container"},"-",a,"%");if("bundle"===t.type&&t.current_discount&&t.current_discount.percent&&t.current_discount.percent>0&&!t.hideDiscount){let e=t.current_discount.percent;return 1===e&&(e=.99),n.createElement("div",{className:"discount-container"},"-",n.createElement(l.Z,{value:e,style:"percent"}))}return!(!(t.current_discount&&t.current_discount.percent&&t.current_discount.percent>0)||t.hideDiscount)&&n.createElement("div",{className:"discount-container"},"-",n.createElement(l.Z,{value:t.current_discount.percent,style:"percent"}))}},46145:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});var n=a(67294),r=a(86933),o=a(86706),i=a(27361),s=a.n(i),l=a(56514),c=a(21918),d=a(93685);function u(e){let{item:t,freeProduct:a}=e;const i=(0,o.v9)((e=>s()(e,"voucher.voucher.percent",0)))/100;if(a)return n.createElement("div",{className:"price-container"},n.createElement(r.Z,{id:"checkout.checkout-price.free",defaultMessage:"FREE"}));if(t.pickAndMix&&t.pickAndMix.appliedDiscount>0)return n.createElement("div",{className:"price-container"},n.createElement(d.Z,{value:t.pickAndMix.appliedDiscount*t.quantity,style:"currency"}));if(t.pickAndMix)return n.createElement("div",{className:"price-container"},n.createElement(d.Z,{value:t.pickAndMix.price*t.quantity,style:"currency"}));if(t.out&&t.out.isStarDeal)return n.createElement("div",{className:"price-container"},n.createElement(d.Z,{className:"btn btn-primary",value:t.out.discountPrice/100*t.quantity,style:"currency"}));if(t.out&&Number.isFinite(t.out.couponPrice)&&t.out.couponPrice>=0){const e=s()(t,"out.discountPrice",0),a=e>0&&i>0&&i<=1?(0,c.q)(e,0,i):t.out.couponPrice;return n.createElement("div",{className:"price-container"},n.createElement(d.Z,{value:a/100*t.quantity,style:"currency"}))}return"bundle"!==t.type||t.is_srp_bundle?n.createElement("div",{className:"price-container"},n.createElement(d.Z,{value:t.out.discountPrice/100*t.quantity,style:"currency"})):n.createElement("div",{className:"price-container"},n.createElement(d.Z,{value:t.price[l.Ep]/100*t.quantity,style:"currency"}))}u.defaultProps={freeProduct:!1}},24739:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(67294),r=a(56514),o=a(38904),i=a(93685);function s(e){let{item:t,freeProduct:a}=e;return a?0!==t.price[r.Ep]&&n.createElement("div",{className:"was-price-container"},n.createElement(o.Z,{price:t.price})):t.pickAndMix?n.createElement("div",{className:"was-price-container"},"bundle"===t.type?n.createElement(o.Z,{price:t.fullPrice}):n.createElement(o.Z,{price:t.price})):t.out&&t.out.isStarDeal?n.createElement("div",{className:"was-price-container"},n.createElement(i.Z,{value:t.out.price/100,style:"currency"})):t.out&&t.out.couponPrice>0&&"bundle"===t.type&&t.mystery?n.createElement("div",{className:"was-price-container"},n.createElement(i.Z,{value:t.price[r.Ep]/100*t.quantity,style:"currency",currency:r.Ep})):"bundle"===t.type?!(!t.fullPrice||!t.fullPrice[r.Ep]||t.fullPrice[r.Ep]===t.price[r.Ep])&&n.createElement("div",{className:"was-price-container"},n.createElement(i.Z,{value:t.fullPrice[r.Ep]/100*t.quantity,style:"currency",currency:r.Ep})):t.out&&t.out.couponPrice>0?n.createElement("div",{className:"was-price-container"},n.createElement(i.Z,{value:t.price[r.Ep]/100*t.quantity,style:"currency",currency:r.Ep})):!(!t.current_discount||!t.current_discount.display_percentage)&&n.createElement("div",{className:"was-price-container"},n.createElement(o.Z,{price:t.price}))}s.defaultProps={freeProduct:!1}},38904:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(67294),r=a(45697),o=a.n(r),i=a(86933),s=a(56514),l=a(21918),c=a(93685);function d(e){let{tag:t,price:a,discount:r,type:o,bundlesTiered:d,pence:u,dontConvert:m,quantity:p,bonusDiscount:h,hideDecimals:g}=e;if(!a||!Object.keys(a).length>0)return!1;if(!s.Ep)return!1;const f=a[s.Ep],y="bundle"!==o&&r||0;let w;return u?w=(0,l.q)(f,y,h)/100:(w=f,y>0&&y<=1&&(w*=1-y),h>0&&h<=1&&(w*=1-h)),n.createElement(t,null,d&&n.createElement(i.Z,{id:"price.from",defaultMessage:"From"}),n.createElement(c.Z,{value:w*p,dontConvert:m,style:"currency",hideDecimals:g}))}const u={GBP:o().number,EUR:o().number,USD:o().number,CAD:o().number,AUD:o().number,RUB:o().number,JPY:o().number};d.defaultProps={price:u.GBP,tag:"span",discount:null,quantity:1,dontConvert:!1,type:"game",pence:!0,fullPrice:{},bundlesTiered:!1,bonusDiscount:null,hideDecimals:!1};const m=d},57652:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(67294),r=a(86933),o=a(94184),i=a.n(o),s=a(56514),l=a(76981),c=a(93685);function d(e){let{discountPercent:t,price:a,slug:o,tiered:d,hideDiscount:u,discountPercentOverride:m,type:p,showAsterisk:h,fullPrice:g,topSeller:f,mystery:y,drm:w,payWhatYouWant:v}=e,b=d&&("bundle"===p||"pick-and-mix"===p)||v||"utalk-single-language"===o||y;const E="number"===typeof t?t.toFixed(0):null,S=!d&&"pick-and-mix"===p;!d&&v&&(b=!1);return((0,l.Z)("upsell")||!1)&&(b=!1),n.createElement("div",{className:i()("card-price-container",{"top-seller":f},{tiered:d})},u&&n.createElement("div",{className:"price-wasprice-container"},n.createElement("span",{className:"card-price","aria-label":`Now ${a[s.Ep]} ${s.Ep}`},b&&n.createElement("div",{className:"from-container"},n.createElement(r.Z,{id:"hitcard.splittest.pricefrom",defaultMessage:"From"})),n.createElement(c.Z,{className:"btn btn-primary",value:a[s.Ep],style:"currency"}))),!u&&n.createElement(n.Fragment,null,!y&&"utalk"!==w&&!m&&t>0&&t<100&&!v&&n.createElement("div",{className:"card-saving"},(d||S)&&!v&&n.createElement("div",{className:"tiered-text"},n.createElement(r.Z,{id:"hitcard.splittest.upto",defaultMessage:"Up to"})),n.createElement("div",{"aria-label":`${E} percent off`},`-${E}%`)),m>0&&!v&&n.createElement("div",{className:"card-saving","aria-label":`${m} percent off`},`-${m}%`),n.createElement("div",{className:"price-wasprice-container"},t>0&&!b&&!v&&!S&&n.createElement("div",{className:"was-price","aria-label":`Original price ${g[s.Ep]} ${s.Ep}`},n.createElement(c.Z,{value:g[s.Ep],style:"currency"})),n.createElement("span",{className:"card-price","aria-label":`Now ${a[s.Ep]} ${s.Ep}`},b&&n.createElement("div",{className:"from-container"},n.createElement(r.Z,{id:"hitcard.splittest.pricefrom",defaultMessage:"From"})),n.createElement(c.Z,{className:"btn btn-primary",value:a[s.Ep],style:"currency"}),h&&n.createElement("span",null,"*")))))}d.defaultProps={slug:"",discountPercent:0,tiered:!1,showAsterisk:!1,hideDiscount:!1,price:{GBP:0,EUR:0,USD:0,CAD:0,AUD:0,RUB:0,JPY:0},discountPercentOverride:0,type:"game",fullPrice:{GBP:0,EUR:0,USD:0,CAD:0,AUD:0,RUB:0,JPY:0},topSeller:!1,mystery:!1,drm:"",payWhatYouWant:!1}},93685:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(67294),r=a(62945),o=a(86706),i=a(59854),s=a.n(i),l=a(56514);const c=e=>{var t;let{style:a,className:i,dontConvert:c,currency:d,hideDecimals:u,value:m}=e,p=m;const h=(0,o.v9)((e=>e.nativeRates));if("currency"!==a)return n.createElement(r.BK,{className:i,value:p,style:a});let g=null!==(t=l.Aq.decimals)&&void 0!==t?t:2,f=d||l.Aq.code;var y;"currency"===a&&h.to&&h.from===f&&!c&&(f=h.to,p*=h.rate,g=null!==(y=null===l.fL||void 0===l.fL?void 0:l.fL.decimals)&&void 0!==y?y:2,p=s()(p,g));if("RUB"===f||"JPY"===f){p=Number(p).toFixed(2);"00"===p.split(".")[1]&&(g=0)}return u&&(g=0),n.createElement(r.BK,{minimumFractionDigits:g,className:i,value:p,style:a,currency:f})};c.defaultProps={style:"currency",className:"",dontConvert:!1,currency:null,hideDecimals:!1,value:0};const d=c},4623:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(67294),r=a(86706),o=a(94184),i=a.n(o);function s(e){let{drmType:t,colorOverride:a,siteTheme:r,iconSize:o,className:s}=e,l="light";a&&(l=a),a||"light"!==r||(l="dark");let c=t;return"uplay"===t&&(c="ubisoftconnect"),"roblox"===t&&(c="roblox-2022"),"eaplay"===t&&(c="ea"),"oculus"===t&&(c="metaquest"),"razer"===t&&(c="razer-horizontal"),""!==t&&"drm_free"!==t&&"drm free"!==t&&"redeem"!==t&&"coupon"!==t&&"voucher"!==t&&n.createElement("div",{className:i()("drm-container",`drm-container-${t}`,{large:"large"===o},{small:"small"===o},`${s}`)},n.createElement("img",{src:`https://cdn.fanatical.com/production/icons/drm/${l}/${c}.svg`,alt:`${c} logo`,width:"100%",height:"100%"}))}s.defaultProps={drmType:"",colorOverride:"",siteTheme:"dark",iconSize:"",className:""};const l=(0,r.$j)((e=>{let{siteTheme:t}=e;return{siteTheme:t}}))(s)},517:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(67294);const r=n.createElement("div",{className:"infinite-loader",id:"infinite-loader",key:0},n.createElement("div",{className:"spinner"},n.createElement("div",{className:"rect1"}),n.createElement("div",{className:"rect2"}),n.createElement("div",{className:"rect3"}),n.createElement("div",{className:"rect4"}),n.createElement("div",{className:"rect5"})));function o(e){let{text:t,fullHeight:a}=e;return n.createElement("div",{className:"loading-placeholder "+(a?"fullHeight":""),id:"loading-placeholder"},t||r)}o.defaultProps={text:"",fullHeight:!1}},26976:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(67294),r=a(517);let o,i,s=!1;function l(){const e=document.querySelector(".content.body-placeholder"),t=document.querySelector(".content");return e&&e.innerHTML&&!s&&(i=e.innerHTML,o=window.location.pathname,s=!0),i&&window.location.pathname===o&&(e&&e.innerHTML||t&&(0===t.innerHTML.length||t.innerHTML.includes("skeleton-placeholder")))?n.createElement("div",{className:"skeleton-placeholder",dangerouslySetInnerHTML:{__html:i}}):n.createElement(r.Z,null)}},72463:(e,t,a)=>{"use strict";a.d(t,{Z:()=>c});var n=a(67294),r=a(94184),o=a.n(r),i=a(59854),s=a.n(i);const l=e=>{let{rating:t,lightTheme:a}=e;return n.createElement("div",{className:o()("star-rating-container",{"stars-light-theme":a})},(e=>{const t=[...Array(5).keys()],a=e%1>=.5;return t.map(((t,r)=>n.createElement("div",{className:o()("star",{"highlighted-star":r+1<=e}),key:t,role:"img","aria-label":r+1===s()(e)&&a?"Half star":"Full star"},n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 90 90",preserveAspectRatio:"xMinYMid meet",role:"img"},n.createElement("polygon",{points:"45 0 58.91 29.63 90 34.38 67.5 57.44 72.81 90 45 74.63 17.19 90 22.5 57.44 0 34.38 31.09 29.63 45 0"})),r+1===s()(e)&&a&&n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 45 90",preserveAspectRatio:"xMinYMid meet",className:"star-half-icon",role:"img"},n.createElement("polyline",{points:"45 74.63 17.19 90 22.5 57.44 0 34.38 31.09 29.63 45 0"})))))})(t.toFixed(1)))};l.defaultProps={rating:0,lightTheme:!1};const c=l},30547:(e,t,a)=>{"use strict";a.d(t,{A6:()=>l,IR:()=>i,WT:()=>o,hK:()=>s});var n=a(67294),r=a(99053);const o=(0,n.memo)((e=>{(0,r.jq)(e)})),i=(0,n.memo)((e=>{(0,r.nB)({...e,"data-hoofd":!0})}
1)),s=(0,n.memo)((e=>{(0,r.ZQ)(e.children)})),l=(0,n.memo)((e=>{(0,r.Gq)({...e,text:e.script})}))},74238:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(67294),r=a(94184),o=a.n(r),i=a(70982),s=a(59417),l=a(32742),c=a(15818);var d=a(52244);const u=n.memo((e=>{let{children:t,sliderSettings:a,sliderClass:r,sliderLightTheme:u,sliderCentered:m,preloadSlides:p,fullWidth:h,resetCarousel:g,containsYouTubeVideos:f,afterClickFunction:y}=e;const[w,v]=(0,n.useState)(0),[b,E]=(0,n.useState)(0),[S,_]=(0,n.useState)(p||!1),k=(0,n.useRef)(null),P=(0,n.useRef)([]),N=n.Children.toArray(t).filter(n.isValidElement),{isBelowLg:x,isAboveXs:T,isAboveMd:C}=(0,l.Z)(),{settings:D}=(0,c.Z)(a,N.length),{slidesToShow:Z,slidesToScroll:I,sliderWidth:A,sliderGap:$,showDots:L,showArrows:M,slideVisiblePercent:O}=D,B=function(e,t,a,r,o,i){const{isXs:s,isAboveXs:c,isAboveMd:d,width:u}=(0,l.Z)();return(0,n.useMemo)((()=>{const n=a*(o-1);let l=u*(i||.85);return s&&r<375&&(l=r*(i||.85)),1===o&&c&&(l=r*(i||.9)),1===o&&d&&t&&(l=r),o>1&&!d&&(l=.9*(r-n)/o),o>1&&d&&(l=(r-n)/o),1===e.length&&1===o&&s&&(l=u-32),1!==e.length||1!==o||s||(l=r),1===e.length&&1===o&&s&&r<375&&(l=r),l}),[o,a,r,t,e,d,u,s,c,i])}(N,h,$,A,Z,O),U=N.map((e=>e.key)).join("|");(0,n.useEffect)((()=>{g&&(E(0),v(0))}),[U,g]),(0,n.useEffect)((()=>{if(!k.current||C||!L)return;const e=new IntersectionObserver((e=>{e.forEach((e=>{if(e.isIntersecting&&e.intersectionRatio>.5){const t=P.current.findIndex((t=>t===e.target));-1!==t&&t!==w&&(v(t),y&&y(t))}}))}),{root:k.current,threshold:[.1,.5,.9],rootMargin:"0px"});return P.current.forEach(((t,a)=>{t&&(a<Z||S)&&e.observe(t)})),()=>{e.disconnect()}}),[C,w,L,S,Z,y]);const R=e=>{const t=N.length%Z;_(!0),f&&(0,d.Z)(),"left"===e&&(I>1?w%I!==0?(E(b+(B*t+$*t)),v(w-t),y&&y(w-t)):(E(b+(B*I+$*I)),v(w-I),y&&y(w-I)):(E(b+(B+$)),v(w-1),y&&y(w-1))),"right"===e&&(I>1?w+I>=N.length-t?(E(b-(B*t+$*t)),v(w+t),y&&y(w+t)):(E(b-(B*I+$*I)),v(w+I),y&&y(w+I)):(E(b-(B+$)),v(w+1),y&&y(w+1)))};let F=0;return T&&(F=$/2),n.createElement(n.Fragment,null,n.createElement("section",{className:o()(`SiteSlider ${r}`,{"SiteSlider--single":1===N.length},{"SiteSlider--dots":L},{"SiteSlider--lightTheme":u}),style:{width:T?`${A}px`:"auto"}},n.createElement("div",{className:"SiteSlider__slidesContainer",style:{marginLeft:`-${F}px`,marginRight:`-${F}px`,paddingLeft:`${F}px`,paddingRight:`${F}px`}},n.createElement("div",{className:o()("SiteSlider__slides",{"SiteSlider__slides--centered":m&&N.length<=Z}),ref:k,style:{left:`${b}px`,gap:`${$}px`},onScroll:()=>{x&&!S&&_(!0)}},N.map(((e,t)=>{let a=t<Z||S;x&&(t<=Z||S)&&(a=!0),C&&1===Z&&(t<=Z||S)&&(a=!0);let r=t>=w+Z||t<w;return(x||1===Z)&&(r=t>=w+Z+1||t<w),n.createElement("div",{className:o()("SiteSlider__slide",{"SiteSlider__slide--hidden":r&&!S}),style:{width:B},ref:e=>{P.current[t]=e},key:`slide_${e.key}`,"aria-hidden":r,tabIndex:-1},a&&n.cloneElement(e))})))),M&&n.createElement(n.Fragment,null,n.createElement("div",{className:"SiteSlider__arrow SiteSlider__arrow--left"},n.createElement("button",{"aria-label":"Previous",disabled:0===w,onClick:()=>{R("left")}},n.createElement(i.G,{icon:s.A35,title:"Previous"}))),n.createElement("div",{className:"SiteSlider__arrow SiteSlider__arrow--right"},n.createElement("button",{"aria-label":"Next",disabled:w===N.length-Z,onClick:()=>{R("right")}},n.createElement(i.G,{icon:s._tD,title:"Next"})))),L&&n.createElement("div",{className:"SiteSlider__dots"},N.slice(0,N.length-(Z-1)).map(((e,t)=>{let a=!1;return I>1&&t%I!==0&&t+1!==N.length-(Z-1)&&(a=!0),n.createElement("button",{className:o()("SiteSlider__dots__dot",{"SiteSlider__dots__dot--active":w===t},{"SiteSlider__dots__dot--hidden":a}),"aria-label":`Go to slide ${t+1} of ${N.length-1}`,key:`dot_${e.key}`,tabIndex:0,onClick:()=>{var e;e=t,f&&(0,d.Z)(),C&&E(-(B*e+$*e)),C||(k.current.scrollLeft=B*e+$*e),v(e),_(!0),y&&y(e)}},n.createElement("div",null))})))))}));u.defaultProps={sliderSettings:{},sliderClass:"",sliderLightTheme:!1,sliderCentered:!1,preloadSlides:!1,fullWidth:!1,resetCarousel:!0,containsYouTubeVideos:!1,afterClickFunction:()=>{}};const m=u},22968:(e,t,a)=>{"use strict";a.d(t,{Z:()=>c});var n=a(67294),r=a(86933),o=a(94184),i=a.n(o),s=a(78984);const l=e=>{let{showZero:t,featuredDeal:a,checkoutTimer:o,timerOverride:l,showOneday:c,noLabel:d,value:u,children:m}=e;const{days:p,hours:h,minutes:g,seconds:f}=(0,s.Z)(u),y=()=>{let e=p,a=h,o=g,i=f;if(1===p&&c)return n.createElement("b",null,n.createElement(r.Z,{id:"countdownTimer.oneDealDay",defaultMessage:"{days} Day",values:{days:p}}));if(p>=2&&!l)return n.createElement("b",null,n.createElement(r.Z,{id:"countdownTimer.starDealDays",defaultMessage:"{days} Days",values:{days:p}}));return(new Date).getTime()>u&&t&&(e=0,a=0,o=0,i=0),p<=0&&h<=0&&g<=0&&f<=0&&t&&(e=0,a=0,o=0,i=0),n.createElement("b",{className:"timer-text"},e>0&&n.createElement(n.Fragment,null,e<10?`0${e}`:e,!d&&n.createElement("span",{className:"label"},"d"),n.createElement("span",{className:"colon"},":")),a<10?`0${a}`:a,!d&&n.createElement("span",{className:"label"},"h"),n.createElement("span",{className:"colon"},":"),o<10?`0${o}`:o,!d&&n.createElement("span",{className:"label"},"m"),n.createElement("span",{className:"colon"},":"),i<10?`0${i}`:i,!d&&n.createElement("span",{className:"label"},"s"))};return a?h<=0&&g<=0&&f<=0&&!t?n.createElement("div",{className:"featured-deal-timer"},n.createElement(r.Z,{id:"countdownTimer.starDealEnded",defaultMessage:"Star Deal has ended"})):n.createElement("div",{className:"featured-deal-timer"},n.createElement(r.Z,{id:"countdownTimer.starDealEndsIn",defaultMessage:"Ends in"}),"\xa0",n.createElement("span",{className:i()({"ending-soon":h<2})},y(),"\xa0"),n.createElement(r.Z,{id:"countdownTimer.starDealOrUntilSoldOut",defaultMessage:"or until sold out"})):o?!(h<=0&&g<=0&&f<=0)&&n.createElement(n.Fragment,null,n.createElement(r.Z,{id:"countdownTimer.deal-ends",defaultMessage:"Deal Ends: "}),y()):!(h<=0&&g<=0&&f<=0)&&n.createElement("span",{className:"sd-timer"},m&&n.createElement("span",null,m,"\xa0"),y())};l.defaultProps={children:"",showZero:!1,noLabel:!1,featuredDeal:!1,checkoutTimer:!1,timerOverride:!1,showOneday:!1};const c=l},95202:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(67294),r=a(94184),o=a.n(r),i=a(86933),s=a(78984);function l(e){let{value:t,cardTimer:a,timerTitle:r,daysText:l,alwaysShowTimer:c}=e;const{days:d,hours:u,minutes:m,seconds:p}=(0,s.Z)(t),h=(t-Date.now())/1e3<172800,g=r;return!(!c&&d<=0&&u<=0&&m<=0&&p<=0)&&(!c&&d>=1?n.createElement("div",{className:o()("CountdownTimer",{"CountdownTimer--cardTimer":a},{"CountdownTimer--endingSoon":h})},g&&n.createElement("div",{className:"CountdownTimer__title"},r),!l&&n.createElement("div",{className:"CountdownTimer__clock CountdownTimer__clock--days"},n.createElement(i.Z,{id:"countdown-timer.days-left",defaultMessage:"{days, plural, one {# Day} other {# Days}} Left",values:{days:d}})),l&&n.createElement("div",{className:"CountdownTimer__clock CountdownTimer__clock--days"},n.createElement(i.Z,{id:"countdown-timer.days",defaultMessage:"{days} Days",values:{days:d}}
1))):n.createElement("div",{className:o()("CountdownTimer",{"CountdownTimer--cardTimer":a},{"CountdownTimer--endingSoon":h})},g&&n.createElement("div",{className:"CountdownTimer__title"},r),n.createElement("div",{className:"CountdownTimer__clock"},0!==d&&n.createElement(n.Fragment,null,n.createElement("span",null,d<10&&n.createElement(n.Fragment,null,"0"),d,"D"),n.createElement("span",null,":")),n.createElement("span",null,u<10&&n.createElement(n.Fragment,null,"0"),u,"H"),n.createElement("span",null,":"),n.createElement("span",null,m<10&&n.createElement(n.Fragment,null,"0"),m,"M"),n.createElement("span",null,":"),n.createElement("span",null,p<10&&n.createElement(n.Fragment,null,"0"),p,"S"))))}l.defaultTypes={cardTimer:!1,timerTitle:"",daysText:!1,alwaysShowTimer:!1}},14037:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});var n=a(67294),r=a(86933),o=a(70982),i=a(59417),s=a(86706),l=a(3280),c=a(94210);const d=e=>{let{siteTheme:t,place:a,siteBrand:s}=e;const d="light"===t;return"fanatical"===s&&n.createElement(l.Z,{color:"link",className:"theme-toogle-container",onClick:()=>(0,c.p)(d?"dark":"light",a,"button")},n.createElement("div",{className:"d-flex"},n.createElement("div",{className:"icon-container"},n.createElement(o.G,{icon:i.X8G})),n.createElement("div",{className:"text-container"},!d&&n.createElement(r.Z,{id:"theme-toggle.lighttheme",defaultMessage:"Light Theme"}),d&&n.createElement(r.Z,{id:"theme-toggle.darktheme",defaultMessage:"Dark Theme"}))))};d.defaultProps={siteTheme:"",place:""};const u=(0,s.$j)((e=>{let{siteTheme:t,siteBrand:a}=e;return{siteTheme:t,siteBrand:a}}))(d)},99399:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(67294),r=a(70982);function o(e){let{popoutIcon:t,content:a,tooltipClassName:o,children:i,hideTooltip:s,ariaLabel:l}=e;const[c,d]=(0,n.useState)(!1),u=(e,t)=>{e.preventDefault(),"click"===t&&d(!c),"click"!==t&&d(t)};return n.createElement(n.Fragment,null,n.createElement("div",{"aria-describedby":"tooltip","aria-label":l,role:"button","aria-expanded":c,tabIndex:-1,id:"tooltip-left-icon",onMouseEnter:e=>u(e,!0),onMouseLeave:e=>u(e,!1),onClick:e=>u(e,"click"),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),d(!c))}},n.createElement("div",{"aria-hidden":!0},i)),c&&!s&&n.createElement(n.Fragment,null,n.createElement("div",{role:"tooltip",id:"tooltip",className:o},n.createElement("div",{className:"arrow_box"},n.createElement("div",{className:"tooltip-content"},t&&n.createElement("div",{className:"pl-2"},n.createElement(r.G,{icon:t})),n.createElement("div",{className:"pl-2 pr-2"},a))))))}o.defaultProps={popoutIcon:"",content:n.createElement(n.Fragment,null),children:[n.createElement(n.Fragment,null)],tooltipClassName:"",hideTooltip:!1,ariaLabel:""}},61470:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(62945);const r=[{key:"deck",route:"/steam-deck-games",pdpDisplay:!0,categoryListing:!0,analyticsTag:"frontend.fetchSteamDeckGames",...(0,n.vU)({labelMsg:{id:"steam_compat.steam_deck_support",defaultMessage:"Steam Deck Support"}}),seo:(0,n.vU)({title:{id:"steam-deck.seotitle",defaultMessage:"Steam Deck Games"},fullTitle:{id:"steam-deck.socialtitle",defaultMessage:"Steam Deck Games | Exclusive PC Steam Discounts"},desc:{id:"steam-deck.seodesc",defaultMessage:"Give your Steam Deck a boost with our top deals on Games for Steam Deck and PC. Featuring everything from top AAA titles to hidden Indie gems, check back regularly for our latest offers."}})},{key:"machine",route:"/steam-machine-games",pdpDisplay:!0,categoryListing:!0,analyticsTag:"frontend.fetchSteamMachineGames",...(0,n.vU)({labelMsg:{id:"steam_compat.steam_machine_support",defaultMessage:"Steam Machine Support"}}),seo:(0,n.vU)({title:{id:"steam-machine.seotitle",defaultMessage:"Steam Machine Games"},fullTitle:{id:"steam-machine.socialtitle",defaultMessage:"Best Steam Machine Games & Deals | Verified Steam Keys"},seoBlurb:{id:"steam-machine.seodesc",defaultMessage:"Discover top Steam Machine compatible games and exclusive bundle deals. Get 100% official Steam keys verified for your Valve living room console at deep discounts!"},desc:{id:"steam-machine.desc",defaultMessage:"Bring the ultimate power of PC gaming directly to your living room with the absolute best Steam Machine games and exclusive bundle deals. Find games optimized and verified to run seamlessly on Valve\u2019s custom architecture and SteamOS, delivering a true plug-and-play console experience right out of the box"}})},{key:"steamos",route:"/steamos-games",pdpDisplay:!0,categoryListing:!1,analyticsTag:"frontend.fetchSteamOSGames",...(0,n.vU)({labelMsg:{id:"steam_compat.steamos_support",defaultMessage:"SteamOS Support"}}),seo:(0,n.vU)({title:{id:"steamos.seotitle",defaultMessage:"SteamOS Games"},fullTitle:{id:"steamos.socialtitle",defaultMessage:"SteamOS Games | Exclusive PC 
1Steam Discounts"},desc:{id:"steamos.seodesc",defaultMessage:"Explore top deals on Games verified and playable on SteamOS. Featuring everything from top AAA titles to hidden Indie gems, check back regularly for our latest offers."}})},{key:"frame",route:"/steam-frame-games",pdpDisplay:!1,categoryListing:!1,analyticsTag:"frontend.fetchSteamFrameGames",...(0,n.vU)({labelMsg:{id:"steam_compat.steam_frame_support",defaultMessage:"Steam Frame Support"}}),seo:(0,n.vU)({title:{id:"steam-frame.seotitle",defaultMessage:"Steam Frame Games"},fullTitle:{id:"steam-frame.socialtitle",defaultMessage:"Steam Frame Games | Exclusive PC Steam Discounts"},desc:{id:"steam-frame.seodesc",defaultMessage:"Browse top deals on Games verified and playable on Steam Frame. Featuring everything from top AAA titles to hidden Indie gems, check back regularly for our latest offers."}})}]},3330:(e,t,a)=>{"use strict";a.d(t,{X:()=>r,Z:()=>o});const n=["VIPOMEN","OMENVIP","OMENJULY","OMENSEPT"];function r(e){return String(e||"").trim().toUpperCase()}function o(e){return!!e&&n.includes(r(e))}},40167:e=>{e.exports="auto=compress,format"},29665:(e,t,a)=>{const n=a(84240),r=n.enabledLanguages,o=e=>!r.length||!!r.includes(e),i=[{code:"en",label:"English",nativeLabel:"English",default:!0},{code:"de",label:"German",filename:"de-DE",nativeLabel:"Deutsch"},{code:"es",label:"Spanish",filename:"es-ES",nativeLabel:"Espa\xf1ol"},{code:"fr",label:"French",filename:"fr-FR",nativeLabel:"Fran\xe7ais"},{code:"it",label:"Italian",filename:"it-IT",nativeLabel:"Italiano"},{code:"ja",label:"Japanese",filename:"ja-JP",nativeLabel:"\u65e5\u672c\u8a9e",font:"https://fonts.googleapis.com/css?family=Noto+Sans+JP:300,400,700&subset=japanese&display=swap"},{code:"ko",label:"Korean",filename:"ko-KR",nativeLabel:"\ud55c\uad6d\uc5b4",font:"https://fonts.googleapis.com/css?family=Noto+Sans+KR:300,400,700&subset=korean&display=swap"},{code:"nl",label:"Dutch",filename:"nl-NL",nativeLabel:"Nederlands"},{code:"pl",label:"Polish",filename:"pl-PL",nativeLabel:"Polski",font:"https://fonts.googleapis.com/css?family=Open+Sans:300,400,700&amp;subset=latin-ext&display=swap"},{code:"pt",label:"Portuguese",filename:"pt-PT",nativeLabel:"Portugu\xeas"},{code:"ru",label:"Russian",filename:"ru-RU",nativeLabel:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439",font:"https://fonts.googleapis.com/css?family=Open+Sans:300,400,700&amp;subset=cyrillic-ext,latin-ext&display=swap"},{code:"zh-hans",label:"Chinese (Simplified)",filename:"zh-CN",alternative:"zh-cn",nativeLabel:"\u7b80\u4f53\u4e2d\u6587",font:"https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;700&display=swap"},{code:"zh-hant",label:"Chinese (Traditional)",filename:"zh-TW",alternative:"zh-tw",nativeLabel:"\u7e41\u9ad4\u4e2d\u6587",font:"https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;700&display=swap"}],s=()=>i.filter((e=>o(e.code))),l=e=>s().find((t=>t.code===e||t.alternative&&t.alternative===e));e.exports={getAll:s,getAllSeo:()=>i.filter((e=>{return t=e.code,o(t);var t})),getAsObject:()=>{const e={};return s().forEach((t=>{e[t.code]=Object.assign({},t),delete e[t.code].code})),e},getByCode:l,publicFormat:e=>({code:e.code,label:e.label,nativeLabel:e.nativeLabel}),getDefault:()=>i.filter((e=>e.default))[0],findBrowserLang:()=>{const e=navigator.languages||[navigator.language]||0,t=s();let a=null;const n=[(e,t)=>e&&e===t.code,(e,t)=>e&&e.substr(0,2)===t.code];return null!==e&&void 0!==e&&e.some&&e.some((e=>t.some((t=>n.some((n=>!(a||!n(e,t))&&(a=t.code,!0))))))),a},supportUrl:()=>{return`${n.supportUrl}/${e=window.locale||n.defaultLanguage,l(e)&&l(e).alternative||e}`;var e},getStripeLocale:e=>{switch(e){case"zh-hans":return"zh";case"zh-hant":return"zh-TW";default:return l(e)?e:"auto"}}}},5594:(e,t,a)=>{"use strict";a.d(t,{d:()=>n,t:()=>r});const n=["dark","light"],r=n[0]},1553:e=>{e.exports=["585ByobRecommendationsOrder","558CategoryPageBundles","594HomepageFeaturedDealsSaleBackgroundV3","595RemoveProductSteamReviewPercentage"]},86259:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n=a(67294).createContext({})},98858:(e,t,a)=>{"use strict";a.d(t,{P9:()=>s});const n=/^\/competition\/(?!preview(?:\/|$))[^/]+\/?$/,r=/^\/competition\/preview\/[^/]+\/?$/,o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return n.test(e)},i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return r.test(e)},s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return o(e)||i(e)}},80010:(e,t,a)=>{"use strict";a.d(t,{GQ:()=>r,QN:()=>o,QY:()=>i});const n="competition_entries";function r(){try{const e=localStorage.getItem(n);return e?JSON.parse(e):[]}catch{return[]}}function o(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{const a=r();if(a.some((t=>t.competitionId===e)))return;const o=[...a,{competitionId:e,entryDate:(new Date).toISOString(),accountRequired:t}];localStorage.setItem(n,JSON.stringify(o))}catch{}}function i(){try{const e=r().filter((e=>!e.accountRequired));localStorage.setItem(n,JSON.stringify(e))}catch{}}},65364:(e,t,a)=>{"use strict";a.d(t,{Z:()=>f});var n=a(76981),r=a(85155),o=a(32742),i=a(53150);const s="landing_page",l={},c={Awin:1,Affiliate:2,Paid:3,CRM:4,Assistant:5,FandomMedia:6,Fandom:7,Partner:8,Other:9},d=["cj","admitad","allkeyshop","rakuten","airtime"],u=["aff_id","click_id","aff_track","aff_sub","cjevent","dc_pid","adm_pid","tap_click_id"],m=["cpc","ppc","paid","paid-search","paid-social","social_paid","shopping","paid-media"],p=["gclid","msclkid","gbraid","wbraid","fbclid","rdt_cid"],h=["newsletter","transactional","wishlist_email","triggered","fanatical transactional email","fanatical newsletter","email_trigger","email_automation","fanatical cart","fanatical welcome","standard"],g=["metacritic","gamespot","gamefaqs","tvguide","giantbomb"];
1l.saveAttribution=()=>{var e;const t=(()=>{const e=((0,n.Z)("utm_source")||"").toLowerCase(),t=((0,n.Z)("utm_medium")||"").toLowerCase();return"awin"===e||(0,n.Z)("awc")?"Awin":"affiliate"===t||d.includes(e)||u.some((e=>!!(0,n.Z)(e)))?"Affiliate":m.includes(t)||p.some((e=>!!(0,n.Z)(e)))?"Paid":"email"===t||"push"===t||h.includes(e)?"CRM":"extension"===t?"Assistant":g.includes(e)?"FandomMedia":"fandom"===e?"Fandom":"partner"===e||"partner"===t?"Partner":"Other"})();if(null===t)return;const a=null!==(e=c[t])&&void 0!==e?e:c.Other,l=JSON.parse(localStorage.getItem(s));if(l){if(!(l.expires<=Date.now())){var f;if(a>(null!==(f=c[l.channel])&&void 0!==f?f:c.Other))return}}const y=Date.now(),w=(0,r.GY)(),v={url:window.location.href,date:y,channel:t,expires:y+2592e6,utmSource:(0,n.Z)("utm_source"),utmMedium:(0,n.Z)("utm_medium"),nonUsMarketingConsent:w,otherFields:{awc:(0,n.Z)("awc"),clickId:(0,n.Z)("click_id"),campaignId:(0,n.Z)("utm_campaign"),siteLanguage:window.locale,siteTheme:i.default.getState().siteTheme,browserLanguage:navigator.language,referrer:document.referrer,viewportBreakpoint:(0,o.b)(window.innerWidth),userAgent:navigator.userAgent}};w&&(v.otherFields.rdtCid=(0,n.Z)("rdt_cid"),v.otherFields.rdtUuid=(0,r.ej)("_rdt_uuid")),localStorage.setItem(s,JSON.stringify(v))},l.getAttribution=()=>{const e=JSON.parse(localStorage.getItem(s));if(!e||e.expires<=Date.now())return null;const t=(0,r.GY)();return e.nonUsMarketingConsent=t,t?(e.otherFields.rdtCid=(0,n.Z)("rdt_cid"),e.otherFields.rdtUuid=(0,r.ej)("_rdt_uuid")):(delete e.otherFields.rdtCid,delete e.otherFields.rdtUuid),e};const f=l},43183:(e,t,a)=>{"use strict";a.d(t,{d:()=>n});const n=()=>{const e=new URLSearchParams(window.location.search).getAll("utm_medium")||[];let t="New Account";return e&&e.includes("email_novsuperlatives")&&(t="fandomuser"),t}},83489:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});const n={home_usp:"nlmodule_tophomepage",home:"nlmodule_midhomepage",black_friday:"nlmodule_blackfriday",community:"community",bundle:"nlmodule_midbundle",category:"nlmodule_midcategory",search:"nlmodule_midsearch"},r=e=>{var t;return null!==(t=n[e])&&void 0!==t?t:"nlmodule_tophomepage"}},52425:(e,t,a)=>{"use strict";a.d(t,{Z:()=>E});var n=a(27361),r=a.n(n),o=a(41609),i=a.n(o),s=a(7739),l=a.n(s),c=a(32259),d=a(66545),u=a(82644),m=a(65364),p=a(74167),h=a(38420),g=a(53150),f=a(50086),y=a(81930),w=a(56514),v=a(31173);const b={creatingOrder:!1,authChecking:!1,authComplete:function(){!this.creatingOrder&&this.authChecking&&(this.authChecking=!1,this.createPayment())},billingComplete:function(){this.waitingForBilling&&(this.waitingForBilling=!1,this.createPayment())},getGiveawayProducts:function(){const e=c.Z.getState("cart"),t=[];return e.items.forEach((e=>{e.giveaway&&("bundle"===e.type&&0===e.tierIndex&&t.push(e),"bundle"!==e.type&&t.push(e))})),t},getGiveawayProductIds:function(){return b.getGiveawayProducts().map((e=>e._id))},checkIfLoggedIn:async function(e){const t=c.Z.getState("auth");return t&&!t.authenticated?(g.default.dispatch((0,p.$z)(e)),this.authChecking=!0,!1):(await g.default.dispatch((0,f.CP)()),!0)},checkForEpicAccount:async function(e){const t=c.Z.getState("auth");return!e.find((e=>"epicGenba"===e.source))||(!!(t&&t.epic&&t.epic.id)||(g.default.dispatch((0,p.F9)()),!1))},checkForCampaigns:function(){const e=this.getGiveawayProducts().filter((e=>e.slug===v.Nq)),t=c.Z.getState("giveawayActions")||[];if(0===(null===e||void 0===e?void 0:e.length))return!0;const a=e.filter((e=>!t.find((t=>t.slug===e.slug&&t.visitedCampaign))));if(a.length>0){const e=a[0];return g.default.dispatch((0,p.bz)({type:"VisitCampaign",name:e.name,slug:e.slug})),!1}return!0},checkForSteam:function(){const e=this.getGiveawayProducts().filter((e=>e.giveaway_steam)),t=this.getGiveawayProducts().filter((e=>e.giveaway_wishlist_on_steam)),a=this.getGiveawayProducts().filter((e=>e.giveaway_steam_sync||e.giveaway_wishlist_on_steam));if(0===e.length)return!0;const n=c.Z.getState("auth"),o=c.Z.getState("giveawayActions")||[];if(!r()(n,"steam.steam_id")||r()(n,"steam.isLimitedAccount"))return g.default.dispatch((0,p.VX)()),!1;const i=t.filter((e=>!o.find((t=>t.slug===e.slug&&t.wishedOnSteam))));if(i.length>0){const e=i[0];return g.default.dispatch((0,p.bz)({type:"WishlistOnSteam",name:e.giveaway_wishlist_on_steam_name||e.name,url:e.giveaway_wishlist_on_steam_url,slug:e.slug})),!1}const s=a.filter((e=>!o.find((t=>t.slug===e.slug&&t.syncedSteamWishlist))));if(s.length>0){const e=s[0];return g.default.dispatch((0,p.bz)({type:"SteamSync",slug:e.slug})),!1}return!0},checkForNewsletter:function(){let e=c.Z.getState("auth");if(this.getGiveawayProducts().filter((e=>e.giveaway_newsletter)).length>0)return!(!e||!e.email_newsletter&&!e.localNewsletterConsent)||(g.default.dispatch((0,p.cG)()),!1);const t=c.Z.getState("voucher");return!(r()(t,"voucher.newsletter")&&!e.email_newsletter&&!e.localNewsletterConsent)||(g.default.dispatch((0,p._g)()),e=c.Z.getState("auth"),!(!e.email_newsletter&&!e.localNewsletterConsent))}
1,cancelAndRemoveVoucher:async function(){await g.default.dispatch((0,h.rZ)()),g.default.dispatch((0,p._g)())},goToPaymentPage:()=>{g.history.push("/payment")},doGiveawayPayment:(e,t,a)=>{a.length>0&&t.items.length===a.length&&g.default.dispatch((0,u.Os)(e))},createPayment:async function(){this.creatingOrder=!0;const e=c.Z.getState(),t=(0,y.Z)(e);if(!await this.checkIfLoggedIn("checkout"))return!1;if(!await this.checkForEpicAccount(t.items))return!1;this.creatingOrder=!1;if(!this.checkForNewsletter())return!1;if(!this.checkForSteam())return!1;return!!this.checkForCampaigns()&&(b.continueToPayment(),!0)},continueToPayment:async function(){const e=localStorage.getItem("lastSeenCoBranding"),t=(new Date).getTime(),a=c.Z.getState(),n=(0,y.Z)(a),o=a.voucher,s=r()(o,"voucher",{});let l=r()(s,"code","");const p=r()(o,"voucherText","");"Account"!==s.discount_type&&"Unique"!==s.discount_type||(l=p);const{locale:h}=window,f={snowplowId:d.Z.getSnowplowDomainUserId(),snowplowSessionId:d.Z.getSnowplowSessionId(),ref_code:d.Z.getReferalCode(),locale:h,giftOrder:c.Z.getGiftOrderData(),cartcalcTotal:n.total,localNewsletterConsent:a.auth.localNewsletterConsent},w=localStorage.getItem("siteBrand");w&&e&&t-Number(e)<2592e6&&(f.siteBrand=w),0===n.total&&"money"!==s.type_of_discount||(f.code=l),f.attribution=m.Z.getAttribution();const v=this.getGiveawayProductIds(),b=await g.default.dispatch((0,u.LV)(f));if(b.type&&"billing"===b.type)return this.waitingForBilling=!0,g.default.dispatch({type:"frontend/checkout/BILLING_DETAILS_REQUESTED",payload:b.data.requiredFields}),g.history.push("/billing"),!0;if(i()(b.order)||!r()(b,"order._id",!1))return!1;if(b.order.items.every((e=>e.giveaway||r()(e,"report.free_product_id")))&&b.order.payment&&0===b.order.payment.total)return this.doGiveawayPayment(b.order._id,n,v);const E=r()(b,"paymentData",{});if(E.billingFields&&g.default.dispatch({type:"frontend/checkout/BILLING_DETAILS_REQUESTED",payload:E.billingFields}),b.isAmountVoucher)return this.goToPaymentPage();const S=r()(b,"order.payment.total",null);let _=100*n.total;if(_=Math.round(_),_!==S){const e={hitType:"unequalOrder",orderId:r()(b,"order._id",null),basketId:r()(b,"order.aid",null),userId:r()(b,"order.uid",null),cartTotal:n.total,orderTotal:r()(b,"order.payment.total",null)};g.default.dispatch({type:"frontend/payment/ORDER_TOTAL_UNEQUAL_VERSUS_CARTCALC",payload:e})}if(E.stripeRedirectUrl)return window.location.assign(E.stripeRedirectUrl);if(!E.stripeClientSecret)throw new Error("Missing stripeClientSecret");return this.goToPaymentPage()},openWindowWithPostData:(e,t)=>{const a=document.createElement("form");a.target="_self",a.method="POST",a.action=e,a.style.display="none",a.enctype="application/x-www-form-urlencoded";Object.keys(t).forEach((e=>{const n=document.createElement("input");n.type="hidden",n.name=e,n.value=t[e],a.appendChild(n)})),document.body.appendChild(a),a.submit(),document.body.removeChild(a)},openWindow:e=>{window.open(e,"_self")},getAwinProductCategory:e=>{if(0===r()(e,"report.revenue",-1))return"Free Promotional Item";if(e.pickAndMix)return"Bundle/Pick & Mix/Pack";const t=r()(e,"type"),a=e.display_type||e.type;if(["software-bundle","software","audio-bundle","audio"].includes(a))return"Software";if(["comic-bundle","comic"].includes(a))return"Comic";if(["book","elearning-bundle"].includes(t)||["book","elearning","elearning-bundle"].includes(a))return"eBook/eLearning";const n=e.promotion;if("Capcom"===n)return"Store";if(n&&""!==n)return"Bundle/Pick & Mix/Pack";if("bundle"===t&&e.mystery_upsell)return"Cart Upsell";if("bundle"===t&&e.mysteryV2)return"Mystery Bundle";if("bundle"===t&&e.is_srp_bundle)return"Store";if("bundle"===t){const t=r()(e,"name","");if(t.includes("bundle")||t.includes("pack")||t.includes("collection"))return"Bundle/Pick & Mix/Pack"}else if(r()(e,"preorder",!1))return"Preorder/New Release";return e.epayId?"Giftcard":"Store"},toQuantityItems:e=>{const t=[],a=l()(e,"_id");return e.forEach((e=>{const n=Object.assign({},e);n.quantity=a[e._id].length,t.push(n)})),t},getCompleteOrderTransaction:e=>{const t={transactionTax:0,transactionProducts:[]};
1return(e||[]).forEach((e=>{const a={sku:"",name:"",category:"",price:0,quantity:0,local_price:0,supplier_ids:[]};e._id&&(a.sku=e._id),e.name&&(a.name=e.name),e.supplier_id&&a.supplier_ids.push(e.supplier_id),e.bundles.length&&e.bundles.forEach((e=>{e.games.forEach((e=>{a.supplier_ids.push(e.supplier_id)}))})),e.type&&(a.category=e.type),e.display_type&&(a.display_type=e.display_type);let n=0;e.report&&(e.report.total&&(n=e.report.total),e.report.vat&&(t.transactionTax+=e.report.vat));let o=0;e.payment&&e.payment.total&&(o=e.payment.total),a.price=n,a.itemTax=e.report.vat,a.quantity=1,a.local_price=o,a.discountPercent=r()(e,"discount.percent"),a.fullPrice=r()(e,"report.pickAndMixOriginalPrice"),t.transactionProducts.push(a)})),t},evaluateCartItems:e=>{let t=!0;return e.forEach((e=>{const a=e.regions_included||[],n=e.regions_excluded||[];Array.isArray(n)&&n.includes(w.NI)&&(t=!1,e.isRegionExcluded=!0),Array.isArray(a)&&a.length>0&&!a.includes(w.NI)&&(t=!1,e.isRegionExcluded=!0)})),{showRegionAvailablility:t}}},E=b},85155:(e,t,a)=>{"use strict";a.d(t,{Cg:()=>s,GY:()=>c,Hd:()=>i,ej:()=>d,ys:()=>l});var n=a(36808),r=a.n(n),o=a(56514);const i=e=>{let t;const a=r().get(e);return"string"===typeof a&&(t=(e=>{let t;try{t=JSON.parse(e)}catch(a){t=null}return t})(a)),t},s=e=>r().remove(e),l=(e,t,a,n)=>{if("string"!==typeof e)return!1;if(!t)return!1;if("object"!==typeof a)return!1;let o=!1,i=t;if(n)try{i=JSON.stringify(t)}catch(s){o=!1}return o=!0,r().set(e,i,a),o};function c(){var e,t;return"US"!==o.NI&&(null===(e=window)||void 0===e||null===(t=e.Cookiebot)||void 0===t?void 0:t.marketing)}function d(e){const t=e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&"),a=document.cookie.match(new RegExp(`(?:^|; )${t}=([^;]*)`));return a?decodeURIComponent(a[1]):null}},12197:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});const n=a(84240),r=async(e,t)=>new Promise(((a,r)=>{const o=n=>{"fan_installed"!==n.data.msg||!n.data.isV3&&e||n.data.isV3&&t||(window.removeEventListener("message",o),a())};if(n.isDevelopment){if(window.location.search.includes("assistant_installed=1"))return a();if(window.location.search.includes("assistant_installed=0"))return r()}return!e&&window.chrome&&window.chrome.app&&window.chrome.app.isInstalled?a():(setTimeout((()=>{window.removeEventListener("message",o),r()}),500),window.addEventListener("message",o,!1),window.postMessage({msg:"fan_assist_install_check"},"*"),null)}))},43806:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n=(e,t)=>{if(!e)return"";if(!t)return e;let a=e;return"dlc"!==t||a.includes("DLC")||a.includes("dlc")||a.includes("Dlc")||(a=e.concat(" - DLC")),a}},66545:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});const n={getSaleData:()=>{let e=!1;Date.now()>Date.parse("2024-09-09T15:00:00.000Z")&&Date.now()<Date.parse("2024-09-23T15:00:00.000Z")&&(e=!0);let t=!1;return Date.now()>Date.parse("2024-05-15T15:00:00.000Z")&&Date.now()<Date.parse("2024-05-18T15:00:00.000Z")&&(t=!0),{isSaleLive:e,isFlashSale:!1,isEncorelive:t,saleName:"BundleFest"}}};n.getSnowplowDomainUserId=()=>{let e="";return window.snowplow?(window.snowplow((function(){const t=this.cf;t&&(e=t.getDomainUserId())})),e):e},n.getSnowplowSessionId=()=>{let e="";return window.snowplow?(window.snowplow((function(){const t=this.cf;if(t){const a=t.getDomainUserInfo();a[6]&&(e=a[6])}})),e):e},n.setReferalCode=e=>{e&&localStorage.setItem("refer-a-friend",e)},n.getReferalCode=()=>localStorage.getItem("refer-a-friend")||null,n.getShopperLocale=e=>{switch(e){case"de":return"de_DE";case"es":return"es_ES";case"fr":return"fr_FR";case"hu":return"hu_HU";case"it":return"it_IT";case"ja":return"ja_JP";case"ko":return"ko_KR";case"nl":return"nl_NL";case"pl":return"pl_PL";case"pt":return"pt_BR";case"sv":return"sv_SE";case"tr":return"tr_TR";case"ru":return"ru_RU";case"zh-hant":return"zh_TW";case"zh-hans":return"zh_CN";default:return"en_US"}},n.newUser=()=>!(localStorage.getItem("hasLoggedIn")||!1);const r=n},56514:(e,t,a)=>{"use strict";a.d(t,{$e:()=>s,A0:()=>y,Aq:()=>d,Ep:()=>u,Jo:()=>l,K7:()=>m,Ky:()=>f,NI:()=>o,RJ:()=>c,Yi:()=>i,ZP:()=>v,e6:()=>h,fL:()=>g,jl:()=>p});const n=["US","GB"];const r=function(e){var t,a;const r={...e};return r.xboxAvailable=n.includes(e.code),r.currencyCode=e.currency.code,r.currencyName=e.currency.name,r.nativeCurrencyCode=null===(t=e.nativeCurrency)||void 0===t?void 0:t.code,r.n
1ativeCurrencyName=null===(a=e.nativeCurrency)||void 0===a?void 0:a.name,r}(window.countryData||{code:"GB",name:"United Kingdom",currency:{code:"GBP",name:"Pound Sterling",decimals:2,isSupported:!0,symbol:"\xa3"},ageRatingBoard:"PEGI",taxRate:20,taxRates:{book:0,comic:0,"gift-card":0},isGdprCompliant:!0,isBanned:!1,isBlocked:!1}),{code:o,name:i,isGdprCompliant:s,xboxAvailable:l,ageRatingBoard:c,currency:d,currencyCode:u,currencyName:m,nativeCurrencyCode:p,nativeCurrencyName:h,nativeCurrency:g,taxRate:f,isBanned:y,isBlocked:w}=r,v=r},49824:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(27361),r=a.n(n),o=a(53150);const i=e=>{const t=o.default.getState(),{trustpilot:a,siteTheme:n}=t;let i="https://cdn.fanatical.com/production/brand/trustpilot/svg/trustpilot-white-5.svg",s="Trustpilot 5 stars";return 4.5===r()(a,"score.stars",0)&&(i="https://cdn.fanatical.com/production/brand/trustpilot/svg/trustpilot-white-4half.svg",s="Trustpilot 4.5 stars"),"light"!==n&&"black"!==e||(i="https://cdn.fanatical.com/production/brand/trustpilot/svg/trustpilot-black-5.svg",4.5===r()(a,"score.stars",0)&&(i="https://cdn.fanatical.com/production/brand/trustpilot/svg/trustpilot-black-4half.svg")),{image:i,alt:s}}},66379:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(88306);const r=a.n(n)()((function(e,t,a,n){return[{name:"xs",minWidth:0,padding:8},{name:"sm",minWidth:576,padding:8,containerMax:540},{name:"md",minWidth:768,padding:8,containerMax:720},{name:"lg",minWidth:992,padding:12,containerMax:960},{name:"xl",minWidth:1200,padding:12,containerMax:1140},{name:"xxl",minWidth:1520,padding:16,containerMax:1340}].reverse().map((r=>{if(!r.containerMax)return n/12*100+"vw";let o=e;return"xs"===r.name?o=n:"sm"===r.name?o=a:"md"===r.name&&(o=t),`(min-width: ${r.minWidth}px) ${Math.ceil(o/12*(r.containerMax+2*r.padding-16)-2*r.padding)}px`})).join(", ")}))},16391:(e,t,a)=>{"use strict";a.d(t,{CO:()=>l,Dc:()=>s,Hi:()=>u,b:()=>d,dg:()=>i,qF:()=>c});var n=a(84240),r=a(40167),o=a.n(r);const i=[1920,1280,960,720,600,480,360,240,150],s=e=>/\.svg(\?|$)/.test(e),l=e=>{let{src:t,folder:a,subfolder:r}=e;if(/^https?:/.test(t))return t.split("?")[0];const o=s(t)&&n.srcCdnUrl||n.cdnUrl,i=((e,t)=>"product"!==e||t?t:"original")(a,r);return[o,a,i,t].filter(Boolean).join("/")},c=function(e){let{width:t,height:a,fit:n="max",dpr:r,quality:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=`${e}?${o()}`;return r&&r>1&&(s+=`&dpr=${r}`),t&&(s+=`&w=${t}`),s+=`&fit=${n}`,a&&(s+=`&h=${a}`),i&&(s+=`&q=${i}`),s},d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return[...new Set([...i,e])].filter((e=>e>0)).sort(((e,t)=>t-e))},u=(e,t)=>e.find((e=>e<=t))||e[e.length-1]},94308:(e,t,a)=>{"use strict";a.d(t,{FL:()=>S,N3:()=>E,Qy:()=>v,dt:()=>y,kL:()=>b,qV:()=>_});var n=a(36808),r=a.n(n),o=a(1553),i=a.n(o),s=a(9290),l=a(28378),c=a(31163);const d={},u="PUSHTELL-",m={variants:[{name:"control",weight:50},{name:"challenger",weight:50}],prerenderChallenger:!1,api:!1},p=e=>"string"===typeof e?Object.assign({},m,{name:e}):Object.assign({},m,e),h=e=>{if(!e.name)throw new Error("Split test must have a name");if(!Array.isArray(e.variants)||e.variants.length<2)throw new Error(`Split test ${e.name} - must have at least 2 variants`);if(100!==e.variants.map((e=>e.weight)).reduce(((e,t)=>e+t),0))throw new Error(`Split test ${e.name} - variant weights must have a sum of 100`)};function g(e){delete d[e],localStorage.removeItem(`${u}${e}`)}function f(e){return"string"===typeof d[e]?d[e]:localStorage.getItem(`${u}${e}`)||null}function y(e,t){d[e]=t,localStorage.setItem(`${u}${e}`,t)}function w(e){const t=f(e);d[e]=t,(0,l.Z)((a=>a.setCustomAttribute(`split-${e}`,t)))}function v(e){const t=function(e){const t=i().map(p).find((t=>t.name===e));if(t)return t;throw new Error(`Split Test ${e} not found`)}(e);if(!t)throw new Error(`Split Test ${e} not found`);const a=t.variants.map((e=>e.name)),n=t.variants.map((e=>e.weight/100));let o=f(e);if(!o||!a.includes(o)){const i=n.map((l=0,e=>l+=e));if(r().get("IsCalibre")||window.isNRSynthetic)o=a[a.length-1];else if((0,s.Z)())o=t.prerenderChallenger?a[a.length-1]:a[0];else{const t=Math.random();o=a[i.filter((e=>t>=e)).length],(0,c.J)(e,o)}y(e,o)}var l;return o}function b(e){return"challenger"===v(e)}
1function E(e){return"control"===v(e)}function S(){const e=i().map(p);e.forEach(h);const t=e.map((e=>e.name)),a=Object.keys(localStorage).filter((e=>e.startsWith(u))).map((e=>e.replace(u,""))),n=a.filter((e=>!t.includes(e))),r=a.filter((e=>t.includes(e)));n.forEach(g),r.forEach(w)}function _(){return d}},63711:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(53150),r=a(56514);const o={removeLightboxVars:()=>{localStorage.removeItem("LIGHTBOX-email"),localStorage.removeItem("LIGHTBOX-email_confirmed"),localStorage.removeItem("LIGHTBOX-email_newsletter"),localStorage.removeItem("LIGHTBOX-language"),localStorage.removeItem("LIGHTBOX-country")},setLightboxVars:()=>{const e=n.default.getState(),t=e.auth||{},a=t.email||"";if(""===a)return void o.removeLightboxVars();const i=t.email_confirmed||!1,s=t.email_newsletter||!1,l=(e.language||{}).from||"en",c=r.NI||"GB";localStorage.setItem("LIGHTBOX-email",a),localStorage.setItem("LIGHTBOX-email_confirmed",i),localStorage.setItem("LIGHTBOX-email_newsletter",s),localStorage.setItem("LIGHTBOX-language",l),localStorage.setItem("LIGHTBOX-country",c)},getLightboxVars:()=>({email:localStorage.getItem("LIGHTBOX-email"),emailConfirmed:localStorage.getItem("LIGHTBOX-email_confirmed"),emailNewsletter:localStorage.getItem("LIGHTBOX-email_newsletter"),language:localStorage.getItem("LIGHTBOX-language"),country:localStorage.getItem("LIGHTBOX-country")})},i=o},22298:function(){window.localStorage||(window.localStorage={getItem:e=>e&&Object.prototype.hasOwnProperty.call(this,e)?unescape(document.cookie.replace(new RegExp("(?:^|.*;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*"),"$1")):null,key:e=>unescape(document.cookie.replace(/\s*\=(?:.(?!;))*$/,"").split(/\s*\=(?:[^;](?!;))*[^;]?;\s*/)[e]),setItem:(e,t)=>{e&&(document.cookie=escape(e)+"="+escape(t)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/",this.length=document.cookie.match(/\=/g).length)},length:0,removeItem:e=>{e&&Object.prototype.hasOwnProperty.call(this,e)&&(document.cookie=escape(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/",this.length--)},hasOwnProperty:e=>new RegExp("(?:^|;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(document.cookie)},window.localStorage.length=(document.cookie.match(/\=/g)||window.localStorage).length)},24512:(e,t,a)=>{"use strict";a.d(t,{JK:()=>o,Po:()=>s,SD:()=>c,ri:()=>i,rn:()=>r,uB:()=>l});var n=a(56514);const r=()=>n.jl&&n.jl!==n.Ep,o=()=>{const e=r();return!!e&&{hasNativePrice:e,nativeCurrencyCode:n.jl,nativeCurrencyName:n.e6}},i=()=>({currencyCode:n.Ep,currencyName:n.K7}),s=()=>{const e=localStorage.getItem("language");return!!e&&JSON.parse(e)&&JSON.parse(e).code},l=()=>localStorage.getItem("displayCurrency")||!1,c=()=>o()&&o().nativeCurrencyCode===l()},64981:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(23493),r=a.n(n);function o(e,t){const a=r()(t,1e3*e,{leading:!0,trailing:!1});document.addEventListener("visibilitychange",(()=>{document.hidden||a()}),!1)}},53995:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(15616),r=a.n(n),o=a(40604),i=a.n(o);function s(e,t){return e.filter((e=>{let t={};const a=new Date;return t=["PENDING","INITIALISED"].includes(e.status)&&i()(`${r()(a,"YYYY-MM-DDTHH:mm:ss")}Z`,e.date)<60||!["PENDING","INITIALISED"].includes(e.status),t})).filter((e=>{const a=[];e.items.forEach((e=>{a.push(e),e.bundles.length&&e.bundles.forEach((e=>{e.games.forEach((e=>{a.push(e)}))}))}));return(e=>{const t=e.map((e=>e.name)).toString().toLowerCase();return`${t.replace(/[^a-zA-Z ]/g," ").toLowerCase()} ${t}`})(a).includes(t)}))}},21918:(e,t,a)=>{"use strict";a.d(t,{q:()=>o});var n=a(5558),r=a.n(n);const o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=t>0&&t<=1?r()(e*(1-t)):r()(e);return a>0&&a<=1&&(n-=Math.round(n*a)),n}},16438:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(62945);const r={5:{min:{CAD:0,USD:0,EUR:0,GBP:0,AUD:0,RUB:0,JPY:0},max:{CAD:600,USD:500,EUR:500,GBP:500,AUD:700,RUB:25e3,JPY:1e5},strings:(0,n.vU)({description:{id:"games-under.5.description",defaultMessage:"With our Games Under {priceTag} category, find all of the cheapest deals we have available in any of our sales!"}})},10:{min:{CAD:601,USD:501,EUR:501,GBP:501,AUD:701,RUB:25001,JPY:100001},max:{CAD:1200,USD:1e3,EUR:1e3,GBP:1e3,AUD:1400,RUB:5e4,JPY:2e5},strings:(0,n.vU)({description:{id:"games-under.10.description",defaultMessage:"Our Games Under {priceTag} category features various great deals across the store! Check back in periodically to find new games to buy."}})},20:{min:{CAD:1201,USD:1001,EUR:1001,GBP:1001,AUD:1401,RUB:50001,JPY:200001},max:{CAD:2400,USD:2e3,EUR:2e3,GBP:2e3,AUD:2800,RUB:1e5,JPY:4e5},strings:(0,n.vU)({description:{id:"games-under.20.description",defaultMessage:"Check out our Games Under {priceTag} category, where you can find new releases and high-quality indie titles to pick from in any of our individual sales!"}})}}},97407:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n=e=>{if(!e)return null;if(e.link&&"string"===typeof e.link)return e.link;const t=`/${e.type}/${e.slug}`;return window.location.pathname.includes("gift-guide")?{pathname:t,state:{from:window.location.pathname}}:{pathname:t}}},16297:(e,t,a)=>{"use strict";a.d(t,{J:()=>i,R:()=>s});var n=a(84240);const r="giveawayActions",o=n.algolia.maxGiveawayActions||10,i=()=>{try{return JSON.parse(localStorage.getItem(r))||[]}catch(e){}return[]},s=e=>{(e||[]).length>o&&e.shift(),localStorage.setItem(r,JSON.stringify(e))}},90728:(e,t,a)=>{"use strict";a.d(t,{S:()=>r});var n=a(84240);const r=async e=>{let t;try{window.grecaptcha&&(t=await grecaptcha.enterprise.execute(n.gcp.reCaptcha3PublicKey,{action:e}))}catch(a){return console.error(a),""}return t}},9290:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(58020),r=a(51673);function o(){var e;return(0,r.Z)()||(0,n.isBot)((null===(e=navigator)||void 0===e?void 0:e.userAgent)||"")}},51673:(e,t,a)=>{"use strict";function n(){return navigator.userAgent.toLowerCase().includes("prerender")}a.d(t,{Z:()=>n})},1590:(e,t,a)=>{"use strict";function n(e){let t=0;if(window.Sentry)return e(window.Sentry);const a=setInterval((()=>{t+=1,window.Sentry?(e(window.Sentry),clearInterval(a)):t>10&&(console.warn("window.Sentry not found"),clearInterval(a))}),500);return null}a.d(t,{Z:()=>n})},24845:(e,t,a)=>{"use strict";a.d(t,{e:()=>o});var n=a(31304),r=a.n(n);r().extend({"\xa9":"","\xae":"","\u2122":""});const o=e=>{try{return r()(decodeURIComponent((e||"").replace(/_/g," ")),{strict:!0,lower:!0})}catch(t){if(t.message&&t.message.includes("URI malformed"))return e&&e.includes&&e.includes("%")?o(e.replace(/%/g,"")):"URI malformed";throw new Error(`Slugify error converting ${typeof e} '${e}' - ${t.message}`,t)}}},32259:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(27361),r=a.n(n),o=a(53150),i=a(81930);const s={getState:e=>{const t=o.default.getState();return e?r()(t,e,{}):t},getAnonId:()=>{const e=s.getState("anonymous");return r()(e,"id")},getUserId:()=>{const e=s.getState("auth");return r()(e,"_id")||s.getAnonId()},getPageId:()=>{const e=s.getState("router");return r()(e,"location.pathname")},getCartItems:()=>
1{const e=(0,i.Z)(s.getState());return r()(e,"items",[])},getCartItemsString:()=>s.getCartItems().map((e=>e._id)).toString(),getGiftOrderData:()=>{const e=s.getState("gift");return r()(e,"giftOrder")}},l=s},76981:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n=(e,t)=>{const a=(e=>{try{return new URL(e).search}catch(t){return e}})(t);try{const t=new URLSearchParams(a||window.location.search).get(e);return t&&"page"===e?Number(t)||0:t||""}catch(n){console.error(n);const t=e.replace(/[[]/,"\\[").replace(/[\]]/,"\\]"),r=new RegExp(`[\\?&#]${t}=([^&#]*)`).exec(a||window.location.search);return null===r?"":decodeURIComponent(r[1].replace(/\+/g," "))}}},24905:(e,t,a)=>{"use strict";a.d(t,{wk:()=>s});var n=a(27361),r=a.n(n),o=a(53150);const i=()=>o.default.getState().userTraits,s=()=>{const e=i();return"b"===r()(e,"c_type")&&(r()(e,"orders")>150||r()(e,"order_items")>700)}},52244:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n=()=>{const e=document.getElementsByClassName("youtube-video");Array.from(e).map((e=>{var t;return null===e||void 0===e||null===(t=e.contentWindow)||void 0===t?void 0:t.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")})),window.fanYTPlayers&&window.fanYTPlayers.forEach((e=>{if(e)try{e.pauseVideo()}catch(t){return t}return!0}))}},9440:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});const n={};let r=!1;const o=()=>{document.hidden||(document.removeEventListener("visibilitychange",o,!1),Object.keys(n).forEach((e=>{n[e]()})),setTimeout((()=>{r=!1}),5e3))};function i(e,t){if("string"!==typeof e||!e)throw new Error("Key must be a string");if("function"!==typeof t)throw new Error("Callback must be a function");document.hidden?(r||(r=!0,document.addEventListener("visibilitychange",o,!1)),n[e]=t):t()}},88967:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(84240);function r(){if(n.isDevelopment||window.fan_debug){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];console.trace("FAN DEBUG",...t)}}},28378:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n=e=>{if(!window.newrelic)return!1;try{return e(window.newrelic)}catch(t){return console.error(t),!1}}},91439:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});var n=a(67294),r=a(86706),o=a(62945),i=a(67100),s=a(26866),l=a(62807),c=a(5014);const d=(0,o.vU)({successTitle:{id:"email.subscribe.feedback.success.title",defaultMessage:"Success!"},successMessage:{id:"email.subscribe.feedback.success.message",defaultMessage:"You are now subscribed to the Fanatical newsletter."},errorTitle:{id:"email.subscribe.feedback.error.title",defaultMessage:"Something went wrong"},errorMessage:{id:"email.subscribe.feedback.error.message",defaultMessage:"Whoops something went wrong please try again."},optin_title:{id:"email.subscribe.optin_required.title",defaultMessage:"Almost there!"},optin_message:{id:"email.subscribe.optin_required.message",defaultMessage:"Check your inbox to confirm your newsletter subscription"},link:{id:"email.subscribe.optin_required.link",defaultMessage:"Open your inbox"}}),u=e=>{var t;const{formatMessage:a}=(0,i.default)(),o=(0,r.I0)(),{currentState:u,status:m,email:p,context:h}=(0,r.v9)((e=>e.emailSubscribe)),g=null===(t=(0,s.getSniperLink)(p))||void 0===t?void 0:t.url;(0,n.useEffect)((()=>{h===e&&(u===l.zY&&(m===l.r$?o((0,c.ru)({type:"info",display:"persist",title:a(d.optin_title),message:a(d.optin_message),link:g?{href:g,text:a(d.link)}:null})):o((0,c.ru)({type:"success",title:a(d.successTitle),message:a(d.successMessage)})),localStorage.setItem("navSubscribedDate",Date.now()),localStorage.setItem("newsletterSubscribedDate",Date.now())),u===l.gD&&o((0,c.ru)({type:"error",title:a(d.errorTitle),message:a(d.errorMessage)})))}),[u,m,p,h,e,a,o,g])}},15818:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var n=a(67294),r=a(27361),o=a.n(r),i=a(32742);const s={xs:{slidesToShow:1,slidesToScroll:1,sliderWidth:375,dots:!1,arrows:!1,sliderGap:16,slideVisiblePercent:.85},sm:{slidesToShow:2,slidesToScroll:2,sliderWidth:524,dots:!1,arrows:!1,sliderGap:16,slideVisiblePercent:.9},md:{slidesToShow:2,slidesToScroll:2,sliderWidth:704,dots:!1,arrows:!1,sliderGap:16},lg:{slidesToShow:3,slidesToScroll:3,sliderWidth:944,dots:!0,arrows:!0,sliderGap:24},xl:{slidesToShow:4,slidesToScroll:4,sliderWidth:1124,dots:!0,arrows:!0,sliderGap:24},xxl:{slidesToShow:4,slidesToScroll:4,sliderWidth:1324,dots:!0,arrows:!0,sliderGap:32}};function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const{currentBreakpoint:a}=(0,i.Z)();return(0,n.useMemo)((()=>{const n=s[a],r=e[a]||{},i={slidesToShow:o()(r,"slidesToShow",n.slidesToShow),slidesToScroll:o()(r,"slidesToScroll",n.slidesToScroll),sliderWidth:o()(r,"sliderWidth",n.sliderWidth),sliderGap:o()(r,"sliderGap",n.sliderGap),showDots:o()(r,"dots",n.dots),showArrows:o()(r,"arrows",n.arrows)};return"xs"===a&&(i.slideVisiblePercent=o()(e.xs,"slideVisiblePercent",s.xs.slideVisiblePercent)),"sm"===a&&(i.slideVisiblePercent=o()(e.sm,"slideVisiblePercent",s.sm.slideVisiblePercent)),t<=i.slidesToShow&&(i.showDots=!1,i.showArrows=!1),{settings:i,defaultSettings:s}}),[e,a,t])}},78984:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(67294);const r=e=>{const t={days:0,hours:0,minutes:0,seconds:0};if(e>Date.now()){const a=(e-Date.now())/1e3,n=a/60;t.days=Math.floor(n/1440),t.hours=Math.floor(n/60%24),t.minutes=Math.floor(n%60),t.seconds=Math.floor(a%60)}return t},o=e=>
1{const[t,a]=(0,n.useState)(r(e));return(0,n.useEffect)((()=>{let t;return e>Date.now()&&(t=setInterval((()=>{a(r(e))}),1e3)),()=>clearInterval(t)}),[e]),t}},7192:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(67294),r=a(18446),o=a.n(r);const i=e=>{const t=(0,n.useRef)();return o()(e,t.current)||(t.current=e),t.current}},42270:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(67294);function r(e){const t=(0,n.useRef)();return(0,n.useEffect)((()=>{t.current=e}),[e]),t.current}},33163:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(86706);const r=()=>({hit:(0,n.v9)((e=>e.sponsored))||null})},32742:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u,b:()=>d});var n=a(67294),r=a(86259);const o=576,i=768,s=992,l=1200,c=1520,d=e=>{let t="xs";return e>=o&&e<i&&(t="sm"),e>=i&&e<s&&(t="md"),e>=s&&e<l&&(t="lg"),e>=l&&e<c&&(t="xl"),e>=c&&(t="xxl"),t},u=()=>{const{width:e,height:t}=n.useContext(r.Z);return{isXs:e<o,isAboveXs:e>=o,isBelowSm:e<o,isSm:e>=o&&e<i,isAboveSm:e>=i,isBelowMd:e<i,isMd:e>=i&&e<s,isAboveMd:e>=s,isBelowLg:e<s,isLg:e>=s&&e<l,isAboveLg:e>=l,isBelowXl:e<l,isXl:e>=l&&e<c,isAboveXl:e>=c,isBelowXxl:e<c,isXxl:e>=c,isTouchDevice:"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0,currentBreakpoint:d(e),width:e,height:t}}},95538:(e,t,a)=>{"use strict";var n,r,o,i,s=a(67294),l=a(20745),c=a(86706),d=a(38085),u=a(76981),m=a(1590),p=a(50361),h=a.n(p),g=a(27361),f=a.n(g),y=a(36968),w=a.n(y),v=a(74690),b=a(61297),E=a(53150),S=a(56514),_=a(84240);function k(){return!crypto||!crypto.randomUUID}const P=window.sentryConfigString?JSON.parse(window.atob(window.sentryConfigString)):{environment:_.nodeEnv};var N,x;(P.ignoreErrors=["Failed to fetch","The request timed out.","Timeout","Preflight response is not successful","The network connection was lost.","The Internet connection appears to be offline.",/NetworkError/i,/NetworkError when attempting to fetch resource/i,"bundleIdentifier cannot be empty.","SecurityError: Failed to register a ServiceWorker: No URL is associated with the caller's document.","SecurityError: Failed to register a ServiceWorker: The script has an unsupported MIME type ('text/html').","TypeError: Cannot set property 'install' of undefined","Cannot set property 'install' of undefined",'UnhandledRejection "CustomEvent"',"Event `CustomEvent` (type=unhandledrejection) captured as promise rejection",'"CustomEvent"',"TypeError cancelled","cancelled","TypeError: The operation couldn\u2019t be completed. Software caused connection abort","The operation couldn\u2019t be completed. Software caused connection abort",/Software caused connection abort/i,/Unspecified error/i,/\$ is not defined/i,/Non-Error promise rejection captured with keys/i,/Invariant Violation/i,/too much recursion/i,/moz-extension/i,/chrome is not defined/i,/Indexed Database/,/A mutation operation was attempted on a database that did not allow mutations/i,/can't access dead object/i,/Property description must be an object: undefined/i,/Cannot read property 'content' of undefined/i,/e.data.indexOf is not a function/i,/Failed to execute 'insertBefore' on 'Node'/,/Failed to load/i,/Network request failed/i,/Non-Error promise rejection captured with value: false/i,/AlgoliaSearchJSONPScriptErrorError/i,/AlgoliaSearchUnparsableJSONError/i,/AbortError/i,/ResizeObserver loop limit exceeded/i,/ResizeObserver loop completed with undelivered notifications/i,/Object Not Found Matching Id/,/can't redefine non-configurable property "userAgent"/,/fanatical.com\/static\/js\/FrozenWaterScrape/i,/ChunkLoadError/i,/Promise\.resolve is not a function/i,/Loading CSS chunk/i,/Load failed/i,/__tcfapi/i,/ifameElement\.contentDocument\.addEventListener/i,/429/,/530/,/createLauncher/,/NotFoundError/,/Failed to execute 'removeChild' on 'Node'/i,/@webkit-masked-url/,"V",/Blocked a frame with origin "https:\/\/www\.fanatical\.com" from accessing/,"10450",/out of memory/,"Non-Error exception captured","Non-Error promise rejection captured","Event `Event` (type=error) captured as promise rejection","Event `Event` (type=error) captured as exception","Event `ErrorEvent` captured as exception with message `Script error.`","Object captured as promise rejection with keys: message, name, transporterStackTrace",/pptr:\/\//,/beacon\.wikia-services\.com/,"Self rate limit exceeded - ignore",/Self rate limit exceeded/,/This browser doesn't support the API's required to use the Firebase SDK/i,/disableWebkitEnterFullscreen/i,/Unreachable hosts - your application id may be incorrect/i,/Failed to execute 'querySelectorAll' on 'Document': The provided selector is empty/,"No error message",/Tab not found
1/i,/n is not a function/,/<title>403 Forbidden<\/title>/,/Method not found/i,/user:action getUserId not found/i,/Identifier 'listenerName' has already been declared/i,/Failed to execute 'appendChild' on 'Node': Unexpected identifier 'API'/i,/Can't find variable: gmo/i,/null is not an object \(evaluating 'nodeList\[i\]\.getAttribute\('rel'\)\.startsWith'\)/,/No reCAPTCHA clients exist/i,/the execution context does not exist/i,/WsHKeSHIKOcQ0/,"invalid origin","ApiError: Too many requests",'"validUntil" parameter expired (less than current date)'],P.denyUrls=[/userscript/,/moz-extension/,/AppData/,/playbuzz\.com\//i,/newrelic\.com\//i,/ad\.gt\//i,/aufp\.io\//i,/translate\.baiducontent\.com/i,/datadome\.co\//i,/rokt\.com/i,/clarity\.ms/,/extensions\//i,/^chrome:\/\//i,/^chrome-extension:\/\//i,/\/\/hidden\//i,/@webkit-masked-url/,/\/gsi\/client/,/pay\.google\.com/,/script\.google\.com/,/embed\.tawk\.to/,/paypal\.com/,/about:blank/,/d\.mailer\.fanatical/,/pptr:\/\//,/beacon\.wikia-services\.com/,"./src/snowplow.js",/browser\.sentry-cdn\.com/],w()(P,"initialScope.tags",f()(P,"initialScope.tags")||{}),P.initialScope.tags.page_locale=window.locale,P.initialScope.tags.country=S.Yi,P.initialScope.tags.countryCode=S.NI,P.initialScope.tags.currency=S.Ep,null!==(n=window)&&void 0!==n&&null!==(r=n.cfBotManagement)&&void 0!==r&&r.verifiedBotCategory)&&(P.initialScope.tags.cfBotCategory=null===(N=window)||void 0===N||null===(x=N.cfBotManagement)||void 0===x?void 0:x.verifiedBotCategory);P.initialScope.tags.asn=null===(o=window)||void 0===o||null===(i=o.cfBotManagement)||void 0===i?void 0:i.asn,P.beforeSend=(e,t)=>{try{var a;if(k())return null;if(e.exception.values[0].value.startsWith("Non-Error exception captured")||t.originalException&&t.originalException.message.startsWith("Non-Error exception captured"))return null;if(429===(null===t||void 0===t||null===(a=t.originalException)||void 0===a?void 0:a.status))return null;if(t.originalException&&t.originalException instanceof v.Aw){if(t.originalException.ignore)return null;e.fingerprint=[`ratelimit-${t.originalException.path}`]}if(t.originalException&&t.originalException instanceof b.d3){if(t.originalException.ignore)return null;e.fingerprint=["AlgoliaRateLimit"]}const n=E.default.getState();e.tags.siteTheme=n.siteTheme||"dark",e.tags.siteBrand=n.siteBrand,e.tags.cookieConsentNecessary=!!f()(window,"Cookiebot.necessary"),e.tags.cookieConsentPreferences=!!f()(window,"Cookiebot.preferences"),e.tags.cookieConsentStatistics=!!f()(window,"Cookiebot.statistics"),e.tags.cookieConsentMarketing=!!f()(window,"Cookiebot.marketing"),e.tags.gtmVersion=window.gtmVersion||null,e.tags.fingerprint=window.fingerprint||null;const r=!!document.querySelector("html").className.match("translated");e.tags.isGoogleTranslated=r,e.tags.isPolyfill=!!window.isPolyfill}catch(n){return e}return e},P.sendDefaultPii=!0;const T=[["extraErrorDataIntegration"],["httpClientIntegration",{failedRequestTargets:[/www\.fanatical\.com/],failedRequestStatusCodes:[[429,559]]}],["contextLinesIntegration"]];window.sentryOnLoad=()=>{window.Sentry.init(h()(P)),T.forEach((e=>{let[t,a]=e;window.Sentry.lazyLoadIntegration(t).then((e=>{window.Sentry.addIntegration(e(a))})).catch((e=>console.warn(`Sentry integration ${t} failed to load`,e)))}))},a.e(151).then(a.t.bind(a,67388,23)),setTimeout((()=>{(0,m.Z)((e=>e.forceLoad()))}),2e3);var C=a(45697),D=a.n(C),Z=a(28602),I=a(9438),A=a(94308),$=a(38420),L=a(81149),M=a(85155),O=a(9290),B=a(3330);const U=e=>{let{children:t}=e;const[a,n]=(0,s.useState)((0,O.Z)());return(0,s.useEffect)((()=>{const e=()=>{var e,t,a,r,o,i,s,l,c;const d=E.default.dispatch,u=E.default.getState(),m=(null===u||void 0===u||null===(e=u.voucher)||void 0===e||null===(t=e.voucher)||void 0===t?void 0:t.valid_until)||!1,p=(null===u||void 0===u||null===(a=u.voucher)||void 0===a||null===(r=a.voucher)||void 0===r?void 0:r.discount_type)||!1,h=(null===u||void 0===u||null===(o=u.voucher)||void 0===o||null===(i=o.voucher)||void 0===i?void 0:i.expiry)||!1,g=(null===u||void 0===u||null===(s=u.voucher)||void 0===s||null===(l=s.voucher)||void 0===l?void 0:l.code)||!1,f=(null===u||void 0===u||null===(c=u.auth)||void 0===c?void 0:c.authenticated)||!1,y="Account"===p;(0,A.FL)(),n(!0);const w=(new Date).toISOString();g&&(0,B.Z)(g)||m&&m<w?d({type:"frontend/voucher/REMOVE_VOUCHER"}):g&&(h&&h<w||!h)&&d(y||f?{type:"frontend/voucher/REMOVE_VOUCHER"}:(0,$.ow)(g,y,!1,!0));const v=(0,M.Hd)("CookieConsent");d(v?(0,L.Bg)(v):(0,L.L9)()),d({type:"frontend/auth/RESET_AUTH"})};(0,O.Z)()||(0,Z.Z)(E.default,{whitelist:["auth","anonymous","ageGating","steam","voucher"],keyPrefix:"bs",transforms:[(0,I.Z)((e=>e),(e=>({...e,library:void 0,steamLibrary:void 0,user_traits:void 0})),{whitelist:["auth"]})]},e)}),[]),!!a&&s.Children.only(t)};U.propTypes={children:D().node.isRequired};const R=U;var F=a(10843),z=a(29665),G=a(64721),j=a.n(G),W=a(41609),V=a.n(W),q=a(9421),H=a(87714),J=a(16550),K=a(94184),Y=a.n(K),X=a(98858),Q=a(90331);function ee(e){let{id:t,set:a}=e;return(0,s.useEffect)((()=>{t||a(crypto.randomUUID())}),[t,a]),!1}
1ee.propTypes={id:D().string,set:D().func.isRequired},ee.defaultProps={id:null};const te=(0,c.$j)((e=>{let{anonymous:{id:t}}=e;return{id:t}}),{set:Q.q})(ee);var ae=a(42270);const ne=function(){const{pathname:e,search:t,hash:a}=(0,J.TH)(),n=(0,ae.Z)(e),r=(0,ae.Z)(t);return(0,s.useLayoutEffect)((()=>{const o=e!==n,i=new URLSearchParams(t).get("page")!==new URLSearchParams(r).get("page");if(o||i){const e=a.replace("#","");e&&document.getElementById(e)?window.scrollTo({behavior:"auto",top:document.getElementById(e).getBoundingClientRect().top-document.body.getBoundingClientRect().top-80}):document.documentElement&&document.documentElement.scrollTo?document.documentElement.scrollTo(0,0):window.scrollTo(0,0)}}),[e,t]),!1};var re=a(50755),oe=a(8859);const ie=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(149),a.e(148),a.e(3),a.e(13),a.e(50),a.e(35),a.e(133),a.e(145),a.e(96)]).then(a.bind(a,66667))));function se(e){let{open:t}=e;return!!t&&s.createElement(s.Suspense,{fallback:s.createElement("div",null)},s.createElement(ie,{open:t}))}se.defaultProps={open:!1};const le=(0,c.$j)((e=>{let{modal:t}=e;return{open:!!Object.keys(t).find((e=>e.includes("frontend/modal")&&t[e]))}}))(se);var ce=a(62945),de=a(3473),ue=a(70982),me=a(59417),pe=a(5014);function he(e){var t,a;let{feedback:n,intl:r}=e;const[o,i]=(0,s.useState)(!1),[l,c]=(0,s.useState)(!1),d=(0,s.useCallback)((()=>{setTimeout((()=>
1{E.default.dispatch((0,pe.Bp)(n.id))}),5e3)}),[n]);(0,s.useEffect)((()=>{"persist"!==n.display&&(c(!0),d())}),[n,d]);const u=(0,ce.vU)({add_voucher_success_title:{id:"feedback_popup.add_voucher.success_title",defaultMessage:"Your coupon has applied successfully!"},add_voucher_error_title:{id:"feedback_popup.add_voucher.error_title",defaultMessage:"Sorry, your coupon could not be applied"},add_voucher_error_message:{id:"feedback_popup.add_voucher.error_message",defaultMessage:"The coupon code may be invalid, expired or not yet active"},delete_account_message:{id:"feedback_popup.delete_account_message.success_message",defaultMessage:"Account deleted"}}),{formatMessage:m}=r;let p=n.title,h=n.message;return"coupon-success"===p&&(p=m(u.add_voucher_success_title)),"coupon-error"===p&&(p=m(u.add_voucher_error_title)),"coupon-error"===h&&(h=m(u.add_voucher_error_message)),"delete-success"===p&&(p=m(u.delete_account_message)),s.createElement("div",{id:n.id,className:Y()(`feedback-popup ${n.type}`,{"fade-out":o},{"fade-out-pause":l}),role:"alert","aria-live":"assertive"},s.createElement("div",{className:"feedback-header"},s.createElement("div",{className:"icon-title-container"},("success"===n.type||"error"===n.type||"info"===n.type||"warning"===n.type)&&s.createElement("div",{className:"icon-background"},"success"===n.type&&s.createElement(ue.G,{icon:me.LEp}),"error"===n.type&&s.createElement(ue.G,{icon:me.ik8}),"info"===n.type&&s.createElement(ue.G,{icon:me.YHc}),"warning"===n.type&&s.createElement(ue.G,{icon:me.ik8})),p),s.createElement("div",{className:"close-button-container"},s.createElement("button",{"aria-label":"Close notification",className:"btn",onClick:()=>(clearTimeout(d),i(!0),c(!1),void setTimeout((()=>
1{E.default.dispatch((0,pe.Bp)(n.id))}),1e3))},s.createElement(ue.G,{icon:me.g82,title:"Close notification"})))),s.createElement("div",{className:"feedback-body"},h,(null===n||void 0===n?void 0:n.link)&&s.createElement("a",{className:"feedback-link",href:null===n||void 0===n||null===(t=n.link)||void 0===t?void 0:t.href,target:"_blank",rel:"noopener noreferrer"}," ",null===n||void 0===n||null===(a=n.link)||void 0===a?void 0:a.text)))}he.defaultProps={feedback:{}};const ge=(0,de.ZP)(he);var fe=a(68779);function ye(e){var t,a;let{feedback:n,intl:r}=e;const[o,i]=(0,s.useState)(!1),[l,c]=(0,s.useState)(!1),d=(0,s.useCallback)((()=>{setTimeout((()=>{E.default.dispatch((0,pe.Bp)(n.id))}),5e3)}),[n]);(0,s.useEffect)((()=>{"persist"!==n.display&&(c(!0),d())}),[n,d]);const u=(0,ce.vU)({add_voucher_success_title:{id:"feedback_popup_redesign.add_voucher.success_title",defaultMessage:"Your coupon has applied successfully!"},add_voucher_error_title:{id:"feedback_popup_redesign.add_voucher.error_title",defaultMessage:"Sorry, your coupon could not be applied"},add_voucher_error_message:{id:"feedback_popup_redesign.add_voucher.error_message",defaultMessage:"The coupon code may be invalid, expired or not yet active"},delete_account_message:{id:"feedback_popup_redesign.delete_account_message.success_message",defaultMessage:"Account deleted"}}),{formatMessage:m}=r;let p=n.title,h=n.message;return"coupon-success"===p&&(p=m(u.add_voucher_success_title)),"coupon-error"===p&&(p=m(u.add_voucher_error_title)),"coupon-error"===h&&(h=m(u.add_voucher_error_message)),"delete-success"===p&&(p=m(u.delete_account_message)),s.createElement("div",{id:n.id,className:Y()(`feedback-popup ${n.type}`,{"fade-out":o},{"fade-out-pause":l}),role:"alert","aria-live":"assertive"},s.createElement(s.Fragment,null,s.createElement("div",{className:"feedback-close-button-container"},s.createElement("button",{type:"button",className:"close-button",onClick:()=>{clearTimeout(d),i(!0),c(!1),setTimeout((()=>
1{E.default.dispatch((0,pe.Bp)(n.id))}),1e3)}},s.createElement(ue.G,{icon:me.NBC,title:"Close"}))),s.createElement("div",{className:"feedback-main-container"},("success"===n.type||"error"===n.type||"info"===n.type||"warning"===n.type)&&s.createElement("div",{className:"feedback-icon-container"},"success"===n.type&&s.createElement(ue.G,{icon:fe.fV7,className:"feedback-icon success"}),"error"===n.type&&s.createElement(ue.G,{icon:fe.RLE,className:"feedback-icon error"}),"info"===n.type&&s.createElement(ue.G,{icon:fe.DBf,className:"feedback-icon info"}),"warning"===n.type&&s.createElement(ue.G,{icon:fe.ik8,className:"feedback-icon warning"})),s.createElement("div",{className:"feedback-message-container"},p&&s.createElement("div",{className:"feedback-title"},p),h&&s.createElement("div",{className:"feedback-message"},h),(null===n||void 0===n?void 0:n.link)&&s.createElement("a",{className:"feedback-link",href:null===n||void 0===n||null===(t=n.link)||void 0===t?void 0:t.href,target:"_blank",rel:"noopener noreferrer"}," ",null===n||void 0===n||null===(a=n.link)||void 0===a?void 0:a.text)))))}ye.defaultProps={feedback:{}};const we=(0,de.ZP)(ye);var ve=a(32742);const be=e=>{let{feedbackPopups:t}=e;const{isBelowMd:a}=(0,ve.Z)();if(V()(t))return!1;const n=a;return s.createElement("div",{className:Y()({"popups-container":!n},{"popups-container-redesign":n})},t.map((e=>s.createElement(s.Fragment,{key:e.id},n?s.createElement(we,{feedback:e}):s.createElement(ge,{feedback:e})))))};be.defaultProps={feedbackPopups:[]};const Ee=(0,c.$j)((e=>{let{feedbackPopups:t}=e;return{feedbackPopups:t}}))(be);var Se=a(96346),_e=a(54469),ke=a(26976),Pe=a(23279),Ne=a.n(Pe),xe=a(86259);const Te=e=>{let{children:t}=e;const[a,n]=s.useState(window.innerWidth),[r,o]=s.useState(window.innerHeight),i=()=>{n(window.innerWidth),o(window.innerHeight)};return(0,s.useEffect)((()=>(window.addEventListener("resize",i),()=>window.removeEventListener("resize",Ne()(i,250,{trailing:!0})))),[]),s.createElement(xe.Z.Provider,{value:{width:a,height:r}},t)},Ce=(0,s.lazy)((()=>Promise.all([a.e(3),a.e(27),a.e(111)]).then(a.bind(a,78485)))),De=["/game/","/bundle/","/dlc/","/pick-and-mix/","/account","/payment","/receipt","/publishers/nis-america-inc"],Ze=["/bundle","/bundle/games","/bundle/books","/bundle/software"];function Ie(e){let{showVisibleVoucher:t}=e;return!!t&&s.createElement(s.Suspense,{fallback:s.createElement("div",null)},s.createElement(Ce,null))}Ie.defaultProps={showVisibleVoucher:!1};const Ae=(0,c.$j)((e=>{let{router:{location:{pathname:t}},vouchers:{all:a}}=e;return{showVisibleVoucher:!!(a||[]).filter((e=>e.always_visible)).length&&(Ze.includes(t)||!De.find((e=>t.startsWith(e))))}}))(Ie),$e=(0,s.lazy)((()=>Promise.all([a.e(118),a.e(77)]).then(a.bind(a,70521))));function Le(e){let{open:t,consent:a,isPolicyPage:n,siteBrand:r}=e;return"hpomen"!==r&&(!!t&&s.createElement(oe.Z,{hideForm:!0,noChunkRedirect:!0},s.createElement(s.Suspense,{fallback:s.createElement("div",null)},s.createElement($e,{open:t,isPolicyPage:n,consent:a}))))}Le.defaultProps={open:!1,isPolicyPage:!1,consent:{}};const Me=(0,c.$j)((e=>{let{cookie:{open:t,consent:a},router:{location:{pathname:n}},siteBrand:r}=e;return{open:t,consent:a,isPolicyPage:"/cookie-policy"===n,siteBrand:r}}),{})(Le);var Oe=a(30547),Be=a(97302),Ue=a(48256),Re=a(61470);const Fe=window.locale||"en",{translations:ze}=window,Ge=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(4),a.e(3),a.e(6),a.e(7),a.e(8),a.e(51),a.e(31),a.e(52),a.e(32),a.e(53),a.e(39),a.e(38),a.e(30),a.e(114),a.e(73),a.e(72),a.e(71),a.e(70)]).then(a.bind(a,78875)))),je=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(4),a.e(3),a.e(6),a.e(7),a.e(8),a.e(51),a.e(31),a.e(52),a.e(32),a.e(53),a.e(39),a.e(38),a.e(30),a.e(114),a.e(73),a.e(72),a.e(71),a.e(70)]).then(a.bind(a,70903)))),We=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(4),a.e(3),a.e(6),a.e(7),a.e(8),a.e(51),a.e(31),a.e(52),a.e(32),a.e(53),a.e(39),a.e(38),a.e(30),a.e(114),a.e(73),a.e(72),a.e(71),a.e(70)]).then(a.bind(a,91398)))),Ve=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(4),a.e(3),a.e(6),a.e(7),a.e(8),a.e(51),a.e(31),a.e(52),a.e(32),a.e(53),a.e(39),a.e(38),a.e(30),a.e(114),a.e(73),a.e(72),a.e(71),a.e(70)]).then(a.bind(a,11837)))),qe=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(4),a.e(3),a.e(6),a.e(7),a.e(8),a.e(51),a.e(31),a.e(52),a.e(32),a.e(53),a.e(39),a.e(38),a.e(30),a.e(114),a.e(73),a.e(72),a.e(71),a.e(70)]).then(a.bind(a,1918)))),He=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(4),a.e(3),a.e(6),a.e(7),a.e(8),a.e(51),a.e(31),a.e(52),a.e(32),a.e(53),a.e(39),a.e(38),a.e(30),a.e(114),a.e(73),a.e(72),a.e(71),a.e(70)]).then(a.bind(a,77081)))),Je=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(4),a.e(3),a.e(6),a.e(7),a.e(8),a.e(51),a.e(31),a.e(52),a.e(32),a.e(53),a.e(39),a.e(38),a.e(30),a.e(114),a.e(73),a.e(72),a.e(71),a.e(70)]).then(a.bind(a,21118)))),Ke=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(4),a.e(3),a.e(6),a.e(7),a.e(8),a.e(51),a.e(31),a.e(52),a.e(32),a.e(53),a.e(39),a.e(38),a.e(30),a.e(114),a.e(73),a.e(72),a.e(71),a.e(70)]).then(a.bind(a,84581)))),Ye=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(4),a.e(3),a.e(6),a.e(7),a.e(8),a.e(51),a.e(31),a.e(52),a.e(32),a.e(53),a.e(39),a.e(38),a.e(30),a.e(114),a.e(73),a.e(72),a.e(71),a.e(70)]).then(a.bind(a,74085)))),Xe=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(4),a.e(3),a.e(6),a.e(7),a.e(8),a.e(51),a.e(31),a.e(52),a.e(32),a.e(53),a.e(39),a.e(38),a.e(30),a.e(114),a.e(73),a.e(72),a.e(71),a.e(70)]).then(a.bind(a,94693)))),Qe=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(4),a.e(3),a.e(6),a.e(7),a.e(8),a.e(51),a.e(31),a.e(52),a.e(32),a.e(53),a.e(39),a.e(38),a.e(30),a.e(114),a.e(73),a.e(72),a.e(71),a.e(70)]).then(a.bind(a,17560)))),et=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(4),a.e(3),a.e(6),a.e(7),a.e(8),a.e(51),a.e(31),a.e(52),a.e(32),a.e(53),a.e(39),a.e(38),a.e(30),a.e(114),a.e(73),a.e(72),a.e(71),a.e(70)]).then(a.bind(a,71689)))),tt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(4),a.e(3),a.e(6),a.e(7),a.e(8),a.e(51),a.e(31),a.e(52),a.e(32),a.e(53),a.e(39),a.e(38),a.e(30),a.e(114),a.e(73),a.e(72),a.e(71),a.e(70)]).then(a.bind(a,38822)))),at=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(4),a.e(3),a.e(6),a.e(7),a.e(8),a.e(51),a.e(31),a.e(52),a.e(32),a.e(53),a.e(39),a.e(38),a.e(30),a.e(114),a.e(73),a.e(72),a.e(71),a.e(70)]).then(a.bind(a,50417)))),nt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(4),a.e(3),a.e(6),a.e(7),a.e(8),a.e(51),a.e(31),a.e(52),a.e(32),a.e(53),a.e(39),a.e(38),a.e(30),a.e(114),a.e(73),a.e(72),a.e(71),a.e(70)]).then(a.bind(a,39136)))),rt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(10),a.e(40),a.e(115),a.e(74)]).then(a.bind(a,30999)))),ot=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(10),a.e(40),a.e(115),a.e(74)]).then(a.bind(a,18499)))),it=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(10),a.e(40),a.e(115),a.e(74)]).then(a.bind(a,91745)))),st=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(10),a.e(40),a.e(115),a.e(74)]).then(a.bind(a,58187)))),lt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(10),a.e(40),a.e(115),a.e(74)]).then(a.bind(a,62650)))),ct=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(10),a.e(40),a.e(115),a.e(74)]).then(a.bind(a,35768)))),dt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(10),a.e(40),a.e(115),a.e(74)]).then(a.bind(a,90343)))),ut=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(10),a.e(40),a.e(115),a.e(74)]).then(a.bind(a,13957)))),mt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(10),a.e(40),a.e(115),a.e(74)]).then(a.bind(a,26691)))),pt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(117),a.e(76)]).then(a.bind(a,14387)))),ht=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(146),a.e(2),a.e(5),a.e(9),a.e(34),a.e(33),a.e(119),a.e(78)]).then(a.bind(a,59391)))),gt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(146),a.e(2),a.e(5),a.e(9),a.e(34),a.e(33),a.e(119),a.e(78)]).then(a.bind(a,85100)))),ft=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(146),a.e(2),a.e(5),a.e(9),a.e(34),a.e(33),a.e(119),a.e(78)]).then(a.bind(a,43778)))),yt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(2),a.e(3),a.e(5),a.e(11),a.e(10),a.e(12),a.e(13),a.e(17),a.e(40),a.e(120),a.e(15),a.e(79)]).then(a.bind(a,7487)))),wt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(2),a.e(3),a.e(5),a.e(11),a.e(10),a.e(12),a.e(13),a.e(17),a.e(40),a.e(120),a.e(15),a.e(79)]).then(a.bind(a,91008)))),vt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(2),a.e(3),a.e(5),a.e(11),a.e(10),a.e(12),a.e(13),a.e(17),a.e(40),a.e(120),a.e(15),a.e(79)]).then(a.bind(a,60277)))),bt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(2),a.e(3),a.e(5),a.e(11),a.e(10),a.e(12),a.e(13),a.e(17),a.e(40),a.e(120),a.e(15),a.e(79)]).then(a.bind(a,87856)))),Et=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(41),a.e(121),a.e(80)]).then(a.bind(a,6072
10)))),St=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(41),a.e(121),a.e(80)]).then(a.bind(a,64062)))),_t=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(4),a.e(49),a.e(2),a.e(3),a.e(5),a.e(6),a.e(7),a.e(8),a.e(23),a.e(18),a.e(24),a.e(28),a.e(26),a.e(33),a.e(27),a.e(35),a.e(36),a.e(60),a.e(42),a.e(123),a.e(16),a.e(83),a.e(82)]).then(a.bind(a,17398)))),kt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(6),a.e(11),a.e(25),a.e(59),a.e(122),a.e(81)]).then(a.bind(a,27963)))),Pt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(8),a.e(43),a.e(61),a.e(124),a.e(84)]).then(a.bind(a,81588)))),Nt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(21),a.e(22),a.e(2),a.e(3),a.e(7),a.e(9),a.e(14),a.e(11),a.e(19),a.e(20),a.e(37),a.e(48),a.e(142),a.e(110)]).then(a.bind(a,2160)))),xt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(21),a.e(22),a.e(2),a.e(9),a.e(14),a.e(19),a.e(20),a.e(34),a.e(41),a.e(62),a.e(48),a.e(126),a.e(86)]).then(a.bind(a,72819)))),Tt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(21),a.e(22),a.e(2),a.e(9),a.e(14),a.e(19),a.e(20),a.e(34),a.e(41),a.e(62),a.e(48),a.e(126),a.e(86)]).then(a.bind(a,5659)))),Ct=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(21),a.e(22),a.e(2),a.e(9),a.e(14),a.e(19),a.e(20),a.e(34),a.e(41),a.e(62),a.e(48),a.e(126),a.e(86)]).then(a.bind(a,72712)))),Dt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(4),a.e(147),a.e(9),a.e(14),a.e(10),a.e(37),a.e(54),a.e(43),a.e(128),a.e(89)]).then(a.bind(a,67259)))),Zt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(5),a.e(11),a.e(10),a.e(12),a.e(13),a.e(17),a.e(29),a.e(63),a.e(45),a.e(15),a.e(90)]).then(a.bind(a,47203)))),It=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(2),a.e(5),a.e(12),a.e(13),a.e(17),a.e(46),a.e(129),a.e(15),a.e(91)]).then(a.bind(a,48992)))),At=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(2),a.e(5),a.e(12),a.e(13),a.e(17),a.e(46),a.e(129),a.e(15),a.e(91)]).then(a.bind(a,25626)))),$t=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(45),a.e(130),a.e(92)]).then(a.bind(a,9086)))),Lt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(45),a.e(130),a.e(92)]).then(a.bind(a,41558)))),Mt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(45),a.e(130),a.e(92)]).then(a.bind(a,46648)))),Ot=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(45),a.e(130),a.e(92)]).then(a.bind(a,45525)))),Bt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(45),a.e(130),a.e(92)]).then(a.bind(a,93155)))),Ut=(0,s.lazy)((()=>a.e(93).then(a.bind(a,36413)))),Rt=(0,s.lazy)((()=>Promise.all([a.e(1),a.e(31),a.e(64),a.e(99)]).then(a.bind(a,21032)))),Ft=(0,s.lazy)((()=>Promise.all([a.e(1),a.e(31),a.e(64),a.e(99)]).then(a.bind(a,12385)))),zt=(0,s.lazy)((()=>Promise.all([a.e(30),a.e(58)]).then(a.bind(a,59030)))),Gt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(2),a.e(3),a.e(5),a.e(7),a.e(23),a.e(18),a.e(24),a.e(26),a.e(42),a.e(135),a.e(16),a.e(101),a.e(100)]).then(a.bind(a,19288)))),jt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(49),a.e(2),a.e(3),a.e(6),a.e(7),a.e(8),a.e(18),a.e(29),a.e(26),a.e(27),a.e(56),a.e(32),a.e(36),a.e(57),a.e(67),a.e(68),a.e(65),a.e(66),a.e(136),a.e(16),a.e(103),a.e(102)]).then(a.bind(a,69273)))),Wt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(49),a.e(2),a.e(3),a.e(6),a.e(7),a.e(8),a.e(18),a.e(29),a.e(26),a.e(27),a.e(56),a.e(32),a.e(36),a.e(57),a.e(67),a.e(68),a.e(65),a.e(66),a.e(136),a.e(16),a.e(103),a.e(102)]).then(a.bind(a,24694)))),Vt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(49),a.e(2),a.e(3),a.e(6),a.e(7),a.e(8),a.e(18),a.e(29),a.e(26),a.e(27),a.e(56),a.e(32),a.e(36),a.e(57),a.e(67),a.e(68),a.e(65),a.e(66),a.e(136),a.e(16),a.e(103),a.e(102)]).then(a.bind(a,64612)))),qt=(0,s.lazy)((()=>Promise.all([a.e(1),a.e(2),a.e(8),a.e(44),a.e(125),a.e(85)]).then(a.bind(a,73930)))),Ht=(0,s.lazy)((()=>Promise.all([a.e(1),a.e(150),a.e(2),a.e(38),a.e(47),a.e(137),a.e(104)]).then(a.bind(a,29886)))),Jt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(105)]).then(a.bind(a,60323)))),Kt=(0,s.lazy)((()=>Promise.all([a.e(9),a.e(14),a.e(25),a.e(138),a.e(106)]).then(a.bind(a,76899)))),Yt=(0,s.lazy)((()=>Promise.all([a.e(1),a.e(4),a.e(3),a.e(7),a.e(23),a.e(18),a.e(24),a.e(44),a.e(139),a.e(16),a.e(107)]).then(a.bind(a,64324)))),Xt=(0,s.lazy)((()=>Promise.all([a.e(1),a.e(4),a.e(3),a.e(7),a.e(23),a.e(18),a.e(24),a.e(44),a.e(139),a.e(16),a.e(107)]).then(a.bind(a,51091)))),Qt=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(4),a.e(21),a.e(22),a.e(2),a.e(5),a.e(6),a.e(11),a.e(10),a.e(12),a.e(13),a.e(17),a.e(19),a.e(20),a.e(55),a.e(46),a.e(134),a.e(15),a.e(98)]).then(a.bind(a,27280)))),ea=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(4),a.e(21),a.e(22),a.e(2),a.e(5),a.e(6),a.e(11),a.e(10),a.e(12),a.e(13),a.e(17),a.e(19),a.e(20),a.e(55),a.e(46),a.e(134),a.e(15),a.e(98)]).then(a.bind(a,83185)))),ta=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(4),a.e(21),a.e(22),a.e(2),a.e(5),a.e(6),a.e(11),a.e(10),a.e(12),a.e(13),a.e(17),a.e(19),a.e(20),a.e(55),a.e(46),a.e(134),a.e(15),a.e(98)]).then(a.bind(a,70891)))),aa=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(21),a.e(22),a.e(19),a.e(20),a.e(140),a.e(108)]).then(a.bind(a,36946)))),na=(0,s.lazy)((()=>Promise.all([a.e(141),a.e(109)]).then(a.bind(a,51354)))),ra=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(21),a.e(22),a.e(2),a.e(3),a.e(7),a.e(9),a.e(14),a.e(11),a.e(19),a.e(20),a.e(37),a.e(48),a.e(142),a.e(110)]).then(a.bind(a,55123)))),oa=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(21),a.e(22),a.e(2),a.e(3),a.e(7),a.e(9),a.e(14),a.e(11),a.e(19),a.e(20),a.e(37),a.e(48),a.e(142),a.e(110)]).then(a.bind(a,1760)))),ia=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(21),a.e(22),a.e(2),a.e(3),a.e(7),a.e(9),a.e(14),a.e(11),a.e(19),a.e(20),a.e(37),a.e(48),a.e(142),a.e(110)]).then(a.bind(a,96048)))),sa=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(21),a.e(22),a.e(2),a.e(3),a.e(7),a.e(9),a.e(14),a.e(11),a.e(19),a.e(20),a.e(37),a.e(48),a.e(142),a.e(110)]).then(a.bind(a,17352)))),la=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(21),a.e(22),a.e(2),a.e(3),a.e(7),a.e(9),a.e(14),a.e(11),a.e(19),a.e(20),a.e(37),a.e(48),a.e(142),a.e(110)]).then(a.bind(a,38899)))),ca=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(21),a.e(22),a.e(2),a.e(3),a.e(7),a.e(9),a.e(14),a.e(11),a.e(19),a.e(20),a.e(37),a.e(48),a.e(142),a.e(110)]).then(a.bind(a,51144)))),da=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(21),a.e(22),a.e(2),a.e(3),a.e(7),a.e(9),a.e(14),a.e(11),a.e(19),a.e(20),a.e(37),a.e(48),a.e(142),a.e(110)]).then(a.bind(a,96064)))),ua=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(21),a.e(22),a.e(2),a.e(3),a.e(7),a.e(9),a.e(14),a.e(11),a.e(19),a.e(20),a.e(37),a.e(48),a.e(142),a.e(110)]).then(a.bind(a,61782)))),ma=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(21),a.e(22),a.e(2),a.e(3),a.e(7),a.e(9),a.e(14),a.e(11),a.e(19),a.e(20),a.e(37),a.e(48),a.e(142),a.e(110)]).then(a.bind(a,77491)))),pa=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(21),a.e(22),a.e(2),a.e(3),a.e(7),a.e(9),a.e(14),a.e(11),a.e(19),a.e(20),a.e(37),a.e(48),a.e(142),a.e(110)]).then(a.bind(a,88293)))),ha=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(21),a.e(22),a.e(2),a.e(3),a.e(7),a.e(9),a.e(14),a.e(11),a.e(19),a.e(20),a.e(37),a.e(48),a.e(142),a.e(110)]).then(a.bind(a,9684)))),ga=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(21),a.e(22),a.e(2),a.e(3),a.e(7),a.e(9),a.e(14),a.e(11),a.e(19),a.e(20),a.e(37),a.e(48),a.e(142),a.e(110)]).then(a.bind(a,13942)))),fa=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(21),a.e(22),a.e(2),a.e(3),a.e(7),a.e(9),a.e(14),a.e(11),a.e(19),a.e(20),a.e(37),a.e(48),a.e(142),a.e(110)]).then(a.bind(a,96348)))),ya=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(21),a.e(22),a.e(2),a.e(3),a.e(7),a.e(9),a.e(14),a.e(11),a.e(19),a.e(20),a.e(37),a.e(48),a.e(142),a.e(110)]).then(a.bind(a,93542)))),wa=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(21),a.e(22),a.e(2),a.e(3),a.e(7),a.e(9),a.e(14),a.e(11),a.e(19),a.e(20),a.e(37),a.e(48),a.e(142),a.e(110)]).then(a.bind(a,84685)))),va=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(21),a.e(22),a.e(2),a.e(3),a.e(7),a.e(9),a.e(14),a.e(11),a.e(19),a.e(20),a.e(37),a.e(48),a.e(142),a.e(110)]).then(a.bind(a,46757)))),ba=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(21),a.e(22),a.e(2),a.e(3),a.e(7),a.e(9),a.e(14),a.e(11),a.e(19),a.e(20),a.e(37),a.e(48),a.e(142),a.e(110)]).then(a.bind(a,26640)))),Ea=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(21),a.e(22),a.e(2),a.e(3),a.e(7),a.e(9),a.e(14),a.e(11),a.e(19),a.e(20),a.e(37),a.e(48),a.e(142),a.e(110)]).then(a.bind(a,84765)))),Sa=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(4),a.e(21),a.e(22),a.e(2),a.e(3),a.e(7),a.e(9),a.e(14),a.e(11),a.e(19),a.e(20),a.e(37),a.e(48),a.e(142),a.e(110)]).then(a.bind(a,78124)))),_a=(0,s.lazy)((()=>a.e(93).then(a.bind(a,78941)))),ka=(0,s.lazy)((()=>Promise.all([a.e(39),a.e(47),a.e(143),a.e(112)]).then(a.bind(a,59102)))),Pa=(0,s.lazy)((()=>Promise.all([a.e(0),a.e(1),a.e(3),a.e(28),a.e(25),a.e(69),a.e(144),a.e(113)]).then(a.bind(a,64776)))),Na=(0,s.lazy)((()=>Promise.all([a.e(2),a.e(97)]).then(a.bind(a,35774)))),xa=e=>t=>s.createElement(oe.Z,null,s.createElement(e,t)),Ta=!!window.location.hash,Ca=e=>{let{siteTheme:t,siteBrand:a,disableMinHeight:n}=e;return s.createElement(J.F0,{history:E.history,basename:"/"},s.createElement("div",{className:`${"light"===t?"site-light-theme":"site-dark-theme"} brand-${a}`},s.createElement(s.Fragment,null,Ta&&s.createElement(Oe.WT,{name:"prerender-status-code",content:"404"}),Ta&&s.createElement(Oe.WT,{name:"robots",content:"noindex"})),!(0,O.Z)()&&s.createElement(Me,null),s.createElement(ne,null),s.createElement(te,null),s.createElement(re.Z,null),s.createElement("div",{className:Y()({content:!n})},s.createElement(s.Suspense,{fallback:s.createElement(ke.Z,null)},s.createElement(J.rs,null,s.createElement(_e.Z,{exact:!0,path:"/",component:Zt}),s.createElement(_e.Z,{exact:!0,path:"/black-friday",component:ea}),s.createElement(_e.Z,{exact:!0,path:"/cyber-monday",component:Qt}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/search",component:aa}),s.createElement(_e.Z,{exact:!0,path:"/blog",component:gt}),s.createElement(_e.Z,{exact:!0,path:"/blog/authors/:authorSlug",component:gt}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/blog/preview",component:ft}),s.createElement(_e.Z,{exact:!0,path:"/blog/category/:category(games|news|develop)",component:gt}),s.createElement(_e.Z,{exact:!0,path:"/blog/:slug",component:ht}),s.createElement(_e.Z,{exact:!0,path:"/mac-games",component:ha}),s.createElement(_e.Z,{exact:!0,path:"/linux-games",component:pa}),Re.Z.map((e=>s.createElement(_e.Z,{exact:!0,key:e.key,path:`${e.route}/:filter(verified|playable)?`,render:t=>s.createElement(fa,Object.assign({},t,{dimension:e.key}))}))),s.createElement(_e.Z,{exact:!0,path:"/deep-discounts",component:Sa}),s.createElement(_e.Z,{exact:!0,path:"/games-under/:price(5|10|20)",component:ga}),s.createElement(_e.Z,{exact:!0,path:"/vr-games",component:Nt}),s.createElement(_e.Z,{exact:!0,path:"/:facet(publishers|franchises|collections|categories|games-like)/",component:xt}),s.createElement(_e.Z,{exact:!0,path:"/:facet(publishers|franchises|collections|categories)/:slug",component:Tt}),s.createElement(_e.Z,{exact:!0,path:"/games-like/:slug",component:Ct}),s.createElement(_e.Z,{exact:!0,path:"/all-games",component:ra}),s.createElement(_e.Z,{exact:!0,path:"/all-dlc",component:oa}),s.createElement(_e.Z,{exact:!0,path:"/bundle",component:kt}),s.createElement(_e.Z,{exact:!0,path:"/bundle/all",component:kt}),s.createElement(_e.Z,{exact:!0,path:"/bundle/books",component:kt}),s.createElement(_e.Z,{exact:!0,path:"/bundle/games",component:kt}),s.createElement(_e.Z,{exact:!0,path:"/bundle/software",component:kt}),s.createElement(_e.Z,{exact:!0,path:"/bundle/other",component:kt}),s.createElement(_e.Z,{exact:!0,path:"/bundle/mystery",component:kt}),s.createElement(_e.Z,{exact:!0,path:"/top-sellers",component:ya}),s.createElement(_e.Z,{exact:!0,path:"/deals",component:ta}),s.createElement(_e.Z,{exact:!0,path:"/upcoming-games/:filter(pre-order|available-soon)?",component:ia}),s.createElement(_e.Z,{exact:!0,path:"/recently-added",component:la}),s.createElement(_e.Z,{exact:!0,path:"/new-releases",component:sa}),s.createElement(_e.Z,{exact:!0,path:"/latest-deals",component:da}),s.createElement(_e.Z,{exact:!0,path:"/ending-soon",component:ca}),s.createElement(_e.Z,{exact:!0,path:"/most-wanted",component:ma}),s.createElement(_e.Z,{exact:!0,path:"/recently-viewed",component:Jt}),s.createElement(_e.Z,{exact:!0,path:"/trending-deals",component:wa}),s.createElement(_e.Z,{exact:!0,path:"/full-price-games",component:va}),s.createElement(_e.Z,{exact:!0,path:"/free-to-play",component:ua}),s.createElement(_e.Z,{exact:!0,path:"/mystery",component:Ea}),s.createElement(_e.Z,{exact:!0,path:"/gift-cards/:filter(ea-play|nintendo|playstation|roblox|xbox|razer)?",component:ba}),s.createElement(_e.Z,{exact:!0,path:"/bundle/:slug",component:_t}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,componentProps:{isPreview:!0},path:"/bundle/preview/:id",component:_t}),s.createElement(_e.Z,{exact:!0,path:"/:type(game|dlc|book|comic|audio|video|software|gift-card)/:slug",component:jt}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,componentProps:{isPreview:!0},path:"/:type(game|dlc|book|comic|audio|video|software|gift-card)/preview/:id",component:jt}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/pick-and-mix/preview/:id",component:Gt}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/image/preview/:id",component:It}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/preview/featured-carousel",component:At}),s.createElement(_e.Z,{exact:!0,path:"/(game|dlc|software)/:slug/dlc",component:Wt}),s.createElement(_e.Z,{exact:!0,path:"/pick-and-mix/:slug",component:Gt}),s.createElement(_e.Z,{exact:!0,path:"/about-us",component:$t}),s.createElement(_e.Z,{exact:!0,path:"/affiliates",component:Lt}),s.createElement(_e.Z,{exact:!0,path:"/community",component:Mt}),s.createElement(_e.Z,{exact:!0,path:"/referrals",component:Bt}),s.createElement(_e.Z,{exact:!0,path:"/coupons-vouchers-codes",component:ka}),s.createElement(_e.Z,{exact:!0,path:"/cookie-policy",component:Ot}),s.createElement(_e.Z,{exact:!0,path:"/browser-extension",component:Et}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/browser-extension/uninstall",component:St}),s.createElement(_e.Z,{exact:!0,path:"/cart",component:Pt}),s.createElement(_e.Z,{exact:!0,path:"/redeem-code/",component:Yt}),s.createElement(_e.Z,{exact:!0,path:"/redeem-code/:slug",component:Yt}),s.createElement(_e.Z,{exact:!0,path:"/sidemen/",component:Yt}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/redeem-gift",component:Xt}),s.createElement(_e.Z,{exact:!0,path:"/wishlist",component:Pa}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/wishlist/sync"},s.createElement(J.l_,{to:"/wishlist?redirectFrom=/wishlist/sync"})),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/wishlist/:wishlistId",component:Pa}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/new-password",component:ct}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/fandom-auth-return",component:mt}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/billing",component:zt}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/payment",render:xa(Rt)}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/payment-return/stripe/:orderId",component:Ft}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/payment-return/:orderId/data",component:Ft}),s.createElement(_e.Z,{exact:!0,path:"/gift-guide",component:Dt}),s.createElement(_e.Z,{exact:!0,path:"/recommended",component:Kt}),s.createElement(_e.Z,{exact:!0,path:"/best-games-of-:year(2022|2023|2024|2025|2026)",component:pt}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/welcome",component:vt}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/welcome-new-user",component:bt}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/partners/hp-omen",component:yt}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/partners/hp-omen-gaming-hub",component:wt}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/newconfirm/:token1/:token2/:date",component:rt}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/email-change-confirm/:token",component:ot}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/password/reset/:token",component:st}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/login/magic/:token",component:it}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/epic-return",component:lt}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/re
1ceipt",component:Ht}),s.createElement(Ge,{exact:!0,path:"/account/login",component:We}),s.createElement(Ge,{exact:!0,path:"/account/linked-accounts",component:Ve}),s.createElement(Ge,{exact:!0,path:"/account/rewards",component:Ke}),s.createElement(Ge,{exact:!0,path:"/account/wishlist",component:Pa}),s.createElement(Ge,{exact:!0,path:"/account/wishlist/:wishlistId",component:Pa}),s.createElement(Ge,{exact:!0,path:"/account/preferencecenter",component:Je}),s.createElement(Ge,{exact:!0,path:"/account/settings",component:He}),s.createElement(Ge,{exact:!0,path:"/account/payment",component:nt}),s.createElement(Ge,{exact:!0,path:"/account/contact",component:qe}),s.createElement(Ge,{exact:!0,path:"/account",component:je}),s.createElement(Ge,{exact:!0,path:"/support",component:Ye}),s.createElement(Ge,{exact:!0,path:"/orders",component:Xe}),s.createElement(Ge,{exact:!0,path:"/orders/:id",component:Qe}),s.createElement(Ge,{exact:!0,path:"/orders/:id/:token1/:token2/:date",component:Qe}),s.createElement(Ge,{exact:!0,path:"/product-library",component:et}),s.createElement(Ge,{exact:!0,path:"/reviews",component:at}),s.createElement(Ge,{exact:!0,path:"/review/:productId",component:tt}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/optin/:token",component:ut}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/throw-error/:message?",component:xa((e=>{throw new Error(e.match.params.message)}))}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/admin-login-as/:token",component:dt}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/splittest",component:Ut}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/steam-connect-redirect",component:_a}),s.createElement(_e.Z,{exact:!0,path:"/showcase",component:na}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,path:"/showcase/:slug",component:Vt}),s.createElement(_e.Z,{exact:!0,noPrerender:!0,componentProps:{isPreview:!0},path:"/competition/preview/:id",component:qt}),s.createElement(_e.Z,{exact:!0,path:"/competition/:slug",component:qt}),s.createElement(_e.Z,{component:Na})))),s.createElement(Ae,null),s.createElement(Be.Z,null),s.createElement(Se.Z,null),s.createElement(le,null),s.createElement(Ee,null)))};Ca.displayName="AppIntl",Ca.defaultProps={siteBrand:"fanatical",disableMinHeight:!1};const Da=["/welcome-new-user","/showcase","/redeem-code","/sidemen","/payment"],Za=(0,c.$j)((e=>{let{siteTheme:t,siteBrand:a,router:{location:{pathname:n}}}=e;return{siteTheme:t,siteBrand:a,disableMinHeight:Da.some((e=>n.includes(e)))||(0,X.P9)(n)}}))(Ca);const Ia=function(){return s.createElement(H.Z,{locale:Fe,messages:ze},s.createElement(Ue.l,null,s.createElement(Te,null,s.createElement(oe.Z,null,s.createElement(Za,null)))))};var Aa=a(66545),$a=a(1947),La=a(77906),Ma=a(74167),Oa=a(94210),Ba=a(84653),Ua=a(28378),Ra=a(96560),Fa=a(65364);class za extends Error{constructor(e){super(e.message),this.name=e.name||this.constructor.name,this.message=e.message,this.stack=e.stack||e.transporterStackTrace||(new Error).stack}}function Ga(){return(0,s.useEffect)((()=>{try{Fa.Z.saveAttribution()}catch(a){(0,m.Z)((e=>{e.captureException(a)}))}if((0,Ra.Z)(),(0,Ua.Z)((e=>{e.setCustomAttribute("language",window.locale),window.version&&e.setApplicationVersion(window.version.toString())})),window.addEventListener("unhandledrejection",(e=>{if(e.reason){if(e.reason.message&&e.reason.message.match(/Loading chunk (.*) failed|promise.all is not|promise.resolve is not/)){let e=window.location.href;if(!e.includes("chunkRedirect=1"))return e=`${e}${e.includes("?")?"&":"?"}chunkRedirect=1`,window.location.href=e,!1}if(e.reason.message&&'"validUntil" parameter expired (less than current date)'===e.reason.message){let e=window.location.href;if(!e.includes("algoliaKeyExpired=1"))return e=`${e}${e.includes("?")?"&":"?"}algoliaKeyExpired=1`,window.location.href=e,!1}if(e.reason.message&&e.reason.message.match(/QuotaExceededError/)){let e=window.location.href;if(!e.includes("QuotaExceededError=1"))return e=`${e}${e.includes("?")?"&":"?"}QuotaExceededError=1`,localStorage.removeItem("recentlyViewed"),localStorage.removeItem("bsvoucher"),localStorage.removeItem("MOE_DATA"),localStorage.removeItem("anonWishlistSlugs"),localStorage.removeItem("dismissedNotifications"),localStorage.removeItem("persistedUserReview"),window.location.href=e,!1}e.reason.message&&(0,m.Z)((t=>{if(e.reason instanceof Error)return t.captureException(e.reason);const a=new za(e.reason);return t.captureException(a)}))}return!1})),!(0,O.Z)()){let e;e=setInterval((()=>{document.querySelector("#honeyContainer")&&(E.default.dispatch({type:"frontend/auth/DETECT_HONEY",payload:{hasHoney:!0}}),clearInterval(e))}),4e3);const t=e=>{const t=E.default.getState(),a=(t.exitIntentState.leftBrowserStarDeal,t.starDeal,t.router.location.pathname),n=f()(t,"starDeal.slug");let r=!1;(j()(a,"/orders")||j()(a,"/account")||j()(a,n))&&(r=!0)};document.addEventListener("mouseout",(e=>{null!==e.toElement&&null!==e.relatedTarget&&t(!1)})),document.addEventListener("mouseout",(e=>{const a=E.default.getState(),n=null===a.starDeal,r=a.exitIntentState||!1,o=a.cart||{};if((null===e.toElement||void 0===e.toElement)&&null===e.relatedTarget&&e.pageY-window.pageYOffset<10){const e=localStorage.getItem("exitIntentStarDeal"),i=localStorage.getItem("lastSeenStarDeal"),s=localStorage.getItem("exitIntentEmailCart"),l=localStorage.getItem("exitIntentFandom"),c=localStorage.getItem("answeredFandomExitIntent"),d=f()(window,"navigator.platform"),m=Aa.Z.newUser(),p=(0,u.Z)("utm_source"),h=["/cart","/checkout","/payment","/receipt","/account","/redeem-code","/sidemen"],g=a.router.location.pathname,y=864e5,w=7*y;"en"!==window.locale||d.includes("Linux")||!m||"fandom"!==p.toLowerCase()||c||l&&!(l&&Date.now()-l>y)||(E.default.dispatch((0,$a.CR)(!0)),localStorage.setItem("exitIntentFandom",Date.now()));let v=!1;e&&Date.now()-e>y&&(v=!0);let b=!1;i&&Date.now()-i<w&&(b=!0);let S=!1;(!e&&i||v&&b)&&(S=!0,t(!0),n||localStorage.setItem("exitIntentStarDeal",Date.now()));const{starDeal:_}=a,k=!1;if(_&&_.slug&&!h.some((e=>g.startsWith(e)))&&k){(JSON.parse(localStorage.getItem("lastViewedStarDeal"))||{}).slug!==_.slug&&(E.default.dispatch((0,Ma.EI)()),localStorage.setItem("lastViewedStarDeal",JSON.stringify({slug:_.slug,viewedAt:(new Date).toISOString()})))}let P=!1;Date.now()+y-s<y&&!a.auth.authenticated&&(P=!0),S||V()(o.items)||!P&&s||a.auth.authenticated||!r.leftBrowserEmailCart&&"en"===window.locale&&j()(g,"/cart")&&(E.default.dispatch((0,$a.j5)(!0)),localStorage.setItem("exitIntentEmailCart",Date.now()))}}))}const e=document.getElementById("root"),t=document.getElementById("skeleton");if(e&&e.style&&(e.style.display="block"),t&&(t.innerHTML=""),!(0,O.Z)()){const e=async e=>{const t=(0,La.Rd)(e.credential);await E.default.dispatch((0,La.Tm)(t));const a=E.default.getState(),n=f()(a,"auth.email_newsletter"),r=f
1()(a,"auth.challenge.type");"twoFactor"===r&&E.default.dispatch((0,Ma.Mo)()),E.default.dispatch({type:"frontend/auth/AUTH_LOG",payload:{action:"Google one tap - sign in"}}),localStorage.setItem("isGoogleOneTapUser",!0),n||"twoFactor"===r||E.default.dispatch((0,Ma.Mo)("newsletter"))};if(!window.google||!window.google.accounts){const t=document.createElement("script");t.src="https://accounts.google.com/gsi/client",t.async=!0,t.defer=!0,t.addEventListener("load",(()=>{"undefined"!==typeof google&&google.accounts&&google.accounts.id.initialize({client_id:_.gcp.authClientId,cancel_on_tap_outside:!1,callback:e,prompt_parent_id:"g_id_onload"})})),document.body.appendChild(t)}}if(!(0,O.Z)()){const e=(0,u.Z)("partnerBrand");e&&("fanatical"!==e&&localStorage.setItem("lastSeenCoBranding",Date.now()),"acer"===e&&((0,Ba.CL)("acer"),(0,Oa.p)("light")),"gamespot"===e&&((0,Ba.CL)("gamespot"),(0,Oa.p)("light")),"box"===e&&((0,Ba.CL)("box"),(0,Oa.p)("light")),"chilliblast"===e&&((0,Ba.CL)("chilliblast"),(0,Oa.p)("dark")),"razer"===e&&((0,Ba.CL)("razer"),(0,Oa.p)("dark")),"powercolor"===e&&((0,Ba.CL)("powercolor"),(0,Oa.p)("dark")),"ccl"===e&&((0,Ba.CL)("ccl"),(0,Oa.p)("light")),"insidetech"===e&&((0,Ba.CL)("insidetech"),(0,Oa.p)("light")),"stormforcegaming"===e&&((0,Ba.CL)("stormforce"),(0,Oa.p)("dark")),"hpomen"===e&&((0,Ba.CL)("hpomen"),(0,Oa.p)("dark")),"bundlestars"===e&&((0,Ba.CL)("bundlestars"),(0,Oa.p)("dark")),"fanatical"===e&&(0,Ba.CL)("fanatical"));const t=3*864e5,a=localStorage.getItem("lastSeenCoBranding");a&&Date.now()-a>t&&(0,Ba.CL)("fanatical")}window.addEventListener("load",(()=>{"requestIdleCallback"in window?requestIdleCallback((()=>{(0,q.J)(_.stripePublicKey,{locale:(0,z.getStripeLocale)(window.locale)})}),{timeout:5e3}):setTimeout((()=>{(0,q.J)(_.stripePublicKey,{locale:(0,z.getStripeLocale)(window.locale)})}),200)}))}),[]),s.createElement(Ia,null)}a(22298);window.setServerSideCookie=F.U;const ja=!!document.querySelector("html").className.match("translated");if("frontend.fanatical.com"===window.location.hostname)throw window.location.hostname="www.fanatical.com",new Error("Direct access to 'frontend.fanatical.com' not allowed");if("frontend-prelive.fanatical.com"===window.location.hostname)throw window.location.hostname="prelive.fanatical.com",new Error("Direct access to 'frontend-prelive.fanatical.com' not allowed");if(window.location.href.includes("translate.googleusercontent.com")){const e=(0,z.getByCode)((0,u.Z)("tl"))?(0,z.getByCode)((0,u.Z)("tl")).code:"en";if((0,u.Z)("u")){const t=(0,u.Z)("u").replace("https://www.fanatical.com/en/","");throw window.location.href=`https://www.fanatical.com/${e}/${t}`,new Error("Redirecting from google translate to local language")}throw window.location.href=`https://www.fanatical.com/${e}`,new Error("Redirecting from google translate to english language with no page")}if(window.location.href.includes("featured-carousel")&&localStorage.removeItem("language"),localStorage.getItem("language")){let e=localStorage.getItem("language");const t=(0,z.getAll)()||[];e&&!t.find((t=>t.code===JSON.parse(e).code))&&(e='{"code":"en","label":"English","nativeLabel":"English","default":true}',localStorage.setItem("language",e));const a=JSON.parse(e).code,n=window.locale,r=window.location.pathname.replace(`/${n}`,"");if(a&&(0,z.getByCode)(a)&&n&&a!==n&&!window.location.search.includes("langRedirect")&&!window.location.href.includes("featured-carousel")){const e=document.referrer,t=`${window.location.search?`${window.location.search}&`:"?"}langRedirect=${n}${e?`&langRedirectRef=${btoa(e).replace(/=/g,"")}`:""}`;throw window.location.href=`${window.location.origin}/${a}${r}${t}`,new Error("Redirecting to local language")}}let Wa=!1;ja&&document.addEventListener("DOMSubtreeModified",(e=>{if("HTML"===e.target.tagName&&!Wa&&e.target.className.match("translated")&&(Wa=!0,"function"===typeof Node&&Node.prototype)){const e=Node.prototype.removeChild;Node.prototype.removeChild=function(t){return t.parentNode!==this?(console&&console.error("Cannot remove a child from a different parent",t,this),t):e.apply(this,arguments)};const t=Node.prototype.insertBefore;Node.prototype.insertBefore=function(e,a){return a&&a.parentNode!==this?(console&&console.error("Cannot insert before a reference node",a,this),e):t.apply(this,arguments)}}}),!0);try{if(localStorage.setItem("localStorageTest","test"),"test"!==localStorage.getItem("localStorageTest"))throw new Error("Value doesn't match");localStorage.removeItem("localStorageTest"),window.location.href.includes("reset-basket")&&localStorage.removeItem("bsanonymous")}catch(Va){(0,m.Z)((e=>{e.captureException(new Error("Local Storage not available"))}))}if("ontouchstart"in window||"ontouch"in window?window.touchEnabled=!0:window.touchEnabled=!1,k())console.error("Browser unsupported");else{const e=document.getElementById("root");(0,l.a)(e,s.createElement(R,null,s.createElement(c.zt,{store:E.default},s.createElement(Ga,null)))),setTimeout((()=>{try{a.e(88).then(a.t.bind(a,51065,23))}catch(e){console.error("sp import failed",e)}}),500);const t=e=>{let{name:t,value:a,delta:n,entries:r,id:o,...i}=e;"www.fanatical.com"!==window.location.hostname?console.info(`Core Web Vitals - ${t}`,{name:t,value:a,delta:n,entries:r,id:o,...i}):E.default.dispatch({type:"WEB_VITAL",payload:{name:t,value:a,delta:n,id:o}})};(0,d.mw)(t),(0,d.a4)(t),(0,d.mr)(t),(0,d.Yn)(t),(0,d.NO)(t)}},84240:e=>{"use strict";e.exports=JSON.parse('{"nodeEnv":"production","isDevelopment":false,"appUrl":"www.fanatical.com","apiProtocol":"https","appProtocol":"https","apiUrl":"www.fanatical.com/api","cdnUrl":"https://fanatical.imgix.net","videoCdnUrl":"https://video.fanatical.com/videos/","cdnExtUrl":"https://cdn-ext.fanatical.com/production","srcCdnUrl":"https://cdn.fanatical.com/production","algolia":{"indexName":"fan"},"defaultCountry":"GB","defaultLanguage":"en","lightboxSubscribe":true,"gcp":{"authClientId":"670578422488-chc8098u5tglr30cpum15bojae4f626i.apps.googleusercontent.com","reCaptcha3PublicKey":"6LfGZ74pAAAAACfpKy3U-ba7y9HWKQcyoXampSzX","reCaptcha2PublicKey":"6LfQZ74pAAAAADXOpGBI4YVHRkm_Yb377d1GCdwP","placesPublicKey":"AIzaSyBPyumkYfL_xUxKHBJ3s48AEmFMaSm1LgU"},"ubisoft":{"appId":"59adae69-0388-4a38-bd8c-1f5cb3a714ef","genomeId":"1c9bd6ad-a1f8-4f98-8738-0d90bebdaa94"},"facetsForVouchers":["collections","franchises","publishers"],"ratelimit":{"limit":60,"interval":60,"algoliaLimit":15,"algoliaInterval":60},"giftCardCountries":["GB","DE","FR","ES","US"],"supportUrl":"https://support.fanatical.com/hc","productDlcPageThreshold":4,"percentRecommendedThreshold":75,"steamPercentThreshold":70,"enabledLanguages":["en","de","fr","es","pt","pl","hu","it","ja","ko","nl","sv","tr","ru","zh-hans","zh-hant"],"homePublishers":true,"homeRecentlyViewed":true,"billingRequiredCountries":["US","CA"],"stripePublicKey":"pk_live_51RmBrF2LkuoegwaKC1Cg2ThcHyCvHFRUQT0BS8fN9YWwqTpbZpw8uBTgIttXVeSmxttF8zqbSU9u5WkGmerNtpIv00lSWE0eVj","enhanceItemLists":false,"linkBundleCarouselTags":false,"userTags":{"userScoreThreshold":5},"seoTitleSavingProducts":["football-manager-2023"],"mysteryUpsellProductId":"631207492b244b007648dfa1","facebookAppId":"300363992138237","paypalClientId":"AcLsEcTQDXWtFa_L0oVNj1ook14CEhLcX2AelXTQ_1B_oOEJKigln5Y9J27U_Wju3ozQgQ5X2MLyzeV0","wishlistCap":2000,"trustpilot":{"total":76380,"stars":4.5,"trustScore":4.6},"firebase":{"apiKey":"AIzaSyB7LFeGCTCer6KixtdW-qHnFeswoBWSlfo","authDomain":"iterable-webpush-prod.firebaseapp.com","projectId":"iterable-webpush-prod","storageBucket":"iterable-webpush-prod.appspot.com","messagingSenderId":"4251474956","appId":"1:4251474956:web:989723f3f13f38af00e229"},"maxGiveawayActions":10,"bannedRegions":["AL","BH","BY","IM","KE","MC","MD","PY","RU","CU","KP","SY"]}')}}]);
2//# sourceMappingURL=main~7aeafcb2.ac1d492b.js.map

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.