/*! For license information please see 9363.d4bbfc9f.js.LICENSE.txt */ (self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[9363],{683:(e,t,n)=>{"use strict";n.d(t,{Cj:()=>v,W3:()=>l,bN:()=>d,bm:()=>p,h4:()=>s,n2:()=>g,y5:()=>m,yH:()=>c,zk:()=>f});var r=n(43223),a=n(87450),o=n(4048),i=n(76288);function s(e,t=[]){return[e,t]}function l(e,t){const[n,r]=e;return[n,[...r,t]]}function c(e,t){const n=e[1];for(const r of n){if(t(r,r[0].type))return!0}return!1}function u(e){const t=(0,r.Se)(i.O);return t.encodePolyfill?t.encodePolyfill(e):(new TextEncoder).encode(e)}function d(e){const[t,n]=e;let r=JSON.stringify(t);function a(e){"string"===typeof r?r="string"===typeof e?r+e:[u(r),e]:r.push("string"===typeof e?u(e):e)}for(const s of n){const[e,t]=s;if(a(`\n${JSON.stringify(e)}\n`),"string"===typeof t||t instanceof Uint8Array)a(t);else{let e;try{e=JSON.stringify(t)}catch(i){e=JSON.stringify((0,o.S8)(t))}a(e)}}return"string"===typeof r?r:function(e){const t=e.reduce(((e,t)=>e+t.length),0),n=new Uint8Array(t);let r=0;for(const a of e)n.set(a,r),r+=a.length;return n}(r)}function m(e){return[{type:"span"},e]}function p(e){const t="string"===typeof e.data?u(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const h={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",otel_log:"log_item"};function f(e){return h[e]}function v(e){if(!e?.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function g(e,t,n,r){const o=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:(0,a.SB)(r)},...o&&{trace:o}}}},727:(e,t,n)=>{"use strict";n.d(t,{QN:()=>a,RC:()=>o,vL:()=>r});const r="ContentPage",a="content",o="https://assets.adobedtm.com/launch-ENbcb8955aa2f84046af210e3226cdda04.min.js"},1199:(e,t,n)=>{"use strict";n.d(t,{nS:()=>a.n,ag:()=>r,J9:()=>o.J});var r,a=n(26253);!function(e){e.LeftClick="CL",e.MiddleClick="CM",e.RightClick="CR",e.Scroll="S",e.Zoom="Z",e.Resize="R",e.KeyboardEnter="KE",e.KeyboardSpace="KS",e.GamepadA="CGA",e.GamepadMenu="CGM",e.Automatic="A",e.AutomaticTimer="AT",e.Other="O"}(r||(r={}));var o=n(45050)},2013:(e,t,n)=>{"use strict";e.exports=n.p+"static/media/XboxGamePassDark.b46827bb.png"},2170:(e,t,n)=>{"use strict";n.d(t,{E1:()=>d,JD:()=>i,Lc:()=>p,Le:()=>u,Sn:()=>l,fs:()=>s,i_:()=>r,jG:()=>m,sy:()=>a,uT:()=>o,xc:()=>c});const r="sentry.source",a="sentry.sample_rate",o="sentry.op",i="sentry.origin",s="sentry.idle_span_finish_reason",l="sentry.measurement_unit",c="sentry.measurement_value",u="sentry.custom_span_name",d="sentry.profile_id",m="sentry.exclusive_time",p="sentry.link.type"},2750:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(85608),a=n(14041);const o=function(e){var{title:t,titleId:n}=e,o=(0,r.__rest)(e,["title","titleId"]);return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},o),t?a.createElement("title",{id:n},t):null,a.createElement("path",{d:"M1955 1533l-931-930-931 930-90-90L1024 422l1021 1021-90 90z"}))}},3068:(e,t,n)=>{"use strict";n.d(t,{E_:()=>s,IO:()=>i,Pe:()=>u,Xl:()=>l,a6:()=>p,bO:()=>a,nm:()=>m,q8:()=>c,wn:()=>d,x2:()=>h,x7:()=>o});var r=function(e){return"@@redux-saga/"+e},a=r("CANCEL_PROMISE"),o=r("CHANNEL_END"),i=r("IO"),s=r("MATCH"),l=r("MULTICAST"),c=r("SAGA_ACTION"),u=r("SELF_CANCELLATION"),d=r("TASK"),m=r("TASK_CANCEL"),p=r("TERMINATE"),h=r("LOCATION")},3213:(e,t,n)=>{"use strict";n.d(t,{F7:()=>u,Ic:()=>h,Wt:()=>d,YU:()=>i,df:()=>l,fY:()=>p,pK:()=>c,rm:()=>s,ub:()=>m});var r=n(95428),a=n(68359);const o=e=>(0,r.aMA)(e,a.QN),i=e=>o(e).cart,s=e=>o(e).install,l=e=>o(e).products,c=e=>o(e).wishlist,u=e=>o(e).channels,d=e=>o(e).contextualStore,m=e=>o(e).searchPromotions,p=e=>o(e).filters,h=e=>o(e).userSettings},3667:(e,t,n)=>{"use strict";n.d(t,{A:()=>M,B:()=>g,C:()=>R,D:()=>b,E:()=>c,F:()=>B,G:()=>z,J:()=>F,K:()=>$,L:()=>Z,M:()=>te,N:()=>Y,P:()=>L,R:()=>O,S:()=>H,T:()=>N,U:()=>ae,Y:()=>J,_:()=>K,a:()=>D,a1:()=>ee,a3:()=>ne,a6:()=>re,b:()=>U,d:()=>V,e:()=>A,f:()=>G,g:()=>q,h:()=>X,i:()=>_,j:()=>T,k:()=>s,l:()=>P,m:()=>y,n:()=>x,o:()=>p,p:()=>u,q:()=>v,r:()=>m,s:()=>C,t:()=>l,u:()=>d,v:()=>w,y:()=>S,z:()=>E});var r=n(3068),a=n(89575),o=n(54860),i=n(71344),s=function(e){return function(){return e}}(!0),l=function(){};var c=function(e){return e};"function"===typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var u=function(e,t){(0,a.A)(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(n){e[n]=t[n]}))},d=function(e,t){var n;return(n=[]).concat.apply(n,t.map(e))};function m(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}function p(e){var t=!1;return function(){t||(t=!0,e())}}var h=function(e){throw e},f=function(e){return{value:e,done:!0}};function v(e,t,n){void 0===t&&(t=h),void 0===n&&(n="iterator");var r={meta:{name:n},next:e,throw:t,return:f,isSagaIterator:!0};return"undefined"!==typeof Symbol&&(r[Symbol.iterator]=function(){return r}),r}function g(e,t){var n=t.sagaStack;console.error(e),console.error(n)}var _=function(e){return new Error("\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n Error: "+e+"\n")},y=function(e){return Array.apply(null,new Array(e))},b=function(e){return function(t){return e(Object.defineProperty(t,r.q8,{value:!0}))}},E=function(e){return e===r.a6},S=function(e){return e===r.nm},C=function(e){return E(e)||S(e)};function P(e,t){var n=Object.keys(e),r=n.length;var a,i=0,s=(0,o.YO)(e)?y(r):{},c={};return n.forEach((function(e){var n=function(n,o){a||(o||C(n)?(t.cancel(),t(n,o)):(s[e]=n,++i===r&&(a=!0,t(s))))};n.cancel=l,c[e]=n})),t.cancel=function(){a||(a=!0,n.forEach((function(e){return c[e].cancel()})))},c}function T(e){return{name:e.name||"anonymous",location:w(e)}}function w(e){return e[r.x2]}var I={isEmpty:s,put:l,take:l};function k(e,t){void 0===e&&(e=10);var n=new Array(e),r=0,a=0,o=0,i=function(t){n[a]=t,a=(a+1)%e,r++},s=function(){if(0!=r){var t=n[o];return n[o]=null,r--,o=(o+1)%e,t}},l=function(){for(var e=[];r;)e.push(s());return e};return{isEmpty:function(){return 0==r},put:function(s){var c;if(r1?t-1:0),r=1;r1?t-1:0),r=1;r1?t-1:0),r=1;r1?t-1:0),r=1;r{"use strict";n.d(t,{DQ:()=>S,Eg:()=>p,F8:()=>f,Fu:()=>d,MD:()=>h,Mj:()=>E,XK:()=>g,_c:()=>b,ai:()=>T,cc:()=>w,pz:()=>C,vP:()=>v,w$:()=>I,xx:()=>_});var r=n(41506),a=n.n(r),o=(n(95570),n(68291),n(16725),n(14297),n(65136),n(93848),n(64552),n(83878)),i=n(88262),s=n(48827),l=n(43830),c=n(51077);const u={},d=(0,o.Mz)(c.HV,(e=>{var t;return a()(a()(a()({},e.environmentFeatureGates),null!==(t=(0,i.getDataOrPrevious)(e.expFeatureGates))&&void 0!==t?t:u),e.overrideFeatureGates)})),m=e=>{var t;return null===(t=v(e))||void 0===t?void 0:t.flights},p=e=>(0,c.HV)(e).environmentFeatureGates,h=e=>{var t;return null!==(t=(0,i.getDataOrPrevious)((0,c.HV)(e).expFeatureGates))&&void 0!==t?t:u},f=e=>(0,c.HV)(e).overrideFeatureGates,v=e=>(0,i.getDataOrPrevious)((0,c.HV)(e).experimentationInfo),g=e=>(0,c.HV)(e).experimentationInfo,_=(e,t)=>t?e[t.toLowerCase()]:void 0,y=(e,t)=>_(d(e),t),b=(e,t)=>{const n=y(e,t);if("string"===typeof n)return n},E=(e,t)=>{const n=y(e,t);if("number"===typeof n)return n},S=(e,t)=>{const n=y(e,t);if("boolean"===typeof n)return n},C=(e,t)=>{const n=d(e);return P(n,t)},P=(e,t)=>!0===_(e,t),T=e=>{const t=m(e);let n="";return t&&(n=(0,l.iD)(t)),n},w=e=>{const t=m(e);let n=[];return t&&(n=t.filter((e=>e.toLowerCase().includes("sc_")))),n},I=e=>Object.values(s.WT).filter((e=>e.toLowerCase().includes("buynowexpid"))).reduce(((t,n)=>{const r=b(e,n);return r&&t.push(r),t}),[])},3904:(e,t,n)=>{"use strict";n.d(t,{Wy:()=>H,_F:()=>V,ff:()=>le,uE:()=>h,yD:()=>f,jN:()=>G,e2:()=>q,kV:()=>se,qg:()=>fe,Pd:()=>_,K1:()=>g,Lz:()=>y,jb:()=>v,JS:()=>r.J,VM:()=>re,GV:()=>ee.GV,aw:()=>Te,ic:()=>B,Yj:()=>j,GP:()=>p.GP,iD:()=>ee.iD,vv:()=>K,Oz:()=>p.Oz,l_:()=>c,kQ:()=>u,Oe:()=>Pe.O,x6:()=>pe,at:()=>be.a,Uq:()=>te.U,cs:()=>Ee,PT:()=>Se,SH:()=>m.S,RJ:()=>te.R,b0:()=>Ce.b,X2:()=>D,PE:()=>be.P,VT:()=>Y,j4:()=>ie,B:()=>I,CH:()=>A,d6:()=>F,xJ:()=>ee.xJ,tc:()=>p.tc,td:()=>p.td,Y9:()=>ae,XB:()=>ne,q3:()=>Z.q,r7:()=>ue.r7,q6:()=>p.q6,bv:()=>p.bv,Mn:()=>ge.M,HR:()=>ue.HR,UV:()=>ee.UV,TV:()=>X,Q_:()=>x,_W:()=>L,m$:()=>w,ww:()=>k,xr:()=>N,Az:()=>U,Y2:()=>he,Ig:()=>ce,IT:()=>d,nW:()=>ye,B1:()=>ee.B1,YO:()=>ue.YO,wj:()=>ve.wj,VO:()=>z});var r=n(69669),a=n(14041),o=n(16239),i=(n(66264),n(93831),n(34237),n(28882),n(45993),n(25152),n(28344),n(83718)),s=n(86090),l=n(7851);n(93760),n(17),n(65136),n(57485),n(93262);const c=(e,t)=>{let n;const r=t.toLowerCase();return e.forEach(((e,t)=>{n||r!==t.toLowerCase()||(n={value:e,originalKey:t})})),n},u=function(e){const t={};e.forEach(((e,n)=>t[n.toLowerCase()]={value:e,originalKey:n}));for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;at[e.toLowerCase()]))},d=e=>{var t;const n=(0,s.zy)(),r=new URLSearchParams(n.search);return null===(t=c(r,e))||void 0===t?void 0:t.value};var m=n(82814),p=n(18872);const h="https://account.microsoft.com/billing/orders",f="https://www.microsoft.com",v="https://www.xbox.com",g="XboxInstaller.exe",_="https://aka.ms/XboxInstaller",y=`https://dlassets-ssl.xboxlive.com/public/content/XboxInstaller/${g}?productId={0}`,b="/auth/msa?action=logIn&returnUrl={returnUrl}",E="sandboxId",S=e=>{let t=e;let n=0;for(;n<10;){let e;try{e=decodeURIComponent(t)}catch(r){break}if(e===t)break;t=e,n++}return encodeURIComponent(t)},C=e=>function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(0,p.tc)(b,{returnUrl:S(t)});const{coBrandEnable:a,coBrandId:o,sandboxId:i,prompt:s}=n;return a&&o&&(r+=`&cobrandid=${o}`),i&&(r+=`&sandboxId=${i}`),s&&(r+=`&prompt=${s}`),e?`/${e}${r}`:r},P=e=>(t,n)=>{let r=(0,p.tc)("/auth/msa?action=logOut&returnUrl={returnUrl}",{returnUrl:S(t)});return n&&(r+=`&sandboxId=${n}`),e?`/${e}${r}`:r},T=e=>(t,n)=>C(e)(t,{sandboxId:n}),w=()=>{const e=(0,s.zy)(),t=(0,i.d4)(l.a5),n=(0,i.d4)(l.GY).origin;if(!(0,m.S)())return window.location.href;const r=new URL(`/${t}${e.pathname}`,n);return r.search=e.search,r.toString()},I=e=>C(e),k=()=>{const e=(0,i.d4)(l.a5);return I(e)},x=e=>{const t=w(),n=d(E),r=(0,i.d4)(l.a5);return I(r)(e||t,{sandboxId:n})},A=e=>P(e),N=()=>{const e=(0,i.d4)(l.a5);return A(e)},L=e=>{const t=w(),n=d(E),r=(e=>T(e))((0,i.d4)(l.a5));return r(e||t,n)},M="/account/signin",O="/account/signout",R="/accountcreation";function D(e){return"https://account.xbox.com"===e.origin&&[M,O,R].includes(e.pathname.toLowerCase())}function B(e,t){var n,r;if(!D(e))throw new Error("URL is not a V1 auth URL.");const a=e.pathname.toLowerCase(),o=null!==(n=e.searchParams.get("sbx"))&&void 0!==n?n:void 0,i=null!==(r=e.searchParams.get("cobrandid"))&&void 0!==r?r:void 0,s=window.location.href;if(a===M)return C(t)(s,{sandboxId:o,coBrandId:i,coBrandEnable:void 0!==i});if(a===O)return P(t)(s,o);if(a===R)return T(t)(s,o);throw new Error(`Unexpected path name: "${a}"`)}const F=e=>{const t=I(e);return e=>t(e,{sandboxId:void 0,coBrandEnable:!0,coBrandId:o.J.gamepassPC})},U=()=>{const e=k();return(0,a.useCallback)((t=>e(t,{sandboxId:void 0,coBrandEnable:!0,coBrandId:o.J.gamepassPC})),[e])};n(7680),n(4600),n(26047),n(25601),n(90574);const H="3PAdsOptOut",V="cartMuid",G="MSCC",q="MUID",z=".xbox.com";function X(e){let{name:t,value:n,expires:r,path:a,domain:o,secure:i,sameSite:s,sessionCookie:l}=e;const c=r instanceof Date?r:(e=>{const t=new Date;return t.setDate(t.getDay()+(e||45)),t})(45),u=null!==a&&void 0!==a?a:"/",d=null===i||void 0===i||i,m=null!==o&&void 0!==o?o:window.location.hostname;let p=`${t}=${n}`;!0!==l&&(p+=`; expires=${c.toUTCString()}`),p+=`; path=${u}`,p+=`; domain=${m}`,d&&(p+="; secure"),s&&(p+=`; samesite=${s}`),document.cookie=p}function j(e,t,n){(function(e){return document.cookie.split("; ").some((t=>t.startsWith(`${e}=`)))})(e)&&(document.cookie=`${e}=${t?`;path=${t}`:""}${n?`;domain=${n}`:""};expires=Thu, 01 Jan 1970 00:00:00 GMT`)}n(56460),n(98304);const W=JSON.parse('{"usd~en-us~us":["$",",",".","2",""],"eur~de-de~de":["",".",",","2"," \u20ac"],"gbp~en-gb~gb":["\xa3",",",".","2",""],"brl~pt-br~br":["R$",".",",","2",""],"eur~fr-fr~fr":["","\xa0",",","2"," \u20ac"],"eur~it-it~it":["",".",",","2"," \u20ac"],"mxn~es-mx~mx":["$",",",".","2",""],"jpy~ja~jp":["\xa5",",","","0",""],"rub~ru~ru":["","\xa0",",","2"," \u20bd"],"aud~en-au~au":["$",",",".","2",""],"cad~en-ca~ca":["$",",",".","2",""],"eur~es-es~es":["",".",",","2"," \u20ac"],"cny~zh-hans-cn~cn":["\xa5",",",".","2",""],"eur~nl-nl~nl":["\u20ac ",".",",","2",""],"pln~pl~pl":["","\xa0",",","2"," z\u0142"],"chf~de-ch~ch":["CHF ","\'",".","2",""],"try~tr~tr":["",".",",","2"," \u20ba"],"ars~es-ar~ar":["$ ",".",",","2",""],"cad~en-us~ca":["$",",",".","2",""],"cny~zh-cn~cn":["\xa5",",",".","2",""],"vnd~vi~vn":["",".",",","2"," \u20ab"],"czk~cs~cz":["","\xa0",",","2"," K\u010d"],"inr~en-in~in":["\u20b9 ",",",".","2",""],"cad~fr-ca~ca":["","\xa0",",","2"," $"],"sek~sv-se~se":["",".",",","2"," kr"],"dkk~da~dk":["",".",",","2"," kr."],"eur~pt-pt~pt":["","\xa0",",","2"," \u20ac"],"gbp~en-us~gb":["\xa3",",",".","2",""],"eur~de-at~at":["\u20ac ",".",",","2",""],"krw~ko~kr":["\u20a9",",","","0",""],"eur~nl-be~be":["\u20ac ",".",",","2",""],"nok~nb~no":["kr ","\xa0",",","2",""],"mxn~es-es~mx":["$",",",".","2",""],"huf~hu~hu":["","\xa0",",","2"," HUF"],"aud~en-us~au":["$",",",".","2",""],"eur~fr-be~be":["",".",",","2"," \u20ac"],"eur~fi~fi":["","\xa0",",","2"," \u20ac"],"cop~es-co~co":["$",".","","0",""],"clp~es-cl~cl":["$",".","","0",""],"nzd~en-nz~nz":["$",",",".","2",""],"chf~fr-ch~ch":["CHF ","\xa0",".","2",""],"twd~zh-hant-tw~tw":["NT$",",",".","2",""],"ars~es-es~ar":["$ ",".",",","2",""],"usd~en-gb~us":["$",",",".","2",""],"pen~es-pe~pe":["S/.",",",".","2",""],"idr~id~id":["Rp",".","","0",""],"eur~en-ie~ie":["\u20ac",",",".","2",""],"eur~el~gr":["",".",",","2"," \u20ac"],"eur~de-de~at":["\u20ac ",".",",","2",""],"inr~en-us~in":["\u20b9 ",",",".","2",""],"idr~en-us~id":["Rp",".","","0",""],"eur~sk~sk":["","\xa0",",","2"," \u20ac"],"zar~en-za~za":["R","\xa0",",","2",""],"vnd~en-us~vn":["\u20ab",",",".","2",""],"php~en-ph~ph":["\u20b1",",",".","2",""],"ils~he~il":["\u202a\u20aa\u200e",",",".","2","\u202c"],"sar~ar-sa~sa":["\u202a\u0631.\u0633.\u200f\u200e",",",".","2","\u202c"],"ron~ro-ro~ro":["",".",",","2"," RON"],"usd~en-ca~us":["$",",",".","2",""],"uah~ru~ua":["","\xa0",",","2"," \u20b4"],"hkd~zh-hant-hk~hk":["HK$",",",".","2",""],"usd~es-ec~ec":["$",".",",","2",""],"thb~th~th":["\u0e3f",",",".","2",""],"sgd~en-sg~sg":["SG$",",",".","2",""],"mxn~en-us~mx":["$",",",".","2",""],"uah~es-es~ua":["","\xa0",",","2"," \u20b4"],"rub~en-us~ru":["","\xa0",",","2"," \u20bd"],"usd~pt-br~us":["",".",",","2"," $"],"chf~de-de~ch":["CHF ","\'",".","2",""],"usd~en-in~us":["$",",",".","2",""],"crc~es-cr~cr":["\u20a1",".","","0",""],"eur~es-mx~es":["",".",",","2"," \u20ac"],"cny~en-us~cn":["\xa5",",",".","2",""],"hrk~hr-hr~hr":["",".",",","2"," kn"],"usd~ru~us":["",".",",","2"," $"],"cad~fr-fr~ca":["","\xa0",",","2"," $"],"brl~en-us~br":["R$",".",",","2",""],"egp~ar-eg~eg":["\u202a\u062c.\u0645.\u200f\u200e",",",".","3","\u202c"],"eur~en-us~nl":["\u20ac ",".",",","2",""],"eur~en-us~de":["",".",",","2"," \u20ac"],"eur~sl~si":["",".",",","2"," \u20ac"],"eur~de-at~de":["",".",",","2"," \u20ac"],"nzd~en-us~nz":["$",",",".","2",""],"twd~zh-tw~tw":["NT$",",",".","2",""],"usd~zh-cn~us":["",".",",","2"," $"],"aud~en-gb~au":["$",",",".","2",""],"usd~es-us~us":["$",",",".","2",""],"cop~es-es~co":["$",".","","0",""],"myr~en-my~my":["RM",",",".","2",""],"eur~fr-fr~be":["",".",",","2"," \u20ac"],"uah~en-us~ua":["","\xa0",",","2"," \u20b4"],"eur~nl-nl~be":["\u20ac ",".",",","2",""],"idr~en-id~id":["Rp",".","","0",""],"gbp~pl~gb":["\xa3",",",".","2",""],"usd~en-us~ae":["$",",",".","2",""],"usd~es-mx~us":["",".",",","2"," $"],"eur~en-us~gr":["",".",",","2"," \u20ac"],"uah~ko~ua":["","\xa0",",","2"," \u20b4"],"uah~uk~ua":["","\xa0",",","2"," \u20b4"],"usd~ko~us":["",".",",","2"," $"],"bgn~bg~bg":["","\xa0",",","2"," \u043b\u0432."],"zar~en-us~za":["R","\xa0",",","2",""],"inr~en-gb~in":["\u20b9 ",",",".","2",""],"usd~es-ve~ve":["$",",",".","2",""],"ils~en-us~il":["\u20aa",",",".","2",""],"clp~es-es~cl":["$",".","","0",""],"eur~en-my~de":["",".",",","2"," \u20ac"],"nok~nb-no~no":["kr ","\xa0",",","2",""],"ron~en-us~ro":["",".",",","2"," RON"],"usd~vi~us":["",".",",","2"," $"],"usd~de-de~us":["",".",",","2"," $"],"php~en-us~ph":["\u20b1",",",".","2",""],"rsd~sr-latn-rs~rs":["",".","","0"," RSD"],"eur~fi-fi~fi":["","\xa0",",","2"," \u20ac"],"usd~en-au~us":["$",",",".","2",""],"usd~es-es~ve":["$",",",".","2",""],"eur~en-gb~de":["",".",",","2"," \u20ac"],"eur~en-us~fr":["","\xa0",",","2"," \u20ac"],"usd~es-es~us":["",".",",","2"," $"],"eur~et~ee":["","\xa0",",","2"," \u20ac"],"jpy~en-us~jp":["\xa5",",","","0",""],"eur~lt~lt":["","\xa0",",","2"," \u20ac"],"pen~es-es~pe":["S/.",",",".","2",""],"pkr~en-us~pk":["Rs",",","","0",""],"usd~ar-sa~us":["",".",",","2"," $"],"usd~es-gt~gt":["$",",",".","2",""],"jpy~ja-jp~jp":["\xa5",",","","0",""],"sek~en-us~se":["","\xa0",",","2"," kr"],"eur~en-us~it":["",".",",","2"," \u20ac"],"eur~en-us~ie":["\u20ac",",",".","2",""],"usd~ru~by":["$",",",".","2",""],"usd~es-uy~uy":["$",",",".","2",""],"usd~es-es~ec":["$",".",",","2",""],"eur~de-ch~de":["",".",",","2"," \u20ac"],"vnd~pt-br~vn":["\u20ab",",",".","2",""],"chf~en-us~ch":["CHF ",".",",","2",""],"usd~fa~us":["",".",",","2"," $"],"chf~it-ch~ch":["CHF ","\'",".","2",""],"jod~ar-jo~jo":["\u202a\u062f.\u0627.\u200f\u200e",",",".","3","\u202c"],"usd~es-do~do":["$",",",".","2",""],"uah~ru-ua~ua":["","\xa0",",","2"," \u20b4"],"usd~ar-kw~us":["",".",",","2"," $"],"eur~en-us~be":["",".",",","2"," \u20ac"],"jpy~zh-hans-cn~jp":["\xa5",",","","0",""],"myr~en-us~my":["RM",",",".","2",""],"dkk~da-dk~dk":["",".",",","2"," kr."],"iqd~ar-iq~iq":["\u202a\u062f.\u0639.\u200f\u200e",",",".","2","\u202c"],"nok~en-us~no":["kr ","\xa0",",","2",""],"usd~ja~us":["",".",",","2"," $"],"eur~en-gb~ie":["\u20ac",",",".","2",""],"gbp~en-in~gb":["\xa3",",",".","2",""],"eur~en-gb~nl":["\u20ac ",".",",","2",""],"dkk~en-us~dk":["",".",",","2"," kr."],"kwd~en-us~kw":["\u202a\u062f.\u0643.\u200f\u200e",",",".","3","\u202c"],"rsd~en-us~rs":["",".",",","2"," \u0434\u0438\u043d."],"usd~id~us":["",".",",","2"," $"],"dzd~fr-fr~dz":["","\xa0",",","2"," DA"],"eur~en-us~es":["",".",",","2"," \u20ac"],"kzt~ru~kz":["","\xa0",",","2"," \u20b8"],"bdt~en-us~bd":["",",",".","2","\u09f3"],"chf~fr-fr~ch":["CHF ","\xa0",".","2",""],"iqd~en-us~iq":["\u202a\u062f.\u0639.\u200f\u200e",",",".","2","\u202c"],"eur~en-gb~fr":["","\xa0",",","2"," \u20ac"],"bgn~en-us~bg":["","\xa0",",","2"," \u043b\u0432."],"eur~es-co~es":["",".",",","2"," \u20ac"],"pln~en-us~pl":["","\xa0",",","2"," z\u0142"],"usd~en-id~us":["$",",",".","2",""],"ars~es-419~ar":["$ ",".",",","2",""],"huf~it-it~hu":["","\xa0",",","2"," HUF"],"usd~es-sv~sv":["$",",",".","2",""],"mad~fr-fr~ma":["",".",",","2"," DH"],"rub~zh-cn~ru":["","\xa0",",","2"," \u20bd"],"ttd~en-tt~tt":["$",",",".","2",""],"eur~en-us~lt":["","\xa0",",","2"," \u20ac"],"usd~en-ph~us":["$",",",".","2",""],"usd~sv-se~us":["",".",",","2"," $"],"zar~en-gb~za":["R","\xa0",",","2",""],"eur~en-gb~es":["",".",",","2"," \u20ac"],"usd~nl-nl~us":["",".",",","2"," $"],"eur~nl-be~nl":["\u20ac ",".",",","2",""],"hrk~en-us~hr":["",".",",","2"," kn"],"nzd~en-au~nz":["$",",",".","2",""],"usd~es-es~uy":["$",",",".","2",""],"usd~ru-by~by":["$",",",".","2",""],"usd~en-us~ke":["$",",",".","2",""],"usd~es-ec~us":["",".",",","2"," $"],"eur~en-gb~pt":["","\xa0",",","2"," \u20ac"],"pkr~en-gb~pk":["Rs",",","","0",""],"pkr~en-pk~pk":["Rs",",","","0",""],"rub~ru-ru~ru":["","\xa0",",","2"," \u20bd"],"twd~en-us~tw":["NT$",",",".","2",""],"usd~zh-hans-cn~us":["",".",",","2"," $"],"czk~en-us~cz":["","\xa0",",","2"," K\u010d"],"eur~en-gb~it":["",".",",","2"," \u20ac"],"eur~en-us~pt":["","\xa0",",","2"," \u20ac"],"sek~en-gb~se":["","\xa0",",","2"," kr"],"usd~en-gb~ae":["$",",",".","2",""],"usd~en-us~lk":["$",",",".","2",""],"usd~es-pa~pa":["$",",",".","2",""],"eur~fr-ch~fr":["","\xa0",",","2"," \u20ac"],"usd~en-gb~ng":["$",",",".","2",""],"eur~en-gb~be":["",".",",","2"," \u20ac"],"eur~en-us~fi":["","\xa0",",","2"," \u20ac"],"eur~ru~de":["",".",",","2"," \u20ac"],"jod~en-us~jo":["\u202a\u062f.\u0627.\u200f\u200e",",",".","3","\u202c"],"pln~en-gb~pl":["","\xa0",",","2"," z\u0142"],"pln~pl-pl~pl":["","\xa0",",","2"," z\u0142"],"usd~fr-fr~re":["$",",",".","2",""],"omr~ar-sa~om":["\u0631.\u0639.\u200f\u200e ",",",".","3",""],"usd~ko-us~us":["",".",",","2"," $"],"kzt~kk-kz~kz":[""," ",",","2"," \u20b8"],"eur~de-de~lu":["",".",",","2"," \u20ac"],"uah~ru-ru~ua":[""," ",",","2"," \u20b4"],"kzt~ru-kz~kz":[""," ",",","2"," \u20b8"],"jod~ar-sa~jo":["\u202a\u062f.\u0627.\u200f\u200e",",",".","3","\u202c"],"eur~en-us~me":["",".",",","2"," \u20ac"],"eur~en-us~si":["",".",",","2"," \u20ac"],"rub~en-us~by":[""," ",",","2"," \u20bd"],"crc~es-es~cr":["\u20a1",".","","0",""],"eur~tr-tr~cy":["",".",",","2"," \u20ac"],"usd~fa-us~us":["",".",",","2"," $"],"ils~he-il~il":["\u202a\u20aa\u200e",",",".","2","\u202c"],"eur~hr-hr~hr":["",".",",","2"," \u20ac"],"mad~ar-sa~ma":["\u062f.\u0645.\u200f\u200e ",",",".","2",""],"try~tr-tr~tr":["",".",",","2"," \u20ba"],"uah~uk-ua~ua":[""," ",",","2"," \u20b4"],"eur~en-us~mt":["\u20ac",",",".","2",""],"eur~sk-sk~sk":[""," ",",","2"," \u20ac"],"qar~en-us~qa":["QAR",",",".","2",""],"eur~ru-de~de":["",".",",","2"," \u20ac"],"bgn~bg-bg~bg":[""," ",",","2"," \u043b\u0432."],"eur~en-us~sk":[""," ",",","2"," \u20ac"],"eur~en-us~ee":[""," ",",","2"," \u20ac"],"eur~el-gr~gr":["",".",",","2"," \u20ac"],"bhd~ar-sa~bh":["\u202aBD \u200f\u200e",",",".","3","\u202c"],"eur~sr-latn-rs~me":["",".",",","2"," \u20ac"],"usd~id-us~us":["",".",",","2"," $"],"eur~el-gr~cy":["",".",",","2"," \u20ac"],"krw~ko-kr~kr":["\u20a9",",","","0",""],"usd~vi-us~us":["",".",",","2"," $"],"eur~lv-lv~lv":[""," ",",","2"," \u20ac"],"uah~ko-ua~ua":[""," ",",","2"," \u20b4"],"gtq~es-es~gt":["Q",",",".","2",""],"ttd~en-us~tt":["TT$",",",".","2",""],"isk~en-us~is":["kr.",",",".","2",""],"omr~en-us~om":["",",",".","3","\u0631.\u0639."],"thb~th-th~th":["\u0e3f",",",".","2",""],"myr~ms-my~my":["RM",",",".","2",""],"mkd~en-us~mk":["\u0434\u0435\u043d ",".",",","2",""],"mkd~bg-bg~mk":["\u0434\u0435\u043d ",".",",","2",""],"tnd~fr-fr~tn":[""," ",",","3"," DT"],"usd~ja-us~us":["",".",",","2"," $"],"eur~fr-fr~lu":["",".",",","2"," \u20ac"],"krw~en-us~kr":["\u20a9",",","","0",""],"gbp~pl-gb~gb":["\xa3",",",".","2",""],"uyu~es-es~uy":["$U ",".",",","2",""],"ils~ar-sa~il":["\u20aa\u200e ",",",".","2","\u202c"],"tnd~ar-sa~tn":["\u062f.\u062a.\u200f\u200e ",",",".","3",""],"eur~sv-se~fi":[""," ",",","2"," \u20ac"],"czk~cs-cz~cz":[""," ",",","2"," K\u010d"],"vnd~vi-vn~vn":["",".",",","2"," \u20ab"],"lkr~en-us~lk":["\u0dbb\u0dd4.",",",".","2",""],"bhd~en-us~bh":["BD",",",".","3",""],"huf~hu-hu~hu":[""," ",",","2"," HUF"],"kwd~ar-sa~kw":["\u202a\u062f.\u0643.\u200f\u200e",",",".","3","\u202c"],"inr~hi-in~in":["\u20b9",",",".","2",""],"pyg~es-es~py":["\u20b2 ",".","","0",""],"usd~ru-us~us":["",".",",","2"," $"],"idr~id-id~id":["Rp",".","","0",""],"mkd~sr-latn-rs~mk":["\u0434\u0435\u043d ",".",",","2",""],"eur~et-ee~ee":[""," ",",","2"," \u20ac"],"kes~en-us~ke":["Ksh",",",".","2",""],"eur~en-us~lv":[""," ",",","2"," \u20ac"],"rub~ru-ru~by":[""," ",",","2"," \u20bd"],"eur~en-us~cy":["\u20ac",",",".","2",""],"eur~lt-lt~lt":[""," ",",","2"," \u20ac"],"eur~sl-si~si":["",".",",","2"," \u20ac"],"try~en-us~tr":["",".",",","2"," \u20ba"],"kzt~ru-ru~kz":[""," ",",","2"," \u20b8"],"eur~es-es~pa":["",".",",","2"," \u20ac"],"gtq~es-gt~gt":["Q",",",".","2",""],"ngn~en-us~ng":["\u20a6",",",".","2",""],"dzd~ar-sa~dz":["\u062f.\u062c.\u200f\u200e ",",",".","2",""],"qar~ar-sa~qa":["\u0631.\u0642.\u200f\u200e ",",",".","2",""],"eur~en-us~hr":["",".",",","2"," \u20ac"]}'),$={AUD:"AU",NZD:"NZ",TWD:"TW"},J={USD:["$",",",".","2",""],CHF:["CHF ","'",".","2",""],NZD:["$",",",".","2",""],SAR:["\u202a\u0631.\u0633.\u200f\u200e",",",".","2",""],EGP:["\u202a\u062c.\u0645.\u200f\u200e",",",".","3",""],THB:["\u0e3f",",",".","2",""],SGD:["SG$",",",".","2",""],HKD:["HK$",",",".","2",""]},K=(e,t,n)=>{if(isNaN(e))throw new Error(`Invalid price passed to format currency: ${e}`);const r=Q(t,n);if(r){const t=e.toFixed(r.precision).replace(".",r.separator).replace(/\B(?=(\d{3})+(?!\d))/g,r.thousandSeparator);return r.beforePrice+t+r.afterPrice}return Intl?new Intl.NumberFormat(n.localeWithScript,{style:"currency",currency:t}).format(e):`${t} ${e}`},Q=(e,t)=>{let{market:n,language:r,locale:a}=t;const o=W[`${e.toLowerCase()}~${a.toLowerCase()}~${n.toLowerCase()}`]||W[`${e.toLowerCase()}~${r.toLowerCase()}~${n.toLowerCase()}`]||J[e.toUpperCase()];if(o){if("US"!==n.toUpperCase()&&"CL"!==n.toUpperCase()){const t=$[e.toUpperCase()]||e.toUpperCase();if("USD"===t&&"$"===o[0])o[0]="USD$";else if("USD"===t&&" $"===o[4])o[4]=" $USD";else if("$"===o[0]||"$ "===o[0]){const e="CAD"===t;o[0]=t+(e?" ":"")+o[0]}else" $"===o[4]&&(o[4]=` $${t}`)}return{beforePrice:o[0],thousandSeparator:o[1],separator:o[2],precision:o[3],afterPrice:o[4]}}},Y=window.env;var Z=n(44342),ee=n(43830),te=n(27818);const ne=e=>e?e.trim().toUpperCase():"",re=(e,t,n)=>{let r=ne(e);return t&&(r+=`/${ne(t)}`,n&&(r+=`/${ne(n)}`)),r},ae=e=>{const t=(0,p.Bq)(e,"/");return t||"home"};n(40792),n(16725),n(19503),n(93848);var oe=n(88262);const ie=(e,t)=>{let n;return e.every((e=>(0,oe.isNotRequested)(e)))?n=t.isNotRequested?t.isNotRequested(e):void 0:e.find((e=>(0,oe.isFetching)(e)))?n=t.isFetching?t.isFetching(e.filter((e=>(0,oe.isFetching)(e)))):void 0:e.find((e=>(0,oe.isError)(e)))?n=t.error?t.error(e.filter((e=>(0,oe.isError)(e)))):void 0:e.every((e=>(0,oe.isContent)(e)))&&(n=t.content?t.content(e):void 0),n||(n=t.default?t.default(e):void 0),n};var se;!function(e){e[e.New=0]="New",e[e.Forward=1]="Forward",e[e.Replace=2]="Replace",e[e.Back=3]="Back"}(se||(se={}));const le=(0,a.createContext)({direction:se.New}),ce=()=>(0,a.useContext)(le);var ue=n(22474),de=(n(11505),n(3728)),me=n(82572);const pe=(e,t)=>{var n;return e.formatPageId?e.formatPageId(e,t):(null===(n=e.match)||void 0===n?void 0:n.url)||"/"},he=e=>{const t=(0,i.d4)(de.Fu),n=(0,i.d4)(l.a5);let r;try{r=(0,me.a_)(e.pathname,t,void 0,n)}catch(a){}return void 0!==r?pe(r,n):e.pathname||"/"};var fe,ve=n(7672),ge=n(50062);!function(e){e.Idle="idle",e.Loading="loading",e.Ready="ready",e.Error="error"}(fe||(fe={}));const _e=e=>{const t=document.querySelector(`script[src="${e}"]`);t&&t.remove()},ye=(e,t)=>{const[n,r]=(0,a.useState)(e?fe.Loading:fe.Idle);return(0,a.useEffect)((()=>{if(!e)return void r(fe.Idle);let n=document.querySelector(`script[src="${e}"]`);if(n)r(n.getAttribute("data-status"));else{n=((e,t)=>{(null===t||void 0===t?void 0:t.removeOldScriptIfFound)&&_e(e);const n=document.createElement("script");return n.src=e,n.async=!!(null===t||void 0===t?void 0:t.async),(null===t||void 0===t?void 0:t.isModule)&&(n.type="module"),(null===t||void 0===t?void 0:t.addLoadingStatus)&&n.setAttribute("data-status","loading"),document.body.appendChild(n),n})(e,{async:!0,addLoadingStatus:!0,isModule:t});const r=e=>{null===n||void 0===n||n.setAttribute("data-status","load"===e.type?fe.Ready:fe.Error)};n.addEventListener("load",r),n.addEventListener("error",r)}const a=t=>{r("load"===t.type?fe.Ready:fe.Error),"load"!==t.type&&(console.log(`${e} script failed to load`),document.body.removeChild(n))};return n.addEventListener("load",a),n.addEventListener("error",a),()=>{n&&(n.removeEventListener("load",a),n.removeEventListener("error",a))}}),[e,t]),n};var be=n(9880);n(68291);const Ee=()=>null===window||void 0===window?void 0:window.navigator.userAgent.toLowerCase().includes("windows"),Se=()=>{const e=null===window||void 0===window?void 0:window.navigator.userAgent.toLowerCase();return e.includes("windows 10")||e.includes("windows nt 10")||e.includes("windows 11")||e.includes("windows nt 11")};var Ce=n(73394),Pe=n(39542);const Te=(e,t)=>{const n=!!(null===t||void 0===t?void 0:t.every((t=>e.consentState[t])));return!e.isConsentRequired||n}},4048:(e,t,n)=>{"use strict";n.d(t,{S8:()=>i,cd:()=>s});var r=n(22647),a=n(76668),o=n(63250);function i(e,t=100,n=1/0){try{return l("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function s(e,t=3,n=102400){const r=i(e,t);return a=r,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(a))>n?s(e,t-1,n):r;var a}function l(e,t,n=1/0,i=1/0,s=function(){const e=new WeakSet;function t(t){return!!e.has(t)||(e.add(t),!1)}function n(t){e.delete(t)}return[t,n]}()){const[c,u]=s;if(null==t||["boolean","string"].includes(typeof t)||"number"===typeof t&&Number.isFinite(t))return t;const d=function(e,t){try{if("domain"===e&&t&&"object"===typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!==typeof global&&t===global)return"[Global]";if(t===window)return"[Window]";if("undefined"!==typeof document&&t===document)return"[Document]";if((0,r.L2)(t))return"[VueViewModel]";if((0,r.mE)(t))return"[SyntheticEvent]";if("number"===typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"===typeof t)return`[Function: ${(0,o.qQ)(t)}]`;if("symbol"===typeof t)return`[${String(t)}]`;if("bigint"===typeof t)return`[BigInt: ${String(t)}]`;const n=function(e){const t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}(e,t);if(!d.startsWith("[object "))return d;if(t.__sentry_skip_normalization__)return t;const m="number"===typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:n;if(0===m)return d.replace("object ","");if(c(t))return"[Circular ~]";const p=t;if(p&&"function"===typeof p.toJSON)try{return l("",p.toJSON(),m-1,i,s)}catch(g){}const h=Array.isArray(t)?[]:{};let f=0;const v=(0,a.W4)(t);for(const r in v){if(!Object.prototype.hasOwnProperty.call(v,r))continue;if(f>=i){h[r]="[MaxProperties ~]";break}const e=v[r];h[r]=l(r,e,m-1,i,s),f++}return u(t),h}},4251:(e,t,n)=>{"use strict";n.d(t,{NJ:()=>i,a3:()=>l,m7:()=>c,vm:()=>s});var r=n(67401),a=n(10467);const o=n(76288).O;function i(){return"history"in o&&!!o.history}function s(){if(!("fetch"in o))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function l(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function c(){if("string"===typeof EdgeRuntime)return!0;if(!s())return!1;if(l(o.fetch))return!0;let e=!1;const t=o.document;if(t&&"function"===typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=l(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){r.T&&a.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}},4976:(e,t,n)=>{"use strict";n.d(t,{A:()=>r.A,U:()=>r.U});var r=n(78229)},5931:(e,t,n)=>{"use strict";n.d(t,{v4A:()=>yt.v4,yTS:()=>En.yT,Q81:()=>En.Q8,_zx:()=>En._z,dWJ:()=>m,k8f:()=>oe,wax:()=>En.w,X68:()=>Ut,ycs:()=>Yt,Ksr:()=>En.Ks,vEO:()=>A.vE,LM8:()=>Jd,GLt:()=>yt.GL,LKH:()=>D,ngT:()=>G,bBK:()=>zu,BRP:()=>ju,Qo6:()=>O,t6Y:()=>B,LWN:()=>yt.LW,HAD:()=>Ct.HA,w81:()=>he,otO:()=>fe,Xj2:()=>Vn,E2z:()=>Gn,YD2:()=>ne,X7D:()=>Ee,KUI:()=>Se,lUr:()=>En.lU,UYw:()=>En.UY,QA2:()=>em.Q,VjN:()=>vs,jK8:()=>yt.jK,C3F:()=>ei,L56:()=>En.L5,Sbk:()=>Ne,w5y:()=>Md,VlZ:()=>oc,Iay:()=>De,Uht:()=>zd,kmO:()=>$d,w$K:()=>Wd,V7_:()=>Ln,bAf:()=>En.bA,Uhv:()=>En.Uh,QNR:()=>Ct.QN,hNL:()=>yt.hN,Ctc:()=>jn,AyF:()=>En.Ay,UOA:()=>yt.UO,pTN:()=>le,P8g:()=>ra,pQ1:()=>A.pQ,NrX:()=>F,Okz:()=>En.Ok,HGh:()=>yt.HG,GaU:()=>Rd,ogV:()=>Ct.og,Olk:()=>Ct.Ol,pOW:()=>Be,nct:()=>He,oSI:()=>yt.oS,WKQ:()=>En.WK,OPD:()=>Ft,ozo:()=>ct,VQ0:()=>dt,aWq:()=>ut,zrN:()=>cc,aDT:()=>En.aD,Nb3:()=>Ct.Nb,QOG:()=>Qd,cH9:()=>Yd,DqA:()=>Zd,K7R:()=>Ct.K7,eKg:()=>Ct.eK,Pk:()=>yt.Pk,NAV:()=>yt.NA,w1G:()=>A.w1,UL7:()=>A.UL,ARu:()=>yt.AR,JDZ:()=>yt.JD,G6u:()=>yt.G6,MQ:()=>yt.MQ,Xr6:()=>yt.Xr,mZ3:()=>yt.mZ,DSG:()=>yt.DS,AhJ:()=>yt.Ah,Up8:()=>yt.Up,s3y:()=>Ct.s3,$IK:()=>yt.$I,I$:()=>yt.I$,xmA:()=>yt.xm,DCQ:()=>yt.DC,V2L:()=>yt.V2,X5:()=>A.X5,DsI:()=>A.Ds,xTl:()=>A.xT,gr7:()=>A.gr,xRK:()=>yt.xR,$YK:()=>yt.$Y,gAR:()=>yt.gA,N7H:()=>Ct.N7,Pml:()=>yt.Pm,vtM:()=>yt.vt,PWt:()=>yt.PW,yNr:()=>Ct.yN,KXL:()=>yt.KX,Ctj:()=>yt.Ct,Nsd:()=>yt.Ns,YFp:()=>yt.YF,h5I:()=>yt.h5,Rbu:()=>Ct.Rb,g4I:()=>yt.g4,Eqs:()=>yt.Eq,AtO:()=>yt.At,Ok6:()=>yt.Ok,zPK:()=>yt.zP,Fm5:()=>yt.Fm,Ic1:()=>yt.Ic,u6i:()=>yt.u6,nU_:()=>yt.nU,NRw:()=>Ct.NR,Aow:()=>Ct.Ao,V7$:()=>yt.V7,CJZ:()=>yt.CJ,st2:()=>yt.st,sBo:()=>yt.sB,ytz:()=>yt.yt,QIC:()=>A.QI,ncH:()=>En.nc,ivm:()=>yt.iv,EkB:()=>A.Ek,LvL:()=>A.Lv,CqP:()=>yt.Cq,_Es:()=>A._E,wwx:()=>Ct.ww});var r={};n.r(r),n.d(r,{actionsPanel:()=>zs,comparePlansIcon:()=>Xs,comparePlansLabel:()=>js,comparePlansLink:()=>Ws,container:()=>$s,gamePassLogo:()=>Js,len1:()=>Ks,len2:()=>Qs,len3:()=>Ys,len4:()=>Zs,len5:()=>el,modalBody:()=>tl,modalContainer:()=>nl,modalHeader:()=>rl,notice:()=>al,pcOnlyButton:()=>ol,pcOnlyButtonLabel:()=>il,subscriptionCardsContainer:()=>sl});n(95570),n(45993);var a=n(68594),o=n(93139),i=n(95428),s=n(97895),l=n(14041),c=n(83718),u=n(77703),d=n(99202);const m=e=>{var t,n;const{productId:r,className:m}=e,p=(0,s.FE)("commaSeparatorTemplate"),[h,f]=(0,s.cG)("buttonWithStateAccessibilityTemplate","openInNewTabLinkLabel"),v=(0,c.d4)((e=>(0,d.g4)(e,r))),g=null===v||void 0===v?void 0:v.contentRating,_=(0,l.useMemo)((()=>{var e;return{src:(0,u.aS)(null!==(e=null===g||void 0===g?void 0:g.imageUri)&&void 0!==e?e:"",48,48,void 0,"100"),alt:null===g||void 0===g?void 0:g.ratingDescription}}),[g]);if(!g)return null;const y=(0,i.xJ$)(p,(0,i.UVo)(g.descriptors)),b=[];(null===(t=g.interactiveDescriptions)||void 0===t?void 0:t.length)&&b.push((0,i.xJ$)(p,g.interactiveDescriptions));const E=[];(null===(n=g.disclaimers)||void 0===n?void 0:n.length)&&E.push((0,i.xJ$)(p,g.disclaimers));const S=(0,i.GPZ)(h,g.rating,f);return l.createElement("div",{className:m},l.createElement(a.K,{className:"AgeRatingInfo-module__ratingPositionOverride___y86yq",imgProps:_,ratingLink:g.imageLinkUri,ratingValue:g.rating,linkButtonProps:{"aria-label":S}},l.createElement(o._,{label:y}),b.length>0&&l.createElement(l.Fragment,null,l.createElement("hr",null),b.map(((e,t)=>l.createElement(o._,{key:`rating-interactive-description-pdp-${t}`,label:e})))),E.length>0&&l.createElement(l.Fragment,null,l.createElement("hr",null),E.map(((e,t)=>l.createElement(o._,{key:`rating-disclaimer-pdp-${t}`,label:e}))))))};var p=n(41506),h=n.n(p),f=n(50433),v=n(58869),g=n(5929),_=n(53373),y=n.n(_),b=n(63042),E=n(56834),S=n(67996),C=n.n(S),P=n(39731),T=n(43342),w=n(6409),I=n(2750),k=n(34843),x=n(92747),A=n(36164);const N=l.createContext({activateStoreExperiments:!1}),{Provider:L,Consumer:M}=N;var O,R,D,B,F,U,H,V,G,q,z,X;!function(e){e.Purchased="Purchased",e.PurchaseError="PurchaseError",e.ServiceError="ServiceError",e.Canceled="Canceled",e.AlreadyPurchased="AlreadyPurchased"}(O||(O={})),function(e){e.XboxTV="Xbox.TV"}(R||(R={})),function(e){e.Details="Details",e.Purchase="Purchase",e.Browse="Browse",e.Redeem="Redeem"}(D||(D={})),function(e){e.BuyNow="buynow",e.Gift="gift"}(B||(B={})),function(e){e.BuddyPass="buddyPass",e.Redeem="redeem",e.ReversePerks="reversePerks",e.OfferWallet="offerWallet"}(F||(F={})),function(e){e.OneCoreRequestPurchase="OneCoreRequestPurchase",e.ShowDetails="ShowDetails",e.ShowDetailsForStoreId="ShowDetailsForStoreId",e.XboxPurchaseApi="XboxPurchaseApi",e.ShowMarketplace="ShowMarketplace",e.XStoreShowPurchaseUi="XStoreShowPurchaseUI",e.XStoreShowProductPageUi="XStoreShowProductPageUI",e.XStoreShowAssociatedProductsUi="XStoreShowAssociatedProductsUI"}(U||(U={})),function(e){e.v1="v1",e.v2="v2"}(H||(H={})),function(e){e.PageChange="pageChange",e.OpenUrl="openUrl",e.RequestXToken="requestXToken"}(V||(V={})),function(e){e.GamerTag="gamertag",e.Email="email"}(G||(G={})),function(e){e.PurchaseCanceled="PurchaseCanceled",e.PurchaseFailed="PurchaseFailed",e.PurchaseStarted="PurchaseStarted",e.PurchaseSuccessful="PurchaseSuccessful"}(q||(q={})),function(e){e.RedeemCanceled="RedeemCanceled",e.RedeemFailed="RedeemFailed",e.RedeemStarted="RedeemStarted",e.RedeemSuccessful="RedeemSuccessful"}(z||(z={})),function(e){e.XEWeb="XEWeb",e.XENative="XENative",e.XETest="XETest",e.XboxCom="XboxCom"}(X||(X={}));const j=e=>{const t=(0,l.useContext)(N).activateStoreExperiments,n=(0,c.d4)((t=>(0,i.pzA)(t,e)));return t&&n},W=e=>{const t=(0,l.useContext)(N).activateStoreExperiments,n=(0,c.d4)((t=>(0,i._cZ)(t,e)));return t?n:void 0},$=(e,t)=>{(0,P.useBackHandler)((0,l.useCallback)((()=>(e(),t)),[e,t]),void 0,"release")};n(93831),n(28882),n(16725),n(26047),n(65136),n(93848),n(90574),n(28344);var J=n(86090);const K="enableBuyNowPPE",Q=[];var Y="ButtonWithFlyout-module__flyoutButton___q31zM";const Z=["accessibilityLabel","children","buttonId","buttonType","className","showArrow","telemetryProps"],ee=l.createContext({reverseOpenDirection:!1,reverseVerticalPosition:!1,showFlyout:!1,closeFlyout:()=>{},openFlyout:()=>{},buttonRef:void 0,flyoutRef:void 0}),{Provider:te,Consumer:ne}=ee,re={left:0},ae={right:0},oe=e=>{const{children:t,flyoutBoundingParent:n,className:r,buttonRef:a}=e,[o,i]=(0,l.useState)(!1),[s,c]=(0,l.useState)(!1),[d,m]=(0,l.useState)(!1),p=(0,l.useRef)(null),h=(0,l.useRef)(null),f=null!==a&&void 0!==a?a:h,v=(0,u.R5)(),g=(0,A._E)(o,(()=>i(!1)),f,p);(0,l.useEffect)((()=>{if(f.current){let{left:e,right:t,top:r,bottom:a}=f.current.getBoundingClientRect();if(null===n||void 0===n?void 0:n.current){const o=n.current.getBoundingClientRect();e-=o.left,t=o.right-t,r-=o.top,a=o.bottom-a,m(r>a)}else t=window.innerWidth-t,a=window.innerHeight-a,m(!1);c(e>t)}}),[v,n,f]);const _={buttonRef:f,flyoutRef:p,reverseOpenDirection:s,reverseVerticalPosition:d,showFlyout:o,closeFlyout:g,openFlyout:()=>i(!0)};return l.createElement("div",{className:y()("ButtonWithFlyout-module__buttonContainer___DM0Hd",r)},l.createElement(te,{value:_},t))},ie=e=>{let{onBack:t}=e;return $(t,!0),null};oe.Button=e=>{const{accessibilityLabel:t,children:n,buttonId:r,buttonType:a,className:o,showArrow:i,telemetryProps:s}=e,c=C()(e,Z);return l.createElement(ne,null,(e=>{const{buttonRef:r,showFlyout:u,closeFlyout:d,openFlyout:m}=e,p=(0,x.nO)({behavior:u?x.nS.REDUCE:x.nS.EXPAND},s),f=(0,x.vj)(p);return i?l.createElement(T.T,h()(h()({as:"button","aria-expanded":u,"aria-haspopup":!0,"aria-label":t,buttonType:a,className:y()([Y,o]),onClick:u?d:m,icon:u?I.A:k.A,ref:r},f),c),n):l.createElement(w.a,h()(h()({as:"button","aria-expanded":u,"aria-haspopup":!0,"aria-label":t,buttonType:a,className:y()([Y,o]),onClick:u?d:m,ref:r},f),c),n)}))},oe.Flyout=e=>{const{buttonRef:t,closeFlyout:n,flyoutRef:r,reverseOpenDirection:a,reverseVerticalPosition:o,showFlyout:i}=(0,l.useContext)(ee),s=(0,u.T8)()<=u.JP.SM;let c={},d={};if(null===t||void 0===t?void 0:t.current){const e={right:`calc(-${t.current.offsetWidth}px + 8rem)`};c=a?s?e:ae:re,d=o?{bottom:`calc(${t.current.offsetHeight}px + 0.5rem)`}:{top:`calc(${t.current.offsetHeight}px + 0.5rem)`}}const m={width:"max-content"};return l.createElement(l.Fragment,null,i&&l.createElement(l.Fragment,null,l.createElement(P.FocusContainer,{autoFocusContainer:!0,className:"ButtonWithFlyout-module__flyout___CjK6D",role:"dialog",style:h()(h()(h()({},c),d),s?m:void 0)},l.createElement(u.t$,null),l.createElement("div",{ref:r},e.children),l.createElement(ie,{onBack:n})),l.createElement("div",{className:"ButtonWithFlyout-module__lightDismissLayer___FLmRO",onClick:n,role:"none"})))};var se=n(72178);const le=e=>{const t="1.25rem",{width:n=t,height:r=t}=e,a=(0,c.d4)(i.j17),o=(0,s.FE)("loadingText"),u=a===i.Sxu.Dark?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAYAAAAACpM19OAAAMnUlEQVR4Ae2da4xdVRXHO1gf1AfyEEsLtlCfKFExJJqIGIGAfjAmQkQT/WBijMbEhA8kGk00USMf/GD8otH4BiKJRkjUJmIDgg0+olHASi1KybSg0FoBW0qr9f+7s/+36+4558w9c8/tnXtnr2TN2nvt93+tvfY+596ZmVuzQunYsWNrNbXnip8f5Dql0cPPEj9TfJL4qPh/SR6RPCR+Uvy4eW5uDv2Ko7mVMqME+Kmaz+mJAZ75PUMMAbTniyQPLVXudgdU9xGzDPI0jSdNXtBE5pFAP1ODrxcDPGTASEegrUcX9XUGqNPTzzHxo+Jd4r/LGIclJ0In3AACnTHxdEA/QwxQ6JoAU3HfMNSFARKqa1endztL+tgt3il+SMbAOCeMWMgJoQQ8gL9ETGzPgTQgSM8LmQOZt8vL1aTSoHm7fDzKCVO/F/9VhuBMGTsx6FgpAU+YOVv8HHHVwplHrpdqEZDobCADOooB3Ec+/r81DobYMW5DMPDYSOBzkJ4r5vYSAWZMgPP4OQDkzW7n+lV6+ssNk7ejDm2jwaxzn3n5PlXYJiPspeI4iAE7JwHP9fAc8YtS53GBdcBYH2VsF4EbRu9+bDimQru8H+vz+nGM+1TpThmC622nxCCdksB/oTrcLMYIcREeK1+oqvXq5Xrqc79/Qvwf8UExd3tuLP8VU+a7PWPxbIA8WfwC8SlJcu4Q+jyXfBwVLRrfOrdBcm3dKiNwc+qM6LgTSrGeOE+8h7xQpMdBWm9PRGfmBkL83Z/4SS14pFtJmhe3rg3is8TMEWN5Xp5bnJd1SOstORvu0LxwgpHJA43UkRb5bHWwSVwV671QxogLcmhAxxMrD0mPamF49thIc+UJ+lzxK8QYhfGr5iX1gN4GQDLXH2uuOMtIxMAjkRYE6OeJI6BxQZ64F2qJ/h/ieS2k89iqfpckzZ1Q9Xrxq8TsCs/bc5RqYAdYj3xKfLPmPtIBTUfLJi2AWw73+hx8+jTwyDhxQgrAP6zJT+wJVOP3SevgueQN4gvENoTnHNdBG+uR7NYfaR0PULAcopNlkSbNYUs8dR8GGoDROcbHBbBlH9SE8Z4VR2lHvFUTO08c581c7WRen8spu1VrupdEWzJ4rdqliQI+5InQV84u5wZBqPkXipVOWt8WzfEyMTu8bn1Rz5I4E+4h0YZaG0CTY7tyxzfY+UTIu18kB+xuTW6sh6vG6JS0Tq6uV4g5rON6vF5L48DOuEnr3CU5NLnjoRqkSRHzPTjtnI6SfpkQcZ63jlNLWjNnw6Vi1se64jqV7etZL88l39Wa5ykYhoY2gCbCQw7gc0iZaG+OE+OOTKznAWrqSWsn3F4tZlfEdXrtlqyVG93XtPahwq07o2EtaQIMwOtjJG8JsbaJNDoz8f6BWQGfRSaP/r6SOBSYRVa2RzbC85S7Rpj5EpKKq8VQBlDT08U8bJlsAGRMA/7fNOEVecvx5JcjtSZC6bfFvKADbBMYxjz6jeIrSSxFSxpAluTQ5TZgD8+lxwD83ZoociZJa+NCcYOYd1KmuBti+s3C7nxXqpONBkjb6DQ1tpdX9UMZNxyumX45VlVvJnRaI88yhCMeInPPZ43ojOtVyYHRV5IrVhZKycOW6+SeH/N7NLEV8VRbt5Au9VrrP9XfjWKcD3wiK9snXtO8o5+rSBjcRUWyHDGfDiAG8i4AeKcpe0wTmsi7HAafFGnND2nsrWH86PmowRbdRcJys2QlVRpADWiI9wO0PT3vAD2viw/kBaslr7XfrbXuEEccSef8bmEa6/QhqlSqFM/n3h/JxrCOeP+YM6tY/lBr51zAaSHLhdzCTz6HuCgqnF5kgOT93Hzs+XVyvzygkw8lPJlplMKA8HurOPf6PH9Z1S5YZAB1FJ/26jA5pIH5iLCQEBAWf5YgFFUROwKc+WiUzx4GaMAAwfupVOf56Id6zB4YafYzt2iJhOnc8+PKL08Y93UDBpCWj+t4hKYjGAJw55EcvFP1ZpNFjJuECZ9jbxfb4xmStM8EsOYsOF/cp9wAXD3t+YBN2mRDxKdAlxW5gMDtEj4XDT4OHfmNC1UXfvYNkA4IdoAper0NQez3AK5XZEJA2HAb+k3Kgq29P6l64gJhzVdnetQ3gHKAD9AADJPOuXi/QFmCtqkcjwfbKibK8BlDj6IBuPfj9XV0pHh/HTTH9cKIZ6OqT8XYDca7H4Z6inQy+/DNvd75mXvFfBy2zlO/TWDHHRAH2eIwZIvwKVeM+VQG+Kib2dfMLLZj+oP646ZofH0gM4yN8jJnkHi/PZ18JIxA+KG80BAICCuejv+SqgK4w4/BR/JlsL6FMIAJwA22d8DMv+f34juUO9WXPR+Z0ytRrE3xn7RBzyuTLw9eINSO7lf16Ng5rps4B7wlmrqOO6KpXikbRGBe2aprO4Ywr8cAULz3588BRxXTMEKhFggkzDACuwC2sxt8ejsLpbcGIcgxP0qHJhoUaocAX0KGDHou13P9tAF6NcMPe30xQAClZfJh1Te+uaSrDRgAAmQqGHR0pmIAI9FePqImVcC7p9MwgMONlZZu6HyR7RHg5Vy8CdFDxHWdD+Gmrqt2RVP9UnYcgaVe35zMDigh5jhgXacwQL4D4hjrfAZEZUl3hwCvJGLIyXtet7a848kx6TzfZIC5sgM6x3ugQz75ajLAU34XxIcxVRWfLk/BA4C2zWCApovO4ZMSwLzt9LMAhuDmU8AXCCMSBmiiQ70QFIxQXjs3wdW+7FQ1yW9B8Vp/uJwB7UFt02KjKsfQDviEJBthXzFAGzjb1z1bTWwAQHfacm8xQHtQ27TId0DethggR6SrfPqkkQ/e81uQww9D7ckLuxq/9LNmzWaBwF9jaaI9JQQ1wTNa2evUPDp49Hx65nepDxYDjAZyU2sM4MMW8OPth3Z/4ke0EPlCHSCg+M9vGF0otgEs6d3pngHKDgCS7ulidcmXcHMCfHYDfC+FxQCg0D1dqS79BOzYH+V9iv+9P2RSQlDH4Cv8bFCXr12i29tcXnaAkehOXpO6snNHz6eILznfmeqUQ9hAdCHl/Weon7eLifU+bDGE00qu2a7w0//GXNkBQNIdvU9d8Wu+EN8wjOQd8fMqZdSV9DIQkPfzG5DvCk3xeoPuHbFbul+HOuUWFMEYMX2t2uP9jvkOO87zgdcN6bOX/lC2UF9REu0RkPdz74cNelUne6XclheUMyBHpGVe4PPXxK4Lzbj/4/X2fMsb5f35udCPUaF9SbZE4NOq/2Ix3h8jCmnviF1K/1S8iMoOWATJ8Ap5/3tV+22phT0993IM8aUq76ddtFjqp4hhEBD4vO3k4M0p7gTSPxH4vRdveUXy3iJVZUVXg4DA36Kib4mJ//Z8S3/Xljzfjr5aBjggWUllB1TCUq8U+OtV+lWxP+0CwzpH/lwT+IxSzgBQGJIEPg9bXxcj8XS83J6fOzN3/jtU3kh1lmtstBoLBf5Lte5viHnfAznUWKKzQXjX/0EZ4CjKJvI766Y6q75M4F8oEL4p5k8447R23Ci9Ex5X+UcEPvF/Scq3zZINVlsFgf8Brfl74lPS2utiPsY4LP6YwOepdygqZ0ANTAKeQ/Z68eWpCqHGIQZV7ry8579W4BN+hqa8k6EbznJFgQ/oPxNfka3TIQd1TJP/lMDfTqINlR0Q0BLw5yj7WfGlYnu7gc6lW7IzPiHwK181uFKdLAYQMgKeu/2Hxe8X86fbIB+qAO90r0A/rDuo9McF/l0uaCtXtQEE/GYB9lHxe8TGAo+ORJjODUD5PvGHBP49ZJZLHnS57aeunUDncH2nmP8J8yZxPFwj0Hi5PV3JgTTvdvD8eQpGoZk3gAAHxFeL35L4Ekm+NOW3lpRDBttGcH6hdOEnuu+Irxf4R2LBctNTbwABTMzmpZj5TKVfLuar4cjXiHmAqvN0FfXBb0rzYHWdgB/4UJ0Go9BUGkCgb9SiPy/GmzeJ8Ux7NBIvNucxnbpQlNSNRFksv1n5Lwr8/bFSF+mpM0AC/y4tHk/v6jkGsG2EmN4h/ScF/O8kx0JTZwCh8Bkxv30YvVTZRWQPdoHzEWjKrLdE96D4K2L+Xa13lrLd0zQa4OIEQwRsWGRoEw3gtNvfr8SXxbeMG3gPOI0GMGjIKiNY53rOs2brvH7KeIezVXyT+BcCPq8j9fhoGg3wK8FxlTgCOyxCtAFgDua7xT8Q829oeYU8EVrOIiYyUQ+aDmGM4K+CcA1lHY7V+XXTt6A/qs4vxbeL+YLsxEDX+H2aOgMw82SELyh5iZiPB58Qc09HAuy8mHi+0yzAKVtx9H/5eP1D81B3eQAAAABJRU5ErkJggg==":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAADbN2wMAAAGz0lEQVRoBdWZS2zURRzHu4/utrsLxZYSukXERkBTbKGEQH1EImlNSPBg0sQYY2LigxDj1XgwwYMHL1684ElvBOFgxFhDommNFCkUCmiQ2FAtyraUUtptu33s/tfPd7Kz2a703S3bSSbz+P9n5vv9vWb+83cVLENqamry3Lhxo6ywsLDU5XKtdRwnNDU15fd4PL5kMumhL8Eyca/XO5pIJEYo+4LBYKSlpSW+1OVdi51g//793tHR0fUAXA/YckB6qbuVIODJrKtPbd5J97NukhyB5K3y8vK/mpubJxaDZcEEJO2enp4KQG8i+wAgwG5bCnyq7rFksglYIpYkbQfwV3jvSkdHx9RCiMybAIu5amtry30+X+Xk5KTfgrPAsyTsESmSymwiMilpxJSATWuH/nHGtB86dOj3o0ePitScaV4EqqurfUVFRVUAD1rAVspW+qw0iW0PYONRfGEiEAjIJMaFAE0Vx+PxQCwWCzCujK7HGFdiNWGFYTXC83585NuzZ89GNX62NCeB3bt3B1hsC5P7LFiVWgxtOJS9ZWVlA2fOnBmdbaHsZ/X19aUIZAuEa3gWYB6rGTdt+UuM/M3ly5dvZ4/NbM9KYOfOneuYJIz0PEjX2LrAI+ECct/mzZsjJ0+eVIRZdEJAhQyuU4aMX4JhTUOCviQa+wG/uDbTAjMS2Lt379qxsbFwCrhLwFUnR6nfWqizzQTA9tfU1Mg8D0BgG33WL0TEhYmdvnTp0lX7bmb5QAKEyKLh4eFNSMRIXcBV9/v9d9vb2/uQkELgsifAu/bs2fMMPvOc1YI0Qkpirl+dP3/+n+xF/0dA8X1oaKiSScDtlSRcysXFxREmGM6eIBfturq6p1jzZTTtSxERzjEEeCwbg1SUTgLa19dXrhLWDravoO6sWbPmdvbA9KAcVDCX60x7WuDBYjLttRMTE68TXqdh9mSuf+rUqRDAg5iLnNQ8QvL329rahjLfW4l6b29vf2VlpUy4KsOcSrq6uqKRSORfiyHNRlKnMySJK2NC2khGAT9oX17p8uLFiy2A/4N1004NoUZOAz6LJU1gx44dQXUSmw0BNJDYvn37ABPkxGEtgNlKra0NjTJOFlZppKS7u/sFO84QkF2x0xZZ6YsEO2l0qTHeLrKUUrsxZv2LfEEklDHxA9pgNa8hgIMWcrJMAjyhDJd4Q0PDgnbWpYCca+yGDRtaITEGCZ1mdb4S+Kc1zjhxVVVVER4OOVcBLxYQPmPHjx+fnGvilXqO4ybC4bAf4NvAZ0xJmsCZO0ycv3nzpmdkZMRBCw6270BoUWfzXBJC8lcFWqbEOjIjzpjVPk9ra6uXeG+ISQMkhy+lvCNAWI1WVFTUQ0ChXkC9+Ozf7v7+fve9e/ecwcFBJxQKJTigLeiDQoxXKiHgayktyPTl0E8q+iTJijqJgYEBkVjyd2oOCfXIiUWCNUQi7OZUmcRJnJKSEodzvQzrocX9uYgD/H6mBiCzUbZkQmlqsNragfOSBLG/An/9VIEI8HBxjQi8ANusj5O8BA+uAg6Vg4A2ewFNYQ96U19Eem7Scn+o2HmXo0ztVdMOoG5YJTm4+cbHx/2qL8dCuZoDjI9gOmYvSJUT3tTtWD5HnrQ8iPulbGA6SqhPTjDmTT9dBRXAlyF5hVFjKZR3VhUBZPyETEeyFgnS7VVFAMDPAlxObDSASV3L3ANELG/Tvn37tgA+DAkbRqc4ZneuGg0QQp8XeJkOUtZdS6dutFeFBvT1BfhXAG9DqMzoV5nLqtAAYfNVsJZCQqHThE9uS9pEIO81oEtgcL4mrOAXXuUT9uY6rwlI4FzJf4AGdGNijtFoYJCT89e0TcprAtj+O6B80do+dWnhS04P5r+DGOQtAf4GNSL5w9ZsRIL859atW78TcJvMR7Bt5EvJ5e5LgP8EPLrf1E8U/a/qx3Hf4KbwTibOvCIgmwf8e4A/grQNcJUAHmfXfetBPzryhsCuXbt0K/4xYBsoEyngIqG/NB9yYz3NdKwWHvo+0NjYGORm5F0AvU32kx3Ay1l1YJsE/EczgReJh6aB1E+MgwB9ExzrKAU802z0J+gIP/muCOhMKeca4I9PSP/a+OqrANBG7LsWMAc52z9KO2GB06czDl3mdu03bggPX7hwoXcm4LY/ZxrgD6ds+RgLPQ4mATV2nSotcF0iWKmrLsCfESpPzPdmPGcEcMrrSLsKQIUpAjKRacB5ZglEefY5YfKLc+fOxeifd8qZCSHpBwoHoOZOh7ge450faX8P2ubOzs7780ad8WIuCbwPuGOArGS9IQDfpeyifZ3+n7nO/Gmh0s7Ana7+B+Qp2nJi6lQSAAAAAElFTkSuQmCC";return l.createElement("img",{role:"alert","aria-live":"assertive",tabIndex:-1,alt:o,src:u,style:{width:n,height:r},className:"ProgressSpinner-module__spinner___jUvZR"})};const ce=(0,l.forwardRef)(((e,t)=>l.createElement(w.a,{as:"button","aria-label":e.accessibilityLabel,buttonType:void 0!==e.buttonType&&null!==e.buttonType?e.buttonType:se.VQ.Primary,className:y()("ButtonWithSpinner-module__desktopSpinnerButton___MXz1p",e.className),ref:t,title:e.accessibilityLabel,style:{height:(0,A.JX)(e.height),width:e.sizingText?"":(0,A.JX)(e.width)}},e.sizingText&&l.createElement("div",{"aria-hidden":!0,className:"ButtonWithSpinner-module__hiddenSizingText___jdGu3"},e.sizingText),l.createElement(le,{width:(0,A.JX)(e.height/2),height:(0,A.JX)(e.width/2)})))),ue=(0,l.forwardRef)(((e,t)=>l.createElement(w.a,{as:"button","aria-label":e.accessibilityLabel,buttonType:void 0!==e.buttonType&&null!==e.buttonType?e.buttonType:se.VQ.Primary,className:y()(e.className,"ButtonWithSpinner-module__mobileSpinnerButton___iuTvL"),ref:t,title:e.accessibilityLabel},l.createElement(le,{width:(0,A.JX)(1),height:(0,A.JX)(1)}))));const de=e=>{const{className:t,errorCode:n,errorMessage:r,userRequestMessage:a,primaryButtonAction:o,primaryButtonText:c,secondaryButtonAction:u,secondaryButtonText:d}=e,m=(0,s.FE)("errorCodeTemplate");return l.createElement("div",{className:t},l.createElement("h6",{className:E.TF},r),l.createElement("div",{className:E.Q},a),n&&l.createElement("div",{className:E.Q},(0,i.GPZ)(m,n)),l.createElement("div",{className:"ErrorMessage-module__buttonRow___IeLfN"},o&&c&&l.createElement(w.a,{as:"button",buttonType:se.VQ.Primary,onClick:o},c),u&&d&&l.createElement(w.a,{as:"button",buttonType:se.VQ.Primary,onClick:u},d)))},me=n.p+"static/media/errorComponent.df11267e.png";var pe="ErrorWithImage-module__text___68A4A";const he=e=>{const{cV:t,errorHeading:n,errorDescription:r,imageAltText:a,imageSrc:o}=e,[c,u,d,m]=(0,s.cG)("errorCodeTemplate","errorComponentDefaultHeading","errorComponentDefaultDescription","errorComponentImageAltText");return l.createElement("div",{className:"ErrorWithImage-module__container___1h0z9"},l.createElement("img",{className:"ErrorWithImage-module__image___zS19V",src:null!==o&&void 0!==o?o:me,alt:null!==a&&void 0!==a?a:m}),l.createElement("div",{className:"ErrorWithImage-module__textSection___y+nQ0","aria-live":"polite"},l.createElement("h4",{className:"ErrorWithImage-module__errorHeading___xEheO"},null!==n&&void 0!==n?n:u),l.createElement("div",{className:pe},null!==r&&void 0!==r?r:d),t&&l.createElement("div",{className:pe},(0,i.GPZ)(c,t))))};const fe=e=>{const[t,n]=(0,l.useState)(!1),[r,a]=(0,l.useState)(!1),o=(0,l.useRef)(null),i=(0,A.xG)()?{left:"0.5rem"}:{right:"0.5rem"},s=e.gradientColorOverride?{background:`linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, ${e.gradientColorOverride} 100%)`}:void 0,c=()=>{var e,t;const r=(null===(e=null===o||void 0===o?void 0:o.current)||void 0===e?void 0:e.clientHeight)||0,i=((null===(t=null===o||void 0===o?void 0:o.current)||void 0===t?void 0:t.scrollHeight)||0)>r;n(i),a(i)};return(0,l.useEffect)((()=>{if(c(),!o.current||"undefined"===typeof ResizeObserver)return;const e=new ResizeObserver((()=>{c()}));return e.observe(o.current),()=>{e.disconnect()}}),[]),l.createElement("div",{className:y()(["FadingScrollContainer-module__container___6roxZ",e.className]),"aria-label":o.current&&""!==o.current.innerHTML.trim()?e.ariaLabel:void 0},l.createElement(P.GamepadScrollable,{tabIndex:e.focusable&&t?0:void 0,ref:o,scrollAlignment:"align-to-center",className:y()(["FadingScrollContainer-module__scrollContainer___r0WyB",i,e.focusable&&"FadingScrollContainer-module__focusable___LfO9P"]),onScroll:()=>{o.current&&(o.current.scrollHeight-o.current.scrollTop<=o.current.clientHeight+10?a(!1):a(!0))}},e.children),r&&l.createElement("div",{className:"FadingScrollContainer-module__fade___hd7V5",style:s}))};const ve=function(e){return l.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),l.createElement("path",{d:"M16 0c8.837 0 16 7.163 16 16s-7.163 16-16 16S0 24.837 0 16 7.163 0 16 0zm0 2C8.268 2 2 8.268 2 16s6.268 14 14 14 14-6.268 14-14S23.732 2 16 2zm0 10.875c.58 0 1.057.439 1.118 1.002l.007.123v9a1.125 1.125 0 01-2.243.123L14.875 23v-9c0-.621.504-1.125 1.125-1.125zm0-5a1.625 1.625 0 110 3.25 1.625 1.625 0 010-3.25z",fillRule:"evenodd"}))};var ge="Tooltip-module__tooltip___viGTe",_e="Tooltip-module__tooltipContent___JJErM",ye="FranceCollectionDisclaimer-module__displayInline___-p-t1";const be=()=>{const e=(0,c.d4)(i.P6r);if((0,i.JSV)(e.market,"FR")){const e="Voir {0} pour plus d'informations sur les crit\xe8res de classement.",t=l.createElement("a",{href:"https://www.microsoft.com/fr-fr/store/b/imprint",target:"_blank",rel:"noreferrer"},"mentions l\xe9gales et informations consommateurs");return(0,i.OzX)(e,t)}return null},Ee=e=>{const t=be(),[n,r]=(0,l.useState)(!1);return t?l.createElement(l.Fragment,null,l.createElement(w.a,{as:"button",buttonType:se.VQ.Tertiary,role:"button","aria-label":"Ic\xf4ne d'informations",className:y()(ye,"FranceCollectionDisclaimer-module__iconButton___yNMeR",e.foregroundStyle?"FranceCollectionDisclaimer-module__buttonWithoutFocusBackground___OHrpT":null),"data-tip":!0,onClick:()=>r(!0),style:e.foregroundStyle},l.createElement(g.In,{icon:ve,iconSize:g.lK.Small})),l.createElement(u.aF,{show:n,onCloseBtnClick:()=>r(!1),closeable:!0},l.createElement(u.aF.Body,null,l.createElement("div",{className:"FranceCollectionDisclaimer-module__contentMargin___TerUh"},t)))):null},Se=()=>{const e=be();return e?l.createElement("div",{"aria-label":"Ic\xf4ne d'informations",className:y()(ye,ge,"Tooltip-module__tooltipArrowLeftPositionAdjustments___OPFdG"),"data-tip":!0,tabIndex:0,role:"button","aria-describedby":"tooltip-content"},l.createElement(g.In,{icon:ve,iconSize:g.lK.Small}),l.createElement("div",{role:"tooltip",id:"tooltip-content",className:y()(_e,"Tooltip-module__tooltipContentPositionAdjustments___eLdI+")},e)):null};n(28443),n(4600),n(17),n(25601),n(93262);var Ce=n(39288),Pe=n(46341),Te=n(55490),we=n(16235),Ie="ItemsSlider-module__arrowButton___ZH7Ek",ke="ItemsSlider-module__arrowButtonIconStyle___2JcCu",xe="ItemsSlider-module__disabledArrowButton___VZ+e1";const Ae=(e,t,n)=>l.createElement("li",{role:"none",onKeyDown:e=>((e,t,n)=>{var r;let a=-1;switch(e.key){case"ArrowLeft":a=t-1;break;case"ArrowRight":a=t+1}n[a]&&(null===(r=(0,A.aY)(n[a])[0])||void 0===r||r.focus())})(e,t,n),key:t,ref:e=>{n[t]=e}},l.createElement("span",{key:`ItemSliderItem-${t}-${e.key}`,className:"ItemsSlider-module__itemMargin___s21Pp","data-testID":`ItemSliderItem-${t}-${e.key}`},e)),Ne=e=>{var t;const{previousMediaButtonAccessibilityLabel:n,nextMediaButtonAccessibilityLabel:r,pdpChannelShowAllLabel:a}=(0,s.ot)("previousMediaButtonAccessibilityLabel","nextMediaButtonAccessibilityLabel","pdpChannelShowAllLabel"),{items:o,title:i,showAllUrl:c}=e,d=(0,l.useRef)(null),m=(0,l.useRef)([]),p=(0,l.useRef)(null),[f,v]=(0,l.useState)(0),[g,_]=(0,l.useState)({previousButtonVisible:!1,nextButtonVisible:!1}),b=(0,A.xG)(),E=(0,l.useRef)({minWidth:"min(100%, 1920px)"}),S=e=>{if(d.current){const t=e*o.length-d.current.offsetWidth,n=p.current;n&&(n.scrollLeft=0),_({previousButtonVisible:!1,nextButtonVisible:t>0})}};if((0,l.useEffect)((()=>{const e=p.current;e&&!e.onscroll&&f>0&&(e.onscroll=()=>{const t=Math.min(e.clientWidth-parseFloat(getComputedStyle(e).fontSize),1920)-f;(b?e.scrollLeft>=0:e.scrollLeft<=0)?_({previousButtonVisible:!1,nextButtonVisible:!0}):e.scrollWidth-Math.ceil(Math.abs(e.scrollLeft))-t<=e.offsetWidth?_({previousButtonVisible:!0,nextButtonVisible:!1}):_({previousButtonVisible:!0,nextButtonVisible:!0})})}),[p,f]),(0,l.useEffect)((()=>{f>0&&S(f)}),[f,o.length]),(0,l.useEffect)((()=>{E.current={minWidth:`calc(min(100%, 1920px) - ${f}px)`}}),[f]),(0,l.useEffect)((()=>{var e;if(m[0]){const t=null===(e=m[0])||void 0===e?void 0:e.offsetWidth;return v(t),window.addEventListener("resize",(()=>S(t))),()=>window.removeEventListener("resize",(()=>S(t)))}return()=>{}}),[m[0],null===(t=m[0])||void 0===t?void 0:t.offsetWidth]),0===o.length)return null;const C=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=p.current;if(n&&d.current){const r=t?1:Math.floor(d.current.offsetWidth/f),a=e?1:-1;let o=n.scrollLeft+a*r*f;if(e){let e=o/f;e=b?Math.floor(e):Math.ceil(e),o=e*f}else o-=o%f;if(Math.abs(o)+n.clientWidth>n.scrollWidth){const e=n.scrollWidth-n.clientWidth;o=a*(e-e%f)}n.scrollLeft=o}},P=()=>{if(p.current){const e=p.current.getBoundingClientRect(),t=(0,A.aY)(p.current).find((t=>{const n=t.getBoundingClientRect();return n.left>e.left&&n.right{C(!1!==b),P()},title:n},(0,x.vj)(h()(h()({},w),{},{id:"scrollBackButton",contentName:n,slotNumber:0})))),l.createElement(Ce.m,h()({as:"button","aria-label":r,className:y()([Ie,g.nextButtonVisible?we.VI:xe]),disabled:!g.nextButtonVisible,icon:b?Te.A:Pe.A,iconClassName:y()(ke,we.K_),onClick:()=>{C(!0!==b),P()},title:r},(0,x.vj)(h()(h()({},w),{},{id:"scrollForwardButton",contentName:r,slotNumber:1})))))),l.createElement(u.L_,null,l.createElement("ol",{className:"ItemsSlider-module__wrapper___nAi6y",ref:p,onFocusCapture:e=>{if(void 0!==typeof document&&e&&e.target&&1.5*fwindow.innerWidth||t.right>document.documentElement.clientWidth?C(!0,!0):t.left<0&&C(!1,!0)}},role:"none"},o.map(((e,t)=>Ae(e,t,m))),l.createElement("li",{"aria-hidden":!0,style:E.current})))))};var Le=n(88262),Me="FadeContainers-module__widthInherit___5fuOa";const Oe=e=>l.createElement("div",{className:y()("FadeContainers-module__fadeIn___5xlsD",Me),onAnimationEnd:e.onAnimationEnd},e.children),Re=e=>l.createElement("div",{className:y()("FadeContainers-module__fadeOut___35iB7",Me),onAnimationEnd:e.onAnimationEnd},e.children);const De=e=>{const{lceState:t,isNotRequested:n,isFetching:r,content:a,error:o,defaultRender:i}=e,[s,c]=(0,l.useState)(t),[d,m]=(0,l.useState)(t),[p,h]=(0,l.useState)(void 0),[f,v]=(0,l.useState)(!1),[g,_]=(0,l.useState)(!1),y=(0,l.useRef)((0,Le.lceSelect)(d||(0,Le.lceNotRequested)(),{default:i,content:a,error:o,isFetching:r,isNotRequested:n})||null);return(0,l.useEffect)((()=>{f||g?h(t):t&&t.type!==(null===s||void 0===s?void 0:s.type)&&(m(t),v(!0))}),[t]),(0,l.useEffect)((()=>{if(g){const e=(0,Le.lceSelect)(d||(0,Le.lceNotRequested)(),{default:i,content:a,error:o,isFetching:r,isNotRequested:n})||null;y.current=e,v(!1)}else p&&p.type!==(null===s||void 0===s?void 0:s.type)&&(m(p),h(void 0),v(!0))}),[g]),f?l.createElement(Re,{onAnimationEnd:()=>_(!0)},y.current):l.createElement(Oe,{onAnimationEnd:()=>{c(d),m(void 0),_(!1)}},o?l.createElement(u.tH,{renderError:e=>{const t=(0,Le.lceError)(e,d);return o(t)}},(()=>y.current)):y.current)},Be=e=>(0,u.T8)()>=u.JP.SM?e.children[0]:e.children[1],Fe=u.L_,Ue=u.XY;Be.Desktop=Fe,Be.Mobile=Ue;const He=e=>{let{items:t,title:n}=e;return l.createElement(Be,null,l.createElement(Be.Desktop,null,l.createElement(u.XY,{xs:12},l.createElement(u.XY,null,!!n&&l.createElement("h2",{className:y()("SizeAdaptiveItemSliderChannel-module__channelTitleText___SexCs",E.me)},n)),l.createElement(Ne,{items:t,title:n}))),l.createElement(Be.Mobile,{className:"SizeAdaptiveItemSliderChannel-module__mobileContainer___IhbnZ"},!!n&&l.createElement("h2",{className:E.me},n),l.createElement("ul",{className:"SizeAdaptiveItemSliderChannel-module__listItemStyle___sQYJb"},t.map((e=>l.createElement("li",{key:`${n}-${e.key}`},e))))))};n(34237);var Ve=n(6985);const Ge=function(e){return l.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),l.createElement("path",{d:"M1.132 10.277a1.125 1.125 0 011.493-.088l.098.088 13.381 13.38 13.349-13.349a1.125 1.125 0 011.492-.087l.099.087c.408.408.437 1.051.087 1.493l-.087.098-14.145 14.145a1.125 1.125 0 01-1.493.087l-.098-.087L1.132 11.868a1.125 1.125 0 010-1.591z",fillRule:"evenodd"}))};var qe=n(85608);const ze=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M1024 0q141 0 272 36t245 103 207 160 160 208 103 245 37 272q0 141-36 272t-103 245-160 207-208 160-245 103-272 37q-141 0-272-36t-245-103-207-160-160-208-103-244-37-273q0-141 36-272t103-245 160-207 208-160T751 37t273-37zm0 1920q123 0 237-32t214-90 182-141 140-181 91-214 32-238q0-123-32-237t-90-214-141-182-181-140-214-91-238-32q-123 0-237 32t-214 90-182 141-140 181-91 214-32 238q0 123 32 237t90 214 141 182 181 140 214 91 238 32zm0-1568q93 0 178 24t161 68 136 105 105 136 68 160 24 179q0 93-24 178t-68 161-105 136-136 105-160 68-179 24q-93 0-178-24t-161-68-136-105-105-136-68-160-24-179q0-93 24-178t68-161 105-136 136-105 160-68 179-24z"}))};const Xe=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M1024 0q141 0 272 36t245 103 207 160 160 208 103 245 37 272q0 141-36 272t-103 245-160 207-208 160-245 103-272 37q-141 0-272-36t-245-103-207-160-160-208-103-244-37-273q0-141 36-272t103-245 160-207 208-160T751 37t273-37zm0 1920q123 0 237-32t214-90 182-141 140-181 91-214 32-238q0-123-32-237t-90-214-141-182-181-140-214-91-238-32q-123 0-237 32t-214 90-182 141-140 181-91 214-32 238q0 123 32 237t90 214 141 182 181 140 214 91 238 32z"}))};const je=function(e){return l.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),l.createElement("path",{d:"M3.922 32c-.521 0-1.016-.104-1.485-.313a4.12 4.12 0 01-1.25-.859 4.12 4.12 0 01-.859-1.25 3.84 3.84 0 01-.328-1.5V3.922C0 3.4.104 2.906.313 2.437a4.12 4.12 0 01.859-1.25 4.12 4.12 0 011.25-.859A3.84 3.84 0 013.922 0h24.156c.521 0 1.016.104 1.485.313a4.12 4.12 0 011.25.859c.364.364.65.781.859 1.25.208.469.318.969.328 1.5v24.156c0 .521-.104 1.016-.313 1.485a4.12 4.12 0 01-.859 1.25 4.12 4.12 0 01-1.25.859 3.84 3.84 0 01-1.5.328H3.922zM28 30c.281 0 .542-.052.781-.156.24-.104.448-.245.625-.422a2.18 2.18 0 00.438-.64c.114-.25.166-.511.156-.782V4a1.9 1.9 0 00-.156-.766 2.207 2.207 0 00-.422-.64 1.845 1.845 0 00-.64-.438A2.012 2.012 0 0028 2H4c-.281 0-.542.052-.781.156-.24.104-.448.245-.625.422a2.18 2.18 0 00-.438.64C2.042 3.469 1.99 3.73 2 4v24c0 .281.052.542.156.781.104.24.245.453.422.64.177.188.386.329.625.423.24.093.505.146.797.156h24z",fillRule:"evenodd"}))};const We=function(e){return l.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),l.createElement("path",{d:"M3.203 32c-.437 0-.849-.083-1.234-.25a3.437 3.437 0 01-1.032-.688 2.925 2.925 0 01-.687-1.015 3.517 3.517 0 01-.25-1.25V3.203c0-.437.083-.849.25-1.234.167-.386.396-.73.688-1.032.291-.302.63-.53 1.015-.687.386-.156.802-.24 1.25-.25h25.594c.437 0 .849.083 1.234.25.386.167.73.396 1.032.688.302.291.53.63.687 1.015.156.386.24.802.25 1.25v25.594c0 .437-.083.849-.25 1.234-.167.386-.396.73-.688 1.032-.291.302-.63.53-1.015.687-.386.156-.802.24-1.25.25H3.203zM13 22.25c.156 0 .313-.031.469-.094.156-.062.297-.15.422-.265l12-12c.24-.24.359-.537.359-.891s-.12-.651-.36-.89a1.21 1.21 0 00-.89-.36c-.354 0-.651.12-.89.36L13 19.233 7.89 14.11A1.21 1.21 0 007 13.75c-.354 0-.651.12-.89.36-.24.239-.36.536-.36.89 0 .156.031.313.094.469.062.156.15.297.265.422l6 6a1.293 1.293 0 00.89.36z",fillRule:"evenodd"}))};var $e="Selections-module__chevronIcon___XUd8d",Je="Selections-module__container___uyKes",Ke="Selections-module__icon___IBPqb",Qe="Selections-module__options___I24e7";const Ye=e=>{const{filterInfo:t}=e;return t.choices.length>0&&t.choices[0]&&t.choices[0].isLabelOnly?l.createElement("ul",{className:"Selections-module__optionsWithSubtitle___uaHrP"},l.createElement(et,h()({},e))):l.createElement("ul",{className:Qe,role:"listbox"},l.createElement(tt,h()({},e)))},Ze=e=>{const{filterInfo:t}=e,[n,r]=(0,l.useState)(!0),a=l.createElement(Ve.A,{"aria-hidden":!0,className:y()(Ke,$e)}),o=l.createElement(Ge,{"aria-hidden":!0,className:y()(Ke,$e)}),i=n?o:a;return l.createElement("div",{className:Je,id:t.id},l.createElement("button",{className:"Selections-module__titleContainer___92DiF",onClick:()=>r(!n),"aria-expanded":!n},l.createElement("div",{className:y()(E._o,"Selections-module__titleText___OaatO")},t.title),i),!n&&l.createElement("ul",{className:Qe,role:"listbox"},l.createElement(tt,h()({},e))))},et=e=>{const{filterInfo:t,onChoicesClick:n,selectedChoices:r}=e,a=[];let o=[],i="",s="";if(t.choices.map(((e,c)=>{if(void 0!==e.isLabelOnly&&e.isLabelOnly){if(o.length>0&&i&&s){const e={choices:o,hasAllChoice:t.hasAllChoice,id:t.id,isMultiSelect:t.isMultiSelect,title:s,truncatedDisplayCount:t.truncatedDisplayCount,allChoiceId:t.allChoiceId};a.push(l.createElement(Ze,{key:`${t.id}_${i}_${c}`,filterInfo:e,onChoicesClick:n,selectedChoices:r}))}o=[],i=e.id,s=e.title}else o.push(e)})),o.length>0){const e={choices:o,hasAllChoice:t.hasAllChoice,id:t.id,isMultiSelect:t.isMultiSelect,title:s,truncatedDisplayCount:t.truncatedDisplayCount,allChoiceId:t.allChoiceId};a.push(l.createElement(Ze,{key:`${t.id}_${i}`,filterInfo:e,onChoicesClick:n,selectedChoices:r}))}return l.createElement("div",{className:Je},a)},tt=e=>{const{filterInfo:t,onChoicesClick:n,selectedChoices:r}=e,a=t.choices.length;return l.createElement(l.Fragment,null,t.choices.map(((e,o)=>{const i=null===r||void 0===r?void 0:r.some((t=>t.id.toLowerCase()===e.id.toLowerCase()));return l.createElement("li",{key:`${t.id}_${o}`},l.createElement(nt,{choice:e,choiceGroupId:t.id,isSelected:i,isMultiSelect:t.isMultiSelect,onChoicesClick:n,itemIndex:o+1,totalItems:a}))})))},nt=e=>{const{choiceGroupId:t,isMultiSelect:n,isSelected:r,choice:a,itemIndex:o,totalItems:c,onChoicesClick:u}=e,d=(0,s.FE)("listItemAccessibilityLabelFormat"),m=l.createElement(ze,{"aria-hidden":!0}),p=l.createElement(Xe,{"aria-hidden":!0}),h=l.createElement(je,{"aria-hidden":!0}),f=n?r?l.createElement(We,{"aria-hidden":!0}):h:r?m:p,v=(0,i.GPZ)(d,a.title,o.toString(),c.toString());return l.createElement("button",{className:"Selections-module__selectionContainer___m2xzM",onClick:()=>{u(t,a.id)},id:a.id,role:n?"checkbox":"option","aria-selected":r,"aria-checked":r,"aria-label":n?v:void 0},l.createElement("div",{className:Ke},f),l.createElement("div",{className:y()(E._o,"Selections-module__label___CpN0F","Selections-module__textColor___CnMSs")},a.title))};var rt=n(72942),at="SelectionDropdown-module__chevronIcon___Z81Q8";const ot=e=>{var t;const{filterInfo:n,onChoicesClick:r,selectedChoices:a,titleFunction:o,isInitiallyCollapsed:s,isScrollable:c}=e,[u,d]=(0,l.useState)(null!==s&&void 0!==s&&s),m=l.createElement(Ve.A,{"aria-hidden":!0,className:at}),p=u?l.createElement(Ge,{"aria-hidden":!0,className:at}):m,h=!n.isMultiSelect&&o&&(null===a||void 0===a?void 0:a.length)>=1?(0,i.GPZ)(o,null!==(t=((e,t)=>{const n=t.find((t=>t.id===e));return null===n||void 0===n?void 0:n.title})(a[0].id,n.choices))&&void 0!==t?t:n.choices[0].title):n.title,f=n.isMultiSelect?n.title:h;return l.createElement("div",{className:"SelectionDropdown-module__container___XzkIx",id:n.id},l.createElement("button",{className:"SelectionDropdown-module__titleContainer___YyoD0",onClick:()=>d(!u),"aria-expanded":!u},l.createElement("span",{className:y()(E._o,"SelectionDropdown-module__titleText___PN6s9")},f),l.createElement("div",{className:"SelectionDropdown-module__filterInfoContainer___7ktfT"},n.isMultiSelect&&(null===a||void 0===a?void 0:a.length)>0&&l.createElement("span",{className:"SelectionDropdown-module__selectedLabel___49Ksx"},a.length),p)),!u&&l.createElement("div",{style:c?{maxHeight:(0,rt.JX)(2*n.truncatedDisplayCount),overflowY:"auto"}:void 0},l.createElement(Ye,{filterInfo:n,onChoicesClick:r,selectedChoices:a})))};var it=n(98185);var st=n(33235),lt=n(75184);const ct=e=>l.createElement("div",{className:y()("Tabs-module__tab___CxLhH",e.className)},e.children),ut=e=>{const{children:t,className:n,onSelectedIndexChanged:r,initialTabIndex:a=0}=e,[o,i]=(0,l.useState)(a),s=(0,l.useRef)(null),c=l.Children.map(t,(e=>({title:e.props.title,ariaLabel:e.props.ariaLabel}))),{startTransition:u,renderContainer:d}=function(e,t){const[n,r]=(0,l.useState)(e),[a,o]=(0,l.useState)(void 0),[i,s]=(0,l.useState)(!1),[c,u]=(0,l.useState)(!1);return(0,l.useEffect)((()=>{c?(t(void 0!==n?n:e),s(!1)):void 0!==a&&a!==e&&(r(a),o(void 0),s(!0))}),[c]),{startTransition:t=>{i||c?o(t):t!==e&&(r(t),s(!0))},renderContainer:e=>i?l.createElement(Re,{onAnimationEnd:()=>u(!0)},e):l.createElement(Oe,{onAnimationEnd:()=>{r(void 0),u(!1)}},e)}}(o,i);(0,l.useEffect)((()=>{null===r||void 0===r||r(o)}),[o,r]);return l.createElement("div",{className:y()("Tabs-module__tabContainer___Z2g7+",n)},l.createElement(A.vE.Provider,{value:{focusNearestChild:()=>{var e;null===(e=s.current)||void 0===e||e.focusCurrentTab()}}},l.createElement(dt,{ref:s,tabs:c,selectedIndex:o,initialTabIndex:a,setSelectedIndex:u}),d(t[o])))},dt=(0,l.forwardRef)(((e,t)=>{const[n,r]=(0,l.useState)(!1),[a,o]=(0,l.useState)(e.selectedIndex),[i,s]=(0,l.useState)(void 0),c=e.tabs.length,u=(0,l.useRef)(mt(null,0)),d=(0,l.useRef)(null),m=(0,l.useRef)([]),p=(0,it.x)(),f=(0,x.RE)();(0,l.useImperativeHandle)(t,(()=>({focusCurrentTab:()=>{var e;null===(e=m[a])||void 0===e||e.focus()}}))),(0,P.useLeftBumperHandler)("press",(()=>{const t=p?1:-1,n=(0,A.BD)(e.selectedIndex+t,c);return e.setSelectedIndex(n),u.current=mt(d.current,n),!0})),(0,P.useRightBumperHandler)("press",(()=>{const t=p?-1:1,n=(0,A.BD)(e.selectedIndex+t,c);return e.setSelectedIndex(n),u.current=mt(d.current,n),!0}));const v=()=>r(!0),_=()=>r(!1);(0,l.useEffect)((()=>{u.current=mt(d.current,e.initialTabIndex,!0),window.addEventListener("gamepadconnected",v),window.addEventListener("gamepaddisconnected",_);let t=navigator.getGamepads();return"object"===typeof t&&(t=Object.values(t)),r(t.filter((e=>!!e)).length>0),()=>{window.removeEventListener("gamepadconnected",v),window.removeEventListener("gamepaddisconnected",_)}}),[]),(0,l.useEffect)((()=>{const t=mt(d.current,e.selectedIndex);u.current=t,s(t)}),[e.tabs]);return l.createElement("div",{className:"Tabs-module__tabBar___nxTqT"},n&&l.createElement(g.In,{iconSize:g.lK.XXSmall,icon:p?st.A:lt.A}),l.createElement("div",{className:"Tabs-module__tabContainerMobile___APqvI"},l.createElement("ul",{className:"Tabs-module__tabTitles___3UtkN",ref:d,role:"tablist"},e.tabs.map(((t,n)=>{var r;const i=(0,x.nO)({areaName:"TabContainer",behavior:x.nS.TAB,contentName:t.title,contentType:x.cM.Button,id:`TabButton-${n}`,slotNumber:n},f),s=n===a||n===e.selectedIndex;return l.createElement("li",{key:n,role:"none",className:"Tabs-module__tabElement___5HQXQ"},l.createElement(w.a,h()(h()({as:"button",ref:e=>{m[n]=e},buttonType:se.VQ.Tertiary,className:y()("Tabs-module__tabButton___wRKYV",we.VI,s?"Tabs-module__activeTab___9tyPD":"Tabs-module__inactiveTab___6fFsw"),onClick:()=>{e.setSelectedIndex(n),o(n),u.current=mt(d.current,n)},role:"tab","aria-label":null!==(r=t.ariaLabel)&&void 0!==r?r:t.title,"aria-selected":s,onKeyDown:e=>((e,t)=>{var n,r;const a=p?-1:1;"ArrowLeft"===e.key?null===(n=m[t-1*a])||void 0===n||n.focus():"ArrowRight"===e.key&&(null===(r=m[t+1*a])||void 0===r||r.focus())})(e,n)},(0,x.vj)(i)),s?{}:{tabIndex:-1}),t.title))}))),l.createElement("div",{className:"Tabs-module__tabUnderline___35yYF","aria-hidden":!0,style:h()(h()({},u.current),{},{opacity:d.current?"1":"0"})})),n&&l.createElement(g.In,{iconSize:g.lK.XXSmall,icon:p?lt.A:st.A}))})),mt=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];var r,a;if(!e||e.children.length{const{children:t}=e;return l.createElement("div",{className:"SubscriptionCard-module__subscriptionCard___CeIiz"},t)},gt=e=>{let{children:t}=e;return l.createElement(fe,{className:"SubscriptionCard-module__featureScrollContainer___hBIna"},l.createElement("ul",{className:"SubscriptionCard-module__featureBody___h3CwX"},t))},_t=e=>{let{icon:t,title:n,textToShow:r}=e;return l.createElement("li",{className:"SubscriptionCard-module__checkmarkRow___fZ-nE"},l.createElement(g.In,{iconSize:t?g.lK.XSmall:g.lK.XXSmall,icon:null!==t&&void 0!==t?t:b.A,title:n}),l.createElement("span",{className:E.cb},r))};var yt=n(64283);const bt=e=>{let{children:t,productId:n}=e;const r=(0,c.d4)((e=>(0,Le.getDataOrPrevious)((0,yt.$Y)(e,n)))),a=null===r||void 0===r?void 0:r.isOwned;return l.createElement("div",{className:y()("SubscriptionCard-module__header___MLoAq","SubscriptionCard-module__headerBasic___S0-IU","theme-dark")},t,!a&&l.createElement(St,{productId:n}))},Et=e=>{let{title:t}=e;return l.createElement("h3",{className:y()(E.tY,"SubscriptionCard-module__cardTitle___UxQCZ")},t)},St=e=>{let{productId:t}=e;const n=(0,c.d4)((e=>(0,yt.Pm)(e,t)));return(0,f.oX)(n)?l.createElement(f.Y9,{productInfo:n,className:y()(E.me,"SubscriptionCard-module__pricingSection___st2ON"),discountDetailClassName:"SubscriptionCard-module__discountDetail___2ePkg"}):null};var Ct=n(87530);const Pt=e=>{let{isOwned:t,productId:n,productName:r,slotNumber:a}=e;const[o,c,u]=(0,s.cG)("joinNowText","joinNowButtonAccessibilityLabelFormat","youOwnThisText"),d=t?void 0:()=>{window.scrollTo({top:0,behavior:"smooth"})},m=t?u:o,p=t?u:(0,i.GPZ)(c,r),f={areaName:"SubscriptionCard",behavior:x.nS.OTHER,contentType:x.cM.Button,id:t?"youOwnThisDisabledAction":"joinNowAction",productId:n,productName:r,slotNumber:a};return l.createElement(w.a,h()({"aria-label":p,disabled:!!t,as:"button",className:y()(we.VI,pt),onClick:d},(0,x.vj)(h()(h()({},f),{},{contentName:m}))),m)},Tt=e=>{let{isOwned:t,pageProductId:n,productId:r,productName:a,slotNumber:o}=e;const[c,u,d,m]=(0,s.cG)("joinNowText","joinNowButtonAccessibilityLabelFormat","viewDetailsActionText","viewDetailsActionAccessibilityText"),p=(0,Ct.zo)(r,n),f=t?d:c,v=t?(0,i.GPZ)(m,a):(0,i.GPZ)(u,a),g={areaName:"SubscriptionCard",behavior:x.nS.NAVIGATIONFORWARD,contentType:x.cM.Link,id:t?"viewDetailsAction":"joinNowAction",productId:r,productName:a,slotNumber:o};return l.createElement(w.a,h()({"aria-label":v,as:"a",className:y()(we.VI,pt),href:p},(0,x.vj)(h()(h()({},g),{},{contentName:f}))),f)},wt=e=>{const[t,n]=(0,s.cG)("notAvailableLabel","notAvailableTemplate"),r=(0,i.GPZ)(n,e.productName);return l.createElement("div",{className:ht},l.createElement(w.a,{"aria-label":r,as:"button",className:y()(we.VI,pt),disabled:!0},t.toLocaleUpperCase()))},It=e=>{const{productId:t}=e,n=(0,c.d4)((e=>(0,Le.getDataOrPrevious)((0,yt.$Y)(e,t)))),r=(0,i.mzJ)(i.pvY.ProductId,""),a=(0,i.JSV)(t,r),o=null===n||void 0===n?void 0:n.isOwned;return e.disabled?l.createElement(wt,{productName:e.productName}):l.createElement("div",{className:ht},a?l.createElement(Pt,h()(h()({},e),{},{isOwned:o})):l.createElement(Tt,h()(h()({},e),{},{pageProductId:r,isOwned:o})))},kt=e=>{let{productId:t,slotNumber:n}=e;const{eaPlayBenefitsRewards:r,eaPlayBenefitsTrials:a,eaPlayBenefitsTitles:o,eaPlayBenefitsDiscounts:i}=(0,s.ot)("eaPlayBenefitsRewards","eaPlayBenefitsTrials","eaPlayBenefitsTitles","eaPlayBenefitsDiscounts");return l.createElement(vt,null,l.createElement(bt,{productId:t},l.createElement(g.In,{iconSize:g.lK.Custom,icon:v.A,title:f.j4,className:y()(ft,"SubscriptionCard-module__eaPlayLogo___kHvC3")})),l.createElement(gt,null,l.createElement(_t,{textToShow:r}),l.createElement(_t,{textToShow:a}),l.createElement(_t,{textToShow:o}),l.createElement(_t,{textToShow:i})),l.createElement(It,{productId:t,slotNumber:n,productName:f.j4}))},xt=e=>{let{productId:t,slotNumber:n}=e;const{gamePassConsoleHighQualityGameText:r,gamePassPlayOnDayOneText:a,gamePassMemberDealsAndDiscountsText:o}=(0,s.ot)("gamePassConsoleHighQualityGameText","gamePassPlayOnDayOneText","gamePassMemberDealsAndDiscountsText"),i=(0,s.JX)("gamePassSubscriptionText",[f.pg,f.RX]),c=(0,s.JX)("gamePassSubscriptionText",[f.ei,f.RX]);return l.createElement(vt,null,l.createElement(bt,{productId:t},l.createElement(Et,{title:i})),l.createElement(gt,null,l.createElement(_t,{textToShow:r}),l.createElement(_t,{textToShow:a}),l.createElement(_t,{textToShow:o})),l.createElement(It,{productId:t,slotNumber:n,productName:c,disabled:!0}))};var At=n(95129);const Nt=e=>{let{productId:t,slotNumber:n}=e;const{gamePassUltimateHighQualityGameText:r,gamePassPlayOnDayOneText:a,gamePassMultiplayer:o,gamePassMemberDealsDiscountsAndPerksText:i,eaPlayMembership:c}=(0,s.ot)("gamePassUltimateHighQualityGameText","gamePassPlayOnDayOneText","gamePassMultiplayer","gamePassMemberDealsDiscountsAndPerksText","eaPlayMembership");return l.createElement(vt,null,l.createElement(bt,{productId:t},l.createElement(Et,{title:f.gp})),l.createElement(gt,null,l.createElement(_t,{textToShow:r}),l.createElement(_t,{textToShow:a}),l.createElement(_t,{textToShow:i}),l.createElement(_t,{textToShow:o}),l.createElement(_t,{textToShow:c,icon:At.A,title:f.j4})),l.createElement(It,{productId:t,slotNumber:n,productName:f.TM}))},Lt=e=>{let{productId:t,slotNumber:n}=e;const{gamePassPCHighQualityGameText:r,gamePassPlayOnDayOneText:a,gamePassMemberDealsAndDiscountsText:o,eaPlayMembership:i}=(0,s.ot)("gamePassPCHighQualityGameText","gamePassPlayOnDayOneText","gamePassMemberDealsAndDiscountsText","eaPlayMembership");return l.createElement(vt,null,l.createElement(bt,{productId:t},l.createElement(Et,{title:f.i4})),l.createElement(gt,null,l.createElement(_t,{textToShow:r}),l.createElement(_t,{textToShow:a}),l.createElement(_t,{textToShow:o}),l.createElement(_t,{textToShow:i,icon:At.A,title:f.j4})),l.createElement(It,{productId:t,slotNumber:n,productName:f.i4}))},Mt=e=>{let{productId:t,slotNumber:n}=e;const{ubisoftPlusBenefitsGames:r,ubisoftPlusBenefitsPCAccess:a,ubisoftPlusBenefitsDayOneReleases:o,ubisoftPlusBenefitsEditions:i,ubisoftPlusBenefitsRewards:c,ubisoftPlusBenefitsDiscount:u}=(0,s.ot)("ubisoftPlusBenefitsGames","ubisoftPlusBenefitsPCAccess","ubisoftPlusBenefitsDayOneReleases","ubisoftPlusBenefitsEditions","ubisoftPlusBenefitsRewards","ubisoftPlusBenefitsDiscount");return l.createElement(vt,null,l.createElement(bt,{productId:t},l.createElement(g.In,{iconSize:g.lK.Custom,icon:f.ci,title:f.n8,className:y()(ft,"SubscriptionCard-module__ubisoftPlusLogo___J0jO+")})),l.createElement(gt,null,l.createElement(_t,{textToShow:r}),l.createElement(_t,{textToShow:a}),l.createElement(_t,{textToShow:o}),l.createElement(_t,{textToShow:i}),l.createElement(_t,{textToShow:c}),l.createElement(_t,{textToShow:u})),l.createElement(It,{productId:t,slotNumber:n,productName:f.n8}))},Ot=e=>{let{productId:t,slotNumber:n}=e;const{ultimateFamilyShareBenefit:r,ultimateFamilyIncludeBenefit:a,ultimateFamilyOwnAccountBenefit:o,ultimateFamilyOwnHistoryBenefit:i,ultimateFamilyPlayBenefit:c,ultimateFamilyEnjoyBenefit:u}=(0,s.ot)("ultimateFamilyShareBenefit","ultimateFamilyIncludeBenefit","ultimateFamilyOwnAccountBenefit","ultimateFamilyOwnHistoryBenefit","ultimateFamilyPlayBenefit","ultimateFamilyEnjoyBenefit");return l.createElement(vt,null,l.createElement(bt,{productId:t},l.createElement(Et,{title:f.Oz})),l.createElement(gt,null,l.createElement(_t,{textToShow:r}),l.createElement(_t,{textToShow:a}),l.createElement(_t,{textToShow:o}),l.createElement(_t,{textToShow:i}),l.createElement(_t,{textToShow:c}),l.createElement(_t,{textToShow:u})),l.createElement(It,{productId:t,slotNumber:n,productName:f.Oz}))},Rt=e=>{let{productId:t,slotNumber:n}=e;const{gamePassCoreHighQualityGameText:r,gamePassCoreSelectCatalogHighQualityGameText:a,gamePassMultiplayer:o,gamePassMemberDealsAndDiscountsText:u}=(0,s.ot)("gamePassCoreHighQualityGameText","gamePassCoreSelectCatalogHighQualityGameText","gamePassMultiplayer","gamePassMemberDealsAndDiscountsText"),d=(0,c.d4)(i.P6r);return l.createElement(vt,null,l.createElement(bt,{productId:t},l.createElement(Et,{title:f.Xz})),l.createElement(gt,null,l.createElement(_t,{textToShow:o}),l.createElement(_t,{textToShow:"JP"===d.market.toUpperCase()?a:r}),l.createElement(_t,{textToShow:u})),l.createElement(It,{productId:t,slotNumber:n,productName:f.IT}))},Dt=e=>{let{productId:t,slotNumber:n}=e;const{gamePassConsoleHighQualityGameText:r,gamePassMultiplayer:a,gamePassMemberDealsAndDiscountsText:o}=(0,s.ot)("gamePassConsoleHighQualityGameText","gamePassMultiplayer","gamePassMemberDealsAndDiscountsText");return l.createElement(vt,null,l.createElement(bt,{productId:t},l.createElement(Et,{title:f.Ff})),l.createElement(gt,null,l.createElement(_t,{textToShow:r}),l.createElement(_t,{textToShow:a}),l.createElement(_t,{textToShow:o})),l.createElement(It,{productId:t,slotNumber:n,productName:f.av}))},Bt=e=>{let{productId:t,slotNumber:n}=e;const{gtaPlusBenefitsCash:r,gtaPlusAccessToGames:a}=(0,s.ot)("gtaPlusBenefitsCash","gtaPlusAccessToGames");return l.createElement(vt,null,l.createElement(bt,{productId:t},l.createElement(g.In,{iconSize:g.lK.Custom,icon:f.c6,title:f.n_,className:y()(ft,"SubscriptionCard-module__gtaPlusLogo___Tdd0u")})),l.createElement(gt,null,l.createElement(_t,{textToShow:r}),l.createElement(_t,{textToShow:a})),l.createElement(It,{productId:t,slotNumber:n,productName:f.n_}))},Ft=e=>{const t=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableMaunaLoa)));switch((0,i.XBe)(e.productId)){case f.CZ:return l.createElement(Nt,h()({},e));case f.hd:return l.createElement(Lt,h()({},e));case f.b6:return l.createElement(xt,h()({},e));case f.pA:return l.createElement(Ot,h()({},e));case f.Tw:return l.createElement(Rt,h()({},e));case f.BO:return t?l.createElement(Dt,h()({},e)):null;case f.KJ:return l.createElement(kt,h()({},e));case f.Es:return l.createElement(Mt,h()({},e));case f.mr:return l.createElement(Bt,h()({},e));default:return null}};const Ut=()=>{const e=(0,l.useRef)(null),[t,n]=(0,l.useState)(!1),r=(0,i.mx0)(),a=(0,c.wA)();(0,l.useEffect)((()=>{const e=e=>{if("https://www.microsoft.com"===e.origin&&e.data.id&&"cartMuidSyncSuccess"===e.data.id){const t=r.get(i._F7),n=e.data.cartMuid;t!==n&&n&&(r.set(i._F7,n,{essential:!0}),a(yt.iv.fetchVectorId.start()))}};return window.addEventListener("message",e),n(!0),()=>window.removeEventListener("message",e)}),[r,a]);const o=(0,l.useCallback)((()=>{var t;(null===(t=e.current)||void 0===t?void 0:t.contentWindow)&&e.current.contentWindow.postMessage({id:"startCartMuidSync"},"https://www.microsoft.com")}),[e]);return t?l.createElement("iframe",{ref:e,onLoad:o,key:"cartMuid-sync-iframe",name:"cartMuid-sync-iframe",referrerPolicy:"strict-origin",sandbox:"allow-scripts allow-same-origin",src:"https://www.microsoft.com/store/XboxComMsComCartMuidSync.html",width:"0",height:"0",className:"CartMuidSync-module__muidSyncFrame___NpX0w"}):null};n(69399);var Ht=n(77345),Vt="CollectionPromo-module__appLaunchIcon___d9o3b",Gt="CollectionPromo-module__buttonWithoutFocusBackground___TEiUd",qt="CollectionPromo-module__defaultLineClamp___hcAIk",zt="CollectionPromo-module__disclaimerPositioning___k1OLb",Xt="CollectionPromo-module__subtitle___GqZp5",jt="CollectionPromo-module__threeLineClamp___n0d2P";const Wt=e=>{const{altText:t,title:n,backgroundColor:r,foregroundColor:a,description:o,footer:s,imageUrl:u,link:d,linkAriaLabel:m,subHeader:p,isLandscape:h,showFranceCollectionDisclaimer:f}=e,v=(0,A.xG)(),_=(0,c.d4)(i.j17)===i.Sxu.Dark,b=null!==r&&void 0!==r?r:_?"#404040":"#f9f9f9",S=v?{background:`linear-gradient(90deg, rgba(0, 0, 0, 0) calc(max(50%, 540px) - 175px), ${b} max(50%, 540px))`}:{background:`linear-gradient(90deg, ${b} max(50%, 540px), rgba(0, 0, 0, 0) calc(max(50%, 540px) + 175px))`},C=a?Kt(a):void 0,P=!!p,T=!(!s||!d),I=3+Number(!P)+Number(!T);let k=jt;switch(I){case 5:k="CollectionPromo-module__fiveLineClamp___cEFdt";break;case 4:k="CollectionPromo-module__fourLineClamp___vI4XM"}return l.createElement("div",{className:"CollectionPromo-module__contentZIndex___tjOqr"},f?l.createElement("div",{className:zt,style:null===C||void 0===C?void 0:C.foregroundStyle},h?l.createElement(Ee,{foregroundStyle:null===C||void 0===C?void 0:C.foregroundStyle}):l.createElement(Se,null)):null,l.createElement("div",{className:"CollectionPromo-module__contentContainer___9aSeR",style:S},l.createElement("div",{className:"CollectionPromo-module__textContainer___rXocJ"},P&&l.createElement("span",{className:y()(qt,E.f9),style:null===C||void 0===C?void 0:C.foregroundStyle},p),!!n&&l.createElement("h2",{className:y()(qt,T?"":jt,E.kU),style:null===C||void 0===C?void 0:C.foregroundStyle},n),!!o&&l.createElement("span",{className:y()(qt,k,E.Ux,Xt),style:null===C||void 0===C?void 0:C.foregroundStyle},o),T&&l.createElement(w.a,{as:"a","aria-label":m,buttonType:C?se.VQ.Tertiary:se.VQ.Secondary,className:y()("CollectionPromo-module__footer___q1Zzo",C?Gt:""),style:null===C||void 0===C?void 0:C.buttonAdjustmentsStyle,href:d,target:"_blank"},l.createElement("span",{className:qt,style:null===C||void 0===C?void 0:C.foregroundStyle},s),l.createElement(g.In,{className:Vt,iconSize:g.lK.XXSmall,icon:Ht.A,style:null===C||void 0===C?void 0:C.foregroundStyle}))),l.createElement("div",{className:"CollectionPromo-module__imageContainer___gprij"},l.createElement("img",{alt:null!==t&&void 0!==t?t:n,src:u,className:"CollectionPromo-module__image___AfscE"}))))},$t=e=>l.createElement(Wt,h()(h()({},e),{},{isLandscape:!0})),Jt=e=>{const{altText:t,title:n,backgroundColor:r,foregroundColor:a,description:o,footer:i,imageUrl:s,link:c,linkAriaLabel:u,subHeader:d,showFranceCollectionDisclaimer:m}=e,p=r?{background:r}:{backgroundImage:`url(${s})`},h=a?Kt(a):void 0;return l.createElement("div",{style:p,className:"CollectionPromo-module__contentContainerPortrait___Htkwv"},l.createElement("img",{alt:null!==t&&void 0!==t?t:n,src:s}),l.createElement("div",{className:r?"":"CollectionPromo-module__scrim___FEtBi"},m?l.createElement("div",{className:zt,style:null===h||void 0===h?void 0:h.foregroundStyle},l.createElement(Ee,{foregroundStyle:null===h||void 0===h?void 0:h.foregroundStyle})):null,l.createElement("div",{className:"CollectionPromo-module__textContainerPortrait___IxcUT"},d&&l.createElement("span",{className:E.TM,style:null===h||void 0===h?void 0:h.foregroundStyle},d),n&&l.createElement("h2",{className:y()("CollectionPromo-module__textAndIconContainer___tGVrM",E.q),style:null===h||void 0===h?void 0:h.foregroundStyle},n),o&&l.createElement("span",{className:y()(Xt,E.Ux),style:null===h||void 0===h?void 0:h.foregroundStyle},o),i&&c&&l.createElement(w.a,{as:"a","aria-label":u,buttonType:h?se.VQ.Tertiary:se.VQ.Secondary,className:y()("CollectionPromo-module__footerPortrait___jZMHW",h?Gt:""),style:null===h||void 0===h?void 0:h.buttonAdjustmentsStyle,href:c,target:"_blank"},l.createElement("span",{style:null===h||void 0===h?void 0:h.foregroundStyle},i),l.createElement(g.In,{className:Vt,iconSize:g.lK.XXSmall,icon:Ht.A,style:null===h||void 0===h?void 0:h.foregroundStyle})))))},Kt=e=>({foregroundStyle:{color:e},buttonAdjustmentsStyle:{borderColor:e}}),Qt=e=>{const t=(0,u.Gp)({desktopComponent:Wt,mobileLandscapeComponent:$t,mobilePortraitComponent:Jt});return t?l.createElement(t,h()({},e)):null},Yt=e=>{const{currentExperience:t}=(0,l.useContext)(u.W4),n=(0,l.useMemo)((()=>h()(h()({},u.i5),{},{[u.JP.XS]:860})),[]);return l.createElement(u.mo,{initialExperience:t,viewPortSizes:n},l.createElement(Qt,h()({},e)))};n(66264),n(51453),n(57971),n(16913),n(87054),n(52103),n(97905),n(12729),n(279),n(15385),n(17519),n(78258),n(93094),n(97012),n(52597);var Zt=n(47882),en=n(51622),tn=n(92488),nn=n(36359),rn=n(93285),an=n(34813),on=n(73307);const sn="#1A1B1E",ln="#DFE4E8",cn="xboxcomct",un="XboxCom",dn=["https://www.xbox.com","https://greenland.dev.xbox.com:3000","https://origin-test.xbox.com","https://origin-int.xbox.com","https://origin-ppe.xbox.com","https://origin-prod.xbox.com","https://play.xbox.com","https://local.play.xbox.com:1337","https://local.play.xbox.com:1338","https://dev.play.xbox.com","https://test.play.xbox.com","https://int.play.xbox.com"];var mn="SkuPickerPage-module__column___SabJg",pn="SkuPickerPage-module__textAlignStart___i7l8T";const hn=e=>{let{hasAddOns:t,onClose:n,onSelect:r,productId:a}=e;(0,x.qz)("ContextualStoreSkuPicker",x.ry.Overlay,{productInfo:{id:a}});const[o,d]=(0,s.cG)("selectOfferText","backCallToAction"),m=(0,c.d4)(i.P6r),p=(0,c.d4)(i.rPt),h=(0,c.d4)((e=>(0,yt.qq)(e,a))),v=(0,c.d4)(i.GYd).userAgent,g=!(0,Zt.yd)(v),_=(0,c.d4)((e=>(0,yt.HH)(e,a)));if($(n,!0),!h||!_)return null;const b=((e,t,n,r,a,o)=>e.map(((e,c)=>{const d=(0,s.FE)("plusSignDelimiterStringTemplate"),m=t.find((t=>((0,i.JSV)(e.optimalAvailabilityId,t.availabilityId)||(0,i.JSV)(e.preferredAvailabilityId,t.availabilityId))&&(0,i.JSV)(e.skuId,t.skuId)&&(0,i.JSV)(e.productId,t.productId))),p=e.skuTitle,h=(0,f.i_)(null===m||void 0===m?void 0:m.promotionalDuration);if(!m||!p)return null;const v=m.productId,g=m.skuId,_=m.availabilityId,b=m.price,S=h?(0,i.GPZ)(d,p,h):p,C=(0,i.vv8)(b.listPrice,b.currency,n),P=(e,t,n,a)=>{e.preventDefault(),e.stopPropagation(),r({productId:t,skuId:n,availabilityId:a})};return o?l.createElement(w.a,{as:"button",className:y()("SkuPickerPage-module__selectionButton___Vk6HT",E.fW),buttonType:se.VQ.Primary,overlayMode:se.w9.Solid,onClick:e=>P(e,v,g,_)},l.createElement("span",{className:pn},S),l.createElement("span",{className:"SkuPickerPage-module__price___VGCi3"},`${C}${a?"+":""}`)):l.createElement(u.fI,{key:`skuPickerItem-${c}`},l.createElement(w.a,{as:"button",className:"SkuPickerPage-module__width100___a3CRH",buttonType:se.VQ.Tertiary,overlayMode:se.w9.Solid,onClick:e=>P(e,v,g,_)},l.createElement(u.VP,{xs:9,className:y()(mn,pn)},S),l.createElement(u.VP,{xs:3,className:y()(mn,"SkuPickerPage-module__priceInfo___YyLdL")},`${C}${a?"+":""}`)))})))(h,_,m,r,t,g);return g?l.createElement("div",{className:"SkuPickerPage-module__pickerListContainer___4ro9T"},l.createElement("h3",{className:y()("SkuPickerPage-module__header___EkYx0",E.tY)},o),l.createElement(fe,{className:"SkuPickerPage-module__scrollableButtonsContainer___9++T0",gradientColorOverride:p.theme===i.Sxu.Light?ln:sn},l.createElement("div",{className:"SkuPickerPage-module__buttonsContainer___NiE7p"},b)),l.createElement(w.a,{as:"button",onClick:n,className:y()("SkuPickerPage-module__backButton___5xpke",E.TF),buttonType:se.VQ.Primary},d.toLocaleUpperCase())):l.createElement("div",{className:"SkuPickerPage-module__container___HO8Os"},l.createElement("div",{className:"SkuPickerPage-module__headerContainer___ZNymn"},l.createElement(u.VP,{className:"SkuPickerPage-module__backButtonContainer___Zr-vi",xs:1},l.createElement(Ce.m,{as:"button",icon:Te.A,buttonType:se.VQ.Tertiary,overlayMode:se.w9.Solid,onClick:n})),l.createElement(u.VP,{className:"SkuPickerPage-module__titleContainer___c7R2B",xs:10},o)),l.createElement(P.GamepadScrollable,{className:y()("SkuPickerPage-module__scrollableArea___kmlW2"),maxScrollPixels:200},b))};var fn=n(99115),vn=n(42145),gn="ContextualStoreBrowsePage-module__itemContainer___NmXKc",_n="ContextualStoreBrowsePage-module__upShiftContainers___Midja";const yn=e=>{var t,n,r,a;const{productSummaryInfo:o,handleOnSelectItem:i}=e,d=null===o||void 0===o?void 0:o.sku,m=null===o||void 0===o?void 0:o.product.productId,p=(0,c.d4)((e=>(0,yt.KX)(e,m))),h=(0,s.FE)("ownedText"),v=(0,s.FE)("skuProductTitleTemplate",null!==(n=null===(t=null===o||void 0===o?void 0:o.product)||void 0===t?void 0:t.title)&&void 0!==n?n:"",null!==(a=null===(r=null===o||void 0===o?void 0:o.sku)||void 0===r?void 0:r.skuTitle)&&void 0!==a?a:"");if(!o||!d)return null;const g=(0,Le.getDataOrPrevious)(p),_=o.availability,b=o.product,S=(null===d||void 0===d?void 0:d.skuTitle)&&(null===d||void 0===d?void 0:d.skuTitle)!==b.title?v:b.title,C=(0,f.NO)(b,d);return l.createElement("div",{className:gn},l.createElement(w.a,{"aria-label":o.product.title,as:"button",buttonType:se.VQ.Tertiary,className:"ContextualStoreBrowsePage-module__productItemButton___vo4Sd",disabled:!!g,onClick:e=>(e=>{var t;e.preventDefault(),e.stopPropagation(),i({productId:m,skuId:d.skuId,availabilityId:null!==(t=null===_||void 0===_?void 0:_.availabilityId)&&void 0!==t?t:""})})(e),title:S},l.createElement("div",{className:y()("ContextualStoreBrowsePage-module__justifyContentCenter___y-Wlg","ContextualStoreBrowsePage-module__displayFlex___bKGcU",_n,"ContextualStoreBrowsePage-module__productItem___0AC-y")},l.createElement("div",{className:"ContextualStoreBrowsePage-module__landscapeProductImageContainer___fni-F"},l.createElement(u._V,{src:null===C||void 0===C?void 0:C.url,className:"ContextualStoreBrowsePage-module__landscapeProductImage___O-8Xt",width:96,height:96,fluid:!0})),l.createElement("div",{className:"ContextualStoreBrowsePage-module__info___bSc+y"},l.createElement("h2",{className:y()(E.cb,"ContextualStoreBrowsePage-module__landscapeTitle___niJTA")},S),g?l.createElement("span",{className:E.fW},h):(0,f.oX)(o)&&l.createElement(f.gm,{className:E.fW,productInfo:o})))))},bn=e=>{var t;const{productId:n,skuId:r,availabilityId:a,channelKey:o,itemType:i,onClose:d,onError:m,onSelect:p,setIsLoading:h}=e;(0,x.qz)("ContextualStoreBrowse",x.ry.Overlay,{productInfo:{id:n,sku:r}});const f=(0,s.FE)("loadMore");$(d,!1);const v=(0,c.wA)(),g=(0,c.d4)((e=>(0,yt.Ct)(e,n,r,a))),_=(0,c.d4)((e=>(0,vn.r8)(e,o))),b=(0,c.d4)((e=>(0,yt.Ns)(e,_||[]))),S=(0,c.d4)((e=>(0,yt.bR)(e,o))),[C,T]=(0,l.useState)(!1),[w,I]=(0,l.useState)(!1),k=(0,l.useRef)(null);(0,l.useEffect)((()=>{var e;null===(e=k.current)||void 0===e||e.focus()}),[]),(0,l.useEffect)((()=>{g&&_&&(h(!1),g.sku||m(new Error("Missing sku or availability information")))}),[_,m,g,h]);const A=()=>{I(!1)},N=e=>{I(!1),m(e)},L=(0,s.FE)("addOnsFor",null!==(t=null===g||void 0===g?void 0:g.product.title)&&void 0!==t?t:"");if(!g||!b)return null;const M=!!S;return l.createElement(u.mc,{className:y()("ContextualStoreBrowsePage-module__rootContainer___ifmny","ContextualStoreBrowsePage-module__body___aG0ks")},l.createElement("h2",{className:y()(E.AP,"ContextualStoreBrowsePage-module__modalTitle___N5GYA")},L),l.createElement(P.GamepadScrollable,{className:y()("ContextualStoreBrowsePage-module__newProductInfoContainer___9wtk0",_n,{"ContextualStoreBrowsePage-module__productInfoContainerFocused___3h8+9":C}),maxScrollPixels:155,onFocus:()=>T(!0),onBlur:()=>T(!1)},b.map(((e,t)=>l.createElement(yn,{productSummaryInfo:e,key:t,handleOnSelectItem:p}))),M&&l.createElement(fn.j,{"aria-label":f,as:"button",buttonType:se.VQ.Primary,className:y()(E.TF,gn,"ContextualStoreBrowsePage-module__loadMoreButton___cm0Rh"),disabled:w,onClick:()=>{I(!0),v(yt.mZ.getMoreBrowsePageData.start(n,i,o,S,N,A))},title:f},w?l.createElement(le,null):f)))};var En=n(23986),Sn="LegalNotices-module__legalText___1YpIa";const Cn=e=>{let{noticeText:t,className:n}=e;return l.createElement("p",{className:y()(n,Sn,E.SM)},t)},Pn=e=>{let{href:t,noticeText:n,className:r,linkText:a}=e;return l.createElement("p",{className:y()(r,Sn,E.SM)},n,l.createElement("span",null," "),l.createElement("a",{className:we.X7,href:t,target:"_blank",rel:"noopener noreferrer"},a))},Tn=e=>{let{href:t,noticeText:n,className:r,linkText:a}=e;return l.createElement("p",{className:y()([r,Sn,E.SM])},(0,i.OzX)(n,l.createElement("a",{className:we.X7,href:t,target:"_blank",rel:"noopener noreferrer"},a)))};var wn=n(88238);const In=e=>{const{subscriptionLegalNotice:t,subscriptionSeeTermsLinkLegalNotice:n}=(0,s.ot)("subscriptionLegalNotice","subscriptionSeeTermsLinkLegalNotice");return l.createElement(Pn,{className:e.className,href:wn.i8,noticeText:t,linkText:n})},kn=e=>{const{subscriptionUKOnlyLegalNotice:t,subscriptionLearnMoreLinkLegalNotice:n}=(0,s.ot)("subscriptionUKOnlyLegalNotice","subscriptionLearnMoreLinkLegalNotice");return l.createElement(Pn,{className:e.className,href:wn.w5,noticeText:t,linkText:n})};n(14297),n(64552);const xn={[f.vn.LegalNoticeFresnoCatalog]:"legalNoticeFresnoCatalog",[f.vn.LegalNoticeFerdinandAndPurchase]:"legalNoticeFerdinandAndPurchase",[f.vn.LegalNoticePurchase]:"legalNoticePurchase",[f.vn.LegalNoticeCallistoAndPurchase]:"legalNoticeCallistoAndPurchase",[f.vn.LegalNoticeDiaAndPurchase]:"legalNoticeDiaAndPurchase",[f.vn.LegalNoticeEuropa]:"legalNoticeEuropa",[f.vn.LegalNoticeCallisto]:"legalNoticeCallisto",[f.vn.LegalNoticeDia]:"legalNoticeDia"},An=e=>{const t=(0,s.JX)(xn[e.noticeKey]);return t?l.createElement(Cn,{className:e.className,noticeText:t}):null},Nn=e=>{let{className:t,legalNotices:n}=e;return(null===n||void 0===n?void 0:n.length)?l.createElement(l.Fragment,null,n.map((e=>l.createElement(Mn,{key:e,noticeKey:e,className:t})))):null},Ln=e=>{let{className:t,productId:n}=e;const r=(0,c.d4)((e=>(0,yt.g4)(e,n)));return r?l.createElement(Nn,{className:t,legalNotices:r.legalNotices}):null},Mn=e=>{let{className:t,noticeKey:n}=e;const r=On[n];return r?l.createElement(r,{className:t}):null},On=h()({[f.vn.CeroZ]:e=>{const t=(0,s.JX)("ceroZLegalNotice");return l.createElement(Cn,{className:e.className,noticeText:t})},[f.vn.CloudEnabled]:e=>{const{cloudEnabledLegalNotice:t,learnMoreText:n}=(0,s.ot)("cloudEnabledLegalNotice","learnMoreText");return l.createElement(Pn,{className:e.className,href:wn.vO,noticeText:t,linkText:n})},[f.vn.CloudEnabledWithPurchase]:e=>{const{cloudEnabledWithPurchaseLegalNotice:t,findOutMore:n}=(0,s.ot)("cloudEnabledWithPurchaseLegalNotice","findOutMore");return(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableStoreBYOG)))?l.createElement(Pn,{className:e.className,href:wn.vO,noticeText:t,linkText:n}):null},[f.vn.DlcRequiresGame]:e=>{const t=(0,s.JX)("dlcRequiresGameLegalNotice");return l.createElement(Cn,{className:e.className,noticeText:t})},[f.vn.InAppPurchase]:e=>{const t=(0,s.JX)("inAppPurchaseLegalNotice");return l.createElement(Cn,{className:e.className,noticeText:t})},[f.vn.HasFirstPartyIAP]:e=>{const t=(0,s.JX)("parentalControlInfoLegalNotice"),n=(0,s.JX)("learnMoreText");return l.createElement(Pn,{className:e.className,href:wn.GW,noticeText:t,linkText:n})},[f.vn.HasThirdPartyIAP]:e=>{const t=(0,s.JX)("parentalControlInfoLegalNotice"),n=(0,s.JX)("learnMoreText");return l.createElement(Pn,{className:e.className,href:wn.hg,noticeText:t,linkText:n})},[f.vn.PurchaseUnavailableOnWeb]:e=>{const t=(0,s.JX)("purchaseUnavailableOnWebLegalDisclaimer");return l.createElement(Cn,{className:e.className,noticeText:t})},[f.vn.SubscriptionDisclaimer]:In,[f.vn.SubscriptionDisclaimerUKOnly]:kn,[f.vn.UbisoftPlusSubscriptionDisclaimer]:e=>{const t=(0,s.JX)("ubisoftPlusSubscriptionDisclaimer",["{0}"]),n=(0,s.JX)("ubisoftPlusSubscriptionDisclaimerLinkText");return l.createElement(Tn,{className:y()(e.className,"LegalNotices-module__legalTextWithMargin___VDV2K"),href:wn.OC,noticeText:t,linkText:n})},[f.vn.XboxLiveGoldRequired]:e=>{const t=(0,s.JX)("gamePassCoreRequiredLegalNotice");return l.createElement(Cn,{className:e.className,noticeText:t})},[f.vn.XboxLiveGoldRequiredForOnline]:e=>{const t=(0,s.JX)("gamePassCoreRequiredForOnlineMultiplayerLegalNotice");return l.createElement(Cn,{className:e.className,noticeText:t})},[f.vn.UbisoftPCVersion]:e=>{const t=(0,s.JX)("ubisoftPlusConnectPCAppDisclaimer"),n=(0,s.JX)("thirdPartyPublisherLaunchisclaimer");return(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableUbisoftPCVersionLegalText)))?l.createElement(l.Fragment,null,l.createElement(Cn,{className:e.className,noticeText:t}),l.createElement(Cn,{className:e.className,noticeText:n})):null},[f.vn.DataSharingDisclaimer]:e=>{const t=(0,c.d4)(i.JKP),{dataSharingDisclaimerLegalNotice:n,learnMoreText:r}=(0,s.ot)("dataSharingDisclaimerLegalNotice","learnMoreText");return l.createElement(Pn,{className:e.className,href:(0,i.tcg)(wn._3,{locale:t}),noticeText:n,linkText:r})}},Object.keys(xn).reduce(((e,t)=>h()(h()({},e),{},{[t]:e=>l.createElement(An,h()(h()({},e),{},{noticeKey:t}))})),{}));var Rn=n(27892);const Dn=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M1536 0q27 0 50 10t40 27 28 41 10 50v1792q0 27-10 50t-27 40-41 28-50 10H512q-27 0-50-10t-40-27-28-41-10-50V128q0-27 10-50t27-40 41-28 50-10h1024zm0 128H512v1792h1024V128zM896 1664h256v128H896v-128z"}))};const Bn=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M2048 512v896H0V512h2048zm-128 128H128v256h768v128H128v256h1792V640zm-320 384q-26 0-45-19t-19-45q0-26 19-45t45-19q26 0 45 19t19 45q0 26-19 45t-45 19z"}))};const Fn=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M960 768q-26 0-45-19t-19-45q0-26 19-45t45-19h128q26 0 45 19t19 45q0 26-19 45t-45 19H960zm1034-219q26 26 40 61t14 72v257q0 124-47 232t-128 190-189 128-233 47h-81q-37 0-68-14t-60-34-55-45-53-44-53-35-57-14q-30 0-57 14t-53 34-52 45-55 44-60 35-69 14h-81q-124 0-232-47t-190-128-128-189T0 939V682q0-37 14-72t40-61h1q36-36 80-55 54-24 124-41t150-30 164-20 164-12 154-5 133-2q58 0 132 1t154 6 165 12 163 20 150 29 125 42q44 19 80 55h1zM128 851q150 52 306 78t314 27q296 0 575-89t521-262q-84-31-189-49t-217-28-218-13-196-3q-54 0-123 1t-145 5-157 11-155 18-143 27-118 39q-22 10-38 26t-17 43v169zm1792-143q-128 92-268 162t-288 119-304 73-312 25q-158 0-312-25t-305-73q9 89 49 166t103 133 143 88 171 32h81q19 0 40-14t46-34 51-45 60-44 69-35 80-14q43 0 80 14t69 34 59 45 52 44 45 35 41 14h81q97 0 182-37t149-100 101-149 37-183V708z"}))};const Un=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M256 320q0-26 19-45t45-19q26 0 45 19t19 45q0 26-19 45t-45 19q-26 0-45-19t-19-45zm1792 1523q0 57-19 103t-69 78q-15 10-34 17t-38 7q-35 0-64-25t-57-57-53-64-55-42q-9-4-21-4t-24-1h-236q-23 0-44 14t-41 36-40 46-41 47-44 35-48 15q-20 0-37-6t-34-17q-48-32-68-78t-21-102v-24q0-12 2-24 1-23 9-58t21-76 29-83 34-82 33-70 32-51q0-36 31-56 13-9 37-16t50-13 52-9 42-3q16 0 27 2t20 6 20 10 23 13h164q15-7 24-13t17-10 20-6 29-2q18 0 43 3t50 8 49 13 39 17q14 10 21 24t10 32q12 12 27 39t30 63 31 75 28 78 22 68 13 50q9 47 9 93zm-128 2q0-35-8-73-5-24-16-61t-25-76-29-75-26-59l-8-16q-4-8-9-15-7-8-12-12t-9-8-9-10-8-18q-21-7-42-9t-45-5q-14 6-22 11t-18 11-19 8-28 3h-166q-17 0-27-3t-20-7-18-11-22-12q-23 0-44 4t-44 10q-2 20-14 27t-23 21q-5 7-8 14t-8 16q-15 31-33 76t-34 93-27 94-11 80q0 20 4 39t21 32q28-25 48-49t38-45 36-38 41-29 55-19 77-7h192q46 0 78 7t55 19 40 30 34 38 38 44 50 49q17-11 21-30t4-39zM896 1553V128H128v1792h128v-896h128v896h455q12 68 52 128H0V0h1024v1270q-10 14-14 28t-11 28l-8 14q-4 7-9 14-28 47-48 97t-38 102zm608-82q14 0 23 9t9 23q0 14-9 23t-23 9q-14 0-23-9t-9-23q0-14 9-23t23-9z"}))};const Hn=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M128 128h1792v1024H128V128zm1664 896V256H256v768h1536zM128 1536v-128h1792v128H128zm0 384v-128h1792v128H128z"}))};function Vn(e){var t;const{feature:n,as:r="li"}=e;return l.createElement(r,{className:y()(n.className,we.Ks,"FeaturesList-module__item___J8r6P",E.fW)},n.icon&&l.createElement(g.In,{iconSize:null!==(t=n.icon.iconSize)&&void 0!==t?t:g.lK.XXSmall,className:y()(we.K_,"FeaturesList-module__icon___OTG4r",n.icon.className),icon:n.icon.icon,"aria-hidden":!0}),n.name)}const Gn=e=>{let{features:t}=e;return 0===t.length?null:l.createElement("ul",{className:y()("FeaturesList-module__wrapper___KIw42",we.i5)},t.map(((e,t)=>l.createElement(Vn,{feature:e,key:t}))))};var qn="PlayableOn-module__inlineContainer___3GArU";const zn=e=>{let t;switch(e){case f.FO.PC:t=Rn.A;break;case f.FO.MobileDevice:t=Dn;break;case f.FO.XboxOne:t=Bn;break;case f.FO.Hololens:t=Fn;break;case f.FO.XboxSeriesX:t=Un;break;case f.FO.Hub:t=Hn;break;default:return}return{iconSize:g.lK.XXSmall,icon:t}},Xn=(e,t)=>{const[n,r]=(0,s.cG)("playableOnPCDeviceName","playableOnMobileDeviceName"),a=(0,c.d4)((t=>(0,d.g4)(t,e))),o=null===a||void 0===a?void 0:a.availableOn;if(!o||0===o.length)return null;const l=e=>{switch(e){case f.FO.PC:return n;case f.FO.MobileDevice:return r;case f.FO.XboxOne:return"Xbox One";case f.FO.XboxSeriesX:return"Xbox Series X|S";case f.FO.XCloud:return"Xbox Cloud Gaming";default:return e}};return o.map((e=>{const n=(e=>{const t=Object.keys(f.FO).find((t=>(0,i.JSV)(t,e)));return f.FO[null!==t&&void 0!==t?t:""]})(e);return{name:l(n),icon:zn(n),className:t}}))},jn=e=>{const{productId:t,className:n,itemClassName:r,titleClassName:a}=e,o=(0,s.FE)("playWith"),i=Xn(t,r);return(null===i||void 0===i?void 0:i.length)?l.createElement(u.IL,{className:n},l.createElement("h2",{className:a},o),l.createElement(Gn,{features:i})):null},Wn=e=>{const{productId:t,className:n,itemClassName:r,titleClassName:a}=e,o=(0,s.cG)("playWith"),i=Xn(t,r);return(null===i||void 0===i?void 0:i.length)?l.createElement("div",{className:y()(qn,n)},l.createElement("h2",{className:a},o),l.createElement("ul",{className:y()(qn,we.i5)},i.map(((e,t)=>l.createElement(Vn,{feature:e,key:t}))))):null};n(78366),n(68291),n(40792),n(93760),n(19503),n(57485);const $n=[f.Tw,f.BO,f.CZ],Jn=[...$n,f.hd],Kn=[f.KJ,f.Es,f.mr],Qn=[f.hd,f.CZ,f.Es,f.mr,f.KJ,f.Tw,f.BO],Yn=e=>e.filter((e=>Qn.includes(e))),Zn=e=>{if(e)for(const t of e)if(Kn.includes(t))return!1;return!0},er=e=>{if(!e)return[];const t=new Date;return Object.entries(e).filter((e=>{let[n,r]=e;return!r||0===Object.keys(r).length||r.entryDateUTC&&new Date(r.entryDateUTC){let[t]=e;return t}))};const tr=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M1888 256q33 0 62 12t51 35 34 51 13 62v1088q0 33-12 62t-35 51-51 34-62 13H160q-33 0-62-12t-51-35-34-51-13-62V416q0-33 12-62t35-51 51-34 62-13h1728zM160 384q-14 0-23 9t-9 23v224h1792V416q0-14-9-23t-23-9H160zm1728 1152q14 0 23-9t9-23V768H128v736q0 14 9 23t23 9h1728zm-480-384h256v128h-256v-128z"}))};var nr="CommonButtonStyles-module__condensedButton___sQWPU",rr="CommonButtonStyles-module__condensedMobileButton___bO6E1",ar="CommonButtonStyles-module__disabledDesktopButton___SDI7g",or="CommonButtonStyles-module__disabledMobileButton___fY3IU",ir="CommonButtonStyles-module__errorButton___fFjqO",sr="CommonButtonStyles-module__errorModal___AMYXz",lr="CommonButtonStyles-module__highContrastAwareButton___DgX7Y",cr="CommonButtonStyles-module__iconButton___1DSre",ur="CommonButtonStyles-module__mobileButton___QwVrM",dr="CommonButtonStyles-module__mobileStickyBannerButton___OU8PT",mr="CommonButtonStyles-module__multipleLineDesktopButton___6AA7+",pr="CommonButtonStyles-module__variableLineDesktopButton___cxDyV",hr="CommonButtonStyles-module__variableLineMobileButton___I1TjX",fr="CommonButtonStyles-module__variableLineMobileButtonContainer___nJg33";const vr=["accessibilityLabel","behavior","buttonId","buttonRef","buttonType","onClick","overrideClassName","telemetryProps","overrideContainerClassName"],gr=["accessibilityLabel","behavior","buttonId","buttonRef","buttonType","href","overrideClassName","target","telemetryProps","overrideContainerClassName"],_r=e=>{const{accessibilityLabel:t,behavior:n,buttonId:r,buttonRef:a,buttonType:o=se.VQ.Primary,onClick:i,overrideClassName:s,telemetryProps:c,overrideContainerClassName:u}=e,d=C()(e,vr);return l.createElement("div",{className:u},l.createElement(w.a,h()({as:"button","aria-label":t,buttonType:o,className:s||pr,onClick:i,ref:a},(0,x.vj)(c)),l.createElement(br,h()({},d))))},yr=e=>{const{accessibilityLabel:t,behavior:n,buttonId:r,buttonRef:a,buttonType:o=se.VQ.Primary,href:i,overrideClassName:s,target:c,telemetryProps:u,overrideContainerClassName:d}=e,m=C()(e,gr);return l.createElement("div",{className:d},l.createElement(w.a,h()({as:"a","aria-label":t,buttonType:o,className:y()([s||pr,lr]),href:i,ref:a,target:c},(0,x.vj)(u)),l.createElement(br,h()({},m))))},br=e=>{const t=e.productGlyph,n=e.usesUbisoftSVG;return l.createElement(l.Fragment,null,l.createElement("div",{className:E.TF,"aria-hidden":"true"},e.title),e.subtitle&&l.createElement("div",{className:E.cb,"aria-hidden":"true"},l.createElement("span",null,e.subtitle),t?l.createElement("span",{className:(0,u.f_)(u.Om.Prepend,t)}):n?l.createElement(f.ci,{className:"VariableLineButton-module__ubisoftPlusHorizontalLogo___tePX8"}):""))};var Er="OverflowMenuButton-module__mobileOverflowMenuButton___hkU8F",Sr="OverflowMenuButton-module__overflowMenuButton___XRc9q";const Cr=["experienceButtonType"],Pr="\u25cf \u25cf \u25cf",{Provider:Tr,Consumer:wr}=l.createContext({closeDialog:()=>{}}),Ir=e=>{let{onBack:t}=e;return $(t,!0),null},kr=e=>{var t,n;const r=(0,l.useRef)(null);return(0,A.ZZ)(r,"OverflowMenuButton"),l.createElement(oe,{flyoutBoundingParent:e.containingElementRef,buttonRef:r},l.createElement(oe.Button,{accessibilityLabel:e.accessibilityLabel,buttonType:se.VQ.Primary,className:y()([null!==(t=e.overrideClassName)&&void 0!==t?t:Sr,lr]),title:e.accessibilityLabel,telemetryProps:null!==(n=e.telemetryProps)&&void 0!==n?n:{}},Pr),l.createElement(oe.Flyout,null,l.createElement(ne,null,(t=>l.createElement(Tr,{value:{closeDialog:t.closeFlyout}},l.createElement("div",{className:"OverflowMenuButton-module__desktopOverflowMenu___D9HIM"},e.children))))))},xr=e=>{var t;const n=(0,s.FE)("moreOptionsMenuTitle"),[r,a]=(0,l.useState)(!1),o=(0,l.useRef)(null),i=(0,l.useRef)(null),c=()=>a(!1),d=(0,A._E)(r,c,o,i),{closeButtonText:m}=(0,s.ot)("closeButtonText"),p=h()(h()({},e.telemetryProps),{},{behavior:r?x.nS.REDUCE:x.nS.EXPAND});return(0,A.ZZ)(o,"OverflowMenuButton"),l.createElement(l.Fragment,null,l.createElement(w.a,h()({as:"button","aria-label":e.accessibilityLabel,buttonType:se.VQ.Primary,className:null!==(t=e.overrideClassName)&&void 0!==t?t:Er,onClick:r?c:()=>a(!0),ref:o,title:e.accessibilityLabel},(0,x.vj)(p)),Pr),r&&l.createElement(l.Fragment,null,l.createElement("div",{className:"OverflowMenuButton-module__bottomLockedMenu___PeiPQ",ref:i,role:"dialog"},l.createElement(P.FocusContainer,{autoFocusContainer:!0},l.createElement(u.t$,null),l.createElement("div",{className:"OverflowMenuButton-module__headerSection___2S+Fx"},l.createElement("h3",{className:y()([E.cb,"OverflowMenuButton-module__menuHeader___Lcsk2"])},n),l.createElement(Ce.m,{as:"button",buttonType:se.VQ.Tertiary,icon:tn.A,className:"OverflowMenuButton-module__closeButton___Y7WvC","aria-label":m,onClick:d,title:m})),l.createElement(fe,{className:y()("OverflowMenuButton-module__scrollArea___xvePn","OverflowMenuButton-module__mobileOverFlowItemOverride___L9ABM")},l.createElement(Tr,{value:{closeDialog:d}},e.children)),l.createElement(Ir,{onBack:c}))),l.createElement("div",{className:"OverflowMenuButton-module__lightDismissLayer___TDWVe",onClick:c,role:"none"})))},Ar=e=>{var t;const{experienceButtonType:n}=e,r=C()(e,Cr),a=(0,x.zM)(),o=(0,x.nO)({contentName:e.accessibilityLabel,id:"OverflowMenuButton",slotNumber:e.slotNumber},a);let i;switch(n){case En.nl.Desktop:i=l.createElement(kr,h()(h()({},r),{},{telemetryProps:o}));break;case En.nl.CondensedDesktop:i=l.createElement(kr,h()(h()({},r),{},{overrideClassName:"OverflowMenuButton-module__condensedDesktopOverflowMenuButton___ClClh",telemetryProps:o}));break;case En.nl.Mobile:case En.nl.CondensedMobile:{const a=n===En.nl.Mobile?r:h()(h()({},r),{},{overrideClassName:y()(null!==(t=e.overrideClassName)&&void 0!==t?t:Er,"OverflowMenuButton-module__condensedMobileOverflowMenuButton___WECiR")});i=l.createElement(xr,h()(h()({},a),{},{telemetryProps:o}))}break;case En.nl.MobileStickyHeader:i=l.createElement(xr,h()(h()({},r),{},{overrideClassName:"OverflowMenuButton-module__mobileStickyHeaderOverflowMenuButton___0Q9ZU",telemetryProps:o}));break;default:i=null}return l.createElement("div",null,i)};var Nr="OverflowMenuItems-module__icon___wWXot",Lr="OverflowMenuItems-module__menuItem___wwPHe";const Mr=["icon","telemetryProps","className"],Or=["href","icon","telemetryProps"],Rr=(0,l.forwardRef)(((e,t)=>{const{icon:n,telemetryProps:r,className:a}=e,o=C()(e,Mr);return l.createElement(w.a,h()(h()(h()({as:"button",className:y()(Lr,a)},(0,x.vj)(r)),o),{},{buttonType:se.VQ.Tertiary,ref:t}),l.createElement(g.In,{iconSize:g.lK.XXSmall,className:Nr,icon:n}),e.children)})),Dr=(0,l.forwardRef)(((e,t)=>{const n=h()({},e),{href:r,icon:a,telemetryProps:o}=n,i=C()(n,Or);return l.createElement(w.a,h()(h()(h()({as:"a",className:Lr,href:r},(0,x.vj)(o)),i),{},{buttonType:se.VQ.Tertiary,ref:t}),l.createElement(g.In,{iconSize:g.lK.XXSmall,className:Nr,icon:a}),e.children)})),Br=(0,l.forwardRef)(((e,t)=>l.createElement(w.a,h()(h()({as:"button",className:Lr,ref:t},e),{},{buttonType:se.VQ.Tertiary}),l.createElement("span",{className:Nr},l.createElement(le,{width:(0,A.JX)(1),height:(0,A.JX)(1)}))))),Fr=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const a=[];return n&&a.push(n),t===En.nl.Mobile&&(a.push(r?or:ur),e&&(a.push(pr),a.push(hr))),t===En.nl.CondensedMobile&&(a.push(r?or:ur),a.push(rr)),y()(a)},Ur=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const a=Fr(e,t,n,r),o=t===En.nl.Mobile?fr:void 0;return t===En.nl.Mobile||t===En.nl.CondensedMobile?{overrideClassName:a,overrideContainerClassName:o}:n?{overrideClassName:n}:{}},Hr=e=>{let{actionArguments:t,slotNumber:n,experienceButtonType:r}=e;const a=(0,x.jr)(),{[Ct.PZ.ProductId]:o,[Ct.PZ.NetworkName]:l}=t,[u,d,m,p]=(0,s.cG)("linkActionText","linkActionAccessibilityText","accountLinkStartButton","accountLinkStartButtonAccessibilityText"),h=(0,c.d4)(nn.ct),f=(0,i.wwE)(),v=(0,c.wA)(),g=(0,x.zM)(),_=(0,c.d4)((e=>(0,yt.t7)(e,o)));if(!_||!_.product)return a.warn(`Trial upsell button requested without valid values:\nbaseProductId: ${o}\nhasProductSummaryInfo: ${!!_}\nhasProduct: ${!!(null===_||void 0===_?void 0:_.product)}`),null;const y=l?(0,i.GPZ)(u,l.toLocaleUpperCase()):m,b=l?(0,i.GPZ)(d,l):p,E=(0,x.nO)({behavior:x.nS.NAVIGATIONFORWARD,contentName:y,id:"AccountLinkButton",slotNumber:n},g);return{className:Fr(!1,r,r===En.nl.MobileStickyHeader?dr:void 0),accessibilityLabel:b,buttonText:y,onClick:()=>{h?v(yt.Pk.SISUFlow.start(l)):window.location.assign(f(window.location.href))},telemetryProps:E}},Vr=e=>{let{buttonText:t,accessibilityLabel:n,telemetryProps:r,buttonType:a=se.VQ.Primary,onClick:o}=e;return l.createElement(_r,{accessibilityLabel:n,buttonType:a,onClick:o,title:t.toLocaleUpperCase(),telemetryProps:r})},Gr=e=>{let{buttonText:t,accessibilityLabel:n,telemetryProps:r,buttonType:a=se.VQ.Primary,onClick:o}=e;return l.createElement(w.a,h()({as:"button","aria-label":n,className:y()(nr,E.TF),buttonType:a,onClick:o},(0,x.vj)(r)),t.toLocaleUpperCase())},qr=e=>{let{buttonText:t,accessibilityLabel:n,telemetryProps:r,buttonType:a=se.VQ.Primary,className:o,onClick:i}=e;return l.createElement(w.a,h()({as:"button","aria-label":n,buttonType:a,className:o,onClick:i},(0,x.vj)(r)),t.toLocaleUpperCase())},zr=e=>{let{buttonText:t,accessibilityLabel:n,telemetryProps:r,onClick:a}=e;return l.createElement(Rr,{"aria-label":n,onClick:a,icon:tr,telemetryProps:r},t)};const Xr=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M512 1152v-128h640v128H512zm896-384v128H512V768h896zM384 384v1152h896v128H256V256h1536v896h-128V384H384zm1664 1152v128h-256v256h-128v-256h-256v-128h256v-256h128v256h256zM512 512h768v128H512V512z"}))};const jr=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M1024 0q141 0 272 36t244 104 207 160 161 207 103 245 37 272q0 141-36 272t-104 244-160 207-207 161-245 103-272 37q-141 0-272-36t-245-103-207-160-160-208-103-244-37-273q0-141 36-272t104-244 160-207 207-161T752 37t272-37zm0 1920q163 0 313-56t274-163L347 437Q240 560 184 710t-56 314q0 124 32 238t90 214 140 182 181 140 214 90 239 32zm677-309q107-123 163-273t56-314q0-124-32-238t-90-214-140-181-181-140-214-91-239-32q-163 0-313 56T437 347l1264 1264z"}))};n(25152);var Wr=n(42622);const $r="launchStore",Jr="launchContextualStore",Kr="launchStoreExperience",Qr=(e,t,n)=>{var r;const a=new URL(e);return a.searchParams.set($r,Yr(t,null===n||void 0===n?void 0:n.skuId,null===n||void 0===n?void 0:n.availabilityId)),a.searchParams.set(Kr,null!==(r=null===n||void 0===n?void 0:n.experience)&&void 0!==r?r:""),a.searchParams.set(Wr.p,"true"),a.href},Yr=(e,t,n)=>{let r=e;return t&&(r+=`-${t}`,n&&(r+=`-${n}`)),r};var Zr=n(36824);n(5858);const ea=(0,u.sT)({resolved:{},chunkName:()=>"Launchpad",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,i.wjz)(u.M7,n.e(6741).then(n.bind(n,91642))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>91642});var ta=n(66925);const na=["contentRef","showModal","experience","productId","onResult","skuId","skipPurchaseConfirmation","tracking","scenario"],ra=e=>{let{contentRef:t,showModal:n,experience:r,productId:a,onResult:o,skuId:s,skipPurchaseConfirmation:d,tracking:m,scenario:p}=e,f=C()(e,na);var v,g;const _=new URLSearchParams((0,J.zy)().search),[y,b]=(0,l.useState)(!0),[E,S]=(0,l.useState)(n),[P,T]=(0,l.useState)(!1),w=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableLaunchpad)));(0,l.useEffect)((()=>S(y&&n)),[y,n]);const I=(0,l.useCallback)((()=>{"XboxCom.Wishlist"===(null===m||void 0===m?void 0:m.callerApplicationId)?(T(!1),b(!0),null===o||void 0===o||o({productId:a,status:O.Purchased})):window.location.reload()}),[m,o,a]),k=(0,ta.CP)(a),x=w&&!!k&&p!==B.Gift,A=(0,l.useCallback)((e=>{x&&e.status===O.Purchased&&!d?(b(!1),T(!0)):o&&o(e)}),[o,x,d]),N=f.referringProductId||(null===(v=(0,i.l_d)(_,Zr.hV.referringProductId))||void 0===v?void 0:v.value),L=(null===m||void 0===m?void 0:m.ocid)||(null===(g=(0,i.l_d)(_,Zr.hV.ocid))||void 0===g?void 0:g.value);return l.createElement(l.Fragment,null,l.createElement(u.aF,{show:E||P,fullscreenOnMobile:!0,ariaLabelledBy:x&&P?"modalLabel":"title"},l.createElement(u.aF.Body,{className:(0,u.YK)("padding","all",0)},l.createElement("div",{ref:t},x&&P?l.createElement(ea,{subscription:k,onClose:I,referringProductId:N,subscriptionSkuId:s}):l.createElement(qu,h()(h()({},f),{},{productId:a,referringProductId:N,experience:r,version:H.v2,activateStoreExperiments:!0,onResult:A,skipPurchaseConfirmation:d||x,skuId:s,scenario:p,tracking:h()(h()({},m),{},{ocid:L})}))))))};var aa=n(59454);const oa=l.createContext(aa._z.PDP);const ia=["actionAccessibilityLabelFormat","actionOverride","actionText","availabilityId","behavior","endDateUtcString","experienceButtonType","iconOverride","isDisabled","price","productId","recurrencePolicySummary","skuId","slotNumber","title","tooltip","productSummaryInfo"],sa=["accessibilityLabel","actionText","buttonType","experienceButtonType","hasAddOns","isDisabled","localizedPriceInfo","overrideClassName","price","productId","productSummaryInfo","recurrencePolicySummary","showModal","skuId","slotNumber","telemetryProps","title","tooltip","onClick","onResult"],la=["accessibilityLabel","actionText","buttonType","experienceButtonType","hasAddOns","isDisabled","onClick","onResult","productId","showModal","skuId","slotNumber","telemetryProps","title","tooltip","overrideClassName"],ca=["actionText","accessibilityLabel","hasAddOns","iconOverride","isDisabled","productId","showModal","slotNumber","telemetryProps","onClick","onResult","tooltip"],ua=e=>{const[t,n]=(0,s.cG)("buyActionText","buyActionAccessibilityText");return l.createElement(fa,h()({actionText:t,actionAccessibilityLabelFormat:n,buttonId:"BuyButton"},e))},da=e=>{const[t,n]=(0,s.cG)("upgradeActionText","upgradeActionAccessibilityText");return l.createElement(fa,h()({actionText:t,actionAccessibilityLabelFormat:n,buttonId:"UpgradeButton"},e))},ma=e=>{const[t,n]=(0,s.cG)("getActionText","getActionAccessibilityText");return l.createElement(fa,h()({buttonId:"GetButton",actionText:t,actionAccessibilityLabelFormat:n},e))},pa=e=>{const[t,n,r,a,o]=(0,s.cG)("joinActionText","joinActionAccessibilityText","ubisoftAccountLinkRequired","ubisoftSuspendedExternalSubscription","ubisoftActivePCOnlyExternalSubscription"),c=[],{isDisabled:d,disabledReason:m,productSummaryInfo:p}=e,v=(0,u.hE)(),{initialOfferText:g,recurringPriceText:_}=(0,f.BR)(p);if(d&&m)switch(m){case"UbisoftAccountLinkRequired":c.push(r);break;case"UbisoftSuspendedExternalSubscription":c.push(l.createElement(l.Fragment,null,(0,i.OzX)(a,l.createElement("a",{href:Ct.kV,target:"_blank",rel:"noopener noreferrer"},Ct.kV))));break;case"UbisoftActivePCOnlyExternalSubscription":c.push(l.createElement(l.Fragment,null,(0,i.OzX)(o,l.createElement("a",{href:Ct.kV,target:"_blank",rel:"noopener noreferrer"},Ct.kV))))}const y=v(g,_);return y&&c.push(y),l.createElement(fa,h()(h()({},e),{},{buttonId:"JoinButton",actionText:t,actionAccessibilityLabelFormat:n,tooltip:c.length?c:void 0}))},ha=e=>{const[t,n]=(0,s.cG)("preorderActionText","preorderActionAccessibilityText");return l.createElement(fa,h()({buttonId:"PreorderButton",actionText:t,actionAccessibilityLabelFormat:n},e))},fa=e=>{var t,n;const{actionAccessibilityLabelFormat:r,actionOverride:a,actionText:o,availabilityId:d,behavior:m,endDateUtcString:p,experienceButtonType:v,iconOverride:g,isDisabled:_,price:b,productId:E,recurrencePolicySummary:S,skuId:P,slotNumber:T,title:w="",tooltip:I,productSummaryInfo:k}=e,A=C()(e,ia),N=(0,x.zM)(),L=(0,u.hE)(),[M,R]=(0,l.useState)(!1),B=(0,f.TZ)(k),F=(0,c.d4)(nn.ct),U=(0,i.wwE)(),H=(0,i.AzV)(),V=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnablePurchaseLaunchOnLogin))),G=L((0,i.GPZ)(r,w),null===B||void 0===B?void 0:B.accessibilityText),q=V?Qr(window.location.href,E,{skuId:P,availabilityId:d,experience:D.Purchase}):(0,Wr.F)(),z=a?()=>a():()=>{if(F)R(!0);else{const t=(0,i.XBe)(e.productId)===f.hd?H(q):U(q);window.location.assign(t)}},X=null===(t=null===b||void 0===b?void 0:b.xPriceOfferInfo)||void 0===t?void 0:t.xPriceOfferGuid,j=X?{targetedOfferGuid:X}:void 0,[W]=(0,s.cG)("targetedOfferBuyBoxTooltipFormat"),$=(0,u.U0)(p).durationString,J=$&&(null===(n=null===b||void 0===b?void 0:b.eligibilityInfo)||void 0===n?void 0:n.type)===f.h9.XPrice?(0,i.GPZ)(W,$):void 0,K=J&&I?[I,J]:J||I,Q=(0,x.nO)({behavior:null!==m&&void 0!==m?m:x.nS.PURCHASE,contentName:o,contentTags:j,id:e.buttonId,productId:E,skuId:P,slotNumber:T},N),Y=h()(h()({},A),{},{productSummaryInfo:k,accessibilityLabel:G,actionText:o,availabilityId:d,experienceButtonType:v,isDisabled:_,localizedPriceInfo:B,onClick:z,onResult:e=>{(null===e||void 0===e?void 0:e.status)===O.Purchased?window.location.reload():R(!1)},price:b,productId:E,showModal:M,skuId:P,telemetryProps:Q,tooltip:K});let Z="";switch(v){case En.nl.CondensedDesktop:Z=nr;case En.nl.Desktop:return l.createElement(va,h()(h()({},Y),{},{overrideClassName:Z,price:b,recurrencePolicySummary:S}));case En.nl.CondensedMobile:case En.nl.Mobile:{const e=Ur(!0,v,void 0,_),t=h()(h()({},Y),e);return v===En.nl.CondensedMobile?l.createElement(_a,h()({},t)):l.createElement(va,h()(h()({},t),{},{price:b,recurrencePolicySummary:S}))}case En.nl.MobileStickyHeader:return l.createElement(_a,h()(h()({},Y),{},{overrideClassName:y()(dr,Y.isDisabled?or:null)}));case En.nl.Overflow:return l.createElement(ya,h()(h()({},Y),{},{iconOverride:g}));default:return null}},va=e=>e.experienceButtonType===En.nl.Mobile?l.createElement(ga,h()({},e)):l.createElement("div",{className:"AcquisitionButtons-module__desktopContainer___A9ppk"},l.createElement(ga,h()({},e))),ga=e=>{var t;const{accessibilityLabel:n,actionText:r,buttonType:a=se.VQ.Primary,experienceButtonType:o,hasAddOns:i,isDisabled:s,localizedPriceInfo:c,overrideClassName:u,price:d,productId:m,productSummaryInfo:p,recurrencePolicySummary:v,showModal:g,skuId:_,slotNumber:b,telemetryProps:S,title:P,tooltip:T,onClick:I,onResult:k}=e,N=C()(e,sa),L=(0,l.useRef)(null),M=(0,l.useRef)(null),O=(0,A._E)(g,k,L,M),R=o===En.nl.Mobile||o===En.nl.CondensedMobile?[u,ar]:[pr,ar],F=s?R:[u||pr,lr],U=s?se.VQ.Tertiary:a,H=s?void 0:I,V=!!T,G=(0,l.useContext)(oa),q=(null===(t=null===p||void 0===p?void 0:p.sku)||void 0===t?void 0:t.historicalLowestListPrice)&&G===En._z.PDP;return l.createElement(l.Fragment,null,l.createElement(w.a,h()({as:"button","aria-label":n,"aria-disabled":s,buttonType:U,className:y()(F,V?ge:void 0),"data-tip":V||void 0,onClick:H,ref:L},(0,x.vj)(S)),l.createElement("div",{className:E.TF},r.toLocaleUpperCase()),(o===En.nl.Desktop||o===En.nl.Mobile)&&c&&l.createElement(f.gm,{productInfo:p,className:E.cb,listedPriceClassName:"AcquisitionButtons-module__listedPrice___PS6Zm",useBrandStyling:a===se.VQ.Brand}),V&&l.createElement(Ea,null,T)),q&&l.createElement(f.mA,{historicalLowestListPrice:p.sku.historicalLowestListPrice,className:"AcquisitionButtons-module__lowestPriceText___kcTrw"}),!s&&l.createElement(ra,h()({contentRef:M,hasAddOns:i,onResult:O,showModal:g,productId:m,skuId:_,experience:D.Purchase,scenario:B.BuyNow},N)))},_a=e=>{const{accessibilityLabel:t,actionText:n,buttonType:r=se.VQ.Primary,experienceButtonType:a,hasAddOns:o,isDisabled:i,onClick:s,onResult:c,productId:u,showModal:d,skuId:m,slotNumber:p,telemetryProps:f,title:v,tooltip:g,overrideClassName:_}=e,b=C()(e,la),E=(0,l.useRef)(null),S=(0,l.useRef)(null),P=(0,A._E)(d,c,E,S),T=i?se.VQ.Tertiary:r,I=i?void 0:s,k=i&&!!g;return l.createElement(l.Fragment,null,l.createElement(w.a,h()({as:"button","aria-label":t,"aria-disabled":i,buttonType:T,className:y()(_,k?ge:void 0),"data-tip":k||void 0,onClick:I,ref:E},(0,x.vj)(f)),n.toLocaleUpperCase(),k&&l.createElement(Ea,null,g)),!i&&l.createElement(ra,h()({contentRef:S,hasAddOns:o,onResult:P,showModal:d,productId:u,skuId:m,experience:D.Purchase,scenario:B.BuyNow},b)))},ya=e=>{const{actionText:t,accessibilityLabel:n,hasAddOns:r,iconOverride:a,isDisabled:o,productId:c,showModal:u,slotNumber:d,telemetryProps:m,onClick:p,onResult:v,tooltip:g}=e,_=C()(e,ca),y=(0,s.FE)("joinActionAccessibilityText");let b=t;const E=(0,f.ZR)(c),S=(0,f.wT)(c,!0);E&&S&&(b=(0,i.GPZ)(y,S));const P=o?jr:a||E||tr,T=o?void 0:p,w=o&&!!g;return l.createElement(l.Fragment,null,l.createElement(Rr,{"aria-label":n,"aria-disabled":o,className:w?ge:void 0,"data-tip":w||void 0,icon:P,onClick:T,telemetryProps:m},b,w&&l.createElement(Ea,null,g)),u&&l.createElement(wr,null,(e=>l.createElement(ra,h()({hasAddOns:r,onResult:t=>{e.closeDialog(),v(t)},productId:c,showModal:u,experience:D.Purchase,scenario:B.BuyNow},_)))))},ba=(e,t,n,r,a,o)=>{let i=!e||!t||!n||!r||!r.product||!r.sku||!r.availability;return i?o.warn(`${a} button requested without valid values:\nproductId: ${e}\nskuId: ${t}\navailabilityId: ${n}\nhasProductSummaryInfo: ${!!r}\nhasProduct: ${!!(null===r||void 0===r?void 0:r.product)}\nhasSku: ${!!(null===r||void 0===r?void 0:r.sku)}\nhasAvailability: ${!!(null===r||void 0===r?void 0:r.availability)}`):(i=!r.availability.price,i&&o.warn(`${a} button requested without valid price.`)),!i},Ea=e=>{let{children:t}=e;return l.createElement("div",{className:_e},l.Children.map(t,((e,t)=>l.createElement("span",{key:t},e))))};const Sa=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M1600 1536q40 0 75 15t61 41 41 61 15 75q0 40-15 75t-41 61-61 41-75 15q-40 0-75-15t-61-41-41-61-15-75q0-31 11-64H885q11 33 11 64 0 40-15 75t-41 61-61 41-75 15q-40 0-75-15t-61-41-41-61-15-75q0-55 29-102t80-71L188 256H0V128h281l85 256h1682l-299 896H665l85 256h850zM409 512l213 640h1035l213-640H409zm359 1216q0-26-19-45t-45-19q-26 0-45 19t-19 45q0 26 19 45t45 19q26 0 45-19t19-45zm832 64q26 0 45-19t19-45q0-26-19-45t-45-19q-26 0-45 19t-19 45q0 26 19 45t45 19z"}))};const Ca=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M1792 1728q0 40-15 75t-41 61-61 41-75 15q-40 0-75-15t-61-41-41-61-15-75q0-31 11-64H885q11 33 11 64 0 40-15 75t-41 61-61 41-75 15q-40 0-75-15t-61-41-41-61-15-75q0-55 29-102t80-71L189 256H0V128h281l85 256h1682l-298 896H665l85 256h850q40 0 75 15t61 41 41 61 15 75zm-1024 0q0-26-19-45t-45-19q-26 0-45 19t-19 45q0 26 19 45t45 19q26 0 45-19t19-45zm832 64q26 0 45-19t19-45q0-26-19-45t-45-19q-26 0-45 19t-19 45q0 26 19 45t45 19z"}))},Pa=["actionAccessibilityLabel","actionLabel","currentComponentRef","navigationAccessibilityLabel","navigationHref","navigationLabel","processingAccessibilityLabel","showSpinner","state","actionIcon","navigationIcon","onClick","buttonId","experienceButtonType","telemetryProps"],Ta=e=>{const t=(0,l.useRef)(null),[n,r]=(0,l.useState)(!1);(0,l.useEffect)((()=>{var a,o;n&&(e.showSpinner?null===(a=t.current)||void 0===a||a.focus():(null===(o=t.current)||void 0===o||o.focus(),r(!1)))}),[e.state,e.showSpinner,n]);let a=e.onClick;e.actionOverride&&(a=()=>e.actionOverride());const o=()=>{r(!0),a()};switch(e.experienceButtonType){case En.nl.Desktop:return l.createElement(wa,h()(h()({},e),{},{onClick:o,currentComponentRef:t}));case En.nl.CondensedDesktop:return l.createElement(Ia,h()(h()({},e),{},{onClick:o,currentComponentRef:t}));case En.nl.Mobile:case En.nl.CondensedMobile:return l.createElement(ka,h()(h()({},e),{},{onClick:o,className:Fr(!1,e.experienceButtonType),currentComponentRef:t}));case En.nl.MobileStickyHeader:return l.createElement(ka,h()(h()({},e),{},{onClick:o,className:dr,currentComponentRef:t}));case En.nl.Overflow:return l.createElement(xa,h()(h()({},e),{},{onClick:o,currentComponentRef:t}));default:return null}},wa=e=>{const{actionAccessibilityLabel:t,currentComponentRef:n,buttonType:r=se.VQ.Primary,navigationAccessibilityLabel:a,navigationHref:o,processingAccessibilityLabel:i,showSpinner:s,state:c,telemetryProps:u,actionIcon:d,navigationIcon:m,onClick:p}=e;return l.createElement("div",null,s?l.createElement(ce,{accessibilityLabel:i,buttonType:r,height:4,ref:n,width:4}):c?l.createElement(Ce.m,h()({as:"a","aria-label":a,buttonType:r,className:y()([cr,lr]),href:o,icon:m,ref:n,title:a},(0,x.vj)(u))):l.createElement(Ce.m,h()({as:"button","aria-label":t,buttonType:r,className:y()([cr,lr]),onClick:p,icon:d,ref:n,title:t},(0,x.vj)(u))))},Ia=e=>{const{actionAccessibilityLabel:t,actionLabel:n,currentComponentRef:r,buttonType:a=se.VQ.Primary,navigationAccessibilityLabel:o,navigationHref:i,navigationLabel:s,onClick:c,processingAccessibilityLabel:u,showSpinner:d,state:m,telemetryProps:p}=e;return l.createElement("div",null,d?l.createElement(ce,{accessibilityLabel:u,buttonType:a,className:y()([nr,lr,E.TF]),height:3,ref:r,sizingText:n.toLocaleUpperCase(),width:3}):m?l.createElement(w.a,h()({as:"a","aria-label":o,buttonType:a,className:y()([nr,lr,E.TF]),href:i,ref:r},(0,x.vj)(p)),s.toLocaleUpperCase()):l.createElement(w.a,h()({as:"button","aria-label":t,buttonType:a,className:y()([nr,lr,E.TF]),onClick:c,ref:r},(0,x.vj)(p)),n.toLocaleUpperCase()))},ka=e=>{const{actionAccessibilityLabel:t,actionLabel:n,currentComponentRef:r,buttonType:a=se.VQ.Primary,navigationAccessibilityLabel:o,navigationHref:i,navigationLabel:s,processingAccessibilityLabel:c,showSpinner:u,state:d,telemetryProps:m,onClick:p,className:f}=e;return l.createElement(l.Fragment,null,u?l.createElement(ue,{accessibilityLabel:c,buttonType:a,className:f,ref:r}):d?l.createElement(w.a,h()({as:"a","aria-label":o,buttonType:a,className:f,href:i,ref:r},(0,x.vj)(m)),s.toLocaleUpperCase()):l.createElement(w.a,h()({as:"button","aria-label":t,buttonType:a,className:f,onClick:p,ref:r},(0,x.vj)(m)),n.toUpperCase()))},xa=e=>{const{actionAccessibilityLabel:t,actionLabel:n,currentComponentRef:r,navigationAccessibilityLabel:a,navigationHref:o,navigationLabel:i,processingAccessibilityLabel:s,showSpinner:c,state:u,actionIcon:d,navigationIcon:m,onClick:p,buttonId:f,experienceButtonType:v,telemetryProps:g}=e,_=C()(e,Pa);return l.createElement(l.Fragment,null,c?l.createElement(Br,{"aria-label":s,ref:r}):u?l.createElement(Dr,h()({"aria-label":a,href:o,icon:m,ref:r,telemetryProps:g},_),i):l.createElement(Rr,h()({"aria-label":t,icon:d,onClick:p,ref:r,telemetryProps:g},_),n))};var Aa=n(74748),Na=n(33296);const La=e=>l.createElement("div",{className:e.overrideContainerClassName},l.createElement(w.a,h()({as:"button","aria-label":e.accessibilityLabel,buttonType:e.buttonType,className:e.overrideClassName||mr,onClick:e.onClick,ref:e.buttonRef},(0,x.vj)(e.telemetryProps)),e.children)),Ma=e=>l.createElement("div",{className:e.overrideContainerClassName},l.createElement(w.a,h()({as:"a","aria-label":e.accessibilityLabel,buttonType:e.buttonType,className:e.overrideClassName||mr,ref:e.buttonRef,href:e.href},(0,x.vj)(e.telemetryProps)),e.children));var Oa="ProductLabels-module__glyphMargin___YRO7q",Ra="ProductLabels-module__subtitle___XksbF";const Da=e=>{const{upsellTitleId:t,nonCatalogUpsellProductId:n,subtitleFormat:r,productGlyph:a,usesUbisoftSVG:o,productEntitlement:d,lowestSubscriptionTierName:m,isIncludedInSubscription:p}=e,h=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableJanus))),{includedInYourSubscription:v,youOwnThisText:g,geforceNowServiceUpsellTitle:_}=(0,s.ot)("includedInYourSubscription","youOwnThisText","geforceNowServiceUpsellTitle");if(d&&d.isOwned)return l.createElement("div",{className:y()(e.className?e.className:Ra,E.cb),"aria-hidden":"true"},g);let b;b="geforcenow"===n?_:t?(0,f.wT)(t,!1):void 0;const S=a?l.createElement("span",{className:y()((0,u.f_)(u.Om.Prepend,a),Oa)}):o?l.createElement(f.ci,{className:y()(e.glyphClassName,Oa),width:"64"}):void 0;return l.createElement("div",{className:y()(e.className?e.className:Ra,E.cb),"aria-hidden":"true"},h?p?v:(0,i.GPZ)(r,m||""):S?(0,i.OzX)(r,S):b?(0,i.GPZ)(r,b):r)},Ba=e=>{const{upsellTitleId:t,subtitleFormat:n,productGlyph:r}=e,a=r?l.createElement("span",{className:y()((0,u.f_)(u.Om.Prepend,r),Oa)}):void 0,o=t?(0,f.wT)(t,!1):void 0;return l.createElement("div",{className:y()(E.TF,"ProductLabels-module__gamePassTitle___++xsN"),"aria-hidden":"true"},a?(0,i.OzX)(n,a):o?(0,i.GPZ)(n,o):n)},Fa=e=>{const{upsellTitleId:t,subtitleFormat:n,productGlyph:r,usesUbisoftSVG:a}=e,o=r?l.createElement("span",{className:y()((0,u.f_)(u.Om.Prepend,r),Oa)}):a?l.createElement(f.ci,{className:e.glyphClassName,width:"64"}):void 0,s=l.createElement(l.Fragment,null,e.saleDiscount),c=t?(0,f.wT)(t,!1):void 0;return l.createElement("div",{className:e.className?e.className:Ra},o?(0,i.OzX)(n,s,o):c?(0,i.GPZ)(n,e.saleDiscount,c):null)},Ua=e=>{let{baseProductId:t,buttonType:n,cloudServiceUpsells:r,experienceButtonType:a,productSummaryInfo:o,slotNumber:u,upsellProductId:d}=e;var m,p,v,g;const _=(0,x.zM)(),y=(0,c.d4)((e=>(0,yt.dH)(e,f.Ix))),b=(0,Le.getDataOrPrevious)(y)||null,E=(0,Na.e)(null!==t&&void 0!==t?t:"",null===(m=o.product)||void 0===m?void 0:m.title),[S,C]=(0,s.cG)("cloudPlayButtonAccessibilityLabelFormat","cloudPlayButtonText"),P=(0,x.nO)({behavior:x.nS.NAVIGATIONFORWARD,contentName:C,id:"CloudPlayButton",slotNumber:u},_);let T,w=E;const I=null===r||void 0===r?void 0:r[0];d||(0,i.JSV)(I.ServiceId,f.gx.xcloud)||(w=I.ServicePlayLink,T=I.ServiceId);const{lowestSubscriptionTierName:k,isProductIncludedInSubscription:A}=Gl(null===(p=null===o||void 0===o?void 0:o.product)||void 0===p?void 0:p.passMetadataByPassProductId,null===b||void 0===b?void 0:b.productId),N={buttonId:"CloudPlayButton",buttonType:n,behavior:x.nS.OTHER,cloudPlayButtonAccessibilityLabel:(0,i.GPZ)(S,null!==(g=null===(v=o.product)||void 0===v?void 0:v.title)&&void 0!==g?g:""),cloudPlayButtonText:C,lowestSubscriptionTierName:k,isIncludedInSubscription:A,playLink:w,telemetryProps:P},L=Ur(!0,a);switch(a){case En.nl.Desktop:return l.createElement(Ha,h()(h()({},N),{},{baseProductId:t,upsellProductId:null!==d&&void 0!==d?d:null===I||void 0===I?void 0:I.UpsellProductId,nonCatalogUpsellProductId:T}));case En.nl.CondensedMobile:{const e=h()(h()({},N),L);return l.createElement(Va,h()({},e))}case En.nl.Mobile:{const e=h()(h()({},N),L);return l.createElement(Ha,h()(h()({},e),{},{baseProductId:t,upsellProductId:null!==d&&void 0!==d?d:null===I||void 0===I?void 0:I.UpsellProductId,nonCatalogUpsellProductId:T}))}case En.nl.MobileStickyHeader:return l.createElement(Va,h()(h()({},N),{},{overrideClassName:dr}));case En.nl.Overflow:return l.createElement(Ga,h()({},N));default:return null}},Ha=e=>{const{baseProductId:t,buttonType:n=se.VQ.Primary,cloudPlayButtonAccessibilityLabel:r,cloudPlayButtonText:a,lowestSubscriptionTierName:o,isIncludedInSubscription:s,nonCatalogUpsellProductId:u,playLink:d,upsellProductId:m,telemetryProps:p,overrideClassName:h}=e,v=(0,c.d4)((e=>(0,yt.$Y)(e,t))),{affordingText:g,upsellGlyph:_}=(0,f.qt)({nonCatalogUpsellProductId:u,upsellProductId:m,productEntitlement:(0,Le.getDataOrPrevious)(v)||void 0}),y=(0,i.XBe)(m)===f.Es;return l.createElement(Ma,{accessibilityLabel:r,buttonType:n,href:d,telemetryProps:p,overrideClassName:h},l.createElement("div",{className:E.TF,"aria-hidden":"true"},a.toLocaleUpperCase()),l.createElement(Da,{upsellTitleId:m,nonCatalogUpsellProductId:u,subtitleFormat:g,usesUbisoftSVG:y,productGlyph:_,productEntitlement:(0,Le.getDataOrPrevious)(v)||void 0,lowestSubscriptionTierName:o,isIncludedInSubscription:s}))},Va=e=>{const{buttonType:t=se.VQ.Primary,cloudPlayButtonAccessibilityLabel:n,cloudPlayButtonText:r,playLink:a,telemetryProps:o,overrideClassName:i}=e;return l.createElement(w.a,h()({as:"a","aria-label":n,buttonType:t,className:i,href:a},(0,x.vj)(o)),r.toLocaleUpperCase())},Ga=e=>l.createElement(Dr,{"aria-label":e.cloudPlayButtonAccessibilityLabel,href:e.playLink,icon:Aa.A,telemetryProps:e.telemetryProps},e.cloudPlayButtonText);var qa=n(57937),za=n(58810);const Xa=n.p+"static/media/NvidiaGFNLogoSquare.44ab2593.png",ja=n.p+"static/media/xCloudLogoSquare.be0ea47b.png";const Wa=e=>{let{cloudServiceUpsells:t,contentRef:n,show:r=!1,onHide:a}=e;const[o,d]=(0,s.cG)("backCallToAction","learnMoreText"),m=(0,c.d4)(i.j17),p=(0,c.d4)(i.JKP);if(!(null===t||void 0===t?void 0:t.length))return null;const f=m===i.Sxu.Dark?"#201F24":"#ffffff";return l.createElement(u.aF,{show:r,onHide:a,closeable:!0,className:"AvailableCloudStreamingServicesModal-module__modalContainer___HpCS9"},l.createElement(u.aF.Header,null,l.createElement($a,null)),l.createElement(u.aF.Body,{className:"AvailableCloudStreamingServicesModal-module__modalBody___QuZF0"},l.createElement(qa.WY,null,l.createElement("div",h()({className:"AvailableCloudStreamingServicesModal-module__contentContainer___pPm7T"},(0,x.vj)({id:"AvailableCloudStreamingServicesModal"})),l.createElement(fe,{className:"AvailableCloudStreamingServicesModal-module__scrollContainer___fYQob",gradientColorOverride:f},l.createElement("ul",{ref:n,className:"AvailableCloudStreamingServicesModal-module__linkList___+lmQJ"},t.map(((e,t)=>{const n=Ka[e.ServiceId.toLowerCase()];return l.createElement("li",{key:e.ServiceId},l.createElement(n,{link:e.ServicePlayLink,slotNumber:t}))})))),l.createElement("div",{className:"AvailableCloudStreamingServicesModal-module__buttonContainer___24hN6"},l.createElement(w.a,h()({as:"button",buttonType:se.VQ.Primary,onClick:a},(0,x.vj)({behavior:x.nS.NAVIGATIONFORWARD,contentType:x.cM.Button,id:"backButton"})),o.toLocaleUpperCase()),l.createElement(w.a,h()({as:"a",buttonType:se.VQ.Primary,href:`https://support.xbox.com/${p}/help/games-apps/cloud-gaming/cloud-gaming-on-third-party-services`},(0,x.vj)({behavior:x.nS.NAVIGATIONFORWARD,contentType:x.cM.Button,id:"learnMoreButton"})),d.toLocaleUpperCase()))))))},$a=()=>{const e=(0,s.JX)("chooseStreamingPlatformCTA");return l.createElement("h2",{className:y()(E.tY,"AvailableCloudStreamingServicesModal-module__modalHeaderText___Bg+oM")},e)},Ja=e=>{let{link:t,imageUrl:n,isExternalLink:r,message:a,title:o,telemetryProps:i}=e;const s=(0,x.nO)({behavior:x.nS.NAVIGATIONFORWARD,contentType:x.cM.Button},i);return l.createElement(w.a,h()({as:"a",href:t,buttonType:se.VQ.Primary,className:"AvailableCloudStreamingServicesModal-module__upsellLink___xc9oV"},(0,x.vj)(s)),l.createElement("img",{src:n,alt:a}),l.createElement("div",{className:"AvailableCloudStreamingServicesModal-module__linkTextContainer___IpHdX"},l.createElement("span",{className:y()("AvailableCloudStreamingServicesModal-module__fontWeightAdjustment___2Y4Mt",E._o)},o),l.createElement("span",{className:y()("AvailableCloudStreamingServicesModal-module__opacityAdjustment___imSMU",E.Q)},a)),r&&l.createElement(g.In,{icon:za.A,iconSize:g.lK.XXSmall,className:"AvailableCloudStreamingServicesModal-module__linkIcon___zsUWp"}))},Ka={[f.gx.xcloud]:e=>{let{link:t,slotNumber:n}=e;const[r,a]=(0,s.cG)("xCloudServiceUpsellMessage","xCloudServiceUpsellTitle"),o={id:"XCloudServiceUpsellLink",contentName:a,slotNumber:n};return l.createElement(Ja,{link:t,imageUrl:ja,message:r,title:a,telemetryProps:o})},[f.gx.geforcenow]:e=>{let{link:t,slotNumber:n}=e;const[r,a,o]=(0,s.cG)("geforceNowServiceUpsellMessageLong","geforceNowServiceUpsellMessageShort","geforceNowServiceUpsellTitle"),i=(0,u.T8)()>u.JP.XS?r:a,c={id:"GeForceNowServiceUpsellLink",contentName:o,slotNumber:n};return l.createElement(Ja,{link:t,imageUrl:Xa,isExternalLink:!0,message:i,title:o,telemetryProps:c})}},Qa=["buttonType","title"],Ya=e=>{const t=no(e),[n,r]=(0,l.useState)(!1),a=(0,l.useRef)(null),o=(0,l.useRef)(null),i=(0,A._E)(n,(()=>{r(!1)}),a,o);if(!t)return null;let s;switch(e.experienceButtonType){case En.nl.Desktop:s=Za;break;case En.nl.CondensedMobile:s=eo;break;case En.nl.Mobile:s=Za;break;case En.nl.MobileStickyHeader:s=eo;break;case En.nl.Overflow:s=to;break;default:return null}return l.createElement(l.Fragment,null,l.createElement(s,h()(h()({},t),{},{buttonRef:a,buttonType:e.buttonType,onClick:()=>{r(!0)}})),l.createElement(Wa,{contentRef:o,onHide:i,cloudServiceUpsells:t.cloudServiceUpsells,show:n}))},Za=e=>{const{buttonType:t=se.VQ.Primary,title:n}=e,r=C()(e,Qa);return l.createElement(_r,h()({buttonType:t,title:n.toLocaleUpperCase()},r))},eo=e=>{const{accessibilityLabel:t,buttonType:n=se.VQ.Primary,buttonRef:r,onClick:a,telemetryProps:o,title:i,overrideClassName:s}=e;return l.createElement(w.a,h()({as:"button","aria-label":t,buttonType:n,className:s,onClick:a,ref:r},(0,x.vj)(o)),i.toLocaleUpperCase())},to=e=>{let{accessibilityLabel:t,buttonRef:n,onClick:r,telemetryProps:a,title:o}=e;return l.createElement(Rr,{"aria-label":t,onClick:r,icon:Aa.A,telemetryProps:a,ref:n},o)},no=e=>{let{baseProductId:t,cloudServiceUpsells:n,slotNumber:r,experienceButtonType:a}=e;var o;const l=(0,x.zM)(),[u,d]=(0,s.cG)("cloudPlayButtonAccessibilityLabelFormat","cloudPlayButtonText"),m=(0,s.JX)("cloudAvailableServicesText",{Services:(null===n||void 0===n?void 0:n.length)||0}),p=(0,c.d4)((e=>(0,yt.t7)(e,t))),h=(0,x.nO)({behavior:x.nS.SHOW,contentName:d,id:"MultiCloudPlayButton",slotNumber:r},l);return{overrideClassName:Fr(!0,a,a===En.nl.MobileStickyHeader?dr:void 0),accessibilityLabel:(0,i.GPZ)(u,(null===(o=p.product)||void 0===o?void 0:o.title)||""),subtitle:m,telemetryProps:h,title:d,cloudServiceUpsells:n}};const ro=e=>{const{listItemAccessibilityFormat:t,preferSkuValues:n,productIdentifiers:r,telemetryProps:a}=e,o=(0,c.d4)(i.GYd).origin,s=(0,c.d4)(i.a5u),d=(0,l.useId)(),m=(0,c.d4)((e=>(0,yt.Ns)(e,r))).filter((e=>!!e.product)).filter((e=>!!e.sku));return(null===m||void 0===m?void 0:m.length)?(m.sort(((e,t)=>{const n=e.availability,r=t.availability;return n&&r?n.price.msrp-r.price.msrp:!n&&r?1:n&&!r?-1:0})),l.createElement("ul",{className:"ProductList-module__productList___NJ+7V"},m.map(((e,r)=>{var c,p,v;const{product:g,sku:_}=e,b=g.productId,S=g.title,C=r+1,P=t?(0,i.GPZ)(t,n?_.skuTitle:S,C.toString(),m.length.toString()):n?_.skuTitle:S,T=(0,x.nO)({behavior:x.nS.NAVIGATIONFORWARD,contentName:S,id:"ProductListItem",productName:S,productId:b,slotNumber:r,skuId:_.skuId},h()({},a));return l.createElement("li",{key:`ProductListItem_${b}_${_.skuId}`,className:"ProductList-module__productListItem___aq9Xs"},l.createElement(w.a,h()({as:"a","aria-label":P,"aria-labelledby":`ProductListItemId_${d}_${b}_${_.skuId}_${r} inclusionAwarePriceId_${b}_${_.skuId}`,buttonType:se.VQ.Tertiary,href:(0,Ct.N7)(o,s,b,S,_.skuId),id:`ProductListItemId_${d}_${b}_${_.skuId}_${r}`},(0,x.vj)(T)),l.createElement(u._V,{width:50,height:50,src:n?null===(c=(0,f.mV)(g,_))||void 0===c?void 0:c.url:null===(v=null===(p=g.images)||void 0===p?void 0:p.boxArt)||void 0===v?void 0:v.url,alt:n?_.skuTitle:S}),l.createElement("div",null,l.createElement("div",{className:E.TF},n?_.skuTitle:S),l.createElement("div",{className:y()(E.cb,"ProductList-module__inclusionTextTVCaption___KTHP0"),id:`inclusionAwarePriceId_${b}_${_.skuId}`},l.createElement(f.aF,{productInfo:e,className:"ProductList-module__productListItemPrice___POIEq",listedPriceClassName:"ProductList-module__listedPrice___RF-qv"}),l.createElement(f.ne,{productSummary:e.product})))))})))):null},ao=["buttonAccessibilityLabel","buttonId","buttonType","subTitle","telemetryProps","title"],oo=e=>{const{buttonAccessibilityLabel:t,buttonId:n,buttonType:r=se.VQ.Primary,subTitle:a,telemetryProps:o,title:i}=e,s=C()(e,ao);let c="DropDownProductListButton-module__oneLineDropDownListButton___CJZI3";return a&&(c="DropDownProductListButton-module__twoLineDropDownListButton___DCYH5"),l.createElement(oe,null,l.createElement(oe.Button,{accessibilityLabel:t,buttonId:n,buttonType:r,className:y()([c,lr]),telemetryProps:o,showArrow:!0},l.createElement("div",{className:"DropDownProductListButton-module__dropDownListButtonTitleContainer___NJ8s0"},l.createElement("div",{className:E.TF},i),a&&l.createElement("div",{className:y()(E.cb,"DropDownProductListButton-module__dropDownProductListSubtitle___xuHs5")},a))),l.createElement(oe.Flyout,null,l.createElement(ro,h()(h()({},s),{},{telemetryProps:o}))))};const io=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M1936 256q23 0 43 9t36 24 24 35 9 44v1184q0 23-9 43t-24 36-35 24-44 9H112q-23 0-43-9t-36-24-24-35-9-44V368q0-23 9-43t24-36 35-24 44-9h1824zm-16 128H640v139q33-11 64-11 40 0 75 15t61 41 41 61 15 75q0 31-11 64h1035V384zM384 704q0 26 19 45t45 19h64v-64q0-26-19-45t-45-19q-26 0-45 19t-19 45zm320 64q26 0 45-19t19-45q0-26-19-45t-45-19q-26 0-45 19t-19 45v64h64zM128 384v384h139q-11-33-11-64 0-40 15-75t41-61 61-41 75-15q31 0 64 11V384H128zm0 1152h384V987l-147 146-90-90 146-147H128v640zm1792 0V896H731l146 147-90 90-147-146v549h1280z"}))},so=e=>{const{accessibilityLabel:t,buttonType:n=se.VQ.Primary,telemetryProps:r,onClick:a}=e;return l.createElement(Ce.m,h()({as:"button","aria-label":t,buttonType:n,className:y()([cr,lr]),onClick:a,icon:io,title:t},(0,x.vj)(r)))},lo=e=>{const{accessibilityLabel:t,actionOverride:n,buttonType:r=se.VQ.Primary,onClick:a,telemetryProps:o}=e,i=(0,s.FE)("giftActionText");return l.createElement(w.a,h()({as:"button","aria-label":t,buttonType:r,className:y()([nr,lr,E.TF]),onClick:null!==n&&void 0!==n?n:a},(0,x.vj)(o)),i.toLocaleUpperCase())},co=e=>{const{accessibilityLabel:t,buttonType:n=se.VQ.Primary,telemetryProps:r,onClick:a,className:o}=e,i=(0,s.FE)("giftActionText");return l.createElement(w.a,h()({as:"button","aria-label":t,buttonType:n,className:o,onClick:a},(0,x.vj)(r)),i.toLocaleUpperCase())},uo=e=>{const{accessibilityLabel:t,actionOverride:n,telemetryProps:r,onClick:a}=e,o=(0,s.FE)("giftActionText");return l.createElement(l.Fragment,null,l.createElement(wr,null,(e=>l.createElement(Rr,{"aria-label":t,onClick:()=>{var t;e.closeDialog(),null===(t=n||a)||void 0===t||t()},icon:io,telemetryProps:r},o))))};const mo=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M384 2048v-128h1152v128H384zm1197-851l-621 626-621-626 90-90 467 470V0h128v1577l467-470 90 90z"}))},po="#1b1c1e";var ho;!function(e){e[e.DefaultXbox=0]="DefaultXbox",e[e.XboxSeriesX=1]="XboxSeriesX",e[e.XboxSeriesS=2]="XboxSeriesS",e[e.XboxOne=3]="XboxOne",e[e.XboxOneS=4]="XboxOneS",e[e.XboxOneSDigital=5]="XboxOneSDigital",e[e.XboxOneX=6]="XboxOneX",e[e.PC=7]="PC"}(ho||(ho={}));const fo=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M36.98 8.067a.5.5 0 01.42-.037l.08.037 26.305 15.182.069.057.039.043.031.045a.5.5 0 01.074.22l.002.046v9.15a.5.5 0 01-.178.382l-.072.051-18.252 10.539-.058.041-18.42 10.63-2.57 1.48a.5.5 0 01-.42.037l-.08-.037-23.7-13.68a.5.5 0 01-.242-.345L0 41.82V29.7c0-.092.025-.185.075-.265l.044-.06.037-.039.058-.046.036-.023 36.73-21.2zM1 30.566v10.965l23.2 13.391 2.07-1.192v-3.72l-2.31-1.34v-1.73l2.31 1.337v-3.119L1 30.566zm43.668 9.396L27.27 50.009v3.144l17.418-10.058-.02-3.133zm-.032-4.83L27.27 45.158v3.118l17.386-10.04-.02-3.104zM18.87 19.677L1.5 29.7l25.269 14.592 17.36-10.024L18.87 19.677zm44.129 4.849L45.631 34.557l.053 7.963 17.315-9.999v-7.995zM37.23 9.077L19.867 19.099l25.261 14.592L62.499 23.66 37.23 9.077zm22.33 20.601c.388-.674 1.022-1.037 1.414-.81.392.226.395.956.005 1.63-.389.675-1.023 1.038-1.415.811-.392-.226-.394-.956-.005-1.63z"}))};const vo=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M36.98 9.097a.5.5 0 01.42-.037l.08.037 26.303 15.18.057.046.053.056.031.045a.5.5 0 01.074.22l.002.046v6.96a.5.5 0 01-.178.382l-.072.051-2.701 1.558.001 1.039-34.28 19.79L1.36 39.8l-.001-1.037-1.109-.64a.5.5 0 01-.242-.345L0 37.69v-6.95a.5.5 0 01.075-.265l.043-.06.045-.045.052-.04.035-.023L18.6 19.71l.02-.013 18.36-10.6zM1 31.606v5.795l25.27 14.583v-5.795L1 31.606zm43.63 8.032l-17.36 10.03v2.315l17.36-10.02v-2.325zm0-3.475L27.27 46.188v2.325l17.36-10.029v-2.321zM18.871 20.708L1.5 30.739l25.27 14.583 17.358-10.024-25.257-14.59zM63 25.555L45.63 35.588v5.798L63 31.36v-5.805zm-.501-.865L37.23 10.107 19.87 20.131l25.258 14.59L62.499 24.69zm-3 4.97c.389-.674 1.023-1.037 1.415-.81.392.226.394.956.005 1.63-.39.675-1.023 1.038-1.415.811-.392-.226-.395-.956-.005-1.63z"}))};const go=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M36.98 9.097a.5.5 0 01.42-.037l.08.037 26.303 15.18.057.046.053.056.031.045a.5.5 0 01.074.22l.002.046v6.96a.5.5 0 01-.178.382l-.072.051-2.701 1.558.001 1.039-34.28 19.79L1.36 39.8l-.001-1.037-1.109-.64a.5.5 0 01-.242-.345L0 37.69v-6.95a.5.5 0 01.075-.265l.043-.06.045-.045.052-.04.035-.023L18.6 19.71l.02-.013 18.36-10.6zM1 31.606v5.795l25.27 14.583v-5.795L1 31.606zm43.63 4.557L27.27 46.188v5.795l17.36-10.02v-5.8zM18.871 20.708L1.5 30.739l25.27 14.583 17.358-10.024-25.257-14.59zM63 25.555L45.63 35.588v5.798L63 31.36v-5.805zm-.501-.865L37.23 10.107 19.87 20.131l25.258 14.59L62.499 24.69zm-3 4.97c.389-.674 1.023-1.037 1.415-.81.392.226.394.956.005 1.63-.39.675-1.023 1.038-1.415.811-.392-.226-.395-.956-.005-1.63z"}))};const _o=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M36.98 8.517a.5.5 0 01.42-.037l.08.037 26.283 15.178.06.042.059.059.042.058a.5.5 0 01.074.217l.002.049v9.72a.5.5 0 01-.178.382l-.072.051-33.04 19.08a.494.494 0 01-.425.035l-.076-.036-2.143-1.244-1.085.625-.07.027-.082.017-.097.002-.08-.012-.045-.014a.499.499 0 01-.087-.04l.067.032-.029-.012L.25 37.543a.5.5 0 01-.242-.345L0 37.11v-6.95l.007-.084a.498.498 0 01.068-.181l.043-.06.045-.045.052-.04.035-.023 36.73-21.21zm26.019 25.034v-1.615l-32.04 18.501v1.617l32.04-18.503zM29.96 51.014l-.895.517.895.52v-1.037zM1 31.026v5.795l25.27 14.593v-5.796L1 31.026zm61.999-.245v-5.795L27.27 45.617v5.796l2.868-1.655.072-.051L63 30.781zM37.229 9.527L1.5 30.159l25.27 14.583L62.5 24.119 37.229 9.527zm22.33 19.521c.39-.674 1.023-1.038 1.416-.811.392.226.394.957.005 1.631-.39.674-1.023 1.037-1.415.811-.393-.226-.395-.957-.006-1.631z"}))};const yo=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M25.48.067A.5.5 0 0125.9.03l.08.037L48.046 12.81l.068.056.039.043.031.045c.05.081.076.174.076.266v44.8a.5.5 0 01-.178.382l-.072.051-9.49 5.48a.495.495 0 01-.265.067.487.487 0 01-.178-.027l-.087-.04-22-12.72a.5.5 0 01-.242-.345l-.008-.088V5.99a.496.496 0 01.172-.388l.078-.055 9.49-5.48zm-8.741 6.798v43.626l21 12.142V18.988l-21-12.123zm30.521 7.22l-8.49 4.903v43.645l8.49-4.902V14.085zm-26.2 2.253c3.583-2.069 9.163 1.152 12.563 7.042 3.4 5.89 3.4 12.332-.184 14.401-3.584 2.07-9.163-1.152-12.564-7.041-3.4-5.89-3.4-12.333.184-14.402zm11.697 7.542c-3.16-5.475-8.22-8.395-11.198-6.676-2.978 1.72-2.978 7.561.182 13.036 3.161 5.474 8.22 8.395 11.198 6.675 2.978-1.72 2.979-7.56-.182-13.035zm7.81-3.595c.39-.674 1.024-1.037 1.416-.81.392.226.395.956.005 1.63-.39.675-1.023 1.038-1.415.812-.392-.227-.394-.957-.005-1.632zM25.73 1.077L17.24 5.979l21.03 12.143 8.489-4.902-21.03-12.143z"}))};const bo=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M31.75.067a.5.5 0 01.42-.037l.08.037 17.555 10.132.069.057.039.043.031.045a.5.5 0 01.074.22l.002.046v42.78a.5.5 0 01-.178.382l-.072.051-14.6 8.42-2.957 1.71-.054.021-.08.02-.097.006-.06-.006-.082-.02-.075-.033L14.23 53.823a.5.5 0 01-.242-.345l-.008-.088V10.61l.007-.084a.498.498 0 01.068-.181l.044-.06.044-.045.052-.04.035-.023L31.75.067zM14.98 11.476v41.625l16.52 9.533V21.018l-16.52-9.542zM49.02 53.1V11.475L32.5 21.018v41.614l2.17-1.255L49.02 53.1zM34.257 22.88c.39-.675 1.023-1.038 1.415-.811.393.226.395.956.005 1.63-.389.675-1.022 1.038-1.415.812-.392-.227-.394-.957-.005-1.631zM32 1.077L15.479 10.61 32 20.152l16.52-9.542L32 1.077z"}))};const Eo=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M0 29.74a.5.5 0 01.075-.265l.043-.06.045-.045.052-.04.035-.023 36.73-21.21a.5.5 0 01.42-.037l.08.037 26.305 15.182.069.057.039.043.031.045a.5.5 0 01.074.22l.002.046v9.96a.5.5 0 01-.178.382l-.072.051-36.745 21.208-.072.032-.105.024-.095.002-.078-.012-.069-.022-.066-.032L.25 40.123a.5.5 0 01-.242-.345L0 39.69v-9.95zm62.999 3.621v-8.805L27.27 45.188v8.795l35.729-20.622zm-62-2.756V39.4l25.27 14.583v-8.795L.999 30.605zm36.23-21.498L1.5 29.739l25.27 14.583L62.499 23.69 37.229 9.107z"}))};var So=n(7588),Co=n(16890),Po=n(91361),To="DeviceItem-module__iconDevice___qM-eC",wo="DeviceItem-module__itemContainer___LUQza",Io="DeviceItem-module__title___z1IA+";const ko=e=>{const{hasSufficientFreeSpace:t,isChecked:n,deviceType:r=ho.DefaultXbox,deviceName:a,devicePowerStatus:o,deviceFreeStorage:s,usedStorageSpacePercentage:c,className:d,onClick:m}=e,p=()=>{t&&(null===m||void 0===m||m(!n))};return l.createElement("div",{role:"checkbox","aria-checked":n?"true":"false",onClick:p,onKeyDown:e=>{((0,i.JSV)(e.key,"spacebar")||(0,i.JSV)(e.key," ")||(0,i.JSV)(e.key,"enter"))&&(p(),e.stopPropagation(),e.preventDefault())},tabIndex:t?0:-1,className:y()([wo,"DeviceItem-module__itemContainerFocusStates___RIefB",d])},l.createElement("div",{className:"DeviceItem-module__iconContainer___kr1By"},(e=>{switch(e){case ho.XboxOne:return l.createElement(g.In,{iconSize:g.lK.Custom,className:To,icon:fo});case ho.XboxOneS:return l.createElement(g.In,{iconSize:g.lK.Custom,className:To,icon:vo});case ho.XboxOneSDigital:return l.createElement(g.In,{iconSize:g.lK.Custom,className:To,icon:go});case ho.XboxOneX:return l.createElement(g.In,{iconSize:g.lK.Custom,className:To,icon:_o});case ho.XboxSeriesS:return l.createElement(g.In,{iconSize:g.lK.Custom,className:To,icon:yo});case ho.XboxSeriesX:return l.createElement(g.In,{iconSize:g.lK.Custom,className:To,icon:bo});case ho.PC:return l.createElement(g.In,{iconSize:g.lK.Custom,className:To,icon:u.Fy});case ho.DefaultXbox:default:return l.createElement(g.In,{iconSize:g.lK.Custom,className:To,icon:Eo})}})(r)),l.createElement("div",{className:"DeviceItem-module__infoContainer___jUQEC"},l.createElement("div",{className:Io},a),o&&l.createElement("div",{className:"DeviceItem-module__subtitle___wJkrQ"},o),void 0!==c&&l.createElement("div",{className:"DeviceItem-module__storageComponents___rhlcd"},l.createElement("div",{className:"DeviceItem-module__availableSpaceMeter___ysdnM"},l.createElement("div",{className:y()("DeviceItem-module__availableSpaceMeterValue___jyxtv",t?void 0:"DeviceItem-module__error___9gepr"),style:{width:`${c}%`}})),l.createElement("div",{className:Io},!t&&l.createElement(g.In,{iconSize:g.lK.Custom,className:"DeviceItem-module__iconWarning___ArYA7",icon:So.A}),s))),l.createElement(g.In,{iconSize:g.lK.Custom,className:"DeviceItem-module__checkbox___M2qVf",icon:n?Co.A:Po.A}),!t&&l.createElement("div",{className:"DeviceItem-module__alertStrip___wdn7P"}))},xo=e=>{var t;const{device:n,isChecked:r,isPc:a,requiredSpace:o,className:c,onClick:u}=e,d={deviceName:n.name,deviceType:ho.PC,isChecked:r,hasSufficientFreeSpace:!0},[m,p,f,v]=(0,s.cG)("installScreenConsoleStateOn","installScreenConsoleStateOff","installScreenConsoleStateUnknown","installScreenFreeStorageTemplate");let g,_;if(!a){d.deviceType=(e=>{switch(e){case En.o.XboxSeriesS:return ho.XboxSeriesS;case En.o.XboxSeriesX:case En.o.XboxSeriesXDevKit:return ho.XboxSeriesX;case En.o.XboxOne:return ho.XboxOne;case En.o.XboxOneS:return ho.XboxOneS;case En.o.XboxOneSDigital:return ho.XboxOneSDigital;case En.o.XboxOneX:case En.o.XboxOneXDevKit:return ho.XboxOneX;default:return}})(n.consoleType);const e=null===(t=n.storage)||void 0===t?void 0:t.filter((e=>e.isDefault))[0];switch(g=(null===e||void 0===e?void 0:e.freeSpaceBytes)||0,_=(null===e||void 0===e?void 0:e.totalSpaceBytes)||0,d.hasSufficientFreeSpace=o<=g,d.usedStorageSpacePercentage=((e,t)=>Math.ceil((t-e)/t*100))(g,_),n.state.powerState){case En.te.On:case En.te.ConnectedStandby:d.devicePowerStatus=m;break;case En.te.Off:d.devicePowerStatus=p;break;default:d.devicePowerStatus=f}}const y=(0,A.Ek)(g,1024,0)||"",b=(0,A.Ek)(_,1024,0)||"";return d.deviceFreeStorage=y&&b?(0,i.GPZ)(v,y,b):"",l.createElement(ko,h()({className:c,onClick:u},d))},Ao=e=>l.createElement("div",{className:y()([wo,e.className])});var No="InstallScreen-module__bodyText2___cmbvC",Lo="InstallScreen-module__contentContainer___Dzlkm",Mo="InstallScreen-module__contentTitleMargin___txpE0",Oo="InstallScreen-module__deviceItemMargin___c8nu+",Ro="InstallScreen-module__deviceList___oZG0s",Do="InstallScreen-module__subTitle___qU0xx",Bo="InstallScreen-module__tab___+Npdi";const Fo=e=>{const{firstParagraphText:t,headingText:n,secondParagraphText:r}=e;return l.createElement("div",{className:Mo},l.createElement("div",{className:y()(E.f9,Do)},n),l.createElement("div",{className:y()(E.SM,No)},t),l.createElement("div",{className:y()(E.SM,No)},r))},Uo=e=>{const{devices:t,devicesArePcs:n,maxInstallSize:r,selectedDeviceId:a,setSelectedDeviceId:o}=e,{installScreenEmptyConsoleTabHeading:i,installScreenEmptyConsoleUpsellText:c,installScreenEmptyConsoleInstructionsText:u,installScreenReadyToInstall:d}=(0,s.ot)("installScreenEmptyConsoleTabHeading","installScreenEmptyConsoleUpsellText","installScreenEmptyConsoleInstructionsText","installScreenReadyToInstall");return 0===t.length?l.createElement(Fo,{firstParagraphText:c,headingText:i,secondParagraphText:u}):l.createElement(l.Fragment,null,l.createElement("div",{className:y()(E.LP,"InstallScreen-module__readyMessageMargin___pTAud")},d),l.createElement(fe,{className:Ro,gradientColorOverride:po},t.map((e=>l.createElement(xo,{key:e.id,className:Oo,device:e,isChecked:a===e.id,isPc:n,requiredSpace:r||0,onClick:t=>{o(t?e.id:"")}})))))};const Ho=()=>{const{remoteConsoleLoadErrorHeading:e,reloadPageRequestMessage:t}=(0,s.ot)("remoteConsoleLoadErrorHeading","reloadPageRequestMessage");return l.createElement(l.Fragment,null,l.createElement("div",{className:y()(Lo,Mo)},l.createElement("div",null,l.createElement("div",{className:"InstallErrorScreen-module__warningSign___OqVjo"},"\u26a0"),l.createElement("div",{className:y()(E.f9,Do)},e)),l.createElement("div",{className:y()(E.SM,No)},t)))},Vo=()=>{const e=(0,s.FE)("loadingText");return l.createElement("div",null,l.createElement("div",{className:y()(E.LP,Mo)},e),l.createElement(fe,{className:Ro,gradientColorOverride:po},l.createElement(Ao,{className:Oo}),l.createElement(Ao,{className:Oo}),l.createElement(Ao,{className:Oo})))};var Go,qo=n(7814),zo="InstallScreenButtons-module__shimmerAddons___QQWaC";!function(e){e[e.Install=0]="Install",e[e.Launch=1]="Launch",e[e.Reload=2]="Reload",e[e.LearnMore=3]="LearnMore"}(Go||(Go={}));const Xo=e=>{const{devicesArePcs:t,primaryButtonState:n,productId:r,selectedDeviceId:a,onCancelClicked:o,onInstallClicked:u}=e,d=(0,c.wA)(),{installScreenCancelButtonText:m,installScreenInstallButtonText:p,installScreenLaunchButtonText:h,learnMoreText:f,reloadPageButtonText:v}=(0,s.ot)("installScreenCancelButtonText","installScreenInstallButtonText","installScreenLaunchButtonText","learnMoreText","reloadPageButtonText"),g=(0,c.d4)((e=>(0,yt.g4)(e,r)));let _,y,b,E;switch(n){case Go.Install:_=!a,y=()=>{d(qo.n.queueInstall.start(a,[r],t)),null===u||void 0===u||u()},b=p;break;case Go.Launch:_=!(0,i.PTb)(),y=()=>{(null===g||void 0===g?void 0:g.isAvailableOnGarrison)?window.location.href=`msxbox://game/?productId=${r}`:window.location.href=`ms-windows-store://pdp/?productId=${r}`,null===u||void 0===u||u()},b=h;break;case Go.LearnMore:_=!1,E=Ct.iZ,b=f;break;case Go.Reload:default:_=!1,y=()=>{"undefined"!==typeof location&&location.reload()},b=v}return l.createElement("div",{className:"InstallScreenButtons-module__buttonContainer___wa-9b"},l.createElement(w.a,{as:"button",buttonType:se.VQ.Primary,onClick:o},m),E?l.createElement(w.a,{as:"a","aria-label":b,buttonType:se.VQ.Brand,href:E,target:"_blank"},b.toLocaleUpperCase()):l.createElement(w.a,{as:"button",disabled:_,buttonType:se.VQ.Brand,onClick:y},b.toLocaleUpperCase()))},jo=()=>l.createElement("div",{className:"InstallScreenButtons-module__loadingPanel___q8RDT"},l.createElement("div",{className:y()(we.iM,zo,"InstallScreenButtons-module__shimmerBackground1___LHUZF")}),l.createElement("div",{className:y()(we.iM,zo,"InstallScreenButtons-module__shimmerBackground2___YNYl4")})),Wo=["children","className","contentRef","productId","onCancelClicked","onInstallClicked"],$o=(e,t)=>{var n;return!!(null===(n=null===e||void 0===e?void 0:e.availableOn)||void 0===n?void 0:n.filter((e=>e.toLowerCase().includes(t))).length)},Jo=e=>{const t=(0,c.wA)(),[n,r]=(0,l.useState)(""),[a,o]=(0,l.useState)(0),d=(0,c.d4)((e=>(0,yt.XM)(e))),m=(0,c.d4)((e=>(0,yt.jg)(e))),p=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableRemoteInstallToPc))),{contentRef:h,productId:v,onCancelClicked:g,onInstallClicked:_}=e,{installScreenConsoleTabText:b,installScreenPcTabText:S,installScreenPcTabHeading:C,installScreenPcAppUpsellText:P,installScreenPcAppRequiresText:T}=(0,s.ot)("installScreenConsoleTabText","installScreenPcTabText","installScreenPcTabHeading","installScreenPcAppUpsellText","installScreenPcAppRequiresText");(0,l.useEffect)((()=>{t(yt.nU.fetchDevices.start())}),[]);const w=(0,c.d4)((e=>(0,yt.g4)(e,v))),I=(0,A.Ek)((null===w||void 0===w?void 0:w.maxInstallSize)||0,1024,2)||"",k=w?(0,f.mV)(w):void 0,x=$o(w,"pc"),N=$o(w,"xbox"),L=x&&(0,i.PTb)(),M=N&&L;(0,l.useEffect)((()=>{(!M&&N||0===a&&N)&&((0,Le.isError)(m)?D(Go.Reload):(0,Le.isContent)(m)&&(0===m.data.length?D(Go.LearnMore):D(Go.Install)))}),[m,a,M,N]),(0,l.useEffect)((()=>{(!M&&L||1===a)&&(p?(0,Le.isError)(d)?D(Go.Reload):(0,Le.isContent)(d)&&(0===d.data.length?D(Go.LearnMore):D(Go.Install)):D(Go.Launch))}),[d,a,M,p,L]);const O=N||p&&L?Go.Install:Go.Launch,[R,D]=(0,l.useState)(O),B=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return p||!t?(0,Le.lceSelect)(e,{content:()=>l.createElement(Xo,{devicesArePcs:t,onCancelClicked:g,onInstallClicked:_,primaryButtonState:R,productId:v,selectedDeviceId:n}),isFetching:()=>l.createElement(jo,null)}):l.createElement(Xo,{devicesArePcs:t,onCancelClicked:g,onInstallClicked:_,primaryButtonState:R,productId:v,selectedDeviceId:n})},F=l.createElement(l.Fragment,null,l.createElement("div",{className:Lo},(0,Le.lceSelect)(m,{default:()=>l.createElement(l.Fragment,null),content:e=>{let{data:t}=e;return l.createElement(Uo,{devices:t,maxInstallSize:null===w||void 0===w?void 0:w.maxInstallSize,selectedDeviceId:n,setSelectedDeviceId:r})},error:()=>l.createElement(Ho,null),isFetching:()=>l.createElement(Vo,null)})),B(m)),U=l.createElement(l.Fragment,null,l.createElement("div",{className:Lo},p?(0,Le.lceSelect)(d,{default:()=>l.createElement(l.Fragment,null),content:e=>{let{data:t}=e;return l.createElement(Uo,{devices:t,devicesArePcs:!0,maxInstallSize:null===w||void 0===w?void 0:w.maxInstallSize,selectedDeviceId:n,setSelectedDeviceId:r})},error:()=>l.createElement(Ho,null),isFetching:()=>l.createElement(Vo,null)}):l.createElement(Fo,{firstParagraphText:P,headingText:C,secondParagraphText:T})),B(d,!0));return l.createElement("div",{className:"InstallScreen-module__container___MXKqq",ref:h},l.createElement("div",{className:"InstallScreen-module__backgroundImageContainer___nOCO2"},l.createElement(u._V,{className:"InstallScreen-module__backgroundImage___chH6m",src:null===k||void 0===k?void 0:k.url,width:270,height:270,fluid:!0})),l.createElement("div",{className:"InstallScreen-module__backgroundOverlay___wDs1A"}),l.createElement("div",{className:"InstallScreen-module__productContainer___hrUA4"},l.createElement("div",{className:"InstallScreen-module__boxArt___AXg4O"},l.createElement(u._V,{className:"shadow",width:136,height:136,src:null===k||void 0===k?void 0:k.url,alt:null===k||void 0===k?void 0:k.caption,fluid:!0})),l.createElement("div",{className:"InstallScreen-module__gameDetailsContainer___qMQ+F"},l.createElement("div",{className:y()(E.me,"InstallScreen-module__productTitle___ysrdw")},null===w||void 0===w?void 0:w.title),l.createElement("div",{className:E.LP},I))),M?l.createElement(ut,{onSelectedIndexChanged:e=>{o(e)},className:"InstallScreen-module__tabContainer___VYgvu"},l.createElement(ct,{className:Bo,key:"Console",title:b},F),l.createElement(ct,{className:Bo,key:"PC",title:S},U)):l.createElement("div",{className:"InstallScreen-module__nonTabbedDisplay___AnG4H"},l.createElement(l.Fragment,null,N?F:U)))},Ko=e=>{const{children:t,className:n,contentRef:r,productId:a,onCancelClicked:o,onInstallClicked:i}=e,c=C()(e,Wo),d=(0,s.FE)("installButtonText");return l.createElement(u.aF,h()(h()({className:"InstallScreen-module__modal___yYBN1"},c),{},{ariaLabel:d}),l.createElement(Jo,{contentRef:r,productId:a,onCancelClicked:o,onInstallClicked:i}))};const Qo=e=>{var t,n,r,a;const{onRetryClicked:o,onCancelClicked:c,installOperation:u}=e,[d,m,p,h,f]=(0,s.cG)("installErrorDetailsHeading","installErrorDetailsMessage","installRetryButtonText","cancelButtonText","errorCodeTemplate"),v=(null===(t=u.error)||void 0===t?void 0:t.errorCode)||(null===(a=null===(r=null===(n=u.error)||void 0===n?void 0:n.originalError)||void 0===r?void 0:r.response)||void 0===a?void 0:a.status);return l.createElement("div",{className:"InstallErrorDialog-module__contentContainer___SrfDw"},l.createElement("div",{className:E.LP},d),l.createElement("div",{className:E.SM},m),v&&l.createElement("div",{className:y()(E.SM,"InstallErrorDialog-module__errorMessageOpacity___yP91k")},(0,i.GPZ)(f,v)),l.createElement("div",{className:"InstallErrorDialog-module__buttonRow___sO5Xc"},l.createElement(w.a,{as:"button",buttonType:se.VQ.Primary,onClick:o},p),l.createElement(w.a,{as:"button",buttonType:se.VQ.Primary,onClick:c},h)))};var Yo="InstallInfoBanner-module__container___3up4S";const Zo=(e,t)=>l.createElement("span",{className:E.cb},e," ",l.createElement("span",{className:"InstallInfoBanner-module__fadedCaption___FVtGQ"},t)),ei=e=>{const{productId:t}=e,[n,r]=(0,l.useState)(!1),a=(0,c.d4)((e=>(0,yt.z4)(e,t))),o=(0,c.d4)((e=>(0,yt.Q)(e,(null===a||void 0===a?void 0:a.deviceId)||""))),{installStatusErrorMessage:i,installStatusPendingCaption:u,installStatusSuccessCaption:d}=(0,s.ot)("installStatusErrorMessage","installStatusPendingCaption","installStatusSuccessCaption");if(!a)return null;const m=()=>r(!1);switch(a.operationStatus){case En.Uh.Pending:return l.createElement("div",{className:Yo},l.createElement(le,null),Zo(u,o));case En.Uh.ConsoleError:case En.Uh.Error:case En.Uh.TimedOut:{const e={behavior:x.nS.EXPAND,contentName:i,id:"InstallInfoBannerErrorButton"};return l.createElement(l.Fragment,null,l.createElement(oe,null,l.createElement(oe.Button,{accessibilityLabel:i,buttonType:se.VQ.Primary,className:y()(Yo,"InstallInfoBanner-module__actionableContainer___uZc9s"),telemetryProps:e},Zo(i),l.createElement(g.In,{iconSize:g.lK.XXSmall,icon:Pe.A})),l.createElement(oe.Flyout,null,l.createElement(ne,null,(e=>l.createElement(Qo,{onRetryClicked:()=>{r(!0),e.closeFlyout()},onCancelClicked:e.closeFlyout,installOperation:a}))))),l.createElement(Ko,{onCancelClicked:m,onInstallClicked:m,onHide:m,productId:t,show:n,closeable:!0}))}case En.Uh.Succeeded:return l.createElement("div",{className:Yo},Zo(d,o));default:return null}};var ti=n(64440),ni="InstallButton-module__opaque___eX5ct";const ri=e=>{let{baseProductId:t,buttonTitle:n,buttonAriaLabel:r,buttonRef:a,buttonType:o=se.VQ.Primary,upsellProductId:s,openModal:u,isTrial:d,telemetryProps:m,overrideClassName:p,overrideContainerClassName:h,isFresnoEntitlement:v}=e;const g=(0,c.d4)((e=>(0,yt.$Y)(e,t))),{affordingText:_,upsellGlyph:y}=(0,f.qt)({upsellProductId:s,isTrial:d,productEntitlement:(0,Le.getDataOrPrevious)(g)||void 0,isFresnoEntitlement:v}),b=(0,i.XBe)(s)===f.Es;return l.createElement(La,{buttonRef:a,accessibilityLabel:r,onClick:u,buttonType:o,telemetryProps:m,overrideClassName:p,overrideContainerClassName:h},l.createElement("div",{className:E.TF,"aria-hidden":"true"},n.toLocaleUpperCase()),l.createElement(Da,{subtitleFormat:_,productGlyph:y,upsellTitleId:s,usesUbisoftSVG:b,productEntitlement:(0,Le.getDataOrPrevious)(g)||void 0,isIncludedInSubscription:!0}))},ai=e=>{let{buttonTitle:t,buttonRef:n,buttonType:r=se.VQ.Primary,telemetryProps:a,openModal:o,overrideClassName:i}=e;return l.createElement(w.a,h()({as:"button",buttonType:r,className:i,onClick:o,ref:n},(0,x.vj)(a)),t.toLocaleUpperCase())},oi=e=>{let{openModal:t,installOperation:n,telemetryProps:r,overrideClassName:a,overrideContainerClassName:o}=e;const i=(0,c.wA)(),{installStatusErrorTitle:u,installStatusErrorSubtitle:d,installErrorButtonAccessibilityLabel:m}=(0,s.ot)("installStatusErrorTitle","installStatusErrorSubtitle","installErrorButtonAccessibilityLabel"),p=()=>{t(),i(qo.n.clearOperationStatus(n))},f=h()(h()({},r),{},{contentName:u,id:"InstallErrorButton"});return l.createElement(oe,{className:o},l.createElement(oe.Button,{accessibilityLabel:m,buttonType:se.VQ.Primary,className:y()(ir,a),telemetryProps:f},l.createElement("div",{className:E.TF},u),l.createElement("div",{className:y()(E.cb,ni)},d)),l.createElement(oe.Flyout,null,l.createElement(ne,null,(e=>l.createElement(Qo,{onRetryClicked:p,onCancelClicked:e.closeFlyout,installOperation:n})))))},ii=e=>{let{baseProductId:t,overrideClassName:n}=e;const{installStatusPendingTitle:r}=(0,s.ot)("installStatusPendingTitle"),a=(0,c.d4)((e=>(0,ti.z4)(e,t))),o=(0,c.d4)((e=>(0,ti.Q)(e,(null===a||void 0===a?void 0:a.deviceId)||"")));return l.createElement(w.a,{as:"button",buttonType:se.VQ.Primary,className:y()(pr,n),disabled:!0},l.createElement("div",{className:"InstallButton-module__progressContainer___JhBBL"},l.createElement(le,null),l.createElement("div",{className:E.TF},r)),l.createElement("div",{className:y()(E.cb,ni)},o))},si=e=>{let{baseProductId:t,overrideClassName:n}=e;const{installStatusSuccessTitle:r}=(0,s.ot)("installStatusSuccessTitle"),a=(0,c.d4)((e=>(0,ti.z4)(e,t))),o=(0,c.d4)((e=>(0,ti.Q)(e,(null===a||void 0===a?void 0:a.deviceId)||"")));return l.createElement(w.a,{as:"button",buttonType:se.VQ.Primary,className:y()(pr,n),disabled:!0},l.createElement("div",{className:E.TF},r),l.createElement("div",{className:y()(E.cb,ni)},o))},li=e=>{let{baseProductId:t,buttonTitle:n,showModal:r,telemetryProps:a,hideModal:o,openModal:i}=e;return l.createElement(l.Fragment,null,l.createElement(Rr,{onClick:i,icon:mo,telemetryProps:a},n),r&&l.createElement(wr,null,(e=>{const n=()=>{e.closeDialog(),o()};return l.createElement(Ko,{"aria-labelledby":"title",onCancelClicked:n,onInstallClicked:n,onHide:n,productId:t,show:r,closeable:!0})})))};const ci=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M512 1152v-128h640v128H512zm989 130l317 318-317 318-91-91 163-163H256V256h1536v1136l-128-128V384H384v1152h1189l-163-163 91-91zm-93-514v128H512V768h896zM512 512h768v128H512V512z"}))};const ui=e=>{const t=(0,s.FE)("sorryForTheInconvenience"),n=(0,s.FE)("externallyManagedSubscription",e.subscriptionName);return l.createElement("div",{className:"ExternallyManagedSubscriptionScreen-module__content___Gp353"},l.createElement("h3",{className:y()(E.H8,"ExternallyManagedSubscriptionScreen-module__modalTitle___O9YrF")},t),l.createElement("p",{className:"ExternallyManagedSubscriptionScreen-module__modalContent___iTQ0p"},n))},di=e=>{const t=(0,s.FE)("closeButtonText"),{showModal:n,onComplete:r,subscriptionName:a,buttonType:o,overrideButtonClassName:i}=e;return l.createElement(u.aF,{className:"ExternallyManagedModal-module__externallyManagedModalContainer___UsB0s",closeable:!0,show:n,onHide:r},l.createElement(ui,{subscriptionName:a}),l.createElement(w.a,{as:"button",buttonType:o,"aria-label":t,onClick:r,className:null!==i&&void 0!==i?i:""},l.createElement("div",{className:E.TF},t.toLocaleUpperCase())))},mi=["buttonLabel","buttonType","onClick","isExternallyManaged","telemetryProps"],pi=["buttonLabel","buttonType","isExternallyManaged","telemetryProps","onClick","overrideClassName"],hi=["buttonLabel","isExternallyManaged","telemetryProps","onClick"],fi=e=>{let t="";switch(e.experienceButtonType){case En.nl.CondensedDesktop:t=nr;case En.nl.Desktop:return l.createElement(vi,h()(h()({},e),{},{overrideClassName:t}));case En.nl.Mobile:case En.nl.CondensedMobile:return l.createElement(gi,h()(h()({},e),{},{overrideClassName:Fr(!1,e.experienceButtonType)}));case En.nl.MobileStickyHeader:return l.createElement(gi,h()(h()({},e),{},{overrideClassName:dr}));case En.nl.Overflow:return l.createElement(_i,h()({},e));default:return null}},vi=e=>{const{buttonLabel:t,buttonType:n=se.VQ.Primary,onClick:r,isExternallyManaged:a,telemetryProps:o}=e,i=C()(e,mi),s=(0,l.useRef)(null);return a?l.createElement(_r,h()({accessibilityLabel:t,buttonType:n,onClick:r,buttonRef:s,telemetryProps:o,title:t.toLocaleUpperCase()},i)):l.createElement(yr,h()({accessibilityLabel:t,buttonType:n,href:Ct.JT,subtitle:"",target:"_blank",telemetryProps:o,title:t.toLocaleUpperCase()},i))},gi=e=>{const{buttonLabel:t,buttonType:n=se.VQ.Primary,isExternallyManaged:r,telemetryProps:a,onClick:o,overrideClassName:i}=e,s=C()(e,pi);return r?l.createElement(w.a,h()({as:"button","aria-label":t,buttonType:n,className:i,onClick:o},(0,x.vj)(a)),t.toLocaleUpperCase()):l.createElement(w.a,h()(h()({as:"a","aria-label":t,buttonType:n,className:i,href:Ct.JT,target:"_blank"},(0,x.vj)(a)),s),t.toLocaleUpperCase())},_i=e=>{const{buttonLabel:t,isExternallyManaged:n,telemetryProps:r,onClick:a}=e,o=C()(e,hi);return n?l.createElement(Rr,h()({"aria-label":t,icon:ci,onClick:a,telemetryProps:r},o),t.toLocaleUpperCase()):l.createElement(Dr,h()({"aria-label":t,href:Ct.JT,icon:ci,target:"_blank",telemetryProps:r},o),t.toLocaleUpperCase())},yi=e=>l.createElement(w.a,{as:"button","aria-disabled":!0,buttonType:se.VQ.Tertiary,className:ar},e.actionText.toLocaleUpperCase()),bi=e=>{const t=e.className||or;return l.createElement(w.a,{as:"button","aria-disabled":!0,buttonType:se.VQ.Tertiary,className:t},e.actionText.toLocaleUpperCase())},Ei=e=>l.createElement(Rr,{"aria-disabled":!0,icon:jr,telemetryProps:{}},e.actionText);const Si=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M1536 256h384v384h-128V475l-456 456-91-91 456-456h-165V256zm0 1280v-512l128-128v768H0V512h1280l-128 128H128v896h1408z"}))},Ci=e=>{const{actionOverride:t,buttonType:n=se.VQ.Primary,buttonLabel:r,storeLink:a,telemetryProps:o}=e;return t?l.createElement(w.a,h()({as:"button","aria-label":r,buttonType:n,className:y()([nr,lr,E.TF]),onClick:()=>t()},(0,x.vj)(o)),r.toLocaleUpperCase()):l.createElement(w.a,h()({as:"a","aria-label":r,buttonType:n,className:y()([nr,lr,E.TF]),href:a,target:"_blank"},(0,x.vj)(o)),r.toLocaleUpperCase())},Pi=e=>{const{actionOverride:t,buttonType:n=se.VQ.Primary,buttonLabel:r,storeLink:a,telemetryProps:o,className:i}=e,s=[lr];return i&&s.push(i),t?l.createElement(w.a,h()({as:"button","aria-label":r,buttonType:n,className:y()(s),onClick:()=>t()},(0,x.vj)(o)),r.toLocaleUpperCase()):l.createElement(w.a,h()({as:"a","aria-label":r,buttonType:n,className:y()(s),href:a,target:"_blank"},(0,x.vj)(o)),r.toLocaleUpperCase())},Ti=e=>{let{actionOverride:t,buttonLabel:n,storeLink:r,telemetryProps:a}=e;return t?l.createElement(Rr,{icon:Si,onClick:()=>t(),telemetryProps:a},n):l.createElement(Dr,{href:r,icon:Si,target:"_blank",telemetryProps:a},n)};const wi=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M384 640V384h256v256H384zM128 896V128h768v768H128zm128-640v512h512V256H256zm128 1408v-256h256v256H384zm-256 256v-768h768v768H128zm128-640v512h512v-512H256zm1408-896v256h-256V384h256zm-512-256h768v768h-768V128zm640 640V256h-512v512h512zm-640 768h128v128h-128v-128zm256-256h-128v128h-128v-256h256v128zm256-128v128h-128v-128h128zm-128 128v256h-256v-128h128v-128h128zm-256 384h256v128h-128v128h-256v-128h128v-128zm256 256v-128h256v128h-256zm384-128h-128v-256h128v256zm-128-512v-128h128v256h-128v128h-128v-256h128zm-256 384v-128h128v128h-128z"}))},Ii=e=>{const t=(0,s.FE)("redeemACodeButtonLabel"),n=(0,x.zM)(),r=(0,c.d4)(nn.ct),a=(0,i.wwE)(),o=(0,x.nO)({behavior:x.nS.SHOW,contentName:t,id:"RedeemCodeModalButton",slotNumber:e.slotNumber},n),u={buttonId:"RedeemCodeModalButton",buttonType:e.buttonType,redeemCodeLabel:t,slotNumber:e.slotNumber,telemetryProps:o,onClick:()=>{if(r)e.actionOverride?e.actionOverride():document.dispatchEvent(new CustomEvent("launchContextualStore",{detail:{experience:D.Redeem}}));else{const e=new URL(window.location.toString()),t=a(e.toString());window.location.assign(t)}}};let d;switch(e.experienceButtonType){case En.nl.Desktop:d=l.createElement(ki,h()({},u));break;case En.nl.CondensedDesktop:d=l.createElement(xi,h()({},u));break;case En.nl.Mobile:case En.nl.CondensedMobile:d=l.createElement(Ai,h()(h()({},u),{},{className:Fr(!1,e.experienceButtonType)}));break;case En.nl.MobileStickyHeader:d=l.createElement(Ai,h()(h()({},u),{},{className:dr}));break;case En.nl.Overflow:d=l.createElement(Ni,h()({},u))}return d?l.createElement(l.Fragment,null,d):null},ki=e=>{const{buttonType:t=se.VQ.Primary,redeemCodeLabel:n,telemetryProps:r,onClick:a}=e;return l.createElement(Ce.m,h()(h()({as:"button","aria-label":n,buttonType:t,className:y()([cr,lr]),icon:wi,title:n},(0,x.vj)(r)),{},{onClick:a}))},xi=e=>{const{buttonType:t=se.VQ.Primary,redeemCodeLabel:n,telemetryProps:r,onClick:a}=e;return l.createElement(w.a,h()(h()({as:"button","aria-label":n,buttonType:t,className:y()([nr,lr,E.TF])},(0,x.vj)(r)),{},{onClick:a}),n.toLocaleUpperCase())},Ai=e=>{const{buttonType:t=se.VQ.Primary,redeemCodeLabel:n,telemetryProps:r,onClick:a,className:o}=e;return l.createElement(w.a,h()(h()({as:"button","aria-label":n,buttonType:t,className:o},(0,x.vj)(r)),{},{onClick:a}),n.toLocaleUpperCase())},Ni=e=>l.createElement(Rr,{icon:wi,onClick:e.onClick,telemetryProps:e.telemetryProps},e.redeemCodeLabel),Li="https://redeem.microsoft.com",Mi="_blank",Oi=e=>{const t=(0,s.FE)("redeemACodeButtonLabel"),n=(0,x.zM)(),r=(0,x.nO)({behavior:x.nS.NAVIGATIONFORWARD,contentName:t,id:"RedeemCodeHrefButton",slotNumber:e.slotNumber},n),a={buttonId:"RedeemCodeHrefButton",buttonType:e.buttonType,redeemCodeLabel:t,slotNumber:e.slotNumber,telemetryProps:r};switch(e.experienceButtonType){case En.nl.Desktop:return l.createElement(Ri,h()({},a));case En.nl.CondensedDesktop:return l.createElement(Di,h()({},a));case En.nl.Mobile:case En.nl.CondensedMobile:return l.createElement(Bi,h()(h()({},a),{},{className:Fr(!1,e.experienceButtonType)}));case En.nl.MobileStickyHeader:return l.createElement(Bi,h()(h()({},a),{},{className:dr}));case En.nl.Overflow:return l.createElement(Fi,h()({},a));default:return null}},Ri=e=>{const{buttonType:t=se.VQ.Primary,redeemCodeLabel:n,telemetryProps:r}=e;return l.createElement(Ce.m,h()({as:"a","aria-label":n,buttonType:t,className:y()([cr,lr]),href:Li,icon:wi,target:Mi,title:n},(0,x.vj)(r)))},Di=e=>{const{buttonType:t=se.VQ.Primary,redeemCodeLabel:n,telemetryProps:r}=e;return l.createElement(w.a,h()({as:"a","aria-label":n,buttonType:t,className:y()([nr,lr,E.TF]),href:Li,target:Mi},(0,x.vj)(r)),n.toLocaleUpperCase())},Bi=e=>{const{buttonType:t=se.VQ.Primary,redeemCodeLabel:n,telemetryProps:r,className:a}=e;return l.createElement(w.a,h()({as:"a","aria-label":n,buttonType:t,className:a,href:Li,target:Mi},(0,x.vj)(r)),n.toLocaleUpperCase())},Fi=e=>l.createElement(Dr,{href:Li,icon:wi,target:Mi,telemetryProps:e.telemetryProps},e.redeemCodeLabel);const Ui=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M0 384h2048v128H0V384zm0 1152v-128h2048v128H0zm0-512V897h2048v127H0z"}))};const Hi=["onComplete","showModal","title"],Vi=e=>{const{actionOverride:t,buttonType:n=se.VQ.Primary,telemetryProps:r,title:a}=e;return t?l.createElement(w.a,h()({as:"button","aria-label":a,buttonType:n,className:y()([nr,lr,E.TF]),onClick:()=>t()},(0,x.vj)(r)),a.toLocaleUpperCase()):l.createElement(oo,h()(h()({},e),{},{buttonAccessibilityLabel:a,preferSkuValues:!0,telemetryProps:r,title:a.toLocaleUpperCase()}))},Gi=e=>{const{actionOverride:t,buttonType:n=se.VQ.Primary,listItemAccessibilityFormat:r,productIdentifiers:a,telemetryProps:o,title:i,subTitle:s,className:c}=e,[u,d]=(0,l.useState)(!1),m=(0,l.useRef)(null),p=(0,l.useRef)(null),f=(0,A._E)(u,(()=>d(!1)),m,p);return l.createElement(l.Fragment,null,l.createElement(w.a,h()({as:"button","aria-label":i,buttonType:n,className:c,onClick:t?()=>t():()=>d(!0),ref:m},(0,x.vj)(o)),i.toLocaleUpperCase(),!!s&&l.createElement("div",null,s)),l.createElement(zi,{listItemAccessibilityFormat:r,contentRef:p,onComplete:f,productIdentifiers:a,showModal:u,telemetryProps:o,title:i}))},qi=e=>{const{actionOverride:t,listItemAccessibilityFormat:n,productIdentifiers:r,telemetryProps:a,title:o}=e,[i,s]=(0,l.useState)(!1);return l.createElement(l.Fragment,null,l.createElement(Rr,{"aria-label":o,onClick:t?()=>t():()=>s(!0),icon:Ui,telemetryProps:a},o),l.createElement(wr,null,(e=>l.createElement(zi,{listItemAccessibilityFormat:n,onComplete:()=>{e.closeDialog(),s(!1)},productIdentifiers:r,showModal:i,telemetryProps:a,title:o}))))},zi=e=>{const{onComplete:t,showModal:n,title:r}=e,a=C()(e,Hi);return l.createElement(l.Fragment,null,n&&l.createElement(u.aF,{className:"SkuSelectorButton-module__modal___oaP9J",closeable:!0,onHide:t,show:n},l.createElement("h6",{className:E.cb},r),l.createElement(ro,h()(h()({},a),{},{preferSkuValues:!0}))))};const Xi=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M1887 1856q0 40-15 75t-41 61-61 41-75 15H354q-40 0-75-15t-61-41-41-61-15-75q0-27 6-51t21-47l569-991v-1q10-14 10-34V128H640V0h768v128h-128v604q0 20 10 34v1l569 991q14 23 21 47t7 51zM538 1408h972l-331-577q-27-46-27-99V128H896v604q0 53-27 99l-331 577z"}))},ji=["buttonRef","onClick"],Wi=["title","subtitle","accessibilityLabel","affirmationProductGlyph","telemetryProps","isUbisoftPlusAffirmation","buttonType","buttonRef","onClick"],$i=e=>{const t=Ji(e),n=(e=>{let{actionArguments:t}=e;const n=(0,l.useRef)(null),r=(0,l.useRef)(null),[a,o]=(0,l.useState)(!1),{[Ct.PZ.ProductId]:s,[Ct.PZ.SkuId]:u,[Ct.PZ.AvailabilityId]:d}=t,m=(0,c.d4)(nn.ct),p=(0,i.wwE)(),h=(0,i.AzV)(),v=(0,A._E)(a,(e=>{(null===e||void 0===e?void 0:e.status)===O.Purchased?window.location.reload():o(!1)}),n,r);return{productId:s,skuId:u,availabilityId:d,showModal:a,buttonRef:n,contentRef:r,onClick:()=>{if(m)o(!0);else{const e=(0,i.XBe)(s)===f.hd?h(window.location.href):p(window.location.href);window.location.assign(e)}},onResult:v}})(e),{buttonRef:r,onClick:a}=n,o=C()(n,ji);if(!t)return null;const s=e.actionOverride?()=>e.actionOverride(e.actionArguments):a,{buttonType:u,experienceButtonType:d}=e;let m;switch(d){case En.nl.Desktop:case En.nl.Mobile:m=Ki;break;case En.nl.CondensedDesktop:m=Qi;break;case En.nl.CondensedMobile:case En.nl.MobileStickyHeader:m=Yi;break;case En.nl.Overflow:m=Zi;break;default:return null}return l.createElement(l.Fragment,null,l.createElement(m,h()(h()({},t),{},{buttonType:u,buttonRef:r,onClick:s})),l.createElement(ra,h()({hasAddOns:t.hasAddOns,experience:D.Purchase},o)))},Ji=e=>{let{actionArguments:t,slotNumber:n,experienceButtonType:r}=e;var a;const o=(0,x.jr)(),l=(0,x.zM)(),{[Ct.PZ.ProductId]:u,[Ct.PZ.AffirmationProductId]:d}=t,[m,p,v,g,_]=(0,s.cG)("getActionText","getActionAccessibilityText","freeTrial","freeTrialUpsellFormat","commaSeparatorTemplate"),y=(0,c.d4)((e=>(0,yt.t7)(e,u)));if(!y||!y.product)return o.warn(`Trial upsell button requested without valid values:\nbaseProductId: ${u}\nhasProductSummaryInfo: ${!!y}\nhasProduct: ${!!(null===y||void 0===y?void 0:y.product)}`),null;const b=d===f.Es;let E,S,C,P;d?(E=(0,f.M3)(d),S=(0,f.wT)(d,!0),C=(0,i.GPZ)(g,r===En.nl.Desktop&&E||r===En.nl.Desktop&&b?"":S),P=(0,i.GPZ)(_,(0,i.GPZ)(p,y.product.title),(0,i.GPZ)(g,S))):(E=void 0,S="",C=v,P=(0,i.GPZ)(_,(0,i.GPZ)(p,y.product.title),C));const T=r!==En.nl.Desktop&&r!==En.nl.Mobile?C:m,w=(0,x.nO)({behavior:x.nS.PURCHASE,contentName:T,id:"TrialGetButton",slotNumber:n},l),I=Ur(!0,r,r===En.nl.MobileStickyHeader?dr:void 0);return h()(h()({},I),{},{accessibilityLabel:P,affirmationProductGlyph:E,hasAddOns:null===(a=y.product)||void 0===a?void 0:a.hasAddOns,subtitle:C,isUbisoftPlusAffirmation:b,telemetryProps:w,title:T})},Ki=e=>{let{title:t,subtitle:n,accessibilityLabel:r,affirmationProductGlyph:a,telemetryProps:o,isUbisoftPlusAffirmation:i,buttonType:s=se.VQ.Primary,buttonRef:c,onClick:u}=e,d=C()(e,Wi);return l.createElement(_r,h()({buttonRef:c,accessibilityLabel:r,buttonType:s,onClick:u,productGlyph:a,usesUbisoftSVG:i,subtitle:n,title:t.toLocaleUpperCase(),telemetryProps:o},d))},Qi=e=>{let{title:t,accessibilityLabel:n,telemetryProps:r,buttonType:a=se.VQ.Primary,buttonRef:o,onClick:i}=e;return l.createElement(w.a,h()({as:"button","aria-label":n,className:y()(nr,E.TF),ref:o,buttonType:a,onClick:i},(0,x.vj)(r)),t.toLocaleUpperCase())},Yi=e=>{let{title:t,accessibilityLabel:n,telemetryProps:r,buttonType:a=se.VQ.Primary,buttonRef:o,overrideClassName:i,onClick:s}=e;const c=t.toLocaleUpperCase();return l.createElement(w.a,h()({as:"button",ref:o,"aria-label":n,buttonType:a,className:i,onClick:s},(0,x.vj)(r)),c)},Zi=e=>{let{title:t,accessibilityLabel:n,telemetryProps:r,onClick:a}=e;return l.createElement(Rr,{"aria-label":n,onClick:a,icon:Xi,telemetryProps:r},t)},es=e=>{const t=ts(e);if(!t)return null;const{buttonType:n,experienceButtonType:r}=e;let a;switch(r){case En.nl.Desktop:case En.nl.Mobile:case En.nl.CondensedMobile:a=r===En.nl.CondensedMobile?as:ns;break;case En.nl.CondensedDesktop:a=rs;break;case En.nl.MobileStickyHeader:a=as;break;case En.nl.Overflow:a=os;break;default:return null}return l.createElement(a,h()(h()({},t),{},{buttonType:n}))},ts=e=>{let{actionArguments:t,upsellProductId:n,slotNumber:r,experienceButtonType:a}=e;const o=(0,x.jr)(),l=(0,x.zM)(),{[Ct.PZ.ProductId]:u}=t,[d,m,p]=(0,s.cG)("upsellGetFormat","freeTrialUpsellFormat","inclusionUpsellButtonAccessibilityLabelFormat"),v=(0,c.d4)((e=>(0,yt.t7)(e,u))),g=(0,f.wT)(n,!0),_=(0,Ct.zo)(n,u),y=(0,i.XBe)(n)===f.Es;if(!n||!g||!v||!v.product)return o.warn(`Trial upsell button requested without valid values:\nupsellProductId: ${n}\nupsellProductTitle: ${g}\nbaseProductId: ${u}\nhasProductSummaryInfo: ${!!v}\nhasProduct: ${!!(null===v||void 0===v?void 0:v.product)}`),null;const b=(0,f.M3)(n),E=(0,i.GPZ)(m,a===En.nl.Desktop&&(b||y)?"":g),S=a===En.nl.Overflow?E:(0,i.GPZ)(d,g),C=(0,i.GPZ)(p,g,v.product.title),P=(0,x.nO)({behavior:x.nS.NAVIGATIONFORWARD,contentName:S,id:"TrialUpsellButton",slotNumber:r},l),T=Ur(!0,a,a===En.nl.MobileStickyHeader?dr:void 0);return h()(h()({},T),{},{title:S,subtitle:E,accessibilityLabel:C,isUbisoftPlusUpsell:y,upsellProductGlyph:b,upsellProductLink:_,telemetryProps:P})},ns=e=>{let{title:t,subtitle:n,accessibilityLabel:r,isUbisoftPlusUpsell:a,upsellProductGlyph:o,upsellProductLink:i,telemetryProps:s,buttonType:c=se.VQ.Primary,overrideClassName:u,overrideContainerClassName:d}=e;return l.createElement(yr,{accessibilityLabel:r,buttonType:c,href:i,productGlyph:o,usesUbisoftSVG:a,subtitle:n,title:t.toLocaleUpperCase(),telemetryProps:s,overrideClassName:u,overrideContainerClassName:d})},rs=e=>{let{accessibilityLabel:t,buttonType:n=se.VQ.Primary,telemetryProps:r,title:a,upsellProductLink:o}=e;return l.createElement(w.a,h()({as:"a","aria-label":t,buttonType:n,className:y()(nr,E.TF),href:o},(0,x.vj)(r)),a.toLocaleUpperCase())},as=e=>{let{title:t,accessibilityLabel:n,upsellProductLink:r,telemetryProps:a,buttonType:o=se.VQ.Primary,overrideClassName:i}=e;const s=t.toLocaleUpperCase();return l.createElement(w.a,h()({as:"a","aria-label":n,buttonType:o,className:i,href:r},(0,x.vj)(a)),s)},os=e=>{let{title:t,accessibilityLabel:n,upsellProductLink:r,telemetryProps:a}=e;return l.createElement(Dr,{"aria-label":n,href:r,icon:Xi,telemetryProps:a},t)},is=["actionArguments"];n(72101),n(45159),n(40257),n(65063),n(84496),n(4121),n(88275),n(78660),n(90435),n(11138),n(75438),n(2758),n(22400),n(61670),n(85715),n(39351);var ss=n(38485),ls=n(99971),cs=n(87373),us=n(2013),ds="SubscriptionMiniCard-module__gamePassImage___DFIn5";const ms=e=>{const{iconSrc:t,icon:n,title:r,isOwned:a,className:o,iconClassName:c,productId:u,slotNumber:d}=e,[m,p,v]=(0,s.cG)("iconAltText","myPlanText","subscriptionMiniCardAriaLabel"),_=(0,cs.zo)(u),b=(0,i.GPZ)(v,r||""),S=[f.j4,f.n8,f.n_],C=!!r&&S.includes(r),P={areaName:"IncludedInTheseSubscriptionsCard",behavior:x.nS.VIEWPDP,contentType:x.cM.Button,id:"IncludedInTheseSubscriptionsCardViewDetailsAction",productId:u,productName:r,slotNumber:d,contentName:"IncludedInTheseSubscriptionCard"};return l.createElement(se.SC,h()({"aria-label":b,as:"a",className:y()("SubscriptionMiniCard-module__cardContainer___ByXpg",o),href:_},(0,x.vj)(h()({},P))),l.createElement("div",{className:"SubscriptionMiniCard-module__cardLeftContent___QuQT6"},l.createElement("div",{className:y()("SubscriptionMiniCard-module__cardIcon___5Buqp",{"SubscriptionMiniCard-module__thirdPartyIcon___YcNfP":C})},t?l.createElement("img",{src:t,alt:(0,i.GPZ)(m,r||""),className:c}):void 0!==n?l.createElement(g.In,{iconSize:g.lK.Custom,icon:n,title:r,className:c}):null),!C&&l.createElement("div",{className:"SubscriptionMiniCard-module__cardTitle___rFcyX"},l.createElement("span",{className:E.Me},r))),l.createElement("div",{className:"SubscriptionMiniCard-module__cardRightContent___REqV2"},a&&l.createElement("div",{className:y()("SubscriptionMiniCard-module__myPlanCapsule___a2ei-",E.Me)},p)))},ps=e=>{const[t]=(0,s.cG)("pcGamePassCardTitle"),n=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableMaunaLoa)));switch((0,i.XBe)(e.productId)){case f.CZ:return l.createElement(ms,h()({title:f.d2,className:"SubscriptionMiniCard-module__ultimate___hU0od",iconSrc:us,iconClassName:ds},e));case f.hd:return l.createElement(ms,h()({title:t,iconSrc:us,className:"SubscriptionMiniCard-module__pcgp___DDa2s",iconClassName:ds},e));case f.Tw:return n?l.createElement(ms,h()({title:f.Zw,iconSrc:us,className:"SubscriptionMiniCard-module__core___Q40tG",iconClassName:ds},e)):null;case f.BO:return l.createElement(ms,h()({title:f.TW,iconSrc:us,className:"SubscriptionMiniCard-module__standard___-w0mf",iconClassName:ds},e));case f.KJ:return l.createElement(ms,h()({title:f.j4,icon:v.A,className:"SubscriptionMiniCard-module__eaPlay___Fwek9",iconClassName:"SubscriptionMiniCard-module__eaPlayBadge___4tf3I"},e));case f.Es:return l.createElement(ms,h()({title:f.n8,icon:f.ci,className:"SubscriptionMiniCard-module__ubisoftPlus___0h0sr",iconClassName:"SubscriptionMiniCard-module__ubisoftPlusBadge___y0qvK"},e));case f.mr:return l.createElement(ms,h()({title:f.n_,icon:f.c6,className:"SubscriptionMiniCard-module__gtaPlus___qnFPV",iconClassName:"SubscriptionMiniCard-module__gtaPlusBadge___B2yKb"},e));default:return null}},hs=e=>{const t=(0,l.useMemo)((()=>Yn(e)),[e]),n=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableJanus))),r=(0,c.d4)((e=>(0,yt.dH)(e,f.Ix))),a=(0,Le.getDataOrPrevious)(r)||null,o=(null===a||void 0===a?void 0:a.productId)||"";return(0,l.useMemo)((()=>n?((e,t)=>{const n=[];t&&e.includes(t)&&n.push(t);for(const r of Jn)!e.includes(r)||t&&r===t||n.push(r);for(const r of Kn)!e.includes(r)||t&&r===t||n.push(r);return n})([...t],o):t),[n,t,o]).map(((e,t)=>n?l.createElement(ps,{key:`subscriptionMiniCard-${e}`,productId:e,slotNumber:t,isOwned:e===o}):l.createElement(Ft,{key:`subscriptionEditionCard-${e}`,productId:e,slotNumber:t})))},fs=e=>{const{channelId:t,title:n,items:r}=e;return l.createElement(u.IL,{key:t},l.createElement(u.L_,null,l.createElement(u.XY,{xs:12},l.createElement(u.XY,null,l.createElement("h2",{className:y()(we.PJ,E.me)},n)),l.createElement(Ne,{items:r,title:n}))))},vs=e=>{let{productId:t,channelId:n}=e;var r;const a=(null===(r=(0,c.d4)((e=>(0,vn.Pb)(e,n))))||void 0===r?void 0:r.products.map((e=>e.productId)))||[],o=Yn(a),d=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableJanus))),m=(0,c.d4)((e=>(0,yt.g4)(e,t))),{allPassesAreComingSoon:p,availablePassProductIds:h}=(0,l.useMemo)((()=>{const e=null===m||void 0===m?void 0:m.passMetadataByPassProductId;if(!e||!o.length)return{allPassesAreComingSoon:!1,availablePassProductIds:o};const t=(new Date).toISOString(),n=[],r=[];o.forEach((a=>{const o=e[a];(null===o||void 0===o?void 0:o.entryDateUTC)&&o.entryDateUTC>t?n.push(a):r.push(a)}));const a=o.length>0&&n.length===o.length;return{allPassesAreComingSoon:a,availablePassProductIds:a?n:r}}),[null===m||void 0===m?void 0:m.passMetadataByPassProductId,o]),f=(0,s.JX)(p?"comingSoonToTheseSubscriptions":"includedInTheseSubscriptions"),v=hs(h);return(null===h||void 0===h?void 0:h.length)?d?l.createElement(fs,{channelId:n,title:f,items:v}):l.createElement(u.IL,null,l.createElement(He,{items:v,title:f})):null};const gs=e=>{let{contentRef:t,passProducts:n,show:r=!1,onHide:a}=e;if(!(null===n||void 0===n?void 0:n.length))return null;const o=n.some((e=>e.isComingSoon));return l.createElement(u.aF,{show:r,onHide:a,closeable:!0,className:"IncludedInSubscriptions-module__modalContainer___1fcM6"},l.createElement(u.aF.Header,null,l.createElement(_s,{isComingSoon:o})),l.createElement(u.aF.Body,null,l.createElement(qa.WY,null,l.createElement(ys,{passProducts:n,contentRef:t}))))},_s=e=>{let{isComingSoon:t}=e;const n=(0,s.JX)(t?"comingSoonToTheseSubscriptions":"includedInTheseSubscriptions");return l.createElement("h2",{className:y()(E.me,"IncludedInSubscriptions-module__modalHeaderText___YccIQ")},n)},ys=e=>{let{passProducts:t,contentRef:n}=e;const r=t.map((e=>e.passProductId)),a=hs(r);return l.createElement("ul",{className:"IncludedInSubscriptions-module__channelWrapper___7zrNb",ref:n},a.map(((e,t)=>l.createElement("li",{key:t},e))))};const bs=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M590 7l1017 1017L590 2041l-241-242 775-775-775-775L590 7z"}))};var Es="SubscriptionCardV2-module__inclusions___9w7kF";const Ss=e=>{const{children:t,style:n}=e;return l.createElement("div",{className:y()("SubscriptionCardV2-module__container___8n+fH",n)},t)},Cs=e=>{const{children:t,style:n}=e;return l.createElement("div",{className:y()("SubscriptionCardV2-module__body___mNE7s",n)},t)},Ps=e=>{let{id:t,productName:n}=e;const[r,a]=(0,s.cG)("joinNowButtonText","joinNowButtonAccessibilityLabelFormat"),o=(0,Ct.zo)(t),c=(0,i.GPZ)(a,n),u={areaName:"SubscriptionCard",behavior:x.nS.NAVIGATIONFORWARD,contentType:x.cM.Link,id:"joinNowAction",productName:n};return l.createElement(se.SC,h()({"aria-label":c,as:"a",className:"SubscriptionCardV2-module__actionButton___7vgrg",href:o},(0,x.vj)(h()(h()({},u),{},{contentName:r}))),l.createElement("span",null,r))},Ts=e=>{let{gameCatalogSize:t,platformsPlayableOnSubtitle:n}=e;const[r]=(0,s.cG)("gamesText");return l.createElement("div",{className:"SubscriptionCardV2-module__gameCatalog___1IVlf"},t?l.createElement("div",{className:y()(E.me,"SubscriptionCardV2-module__gameCatalogHeader___qwEee")},l.createElement("span",null,t,"+ "),l.createElement("span",null,r)):null,n&&l.createElement("span",{className:y()(E.TM,"SubscriptionCardV2-module__gameCatalogSubtext___ik2HX")},n))},ws=e=>{let{gameName:t}=e;const[n]=(0,s.cG)("gameNotIncludedTemplate"),r=(0,i.GPZ)(n,t);return l.createElement("span",{title:r,className:y()(Es,E.SM)},r)};const Is=e=>{let{className:t}=e;const[n]=(0,s.cG)("gamepass");return l.createElement("svg",{className:y()("XboxGamePassHorizontalLogo-module__svg___7BTkd",t),xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 130 16","aria-label":n,role:"img"},l.createElement("path",{d:"M7.99082 6.41618C7.9997 6.41618 8.0108 6.42373 8.01701 6.42907C10.4067 8.24912 14.4985 12.7506 13.251 14.0222C11.8455 15.2538 10.0054 16 7.99082 16C5.97625 16 4.13614 15.2538 2.73064 14.0222C1.48274 12.7506 5.57448 8.24867 7.96418 6.42907C7.9704 6.42373 7.9815 6.41618 7.99082 6.41618ZM12.1536 1.1707C10.9297 0.442679 9.60363 0 7.99082 0C6.37801 0 5.05197 0.442679 3.82805 1.1707C3.81384 1.1787 3.80807 1.19559 3.81473 1.21026C3.82139 1.22492 3.83737 1.22759 3.85335 1.22403C5.40046 0.889358 7.7511 2.22717 7.97395 2.3614C7.97883 2.36451 7.98416 2.36762 7.99082 2.36762C7.99748 2.36762 8.00281 2.36451 8.00769 2.3614C8.23055 2.22717 10.5807 0.889358 12.1283 1.22403C12.1443 1.22759 12.1603 1.22492 12.1669 1.21026C12.174 1.19559 12.1678 1.1787 12.1536 1.1707ZM2.39725 2.29562C2.38393 2.30229 2.37239 2.31206 2.36173 2.32273C0.903851 3.77166 0 5.78016 0 8.00022C0 9.82294 0.609078 11.5017 1.63412 12.847C1.64389 12.8599 1.66253 12.8684 1.67674 12.8599C1.6905 12.8519 1.69139 12.8341 1.68606 12.8186C1.07699 10.9332 4.19118 6.36195 5.8 4.44546C5.80577 4.43879 5.81066 4.43123 5.81066 4.42235C5.81066 4.41079 5.80444 4.40234 5.7969 4.39568C3.35925 1.9685 2.53176 2.22628 2.39725 2.29562ZM10.1847 4.39568C10.1772 4.40234 10.171 4.41079 10.171 4.42235C10.171 4.43123 10.1763 4.43879 10.1816 4.44546C11.79 6.36195 14.9047 10.9332 14.2956 12.8186C14.2902 12.8341 14.2911 12.8519 14.3049 12.8599C14.3191 12.8684 14.3378 12.8599 14.3475 12.847C15.3726 11.5017 15.9816 9.82249 15.9816 8.00022C15.9816 5.78016 15.0778 3.7721 13.6199 2.32273C13.6093 2.31206 13.5977 2.30229 13.5844 2.29562C13.4499 2.22628 12.6224 1.9685 10.1852 4.39568H10.1847ZM27.8085 12.9284H26.1735L23.3589 9.05003L20.5444 12.9284H18.9094L22.5412 7.92333L19.1944 3.3112H20.8294L23.3589 6.79663L25.8885 3.3112H27.5235L24.1767 7.92333L27.8085 12.9284ZM36.2956 10.1936C36.2956 11.0376 36.0155 11.7119 35.4637 12.1972C34.9123 12.6821 34.1101 12.9279 33.0802 12.9279H28.5765V8.64557H26.4367L27.3268 7.41887H28.5765V3.3112H32.892C33.8593 3.3112 34.6118 3.54365 35.1276 4.00144C35.6439 4.46012 35.9059 5.07081 35.9059 5.81661C35.9059 6.74152 35.4872 7.44287 34.6606 7.90155C35.1938 8.10778 35.6027 8.41179 35.8761 8.80469C36.1545 9.2047 36.2956 9.67182 36.2956 10.1932V10.1936ZM30.0437 7.41887H32.7979C33.3524 7.41887 33.7732 7.29442 34.0498 7.04864C34.3255 6.8033 34.4653 6.42996 34.4653 5.93794C34.4653 5.51349 34.3201 5.17703 34.0333 4.9388C33.7457 4.69969 33.3302 4.57835 32.7983 4.57835H30.0442V7.41887H30.0437ZM34.8151 10.1669C34.8151 9.66205 34.6628 9.27804 34.3627 9.02647C34.0618 8.77402 33.6032 8.64602 32.9999 8.64602H30.0442V11.6612H32.9999C33.5854 11.6612 34.0396 11.531 34.3494 11.2741C34.6584 11.0176 34.8151 10.6452 34.8151 10.1669ZM46.163 8.11978C46.163 8.86291 46.0551 9.5456 45.8429 10.1478C45.6302 10.7505 45.3066 11.2901 44.8818 11.7519C44.452 12.2137 43.9477 12.5648 43.3835 12.7959C42.8197 13.0266 42.1795 13.1439 41.4817 13.1439C40.7838 13.1439 40.1303 13.027 39.5661 12.7959C39.0019 12.5652 38.5024 12.2137 38.0816 11.7523C37.6519 11.295 37.3251 10.7576 37.1103 10.1549C36.8954 9.55227 36.7866 8.8678 36.7866 8.12022C36.7866 7.37265 36.8954 6.69352 37.1103 6.08861C37.3251 5.48371 37.6519 4.94058 38.0816 4.47435C38.5024 4.017 39.0019 3.66944 39.5661 3.44054C40.1299 3.21209 40.7745 3.09609 41.4817 3.09609C42.1889 3.09609 42.8197 3.21209 43.3835 3.44054C43.9477 3.66899 44.4516 4.017 44.8818 4.47435C45.3071 4.94058 45.6307 5.48371 45.8433 6.08861C46.056 6.69352 46.1634 7.37665 46.1634 8.12022L46.163 8.11978ZM38.3071 8.11978C38.3071 9.25092 38.6001 10.1589 39.1781 10.8172C39.7468 11.4843 40.5215 11.8226 41.4812 11.8226C42.441 11.8226 43.2157 11.4843 43.7844 10.8176C44.3535 10.1678 44.6416 9.26026 44.6416 8.11978C44.6416 6.9793 44.3531 6.06728 43.7844 5.40859C43.2073 4.7508 42.4321 4.41701 41.4812 4.41701C40.5303 4.41701 39.7557 4.7508 39.1781 5.40859C38.6001 6.08506 38.3071 6.99708 38.3071 8.11978ZM50.7968 7.92333L54.1436 3.3112H52.5086L49.979 6.79663L47.4495 3.3112H45.8145L49.1613 7.92333L45.5295 12.9284H47.1645L49.979 9.05003L52.7936 12.9284H54.4286L50.7968 7.92333ZM71.4508 3.31165H69.7909L66.0406 12.9284H67.5642L68.4924 10.4367H72.7498L73.678 12.9284H75.2016L71.4512 3.31165H71.4508ZM68.9603 9.15625L70.6211 4.75347L72.2819 9.15625H68.9603ZM65.2726 7.86333V12.9279H63.8924V11.6692C63.5372 12.1541 63.0986 12.5239 62.5881 12.7684C62.0687 13.0173 61.4601 13.1435 60.7795 13.1435C60.099 13.1435 59.4628 13.0266 58.9145 12.7955C58.3658 12.5643 57.8811 12.2132 57.4735 11.7514C57.0571 11.2945 56.7406 10.7572 56.5324 10.1541C56.3242 9.55182 56.219 8.86691 56.219 8.11934C56.219 7.37176 56.3255 6.67219 56.5359 6.06772C56.7464 5.46282 57.0664 4.92636 57.4873 4.47346C57.9037 4.01611 58.3987 3.66855 58.9585 3.43965C59.5178 3.2112 60.158 3.0952 60.8603 3.0952C62.0327 3.0952 63.0178 3.40454 63.7881 4.01389C64.5499 4.63302 65.0129 5.46504 65.1651 6.48729L65.1674 6.50329H63.6598L63.6575 6.49218C63.5244 5.85216 63.2025 5.33837 62.7013 4.96547C62.1997 4.59213 61.5848 4.40279 60.8736 4.40279C59.9227 4.40279 59.1574 4.74102 58.5976 5.40771C58.0284 6.06639 57.7399 6.97886 57.7399 8.11889C57.7399 9.25892 58.0284 10.1714 58.5971 10.8301C59.1747 11.4972 59.9494 11.8354 60.9003 11.8354C61.7269 11.8354 62.4341 11.5737 63.0027 11.0581C63.5674 10.5545 63.8689 9.90116 63.899 9.11625H61.0747V7.86244H65.2726V7.86333ZM88.7651 4.63257V7.41887H93.5365V8.64557H88.7651V11.607H94.1589V12.9279H87.2975V3.31165H94.1589V4.63257H88.7651ZM85.8303 3.31165V12.9284H84.4168V5.29704C84.2352 5.83261 83.9915 6.49662 83.691 7.27665L81.5219 12.9284H80.2922L80.2887 12.9195L78.0961 7.27665C77.835 6.58018 77.5962 5.92505 77.3835 5.32459V12.9284H75.9701V3.31165H77.9846L79.9522 8.42468C80.3468 9.46026 80.6727 10.3576 80.9208 11.0923C81.212 10.219 81.5423 9.27626 81.9032 8.29001L83.8033 3.3112H85.8312L85.8303 3.31165ZM104.343 4.12989C103.769 3.58677 102.952 3.3112 101.912 3.3112H97.8223V12.9279H99.2899V9.38604H101.912C102.952 9.38604 103.769 9.11047 104.343 8.56735C104.917 8.02378 105.208 7.27976 105.208 6.35529C105.208 5.43082 104.917 4.67302 104.343 4.12989ZM99.2899 4.60546H101.886C102.48 4.60546 102.938 4.75835 103.248 5.05925C103.557 5.36015 103.714 5.79661 103.714 6.35529C103.714 6.91397 103.557 7.3482 103.248 7.64466C102.938 7.94155 102.48 8.09178 101.885 8.09178H99.2895V4.60502L99.2899 4.60546ZM121.456 10.2612C121.456 11.1505 121.121 11.8612 120.462 12.3732C119.803 12.8844 118.879 13.1439 117.715 13.1439C116.454 13.1439 115.457 12.8528 114.754 12.279C114.05 11.7043 113.689 10.8532 113.679 9.75005V9.73583H115.146V9.7496C115.16 10.4603 115.384 11.0003 115.814 11.355C116.244 11.7101 116.893 11.8906 117.742 11.8906C118.444 11.8906 118.991 11.7532 119.368 11.4825C119.744 11.2128 119.934 10.8159 119.934 10.3021C119.934 9.88694 119.778 9.56204 119.469 9.33715C119.159 9.11048 118.59 8.90514 117.78 8.72691L116.959 8.55179C115.975 8.3549 115.222 8.02733 114.72 7.57888C114.217 7.12909 113.962 6.50063 113.962 5.70994C113.962 4.91925 114.272 4.27879 114.883 3.80677C115.492 3.33565 116.328 3.09697 117.367 3.09697C118.62 3.09697 119.575 3.36987 120.207 3.90855C120.84 4.44723 121.17 5.19881 121.187 6.14106V6.15528H119.734L119.734 6.14239C119.689 5.52993 119.485 5.07347 119.127 4.78547C118.768 4.49701 118.18 4.35079 117.38 4.35079C116.758 4.35079 116.277 4.46768 115.949 4.69835C115.623 4.92814 115.457 5.25926 115.457 5.68327C115.457 6.10728 115.605 6.44818 115.895 6.66863C116.188 6.90864 116.739 7.1162 117.531 7.28554L118.364 7.46065C119.456 7.69355 120.253 8.03445 120.732 8.47401C121.212 8.91447 121.456 9.51626 121.456 10.2621L121.456 10.2612ZM130 10.2612C130 11.1505 129.665 11.8612 129.006 12.3732C128.347 12.8844 127.423 13.1439 126.259 13.1439C124.998 13.1439 124.001 12.8528 123.298 12.279C122.594 11.7043 122.232 10.8532 122.223 9.75005V9.73583H123.69V9.7496C123.704 10.4603 123.928 11.0003 124.358 11.355C124.788 11.7101 125.437 11.8906 126.286 11.8906C126.988 11.8906 127.535 11.7532 127.912 11.4825C128.288 11.2128 128.478 10.8159 128.478 10.3021C128.478 9.88694 128.322 9.56204 128.013 9.33715C127.703 9.11048 127.134 8.90514 126.324 8.72691L125.503 8.55179C124.519 8.3549 123.766 8.02733 123.264 7.57888C122.761 7.12909 122.506 6.50063 122.506 5.70994C122.506 4.91925 122.816 4.27879 123.427 3.80677C124.036 3.33565 124.872 3.09697 125.91 3.09697C127.164 3.09697 128.119 3.36987 128.751 3.90855C129.384 4.44723 129.714 5.19881 129.731 6.14106V6.15528H128.278L128.278 6.14239C128.233 5.52993 128.029 5.07347 127.671 4.78547C127.312 4.49701 126.724 4.35079 125.924 4.35079C125.302 4.35079 124.821 4.46768 124.493 4.69835C124.167 4.92814 124.001 5.25926 124.001 5.68327C124.001 6.10728 124.148 6.44818 124.439 6.66863C124.732 6.90864 125.283 7.1162 126.075 7.28554L126.908 7.46065C128 7.69355 128.796 8.03445 129.276 8.47401C129.756 8.91447 130 9.51626 130 10.2621L130 10.2612ZM109.596 3.31165H107.936L104.186 12.9284H105.71L106.638 10.4367H110.895L111.824 12.9284H113.347L109.597 3.31165H109.596ZM107.106 9.15625L108.767 4.75347L110.427 9.15625H107.106Z"}))};const ks=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M1024 0q141 0 272 36t244 104 207 160 161 207 103 245 37 272q0 141-36 272t-104 244-160 207-207 161-245 103-272 37q-141 0-272-36t-244-104-207-160-161-207-103-245-37-272q0-141 36-272t104-244 160-207 207-161T752 37t272-37zM832 1480l795-795-136-136-659 659-275-275-136 136 411 411z"}))};const xs=function(e){return l.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),l.createElement("path",{d:"M16 0c1.467 0 2.878.189 4.233.567a15.9 15.9 0 013.817 1.616 16.209 16.209 0 015.75 5.75 16.43 16.43 0 011.617 3.817c.389 1.367.583 2.783.583 4.25s-.189 2.878-.567 4.233a16.212 16.212 0 01-1.616 3.834c-.7 1.2-1.534 2.277-2.5 3.233a16.74 16.74 0 01-3.25 2.5c-1.2.711-2.473 1.25-3.817 1.617A17.06 17.06 0 0116 32a15.758 15.758 0 01-8.067-2.183A16.117 16.117 0 012.2 24.083 15.832 15.832 0 01.583 20.25 16.347 16.347 0 010 16c0-1.467.189-2.878.567-4.233a16.212 16.212 0 011.616-3.834c.7-1.2 1.534-2.277 2.5-3.233a16.74 16.74 0 013.25-2.5c1.2-.711 2.473-1.25 3.817-1.617A17.06 17.06 0 0116 0zm5.233 9.457l-.153.008a1.26 1.26 0 00-.778.371L16 14.138l-4.302-4.302a1.275 1.275 0 00-.93-.38c-.365 0-.68.129-.932.38-.251.252-.38.567-.38.931l.009.153c.03.3.156.563.371.778L14.138 16l-4.302 4.302c-.251.251-.38.566-.38.93 0 .365.129.68.38.932.252.251.567.38.931.38l.153-.009c.3-.03.563-.156.778-.371L16 17.862l4.302 4.302c.251.251.566.38.93.38.365 0 .68-.129.932-.38.251-.252.38-.567.38-.931l-.009-.153a1.26 1.26 0 00-.371-.778L17.862 16l4.302-4.302c.251-.251.38-.566.38-.93 0-.365-.129-.68-.38-.932a1.275 1.275 0 00-.931-.38z",fillRule:"evenodd"}))},As=e=>{let{productSrc:t,isAvailable:n}=e;const[r,a,o]=(0,s.cG)("gameThumbnailAltText","completedIconAltText","errorIconAltText");return l.createElement("div",{className:"SubscriptionCardV2-module__thumbnailContainer___uiM7w"},l.createElement("img",{src:t,alt:r,className:"SubscriptionCardV2-module__thumbnail___NA5-6"}),l.createElement(g.In,{icon:n?ks:xs,iconSize:g.lK.XXSmall,"aria-label":n?a:o,className:"SubscriptionCardV2-module__checkmark___op7sK"}))},Ns=e=>{const{productSrc:t,isAvailable:n,showGamePassBranding:r}=e;return l.createElement("div",{className:"SubscriptionCardV2-module__header___baLZW"},l.createElement("div",{className:"SubscriptionCardV2-module__titleContainer___r5LUE"},r&&l.createElement(Is,{className:"SubscriptionCardV2-module__gamePassImage___cqbfT"}),l.createElement("div",{className:y()(E.tY,"SubscriptionCardV2-module__title___YcPAL")},e.title&&l.createElement("span",null,e.title),e.titleNode)),l.createElement("div",null,l.createElement(As,{productSrc:t,isAvailable:n})))},Ls=e=>{let{inclusionsText:t}=e;return l.createElement("span",{className:y()(E.SM,Es),title:t},t)},Ms=()=>{const[e]=(0,s.cG)("myPlanText");return l.createElement("div",{className:"SubscriptionCardV2-module__myPlanBanner___qF-mK"},l.createElement("span",{className:y()(E.SM,"SubscriptionCardV2-module__myPlanText___VHeqi")},e," "))},Os=e=>{let{productSummaryInfo:t}=e;const[n]=(0,s.cG)("automaticallyContinuesAtTemplate"),r=(0,f.TZ)(t);if(!r)return null;const{originalPrice:a,lowestPrice:o}=r,c=(0,i.GPZ)(n,null!==a&&void 0!==a?a:o);return l.createElement(l.Fragment,null,l.createElement(f.Y9,{productInfo:t,originalAndCurrentPriceClassName:"SubscriptionCardV2-module__originalAndCurrentPriceContainer___QunjW",originalPriceClassName:y()(E.SM,"SubscriptionCardV2-module__originalPrice___W5qT6"),listedPriceClassName:y()(E.f9,"SubscriptionCardV2-module__listedPrice___IRoOm"),discountDetailClassName:y()(E.Q,"SubscriptionCardV2-module__discountDetail___fRrzL"),hideRecurringPrice:!0}),l.createElement("span",{className:y()(E.Q,"SubscriptionCardV2-module__recurringPrice___Cg4Xx")},c))},Rs=e=>{let{productId:t}=e;const n=(0,c.d4)((e=>(0,yt.Pm)(e,t)));return l.createElement("div",{className:"SubscriptionCardV2-module__priceContainer___24s5T"},(0,f.oX)(n)?l.createElement(Os,{productSummaryInfo:n}):null)},Ds=e=>{const{subscriptionProductId:t,isOwned:n,productImageSrc:r,inclusionsText:a,isProductIncludedInSubscription:o,productName:i,containerClassName:s,headerProps:c,actionButtonProductName:u,showGameCatalog:d=!1}=e,m="gameCatalogSize"in e?e.gameCatalogSize:void 0,p="platformsPlayableOnSubtitle"in e?e.platformsPlayableOnSubtitle:void 0;return l.createElement(Ss,{style:y()(s,n?"SubscriptionCardV2-module__myPlan___cCjNB":"")},n&&l.createElement(Ms,null),l.createElement(Cs,null,l.createElement(Ns,h()(h()({},c.title?{title:c.title}:{titleNode:c.titleNode}),{},{productSrc:r,isAvailable:o,showGamePassBranding:c.showGamePassBranding})),l.createElement(Rs,{productId:t}),d&&void 0!==m&&l.createElement(Ts,{gameCatalogSize:m,platformsPlayableOnSubtitle:p}),!n&&o&&l.createElement(l.Fragment,null,l.createElement(Ls,{inclusionsText:a}),l.createElement(Ps,{id:t,productName:u})),n&&!o&&l.createElement(ws,{gameName:i})))},Bs=e=>l.createElement(Ds,h()(h()({},e),{},{containerClassName:"SubscriptionCardV2-module__core___aE2oL",headerProps:{title:f.Zw,showGamePassBranding:e.showGamePassBranding},actionButtonProductName:f.Zw,showGameCatalog:!0})),Fs=e=>l.createElement(Ds,h()(h()({},e),{},{containerClassName:"SubscriptionCardV2-module__standard___Z4Qj+",headerProps:{title:f.TW,showGamePassBranding:e.showGamePassBranding},actionButtonProductName:f.TW,showGameCatalog:!0})),Us=e=>l.createElement(Ds,h()(h()({},e),{},{containerClassName:"SubscriptionCardV2-module__ultimate___zvOX5",headerProps:{title:f.d2,showGamePassBranding:e.showGamePassBranding},actionButtonProductName:f.d2,showGameCatalog:!0})),Hs=e=>l.createElement(Ds,h()(h()({},e),{},{containerClassName:"SubscriptionCardV2-module__eaPlay___MmFcM",headerProps:{titleNode:l.createElement(g.In,{title:f.j4,iconSize:g.lK.Custom,className:"SubscriptionCardV2-module__eaPlayBadge___5Jvls",icon:v.A}),showGamePassBranding:!1},actionButtonProductName:f.j4})),Vs=e=>l.createElement(Ds,h()(h()({},e),{},{containerClassName:"SubscriptionCardV2-module__ubisoftPlus___HoJON",headerProps:{titleNode:l.createElement(g.In,{iconSize:g.lK.Custom,icon:f.ci,title:f.n8,className:"SubscriptionCardV2-module__ubisoftPlusBadge___wsvBg"}),showGamePassBranding:!1},actionButtonProductName:f.n8})),Gs=e=>l.createElement(Ds,h()(h()({},e),{},{containerClassName:"SubscriptionCardV2-module__gtaPlus___tYJQV",headerProps:{titleNode:l.createElement(g.In,{iconSize:g.lK.Custom,icon:f.c6,title:f.n_,className:"SubscriptionCardV2-module__gtaPlusBadge___OaNlp"}),showGamePassBranding:!1},actionButtonProductName:f.n_})),qs=e=>{const{subscriptionProductId:t}=e;switch(t){case f.Tw:return l.createElement(Bs,h()({},e));case f.BO:return l.createElement(Fs,h()({},e));case f.CZ:return l.createElement(Us,h()({},e));case f.KJ:return l.createElement(Hs,h()({},e));case f.Es:return l.createElement(Vs,h()({},e));case f.mr:return l.createElement(Gs,h()({},e));default:return null}};var zs="SubscriptionPlanPickerModal-module__actionsPanel___ZOwu8",Xs="SubscriptionPlanPickerModal-module__comparePlansIcon___Aq6Hp",js="SubscriptionPlanPickerModal-module__comparePlansLabel___si-+F",Ws="SubscriptionPlanPickerModal-module__comparePlansLink___qLMzL",$s="SubscriptionPlanPickerModal-module__container___cvqZE",Js="SubscriptionPlanPickerModal-module__gamePassLogo___-Jkc+",Ks="SubscriptionPlanPickerModal-module__len1___8JIw4",Qs="SubscriptionPlanPickerModal-module__len2___P1gGL",Ys="SubscriptionPlanPickerModal-module__len3___5UkjX",Zs="SubscriptionPlanPickerModal-module__len4___alcUl",el="SubscriptionPlanPickerModal-module__len5___LSfCu",tl="SubscriptionPlanPickerModal-module__modalBody___OmHii",nl="SubscriptionPlanPickerModal-module__modalContainer___9bLa1",rl="SubscriptionPlanPickerModal-module__modalHeader___DRdTV",al="SubscriptionPlanPickerModal-module__notice___SIv07",ol="SubscriptionPlanPickerModal-module__pcOnlyButton___CDJUo",il="SubscriptionPlanPickerModal-module__pcOnlyButtonLabel___dHhjO",sl="SubscriptionPlanPickerModal-module__subscriptionCardsContainer___Cwf94";const ll=()=>"en-GB"===(0,c.d4)(i.a5u)?l.createElement(kn,{className:y()(al,E.SM)}):l.createElement(In,{className:y()(al,E.SM)}),cl=e=>{let{show:t,onHide:n,productSummaryInfo:a}=e;var o;const[d,m,p,v,_,b]=(0,s.cG)("planPickerThirdPartyModalTitle","planPickerModalTitleFormat","planPickerModalNotIncludedTitleFormat","includesAddOnsTextFormat","includesAddOnsTextWithAddOnsFormat","comparePlans"),S=(0,i.GPZ)(m,(null===a||void 0===a?void 0:a.productName)||""),C=(0,i.GPZ)(p,(null===a||void 0===a?void 0:a.productName)||""),P=(0,l.useMemo)((()=>Zn((null===a||void 0===a?void 0:a.includedWithPassesProductIds)||[])),[null===a||void 0===a?void 0:a.includedWithPassesProductIds]),T=(null===a||void 0===a?void 0:a.hasAddOns)?(0,i.GPZ)(_,(null===a||void 0===a?void 0:a.productName)||""):(0,i.GPZ)(v,(null===a||void 0===a?void 0:a.productName)||""),w=(0,c.d4)(i.a5u),I=(0,i.tcg)(Ct.Hy,{locale:w}),k=(0,c.d4)((e=>(0,yt.dH)(e,f.Ix))),A=(0,Le.getDataOrPrevious)(k)||null,N=(0,x.jr)(),L=(0,c.d4)((e=>(0,i.PR5)(e)));L||N.warn("Catalog data is not available in the SubscriptionPlanPickerModal component.");const M=(0,l.useMemo)((()=>((e,t)=>{const n=[];return t&&t!==f.Tw?t===f.BO?n.push(t,...$n.filter((n=>n!==t&&n!==f.Tw&&e.includes(n)))):t===f.CZ&&n.push(t,...$n.filter((n=>n!==t&&n!==f.Tw&&n!==f.BO&&e.includes(n)))):n.push(...t?[t]:[],...$n.filter((n=>n!==t&&e.includes(n)))),n.push(...e.filter((e=>!$n.includes(e)&&Kn.includes(e)))),n})((null===a||void 0===a?void 0:a.includedWithPassesProductIds)||[],(null===A||void 0===A?void 0:A.productId)||"")),[null===a||void 0===a?void 0:a.includedWithPassesProductIds,null===A||void 0===A?void 0:A.productId]);return l.createElement(u.aF,{show:t,onHide:n,closeable:!0,className:y()(nl,r[`len${M.length}`])},l.createElement(u.aF.Header,{className:rl},l.createElement(ul,{thirdPartyModalTitle:d,title:(null===A||void 0===A?void 0:A.productId)?C:S,isProductOnlyGamePassUpsell:P})),l.createElement(u.aF.Body,{className:tl},l.createElement("div",{className:sl},M.map((e=>l.createElement(qs,h()({key:e},(e=>{var t,n,r;const o=f.Ix.includes(e);let i;const s=e===(null===A||void 0===A?void 0:A.productId),l=h()({productImageSrc:null!==(t=null===a||void 0===a?void 0:a.productImage)&&void 0!==t?t:"",productName:null!==(n=null===a||void 0===a?void 0:a.productName)&&void 0!==n?n:"",inclusionsText:T},s?{isOwned:!0,endDate:(null===(r=null===A||void 0===A?void 0:A.endDate)||void 0===r?void 0:r.split("T")[0])||"",isProductIncludedInSubscription:!1}:{isOwned:!1,isProductIncludedInSubscription:!0});return i=o?h()({gameCatalogSize:L&&L.length?Number(L[e].numberOfProductsIncluded):0,platformsPlayableOnSubtitle:L&&L.length?L[e].platformsPlayableOnSubtitle:"",showGamePassBranding:!0,subscriptionProductId:e},l):h()({subscriptionProductId:e},l),i})(e)))))),l.createElement(ll,null),l.createElement("div",{className:zs},l.createElement(dl,{productName:null!==(o=null===a||void 0===a?void 0:a.productName)&&void 0!==o?o:""}),l.createElement("a",{href:I,className:Ws,target:"_blank",rel:"noopener noreferrer"},l.createElement("span",{className:y()(E._o,js)},b),l.createElement(g.In,{icon:bs,iconSize:g.lK.Custom,className:Xs})))))},ul=e=>{let{title:t,thirdPartyModalTitle:n,isProductOnlyGamePassUpsell:r}=e;return l.createElement(l.Fragment,null,r?l.createElement("div",null,l.createElement(Is,{className:Js})):l.createElement("div",null,l.createElement("h2",{className:y()(E.tY,rl)},n)),l.createElement("div",null,l.createElement("h2",{className:y()(E.me,rl)},t)))},dl=e=>{let{productName:t}=e;const[n]=(0,s.cG)("viewPCOnlyPlan"),r=(0,c.d4)(i.a5u),a=(0,l.useMemo)((()=>({areaName:"SubscriptionPlanPickerModal",behavior:x.nS.NAVIGATIONFORWARD,contentType:x.cM.Link,id:"viewPCOnlyPlanAction",productName:t})),[t]),o=(0,i.tcg)(Ct.Lo,{locale:r});return l.createElement(se.SC,h()({as:"a",className:y()(we.VI,ol),"aria-label":n,href:`${o}#join-playonpc`},(0,x.vj)(h()(h()({},a),{},{contentName:n}))),l.createElement("div",{className:y()(E._o,il)},n))},ml=e=>{let{showModal:t,onHide:n,productId:r}=e;var a,o,i,s,u;const d=(0,x.jr)(),m=(0,c.d4)((e=>(0,yt.Ct)(e,r)));if(!m)return d.warn(`SubscriptionPlanPickerLauncher requested without valid values:\nhasProductSummaryInfo: ${!!m}\nhasProduct: ${!!r}`),null;const p={productId:(null===(a=m.product)||void 0===a?void 0:a.productId)||"",productName:(null===(o=m.product)||void 0===o?void 0:o.title)||"",productImage:(m.product?null===(i=(0,f.mV)(m.product))||void 0===i?void 0:i.url:"")||"",includedWithPassesProductIds:er(null===(s=m.product)||void 0===s?void 0:s.passMetadataByPassProductId),hasAddOns:(null===(u=m.product)||void 0===u?void 0:u.hasAddOns)||!1};return l.createElement(cl,{show:t,onHide:n,productSummaryInfo:p})};var pl="SingleUpsellButton-module__gamePassWithPriceSubtitle___Gqn8F";const hl=["actionArguments","logger","buttonTitle"],fl=["buttonTitle","upsellProductGlyph","upsellUsesUbisoftLogo"],vl=["buttonType","telemetryProps","upsellProductGlyph","upsellUsesUbisoftLogo","upsellProductInfo"],gl=e=>{var t,n,r,a;const{actionArguments:o}=e,[u,d]=(0,l.useState)(!1),[m,p]=(0,s.cG)("upsellGetFormat","upgradeActionText"),v=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableJanus))),[g,_,y]=[o[Ct.PZ.ProductId],o[Ct.PZ.SkuId],o[Ct.PZ.AvailabilityId]],b=(0,c.d4)((e=>(0,yt.t7)(e,g,_,y))),E=(0,c.d4)((e=>(0,yt.dH)(e,f.Ix))),S=(0,Le.getDataOrPrevious)(E)||null,{lowestSubscriptionTierName:C,isProductIncludedInSubscription:P}=Gl(null===(t=null===b||void 0===b?void 0:b.product)||void 0===t?void 0:t.passMetadataByPassProductId,null===S||void 0===S?void 0:S.productId),T=Zn(er(null===(n=null===b||void 0===b?void 0:b.product)||void 0===n?void 0:n.passMetadataByPassProductId)),w=(0,i.XBe)(e.actionArguments[Ct.PZ.UpsellProductId]),I=!!(null===(r=e.actionArguments[Ct.PZ.UpsellProductIdsComingSoonList])||void 0===r?void 0:r.trim())&&!(null===(a=e.actionArguments[Ct.PZ.UpsellProductIdsList])||void 0===a?void 0:a.trim()),k=(0,x.jr)(),A=(0,x.zM)(),N=(0,f.wT)(w,!0),L=e.actionArguments[Ct.PZ.ProductId],M=(0,Ct.zo)(w,L);if(!w||!N)return k.warn(`Upsell button requested without valid values:\nupsellProductId: ${w}\nupsellProductTitle: ${N}`),null;const O=(0,i.GPZ)(m,N);let R=O;v&&S&&T&&!P&&(R=p);const D={buttonId:I?"ComingSoonUpsellButton":"UpsellButton",buttonTitle:R,telemetryProps:(0,x.nO)({behavior:x.nS.NAVIGATIONFORWARD,contentName:R,id:I?"ComingSoonUpsellButton":"UpsellButton",slotNumber:e.slotNumber},A),upsellProductId:w,upsellLink:M,upsellProductTitle:N,modalProps:{showModal:u,onButtonClick:()=>{d(!0)},onHide:()=>{d(!1)},baseProductId:g},lowestSubscriptionTierName:C,upsellButtonTitleInit:O};switch(e.experienceButtonType){case En.nl.Desktop:return l.createElement(_l,h()(h()({},D),{},{actionArguments:e.actionArguments,buttonType:e.buttonType,logger:k}));case En.nl.CondensedDesktop:return l.createElement(Cl,h()(h()({},D),{},{buttonType:e.buttonType}));case En.nl.CondensedMobile:case En.nl.Mobile:{const t=Ur(!0,e.experienceButtonType),n=h()(h()({},D),t);return e.experienceButtonType===En.nl.CondensedMobile?l.createElement(Pl,h()(h()({},n),{},{buttonType:e.buttonType})):l.createElement(_l,h()(h()({},n),{},{actionArguments:e.actionArguments,buttonType:e.buttonType,logger:k}))}case En.nl.MobileStickyHeader:return l.createElement(Pl,h()(h()({},D),{},{buttonType:e.buttonType,overrideClassName:dr}));case En.nl.Overflow:return l.createElement(wl,h()({},D));default:return null}},_l=e=>{var t,n;const{actionArguments:r,logger:a,buttonTitle:o}=e,s=C()(e,hl),[u,d,m]=[r[Ct.PZ.ProductId],r[Ct.PZ.SkuId],r[Ct.PZ.AvailabilityId]],p=!!(null===(t=e.actionArguments[Ct.PZ.UpsellProductIdsComingSoonList])||void 0===t?void 0:t.trim())&&!(null===(n=e.actionArguments[Ct.PZ.UpsellProductIdsList])||void 0===n?void 0:n.trim()),v=(0,i.XBe)(r[Ct.PZ.GlyphProductId]),g=(0,i.XBe)(e.upsellProductId),_=v||g,y=(0,c.d4)(i.P6r),b=(0,c.d4)((e=>(0,yt.t7)(e,u,d,m))),E=(0,f.M3)(_),S=g===f.Es,P=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableJanus)));if(!b||!b.product)return a.warn(`Upsell button requested without valid values:\nbaseProductId: ${u}\nbaseSkuId: ${d}\nbaseAvailabilityId: ${m}\nhasProductSummaryInfo: ${!!b}\nhasProduct: ${!!(null===b||void 0===b?void 0:b.product)}`),null;if(u&&d&&m){const t=b.availability;if(t&&t.price.listPrice{const t=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableJanus))),n=(0,s.FE)(e.isComingSoonUpsell?"upsellComingSoonToFormat":t?"upsellIncludedInFormat":"upsellIncludedWithFormat"),r=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableGamePassUpsellWithPrice))),{buttonTitle:a,upsellProductGlyph:o,upsellUsesUbisoftLogo:u}=e,d=C()(e,fl),m=(0,c.d4)((e=>(0,yt.Pm)(e,d.upsellProductId))),p=r&&!!m&&!e.isComingSoonUpsell&&f.Ix.includes(d.upsellProductId);return l.createElement(l.Fragment,null,p?l.createElement(El,h()(h()({},e),{},{upsellProductInfo:m})):l.createElement(bl,h()({},e),l.createElement("div",{className:E.TF,"aria-hidden":"true"},a.toLocaleUpperCase()),l.createElement(Da,{upsellTitleId:d.upsellProductId,subtitleFormat:n,usesUbisoftSVG:u,productGlyph:o,lowestSubscriptionTierName:d.lowestSubscriptionTierName})))},bl=e=>{const[t,n]=(0,s.cG)(e.isComingSoonUpsell?"inclusionUpsellComingSoonButtonAccessibilityLabelFormat":"inclusionUpsellButtonAccessibilityLabelFormat","periodSeparatorTemplate"),{baseProductTitle:r,buttonType:a=se.VQ.Primary,telemetryProps:o,upsellLink:u,upsellProductTitle:d,overrideClassName:m,overrideContainerClassName:p,modalProps:h}=e,f=(0,i.GPZ)(t,d,r),v=e.priceAccessibilityLabel?(0,i.GPZ)(n,f,e.priceAccessibilityLabel||""):f;return(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableJanus)))&&h?l.createElement(La,{accessibilityLabel:v,buttonType:a,onClick:h.onButtonClick,telemetryProps:o,overrideClassName:m,overrideContainerClassName:p},e.children):l.createElement(Ma,{accessibilityLabel:v,buttonType:a,href:u,telemetryProps:o,overrideClassName:m,overrideContainerClassName:p},e.children)},El=e=>{var t;const[n,r]=(0,s.cG)("upsellIncludedWithFormat","upsellJoinSubtitleWithPrice"),{buttonType:a=se.VQ.Primary,telemetryProps:o,upsellProductGlyph:c,upsellUsesUbisoftLogo:u,upsellProductInfo:d}=e,m=C()(e,vl),p=(0,f.TZ)(d),v={productInfo:d,className:E.cb,hasAddOns:null===(t=d.product)||void 0===t?void 0:t.hasAddOns,listedPriceClassName:pl,useBrandStyling:a===se.VQ.Brand};return l.createElement(bl,h()(h()({},e),{},{priceAccessibilityLabel:(0,i.GPZ)(r,(null===p||void 0===p?void 0:p.accessibilityText)||"")}),l.createElement("div",{className:E.TF,"aria-hidden":"true"},l.createElement(Ba,{upsellTitleId:m.upsellProductId,subtitleFormat:n,usesUbisoftSVG:u,productGlyph:c})),l.createElement("div",{className:y()(E.cb,pl),"aria-hidden":"true"},(0,i.OzX)(r,l.createElement(f.gm,h()({},v)))))},Sl=e=>{const[t,n]=(0,s.cG)("upsellSaveWithFormat","saleUpsellButtonAccessibilityLabelFormat"),{baseProductTitle:r,buttonTitle:a,upsellProductId:o,upsellProductTitle:c,buttonType:u=se.VQ.Primary,telemetryProps:d,saleDiscount:m,upsellLink:p,upsellProductGlyph:h,upsellUsesUbisoftLogo:f,overrideClassName:v,overrideContainerClassName:g}=e;return l.createElement(Ma,{accessibilityLabel:(0,i.GPZ)(n,c,m,r),buttonType:u,href:p,telemetryProps:d,overrideClassName:v,overrideContainerClassName:g},l.createElement("div",{className:E.TF,"aria-hidden":"true"},a.toLocaleUpperCase()),l.createElement(Fa,{subtitleFormat:t,saleDiscount:m,usesUbisoftSVG:f,productGlyph:h,upsellTitleId:o}))},Cl=e=>{const{buttonTitle:t,buttonType:n=se.VQ.Primary,telemetryProps:r,upsellLink:a}=e,o=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableJanus)));return l.createElement(l.Fragment,null,o?l.createElement(Tl,h()(h()({},e),{},{overrideClassName:y()(nr,E.TF)})):l.createElement(w.a,h()({as:"a",buttonType:n,className:y()(nr,E.TF),href:a},(0,x.vj)(r)),t.toLocaleUpperCase()))},Pl=e=>{const{buttonTitle:t,buttonType:n=se.VQ.Primary,telemetryProps:r,upsellLink:a,overrideClassName:o}=e,s=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableJanus)));return l.createElement(l.Fragment,null,s?l.createElement(Tl,h()({},e)):l.createElement(w.a,h()({as:"a",buttonType:n,className:o,href:a},(0,x.vj)(r)),t.toLocaleUpperCase()))},Tl=e=>{const{buttonTitle:t,buttonType:n=se.VQ.Primary,telemetryProps:r,modalProps:a,overrideClassName:o}=e;return l.createElement(l.Fragment,null,l.createElement(w.a,h()({as:"a",buttonType:n,className:o,onClick:null===a||void 0===a?void 0:a.onButtonClick},(0,x.vj)(r)),t.toLocaleUpperCase()),a&&l.createElement(ml,{showModal:a.showModal,onHide:a.onHide,productId:a.baseProductId}))},wl=e=>{const t=(0,f.ZR)(e.upsellProductId)||ls.A;return l.createElement(Dr,{href:e.upsellLink,icon:t,telemetryProps:e.telemetryProps},e.buttonTitle)},Il=e=>{const t=kl(e),[n,r]=(0,l.useState)(!1),a=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableJanus))),o=(0,l.useRef)(null),s=(0,l.useRef)(null),u=(0,A._E)(n,(()=>{r(!1)}),o,s);if(!t)return null;if(1===t.upsellPasses.length)return l.createElement(gl,h()(h()({},e),{},{actionArguments:h()(h()({},e.actionArguments),{},{[Ct.PZ.UpsellProductId]:t.upsellPasses[0].passProductId,[Ct.PZ.UpsellProductIdsComingSoonList]:t.upsellPasses[0].isComingSoon?t.upsellPasses[0].passProductId:""})}));const{buttonType:d,experienceButtonType:m,actionArguments:p}=e;let f;switch(m){case En.nl.Desktop:case En.nl.Mobile:case En.nl.CondensedMobile:f=m===En.nl.CondensedMobile?Nl:xl;break;case En.nl.CondensedDesktop:f=Al;break;case En.nl.MobileStickyHeader:f=Nl;break;case En.nl.Overflow:f=Ll;break;default:return null}return l.createElement(l.Fragment,null,l.createElement(f,h()(h()({},t),{},{buttonRef:o,buttonType:d,onClick:()=>{r(!0)}})),a?l.createElement(ml,{onHide:u,showModal:n,productId:p[Ct.PZ.ProductId]}):l.createElement(gs,{contentRef:s,onHide:u,passProducts:t.upsellPasses,show:n}))},kl=e=>{let{actionArguments:t,slotNumber:n,experienceButtonType:r}=e;var a;const o=(0,x.jr)(),l=(0,x.zM)(),{[Ct.PZ.ProductId]:d,[Ct.PZ.UpsellProductIdsList]:m,[Ct.PZ.UpsellProductIdsComingSoonList]:p}=t,v=m.split(";").filter((e=>0!==e.length)).map(((e,t)=>({passProductId:e,isComingSoon:!1}))),g=p.split(";").filter((e=>0!==e.length)).map(((e,t)=>({passProductId:e,isComingSoon:!0}))),_=g.length>0,y=[...new Set([...g,...v])],[b,E,S,C,P,T,w,I,k,A,N]=(0,s.cG)("multiUpsellGet","multiUpsellIncludedIn","multiUpsellGetButtonAccessibilityLabelFormat","upsellGetFormat","upsellIncludedInFormat","upsellIncludedWithFormat","upsellComingSoonToFormat","inclusionUpsellButtonAccessibilityLabelFormat","inclusionUpsellComingSoonButtonAccessibilityLabelFormat","upgradeActionText","upgradeSubscriptionButtonAccessibilityLabelFormat"),L=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableJanus))),M=(0,c.d4)((e=>(0,yt.t7)(e,d))),O=(0,c.d4)((e=>(0,yt.dH)(e,f.Ix))),R=(0,Le.getDataOrPrevious)(O)||null,{lowestSubscriptionTierName:D,isProductIncludedInSubscription:B}=Gl(null===(a=null===M||void 0===M?void 0:M.product)||void 0===a?void 0:a.passMetadataByPassProductId,null===R||void 0===R?void 0:R.productId),{onlyGamePass:F,atLeastOneGamePass:U,userHasGamePassEntitlement:H}=ql(y,R);if(!M||!M.product)return o.warn(`Multi upsell button requested without valid values:\nbaseProductId: ${d}\nhasProductSummaryInfo: ${!!M}\nhasProduct: ${!!(null===M||void 0===M?void 0:M.product)}`),null;let V,G,q,z,X;if(F){V=L&&R&&F&&!B?A:(0,i.GPZ)(C,f.ei),G=(0,i.GPZ)(_?w:L?P:T,L&&D||""),q=(0,i.GPZ)(_?k:I,L?D||"":f.ei,M.product.title),z=L?void 0:u.c9.XboxGamepassInline,X=L?void 0:ss.A}else{const e=L&&U&&H;V=e?A:b,G=E,q=(0,i.GPZ)(e?N:S,M.product.title),z=void 0,X=void 0}const j=(0,x.nO)({behavior:x.nS.SHOW,contentName:V,id:"MultiUpsellButton",slotNumber:n},l),W=Ur(!0,r,r===En.nl.MobileStickyHeader?dr:void 0);return h()(h()({},W),{},{accessibilityLabel:q,subtitle:G,telemetryProps:j,title:V,upsellPasses:y,upsellProductGlyph:z,upsellProductIcon:X})},xl=e=>{let{title:t,subtitle:n,accessibilityLabel:r,upsellProductGlyph:a,telemetryProps:o,buttonType:i=se.VQ.Primary,buttonRef:s,onClick:c,overrideClassName:u,overrideContainerClassName:d}=e;return l.createElement(_r,{buttonRef:s,accessibilityLabel:r,buttonType:i,onClick:c,productGlyph:a,subtitle:n,title:t.toLocaleUpperCase(),telemetryProps:o,overrideClassName:u,overrideContainerClassName:d})},Al=e=>{let{title:t,accessibilityLabel:n,telemetryProps:r,buttonType:a=se.VQ.Primary,buttonRef:o,onClick:i}=e;return l.createElement(w.a,h()({as:"button","aria-label":n,className:y()(nr,E.TF),ref:o,buttonType:a,onClick:i},(0,x.vj)(r)),t.toLocaleUpperCase())},Nl=e=>{let{title:t,accessibilityLabel:n,telemetryProps:r,buttonType:a=se.VQ.Primary,buttonRef:o,onClick:i,overrideClassName:s}=e;return l.createElement(w.a,h()({as:"button",ref:o,"aria-label":n,buttonType:a,className:s,onClick:i},(0,x.vj)(r)),t.toLocaleUpperCase())},Ll=e=>{let{title:t,accessibilityLabel:n,telemetryProps:r,onClick:a,upsellProductIcon:o}=e;return l.createElement(Rr,{"aria-label":n,onClick:a,icon:o||ls.A,telemetryProps:r},t)},Ml=["actionArguments"];function Ol(e){return!!e&&e.split(";").every((e=>f.Ix.includes(e)))}const Rl=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M1024 564q-35-35-69-71t-69-71-72-64-79-53-89-36-102-13q-87 0-162 32t-132 89-89 132-33 163q0 84 31 159t91 135l774 774v181l-865-864Q82 981 41 881T0 672q0-75 19-144t55-130 85-110 110-85 130-55 145-20q84 0 149 19t119 52 105 81 107 103q56-56 106-103t105-80 120-53 149-19q112 0 211 43t173 116 117 173 43 212q0 109-41 208t-118 177l-97 97V972q62-61 94-136t33-164q0-88-32-163t-88-130-132-87-163-32q-85 0-150 27t-121 71-105 98-104 108zm640 588v384h384v128h-384v384h-128v-384h-384v-128h384v-384h128z"}))};const Dl=function(e){var{title:t,titleId:n}=e,r=(0,qe.__rest)(e,["title","titleId"]);return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},r),t?l.createElement("title",{id:n},t):null,l.createElement("path",{d:"M1504 128q113 0 212 42t173 117 116 173 43 212q0 109-41 208t-118 177l-865 864-865-864Q82 980 41 881T0 672q0-113 42-212t117-173 173-116 212-43q109 0 208 41t177 118q24 24 47 48t48 48q24-24 47-48t48-48q77-77 176-118t209-41z"}))};var Bl=n(73037);const Fl={[En.Ay.Acquisition]:e=>{var t,n;const{[Ct.PZ.ProductId]:r,[Ct.PZ.SkuId]:a,[Ct.PZ.AvailabilityId]:o,[Ct.PZ.IsUpgrade]:i,[Ct.PZ.IsDisabled]:s,[Ct.PZ.DisabledReason]:u}=e.actionArguments,d=(0,x.jr)(),m=(0,c.d4)((e=>(0,yt.t7)(e,r,a,o))),p=(0,c.d4)(nn.ct);let v=null;if(ba(r,a,o,m,"Acquisition",d)){const c=m.availability.price,d=m.sku.recurrencePolicySummary,g=m.product.title,_={availabilityId:o,buttonType:e.buttonType,endDateUtcString:m.availability.endDateUtc,experienceButtonType:e.experienceButtonType,hasAddOns:m.product.hasAddOns,isDisabled:(0,A._4)(s)&&p,disabledReason:u,actionOverride:e.actionOverride?()=>e.actionOverride(e.actionArguments):void 0,price:c,productId:r,productSummaryInfo:m,recurrencePolicySummary:d,skuId:a,slotNumber:e.slotNumber,title:g},y=(null===(t=null===c||void 0===c?void 0:c.xPriceOfferInfo)||void 0===t?void 0:t.xPriceOfferSubType)===f.sB.UpgradedDifferentialOffer||(null===(n=null===c||void 0===c?void 0:c.xPriceOfferInfo)||void 0===n?void 0:n.xPriceOfferSubType)===f.sB.UpgradedDifferentialOfferString;v=m.sku.isPreorder?l.createElement(ha,h()({},_)):0===c.listPrice?l.createElement(ma,h()({},_)):(0,A._4)(i)||y?l.createElement(da,h()({},_)):(0,f.Vh)(d)&&(null===d||void 0===d?void 0:d.isRecurring)?l.createElement(pa,h()({},_)):l.createElement(ua,h()({},_))}return v},[En.Ay.AccountLink]:e=>{const t=Hr(e);if(!t)return null;const{buttonType:n,experienceButtonType:r}=e;let a;switch(r){case En.nl.Desktop:a=Vr;break;case En.nl.CondensedDesktop:a=Gr;break;case En.nl.Mobile:case En.nl.CondensedMobile:case En.nl.MobileStickyHeader:a=qr;break;case En.nl.Overflow:a=zr;break;default:return null}return l.createElement(a,h()(h()({},t),{},{buttonType:n}))},[En.Ay.BuyToOwn]:e=>{const[t,n,r,a]=[e.actionArguments[Ct.PZ.ProductId],e.actionArguments[Ct.PZ.SkuId],e.actionArguments[Ct.PZ.AvailabilityId],e.slotNumber],o=(0,x.jr)(),i=(0,c.d4)((e=>(0,yt.t7)(e,t,n,r))),[u,d]=(0,s.cG)("buyActionText","buyActionAccessibilityText");let m=null;if(ba(t,n,r,i,"BuyToOwn",o)){const{product:o,sku:s,availability:c}=h()({},i),p={productId:t,skuId:n,availabilityId:r,buttonType:e.buttonType,endDateUtcString:c.endDateUtc,experienceButtonType:e.experienceButtonType,hasAddOns:i.product.hasAddOns,price:c.price,recurrencePolicySummary:s.recurrencePolicySummary,slotNumber:a,title:o.title,productSummaryInfo:i,actionOverride:e.actionOverride?()=>e.actionOverride(e.actionArguments):void 0};m=i.sku.isPreorder?l.createElement(ha,h()({},p)):l.createElement(fa,h()({actionAccessibilityLabelFormat:d,actionText:u,buttonId:"BuyToOwnButton"},p))}return m},[En.Ay.Cart]:e=>{const[t,n,r]=[e.actionArguments[Ct.PZ.ProductId],e.actionArguments[Ct.PZ.SkuId],e.actionArguments[Ct.PZ.AvailabilityId]],a=(0,c.wA)(),o=(0,c.d4)((e=>(0,yt.bg)(e,t,n,r))),[d,m,p,f,v,g]=(0,s.cG)("actionErrorMessage","addToCartButtonAccessibilityLabelFormat","addToCartProcessingButtonAccessibilityLabelFormat","addToCartActionText","openCartButtonAccessibilityLabel","reloadPageRequestMessage"),_=(0,x.zM)(),[y,b]=(0,l.useState)(),[E,S]=(0,l.useState)(g),[C,P]=(0,l.useState)(!1),[T,w]=(0,l.useState)(!1),I=(0,c.d4)((e=>(0,yt.t7)(e,t,n,r)));if(!I||!I.product||!t||!n||!r)return null;const k=(0,i.GPZ)(m,I.product.title),A=(0,i.GPZ)(p,I.product.title),N={productId:t,skuId:n,availabilityId:r,quantity:1},L=e=>{var t;w(!1),P(!0),e.reasons.length>0&&(b(null===(t=e.reasons[0].code)||void 0===t?void 0:t.toString()),S(e.displayMessage&&!e.displayMessage.isDefault?e.displayMessage.shortDescription:g))},M=()=>{w(!1)};let O={behavior:x.nS.ADDTOCART,contentName:k};o&&(O={behavior:x.nS.VIEWCART,contentName:v});const R=(0,x.nO)(h()({id:"CartButton",slotNumber:e.slotNumber},O),_);return l.createElement(l.Fragment,null,l.createElement(Ta,{actionAccessibilityLabel:k,actionIcon:Sa,actionLabel:f,buttonId:"CartButton",buttonType:e.buttonType,experienceButtonType:e.experienceButtonType,navigationAccessibilityLabel:v,navigationHref:"/cart",navigationIcon:Ca,navigationLabel:v,onClick:()=>{w(!0),a(yt.iv.addToCart.start({items:[N]},M,L))},processingAccessibilityLabel:A,showSpinner:T,slotNumber:e.slotNumber,state:o,telemetryProps:R}),C&&l.createElement(u.aF,{className:sr,closeable:!0,onHide:()=>P(!1),show:C,ariaLabel:d},l.createElement(de,{errorCode:y,errorMessage:d,userRequestMessage:E})))},[En.Ay.CloudPlay]:e=>{const{[Ct.PZ.ProductId]:t,[Ct.PZ.UpsellProductId]:n,[Ct.PZ.CloudServiceUpsells]:r}=e.actionArguments,a=(0,l.useContext)(oa),o=(0,x.jr)(),s=(0,c.d4)((e=>(0,yt.t7)(e,t))),u=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableMultiCloudPlayButton))),d=r?JSON.parse(r):void 0,m=1===(null===d||void 0===d?void 0:d.length)&&(0,i.JSV)(d[0].ServiceId,f.gx.geforcenow);if(!t||!s.product||!n&&!d||m&&!u)return o.warn(`Cloud play button requested without valid values:\nbaseProductId: ${t}\nhasProductSummaryInfo: ${!!s}\nhasProduct: ${!!(null===s||void 0===s?void 0:s.product)}\ncloudServiceUpsellObjects: ${d}\nupsellsOnlyHasNvidia: ${m}`),null;let p;return p=u&&d&&d.length>1&&a!==En._z.ContextualStore?Ya:Ua,l.createElement(p,h()(h()({},e),{},{baseProductId:t,cloudServiceUpsells:d,productSummaryInfo:s,upsellProductId:n}))},[En.Ay.Ferdinand]:e=>{let{buttonType:t,actionArguments:{[Ct.PZ.ProductId]:n},slotNumber:r,experienceButtonType:a}=e;var o,u;const d=(0,x.zM)(),[m,p,f]=(0,s.cG)("ferdinandBtnTitle","ferdinandBtnSubTitle","cloudPlayButtonAccessibilityLabelFormat"),v=(0,c.d4)((e=>(0,yt.Ct)(e,n))),g=null!==(u=null===(o=null===v||void 0===v?void 0:v.product)||void 0===o?void 0:o.title)&&void 0!==u?u:"",_=(0,Na.e)(null!==n&&void 0!==n?n:"",g),y=(0,l.useMemo)((()=>(0,x.nO)({behavior:x.nS.NAVIGATIONFORWARD,contentName:m,id:"FerdinandButton",slotNumber:r},d)),[m,d,r]),b=(0,l.useMemo)((()=>Ur(!0,a)),[a]),S=(0,l.useMemo)((()=>(0,i.GPZ)(f,g)),[f,g]);return a===En.nl.Overflow?l.createElement(Dr,{"aria-label":S,href:_,icon:Bl.A3,telemetryProps:y},l.createElement("div",{className:"FerdinandButton-module__overflowMenuText___LohdI"},m)):l.createElement(Ma,h()({href:_,buttonType:t,accessibilityLabel:S,telemetryProps:y},b),l.createElement("div",{className:E.TF,"aria-hidden":"true"},m.toUpperCase()),l.createElement("div",{"aria-hidden":"true"},p))},[En.Ay.EditionSelector]:e=>{const t=e.actionArguments[Ct.PZ.ProductId],n=(e.actionArguments[Ct.PZ.EditionIdsList]||"").split(";").filter((e=>0!==e.length)).map((e=>({productId:e,skuId:"",availabilityId:""}))),[r]=(0,s.cG)("editionSelectorButtonText"),a=(0,x.zM)(),o=(0,c.d4)((e=>(0,yt.Ct)(e,t)));if(!o||e.experienceButtonType!==En.nl.Desktop)return null;const i=(0,x.nO)({behavior:x.nS.SHOW,contentName:r,id:"EditionSelectorButton",slotNumber:e.slotNumber},a);return l.createElement(oo,{buttonAccessibilityLabel:r,buttonId:e.buttonId,buttonType:e.buttonType,productIdentifiers:n,subTitle:o.product.title,telemetryProps:i,title:r.toLocaleUpperCase()})},[En.Ay.Extend]:e=>{var t;const[n,r,a]=[e.actionArguments[Ct.PZ.ProductId],e.actionArguments[Ct.PZ.SkuId],e.actionArguments[Ct.PZ.AvailabilityId]],o=(0,x.jr)(),i=(0,c.d4)((e=>(0,yt.t7)(e,n,r,a))),[u,d]=(0,s.cG)("extendActionText","extendActionAccessibilityLabelFormat");let m=null;if(ba(n,r,a,i,"Extend",o)){const o=i.availability,s=e.actionOverride?()=>e.actionOverride(e.actionArguments):void 0;m=l.createElement(fa,{actionText:u,actionAccessibilityLabelFormat:d,availabilityId:a,behavior:x.nS.RENEWSUBSCRIPTION,buttonType:e.buttonType,buttonId:"ExtendButton",endDateUtcString:o.endDateUtc,experienceButtonType:e.experienceButtonType,hasAddOns:i.product.hasAddOns,iconOverride:Xr,price:o.price,productId:n,productSummaryInfo:i,recurrencePolicySummary:null===(t=i.sku)||void 0===t?void 0:t.recurrencePolicySummary,slotNumber:e.slotNumber,skuId:r,title:i.product.title,actionOverride:s})}return m},[En.Ay.Gift]:e=>{const[t,n,r]=[e.actionArguments[Ct.PZ.ProductId],e.actionArguments[Ct.PZ.SkuId],e.actionArguments[Ct.PZ.AvailabilityId]],a=(0,s.FE)("giftActionAccessibilityLabelFormat"),o=(0,c.d4)((e=>(0,yt.t7)(e,t))),u=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnablePurchaseLaunchOnLogin))),d=(0,x.zM)(),m=(0,c.d4)(nn.ct),p=(0,i.wwE)(),v=(0,i.AzV)();if(!o||!o.product||!t)return null;const g=(0,i.GPZ)(a,o.product.title),_=u?Qr(window.location.href,t,{skuId:n,availabilityId:r,experience:B.Gift}):(0,Wr.F)(),y=(0,x.nO)({behavior:x.nS.INTENTTOBUY,id:"GiftButton",contentName:g,slotNumber:e.slotNumber},d),b={accessibilityLabel:g,buttonId:"GiftButton",buttonType:e.buttonType,slotNumber:e.slotNumber,telemetryProps:y,onClick:()=>{if(e.actionOverride)e.actionOverride();else if(m)document.dispatchEvent(new CustomEvent("launchContextualStore",{detail:{hasAddOns:!1,productId:t,skuId:n,availabilityId:r,experience:D.Purchase,scenario:B.Gift}}));else{const e=(0,i.XBe)(t)===f.hd?v(_):p(_);window.location.assign(e)}}};switch(e.experienceButtonType){case En.nl.Desktop:return l.createElement(so,h()({},b));case En.nl.CondensedDesktop:return l.createElement(lo,h()({},b));case En.nl.Mobile:case En.nl.CondensedMobile:return l.createElement(co,h()(h()({},b),{},{className:Fr(!1,e.experienceButtonType)}));case En.nl.MobileStickyHeader:return l.createElement(co,h()(h()({},b),{},{className:dr}));case En.nl.Overflow:return l.createElement(uo,h()({},b));default:return null}},[En.Ay.Install]:e=>{let{actionArguments:t,slotNumber:n,buttonType:r,experienceButtonType:a}=e;var o,u,d,m;const[p,f,v]=[t[Ct.PZ.ProductId],t[Ct.PZ.UpsellProductId],(0,A._4)(null===(o=t[Ct.PZ.isFresnoEntitlement])||void 0===o?void 0:o.toLowerCase())],g=(0,A._4)(t[Ct.PZ.IsTrial]),[_,y]=(0,l.useState)(!1),b=()=>y(!0),E=()=>y(!1),S=(0,c.d4)((e=>(0,yt.t7)(e,p))),C=(0,c.d4)(i.GYd).userAgent,P=new Zt.P6(C),T=P.isIOS||P.isIPadOS||P.isAndroid,w=1===(null===(d=null===(u=S.product)||void 0===u?void 0:u.availableOn)||void 0===d?void 0:d.length)&&"pc"===(null===(m=S.product)||void 0===m?void 0:m.availableOn[0].toLowerCase()),I=(0,c.d4)((e=>(0,ti.z4)(e,p))),k=(0,s.FE)("installButtonText"),N=(0,s.FE)("installButtonAccessibilityLabel"),L=(0,x.zM)(),M=(0,l.useRef)(null),O=(0,l.useRef)(null),R=(0,A._E)(_,E,M,O);if(!p||!S||w&&T)return null;const D=(0,x.nO)({behavior:x.nS.SHOW,contentName:k,id:"InstallButton",slotNumber:n},L),B={buttonId:"InstallButton",buttonTitle:k,buttonAriaLabel:N,slotNumber:n,telemetryProps:D,openModal:b},F=(e,t)=>{switch(null===I||void 0===I?void 0:I.operationStatus){case En.Uh.Pending:return l.createElement(ii,{baseProductId:p,overrideClassName:e});case En.Uh.ConsoleError:case En.Uh.Error:case En.Uh.TimedOut:return l.createElement(oi,{installOperation:I,openModal:b,telemetryProps:D,overrideClassName:e,overrideContainerClassName:t});case En.Uh.Succeeded:return l.createElement(si,{baseProductId:p,overrideClassName:e});default:return l.createElement(ri,h()(h()({},B),{},{overrideClassName:e,overrideContainerClassName:t,baseProductId:p,buttonRef:M,buttonType:r,upsellProductId:f,isTrial:g,isFresnoEntitlement:v}))}},U=()=>l.createElement(Ko,{"aria-labelledby":"title",closeable:!0,contentRef:O,onCancelClicked:R,onHide:R,onInstallClicked:R,productId:p,show:_});switch(a){case En.nl.Desktop:return l.createElement("div",null,F(),U());case En.nl.CondensedMobile:{const e=h()(h()({},B),Ur(!1,a));return l.createElement(l.Fragment,null,l.createElement(ai,h()(h()({},e),{},{buttonRef:M,buttonType:r})),U())}case En.nl.Mobile:{const e=Ur(!0,a);return l.createElement(l.Fragment,null,F(e.overrideClassName,e.overrideContainerClassName),U())}case En.nl.MobileStickyHeader:return l.createElement(l.Fragment,null,l.createElement(ai,h()(h()({},B),{},{buttonRef:M,buttonType:r,overrideClassName:dr})),U());case En.nl.Overflow:return l.createElement(li,h()(h()({},B),{},{baseProductId:p,hideModal:E,openModal:b,showModal:_}));default:return null}},[En.Ay.Manage]:e=>{var t,n;const[r,a]=(0,l.useState)(!1),o=(0,s.FE)("manageActionText"),i=e.actionArguments&&(0,A._4)(e.actionArguments.IsExternallyManagedPass),c=e.actionArguments&&(0,f.wT)(null!==(t=e.actionArguments.ProductId)&&void 0!==t?t:"",!1),u=(0,x.zM)(),d=(0,l.useRef)(null),m=(0,l.useRef)(null),p=(0,A._E)(r,(()=>a(!1)),d,m),v=(0,x.nO)({behavior:i?x.nS.SHOW:x.nS.NAVIGATIONFORWARD,contentName:o,id:"ManageButton",slotNumber:e.slotNumber},u),g={behavior:x.nS.OTHER,buttonId:"ManageButton",buttonLabel:o,buttonType:e.buttonType,slotNumber:e.slotNumber,isExternallyManaged:i,onClick:()=>{a(!0)},experienceButtonType:e.experienceButtonType,telemetryProps:v},_={buttonType:null!==(n=e.buttonType)&&void 0!==n?n:se.VQ.Primary,showModal:r,contentRef:m,subscriptionName:c,onComplete:p};return l.createElement(l.Fragment,null,l.createElement(fi,h()({},g)),l.createElement(di,h()({},_)))},[En.Ay.NotSoldSeparately]:e=>{const t=(0,A._4)(e.actionArguments[Ct.PZ.IsBundleProduct]),{bundleNotAvailableActionText:n,notSoldSeparatelyActionText:r}=(0,s.ot)("bundleNotAvailableActionText","notSoldSeparatelyActionText"),a=t?n:r;switch(e.experienceButtonType){case En.nl.Desktop:return l.createElement(yi,{actionText:a});case En.nl.Mobile:case En.nl.CondensedMobile:return l.createElement(bi,{actionText:a});case En.nl.MobileStickyHeader:return l.createElement(bi,{actionText:a,className:"CommonButtonStyles-module__disabledMobileStickyBannerButton___YjEEx"});case En.nl.Overflow:return l.createElement(Ei,{actionText:a});default:return null}},[En.Ay.OpenInStore]:e=>{const t=(0,s.FE)("openInStoreButtonLabel"),{[Ct.PZ.ProductId]:n,[Ct.PZ.SkuId]:r,[Ct.PZ.AvailabilityId]:a}=e.actionArguments,o=(0,Ct.ww)(n,void 0,r,a),i=(0,x.zM)(),c=(0,x.nO)({behavior:x.nS.NAVIGATIONFORWARD,contentName:t,id:"OpenInStoreButton",slotNumber:e.slotNumber},i),u={actionOverride:e.actionOverride,buttonId:"OpenInStoreButton",buttonLabel:t,buttonType:e.buttonType,slotNumber:e.slotNumber,storeLink:o,telemetryProps:c};switch(e.experienceButtonType){case En.nl.CondensedDesktop:return l.createElement(Ci,h()({},u));case En.nl.Mobile:case En.nl.CondensedMobile:return l.createElement(Pi,h()(h()({},u),{},{className:Fr(!1,e.experienceButtonType)}));case En.nl.MobileStickyHeader:return l.createElement(Pi,h()(h()({},u),{},{className:dr}));case En.nl.Overflow:return l.createElement(Ti,h()({},u));default:return null}},[En.Ay.RedeemACode]:e=>(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableRedeemCodeModal)))?l.createElement(Ii,h()({},e)):l.createElement(Oi,h()({},e)),[En.Ay.SkuSelector]:e=>{const{actionArguments:t,actionOverride:n,buttonType:r,experienceButtonType:a,slotNumber:o}=e,u=t[Ct.PZ.ProductId]||"",d=(t[Ct.PZ.SkuIdsList]||"").split(";").filter((e=>0!==e.length)).map((e=>({productId:u,skuId:e,availabilityId:""}))),[m,p,v]=(0,s.cG)("skuSelectorSubscriptionText","skuSelectorProductText","listItemAccessibilityLabelFormat"),g=(0,i.mzJ)(i.pvY.SkuId,""),_=(0,x.zM)(),y=(0,c.d4)((e=>(0,yt.Ct)(e,u,g)));if(!(null===y||void 0===y?void 0:y.product)||!(null===y||void 0===y?void 0:y.sku))return null;const b=(0,i.JSV)(y.product.productFamily,f.K8.Passes)?m:p,E={actionOverride:n,buttonType:r,listItemAccessibilityFormat:v,productIdentifiers:d,telemetryProps:(0,x.nO)({behavior:x.nS.SHOW,contentName:b,id:"SkuSelectorButton",slotNumber:o},_),title:b};switch(a){case En.nl.CondensedDesktop:return l.createElement(Vi,h()({},E));case En.nl.Desktop:return l.createElement(oo,h()(h()({},E),{},{buttonAccessibilityLabel:b,subTitle:y.sku.skuTitle||y.product.title,preferSkuValues:!0,title:E.title.toLocaleUpperCase()}));case En.nl.CondensedMobile:case En.nl.Mobile:return l.createElement(Gi,h()(h()({},E),{},{subTitle:a===En.nl.CondensedMobile?void 0:y.sku.skuTitle||y.product.title,className:Fr(!0,En.nl.Mobile,a===En.nl.Mobile?"SkuSelectorButton-module__multipleLineMobileButton___PLOYk":void 0)}));case En.nl.MobileStickyHeader:return l.createElement(Gi,h()(h()({},E),{},{className:dr}));case En.nl.Overflow:return l.createElement(qi,h()({},E));default:return null}},[En.Ay.Trial]:e=>{let{actionArguments:t}=e,n=C()(e,is);const{[Ct.PZ.UpsellProductId]:r}=t;return r?l.createElement(es,h()(h()({},n),{},{actionArguments:t,upsellProductId:r})):l.createElement($i,h()(h()({},n),{},{actionArguments:t}))},[En.Ay.Upsell]:e=>{let{actionArguments:t}=e,n=C()(e,Ml);const{[Ct.PZ.UpsellProductIdsList]:r,[Ct.PZ.UpsellProductIdsComingSoonList]:a}=t,o=(0,l.useContext)(oa),s=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableMultiUpsellButton))),u=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableComingSoonUpsell))),d=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableDefaultUltimateUpsell))),m=h()(h()({},t),{},{[Ct.PZ.UpsellProductIdsList]:null!==r&&void 0!==r?r:"",[Ct.PZ.UpsellProductIdsComingSoonList]:u&&null!==a&&void 0!==a?a:"",[Ct.PZ.GlyphProductId]:d&&Ol(r)?f.b6:""});let p;return p=!s||!(r||u&&a)||d&&Ol(r)||o===En._z.ContextualStore?gl:Il,l.createElement(p,h()(h()({},n),{},{actionArguments:m}))},[En.Ay.Wishlist]:e=>{var t;const[n,r]=[e.actionArguments[Ct.PZ.ProductId],e.actionArguments[Ct.PZ.SkuId]],a=(0,c.wA)(),o=(0,c.d4)(nn.ct),d=(0,x.zM)(),m=(0,i.wwE)(),p=(0,i.AzV)(),h=(0,c.d4)((e=>(0,yt.u6)(e,Ct.s3)));let v=(0,A._4)(e.actionArguments[Ct.PZ.IsOnWishlist]);h&&(v=!!(null===(t=h.products)||void 0===t?void 0:t.find((e=>e&&(0,i.XBe)(e.productId)===(0,i.XBe)(n)&&(0,i.XBe)(e.skuId)===(0,i.XBe)(r)))));const[g,_]=(0,l.useState)(),[y,b]=(0,l.useState)(!1),[E,S]=(0,l.useState)(!1),[C,P]=(0,l.useState)(v),[T,w,I,k,N,L]=(0,s.cG)("actionErrorMessage","addToWishListAccessibilityTemplate","addToWishListText","addToWishlistProcessingButtonAccessibilityLabelFormat","openWishlistButtonAccessibilityLabel","reloadPageRequestMessage"),M=(0,c.d4)((e=>(0,yt.t7)(e,n,r)));if(!M||!M.product||!n||!r)return null;const O=(0,x.nO)({behavior:C?x.nS.NAVIGATIONFORWARD:x.nS.ADDWISHLIST,contentName:C?N:I,id:"WishlistButton",slotNumber:e.slotNumber},d),R=(0,i.GPZ)(w,M.product.title),D=(0,i.GPZ)(k,M.product.title),B=e=>{S(!1),b(!0),e&&_(e.name)},F=()=>{P(!0),S(!1)};return l.createElement(l.Fragment,null,l.createElement(Ta,{actionAccessibilityLabel:R,actionIcon:Rl,actionLabel:I,behavior:C?x.nS.OTHER:x.nS.ADDWISHLIST,buttonId:"WishlistButton",buttonType:e.buttonType,experienceButtonType:e.experienceButtonType,navigationAccessibilityLabel:N,navigationHref:"/wishlist",navigationIcon:Dl,navigationLabel:N,onClick:()=>{if(o)S(!0),a(yt.DS.addWishListItem.start(F,B,Ct.s3,n,r));else{const e=(0,i.XBe)(n)===f.hd?p(window.location.href):m(window.location.href);window.location.assign(e)}},processingAccessibilityLabel:D,slotNumber:e.slotNumber,showSpinner:E,state:C,telemetryProps:O}),y&&l.createElement(u.aF,{className:sr,closeable:!0,show:y,onHide:()=>b(!1),ariaLabel:T},l.createElement(de,{errorCode:g,errorMessage:T,userRequestMessage:L})))}},Ul=(e,t,n,r,a)=>{let{actionType:o,actionArguments:i={}}=t;const s=Fl[o];s&&e.push(l.createElement(s,{key:`${o}-index-${n}`,actionArguments:i,actionOverride:a,experienceButtonType:r,buttonType:0===n?se.VQ.Brand:se.VQ.Primary,slotNumber:n}))},Hl=(e,t,n,r,a)=>{const o=[],i=[],s=[];return e.forEach(((l,c)=>{const u=a&&a[l.actionType],d=u?()=>u(null===l||void 0===l?void 0:l.actionArguments):void 0;o.length+i.length(En.y1[e.actionType]||Number.MAX_SAFE_INTEGER)-(En.y1[t.actionType]||Number.MAX_SAFE_INTEGER),Gl=(e,t)=>{const n=(e=>{if(!e||0===e.length)return;const t=[{id:f.Tw,title:f.Zw},{id:f.BO,title:f.TW},{id:f.CZ,title:f.d2},{id:f.Es,title:f.n8},{id:f.KJ,title:f.j4},{id:f.mr,title:f.n_}];for(const n of t)if(e.includes(n.id))return n.title})(er(e)||[]);return{lowestSubscriptionTierName:n,isProductIncludedInSubscription:((e,t)=>{if(!e||!t)return!1;const n={[f.CZ]:[f.Zw,f.TW,f.d2],[f.BO]:[f.Zw,f.TW],[f.Tw]:[f.Zw],[f.Es]:[f.n8],[f.KJ]:[f.j4],[f.mr]:[f.n_]}[t];return!!n&&n.includes(e)})(n,(0,i.XBe)(t))}},ql=(e,t)=>({onlyGamePass:e.every((e=>f.Ix.includes(e.passProductId))),atLeastOneGamePass:e.some((e=>f.Ix.includes(e.passProductId))),userHasGamePassEntitlement:!!t&&f.Ix.includes(t.productId)});const zl=e=>{const t=(0,s.FE)("actionPanelOverflowButtonAccessibilityLabel"),[n,r]=(0,l.useState)(En.nl.CondensedDesktop),a=u.i5[u.JP.XS];(0,l.useEffect)((()=>{const e=window.matchMedia("(orientation: landscape)");e.matches&&window.innerHeight<=a&&r(En.nl.CondensedMobile),!e.matches&&window.innerWidth<=a&&r(En.nl.CondensedMobile)}),[a]);const{primaryButtons:o,secondaryButtons:i,overflowChildren:c}=Hl(e.actionsList,n,2,!1,e.productActionTypeToActionOverride),d=o.concat(i);return c.length>1&&d.push(l.createElement(Ar,{accessibilityLabel:t,containingElementRef:e.containingElementRef,experienceButtonType:n,slotNumber:d.length,key:"Action-Panel-Overflow-Button"},c)),l.createElement(l.Fragment,null,l.createElement("div",{className:"ContextualStoreActionPanelLayout-module__condensedDesktopProductActionsPanel___u-aMC"},d),l.createElement(Xl,{buttons:d}),l.createElement(jl,{buttons:d}))},Xl=e=>{let{buttons:t}=e;return l.createElement("div",{className:"ContextualStoreActionPanelLayout-module__mobilePortraitProductActionsPanel___AsFJC"},l.createElement("div",null,t[1],t[2]),t[0])},jl=e=>{let{buttons:t}=e;return l.createElement("div",{className:"ContextualStoreActionPanelLayout-module__mobileLandscapeProductActionsPanel___-QiXD"},l.createElement("div",null,t[0],t[1],t[2]))};var Wl="ProductActionsPanel-module__desktopProductActionsPanel___J1Jn3",$l="ProductActionsPanel-module__orSeparator___isj1r";const Jl=e=>{(0,A.Lv)();const t=(0,u.T8)(),n=(0,s.FE)("actionPanelOverflowButtonAccessibilityLabel");let r=4,a=En.nl.Desktop;switch(t){case u.JP.XXS:case u.JP.XS:case u.JP.SM:r=2,a=En.nl.Mobile;break;case u.JP.MD:r=2;break;case u.JP.LG:r=3}const{primaryButtons:o,secondaryButtons:i,overflowChildren:c}=Hl(e.actionsList,a,r,a!==En.nl.Mobile,e.productActionTypeToActionOverride),d=o.concat(i);let m;return t<=u.JP.SM?m=l.createElement("div",{className:"PDPActionPanelLayout-module__mobileProductActionsPanel___F8s4J"},d[0],d.length>1&&l.createElement("div",null,d[1],c.length>0&&l.createElement(Ar,{accessibilityLabel:n,experienceButtonType:a,slotNumber:2},c))):(o.length>1&&!Ql(e.actionsList)&&d.splice(1,0,l.createElement(Kl,{key:"OR"})),c.length>1&&d.push(l.createElement(Ar,{accessibilityLabel:n,containingElementRef:e.containingElementRef,experienceButtonType:a,slotNumber:d.length,key:"Action-Panel-Overflow-Button"},c)),m=l.createElement(P.FocusContainer,{className:Wl},d)),m},Kl=()=>{const e=(0,s.FE)("orSeparatorText");return l.createElement("span",{className:$l},e)},Ql=e=>{const t=e.some((e=>e.actionType===En.Ay.AccountLink)),n=e.some((e=>{const t=e.actionArguments?e.actionArguments[Ct.PZ.IsDisabled]:"";return e.actionType===En.Ay.Acquisition&&(0,A._4)(t)}));return t&&n};const Yl=e=>{(0,A.Lv)();const t=(0,u.T8)(),n=(0,s.FE)("actionPanelOverflowButtonAccessibilityLabel");let r=4;switch(t){case u.JP.XXS:case u.JP.XS:case u.JP.SM:case u.JP.MD:r=2;break;case u.JP.LG:r=3}const a=t<=u.JP.SM,o=a?En.nl.MobileStickyHeader:En.nl.Desktop,{primaryButtons:i,secondaryButtons:c,overflowChildren:d}=Hl(e.actionsList,o,r,!1),m=i.concat(c);return i.length>1&&t>u.JP.SM&&m.splice(1,0,l.createElement(Zl,{key:"OR"})),d.length>0&&m.push(l.createElement(l.Fragment,null,a&&l.createElement("div",{className:"PDPPageBarActionPanelLayout-module__overflowSeparator___g01Hh"}),l.createElement(Ar,{accessibilityLabel:n,experienceButtonType:o,slotNumber:m.length,key:"Page-Bar-Action-Panel-Overflow-Button",overrideClassName:y()([Y,Sr])},d))),l.createElement(P.FocusContainer,{className:y()(a?"PDPPageBarActionPanelLayout-module__mobileProductActionsPanel___PmqB6":Wl,a?"PDPPageBarActionPanelLayout-module__stickyHeaderMobileText___eavIU":E.TF)},m)},Zl=()=>{const e=(0,s.FE)("orSeparatorText");return l.createElement("span",{className:$l},e)};const ec=e=>{var t;const[n,r,a,o,i,c,u]=(0,s.cG)("errorButtonText","errorButtonAccessibilityLabel","pleaseTryAgainMessage","actionFetchErrorMessage","reloadPageRequestMessage","reloadPageButtonText","cancelButtonText"),d=(0,x.zM)(),m=(0,x.nO)({behavior:x.nS.SHOW,contentName:n,id:"ErrorButton",slotNumber:0},d),p=null===(t=e.error)||void 0===t?void 0:t.httpStatusCode,h=()=>{"undefined"!==typeof location&&location.reload()};return l.createElement(oe,null,l.createElement(oe.Button,{accessibilityLabel:r,buttonType:se.VQ.Primary,className:ir,telemetryProps:m},l.createElement("div",{className:E.TF},n),l.createElement("div",{className:E.cb},a)),l.createElement(oe.Flyout,null,l.createElement(ne,null,(e=>l.createElement(de,{className:"ErrorButton-module__flyoutContentContainer___-uOkR",errorCode:null===p||void 0===p?void 0:p.toString(),errorMessage:o,primaryButtonAction:h,primaryButtonText:c,secondaryButtonAction:e.closeFlyout,secondaryButtonText:u,userRequestMessage:i})))))};n(36745);var tc="LoadingButtonPanel-module__shimmerAddons___LfBS4",nc="LoadingButtonPanel-module__shimmerBackground1___9hgH0",rc="LoadingButtonPanel-module__smallLoadingButton___zFPmW";const ac=()=>{let e="LoadingButtonPanel-module__desktopLoadingButtonPanel___A6zGo";const t=[];switch((0,u.T8)()){default:case u.JP.XL:t.unshift(l.createElement("div",{key:"Desktop Loading_Button_5",className:y()(rc,we.iM,tc,"LoadingButtonPanel-module__shimmerBackground5___ivz+n")}));case u.JP.LG:t.unshift(l.createElement("div",{key:"Desktop Loading_Button_4",className:y()(rc,we.iM,tc,"LoadingButtonPanel-module__shimmerBackground4___di0xE")}));case u.JP.MD:t.unshift(l.createElement("div",{key:"Desktop Loading_Button_3",className:y()(rc,we.iM,tc,"LoadingButtonPanel-module__shimmerBackground3___zcVff")})),t.unshift(l.createElement("div",{key:"Desktop Loading_Button_2",className:y()("LoadingButtonPanel-module__largeLoadingButton___ebOUG",we.iM,tc,"LoadingButtonPanel-module__shimmerBackground2___L-v+N")})),t.unshift(l.createElement("div",{key:"Desktop Loading_Button_1",className:y()("LoadingButtonPanel-module__mediumLoadingButton___40Gcb",we.iM,tc,nc)}));break;case u.JP.SM:case u.JP.XS:case u.JP.XXS:e="LoadingButtonPanel-module__mobileLoadingButtonPanel___EIz1q",t.push(l.createElement("div",{key:"Mobile Loading_Button_1",className:y()(we.iM,tc,nc)})),t.push(l.createElement("div",{key:"Mobile Loading_Button_2",className:y()(we.iM,tc,"LoadingButtonPanel-module__mobileShimmerBackground___behtU")}))}return l.createElement("div",{className:e},t)},oc=l.memo((e=>{const t=e.productId,n=(0,c.d4)((e=>(0,yt.fO)(e,t))),r=()=>l.createElement(sc,null);return l.createElement(oa.Provider,{value:e.actionPanelContext},l.createElement(De,{key:`PAP_${t}_${e.selectedSkuId}}`,lceState:n,content:t=>l.createElement(ic,h()({productActions:t.data.productActions,skuActions:t.data.skuActionsBySkuId},e)),error:e=>l.createElement(ec,{error:e.error}),defaultRender:r,isFetching:()=>l.createElement(ac,null),isNotRequested:r}))}),((e,t)=>(0,i.XBe)(e.productId)===(0,i.XBe)(t.productId)&&(0,i.XBe)(e.selectedSkuId||"")===(0,i.XBe)(t.selectedSkuId||""))),ic=e=>{const t=(0,u.T8)(),{containingElementRef:n,hideOpenInStore:r,hideWishList:a,selectedSkuId:o,contentTelemetry:s,productActions:c,skuActions:d,productId:m,productActionTypeToActionOverride:p}=e,f=[c];o&&f.push(d[(0,i.XBe)(o)]);const v=((e,t,n,r)=>{const a={};return e.filter((e=>!!e)).forEach((e=>{e.filter((e=>!!e)).forEach((e=>{e.actionType===En.Ay.EditionSelector&&t<=u.JP.SM||e.actionType===En.Ay.OpenInStore&&n||e.actionType===En.Ay.Wishlist&&r||(a[e.actionType]=e)}))})),Object.values(a)})(f,t,r,a);v.sort(Vl);const g={actionsList:v,containingElementRef:n,productActionTypeToActionOverride:p};let _,y;switch((0,l.useContext)(oa)){case En._z.ContextualStore:_=zl,y="ContextualStore-ProductActionsPanel";break;case En._z.PDPPageBar:_=Yl,y="PDPPageBar-ProductActionsPanel";break;case En._z.PDP:default:_=Jl,y="ProductActionsPanel"}const b=(0,x.nO)({areaName:y,contentType:x.cM.Button,productId:m,skuId:o},s);return l.createElement(x.Q8.Provider,{value:b},l.createElement(_,h()({},g)))},sc=()=>{let e;switch((0,u.T8)()){case u.JP.XXS:case u.JP.XS:case u.JP.SM:e="ProductActionsPanel-module__mobileProductActionsPanelPlaceholder___VTlrI";break;case u.JP.MD:case u.JP.LG:default:e=Wl}return l.createElement("div",{className:e})};var lc="TargetedOfferHeadline-module__offerBadgeText___k15V1";const cc=e=>{var t,n,r,a;const{productId:o,skuId:u,isXPriceStorewideOffer:d}=e,m=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableDealXPriceText))),[p,h,v,g]=(0,s.cG)("productCardJustForYouFooterMessage","targetedOfferPromoMessageFormat","productCardDealForYouFooterMessage","upgradeOfferBadge"),_=(0,c.d4)((e=>(0,yt.Ct)(e,o,u))),b=null===_||void 0===_?void 0:_.availability,S=null===(t=null===b||void 0===b?void 0:b.price)||void 0===t?void 0:t.eligibilityInfo,C=null===b||void 0===b?void 0:b.price,P=(null===(n=null===C||void 0===C?void 0:C.xPriceOfferInfo)||void 0===n?void 0:n.xPriceOfferSubType)===f.sB.UpgradedDifferentialOffer||(null===(r=null===C||void 0===C?void 0:C.xPriceOfferInfo)||void 0===r?void 0:r.xPriceOfferSubType)===f.sB.UpgradedDifferentialOfferString;if(!(P||(null===S||void 0===S?void 0:S.type)===f.h9.XPrice)||!C)return null;const T=(0,f.Un)(C.msrp,C.listPrice),w=(0,i.GPZ)(h,T.toString(),null!==(a=null===S||void 0===S?void 0:S.affirmationMessage)&&void 0!==a?a:"");return l.createElement("div",{className:"TargetedOfferHeadline-module__offerBadge___hdx-5"},P?l.createElement("div",{className:y()(E.Vv,lc,"TargetedOfferHeadline-module__upgradeOfferBadge___bx7gs")},g):!d&&l.createElement("div",{className:y()(E.Vv,lc,"TargetedOfferHeadline-module__justForYouBadgeText___gBX2j")},m?v:p),l.createElement("div",{className:"TargetedOfferHeadline-module__promoMessage___xyITh"},w))};const uc=e=>{var t,n,r,a;const{productId:o,skuId:d,availabilityId:p,onGoBack:h,onPurchaseAction:v,onGiftAction:g,onRedeemAction:_,setIsLoading:b,onError:S,onOpenStoreUrl:C,onShowSkuPicker:P,hideShowInStore:T,hideWishList:w}=e,[I,k,x]=(0,s.cG)("skuProductTitleTemplate","publishedByTemplate","upgradeOfferRemarkText"),A=(0,l.useRef)(null),N=(0,c.d4)(i.rPt),L=(0,Ct.ww)(o,void 0,d,p),M=(0,c.d4)((e=>(0,yt.y7)(e,o,d,p)));$(h,!0),(0,l.useEffect)((()=>{M&&(b(!1),M.sku&&M.availability||S(new Error("Missing sku or availability information")))}),[S,M,b]);const O=null===M||void 0===M?void 0:M.product,R=null===M||void 0===M?void 0:M.sku,D=null===M||void 0===M?void 0:M.availability,B=null===(t=null===M||void 0===M?void 0:M.availability)||void 0===t?void 0:t.price,F=(null===(n=null===B||void 0===B?void 0:B.xPriceOfferInfo)||void 0===n?void 0:n.xPriceOfferSubType)===f.sB.UpgradedDifferentialOffer||(null===(r=null===B||void 0===B?void 0:B.xPriceOfferInfo)||void 0===r?void 0:r.xPriceOfferSubType)===f.sB.UpgradedDifferentialOfferString;if(!O||!R||!D)return null;const U=!!(null===(a=null===B||void 0===B?void 0:B.xPriceOfferInfo)||void 0===a?void 0:a.isXPriceStorewideOffer),H=R.skuTitle&&R.skuTitle!==O.title?(0,i.GPZ)(I,O.title,R.skuTitle):O.title,V=O.publisherName?(0,i.GPZ)(k,O.publisherName):"",G=(0,f.CS)(O,R),q=(0,f.CQ)(O,R),z=(0,f.uM)(O,R),X={[En.Ay.Acquisition]:v,[En.Ay.BuyToOwn]:v,[En.Ay.Extend]:v,[En.Ay.OpenInStore]:()=>C(L),[En.Ay.SkuSelector]:P,[En.Ay.Trial]:v};g&&(X[En.Ay.Gift]=g),_&&(X[En.Ay.RedeemACode]=_);const j=!!O.contentRating&&!!O.legalNotices;return l.createElement("div",{className:"DesktopMiniProductDetailsPage-module__miniPdpContainer___2wqKo",ref:A},l.createElement("div",{className:"DesktopMiniProductDetailsPage-module__heroContainer___uIgks"},l.createElement(u._V,{className:"DesktopMiniProductDetailsPage-module__heroImage___ug064",src:null===q||void 0===q?void 0:q.url,width:608,height:714,alt:(null===q||void 0===q?void 0:q.caption)||H,hideShadow:!0,fluid:!0}),l.createElement("div",{className:"DesktopMiniProductDetailsPage-module__heroLinearGradient___DcNWn"})),l.createElement("div",{className:"DesktopMiniProductDetailsPage-module__informationContainer___Ur19o"},l.createElement("div",{className:"DesktopMiniProductDetailsPage-module__identityContainer___AOkmQ"},l.createElement(u._V,{height:144,width:96,src:null===G||void 0===G?void 0:G.url,alt:(null===G||void 0===G?void 0:G.caption)||H,className:"DesktopMiniProductDetailsPage-module__boxArtImage___MqLkW"}),l.createElement("div",{className:"DesktopMiniProductDetailsPage-module__identityInformationContainer___fJNGD"},l.createElement("h1",{className:y()(E.tY,"DesktopMiniProductDetailsPage-module__titleFontAdjustments___ExUih")},H),l.createElement("p",{className:y()(E._o,"DesktopMiniProductDetailsPage-module__subtitleTextAdjustments___C68Mg")},V),(0,f.oX)(M)&&l.createElement(f.Y9,{productInfo:M,className:E.me,historicalLowestListPrice:M.sku.historicalLowestListPrice,discountDetailClassName:E._o,hideDiscountMessage:F}),(F||!U)&&l.createElement("div",{className:"DesktopMiniProductDetailsPage-module__badgeWrapper___S3faN"},l.createElement(cc,{productId:o,isXPriceStorewideOffer:U})))),l.createElement(fe,{className:"DesktopMiniProductDetailsPage-module__scrollableDescriptorsContainer___ANdBn",focusable:!0,gradientColorOverride:N.theme===i.Sxu.Dark?sn:ln},l.createElement("div",{className:"DesktopMiniProductDetailsPage-module__descriptorsContainer___jHE5l"},l.createElement(Wn,{productId:o,itemClassName:"DesktopMiniProductDetailsPage-module__playableOnItemOverride___KZQ+6",titleClassName:y()(E.SM,"DesktopMiniProductDetailsPage-module__playableOnTitle___lbh2d"),className:"DesktopMiniProductDetailsPage-module__playableOnContainer___AFmRm"}),l.createElement("div",{className:y()(E.SM,"DesktopMiniProductDetailsPage-module__description___D71J3")},z))),l.createElement("div",{className:"DesktopMiniProductDetailsPage-module__actionPanelContainer___Bcbma"},l.createElement(oc,{actionPanelContext:En._z.ContextualStore,containingElementRef:A,hideOpenInStore:T,hideWishList:w,productActionTypeToActionOverride:X,productId:o,selectedSkuId:d})),F&&l.createElement("p",{className:y()(E.Q2,"DesktopMiniProductDetailsPage-module__upgradeOfferRemarkText___wT+Tc")},x),l.createElement("div",{className:y()("DesktopMiniProductDetailsPage-module__legalContainer___TJalL",j?"DesktopMiniProductDetailsPage-module__legalItemsWidthAdjustment___C1F2p":"")},l.createElement(m,{productId:o,className:"DesktopMiniProductDetailsPage-module__rating___KetXe"}),j&&l.createElement("div",{className:"DesktopMiniProductDetailsPage-module__dividingLine___g+EAG"}),l.createElement("div",null,l.createElement(Ln,{productId:o,className:E.Q})))))};var dc="SkuPickerButton-module__ellipseOnOverflow___eiTTG",mc="SkuPickerButton-module__noBottomMargin___nYQTb";const pc=e=>{var t,n,r,a;const{className:o,productId:m,skuId:p,availabilityId:h,onClick:v}=e,g=(0,c.d4)(i.P6r),_=(0,c.d4)((e=>(0,d.y7)(e,m,p,h))),b=(0,s.FE)("plusSignDelimiterStringTemplate"),E=null===(t=null===_||void 0===_?void 0:_.sku)||void 0===t?void 0:t.skuTitle,S=null===(n=null===_||void 0===_?void 0:_.availability)||void 0===n?void 0:n.promotionalDuration,C=null===(r=null===_||void 0===_?void 0:_.availability)||void 0===r?void 0:r.price,P=(0,f.i_)(S),w=C&&(0,i.vv8)(C.listPrice,C.currency,g),I=E&&P?(0,i.GPZ)(b,E,P):E;return l.createElement(T.T,{as:"button",className:o,icon:Pe.A,buttonType:se.VQ.Secondary,overlayMode:se.w9.Solid,onClick:v},l.createElement(u.fI,{className:(0,u.ve)("width",100)},!!I&&l.createElement(u.VP,{xs:9},l.createElement("p",{className:y()(mc,dc)},I)),C&&l.createElement(u.VP,{xs:3,className:"SkuPickerButton-module__priceInfo___WpcBt"},l.createElement("p",{className:y()(mc,dc)},`${w}${(null===(a=null===_||void 0===_?void 0:_.product)||void 0===a?void 0:a.hasAddOns)?"+":""}`))))};var hc="ContextualStoreProductDetailsPage-module__marginBottom1___vx0XP",fc="ContextualStoreProductDetailsPage-module__marginTop1___fzkzL",vc="ContextualStoreProductDetailsPage-module__multipleButtonRow___YefIf",gc="ContextualStoreProductDetailsPage-module__originalAndCurrentPrice___LmnPR",_c="ContextualStoreProductDetailsPage-module__paddingLeft0___gaLHu",yc="ContextualStoreProductDetailsPage-module__seeInStoreButtonContent___JfSNJ",bc="ContextualStoreProductDetailsPage-module__skuPicker___Y81pW",Ec="ContextualStoreProductDetailsPage-module__skuPickerContainer___-xrrl",Sc="ContextualStoreProductDetailsPage-module__storeLinkButton___CPriI",Cc="ContextualStoreProductDetailsPage-module__uiExpActionButton___5lfV2",Pc="ContextualStoreProductDetailsPage-module__upShiftContainers___1bo+v",Tc="ContextualStoreProductDetailsPage-module__width100___Rn+5k";const wc=["productId","skuId","availabilityId","setIsLoading","onError"];function Ic(e){let{productId:t,skuId:n,availabilityId:r,setIsLoading:a,onError:o}=e,i=C()(e,wc);const s=(0,c.d4)((e=>(0,yt.y7)(e,t,n,r)));return(0,l.useEffect)((()=>{s&&(a(!1),s.sku&&s.availability||o(new Error("Missing sku or availability information")))}),[o,s,a]),(0,f.oX)(s)?l.createElement(kc,h()({productSummaryInfo:s,productId:t,skuId:n,availabilityId:r,setIsLoading:a,onError:o},i)):null}const kc=e=>{var t,n,r;const{productId:a,skuId:o,availabilityId:d,hideShowInStore:p,trackingParams:v,xStoreScenario:g,itemType:_,clientType:b,onPurchaseAction:S,setIsLoading:C,onShowSkuPicker:T,onGoBack:w,onOpenStoreUrl:I,isTvAgent:k,productSummaryInfo:x}=e,[A,N,L,M,O,R,D,B,F,U,H]=(0,s.cG)("buyActionText","buyActionAccessibilityTextWithPrice","nextActionText","getActionText","getActionAccessibilityTextWithPrice","selectOfferText","seeInStoreButtonText","buyOnPhoneButtonText","joinOnPhoneButtonText","subscriptionRecurrenceLegalNotice","dlcRequiresGameLegalNotice"),[V,G]=(0,l.useState)(!1),q=(0,c.d4)((e=>(0,yt.qq)(e,a))),z=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableTVPurchaseFlow))),X=(0,c.d4)(i.a5u),j=(0,c.d4)(i.GYd).origin;$(w,!0);const W=x.sku,J=x.availability.price,K=(0,f.TZ)(x),Q=(0,s.FE)("skuProductTitleTemplate",null!==(t=x.product.title)&&void 0!==t?t:"",null!==(n=x.sku.skuTitle)&&void 0!==n?n:""),Y=x.product,Z=q.length>1,ee=W.skuTitle&&W.skuTitle!==Y.title?Q:Y.title,te=Y.publisherName,ne=J&&J.listPrice<=0,re=Y.productFamily===f.K8.Subscription||Y.productFamily===f.K8.Passes,ae=(0,f.tu)(Y.productKind),oe=ne?M:re?L:A,ie=K&&(0,i.GPZ)(ne?O:re?L:N,ee,K.lowestPrice||""),se=(0,f.CQ)(Y,W),le=(0,f.CS)(Y,W),ce=le&&!re?le:(0,f.NO)(Y,W),ue=(0,f.uM)(Y,W),de={productId:a,skuId:o,availabilityId:d},me=(null===(r=W.recurrencePolicySummary)||void 0===r?void 0:r.isRecurring)?U:void 0,pe={locPrimaryActionAccessibilityText:ie,handleOnPurchaseAction:()=>{C(!0),S()},locPrimaryActionText:oe,openPdpInNewWindow:()=>{const e=(0,Ct.N7)(j,X,a,ee,o,d);I?I(e):window.open(e,"_blank")}},he=k?l.createElement(xc,h()(h()({},pe),{},{showSkuPickerButton:Z,locSelectOfferText:R,locale:X,title:Q,productId:a,selectedPSA:de,tvAgentCTAText:re?F:B,trackingParams:v,xStoreScenario:g,itemType:_,clientType:b,enablePurchaseFlow:z,onShowSkuPicker:T})):l.createElement(Ac,h()(h()({},pe),{},{hideShowInStore:p,seeInStoreButtonText:D}));return l.createElement("div",{className:y()("ContextualStoreProductDetailsPage-module__rootContainer___LKLDG")},l.createElement("div",{className:"ContextualStoreProductDetailsPage-module__heroContainer___bI3Qf"},l.createElement(u._V,{className:y()(Tc,"ContextualStoreProductDetailsPage-module__heroImage___6vJQV"),src:null===se||void 0===se?void 0:se.url,width:480,height:270,hideShadow:!0,fluid:!0,alt:(null===se||void 0===se?void 0:se.caption)||ee}),l.createElement("div",{className:"ContextualStoreProductDetailsPage-module__heroLinearGradient___TaUmc"})),l.createElement(u.mc,{className:"ContextualStoreProductDetailsPage-module__body___LV6g1"},l.createElement("div",{className:y()("ContextualStoreProductDetailsPage-module__justifyContentCenter___oyHc8","ContextualStoreProductDetailsPage-module__displayFlex___cTCTp",Pc)},l.createElement(u._V,{className:y()("shadow","ContextualStoreProductDetailsPage-module__portraitProductImage___+4ts6"),width:96,height:144,src:null===le||void 0===le?void 0:le.url,fluid:!0,alt:(null===se||void 0===se?void 0:se.caption)||ee}),l.createElement("div",{className:"ContextualStoreProductDetailsPage-module__productItem___V63iN"},l.createElement("div",{className:"ContextualStoreProductDetailsPage-module__landscapeProductImageContainer___aRkqe"},l.createElement(u._V,{src:null===ce||void 0===ce?void 0:ce.url,className:"ContextualStoreProductDetailsPage-module__landscapeProductImage___EF3wD",width:96,height:96,fluid:!0,alt:(null===se||void 0===se?void 0:se.caption)||ee})),l.createElement("div",{className:"ContextualStoreProductDetailsPage-module__info___Rz2G1"},l.createElement("h2",{className:y()(E.AP,"ContextualStoreProductDetailsPage-module__landscapeTitle___faUoV")},ee),l.createElement(f.Y9,{className:y()("ContextualStoreProductDetailsPage-module__priceDetails___Vy-Ax",E.cb),productInfo:x,originalPriceClassName:gc,listedPriceClassName:gc,discountDetailClassName:"ContextualStoreProductDetailsPage-module__discountDetails___kiTTE"}),!!me&&l.createElement("div",{className:y()("ContextualStoreProductDetailsPage-module__legalMessage___xhfMH",E.SM)},l.createElement("span",null,me)),ae&&l.createElement("span",{className:y()("ContextualStoreProductDetailsPage-module__dlcMessage___Y7p8n",E.cb)},H)))),l.createElement("div",{className:y()("ContextualStoreProductDetailsPage-module__portraitHeader___bDcBi",Pc)},l.createElement("h2",{className:y()(E.AP,"ContextualStoreProductDetailsPage-module__portraitTitle___WgGK6")},ee),l.createElement("div",{className:y()("ContextualStoreProductDetailsPage-module__productSubtitle___Q97sz",E.Q)},l.createElement("p",{className:"ContextualStoreProductDetailsPage-module__marginBottom0___ZPgNJ"},te))),l.createElement(P.GamepadScrollable,{className:y()("ContextualStoreProductDetailsPage-module__productInfoContainer___dMhhj",Pc,{"ContextualStoreProductDetailsPage-module__productInfoContainerFocused___CdVX1":V}),maxScrollPixels:155,onFocus:()=>G(!0),onBlur:()=>G(!1)},l.createElement("div",{className:y()("ContextualStoreProductDetailsPage-module__skuInfoContainer___w8l2m")},!re&&l.createElement(m,{productId:a,className:"ContextualStoreProductDetailsPage-module__ageRatingInfo___ahA2t"}),l.createElement("div",{className:"ContextualStoreProductDetailsPage-module__portraitPrice___4Mxfs"},l.createElement(f.Y9,{className:E.cb,productInfo:x})),!!me&&l.createElement("div",{className:y()("ContextualStoreProductDetailsPage-module__portraitLegalMessages___VguOH",E.SM)},l.createElement("span",null,me)),Z&&!k&&l.createElement("div",{className:y()(Ec)},l.createElement("p",{className:y()(E.cb,hc)},R),l.createElement(pc,{className:y()(bc),productId:a,skuId:de.skuId,availabilityId:de.availabilityId,onClick:T})),!re&&l.createElement(jn,{productId:a,className:"ContextualStoreProductDetailsPage-module__playableOnContainer___bQTzM",itemClassName:"ContextualStoreProductDetailsPage-module__playableOnItem___5NF94",titleClassName:y()(E.f9,"ContextualStoreProductDetailsPage-module__playableOnTitle___0Z2tD")})),l.createElement("div",{className:y()("ContextualStoreProductDetailsPage-module__descriptionContainer___rmst4")},l.createElement("span",{className:y()("ContextualStoreProductDetailsPage-module__description___lwQS7",E.SM)},ue))),l.createElement("div",{className:y()(Pc,"ContextualStoreProductDetailsPage-module__multipleButtonContainer___DN-ZY")},he)))},xc=e=>{let{showSkuPickerButton:t,locSelectOfferText:n,locale:r,title:a,productId:o,selectedPSA:i,onShowSkuPicker:s,tvAgentCTAText:c,trackingParams:d,xStoreScenario:m,itemType:p,clientType:h,enablePurchaseFlow:f,locPrimaryActionAccessibilityText:v,handleOnPurchaseAction:g,locPrimaryActionText:_}=e;const b=(0,Ct.zC)(void 0,r,i.productId,a,i.skuId,i.availabilityId||"",void 0,null===d||void 0===d?void 0:d.callerApplicationId,null===d||void 0===d?void 0:d.campaignId,m,p,h),S=(0,l.useRef)(null);return(0,l.useEffect)((()=>{var e;null===(e=S.current)||void 0===e||e.focus()}),[]),l.createElement(u.fI,{className:vc},t&&l.createElement("div",{className:y()(Ec)},l.createElement("p",{className:y()(E.cb,hc)},n),l.createElement(pc,{className:y()(bc),productId:o,skuId:i.skuId,onClick:s})),l.createElement(T.T,{as:"a",icon:wi,className:y()(Sc),buttonType:f?se.VQ.Secondary:se.VQ.Brand,href:b,target:"_blank","data-auto-focus":!f&&"forced",ref:f?void 0:S},l.createElement("div",{className:yc},l.createElement("span",null,c.toLocaleUpperCase()))),f&&l.createElement(w.a,{ref:S,as:"button","aria-label":v,className:y()(Sc),buttonType:se.VQ.Brand,onClick:g,"data-auto-focus":"forced"},_.toLocaleUpperCase()))},Ac=e=>{let{hideShowInStore:t,openPdpInNewWindow:n,seeInStoreButtonText:r,locPrimaryActionAccessibilityText:a,handleOnPurchaseAction:o,locPrimaryActionText:i}=e;return l.createElement(u.fI,{className:vc},!t&&l.createElement(u.VP,{xs:6,className:y()(_c)},l.createElement(fn.j,{as:"a",className:y()(Tc,fc,Cc),buttonType:se.VQ.Primary,onClick:n,style:{cursor:"pointer"},tabIndex:0},l.createElement("div",{className:yc},l.createElement("div",null),l.createElement("span",null,r.toLocaleUpperCase()),l.createElement(g.In,{iconSize:g.lK.XXSmall,className:"ContextualStoreProductDetailsPage-module__seeInStoreExternalUrlIcon___oneUD",icon:Ht.A})))),l.createElement(u.VP,{xs:t?12:6,className:y()(_c,"ContextualStoreProductDetailsPage-module__paddingRight0___gAqxV")},l.createElement(fn.j,{as:"button","aria-label":a,className:y()(Tc,fc,"ContextualStoreProductDetailsPage-module__actionButton___wDRb8",Cc),buttonType:se.VQ.Brand,onClick:o,"data-autofocus":!0},i.toLocaleUpperCase())))};const Nc=e=>{var t,n,r,a;const{availabilityId:o,hideShowInStore:d,hideWishList:p,onError:h,onGoBack:v,onOpenStoreUrl:g,onPurchaseAction:_,onGiftAction:b,onRedeemAction:S,onShowSkuPicker:C,productId:P,setIsLoading:T,skuId:w}=e,[I,k]=(0,s.cG)("skuProductTitleTemplate","publishedByTemplate"),x=(0,c.d4)(i.rPt),A=(0,Ct.ww)(P,void 0,w,o),N=(0,c.d4)((e=>(0,yt.y7)(e,P,w,o)));$(v,!0),(0,l.useEffect)((()=>{N&&(T(!1),N.sku&&N.availability||h(new Error("Missing sku or availability information")))}),[h,N,T]);const L=null===N||void 0===N?void 0:N.product,M=null===N||void 0===N?void 0:N.sku,O=null===N||void 0===N?void 0:N.availability,R=null===(t=null===N||void 0===N?void 0:N.availability)||void 0===t?void 0:t.price,D=(null===(n=null===R||void 0===R?void 0:R.xPriceOfferInfo)||void 0===n?void 0:n.xPriceOfferSubType)===f.sB.UpgradedDifferentialOffer||(null===(r=null===R||void 0===R?void 0:R.xPriceOfferInfo)||void 0===r?void 0:r.xPriceOfferSubType)===f.sB.UpgradedDifferentialOfferString;if(!L||!M||!O)return null;const B=!!(null===(a=null===R||void 0===R?void 0:R.xPriceOfferInfo)||void 0===a?void 0:a.isXPriceStorewideOffer),F=M.skuTitle&&M.skuTitle!==L.title?(0,i.GPZ)(I,L.title,M.skuTitle):L.title,U=L.publisherName?(0,i.GPZ)(k,L.publisherName):"",H=(0,f.CS)(L,M),V=(0,f.CQ)(L,M),G=(0,f.uM)(L,M),q={[En.Ay.Acquisition]:_,[En.Ay.BuyToOwn]:_,[En.Ay.Extend]:_,[En.Ay.OpenInStore]:()=>g(A),[En.Ay.SkuSelector]:C,[En.Ay.Trial]:_};return b&&(q[En.Ay.Gift]=b),S&&(q[En.Ay.RedeemACode]=S),l.createElement("div",{className:"MobilePortraitMiniProductDetailsPage-module__miniPdpContainer___JTHS9"},l.createElement("div",{className:"MobilePortraitMiniProductDetailsPage-module__heroContainer___ARaCo"},l.createElement("img",{className:"MobilePortraitMiniProductDetailsPage-module__heroImage___vCHwR",src:null===V||void 0===V?void 0:V.url,alt:(null===V||void 0===V?void 0:V.caption)||F}),l.createElement("div",{className:"MobilePortraitMiniProductDetailsPage-module__heroLinearGradient___+Dxxg"})),l.createElement("div",{className:"MobilePortraitMiniProductDetailsPage-module__informationContainer___LRiyI"},l.createElement("div",{className:"MobilePortraitMiniProductDetailsPage-module__identityContainerWrapper___FXXWV"},l.createElement("div",{className:"MobilePortraitMiniProductDetailsPage-module__identityContainer___s-wEZ"},l.createElement(u._V,{height:144,width:96,src:null===H||void 0===H?void 0:H.url,alt:(null===H||void 0===H?void 0:H.caption)||F,className:"MobilePortraitMiniProductDetailsPage-module__boxArtImage___T6McP"}),l.createElement("div",{className:"MobilePortraitMiniProductDetailsPage-module__identityInformationContainer___glMX-"},l.createElement("h1",{className:y()(E.tY,"MobilePortraitMiniProductDetailsPage-module__titleFontAdjustments___uO6Sj")},F),l.createElement("p",{className:y()(E._o,"MobilePortraitMiniProductDetailsPage-module__subtitleTextAdjustments___5K2hm")},U),(0,f.oX)(N)&&l.createElement(f.Y9,{productInfo:N,className:E.me,historicalLowestListPrice:N.sku.historicalLowestListPrice,discountDetailClassName:E._o,hideDiscountMessage:D}))),(D||!B)&&l.createElement("div",{className:"MobilePortraitMiniProductDetailsPage-module__badgeWrapper___qVEUL"},l.createElement(cc,{productId:P,isXPriceStorewideOffer:B}))),l.createElement(fe,{className:y()("MobilePortraitMiniProductDetailsPage-module__scrollableDescriptorsContainer___4ULRC",D?"MobilePortraitMiniProductDetailsPage-module__postOffersScrollableDescriptorsContainer___-AAz9":null),gradientColorOverride:x.theme===i.Sxu.Light?ln:sn},l.createElement("div",{className:"MobilePortraitMiniProductDetailsPage-module__descriptorsContainer___SKnCY"},l.createElement(Wn,{productId:P,itemClassName:"MobilePortraitMiniProductDetailsPage-module__playableOnItemOverride___El5iI",titleClassName:y()(E.SM,"MobilePortraitMiniProductDetailsPage-module__playableOnTitle___VcVtx"),className:"MobilePortraitMiniProductDetailsPage-module__playableOnContainer___wcvH0"}),l.createElement(m,{productId:P,className:"MobilePortraitMiniProductDetailsPage-module__rating___ySRgM"}),l.createElement("div",{className:"MobilePortraitMiniProductDetailsPage-module__legalContainer___O3hTJ"},l.createElement(Ln,{productId:P,className:E.Q})),l.createElement("div",{className:E.SM},G))),l.createElement("div",{className:"MobilePortraitMiniProductDetailsPage-module__actionPanelContainer___p4-Ld"},l.createElement(oc,{actionPanelContext:En._z.ContextualStore,hideOpenInStore:d,hideWishList:p,productActionTypeToActionOverride:q,productId:P,selectedSkuId:w}))))};const Lc=e=>{var t;const{isExtraSmallViewport:n,fadingScrollProps:r,boxArtImage:a,isUpgradeAvailable:o,price:i,product:s,productId:c,productSummaryInfo:d,publisherDisplayString:p,sku:v,title:g}=e,_=!!(null===(t=null===i||void 0===i?void 0:i.xPriceOfferInfo)||void 0===t?void 0:t.isXPriceStorewideOffer),b=(0,f.uM)(s,v),S=n?"div":fe,C=n?{}:r,P=e=>{let{children:t}=e;return n?l.createElement(fe,h()({className:"MobileLandscapeMiniProductDetailsPage-module__contentWrapper___i0aam"},r),t):l.createElement(l.Fragment,null,t)};return l.createElement(P,null,l.createElement("div",{className:"MobileLandscapeMiniProductDetailsPage-module__identityContainerWrapper___1M6Pe"},l.createElement("div",{className:"MobileLandscapeMiniProductDetailsPage-module__identityContainer___Ig18B"},l.createElement(u._V,{height:96,width:96,src:null===a||void 0===a?void 0:a.url,alt:(null===a||void 0===a?void 0:a.caption)||g,className:"MobileLandscapeMiniProductDetailsPage-module__boxArtImage___blp53"}),l.createElement("div",{className:"MobileLandscapeMiniProductDetailsPage-module__identityInformationContainer___W5nx8"},l.createElement("h1",{className:y()(E.tY,"MobileLandscapeMiniProductDetailsPage-module__titleFontAdjustments___p9VFe")},g),l.createElement("p",{className:y()(E._o,"MobileLandscapeMiniProductDetailsPage-module__subtitleTextAdjustments___N1aG2")},p),(0,f.oX)(d)&&l.createElement(f.Y9,{productInfo:d,className:E.me,historicalLowestListPrice:d.sku.historicalLowestListPrice,discountDetailClassName:E._o,hideDiscountMessage:o}))),o&&l.createElement("div",{className:"MobileLandscapeMiniProductDetailsPage-module__badgeWrapper___hNkAs"},l.createElement(cc,{productId:c,isXPriceStorewideOffer:_}))),l.createElement(S,h()({className:y()("MobileLandscapeMiniProductDetailsPage-module__scrollableDescriptorsContainer___6KQdD",o?"MobileLandscapeMiniProductDetailsPage-module__postOffersScrollableDescriptorsContainer___Brki8":null)},C),l.createElement("div",{className:"MobileLandscapeMiniProductDetailsPage-module__descriptorsContainer___bP4kR"},l.createElement(Wn,{productId:c,itemClassName:"MobileLandscapeMiniProductDetailsPage-module__playableOnItemOverride___pqJ94",titleClassName:y()(E.SM,"MobileLandscapeMiniProductDetailsPage-module__playableOnTitle___1iwYO"),className:"MobileLandscapeMiniProductDetailsPage-module__playableOnContainer___VowzK"}),l.createElement("div",{className:"MobileLandscapeMiniProductDetailsPage-module__horizontalDescriptorsContainer___6qTXU"},l.createElement("div",{className:"MobileLandscapeMiniProductDetailsPage-module__ratingAndLegalContainer___ZaMT8"},l.createElement(m,{productId:c,className:"MobileLandscapeMiniProductDetailsPage-module__rating___sV5-W"}),l.createElement("div",{className:"MobileLandscapeMiniProductDetailsPage-module__legalContainer___9JX49"},l.createElement(Ln,{productId:c,className:E.Q}))),l.createElement("div",{className:y()(E.SM,"MobileLandscapeMiniProductDetailsPage-module__description___NAjvW")},b)))))},Mc=e=>{var t,n,r;const{availabilityId:a,hideShowInStore:o,hideWishList:d,onError:m,onGoBack:p,onOpenStoreUrl:h,onPurchaseAction:v,onGiftAction:g,onRedeemAction:_,onShowSkuPicker:y,productId:b,setIsLoading:E,skuId:S}=e,[C,P]=(0,s.cG)("skuProductTitleTemplate","publishedByTemplate"),T=(0,c.d4)(i.rPt),w=(0,Ct.ww)(b,void 0,S,a),I=(0,c.d4)((e=>(0,yt.y7)(e,b,S,a)));$(p,!0),(0,l.useEffect)((()=>{I&&(E(!1),I.sku&&I.availability||m(new Error("Missing sku or availability information")))}),[m,I,E]);const k=null===I||void 0===I?void 0:I.product,x=null===I||void 0===I?void 0:I.sku,A=null===I||void 0===I?void 0:I.availability,N=null===(t=null===I||void 0===I?void 0:I.availability)||void 0===t?void 0:t.price,L=(0,u.R5)()h(w),[En.Ay.SkuSelector]:y,[En.Ay.Trial]:v};return g&&(U[En.Ay.Gift]=g),_&&(U[En.Ay.RedeemACode]=_),l.createElement("div",{className:"MobileLandscapeMiniProductDetailsPage-module__miniPdpContainer___1-WEQ"},l.createElement("div",{className:"MobileLandscapeMiniProductDetailsPage-module__heroContainer___NXpwe"},l.createElement("img",{className:"MobileLandscapeMiniProductDetailsPage-module__heroImage___j7rKS",src:null===F||void 0===F?void 0:F.url,alt:(null===F||void 0===F?void 0:F.caption)||R}),l.createElement("div",{className:"MobileLandscapeMiniProductDetailsPage-module__heroLinearGradient___f5sYZ"})),l.createElement("div",{className:"MobileLandscapeMiniProductDetailsPage-module__informationContainer___3x1uo"},l.createElement(Lc,{isExtraSmallViewport:L,fadingScrollProps:M,boxArtImage:B,isUpgradeAvailable:O,publisherDisplayString:D,price:N,product:k,productId:b,productSummaryInfo:I,sku:x,title:R}),l.createElement("div",{className:"MobileLandscapeMiniProductDetailsPage-module__actionPanelContainer___H+pZE"},l.createElement(oc,{actionPanelContext:En._z.ContextualStore,hideOpenInStore:o,hideWishList:d,productActionTypeToActionOverride:U,productId:b,selectedSkuId:S}))))},Oc=e=>{(0,x.qz)("ContextualStoreProductDetails",x.ry.Overlay,{productInfo:{id:e.productId,sku:e.skuId}});const t=(0,c.d4)(i.GYd).userAgent,n=!(0,Zt.yd)(t);return l.createElement(l.Fragment,null,n?l.createElement(Rc,h()({},e)):l.createElement(Ic,h()({},e)))},Rc=e=>{const t=e.onGiftAction,n=t?n=>{if(e.updateSelectedProduct&&n){const[t,r,a]=[n[Ct.PZ.ProductId],n[Ct.PZ.SkuId],n[Ct.PZ.AvailabilityId]],o={productId:null!==t&&void 0!==t?t:"",skuId:null!==r&&void 0!==r?r:"",availabilityId:null!==a&&void 0!==a?a:""};e.updateSelectedProduct(o)}t()}:void 0,r=(0,u.Gp)({desktopComponent:uc,mobilePortraitComponent:Nc,mobileLandscapeComponent:Mc});return r?l.createElement(r,h()(h()({},e),{},{onPurchaseAction:t=>{let n,r,a;if(t&&e.updateSelectedProduct){[n,r,a]=[t[Ct.PZ.ProductId],t[Ct.PZ.SkuId],t[Ct.PZ.AvailabilityId]];const o={productId:null!==n&&void 0!==n?n:"",skuId:null!==r&&void 0!==r?r:"",availabilityId:null!==a&&void 0!==a?a:""};n&&e.updateSelectedProduct(o)}e.onPurchaseAction()},onGiftAction:n,onRedeemAction:e.onRedeemAction})):null};var Dc=n(49760);const Bc=["eventType"],Fc=["eventType"],Uc=["eventType"],Hc={addAuthorization:!0,isRequired:!0,addXblAuthHeader:!0},Vc={anonToken:void 0},Gc={"Content-Type":"application/json"},qc=async(e,t,n,r,a)=>{const o=(e=>({dependencyName:"XTrace",dependencyOperationName:e,operationName:`Send${e}Telemetry`,dependencyOperationVersion:"1.0"}))(n);await(0,Zr.YN)(e,t,Hc,r,a,Vc,void 0,o,!1,Gc)},zc=()=>{const e=(0,x.Gb)(),t=(0,nn.jb)(),n=(0,l.useCallback)((n=>{((e,t,n)=>{let{eventType:r}=e,a=C()(e,Bc);qc("xtraceevents/purchaseInitiated",a,"PurchaseInitiated",t,n).catch((e=>{t.logger().error("XTrace API: sendPurchaseInitiated failed",e)}))})(n,e,t)}),[e,t]),r=(0,l.useCallback)((n=>{((e,t,n)=>{let{eventType:r}=e,a=C()(e,Fc);qc("xtraceevents/purchaseSucceeded",a,"PurchaseSucceeded",t,n).catch((e=>{t.logger().error("XTrace API: sendPurchaseSucceeded failed",e)}))})(n,e,t)}),[e,t]),a=(0,l.useCallback)((n=>{((e,t,n)=>{let{eventType:r}=e,a=C()(e,Uc);qc("xtraceevents/purchaseFailed",a,"PurchaseFailed",t,n).catch((e=>{t.logger().error("XTrace API: sendPurchaseFailed failed",e)}))})(n,e,t)}),[e,t]);return(0,l.useMemo)((()=>({logPurchaseInitiated:n,logPurchaseSucceeded:r,logPurchaseFailed:a})),[n,r,a])},Xc="Gift",jc="Get",Wc="Buy",$c=e=>{var t,n,r,a;const o=(e=>{var t,n,r,a,o;const i=null===(n=null===(t=null===e||void 0===e?void 0:e.availability)||void 0===t?void 0:t.price)||void 0===n?void 0:n.discountPercentage;if(void 0===i)return;return{discountPercentage:i,discountType:null===(o=null===(a=null===(r=null===e||void 0===e?void 0:e.availability)||void 0===r?void 0:r.price)||void 0===a?void 0:a.eligibilityInfo)||void 0===o?void 0:o.type}})(e.productSummaryInfo),i=((e,t)=>{var n,r,a;return e?Xc:0===(null!==(a=null===(r=null===(n=null===t||void 0===t?void 0:t.availability)||void 0===n?void 0:n.price)||void 0===r?void 0:r.listPrice)&&void 0!==a?a:0)?jc:Wc})(e.isGiftScenario,e.productSummaryInfo);return h()({productId:e.productId,productType:null===(n=null===(t=e.productSummaryInfo)||void 0===t?void 0:t.product)||void 0===n?void 0:n.productKind,clientEventTimestamp:(new Date).toISOString(),deviceType:e.deviceInfo.deviceType,skuId:e.skuId,availabilityId:e.availabilityId,market:e.marketInfo.market,campaignId:null!==(a=null===(r=e.trackingParams)||void 0===r?void 0:r.campaignId)&&void 0!==a?a:cn,acquisitionType:i},o&&{pricingInfo:o})},Jc=(e,t,n,r)=>{if(!t)return;const a=$c(n),o=r.eventType;switch(o){case"INITIATED":e.logPurchaseInitiated(h()(h()({},a),r));break;case"SUCCEEDED":e.logPurchaseSucceeded(h()(h()({},a),r));break;case"FAILED":e.logPurchaseFailed(h()(h()({},a),r))}};const Kc=async e=>{const t=await e.acquireTokenSilently(nn.zW.MDollar);return t?(0,nn.xT)(t):null},Qc=X.XboxCom,Yc=[Qc,X.XEWeb,X.XENative,X.XETest,"XboxAppOnAndroid","XboxAppOnIOS"],Zc=(e,t,n)=>{const r=["sc_fincastlebuynowgreenlogo","sc_xboxspinner",...e];n?r.push("sc_inputcontrol"):r.push("sc_xboxclosebutton");return{flights:r,cssOverride:n?"XboxSmartTV":"XboxCom2NewUI",expIds:[...t,...r].map((e=>`EX:${e}`))}},eu=e=>{var t,n,r;const{productId:a,skuId:o,availabilityId:s,trackingParams:u,setIsLoading:m,orderDetails:p,onCloseButtonClick:h,scenario:f,clientType:v,giftRecipientInformation:g,isTvAgent:_,deviceFamily:y}=e;(0,x.qz)("ContextualStorePurchase",x.ry.Overlay,{productInfo:{id:a,sku:o}});const b=()=>{m(!1)},E=(0,nn.jb)(),S=(0,c.d4)(i.j17),C=(0,l.useRef)(null),P=(0,c.d4)(i.P6r),T=(0,x.Gb)(),w=(0,c.d4)(nn.yn),[I,k]=(0,l.useState)(!1),A=(0,c.d4)((e=>(0,i._cZ)(e,i.WTf.TestBuyNowFlights))),N=j(i.WTf.EnableBuyNowFCRedeemWithTax),{meFlights:L,enableBuyNowPPEEnv:M}=(()=>{const e=j(i.WTf.EnableBuyNowDynamicMEParams),{search:t}=(0,J.zy)(),n=(0,l.useMemo)((()=>{var e,n;return(null===(n=null===(e=(0,i.l_d)(new URLSearchParams(t),"meflights"))||void 0===e?void 0:e.value)||void 0===n?void 0:n.split(","))||[]}),[t]),r=(0,l.useMemo)((()=>e&&n||[]),[e,n]);return(0,l.useMemo)((()=>({meFlights:[...Q,...r].filter((e=>e.toLowerCase()!==K.toLowerCase())),enableBuyNowPPEEnv:r.some((e=>e.toLowerCase()===K.toLowerCase()))})),[r])})(),D=W(i.WTf.PIGroupingExpId),F=W(i.WTf.PIGroupingFlightId),U=j(i.WTf.EnableXboxAppOnMobileGooglePay),H=(0,c.d4)(i.w$7),V=(0,c.d4)(i.ccC);V.push(...L),V.push("sc_xboxgamepadlite"),D&&H.push(D),"string"===typeof A&&A.split(",").forEach((e=>{V.includes(e)||V.push(e)})),_&&(V.push("sc_xboxuiexp"),_||V.push("sc_disabledefaultstyles")),N&&V.push("sc_showtax"),V.push("sc_gamertaggifting"),F&&V.push(F),((e,t,n)=>{!t||"XboxAppOnAndroid"!==n&&"XboxAppOnIOS"!==n||(e.push("sc_buynowgooglepay"),e.push("sc_allowgooglepayforbuynow"))})(V,U,v);const z=(0,c.d4)((e=>(0,d.Ct)(e,a,o,s))),X=f===B.Gift,$=!X&&(null===z||void 0===z?void 0:z.product.productId)||a,Y=!X&&(null===(t=null===z||void 0===z?void 0:z.sku)||void 0===t?void 0:t.skuId)||o,Z=!X&&(null===(n=null===z||void 0===z?void 0:z.availability)||void 0===n?void 0:n.availabilityId)&&Y?null===(r=null===z||void 0===z?void 0:z.availability)||void 0===r?void 0:r.availabilityId:s,ee=(0,c.d4)(i.GYd).userAgent,te=(0,l.useMemo)((()=>new Zt.P6(ee)),[ee]),ne=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableXtraceTelemetry))),re=(0,l.useMemo)((()=>({productId:a,skuId:o,availabilityId:s,productSummaryInfo:z,marketInfo:P,trackingParams:u,isGiftScenario:X,deviceInfo:te})),[a,o,s,z,P,u,X,te]),ae=zc();return(0,l.useEffect)((()=>{T.logAppAction({action:q.PurchaseStarted},{productId:a})}),[]),(0,l.useEffect)((()=>{const e=(0,Dc.makeWindowListener)({done:e=>{var t,n,r,i;const l=e.orderId;switch(Jc(ae,ne,re,{eventType:"INITIATED",orderId:l}),e.status){case"cancelXButton":T.logAppAction({action:q.PurchaseCanceled},{productId:a}),h();break;case"cancel":T.logAppAction({action:q.PurchaseCanceled},{productId:a}),p.onCancel(a,o,s,l);break;case"success":T.logAppAction({action:q.PurchaseSuccessful},{productId:a,xboxCardPointsRedeemed:null===(t=e.orderInfo)||void 0===t?void 0:t.xboxCardPointsRedeemed,xboxCardUsedForPurchase:null===(n=e.orderInfo)||void 0===n?void 0:n.xboxCardUsedForPurchase}),Jc(ae,ne,re,{eventType:"SUCCEEDED",orderId:l}),p.onSuccess(a,o,s,l,null===(r=e.orderInfo)||void 0===r?void 0:r.xboxCardUsedForPurchase,e.tokenType);break;case"error":{const t=e;let n=O.PurchaseError;t.errorInfo.code.includes("UserAlreadyOwnsContent")?n=O.AlreadyPurchased:T.logAppAction({action:q.PurchaseFailed},{productId:a,xboxCardUsedForPurchase:null===(i=e.orderInfo)||void 0===i?void 0:i.xboxCardUsedForPurchase}),Jc(ae,ne,re,{eventType:"FAILED",orderId:l||void 0,errorCode:t.errorInfo.code,errorMessage:t.errorInfo.message}),p.onError(a,n,o,s,l,{name:t.errorInfo.code,message:t.errorInfo.message});break}}},openUrl:e=>{p.onOpenUrl?p.onOpenUrl(e.url):window.open(e.url)}});return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}}),[]),(0,l.useEffect)((()=>{var e,t,n;$&&Y&&(Z||X)&&!I&&(m(!0),async function(e,t,n,r,a,o,s,l,c,u,d,m,p,h,f,v){let g=arguments.length>16&&void 0!==arguments[16]?arguments[16]:Qc,_=arguments.length>17?arguments[17]:void 0,y=arguments.length>18?arguments[18]:void 0,b=arguments.length>19?arguments[19]:void 0;const E=e=>{p(!1),v(e)};if(!e)return void E(new Error("Failed to load frame."));let S;try{S=n?(0,nn.xT)(n):await Kc(t)}catch(w){return void E(w)}if(!S)return void E(new Error("Unable to get token silently."));const{flights:C,cssOverride:P,expIds:T}=Zc(d,m,_);await(0,Dc.invokeBuyNowInFrame)(e,{authToken:"",products:[r],locale:a.localeWithScript,market:a.market,cV:o,layout:"Modal",clientType:g,cssOverride:P,xToken:S,campaignOptions:{campaignId:s,callerApplicationId:l,expId:T,flights:C,optionalCampaignId:c},theme:u===i.Sxu.Dark?"dark":"light",suppressGiftThankYouPage:h,scenario:h?"gift":"",gifteeType:h&&(null===f||void 0===f?void 0:f.gifteeType)||void 0,gamertagImageUrl:h&&(null===f||void 0===f?void 0:f.gifteeType)===G.GamerTag&&(null===f||void 0===f?void 0:f.gamerPicUrl)||void 0,gifteeValue:h&&(null===f||void 0===f?void 0:f.gifteeType)===G.GamerTag&&(null===f||void 0===f?void 0:f.classicGamerTag)||void 0,modernGamertag:h&&(null===f||void 0===f?void 0:f.gifteeType)===G.GamerTag&&(null===f||void 0===f?void 0:f.modernGamerTag)||void 0,frameAllow:"payment *",deviceFamily:_?R.XboxTV:y,selectEnv:b})||E(),p(!0)}(C.current,E,w,{productId:$,skuId:Y,availabilityId:Z},P,null!==(e=null===u||void 0===u?void 0:u.cV)&&void 0!==e?e:T.cv().get(),null!==(t=null===u||void 0===u?void 0:u.campaignId)&&void 0!==t?t:cn,null!==(n=null===u||void 0===u?void 0:u.callerApplicationId)&&void 0!==n?n:un,null===u||void 0===u?void 0:u.ocid,S,V,H,b,X,g||null,(e=>{T.logAppAction({action:q.PurchaseFailed},{productId:a}),Jc(ae,ne,re,{eventType:"FAILED",orderId:void 0,errorCode:(null===e||void 0===e?void 0:e.name)||"SetupError",errorMessage:(null===e||void 0===e?void 0:e.message)||"Purchase initialization failed"}),p.onError(a,O.PurchaseError,o,s)}),(e=>!!e&&Yc.includes(e))(v)?v:Qc,_,y,M?"ppe":void 0),k(!0))}),[$,Y,Z]),l.createElement("iframe",{key:"purchase-sdk-iframe",title:"Purchase Frame",name:"purchase-sdk-hosted-iframe",ref:C,className:"ContextualStorePurchase-module__purchaseFrameNewUi___CedNY"})};var tu="ThankYouPage-module__actionContainer___YBSpg",nu="ThankYouPage-module__contentContainer___qsj94",ru="ThankYouPage-module__enableBuyNowXboxUiExp___ZLR2r",au="ThankYouPage-module__fontBold___Zqif6",ou="ThankYouPage-module__heroButton___JyuUt",iu="ThankYouPage-module__marginTop1___dmTdI",su="ThankYouPage-module__marginTop2___X1SGq",lu="ThankYouPage-module__parentTextContainer___3kfef",cu="ThankYouPage-module__productBg___IlsyC",uu="ThankYouPage-module__rootContainer___td6I6",du="ThankYouPage-module__subscriptionRow___s5pxV",mu="ThankYouPage-module__success___jnCaK",pu="ThankYouPage-module__thankYou___2NMnQ",hu="ThankYouPage-module__ubisoftMessage___YF00B",fu="ThankYouPage-module__uiExpHeroButton___UocfF";const vu=e=>{const{isPreorder:t,className:n,contentClassName:r,mainMessageClassName:a,secondaryMessageClassName:o}=e,[i,c,u,d]=(0,s.cG)("fincastleThankYouPrimaryMessage","fincastleThankYouSecondaryMessage","fincastleThankYouPrimaryMessagePreOrder","fincastleThankYouSecondaryMessagePreOrder");return l.createElement("div",{className:n},l.createElement("div",{className:y()("CardPoints-module__contentContainer___M+ZV1",r)},l.createElement("p",{className:a},t?u:i),l.createElement("p",{className:o},t?d:c)))},gu=e=>{let{src:t}=e;return l.createElement("div",{className:"ThankYouPage-module__heroContainer___qXtlg"},l.createElement(u._V,{className:"ThankYouPage-module__heroImage___e+RSq",src:t,width:600,height:640,ariaHidden:!0,hideShadow:!0}),l.createElement("div",{className:"ThankYouPage-module__heroLinearGradient___EozWi"}))};var _u=n(47257);const yu=e=>{let{src:t,userInfo:n,productImage:r,title:a,showSubscriptionPage:o,isUltimate:i,width:c,height:d}=e;const{gamerPicAltText:m,gamePassUltimateLogoAltText:p}=(0,s.ot)("gamerPicAltText","gamePassUltimateLogoAltText"),h=null===n||void 0===n?void 0:n.gamerPicUrl,f=o?l.createElement(l.Fragment,null,n&&l.createElement(u.fI,{className:y()("ThankYouPage-module__gamerPicRow___veH2x",du)},l.createElement(_u.lY,{className:"ThankYouPage-module__gamerPic___GWq6X",src:h,"aria-label":m,size:_u.Ow.Large})),i&&l.createElement(u._V,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHEAAAAcCAYAAABWFFBUAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAcaADAAQAAAABAAAAHAAAAAAF5gC+AAAKpklEQVRoBe1aW4yVSRGeK3PjJpCAuAwzYwRdFyWwIRPHVdQHCcZEYWMgAbNBHjQ+YEg0JhAeDDzIg4kSHkQgyAsJCTdxIbBkYVFcBpaLCSG7sDOzMkBGCHfmeuac4/fV6a+3T5//zGG9wcNUUqe6q6qrq7q6q/sfKC/7GMo/bpaF7YA92nwBViAb+ZCtcgwljTTESH+0+5xXgAkM0dxhEpXACraz2WzKJKM/L+QKPH369PVx48YdgnNMZoZOMnEEnb7KXHf090Vdgd7eXh48HT47gGE5ZULV9zHgZPaiMyxGeXn5OLSV/DTkTyUDrYK8gf0S42wIdPrRGLJO6Z9q2K7HmD6o+moB3lj0ufkykD1JMON9cjKoZR8n6Jn9BH7KzelFmHMMOnWegQZ0BkAGQ94IbcUyYvyYpxY2akI7AwMDjNXiBfX3I7NJJpXHM8IQdu/e/V3wW4DNpIODg9ck7+vruwTeZ52s+eDBg69Ltm/fvu+Lz3GY/APJRM+fP/8zpzMTtBE4IwHJn3nmzJk3OO706dNvoE9fDLEz28mHXx+CRz+bgLI3c926da2UC6B/MdKjbtOJEydWSCekXV1dv4WcczUBTffw4cM+Tulevnz5l5Bzfs1dNJaTJ0/aXO3t7T+GflM0hvESm7q7u38n+6JXr179IWTjgUywnUidqHIw2FYfzRxkMhnKPMCY77u273slNNy4RJn0nI7mzHJYApJPjCGJR53QTnbTpk3/HBoa6tLg+/fvv+faeXqSx/TAgQNvOp73bcWKFRfT6fSdUDdai9C2Hwd98okhiBfqmTxcaw0YHh7mevHQ+bXVAkrHC8SoqKjgJGkgS2oaR9w74dqUmbympobUoKqqik5xjI3LcfN/XRKpx3EskUSWVyH7Nt75URbbDf2BrvkBGtoafvz48bvgGeBknUND8/l5qqur6UceoHpcXbt2bQeYw1OmTBmeNWsWdVKPHj1K3bt373iecq6jWOhz0Vg0l4tFvshnxVzgD6dwSWSefK5KJtFNKKc4QQxeFibRtb0sWmyz0dra+mvstveBHcB/LFmyhDvMFraxsXEYvG7gR8BO6G7nIBe4D1h2HdV8gxcvXpwtW7dv3z7DsYDszp0720FTKGmzQHmHEYfGjBnDxcwDlDOeQrOJa6Vxz549splCWdMJtTFz5879FfxULB+tWbOG5c5vEsg+VCxtbW1/5KAgFtPDptkNnRvALuD1GTNm/MSMl/iJk1igHu38YS0aFaNTmqqvr2fABrW1tVwU9oU5Qf4vazofCYbjx4/nKbfd7BbVy8C3R5fbVKFtiDzYgqOXamlp0YIPHTp06B1qoKxe27Vr1z0258yZ8zL1HA6HGxA8Qnbv3r1/AjWdBQsWvAqbX1QfJfWvqCT3qeggLxbYYxw6mfS3Bqh4LJaEte1H8nqF0PdVD+2iUDKJbtHkEGkMcjRTWVnpJw0SbGPD5McG1MdO9P64UitRTJXsjMqsU/B8bKgvg8fFS2/YsKEnlUp9gIfYWfSZ6PTYsWMpLxoXdC+vX7++m7pEfJu1NTQ0zHdj0rdu3WJZPYZ+IuCh5WOBgi99CcreZyR+JeJpAX4e+CX6kKBfwAonKhCS4RLDiYSxHvmELCZW+1nG5UYFv/39/Syn9Knc1f5AmmtGyfXzuU3i+/ClCa/ISRhlmwwb5C8PHz78G/rppqamLDYnEyL9bLgBOdPNmzcPU9ch9Rfi5HyTMoDZvHbt2pFct/DXJdFigTRxnYNY6Iew0FgJTqLxcAx2H7/DQmD9NsCx564m2GJAl09fA7zeRtp9UsujCFxJrEAS2S6AZ7DLeS0ulMBWZyDz5MmTd3GP2aMGL86XkXR+71JX6FSNZHbs2KEkZo4cOfIZxHoX+PD48eOfhgbjzaxevfodJCLpm7Ms2JD0JXGdXRLjdQqTGcvMufjHanPMDPvTp09/Kejze+w6duUr5KHdBWIJZH/ChAmNpP8uuNNnAQe7NMlcseCUEP75sBwl8DUMZsnL9PT0/H3lypWdNIZH01dIAYmLy7K7efPmHsh5EjOLFy9mWdUYNA3SV65cGcTmeAtxLxVTFOVbyeP6JM4jXVGM2YfT/i31QRM3ciC3ZknjeGy0QFOLlsVO3IzS9B6wff/+/b+BjKXFEol7iLoxUEbkpd0XIF+FnxhKJFf2zF/cMQsdIzt//vz38Y1ovuI+bHN8n3QNJMWrlA8aJtDuT1CLD5SgeGgr3dnZmVhSg4qhtbPB4U8Qi3T4iOK6DGKdhoDPtEYlkzh16tRlePrXu8mzS5cuvV5XV/cd4PdWrVrFnc1gyjZu3DgBO3+Z0wsJg87gtflt3FOzeWEDXz127NgvQqX/YtsSgwXi63nO9u3bJzvbWnzeb1/FAlGP8dsCQleJSm3ZsuXP4NspBM3im/AHwGV3795dDrocawK2JTOD78i3YYt/mvyPAX4tR5l/CdgMf2bjdZy0ngXzlEwijE3dtm3bzzFSu0U7lLuGOzUzceLEMnwXrcfkn9IMbpdpjO1ap2/fRDgluk81JPwrj5VDLyhs0K7QpC4p4lUoSYsWLfo6FJSs8nPnzn0Bfk5xJsk31KnAXXZ669at/HSgz9kLFy7MnjRp0g7gH/DBv40U1YjXCefKnjp1qh8l9W20k0D+kBaDYjraVMXGeX7JJFJz8uTJP0Vwe48ePfo5JgxgScHdUnb27NlX7ty58yZK1GoKBMGdoAA4hokjppI+rt1CalETfQvuTenJPqcmj/dIpUtiGfxd6Hi8/yubm5u/Bso/WHOc8UArVP5u3LjBUiqoQIzfUEd02rRpr6HNeczHjo6Oo5KJxn6KH9IEnTCWvNd+OC5ucxCRDlUD6xAcP4ZHgl5Mfh0KtbiEm0H5EZsEA7CVwa7P21FaXPA5Z95YyPhXfa8PHZVxbx86vCdYDQygw7+McDEhsvHi0zbnoO6AMXM//OBmrKZP/wAg5bRRizZ1ueHKKAOhnfgByCpkr3SORbsCuvTDA/glY4Ey7768P2XKgLNbCbt5a3Tp0qUfzZs37yD06Cd9SMfO+QWUsQTagOTNTeDHrFo4EPO4MAU8MSDL++cd8UMaBxXIICpMOuRMpP3zWKDLptdHw4vQzkuGF+Q3uAmIReOBnZKxYHhNODftCYrxJQ+plYOQMdp+sVfAPcB42PyBC08imZkHDx78Hn9jrMIdwXvCJ5mDsTsS6zTvMh5/PQ64DLE+x5LvyoQ9YsIxzjmVMKqarmyzr/llizyCbMb8nDT3K/uhj5JTFvND/WJ+huNCHdqlLPRH8tBX6Wgu6Usnjh1/Vcrgzu6E+bwkso4QmSwmlPcFazCR5YKlSLVGA0UhMpANUTItYY7G+pRLV5S8kfQoFyTpSTYSlU+cMwTxyZMs5oV+Uk8+SE/ycLxk1CdIJ9fL/YZ2iulzHGX6KrDvSPR5H9rXgU4ilfR6ZELZp0KYRHSNT5oECkCy2CnxYxqOSxoTyjk2SSe2+b/oh34U86GUTij/JLFwPuaHieSjitQeX6D+vyyi7ZXsxYM+k8hJ44nBGoX/8wowiUok88IkipeXJCWMJ5Go5ImCNQrPcQWUNJ5Aovr+/8soUcXoc/R9dGq3AkwaoYAqaTlx7jeJF8pH289/BZRI8+RffoacsJshFlcAAAAASUVORK5CYII=",width:113,height:28,className:y()(iu,"ThankYouPage-module__gamePassUtlimateImage___qAm7y"),alt:p})):l.createElement(u._V,{src:t||(null===r||void 0===r?void 0:r.url),className:y()("ThankYouPage-module__productImage___H9mHZ",iu,"ThankYouPage-module__productImageUiExp___OPoUU"),alt:(null===r||void 0===r?void 0:r.caption)||a,width:c||152,height:d||228});return l.createElement("div",{className:"ThankYouPage-module__imageContainer___AYQH7"},f)},bu=e=>{let{isPreOrder:t}=e;const{successText:n,productThankYouText:r,preorderProductAvailableUponReleaseText:a,productAvailableToYouText:o}=(0,s.ot)("successText","productThankYouText","preorderProductAvailableUponReleaseText","productAvailableToYouText");return l.createElement(l.Fragment,null,l.createElement("p",{className:mu},n),l.createElement("p",{className:y()(pu,au)},r),l.createElement("p",{className:pu},t?a:o))},Eu=()=>{const{giftProductThankYouTitle:e,productThankYouText:t,giftProductRecipientGettingSoon:n}=(0,s.ot)("giftProductThankYouTitle","productThankYouText","giftProductRecipientGettingSoon");return l.createElement("div",{className:lu},l.createElement("p",{className:y()(E.tY,"ThankYouPage-module__giftTitle___uxVBS")},e),l.createElement("p",{className:y()(pu,au)},t),l.createElement("p",{className:pu},n))},Su=e=>{let{userInfo:t}=e;const{subscriptionThankYouText:n}=(0,s.ot)("subscriptionThankYouText"),r=null===t||void 0===t?void 0:t.gamerTag;return l.createElement(l.Fragment,null,l.createElement(u.fI,{className:y()(du,iu)},l.createElement("p",{className:"ThankYouPage-module__thanksForJoining___igWv1"},n)),t&&l.createElement(u.fI,{className:y()(du)},l.createElement("p",{className:"ThankYouPage-module__gamerTag___OsTkH"},`${r}!`)))},Cu=e=>{let{userInfo:t,showSubscriptionPage:n,isGiftScenario:r,isPreOrder:a,children:o}=e;const i=n?l.createElement(Su,{userInfo:t}):r?l.createElement(Eu,null):l.createElement(bu,{isPreOrder:a});return l.createElement("div",{className:lu},i,o)},Pu=l.forwardRef(((e,t)=>{let{productId:n}=e;const{ubisoftPlusThankyouPageButtonText:r}=(0,s.ot)("ubisoftPlusThankyouPageButtonText");return l.createElement(fn.j,{as:"button","aria-label":r,className:y()(ou,su,au,fu),ref:t,onClick:()=>{window.location.href=`msxbox://game/?productId=${n}`}},r)})),Tu=l.forwardRef(((e,t)=>{let{title:n,xboxCardUsedForPurchase:r,onClose:a}=e;const o=(0,s.JX)("closeButtonText"),c=(0,s.FE)("successTextAccessibilityTemplate"),u=n?(0,i.GPZ)(c,n,o):void 0;return l.createElement(fn.j,{as:"button",ref:t,"aria-label":u,className:y()(ou,r?iu:su,au,fu),onClick:a},o)})),wu=()=>{const[e,t]=(0,s.cG)("giftProductTrackOrderAtText","giftAccountsLinkText");return l.createElement(u.fI,{id:"TrackOrderContainer",className:y()("ThankYouPage-module__trackOrderContainer___vIXiC")},l.createElement("p",{className:y()(E._o,"ThankYouPage-module__trackOrderMessage___tIN-b")},(0,i.OzX)(e,l.createElement("a",{"aria-labelledby":"TrackOrderContainer",className:y()(we.X7,E._o),href:i.uEI,target:"_blank",rel:"noopener noreferrer"},t))))},Iu=e=>{let{title:t,href:n,isUltimate:r,isGiftScenario:a,isGamePassForPC:o,isPreOrder:c,xboxCardUsedForPurchase:u,isUbisoftPCVersion:d,productId:m,onClose:p}=e;const[h,f]=(0,s.cG)("subscriptionThankYouText","downloadXboxAppText","successGamePassTextAccessibilityTemplate"),v=(0,l.useRef)(null);(0,l.useEffect)((()=>{var e;null===(e=v.current)||void 0===e||e.focus()}),[]);const g=t?(0,i.GPZ)(f,t):void 0;let _=null;return _=(r||o)&&(0,i.csy)()?l.createElement(w.a,{as:"a",ref:v,"aria-label":g,className:y()(ou,su),href:n,target:"_blank"},h):d&&(0,i.csy)()?l.createElement(Pu,{ref:v,productId:m}):l.createElement(Tu,{ref:v,title:t,xboxCardUsedForPurchase:u,onClose:p}),l.createElement("div",{className:u?y()(tu,c?"ThankYouPage-module__actionContainerPreOrderXboxCard___4Mdb9":"ThankYouPage-module__actionContainerXboxCard___NVpw-"):tu},_,a&&l.createElement(wu,null))},ku=e=>{let{hasUbisoftCrossEntitlementProduct:t}=e;const{ubisoftPlusThankyouPageLine1:n,ubisoftPlusThankyouPageLine2:r}=(0,s.ot)("ubisoftPlusThankyouPageLine1","ubisoftPlusThankyouPageLine2");return t?l.createElement("div",{className:"ThankYouPage-module__ubisoftMessageContainer___LaKl9"},l.createElement("p",{className:hu},n),l.createElement("p",{className:y()(hu,au)},r)):null},xu=e=>{let{isPreOrder:t,xboxCardUsedForPurchase:n}=e;return l.createElement(l.Fragment,null,n&&l.createElement(vu,{className:"ThankYouPage-module__cardPoints___D3CFZ",contentClassName:"ThankYouPage-module__cardPointsContentContainer___0DC5T",mainMessageClassName:"ThankYouPage-module__cardPointsMainMsg___3PMqI",secondaryMessageClassName:"ThankYouPage-module__cardPointsSecondaryMsg___xODkM",isPreorder:!!t}))},Au=e=>{var t;const{productId:n,skuId:r,referringProductId:a,scenario:o,setIsLoading:s,onClose:u,onError:m,xboxCardUsedForPurchase:p,isTvAgent:h}=e;(0,x.qz)("ContextualStoreThankYou",x.ry.Overlay,{productInfo:{id:n,sku:r}});const v=(0,c.wA)(),g=(0,c.d4)((e=>(0,d.Ct)(e,n,r))),_=j(i.WTf.EnableUbisoftPCVersionLegalText),b=(0,c.d4)(nn.ug);if((0,l.useEffect)((()=>{s(!1),v(on.m.getProductDetailById.start(n,m))}),[n]),!g)return null;const E=g.product,S=g.sku,C=(0,f.CQ)(E,S),P=(0,f.CS)(E,S),T=(0,f.A5)(E,S),w=o===B.Gift,I=n===f.CZ,k=n===f.hd,A=null===S||void 0===S?void 0:S.isPreorder,N=!w&&(E.productFamily===f.K8.Subscription||E.productFamily===f.K8.Passes),L=N?"ThankYouPage-module__gamepassBg___qNLdm":cu,M=new URL(i.PdN),O=new URLSearchParams(M.search),R=_&&(null===(t=null===g||void 0===g?void 0:g.product)||void 0===t?void 0:t.hasUbisoftCrossEntitlementProduct);return a&&O.append("productId",a),M.search=O.toString(),l.createElement("div",{className:y()(L,uu,ru,N?"ThankYouPage-module__subscriptionRootContainer___yeBhh":void 0,p?"ThankYouPage-module__xboxCardRootContainer___Qvfqh":void 0,A?"ThankYouPage-module__preOrderContainer___pMJca":void 0)},!h&&l.createElement(gu,{src:null===C||void 0===C?void 0:C.url}),l.createElement(yu,{userInfo:b,productImage:P}),l.createElement("div",{className:y()(nu)},l.createElement(Cu,{userInfo:b,showSubscriptionPage:N,isGiftScenario:w,isPreOrder:A},l.createElement(xu,{isPreOrder:!!A,xboxCardUsedForPurchase:!!p}),l.createElement(ku,{hasUbisoftCrossEntitlementProduct:R})),l.createElement(Iu,{title:T,isUltimate:I,isGiftScenario:w,isGamePassForPC:k,isPreOrder:A,xboxCardUsedForPurchase:p,onClose:u,productId:n,isUbisoftPCVersion:R})))},Nu=n.p+"static/media/CSVHeroImage.53c76868.png",Lu=n.p+"static/media/CSVProductImage.60e09de4.png",Mu=e=>{const{tokenType:t,onClose:n,setIsLoading:r}=e,a="CSV"===t?f.fd:"";(0,x.qz)("ContextualStoreThankYou",x.ry.Overlay,{productInfo:{id:a}});const o=(0,l.useRef)(null);(0,l.useEffect)((()=>{var e;r(!1),null===(e=o.current)||void 0===e||e.focus()}),[r]);const[i,c]=(0,s.cG)("closeButtonText","successText","productThankYouText");return l.createElement("div",{className:y()(cu,uu,ru)},l.createElement(gu,{src:Nu}),l.createElement(yu,{src:Lu,width:152,height:228}),l.createElement("div",{className:y()(nu)},l.createElement("div",{className:lu},l.createElement("div",{className:"ThankYouPage-module__tyTextContainer___nXZuA"},l.createElement("p",{className:mu},i),l.createElement("p",{className:y()(pu,au)},c))),l.createElement(Iu,{onClose:n})))},Ou=e=>{const{productId:t,tokenType:n,onClose:r}=e;return(0,P.useBackHandler)((0,l.useCallback)((()=>(r(),!1)),[r])),n&&"CSV"===n?l.createElement(Mu,h()({tokenType:n},e)):t?l.createElement(Au,h()({productId:t},e)):null};n(21417),n(5974);function Ru(){if(globalThis.ReactNativeWebView){const e=globalThis.postMessage;console.log("We are in react native");let t=0;const n=setInterval((()=>{globalThis.postMessage!==e?globalThis.postMessage=t=>{var n;e(t),null===(n=globalThis.ReactNativeWebView)||void 0===n||n.postMessage("string"==typeof t?t:JSON.stringify(t))}:t++,t>10&&clearInterval(n)}),500)}}var Du=n(49028);const Bu=async e=>{const t=await e.acquireTokenSilently(nn.zW.MDollar);return t?(0,nn.xT)(t):null},Fu=[un,"XEWeb","XENative","XETest","XboxAppOnAndroid","XboxAppOnIOS"],Uu=e=>{const{productId:t="",skuId:n,availabilityId:r,trackingParams:a,setIsLoading:o,orderDetails:s,onCloseButtonClick:u,clientType:d,offerId:m,productMetadataList:p,themeOverride:h,scenario:f,deviceFamily:v}=e;(0,x.qz)("ContextualStoreRedeem",x.ry.Overlay,{productInfo:{id:t,sku:n}});const g=()=>{o(!1)},_=(0,nn.jb)(),y=(0,c.d4)(i.j17),b=(0,l.useRef)(null),E=(0,c.d4)(i.P6r),S=(0,x.Gb)(),C=(0,c.d4)(nn.yn),[P,T]=(0,l.useState)(!1);return(0,l.useEffect)((()=>{S.logAppAction({action:z.RedeemStarted})}),[]),(0,l.useEffect)((()=>{const e=(0,Du.makeWindowListener)({done:e=>{var a;const o=e.orderId,i=e.orderLineItems&&e.orderLineItems.length>0?e.orderLineItems[0]:e.orderInfo,l=(null===i||void 0===i?void 0:i.productId)||t,c=(null===i||void 0===i?void 0:i.skuId)||n,d=(null===i||void 0===i?void 0:i.availabilityId)||r;switch(e.status){case"cancelXButton":S.logAppAction({action:z.RedeemCanceled}),u();break;case"cancel":S.logAppAction({action:z.RedeemCanceled}),s.onCancel(l,c,d,o);break;case"success":S.logAppAction({action:z.RedeemSuccessful}),s.onSuccess(l,c,d,o,null===(a=e.orderInfo)||void 0===a?void 0:a.xboxCardUsedForPurchase,e.tokenType);break;case"error":{const t=e,n=O.PurchaseError;S.logAppAction({action:z.RedeemFailed}),s.onError(l,n,c,d,o,{name:t.errorInfo.code,message:t.errorInfo.message});break}}},openUrl:e=>{s.onOpenUrl?s.onOpenUrl(e.url):window.open(e.url)}});return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}}),[]),(0,l.useEffect)((()=>{var e;P||(o(!0),async function(e,t,n,r,a,o,s,l,c,u){let d=arguments.length>10&&void 0!==arguments[10]?arguments[10]:un,m=arguments.length>11&&void 0!==arguments[11]?arguments[11]:F.Redeem,p=arguments.length>12?arguments[12]:void 0,h=arguments.length>13?arguments[13]:void 0,f=arguments.length>14?arguments[14]:void 0;const v=e=>{l(!1),c(e)};if(!e)return void v(new Error("Failed to load frame."));if(m===F.BuddyPass&&!s)return void v(new Error("No ProductId provided for Buddy Pass scenario."));let g;try{g=n?(0,nn.xT)(n):await Bu(t)}catch(y){return void v(y)}if(!g)return void v(new Error("Unable to get token silently."));const _=["sc_xboxgamepadlite","sc_xboxspinner","sc_xboxclosebutton","sc_xboxuiexp","sc_disabledefaultstyles"];m===F.BuddyPass&&_.push("sc_buddypass");await(0,Du.invokeRedeemNowInFrame)(e,{authToken:"",locale:r.localeWithScript,market:r.market,cV:a,layout:"Modal",clientType:d,cssOverride:"XboxCom2NewUI",xToken:g,productId:s,skuId:u,theme:o===i.Sxu.Dark?"dark":"light",campaignOptions:{flights:_},scenario:m,offerId:h,productMetadataList:p,suppressRedeemThankYouPage:!0,deviceFamily:f})||v(),l(!0)}(b.current,_,C,E,null!==(e=null===a||void 0===a?void 0:a.cV)&&void 0!==e?e:S.cv().get(),null!==h&&void 0!==h?h:y,t,g,(()=>{S.logAppAction({action:z.RedeemFailed}),s&&s.onError(t,O.PurchaseError,n,r)}),n,(e=>!!e&&Fu.includes(e))(d)?d:un,f,p,m,v),T(!0))}),[P]),l.createElement("iframe",{key:"redeem-sdk-iframe",title:"Redeem Frame",name:"redeem-sdk-hosted-iframe",ref:b,className:"ContextualStoreRedeemPage-module__redeemFrameNewUi___04FI5"})};var Hu;!function(e){e.Pdp="ProductDetailsPage",e.Purchase="Purchase",e.PurchaseOnFallback="PurchaseOnFallback",e.ThankYou="ThankYouPage",e.Error="ErrorPage",e.SkuPicker="SkuPickerPage",e.Browse="BrowsePage",e.Gift="Gift",e.Redeem="Redeem"}(Hu||(Hu={}));const Vu=(e,t,n)=>({productId:e,skuId:null!==t&&void 0!==t?t:"",availabilityId:null!==n&&void 0!==n?n:""}),Gu=e=>{switch(e){case D.Purchase:return Hu.Purchase;case D.Browse:return Hu.Browse;case D.Redeem:return Hu.Redeem;default:return Hu.Pdp}},qu=e=>{const{productId:t,skuId:n,availabilityId:r,activateStoreExperiments:a,allowAnonymous:o,experience:d,hasAddOns:m,hideCloseButton:p,hideShowInStore:v,hideWishList:g,onResult:_,onMessage:b,productTitle:E,skipPurchaseConfirmation:S,tracking:C,options:T,referringProductId:I,itemType:k,xStoreScenario:N,clientType:M,giftRecipientInformation:R,offerId:F,productMetadataList:U,themeOverride:H,redeemScenario:G,deviceFamily:q}=e;let z=e.scenario;const[X,j]=(0,l.useState)(!0),[W,$]=(0,l.useState)(Gu(d)),[J,K]=(0,l.useState)(""),{currentExperience:Q}=(0,l.useContext)(u.W4),[Y,Z]=(0,l.useState)(new Map),ee=(e,t)=>{const n=new Map(Y);n.set(e,t),Z(n)},te=(0,c.d4)(i.GYd).userAgent,ne=(0,Zt.yd)(te),re=(0,l.useCallback)(((e,t)=>{b&&b({type:V.PageChange,data:e}),$(e)}),[b]),ae=(0,c.d4)(nn.yn),oe=(0,c.d4)(nn.ct)||!!ae,ie=(0,i.wwE)(),le=(0,i.AzV)(),ce=null!==k&&void 0!==k?k:"",ue=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableRedeemCodeModal))),de=(0,c.d4)((e=>(0,yt.g4)(e,t))),me=n||(null===de||void 0===de?void 0:de.optimalSkuId)||(null===de||void 0===de?void 0:de.preferredSkuId);(0,l.useEffect)((()=>{if(!o&&!oe){const e=(0,i.XBe)(t)===f.hd?le(window.location.href):ie(window.location.href);window.parent===window?window.location.assign(e):W!==Hu.Error&&(re(Hu.Error,new Error("Attempting to sign-in inside an iframe")),j(!1))}}),[o,oe,t,W,ie,le,re]);const pe=(0,c.wA)(),he=(0,c.d4)(i.j17),[fe,ve]=(0,l.useState)(((e,t,n)=>({productId:e,skuId:t,availabilityId:n,status:O.Canceled}))(t,me,r)),[ge,_e]=(0,l.useState)(Vu(t,me,r)),ye={contentName:"Close Contextual Store Button",templateName:"ButtonComponent",contentType:"ActionButton",productId:t,skuId:me,productName:E},{genericPurchaseErrorMessage:be,closeButtonText:Ee,closeContextualStore:Se}=(0,s.ot)("genericPurchaseErrorMessage","closeButtonText","closeContextualStore"),Ce=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.UsePostMessageHelper)));(0,l.useEffect)((()=>{(0,P.initializeGamepadNavigation)(),(0,P.returnToFocusDrivenInputMode)()}),[]);const Pe=(e,t)=>!!e&&t===Hu.Pdp||t===Hu.Purchase,Te=e=>{Pe(null===T||void 0===T?void 0:T.fallbackToPurchaseOnError,W)?re(Hu.PurchaseOnFallback,e):(ve({productId:t,skuId:me,availabilityId:r,status:O.ServiceError,error:e}),re(Hu.Error,e)),j(!1)};(0,l.useEffect)((()=>{pe(on.m.getProductDetailById.start(t,(e=>Te(e))));const e=Gu(d);W!==e&&$(e),_e(Vu(t,me,r))}),[r,t,me,d]),(0,l.useEffect)((()=>{if(d===D.Browse){const e=ce.split(",").map((e=>{switch(e){case f.MB.Game:case f.MB.GameDemo:return f.AB.Game;case f.MB.Consumable:return f.AB.Consumable;case f.MB.Durable:return f.AB.Durable;case f.MB.Application:default:return}})).filter((e=>!!e&&e in f.AB));0===e.length&&(re(Hu.Error,new Error("Invalid product kind provided")),j(!1));const n=(0,an.Zv)(e),r=(0,A.yP)(n,t);r||(re(Hu.Error,new Error("Unable to get channel product key")),j(!1)),K(r)}}),[d,ce,re,t]),(0,l.useEffect)((()=>{if(d===D.Browse){const e=e=>{ve({productId:t,skuId:me,availabilityId:r,status:O.ServiceError,error:e}),re(Hu.Error,e),j(!1)};pe(on.m.getBrowsePageDataById.start(t,ce,J,e))}}),[r,t,me,d,pe,re,ce,J]),(0,l.useEffect)((()=>{switch(fe.status){case O.Purchased:S?_&&_(fe):(_e({productId:fe.productId,skuId:fe.skuId||"",availabilityId:fe.availabilityId||""}),re(Hu.ThankYou));break;case O.ServiceError:case O.PurchaseError:case O.AlreadyPurchased:_&&_(fe)}}),[fe,_,S]);const Ie=e=>{e!==ge&&_e(e),pe(on.m.getProductDetailById.start(e.productId,(e=>Te(e)))),re(Hu.Pdp)},ke=()=>{_&&_(fe)},xe=()=>{d===D.Browse&&W===Hu.Pdp?(_e(Vu(t,me,r)),re(Hu.Browse)):_&&_(fe)},Ae=()=>{W!==Hu.Redeem&&W!==Hu.Gift||d!==D.Details||ee("OverflowMenuButton",!0),d===D.Purchase||W===Hu.PurchaseOnFallback||d===D.Redeem?ke():(_e(Vu(t,me,r)),re(Hu.Pdp))},Ne=e=>{b&&b({type:V.OpenUrl,data:e}),window.open(e,"_blank")},Le={onCancel:Ae,onError:(e,t,n,r,a,o)=>{ve({productId:e,skuId:n,availabilityId:r,status:t,orderId:a,error:o})},onOpenUrl:Ne,onSuccess:(e,t,n,r,a,o)=>{ve({productId:e,skuId:t,availabilityId:n,status:O.Purchased,orderId:r,xboxCardUsedForPurchase:a,tokenType:o}),d!==D.Redeem&&e&&pe(on.m.purchaseComplete(e))}};let Me=null;switch(W){case Hu.Pdp:default:Me=l.createElement(Oc,{productId:ge.productId,skuId:ge.skuId,availabilityId:ge.availabilityId,hideShowInStore:v,hideWishList:g,trackingParams:C,onShowSkuPicker:()=>re(Hu.SkuPicker),onPurchaseAction:()=>re(Hu.Purchase),onGiftAction:()=>re(Hu.Gift),onRedeemAction:ue?()=>re(Hu.Redeem):void 0,onError:e=>{re(Pe(null===T||void 0===T?void 0:T.fallbackToPurchaseOnError,W)?Hu.PurchaseOnFallback:Hu.Error,e)},onGoBack:xe,onOpenStoreUrl:Ne,setIsLoading:j,xStoreScenario:N,itemType:ce,updateSelectedProduct:_e,clientType:M,isTvAgent:ne});break;case Hu.Gift:z=B.Gift;case Hu.Purchase:case Hu.PurchaseOnFallback:Me=l.createElement(eu,{productId:ge.productId,availabilityId:ge.availabilityId,skuId:ge.skuId,trackingParams:C,setIsLoading:j,orderDetails:Le,onCloseButtonClick:Ae,scenario:z,clientType:M,giftRecipientInformation:R,isTvAgent:ne,deviceFamily:q});break;case Hu.Redeem:Me=l.createElement(Uu,{productId:ge.productId,availabilityId:ge.availabilityId,skuId:ge.skuId,trackingParams:C,setIsLoading:j,onCloseButtonClick:Ae,clientType:M,orderDetails:Le,offerId:F,productMetadataList:U,themeOverride:H,scenario:G,deviceFamily:q});break;case Hu.Browse:Me=l.createElement(bn,{productId:ge.productId,skuId:ge.skuId,availabilityId:ge.availabilityId,onSelect:Ie,onClose:ke,onError:e=>{re(Pe(null===T||void 0===T?void 0:T.fallbackToPurchaseOnError,W)?Hu.PurchaseOnFallback:Hu.Error,e)},setIsLoading:j,channelKey:J,itemType:ce});break;case Hu.ThankYou:Me=l.createElement(Ou,{productId:ge.productId,skuId:ge.skuId,referringProductId:I,scenario:z,setIsLoading:j,onError:e=>re(Hu.Error,e),onClose:ke,xboxCardUsedForPurchase:fe.xboxCardUsedForPurchase,tokenType:fe.tokenType,isTvAgent:ne});break;case Hu.Error:Me=((e,t,n,r,a)=>l.createElement("div",{className:"ContextualStoreV2-module__failureViewContainer___Z+3cW"},l.createElement("h4",null,e),l.createElement(w.a,h()({as:"button",onClick:r,className:"ContextualStoreV2-module__closeButton___MmWUe","aria-label":n},(0,x.vj)(a)),t)))(be,Ee,Se,ke,ye);break;case Hu.SkuPicker:Me=l.createElement(hn,{hasAddOns:m,onSelect:Ie,onClose:()=>re(Hu.Pdp),productId:t})}const Oe=!(p||W===Hu.Purchase||W===Hu.PurchaseOnFallback||W===Hu.Gift||W===Hu.Redeem||W===Hu.ThankYou&&Q===u.Je.MobileLandscape);return l.createElement(L,{value:{activateStoreExperiments:!!a}},Ce&&l.createElement(rn.m,null,l.createElement("script",null,`(${Ru.toString()})();`)),l.createElement(x.M9,null,l.createElement(P.FocusContainer,{autoFocusContainer:!0,className:"ContextualStoreV2-module__focusContainer___EAJYV",onKeyDown:e=>{"Escape"===e.nativeEvent.key&&ke()}},l.createElement(u.t$,null),l.createElement(u.mc,{className:y()("xgp-reset-style","ContextualStoreV2-module__contextualStoreContainer___7k8p9",{"theme-dark":H?H===i.Sxu.Dark:he===i.Sxu.Dark},"ContextualStoreV2-module__isNewBuyNowXboxUiExpEnabled___7Mjfr")},l.createElement(A.FK.Provider,{value:{focusTrack:Y,setShouldFocus:ee}},l.createElement("div",{className:y()("ContextualStoreV2-module__newContextualStoreSizing___h+ipJ","ContextualStoreV2-module__flexColumn___EnNnt")},Me)),Oe&&l.createElement(en.M,h()({as:"button",icon:tn.A,onClick:ke,buttonSize:se.Mp.Small,buttonType:se.VQ.Primary,overlayMode:se.w9.Solid,className:y()([(0,u.YK)("margin","all",2),"ContextualStoreV2-module__closeIcon___nKOGi",we.gI]),"aria-label":Se},(0,x.vj)(ye))),X&&l.createElement("div",{className:"ContextualStoreV2-module__progressContainer___SE7z1"},l.createElement(u.fI,{className:"ContextualStoreV2-module__progressIconAlignment___n9XxL"},l.createElement(u.L7,null)))))))};n(7680);const zu=e=>{let{onResult:t,onMessage:n}=e;var r;const a=(0,c.wA)(),o=(0,i.mzJ)(i.pvY.ProductId,""),s=(0,i.mzJ)(i.pvY.AvailabilityId,""),d=(0,i.mzJ)(i.pvY.SkuId,""),m=new URLSearchParams((0,J.zy)().search),p=m.get("partnerid"),h=m.get("cv"),f=m.get("campaignId"),v=m.get("it"),g=m.get("xs"),_=m.get("clientType"),y=m.get("deviceFamily")||void 0,b=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.EnableSkipActivateStoreExp)))||(0,i.JSV)(null!==(r=m.get("activateStoreExperiments"))&&void 0!==r?r:"","true"),E=!!(null===p||void 0===p?void 0:p.startsWith("gamepasssamsungtv")),S=H.v2,C=m.get("t"),P=(0,i.JSV)(p||void 0,"XboxMobile")?y:void 0;(0,l.useEffect)((()=>{C&&"dark"===C.toLowerCase()&&a(i.F6E.setTheme(i.Sxu.Dark))}),[]);const T=(e=>{switch(null===e||void 0===e?void 0:e.toLowerCase()){case"purchase":return D.Purchase;case"browse":return D.Browse;case"redeem":return D.Redeem;default:return D.Details}})(m.get("exp")),w=m.get("skipPurchaseConfirmation"),I="true"===(null===w||void 0===w?void 0:w.toLowerCase()),k=m.get("fallbackToPurchaseOnError"),x="true"===(null===k||void 0===k?void 0:k.toLowerCase()),A=m.get("anon"),N="true"===(null===A||void 0===A?void 0:A.toLowerCase()),L=m.get("hideClose"),M="true"===(null===L||void 0===L?void 0:L.toLowerCase())||E,O="xboxapponandroid"===(null===_||void 0===_?void 0:_.toLowerCase())||"xboxapponios"===(null===_||void 0===_?void 0:_.toLowerCase()),R=(0,i.l_d)(m,Zr.hV.referringProductId),B=(0,Ct.ww)(o,void 0,d,s),F=(0,l.useCallback)((e=>{var n,r;null===t||void 0===t||t(e);const a={message:"PurchaseStatus",result:e};null===(n=window.parent)||void 0===n||n.postMessage(a,"*"),null===(r=window.opener)||void 0===r||r.postMessage(a,"*"),!window.opener&&window.parent===window&&E&&window.location.assign(B)}),[t,B,E]),U=(0,l.useCallback)((e=>{var t,r;null===n||void 0===n||n(e);const a={message:"PurchaseMessage",result:e};null===(t=window.parent)||void 0===t||t.postMessage(a,"*"),null===(r=window.opener)||void 0===r||r.postMessage(a,"*")}),[n]),G=(0,l.useCallback)((e=>{var t,n;const r=e.data;if(dn.some((t=>e.origin.includes(t)))&&"SyncXTokenResponse"===r.id&&(null===(t=null===r||void 0===r?void 0:r.data)||void 0===t?void 0:t.token)&&""!==(null===(n=null===r||void 0===r?void 0:r.data)||void 0===n?void 0:n.token)){const e={token:r.data.token,userHash:r.data.userHash};a(nn.Xp.setXTokenOverride(e))}}),[a]);return(0,l.useEffect)((()=>(window.parent&&window.addEventListener("message",G,{passive:!0}),()=>{window.parent&&window.removeEventListener("message",G,!1)})),[G]),(0,l.useEffect)((()=>{N&&U({type:V.RequestXToken,data:""})}),[N,U]),l.createElement(u.tH,null,(()=>l.createElement(u.a4,null,l.createElement(qu,{allowAnonymous:N,productId:o,skuId:d,availabilityId:s,onResult:F,onMessage:U,tracking:{callerApplicationId:p||void 0,cV:h||void 0,campaignId:f||void 0},version:S,experience:T,skipPurchaseConfirmation:I,options:{fallbackToPurchaseOnError:x},referringProductId:null===R||void 0===R?void 0:R.value,hideCloseButton:M,hideShowInStore:E,hideWishList:O,itemType:v,xStoreScenario:g,clientType:_,activateStoreExperiments:b,deviceFamily:P}))))};const Xu=e=>{let{contentRef:t,showModal:n,onClose:r}=e;return l.createElement(l.Fragment,null,l.createElement(u.aF,{show:n,fullscreenOnMobile:!0},l.createElement(u.aF.Body,{className:(0,u.YK)("padding","all",0)},l.createElement("div",{ref:t,className:"RedeemCodeModal-module__modalContainer___4E9L+"},l.createElement(Ku,{onResult:e=>{r(e)},activateStoreExperiments:!0})))))},ju=()=>{var e;const[t,n]=(0,l.useState)(void 0),r=(0,c.d4)(nn.ct),a=(0,i.wwE)(),o=(0,i.AzV)();(0,l.useEffect)((()=>{var e;if(r){const t=new URLSearchParams(window.location.search),r=t.get($r);if(r){const a=r.split("-").filter((e=>e));if(a.length>0&&a.length<4){const r=t.get(Kr),o=Wu(r);n(h()({productId:a[0],skuId:a[1],availabilityId:a[2],referringProductId:null!==(e=t.get(Zr.hV.referringProductId))&&void 0!==e?e:void 0},o))}}}}),[r,n]),(0,l.useEffect)((()=>{const e=e=>{var t,s;const l=null===e||void 0===e?void 0:e.detail,c=null===(t=l.experience)||void 0===t?void 0:t.toLocaleLowerCase();if(l&&l.productId||c===D.Redeem.toLocaleLowerCase())if(r)n(h()(h()({},l),{},{productId:l.productId,skuId:l.skuId,availabilityId:l.availabilityId,experience:l.experience,referringProductId:null!==(s=l.referringProductId)&&void 0!==s?s:void 0,activateStoreExperiments:!!l.activateStoreExperiments}));else{let e=l.productId;l.skuId&&(e+=`-${l.skuId}`,l.availabilityId&&(e+=`-${l.availabilityId}`));const t=new URL(window.location.toString()),n=new URLSearchParams(t.search);e&&n.set($r,e),l.referringProductId&&n.set(Zr.hV.referringProductId,l.referringProductId),t.search=n.toString();const r=(0,i.XBe)(l.productId)===f.hd?o(t.toString()):a(t.toString());window.location.assign(r)}};return document.addEventListener(Jr,e),()=>document.removeEventListener(Jr,e)}),[a,o,r,n]);const s=e=>{var r;n(void 0),null===(r=null===t||void 0===t?void 0:t.onResult)||void 0===r||r.call(t,e)};if(t)switch(null===(e=t.experience)||void 0===e?void 0:e.toLocaleLowerCase()){case D.Redeem.toLocaleLowerCase():return l.createElement(Xu,{showModal:!0,onClose:s});case D.Purchase.toLocaleLowerCase():case D.Details.toLocaleLowerCase():default:return l.createElement(ra,h()(h()({},t),{},{onResult:s,showModal:!0}))}return null},Wu=e=>{switch(null===e||void 0===e?void 0:e.toLowerCase()){case D.Redeem.toLowerCase():return{experience:D.Redeem};case D.Purchase.toLowerCase():return{experience:D.Purchase};case B.Gift.toLowerCase():return{experience:D.Purchase,scenario:B.Gift};case D.Details.toLowerCase():default:return{experience:D.Details}}};const $u=(e,t,n)=>({productId:e,skuId:null!==t&&void 0!==t?t:"",availabilityId:null!==n&&void 0!==n?n:""}),Ju=()=>Hu.Redeem,Ku=e=>{const{productId:t="",skuId:n,availabilityId:r,activateStoreExperiments:a,allowAnonymous:o,hideCloseButton:d,onResult:m,onMessage:p,productTitle:v,skipPurchaseConfirmation:g,tracking:_,referringProductId:b,clientType:E,offerId:S,productMetadataList:C,themeOverride:T,redeemScenario:I=F.Redeem}=e,[k,A]=(0,l.useState)(!0),[N,M]=(0,l.useState)(Ju()),{currentExperience:R}=(0,l.useContext)(u.W4),D=(0,l.useCallback)(((e,t)=>{p&&p({type:V.PageChange,data:e}),M(e)}),[p]),B=(0,c.d4)(nn.yn),U=(0,c.d4)(nn.ct)||!!B,H=(0,i.wwE)(),G=(0,i.AzV)(),q=(0,c.d4)((e=>(0,yt.g4)(e,t))),z=n||(null===q||void 0===q?void 0:q.optimalSkuId)||(null===q||void 0===q?void 0:q.preferredSkuId);(0,l.useEffect)((()=>{if(!o&&!U){const e=(0,i.XBe)(t)===f.hd?G(window.location.href):H(window.location.href);window.parent===window?window.location.assign(e):N!==Hu.Error&&(D(Hu.Error,new Error("Attempting to sign-in inside an iframe")),A(!1))}}),[o,U,t,N,H,G,D]);const X=(0,c.wA)(),j=(0,c.d4)(i.j17),[W,$]=(0,l.useState)(((e,t,n)=>({productId:e,skuId:t,availabilityId:n,status:O.Canceled}))(t,z,r)),[J,K]=(0,l.useState)($u(t,z,r)),Q={contentName:"Close Contextual Store Button",templateName:"ButtonComponent",contentType:"ActionButton",productId:t,skuId:z,productName:v},{genericPurchaseErrorMessage:Y,closeButtonText:Z,closeContextualStore:ee}=(0,s.ot)("genericPurchaseErrorMessage","closeButtonText","closeContextualStore"),te=(0,c.d4)((e=>(0,i.pzA)(e,i.WTf.UsePostMessageHelper)));(0,l.useEffect)((()=>{(0,P.initializeGamepadNavigation)()}),[]);(0,l.useEffect)((()=>{if(t){X(on.m.getProductDetailById.start(t,(e=>(e=>{$({productId:t,skuId:z,availabilityId:r,status:O.ServiceError,error:e}),D(Hu.Error,e),A(!1)})(e))));const e=Ju();N!==e&&M(e),K($u(t,z,r))}}),[r,t,z]),(0,l.useEffect)((()=>{switch(W.status){case O.Purchased:g?m&&m(W):(K({productId:W.productId,skuId:W.skuId||"",availabilityId:W.availabilityId||""}),D(Hu.ThankYou));break;case O.ServiceError:case O.PurchaseError:case O.AlreadyPurchased:m&&m(W)}}),[W,m,g]);const ne=()=>{m&&m(W)},re={onCancel:ne,onError:(e,t,n,r,a,o)=>{$({productId:e,skuId:n,availabilityId:r,status:t,orderId:a,error:o})},onOpenUrl:e=>{p&&p({type:V.OpenUrl,data:e}),window.open(e,"_blank")},onSuccess:(e,t,n,r,a,o)=>{$({productId:e,skuId:t,availabilityId:n,status:O.Purchased,orderId:r,xboxCardUsedForPurchase:a,tokenType:o})}};let ae=null;switch(N){case Hu.Redeem:default:ae=l.createElement(Uu,{productId:J.productId,availabilityId:J.availabilityId,skuId:J.skuId,trackingParams:_,setIsLoading:A,onCloseButtonClick:ne,clientType:E,orderDetails:re,offerId:S,productMetadataList:C,themeOverride:T,scenario:I});break;case Hu.ThankYou:ae=l.createElement(Ou,{productId:W.productId,skuId:W.skuId,referringProductId:b,setIsLoading:A,onError:e=>D(Hu.Error,e),onClose:ne,xboxCardUsedForPurchase:W.xboxCardUsedForPurchase,tokenType:W.tokenType});break;case Hu.Error:ae=((e,t,n,r,a)=>l.createElement("div",{className:"ContextualStoreRedeem-module__failureViewContainer___6JOCs"},l.createElement("h4",null,e),l.createElement(w.a,h()({as:"button",onClick:r,className:"ContextualStoreRedeem-module__closeButton___xbBNz","aria-label":n},(0,x.vj)(a)),t)))(Y,Z,ee,ne,Q)}const oe=!(d||N===Hu.Redeem||N===Hu.ThankYou&&R===u.Je.MobileLandscape);return l.createElement(L,{value:{activateStoreExperiments:!!a}},te&&l.createElement(rn.m,null,l.createElement("script",null,`(${Ru.toString()})();`)),l.createElement(x.M9,null,l.createElement(P.FocusContainer,{autoFocusContainer:!0,className:"ContextualStoreRedeem-module__focusContainer___gw8mj",onKeyDown:e=>{"Escape"===e.nativeEvent.key&&ne()}},l.createElement(u.mc,{className:y()("xgp-reset-style","ContextualStoreRedeem-module__contextualStoreContainer___F2Awo",{"theme-dark":T?T===i.Sxu.Dark:j===i.Sxu.Dark},"ContextualStoreRedeem-module__isNewBuyNowXboxUiExpEnabled___mfIP2")},l.createElement("div",{className:y()("ContextualStoreRedeem-module__newContextualStoreSizing___NsX+6","ContextualStoreRedeem-module__flexColumn___M8ezq")},ae),oe&&l.createElement(en.M,h()({as:"button",icon:tn.A,onClick:ne,buttonSize:se.Mp.Small,buttonType:se.VQ.Primary,overlayMode:se.w9.Solid,className:y()([(0,u.YK)("margin","all",2),"ContextualStoreRedeem-module__closeIcon___kV39k"]),"aria-label":ee},(0,x.vj)(Q))),k&&l.createElement("div",{className:"ContextualStoreRedeem-module__progressContainer___hfsHk"},l.createElement(u.fI,{className:"ContextualStoreRedeem-module__progressIconAlignment___gdT76"},l.createElement(u.L7,null)))))))};var Qu=n(20090);const Yu=function(e){return l.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},e),l.createElement("path",{d:"M3 6.875a1.125 1.125 0 000 2.25h26a1.125 1.125 0 000-2.25H3zM7 14.875a1.125 1.125 0 000 2.25h18a1.125 1.125 0 000-2.25H7zM12 22.875a1.125 1.125 0 000 2.25h8a1.125 1.125 0 000-2.25h-8z"}))};var Zu=n(18872);const ed=function(e){return l.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),l.createElement("circle",{cx:16,cy:16,r:5,fillRule:"evenodd"}))};var td="ApplyFiltersButton-module__applyButton___faTvE",nd="ApplyFiltersButton-module__filterText___-fwr6",rd="ApplyFiltersButton-module__text___UQPpr";const ad=e=>e.pageType===x.ry.Search?l.createElement(od,h()({},e)):l.createElement(id,h()({},e)),od=e=>{const t=(0,s.JX)("seeResultsFilterButtonText");return l.createElement(w.a,{as:"button","aria-label":t,buttonType:se.VQ.Brand,className:y()(td,E.Q,rd),onClick:e.onHide},l.createElement("span",{className:nd},t))},id=e=>{const t=(0,i.mzJ)(i.pvY.ChannelId,""),{channelLce:n}=vn.JD.useFilteredBrowseChannelByChannelId(t),r=(0,s.JX)("browsePageRefineResults"),a=(0,s.JX)("seeResultsFilterButtonText"),o=()=>{const e=l.createElement(ed,{"aria-hidden":!0});return l.createElement("span",{className:nd},e," ",e," ",e)};return l.createElement(w.a,{as:"button","aria-label":r,buttonType:se.VQ.Brand,className:y()(td,E.Q,rd),onClick:e.onHide},l.createElement(Qu.LceRenderer,{key:"FilterPanel_button_title",data:n,renderNotRequested:o,renderContent:()=>l.createElement("span",{className:nd},a),renderFetching:o,renderError:o,renderDefault:o}))};var sd="SortAndFilters-module__clearAllButton___M8wTO",ld="SortAndFilters-module__clearAllButtonContainer___v6UZC",cd="SortAndFilters-module__filterText___MqCzX",ud="SortAndFilters-module__filterTitle___LiVrt",dd="SortAndFilters-module__filtersText___8OwXG",md="SortAndFilters-module__sortContainer___e+DLZ",pd="SortAndFilters-module__text___Dl4fZ";const hd=["overrideLandscapeButtonWithPortraitButton"],fd=e=>{const{selectedSort:t,sortInfo:n}=e,r=(0,J.W6)(),a=(0,s.FE)("browsePageSortByXFunction"),o=[{id:an.$Z}];return l.createElement(ot,{filterInfo:n,onChoicesClick:(e,t)=>{const a=e;if(n.hasAllChoice&&n.allChoiceId&&t===n.allChoiceId){const e=(0,an.dJ)(a,(0,A.ZB)(r.location));(0,an.Z)(r,e,!0)}else{const e=(0,an.Pv)(a,t,(0,A.ZB)(r.location));(0,an.Z)(r,e,!0)}},selectedChoices:null!==t&&void 0!==t?t:o,isInitiallyCollapsed:!0,titleFunction:a,isScrollable:!1})},vd=e=>{const{filtersInfo:t,selectedFilters:n}=e,r=(0,an.fQ)(t),a=(0,J.W6)(),o=(e=>{const[t,n,r,a]=(0,s.cG)("gamesTabTitleNoCount","addOnsTabTitleNoCount","productsText","searchFiltersContainerAriaLabel");return(0,l.useMemo)((()=>{let o=r;return e===an.LC.Games?o=t:e===an.LC.Addons&&(o=n),(0,Zu.GP)(a,o)}),[r,e,a,t,n])})((0,A.fX)(a.location)),i=(e,t)=>{const n=(0,an.IO)(e,t,(0,A.ZB)(a.location));(0,an.Z)(a,n,!0)};return l.createElement("div",{role:"region","aria-label":o},l.createElement("ul",{className:"SortAndFilters-module__filterList___T81LH"},r.map(((e,t)=>{var r,a;const o=n&&null!==(a=null===(r=n[e.id])||void 0===r?void 0:r.choices)&&void 0!==a?a:[],s=e.id!==an.av.Accessibility;return l.createElement("li",{key:`${e.id}_${t}`,className:"SortAndFilters-module__li___aV+Oo"},l.createElement(ot,{filterInfo:e,onChoicesClick:i,selectedChoices:o,isInitiallyCollapsed:!0,isScrollable:s}))}))))},gd=e=>{var t;const{filtersInfo:n,selectedFilters:r,sortInfo:a}=e,o=(0,s.FE)("browsePageFilterTitle");return l.createElement("div",{className:"SortAndFilters-module__container___yA+Vp"},l.createElement("div",{className:md},l.createElement(fd,{selectedSort:null===(t=r[an.av.OrderBy])||void 0===t?void 0:t.choices,sortInfo:a})),l.createElement("h2",{className:y()(E.CS,dd)},o),l.createElement(vd,{selectedFilters:r,filtersInfo:n}))},_d=e=>{const{browsePageRefineResults:t,browsePageClearAllFilters:n}=(0,s.ot)("browsePageRefineResults","browsePageClearAllFilters"),r=(0,J.W6)(),[a,o]=(0,l.useState)(!1),i=(0,an.Uh)(e.selectedFilters),c=(0,s.JX)("browsePageFilterMobileTitleFunction",{Filters:i});return l.createElement(l.Fragment,null,l.createElement(w.a,{as:"button","aria-label":t,buttonType:se.VQ.Brand,className:y()("SortAndFilters-module__button___OeFeU",E._o,pd),onClick:()=>{o(!0)}},l.createElement(Yu,{"aria-hidden":!0}),l.createElement("span",{className:cd},t)),a&&l.createElement(Ed,{showModal:a,onHide:()=>{o(!1)},selectedFiltersSize:i,filtersInfo:e.filtersInfo,sortInfo:e.sortInfo,selectedFilters:e.selectedFilters,filterTitleWithCount:c,pageType:e.pageType}),i>0&&l.createElement("div",{className:ud},l.createElement("div",{className:y()(E.CS,dd)},c),l.createElement("div",{className:ld},l.createElement(w.a,{as:"button","aria-label":n,buttonType:se.VQ.Tertiary,className:y()(sd,E.Q,pd),onClick:()=>{const e=(0,an.PI)(r.location);(0,an.Z)(r,e,!0)}},l.createElement("span",{className:cd},n)))))},yd=e=>{const t=(0,s.FE)("browsePageRefineResults"),[n,r]=(0,l.useState)(!1),a=(0,an.Uh)(e.selectedFilters),o=(0,s.JX)("browsePageFilterMobileTitleFunction",{Filters:a});return l.createElement(l.Fragment,null,l.createElement(w.a,{as:"button","aria-label":t,buttonType:se.VQ.Brand,className:y()("SortAndFilters-module__buttonLandscape___+mKnt",E._o,pd),onClick:()=>{r(!0)}},l.createElement(Yu,{"aria-hidden":!0})),n&&l.createElement(Ed,{showModal:n,onHide:()=>{r(!1)},selectedFilters:e.selectedFilters,selectedFiltersSize:a,filtersInfo:e.filtersInfo,sortInfo:e.sortInfo,filterTitleWithCount:o,pageType:e.pageType}))},bd=e=>{const{overrideLandscapeButtonWithPortraitButton:t}=e,n=C()(e,hd),r=(0,u.Gp)({desktopComponent:gd,mobilePortraitComponent:_d,mobileLandscapeComponent:t?_d:yd});return r?l.createElement(r,h()({},n)):null},Ed=e=>{let{filtersInfo:t,filterTitleWithCount:n,onHide:r,showModal:a,selectedFilters:o,selectedFiltersSize:i,sortInfo:c,pageType:d}=e;var m;const{browsePageFiltersTitle:p,browsePageClearAllFilters:h}=(0,s.ot)("browsePageFiltersTitle","browsePageClearAllFilters"),f=0===i?p:n,v=(0,J.W6)();return l.createElement(u.aF,{ariaLabel:f,className:"SortAndFilters-module__modalContainer___MoRmH",closeable:!1,onHide:r,show:a},l.createElement(u.aF.Body,{className:(0,u.YK)("padding","all",3)},l.createElement("div",{className:"SortAndFilters-module__containerMobile___vuoD2"},l.createElement("div",{className:md},l.createElement(fd,{selectedSort:null===(m=o[an.av.OrderBy])||void 0===m?void 0:m.choices,sortInfo:c})),l.createElement("div",{className:y()(ud,"SortAndFilters-module__sortFilterTitle___RAHge")},l.createElement("div",{className:y()(E.CS,dd)},f),i>0&&l.createElement("div",{className:ld},l.createElement(w.a,{as:"button","aria-label":h,buttonType:se.VQ.Tertiary,className:y()(sd,E.Q,pd),onClick:()=>{const e=(0,an.PI)(v.location);(0,an.Z)(v,e,!0)}},l.createElement("span",{className:cd},h)))),l.createElement(vd,{selectedFilters:o,filtersInfo:t})),l.createElement("div",{className:"SortAndFilters-module__applyButtonContainer___I7dpt"},l.createElement(ad,{onHide:r,pageType:d}))))};var Sd="FiltersPanel-module__modalContainer___pQEtN",Cd="FiltersPanel-module__text___Umo23",Pd="LoadingFilters-module__text___qgjxf";const Td=()=>l.createElement("div",{className:"LoadingFilters-module__filtersPanel___HaYt8"}),wd=()=>{const e=(0,s.FE)("browsePageRefineResults");return l.createElement(w.a,{as:"button","aria-label":e,buttonType:se.VQ.Brand,className:y()("LoadingFilters-module__button___tD2Ng",E._o,Pd),disabled:!0},l.createElement(Yu,{"aria-hidden":!0}),l.createElement("span",{className:"LoadingFilters-module__filterText___fmXBY"},e))},Id=()=>{const e=(0,s.FE)("browsePageRefineResults");return l.createElement(w.a,{as:"button","aria-label":e,buttonType:se.VQ.Brand,className:y()("LoadingFilters-module__buttonLandscape___rLfge",E._o,Pd),disabled:!0},l.createElement(Yu,{"aria-hidden":!0}))},kd=()=>{const e=(0,u.Gp)({desktopComponent:Td,mobilePortraitComponent:wd,mobileLandscapeComponent:Id});return e?l.createElement(e,null):null},xd=()=>{const{browsePageRefineResults:e,browsePageFiltersTitle:t,browsePageFilterErrorTitle:n,browsePageFilterErrorDescription:r}=(0,s.ot)("browsePageRefineResults","browsePageFiltersTitle","browsePageFilterErrorTitle","browsePageFilterErrorDescription"),[a,o]=(0,l.useState)(!1);return l.createElement(l.Fragment,null,l.createElement(w.a,{as:"button","aria-label":e,buttonType:se.VQ.Brand,className:y()("FiltersPanel-module__button___YQ92p",E._o,Cd),onClick:()=>{o(!0)}},l.createElement(Yu,{"aria-hidden":!0}),l.createElement("span",{className:"FiltersPanel-module__filterText___G10Ck"},e)),a&&l.createElement(u.aF,{className:Sd,show:a,ariaLabel:t,closeable:!0,onHide:()=>{o(!1)}},l.createElement(he,{errorHeading:n,errorDescription:r})))},Ad=()=>{const{browsePageRefineResults:e,browsePageFiltersTitle:t,browsePageFilterErrorTitle:n,browsePageFilterErrorDescription:r}=(0,s.ot)("browsePageRefineResults","browsePageFiltersTitle","browsePageFilterErrorTitle","browsePageFilterErrorDescription"),[a,o]=(0,l.useState)(!1);return l.createElement(l.Fragment,null,l.createElement(w.a,{as:"button","aria-label":e,buttonType:se.VQ.Brand,className:y()("FiltersPanel-module__buttonLandscape___T7IjK",E._o,Cd),onClick:()=>{o(!0)}},l.createElement(Yu,{"aria-hidden":!0})),a&&l.createElement(u.aF,{className:Sd,show:a,ariaLabel:t,closeable:!0,onHide:()=>{o(!1)}},l.createElement(he,{errorHeading:n,errorDescription:r})))},Nd=()=>{const{browsePageFilterErrorTitle:e,browsePageFilterErrorDescription:t}=(0,s.ot)("browsePageFilterErrorTitle","browsePageFilterErrorDescription");return l.createElement(he,{errorHeading:e,errorDescription:t})},Ld=()=>{const e=(0,u.Gp)({desktopComponent:Nd,mobilePortraitComponent:xd,mobileLandscapeComponent:Ad});return e?l.createElement(e,null):null},Md=e=>{const t=(0,c.d4)((t=>(0,vn.gA)(t,e.pageType))),n=(0,an.sz)();return l.createElement(Qu.LceRenderer,{key:`FilterPanel_${e.pageType}`,data:t,renderFetching:()=>l.createElement(kd,null),renderContent:t=>{let{data:r}=t;return l.createElement(bd,{filtersInfo:r,selectedFilters:n,sortInfo:r[an.av.OrderBy],pageType:e.pageType,overrideLandscapeButtonWithPortraitButton:e.overrideLandscapeButtonWithPortraitButton})},renderError:()=>l.createElement(Ld,null)})};const Od=e=>{let{searchResult:t}=e;let n=t.description;return t.description.length>225&&(n=`${t.description.substring(0,225)} ...`),l.createElement("div",{className:"SearchResult-module__resultWrapper___Xnr2T"},l.createElement("p",{className:"SearchResult-module__title___cBdxh"},t.title),l.createElement("p",{className:"SearchResult-module__description___yl6ss"},n),l.createElement("a",{href:t.url,className:"SearchResult-module__result___mnqfi"},t.url))};const Rd=e=>{let{searchResults:t}=e;return l.createElement("div",{className:"SearchResultList-module__searchGrid___8Jq6r"},t.map(((e,t)=>l.createElement(Od,{searchResult:e,key:t}))))};var Dd=n(91582);const Bd=function(e){return l.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),l.createElement("path",{d:"M25.85 4.507a1.46 1.46 0 00-.907.436L16 13.887 7.057 4.943A1.418 1.418 0 006 4.5a1.46 1.46 0 00-1.057.443A1.46 1.46 0 004.5 6l.009.161c.036.318.18.614.417.877L13.887 16l-8.944 8.944A1.46 1.46 0 004.5 26c0 .38.148.731.426 1.038.29.307.657.462 1.074.462l.154-.007c.354-.034.666-.185.913-.447L16 18.113l8.943 8.944c.273.288.64.443 1.057.443.417 0 .784-.155 1.067-.454A1.45 1.45 0 0027.5 26l-.007-.154a1.415 1.415 0 00-.447-.913L18.113 16l8.944-8.943A1.46 1.46 0 0027.5 6c0-.417-.155-.784-.454-1.067A1.408 1.408 0 0026 4.5l-.15.007z",fillRule:"evenodd"}))};var Fd="StackFilters-module__button___DhtUo",Ud="StackFilters-module__buttonContainer___yoawp",Hd="StackFilters-module__text___StjKO";const Vd=e=>{var t;const{selectedFilters:n,filters:r}=e,[a,o,i]=(0,s.cG)("browsePageClearAllFilters","browsePageClearAllFiltersAccessibilityLabel","browsePageClearAllFiltersMessage"),c=(0,l.useRef)(!1),u=e=>{(0,Dd.oR)(`${e}${c.current?".":""}`),c.current=!c.current},d=(0,J.W6)(),m=[];for(const s of Object.values(n)){const e=s.choices.map((e=>e.id.toUpperCase())),n=null===(t=r[s.id])||void 0===t?void 0:t.choices.filter((t=>e.includes(t.id.toUpperCase())));n&&n.map((e=>{s.id.toUpperCase()!==an.oL&&m.push(l.createElement(Gd,{filterId:s.id,choiceId:e.id,choiceTitle:e.title,displayToast:u}))}))}return m.length>0?l.createElement("div",{className:"StackFilters-module__container___yKM42"},l.createElement("div",{className:Ud},l.createElement(w.a,{as:"button","aria-label":o,buttonType:se.VQ.Tertiary,className:y()(Fd,E.Q,Hd),onClick:()=>{const e=(0,an.PI)(d.location);u(i),(0,an.Z)(d,e,!0)}},a)),l.createElement(l.Fragment,null,m)):null},Gd=e=>{const{filterId:t,choiceId:n,choiceTitle:r,displayToast:a}=e,o=(0,J.W6)(),[c]=(0,s.cG)("browsePageClearFilterMessage"),u=(0,s.FE)("browsePageClearFilterFunction"),d=(0,i.GPZ)(u,r);return l.createElement("div",{className:Ud},l.createElement(w.a,{as:"button","aria-label":d,buttonType:se.VQ.Tertiary,className:y()(Fd,E.Q,Hd),onClick:()=>((e,t)=>{const n=(0,an.IO)(e,t,(0,A.ZB)(o.location));(0,an.Z)(o,n,!0),a((0,i.GPZ)(c,r))})(an.av[t],n)},l.createElement(Bd,{"aria-hidden":!0}),l.createElement("span",{className:"StackFilters-module__filterText___tmWQ0"},r)))},qd=e=>{const t=(0,u.Gp)({desktopComponent:Vd,mobilePortraitComponent:void 0,mobileLandscapeComponent:void 0});return t?l.createElement(t,h()({},e)):null},zd=e=>{const t=(0,c.d4)((t=>(0,vn.gA)(t,e.pageType))),n=(0,an.sz)();return l.createElement(Qu.LceRenderer,{key:`StackFilter_${e.pageType}`,data:t,renderContent:e=>{let{data:t}=e;return l.createElement(qd,{selectedFilters:n,filters:t})}})};const Xd=e=>{let{gamerTag:t,className:n,gamerPic:r,gamerPicSize:a}=e;const o=(0,s.JX)("gamerPicAltText"),i=(0,s.JX)("applyFlowAccountWelcomeTitle",[t]);return l.createElement("div",{className:y()("GamerPicWithGamerTag-module__gamerPicWithGamerTagContainer___5nJMD",n)},l.createElement(_u.lY,{"aria-label":o,src:r,size:null!==a&&void 0!==a?a:_u.Ow.Large,className:"GamerPicWithGamerTag-module__gamerPicContainer___InnM5"}),l.createElement("div",{className:"GamerPicWithGamerTag-module__gamerTag___40FQO"},i))},jd=(0,u.sT)({resolved:{},chunkName:()=>"PIDLContainer",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,i.wjz)(u.M7,Promise.all([n.e(1524),n.e(1435)]).then(n.bind(n,47923))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>47923});const Wd="launchContentModal",$d="launchContentModalEvent";var Jd;!function(e){e.XboxCardApplyModal="xboxcardapplymodal"}(Jd||(Jd={}));const Kd=e=>{let{gamerTag:t}=e;const n=(0,s.JX)("applyFlowAccountSwitchButtonText"),r=(0,s.JX)("applyFlowAccountSwitchTitle",[t]),a=(0,i.m$W)(),o=new URL(a),c=-1!==a.toLocaleLowerCase().indexOf("/apply"),u=(0,i.wwE)(),d=new URLSearchParams(o.search);c||(d.set(Wd,Jd.XboxCardApplyModal),o.search=d.toString());const m={areaName:"XboxCardApplyHost",contentType:x.cM.Link,contentName:"Xbox card apply switch account",id:"xboxCardApplyUserSwitchAccount"},p=u(o.toString(),{prompt:"select_account"});return l.createElement("div",{className:"XboxCardApply-module__switchAccountBlock___fqUJZ"},l.createElement("span",{className:E._o},r),l.createElement("a",h()({"aria-label":n,className:y()(E._o,"XboxCardApply-module__changeAccountLink___bbNtn"),href:p},(0,x.vj)(m)),n))},Qd=e=>{let{hideSwitchAccount:t,applyFullPageRender:n,applyFullPageConsoleRender:r,onKeyDown:a,channelName:o,referrerId:i,onClose:s}=e;const d=(0,c.d4)(nn.ug),m=(0,c.d4)(nn.$z),p=null!==m&&void 0!==m?m:d,h=null===p||void 0===p?void 0:p.gamerPicUrl,f=null===p||void 0===p?void 0:p.gamerTag;return l.createElement(u.mc,{className:y()("xgp-reset-style","XboxCardApply-module__applyContainer___BonYH"),onKeyDown:a},l.createElement(u.mc,{className:"XboxCardApply-module__contentContainer___cFqa-"},l.createElement(u.mc,{className:"XboxCardApply-module__accountContainer___JTyBI"},!!f&&l.createElement(Xd,{gamerPic:h,gamerTag:f,className:"XboxCardApply-module__heroContainer___3sN5n"}),!t&&!!f&&l.createElement(Kd,{gamerTag:f})),l.createElement(jd,{channelName:o,containerClassName:"XboxCardApply-module__pidlContainer___GMrgR",referrerId:i,onClose:s,nonConsoleFullPageRender:n,consoleFullPageRender:r})))},Yd=e=>{const{applyFullPageConsoleRender:t}=e,n=(0,c.wA)(),r=new URLSearchParams((0,J.zy)().search),a=r.get("t");a&&"dark"===a.toLowerCase()&&n(i.F6E.setTheme(i.Sxu.Dark));const o=r.get("channelname"),s=r.get("referrerid");return l.createElement(u.tH,null,(()=>l.createElement(u.a4,null,l.createElement(Qd,{hideSwitchAccount:t,channelName:null!==o&&void 0!==o?o:Ct.K7,referrerId:null!==s&&void 0!==s?s:Ct.eK,applyFullPageRender:!t,applyFullPageConsoleRender:t}))))};const Zd=e=>{let{onClose:t,showModal:n,hideClose:r,children:a}=e;const o=(0,c.d4)(nn.ug),i=(0,s.JX)("applyModalAccessibilityLabel");return o?l.createElement(u.aF,{className:"XboxCardApplyModal-module__modalContent___WI4rp",show:n,fullscreenOnMobile:!0,ariaLabel:i,closeable:!r,closeButtonClassName:"XboxCardApplyModal-module__closeButton___UqRQM",closeContainerClassName:"XboxCardApplyModal-module__closeContainer___WqaLB",onCloseBtnClick:t,onHide:()=>{},overlayClassName:"XboxCardApplyModal-module__applyModalOverlay___BNzOM"},l.createElement(u.aF.Body,{className:"XboxCardApplyModal-module__applyModalBody___x190R"},a)):null};var em=n(34101)},6138:(e,t,n)=>{"use strict";n.d(t,{_:()=>g});var r=n(87999),a=n(7365),o=n(683),i=n(10467);const s=Symbol.for("SentryBufferFullError");function l(e){const t=[];function n(e){return t.splice(t.indexOf(e),1)[0]||Promise.resolve(void 0)}return{$:t,add:function(a){if(!(void 0===e||t.lengthn(o))).then(null,(()=>n(o).then(null,(()=>{})))),o},drain:function(e){return new r.T2(((n,a)=>{let o=t.length;if(!o)return n(!0);const i=setTimeout((()=>{e&&e>0&&n(!1)}),e);t.forEach((e=>{(0,r.XW)(e).then((()=>{--o||(clearTimeout(i),n(!0))}),a)}))}))}}}function c(e,{statusCode:t,headers:n},r=Date.now()){const a={...e},o=n?.["x-sentry-rate-limits"],i=n?.["retry-after"];if(o)for(const s of o.trim().split(",")){const[e,t,,,n]=s.split(":",5),o=parseInt(e,10),i=1e3*(isNaN(o)?60:o);if(t)for(const s of t.split(";"))"metric_bucket"===s&&n&&!n.split(";").includes("custom")||(a[s]=r+i);else a.all=r+i}else i?a.all=r+function(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}(i,r):429===t&&(a.all=r+6e4);return a}function u(e,t,n=l(e.bufferSize||64)){let u={};return{send:function(l){const d=[];if((0,o.yH)(l,((t,n)=>{const r=(0,o.zk)(n);!function(e,t,n=Date.now()){return function(e,t){return e[t]||e.all||0}(e,t)>n}(u,r)?d.push(t):e.recordDroppedEvent("ratelimit_backoff",r)})),0===d.length)return(0,r.XW)({});const m=(0,o.h4)(l[0],d),p=t=>{(0,o.yH)(m,((n,r)=>{e.recordDroppedEvent(t,(0,o.zk)(r))}))};return n.add((()=>t({body:(0,o.bN)(m)}).then((e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&a.T&&i.vF.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),u=c(u,e),e)),(e=>{throw p("network_error"),a.T&&i.vF.error("Encountered error running transport request:",e),e})))).then((e=>e),(e=>{if(e===s)return a.T&&i.vF.error("Skipped sending event because buffer is full."),p("queue_overflow"),(0,r.XW)({});throw e}))},flush:e=>n.drain(e)}}var d=n(4251),m=n(69734),p=n(80845);const h={};function f(e){const t=h[e];if(t)return t;let n=p.j[e];if((0,d.a3)(n))return h[e]=n.bind(p.j);const r=p.j.document;if(r&&"function"===typeof r.createElement)try{const t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);const a=t.contentWindow;a?.[e]&&(n=a[e]),r.head.removeChild(t)}catch(a){m.T&&i.vF.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,a)}return n?h[e]=n.bind(p.j):n}function v(e){h[e]=void 0}function g(e,t=f("fetch")){let n=0,a=0;return u(e,(function(o){const i=o.body.length;n+=i,a++;const s={body:o.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&a<15,...e.fetchOptions};if(!t)return v("fetch"),(0,r.xg)("No fetch implementation available");try{return t(e.url,s).then((e=>(n-=i,a--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}})))}catch(l){return v("fetch"),n-=i,a--,(0,r.xg)(l)}}))}},6678:(e,t,n)=>{"use strict";n.d(t,{Mo:()=>a,QB:()=>s,UG:()=>o,w3:()=>l});n(16725),n(65136),n(93848);let r=[];const a=e=>{r=e};function o(){return r}let i=[];const s=e=>i=e.filter(((e,t,n)=>n.indexOf(e)===t)),l=()=>i},6985:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(14041);const a=function(e){return r.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),r.createElement("path",{d:"M15.277 6.277a1.125 1.125 0 011.493-.088l.098.088 14.176 14.176a1.125 1.125 0 01-1.493 1.678l-.098-.087L16.072 8.663 2.723 22.013a1.125 1.125 0 01-1.493.087l-.098-.088a1.125 1.125 0 01-.087-1.493l.087-.098L15.277 6.277z",fillRule:"evenodd"}))}},7247:(e,t,n)=>{"use strict";n.d(t,{p:()=>u});var r=n(14041),a=n(36647);const o={EBADMSG:"Message with unexpected object value",ENOMSG:"Message not found"};class i extends Error{constructor(e,t,n){super(`${o[t]}: ${n(e)}`),this.code=t,this.path=e}}function s(e,t,n,r){const a=e=>e.join(t||",");function s(e,t){return console.warn(o[t],e),a(e)}if(void 0===n){if("function"===typeof r)return(e,t)=>r(`${o[t]}: ${a(e)}`);n=r}switch(n){case"silent":return a;case"error":return function(e,t){throw new i(e,t,a)};case"warn":return s;default:if("function"===typeof n){const e=n;return(t,n)=>e(new i(t,n,a))}return e.onError||s}}function l({locales:e},t){const n=e.filter((e=>e!==t));return[t].concat(n)}function c({merge:e,messages:t},n,r){const a=Object.assign({},t),o=a[n];return a[n]=o&&"object"===typeof o?e({},o,r):r,a}function u(e){const{children:t,context:n,debug:o,locale:i="",merge:u,messages:d,onError:m,pathSep:p}=e;let h=(0,r.useContext)(a.N);n?h=n:null===n&&(h=a.J);const f=(0,r.useMemo)((()=>{const e=function(e,t){return null===t||"string"===typeof t?t:e.pathSep}(h,p);return{locales:l(h,i),merge:u||h.merge,messages:c(h,i,d),onError:s(h,e,m,o),pathSep:e}}),[h,i,u,d,p]);return(0,r.createElement)(a.N.Provider,{value:f},t)}},7588:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(85608),a=n(14041);const o=function(e){var{title:t,titleId:n}=e,o=(0,r.__rest)(e,["title","titleId"]);return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},o),t?a.createElement("title",{id:n},t):null,a.createElement("path",{d:"M1920 1920H0L960 0l960 1920zM207 1792h1506L960 286 207 1792zm817-1024v640H896V768h128zm-128 768h128v128H896v-128z"}))}},7742:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(14041),a=n(39792),o=n(80018);const i=e=>{let{className:t}=e;return r.createElement("div",{className:o.g},r.createElement(a.L,{className:t}))}},7814:(e,t,n)=>{"use strict";n.d(t,{j:()=>r,n:()=>i});var r,a=n(51733),o=n(4976);!function(e){e.FETCH_DEVICES="@installActions/FETCH_DEVICES",e.FETCH_DEVICES_SUCCESS="@installActions/FETCH_DEVICES_SUCCESS",e.FETCH_DEVICES_ERROR="@installActions/FETCH_DEVICES_ERROR",e.QUEUE_INSTALL="@installActions/QUEUE_INSTALL",e.QUEUE_INSTALL_SUCCESS="@installActions/QUEUE_INSTALL_SUCCESS",e.QUEUE_INSTALL_ERROR="@installActions/QUEUE_INSTALL_ERROR",e.UPDATE_OPERATION_STATUS="@installActions/UPDATE_OPERATION_STATUS",e.CLEAR_OPERATION_STATUS="@installActions/CLEAR_OPERATION_STATUS"}(r||(r={}));const i={fetchDevices:(0,o.U)(a.H.Install,r.FETCH_DEVICES,(()=>({type:r.FETCH_DEVICES})),r.FETCH_DEVICES_SUCCESS,((e,t)=>({type:r.FETCH_DEVICES_SUCCESS,xboxDevices:e,pcDevices:t})),r.FETCH_DEVICES_ERROR,(e=>({type:r.FETCH_DEVICES_ERROR,error:e}))),queueInstall:(0,o.U)(a.H.Install,r.QUEUE_INSTALL,((e,t,n)=>({type:r.QUEUE_INSTALL,deviceId:e,productIds:t,isPcDevice:n})),r.QUEUE_INSTALL_SUCCESS,(e=>({type:r.QUEUE_INSTALL_SUCCESS,operationId:e})),r.QUEUE_INSTALL_ERROR,((e,t,n)=>({type:r.QUEUE_INSTALL_ERROR,error:e,deviceId:t,productIds:n}))),updateOperationStatus:(0,o.A)(r.UPDATE_OPERATION_STATUS,a.H.Install,((e,t)=>({type:r.UPDATE_OPERATION_STATUS,operation:e,newOperationStatus:t}))),clearOperationStatus:(0,o.A)(r.CLEAR_OPERATION_STATUS,a.H.Install,(e=>({type:r.CLEAR_OPERATION_STATUS,operation:e})))}},7851:(e,t,n)=>{"use strict";n.d(t,{GY:()=>l,IL:()=>m,IP:()=>c,JK:()=>o,N8:()=>a,P6:()=>s,a5:()=>i,hb:()=>u,oK:()=>d,sj:()=>p});var r=n(51077);const a=e=>l(e).anonToken,o=e=>s(e).locale,i=e=>s(e).localeWithScript,s=e=>(0,r.yB)(e).marketInfo,l=e=>(0,r.yB)(e).requestInfo,c=e=>(0,r.yB)(e).deviceId,u=e=>l(e).path,d=e=>(0,r.yB)(e).telemetryInfo,m=e=>(0,r.yB)(e).isPreviewMode,p=e=>(0,r.yB)(e).isReactDomHydrating},8634:(e,t,n)=>{"use strict";n.d(t,{L:()=>i});var r=n(76288),a=n(12272);let o=null;function i(e){const t="error";(0,a.s5)(t,e),(0,a.AS)(t,s)}function s(){o=r.O.onerror,r.O.onerror=function(e,t,n,r,i){const s={column:r,error:i,line:n,msg:e,url:t};return(0,a.aj)("error",s),!!o&&o.apply(this,arguments)},r.O.onerror.__SENTRY_INSTRUMENTED__=!0}},9274:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.appRoutes=t.perfFlightName=t.intFlightName=t.ppeFlightName=t.buyNowUIAppName=t.purchaseUIAppName=t.prefetchURLTemplate=t.GPC_DataSharingOptInKey=t.windowTargetCurrent=t.REDEEMNOW_PREFETCH_URL=t.BUYNOW_PREFETCH_URL=t.PERF_BUYNOWUI_URL=t.INT_BUYNOWUI_URL=t.PPE_BUYNOWUI_URL=t.PERF_PURCHASEUI_URL=t.INT_PURCHASEUI_URL=t.PPE_PURCHASEUI_URL=t.BASE_BUYNOWUI_URL=t.BASE_PURCHASEUI_URL=t.TARGET_ORIGIN=void 0,t.TARGET_ORIGIN="https://www.microsoft.com",t.BASE_PURCHASEUI_URL="/store/purchase/purchaseui/",t.BASE_BUYNOWUI_URL="/store/purchase/buynowui",t.PPE_PURCHASEUI_URL="/store/purchase/purchaseui-ppe/",t.INT_PURCHASEUI_URL="/store/purchase/purchaseui-int/",t.PERF_PURCHASEUI_URL="/store/purchase/purchaseui-perf/",t.PPE_BUYNOWUI_URL="/store/purchase/buynowui-ppe",t.INT_BUYNOWUI_URL="/store/purchase/buynowui-int",t.PERF_BUYNOWUI_URL="/store/purchase/buynowui-perf",t.BUYNOW_PREFETCH_URL="https://www.microsoft.com/store/purchase/buynowui/prefetch/buynow",t.REDEEMNOW_PREFETCH_URL="https://www.microsoft.com/store/purchase/buynowui/prefetch/redeemnow",t.windowTargetCurrent="current",t.GPC_DataSharingOptInKey="GPC_DataSharingOptIn",t.prefetchURLTemplate="https://www.microsoft.com/store/purchase/{0}/prefetch/{1}",t.purchaseUIAppName="purchaseui",t.buyNowUIAppName="buynowui",t.ppeFlightName="sc_cartppe",t.intFlightName="sc_cartint",t.perfFlightName="sc_cartperf",t.appRoutes={cart:"cart",checkout:"checkout",buyNow:"buynow",redeem:"redeem",deviceRepair:"device-repair",guestOrderLookup:"guest-order-lookup",aadSignIn:"aad-signin",commercialCheckout:"commercial-checkout"}},9880:(e,t,n)=>{"use strict";n.d(t,{P:()=>a,a:()=>r});n(81152),n(30329),n(93831),n(34237),n(11505);const r=(e,t)=>{if(e===`/${t}`)return"/";const n=new RegExp(`^(/${t})?(/.*)$`,"i"),r=e.match(n);return r?r[2]:e},a=e=>!e||"www.xbox.com"===e||e===window.location.host},10467:(e,t,n)=>{"use strict";n.d(t,{Ow:()=>i,Z9:()=>s,pq:()=>l,vF:()=>c});var r=n(43223),a=n(67401),o=n(76288);const i=["debug","info","warn","error","log","assert","trace"],s={};function l(e){if(!("console"in o.O))return e();const t=o.O.console,n={},r=Object.keys(s);r.forEach((e=>{const r=s[e];n[e]=t[e],t[e]=r}));try{return e()}finally{r.forEach((e=>{t[e]=n[e]}))}}const c=(0,r.BY)("logger",(function(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return a.T?i.forEach((n=>{t[n]=(...t)=>{e&&l((()=>{o.O.console[n](`Sentry Logger [${n}]:`,...t)}))}})):i.forEach((e=>{t[e]=()=>{}})),t}))},11984:(e,t,n)=>{"use strict";n.d(t,{Mj:()=>i,SQ:()=>a,qr:()=>o,tZ:()=>r});var r="ExpandingListContainer-module__contentArea___XxGhi",a="ExpandingListContainer-module__expandSeparator___eln3F",o="ExpandingListContainer-module__footer___blbJp",i="ExpandingListContainer-module__moreButton___leR3H"},12168:(e,t,n)=>{"use strict";t.LceRenderer=void 0;const r=n(14041),a=n(88262);class o extends r.Component{constructor(){super(...arguments),this.renderDefault=e=>this.props.renderDefault?this.props.renderDefault(e):null}render(){const{data:e,renderNotRequested:t,renderFetching:n,renderContent:r,renderError:o}=this.props;return a.lceSelect(e,{isNotRequested:t,isFetching:n,content:r,error:o,default:this.renderDefault})}}t.LceRenderer=o},12272:(e,t,n)=>{"use strict";n.d(t,{AS:()=>c,aj:()=>u,s5:()=>l});var r=n(67401),a=n(10467),o=n(63250);const i={},s={};function l(e,t){i[e]=i[e]||[],i[e].push(t)}function c(e,t){if(!s[e]){s[e]=!0;try{t()}catch(n){r.T&&a.vF.error(`Error while instrumenting ${e}`,n)}}}function u(e,t){const n=e&&i[e];if(n)for(const i of n)try{i(t)}catch(s){r.T&&a.vF.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${(0,o.qQ)(i)}\nError:`,s)}}},12571:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LIB_VERSION=void 0,t.LIB_VERSION="VERSION_PLACEHOLDER"},12853:(e,t,n)=>{"use strict";n.d(t,{F:()=>N});var r=n(10467),a=n(76668),o=n(76288),i=n(12272);function s(){"console"in o.O&&r.Ow.forEach((function(e){e in o.O.console&&(0,a.GS)(o.O.console,e,(function(t){return r.Z9[e]=t,function(...t){const n={args:t,level:e};(0,i.aj)("console",n);r.Z9[e]?.apply(o.O.console,t)}}))}))}var l=n(65537),c=n(98409),u=n(67099),d=n(68378);const m=100;function p(e,t){const n=(0,u.KU)(),a=(0,u.rm)();if(!n)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:i=m}=n.getOptions();if(i<=0)return;const s={timestamp:(0,d.lu)(),...e},l=o?(0,r.pq)((()=>o(s,t))):s;null!==l&&(n.emit&&n.emit("beforeAddBreadcrumb",l,t),a.addBreadcrumb(l,i))}var h=n(92735),f=n(25479);function v(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}var g=n(87322);function _(e){return void 0===e?void 0:e>=400&&e<500?"warning":e>=500?"error":void 0}var y=n(55282),b=n(80845);let E,S,C;function P(){if(!b.j.document)return;const e=i.aj.bind(null,"dom"),t=T(e,!0);b.j.document.addEventListener("click",t,!1),b.j.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((t=>{const n=b.j[t]?.prototype;n?.hasOwnProperty?.("addEventListener")&&((0,a.GS)(n,"addEventListener",(function(t){return function(n,r,a){if("click"===n||"keypress"==n)try{const r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},o=r[n]=r[n]||{refCount:0};if(!o.handler){const r=T(e);o.handler=r,t.call(this,n,r,a)}o.refCount++}catch(o){}return t.call(this,n,r,a)}})),(0,a.GS)(n,"removeEventListener",(function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this.__sentry_instrumentation_handlers__||{},a=n[t];a&&(a.refCount--,a.refCount<=0&&(e.call(this,t,a.handler,r),a.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch(a){}return e.call(this,t,n,r)}})))}))}function T(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(e){try{return e.target}catch(t){return null}}(n);if(function(e,t){return"keypress"===e&&(!t?.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,r))return;(0,a.my)(n,"_sentryCaptured",!0),r&&!r._sentryId&&(0,a.my)(r,"_sentryId",(0,h.eJ)());const o="keypress"===n.type?"input":n.type;if(!function(e){if(e.type!==S)return!1;try{if(!e.target||e.target._sentryId!==C)return!1}catch(t){}return!0}(n)){e({event:n,name:o,global:t}),S=n.type,C=r?r._sentryId:void 0}clearTimeout(E),E=b.j.setTimeout((()=>{C=void 0,S=void 0}),1e3)}}var w=n(85294),I=n(35596),k=n(53314),x=n(63481);const A=1024,N=(0,c._C)(((e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n;t.console&&function(e){const t="console";(0,i.s5)(t,e),(0,i.AS)(t,s)}(function(e){return function(t){if((0,u.KU)()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:v(t.level),message:(0,g.gt)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${(0,g.gt)(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}p(n,{input:t.args,level:t.level})}}(e)),t.dom&&(n=function(e,t){return function(n){if((0,u.KU)()!==e)return;let a,o,i="object"===typeof t?t.serializeAttribute:void 0,s="object"===typeof t&&"number"===typeof t.maxStringLength?t.maxStringLength:void 0;s&&s>A&&(k.T&&r.vF.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${s} was configured. Sentry will use 1024 instead.`),s=A),"string"===typeof i&&(i=[i]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;a=(0,f.Hd)(t,{keyAttrs:i,maxStringLength:s}),o=(0,f.xE)(t)}catch(c){a=""}if(0===a.length)return;const l={category:`ui.${n.name}`,message:a};o&&(l.data={"ui.component_name":o}),p(l,{event:n.event,name:n.name,global:n.global})}}(e,t.dom),(0,i.s5)("dom",n),(0,i.AS)("dom",P)),t.xhr&&(0,w.Mn)(function(e){return function(t){if((0,u.KU)()!==e)return;const{startTimestamp:n,endTimestamp:r}=t,a=t.xhr[w.Er];if(!n||!r||!a)return;const{method:o,url:i,status_code:s,body:l}=a,c={method:o,url:i,status_code:s},d={xhr:t.xhr,input:l,startTimestamp:n,endTimestamp:r},m={category:"xhr",data:c,type:"http",level:_(s)};e.emit("beforeOutgoingRequestBreadcrumb",m,d),p(m,d)}}(e)),t.fetch&&(0,l.ur)(function(e){return function(t){if((0,u.KU)()!==e)return;const{startTimestamp:n,endTimestamp:r}=t;if(r&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.fetchData.method,t.fetchData.url,t.error){const a=t.fetchData,o={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r},i={category:"fetch",data:a,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",i,o),p(i,o)}else{const a=t.response,o={...t.fetchData,status_code:a?.status};t.fetchData.request_body_size,t.fetchData.response_body_size,a?.status;const i={input:t.args,response:a,startTimestamp:n,endTimestamp:r},s={category:"fetch",data:o,type:"http",level:_(o.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",s,i),p(s,i)}}}(e)),t.history&&(0,I._)(function(e){return function(t){if((0,u.KU)()!==e)return;let n=t.from,r=t.to;const a=(0,y.Dl)(x.jf.location.href);let o=n?(0,y.Dl)(n):void 0;const i=(0,y.Dl)(r);o?.path||(o=a),a.protocol===i.protocol&&a.host===i.host&&(r=i.relative),a.protocol===o.protocol&&a.host===o.host&&(n=o.relative),p({category:"navigation",data:{from:n,to:r}})}}(e)),t.sentry&&e.on("beforeSendEvent",function(e){return function(t){(0,u.KU)()===e&&p({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:(0,h.$X)(t)},{event:t})}}(e))}}}))},13195:(e,t,n)=>{"use strict";n.d(t,{Jt:()=>r,kl:()=>a});const r={GamingTargetedAds:1,GamingPPU:2,GamingODC:3,MSATargetedAds:4,MockGamingTargetedAds:11},a={Settable:0,NotSettable:1,MustSet:2,Unavailable:3}},13496:(e,t,n)=>{"use strict";n.d(t,{G:()=>s,v:()=>i});var r=n(88262),a=n(14041),o=n(2383);function i(){return(0,a.useContext)(o.S)}function s(e){const t=i(),n=t.loadPartner,o=t.partnerLoadingState[e],s=t.partnerConfigs[e];return o.type===r.LCEType.NotRequested&&n(e),(0,a.useMemo)((()=>{const e=o.type===r.LCEType.NotRequested||o.type===r.LCEType.Fetching&&!o.previousContent,t={lce:o.type===r.LCEType.NotRequested?(0,r.lceFetching)():o,isLoading:e,isFetching:o.type===r.LCEType.Fetching||o.type===r.LCEType.NotRequested,isError:o.type===r.LCEType.Error,error:o.type===r.LCEType.Error?o.error:void 0};return[s,t]}),[s,o])}},14041:(e,t,n)=>{"use strict";e.exports=n(14304)},14638:(e,t,n)=>{"use strict";n.d(t,{AI:()=>C,Af:()=>s,DM:()=>a,QR:()=>g,Vh:()=>_,X:()=>d,Xo:()=>p,ZF:()=>o,as:()=>T,dZ:()=>i,di:()=>c,ec:()=>v,hk:()=>y,l$:()=>l,lA:()=>u,m8:()=>h,qI:()=>P,ru:()=>w,sI:()=>m,t0:()=>S,vN:()=>b,x0:()=>E,xi:()=>f,y9:()=>I});n(66264);var r=n(95428);n(83718);const a="https://www.microsoft.com/{locale}/store/cart",o="https://www.microsoft.com/store/onerf/signin?EEL=False&pcexp=True&ru={returnUrl}",i="https://support.microsoft.com/{0}/account-billing/4ed126a4-5d46-413f-a28e-968bd4414a80",s="https://aka.ms/AAaqyo9",l="https://aka.ms/AA52irh",c="https://aka.ms/AAaqyop",u="https://xbox.com/photosensitive-seizure-warning",d="productDetails/{productId}",m=()=>window.location.origin||r.jbi,p=e=>(0,r.tcg)("family/memberXuid({xuid})",{xuid:e}),h=(e,t)=>`${t?`/${t}`:""}/user/settings/privacy-and-safety${e?`/${e}`:""}`,f="https://social.xbox.com/changegamertag",v="https://account.live.com/Password/Change",g="http://go.microsoft.com/fwlink/?LinkID=532885",_="https://family.microsoft.com",y="https://account.microsoft.com/devices",b="https://account.microsoft.com/billing/orders",E="https://account.microsoft.com/services/",S="https://support.xbox.com/help/family-online-safety/online-safety/manage-app-privacy-settings-xbox-one",C="https://support.xbox.com/help/family-online-safety/online-safety/safety-settings-for-messages",P="https://ratingsedge.rnr.microsoft.com/v1.0/ratingsedge/content/product/{productId}/review/{reviewId}",T="https://apps.apple.com/app/xbox/id736179781",w="https://support.xbox.com/help/hardware-network/getting-started-set-up/complete-setup-in-mobile-app",I="https://support.xbox.com/help/account-profile/accessibility/game-accessibility-features"},14850:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTimeToInvokeMarkFromArgsOrNewMetric=t.getTimeToInvokeMark=t.clearPerfMarks=void 0;var n=function(e){var t=function(e){return performance&&performance.getEntriesByName?performance.getEntriesByName(e):[]}(e);return t.length>0?t[0].startTime:-1};t.clearPerfMarks=function(){performance&&performance.clearMarks&&performance.clearMarks()};t.getTimeToInvokeMark=function(e){return function(e){performance&&performance.mark&&performance.mark(e)}(e),n(e)};t.getTimeToInvokeMarkFromArgsOrNewMetric=function(e,n){return n&&n>0?n:(0,t.getTimeToInvokeMark)(e)}},14893:(e,t,n)=>{"use strict";n.d(t,{M7:()=>o,No:()=>r,OS:()=>s,Q0:()=>c,Qq:()=>l,kL:()=>a,nf:()=>i});var r="ShowMoreShowLess-module__baseLineText___OTuYW",a="ShowMoreShowLess-module__container___CyBM4",o="ShowMoreShowLess-module__less___gikrN",i="ShowMoreShowLess-module__link___K7wez",s="ShowMoreShowLess-module__more___oXPB7",l="ShowMoreShowLess-module__text___jt826",c="ShowMoreShowLess-module__withLineBreak___r04p2"},15453:(e,t,n)=>{"use strict";n.d(t,{lG:()=>d});var r=n(63250);function a(e,t,n,a){const o={filename:e,function:""===t?r.yF:t,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==a&&(o.colno=a),o}const o=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,i=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,s=/\((\S*)(?::(\d+))(?::(\d+))\)/,l=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,c=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,u=[[30,e=>{const t=o.exec(e);if(t){const[,e,n,o]=t;return a(e,r.yF,+n,+o)}const n=i.exec(e);if(n){if(n[2]&&0===n[2].indexOf("eval")){const e=s.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}const[e,t]=m(n[1]||r.yF,n[2]);return a(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],[50,e=>{const t=l.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=c.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||r.yF;return[n,e]=m(n,e),a(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]],d=(0,r.gd)(...u),m=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),a=-1!==e.indexOf("safari-web-extension");return n||a?[-1!==e.indexOf("@")?e.split("@")[0]:r.yF,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]}},16235:(e,t,n)=>{"use strict";n.d(t,{K_:()=>o,Ks:()=>a,PJ:()=>s,VI:()=>r,X7:()=>i,gI:()=>l,i5:()=>c,iM:()=>u});var r="commonStyles-module__basicButton___go-bX",a="commonStyles-module__basicContainer___8Vx5e",o="commonStyles-module__basicIcon___qnovY",i="commonStyles-module__basicLink___V+0u7",s="commonStyles-module__channelTitleText___ZlIZk",l="commonStyles-module__closeIconFocus___peFfQ",c="commonStyles-module__featureListStyle___8SVho",u="commonStyles-module__shimmer___toyTH"},16239:(e,t,n)=>{"use strict";n.d(t,{J:()=>r});const r={gamepassPC:"e5ada363-6ac5-4c74-bc19-d8ed821aa5fd"}},16337:(e,t,n)=>{"use strict";n.d(t,{UL:()=>l,ZB:()=>c,fX:()=>u});var r=n(41506),a=n.n(r),o=(n(34237),n(86090)),i=n(34813),s=n(76505);const l=(e,t)=>t?`${e}?${t.toString()}`:e,c=e=>{const t=u(e);return t?a()(a()({},e),{},{pathname:(0,o.tW)(s.DU,{tabName:t})}):e},u=e=>{var t;const n=(0,o.B6)(e.pathname,{path:s.DU});if(n){const e=null===(t=n.params.tabName)||void 0===t?void 0:t.toLowerCase();return(0,i.ig)(e)?e:s.HA}return null}},16654:(e,t,n)=>{var r,a;!function(o){if(void 0===(a="function"===typeof(r=o)?r.call(t,n,t,e):r)||(e.exports=a),!0,e.exports=o(),!!0){var i=window.Cookies,s=window.Cookies=o();s.noConflict=function(){return window.Cookies=i,s}}}((function(){function e(){for(var e=0,t={};e{"use strict";n.d(t,{A:()=>o});var r=n(85608),a=n(14041);const o=function(e){var{title:t,titleId:n}=e,o=(0,r.__rest)(e,["title","titleId"]);return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},o),t?a.createElement("title",{id:n},t):null,a.createElement("path",{d:"M2048 1024q0 142-36 272t-103 245-160 207-208 160-245 103-272 37q-142 0-272-36t-245-103-207-160-160-208-103-245-37-272q0-141 36-272t103-245 160-207 208-160T752 37t272-37q141 0 272 36t245 103 207 160 160 208 103 245 37 272zm-1024 896q123 0 237-32t214-90 182-141 140-181 91-214 32-238q0-123-32-237t-90-214-141-182-181-140-214-91-238-32q-124 0-238 32t-213 90-182 141-140 181-91 214-32 238q0 124 32 238t90 213 141 182 181 140 214 91 238 32zm-233-553l774-774 82 82-856 856-390-390 82-82 308 308z"}))}},17710:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r,a,o=n(50701),i=n(14041),s=n(79392),l=n(39548);var c="out-in",u="in-out",d=function(e,t,n){return function(){var r;e.props[t]&&(r=e.props)[t].apply(r,arguments),n()}},m=((r={})[c]=function(e){var t=e.current,n=e.changeState;return i.cloneElement(t,{in:!1,onExited:d(t,"onExited",(function(){n(s.ns,null)}))})},r[u]=function(e){var t=e.current,n=e.changeState,r=e.children;return[t,i.cloneElement(r,{in:!0,onEntered:d(r,"onEntered",(function(){n(s.ns)}))})]},r),p=((a={})[c]=function(e){var t=e.children,n=e.changeState;return i.cloneElement(t,{in:!0,onEntered:d(t,"onEntered",(function(){n(s._K,i.cloneElement(t,{in:!0}))}))})},a[u]=function(e){var t=e.current,n=e.children,r=e.changeState;return[i.cloneElement(t,{in:!1,onExited:d(t,"onExited",(function(){r(s._K,i.cloneElement(n,{in:!0}))}))}),i.cloneElement(n,{in:!0})]},a),h=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a{"use strict";n.d(t,{A:()=>o});var r=n(85608),a=n(14041);const o=function(e){var{title:t,titleId:n}=e,o=(0,r.__rest)(e,["title","titleId"]);return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},o),t?a.createElement("title",{id:n},t):null,a.createElement("path",{d:"M2048 1024q0 142-36 272t-103 245-160 207-208 160-245 103-272 37q-142 0-272-36t-245-103-207-160-160-208-103-245-37-272q0-140 37-272t105-248 167-212 221-164H256V0h512v512H640V215q-117 56-211 140T267 545 164 773t-36 251q0 124 32 238t90 213 141 182 181 140 214 91 238 32q123 0 237-32t214-90 182-141 140-181 91-214 32-238q0-150-48-289t-136-253-207-197-266-124l34-123q166 45 304 140t237 226 155 289 55 331z"}))}},18872:(e,t,n)=>{"use strict";n.d(t,{Bq:()=>c,GP:()=>i,Oz:()=>s,bv:()=>u,q6:()=>a,tc:()=>o,td:()=>l});n(66264),n(95570),n(9020),n(81152),n(30329),n(93831),n(34237),n(11505),n(98304),n(39160),n(93760),n(65136),n(57485);var r=n(14041);const a=e=>{try{return!!(e&&JSON.parse(e.toLowerCase()))}catch(t){return!1}},o=(e,t)=>{let n=e;return t&&Object.keys(t).forEach((e=>{const r=new RegExp(`\\{${e}\\}`,"gi");n=n.replace(r,t[e]||"")})),n},i=function(e){let t=e;for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a{t=t.replace(new RegExp(`\\{${n}\\}`,"g"),e)})),t},s=function(e){const t=/{(\d+)}/g;let n,a=0;const o=[];let i=0;for(var s=arguments.length,l=new Array(s>1?s-1:0),c=1;c{const n=[];let a,o=0;const i=[];Object.keys(t).forEach((e=>{i.push(`\\{${e}\\}`)}));const s=new RegExp(i.join("|"),"gi");for(;null!==(a=s.exec(e));){n.push(r.createElement(r.Fragment,null,e.substring(o,a.index)));const i=t[a[0].substring(1,a[0].length-1)];n.push(i),o=s.lastIndex}return n.push(r.createElement(r.Fragment,null,e.substring(o))),n},c=(e,t)=>((e,t)=>e&&0!==e.indexOf(t)?e:e?e.substr(t.length):"")(((e,t)=>e&&e.lastIndexOf(t)!==e.length-t.length?e:e?e.substr(0,e.length-t.length):"")(e,t),t),u=(e,t)=>{const n=new RegExp("(?:\\[\\[([0-9\\*]+)\\]([^\\]]*?)\\])"),r=new RegExp("\\[\\[\\*\\]([^\\]]*?)\\]");if(!e.match(n))return i(e,t.toString());const a=new RegExp(`\\[\\[${t}\\]([^\\]]*?)\\]`);let o=e.match(a);return o||(o=e.match(r)),o?i(o[1],t.toString()):void 0}},20090:(e,t,n)=>{"use strict";e.exports=n(12168)},20774:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>k,ai:()=>w});var r=n(14041),a=n(17502),o=n(89575),i=n(2474),s=n(50701),l=n(524),c=n(75985),u=n.n(c);function d(e,t){if(!e){var n=new Error("loadable: "+t);throw n.framesToPop=1,n.name="Invariant Violation",n}}function m(e){console.warn("loadable: "+e)}var p=r.createContext();function h(e){return e+"__LOADABLE_REQUIRED_CHUNKS__"}var f={initialChunks:{}},v="PENDING",g="REJECTED";var _=function(e){return e};function y(e){var t=e.defaultResolveComponent,n=void 0===t?_:t,c=e.render,m=e.onLoad;function h(e,t){void 0===t&&(t={});var h=function(e){return"function"===typeof e?{requireAsync:e,resolve:function(){},chunkName:function(){}}:e}(e),_={};function y(e){return t.cacheKey?t.cacheKey(e):h.resolve?h.resolve(e):"static"}function b(e,r,a){var o=t.resolveComponent?t.resolveComponent(e,r):n(e);if(t.resolveComponent&&!(0,l.isValidElementType)(o))throw new Error("resolveComponent returned something that is not a React component!");return u()(a,o,{preload:!0}),o}var E=function(e){var t=y(e),n=_[t];return n&&n.status!==g||((n=h.requireAsync(e)).status=v,_[t]=n,n.then((function(){n.status="RESOLVED"}),(function(t){console.error("loadable-components: failed to asynchronously load component",{fileName:h.resolve(e),chunkName:h.chunkName(e),error:t?t.message:t}),n.status=g}))),n},S=function(e){var t=function(t){return r.createElement(p.Consumer,null,(function(n){return r.createElement(e,Object.assign({__chunkExtractor:n},t))}))};return e.displayName&&(t.displayName=e.displayName+"WithChunkExtractor"),t}(function(e){function n(n){var r;return(r=e.call(this,n)||this).state={result:null,error:null,loading:!0,cacheKey:y(n)},d(!n.__chunkExtractor||h.requireSync,"SSR requires `@loadable/babel-plugin`, please install it"),n.__chunkExtractor?(!1===t.ssr||(h.requireAsync(n).catch((function(){return null})),r.loadSync(),n.__chunkExtractor.addChunk(h.chunkName(n))),(0,i.A)(r)):(!1!==t.ssr&&(h.isReady&&h.isReady(n)||h.chunkName&&f.initialChunks[h.chunkName(n)])&&r.loadSync(),r)}(0,s.A)(n,e),n.getDerivedStateFromProps=function(e,t){var n=y(e);return(0,o.A)({},t,{cacheKey:n,loading:t.loading||t.cacheKey!==n})};var r=n.prototype;return r.componentDidMount=function(){this.mounted=!0;var e=this.getCache();e&&e.status===g&&this.setCache(),this.state.loading&&this.loadAsync()},r.componentDidUpdate=function(e,t){t.cacheKey!==this.state.cacheKey&&this.loadAsync()},r.componentWillUnmount=function(){this.mounted=!1},r.safeSetState=function(e,t){this.mounted&&this.setState(e,t)},r.getCacheKey=function(){return y(this.props)},r.getCache=function(){return _[this.getCacheKey()]},r.setCache=function(e){void 0===e&&(e=void 0),_[this.getCacheKey()]=e},r.triggerOnLoad=function(){var e=this;m&&setTimeout((function(){m(e.state.result,e.props)}))},r.loadSync=function(){if(this.state.loading)try{var e=b(h.requireSync(this.props),this.props,C);this.state.result=e,this.state.loading=!1}catch(t){console.error("loadable-components: failed to synchronously load component, which expected to be available",{fileName:h.resolve(this.props),chunkName:h.chunkName(this.props),error:t?t.message:t}),this.state.error=t}},r.loadAsync=function(){var e=this,t=this.resolveAsync();return t.then((function(t){var n=b(t,e.props,C);e.safeSetState({result:n,loading:!1},(function(){return e.triggerOnLoad()}))})).catch((function(t){return e.safeSetState({error:t,loading:!1})})),t},r.resolveAsync=function(){var e=this.props,t=(e.__chunkExtractor,e.forwardedRef,(0,a.A)(e,["__chunkExtractor","forwardedRef"]));return E(t)},r.render=function(){var e=this.props,n=e.forwardedRef,r=e.fallback,i=(e.__chunkExtractor,(0,a.A)(e,["forwardedRef","fallback","__chunkExtractor"])),s=this.state,l=s.error,u=s.loading,d=s.result;if(t.suspense&&(this.getCache()||this.loadAsync()).status===v)throw this.loadAsync();if(l)throw l;var m=r||t.fallback||null;return u?m:c({fallback:m,result:d,options:t,props:(0,o.A)({},i,{ref:n})})},n}(r.Component)),C=r.forwardRef((function(e,t){return r.createElement(S,Object.assign({forwardedRef:t},e))}));return C.displayName="Loadable",C.preload=function(e){C.load(e)},C.load=function(e){return E(e)},C}return{loadable:h,lazy:function(e,t){return h(e,(0,o.A)({},t,{suspense:!0}))}}}var b=y({defaultResolveComponent:function(e){return e.__esModule?e.default:e.default||e},render:function(e){var t=e.result,n=e.props;return r.createElement(t,n)}}),E=b.loadable,S=b.lazy,C=y({onLoad:function(e,t){e&&t.forwardedRef&&("function"===typeof t.forwardedRef?t.forwardedRef(e):t.forwardedRef.current=e)},render:function(e){var t=e.result,n=e.props;return n.children?n.children(t):null}}),P=C.loadable,T=C.lazy;function w(e,t){void 0===e&&(e=function(){});var n=void 0===t?{}:t,r=n.namespace,a=void 0===r?"":r,o=n.chunkLoadingGlobal,i=void 0===o?"__LOADABLE_LOADED_CHUNKS__":o;var s=null,l=h(a),c=document.getElementById(l);if(c){s=JSON.parse(c.textContent);var u=document.getElementById(l+"_ext");if(!u)throw new Error("loadable-component: @loadable/server does not match @loadable/component");JSON.parse(u.textContent).namedChunks.forEach((function(e){f.initialChunks[e]=!0}))}if(!s)return m("`loadableReady()` requires state, please use `getScriptTags` or `getScriptElements` server-side"),e(),Promise.resolve();var d=!1;return new Promise((function(e){window[i]=window[i]||[];var t=window[i],n=t.push.bind(t);function r(){s.every((function(e){return t.some((function(t){return t[0].indexOf(e)>-1}))}))&&(d||(d=!0,e()))}t.push=function(){n.apply(void 0,arguments),r()},r()})).then(e)}var I=E;I.lib=P,S.lib=T;const k=I},21256:(e,t,n)=>{"use strict";n.d(t,{vj:()=>u,Q2:()=>d,ux:()=>v.u,kk:()=>p,pD:()=>h.p,nO:()=>m,jm:()=>v.j,qz:()=>f.q});var r=n(67996),a=n.n(r),o=n(41506),i=n.n(o),s=(n(5974),n(95428));const l=["areaName","behavior","componentName","contentName","contentType","id","productId","productName","skuId","slotNumber","templateName","videoDuration","videoId","videoName","videoPercentageComplete","videoWatchTime"];var c;!function(e){e.Sku="sku"}(c||(c={}));const u=e=>({"data-m":JSON.stringify(p(e))}),d=()=>({"data-bi-dnt":!0}),m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=(0,s.HRB)(e),a=(0,s.HRB)(t),o=(0,s.HRB)(n),l=i()(i()(i()({},o),a),r);return l},p=e=>{const{areaName:t,behavior:n,componentName:r,contentName:o,contentType:s,id:c,productId:u,productName:d,skuId:m,slotNumber:p,templateName:h,videoDuration:f,videoId:v,videoName:g,videoPercentageComplete:_,videoWatchTime:y}=e,b=a()(e,l);return i()({aN:t,bhvr:n,cN:o,compnm:r,cT:s,id:c,pid:u,prod:d,sku:m,sN:p,tN:h,viddur:f,vidid:v,vidnm:g,vidpct:_,vidwt:y},b)};var h=n(7464),f=n(85212),v=n(62041)},22474:(e,t,n)=>{"use strict";n.d(t,{CJ:()=>u,HR:()=>l,YO:()=>c,r7:()=>d});var r=n(67996),a=n.n(r),o=n(56347),i=n.n(o),s=(n(17),n(14297),n(65136),n(93262),n(64552),n(73394));const l=e=>Object.keys(e).reduce(((t,n)=>{const r=e[n];return(0,s.b)(r)||(t[n]=r),t}),{}),c=e=>Object.keys(e).reduce(((t,n)=>(t[n.toLowerCase()]=e[n],t)),{}),u=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),d=(e,t)=>{const{[t]:n}=e;return a()(e,[t].map(i()))}},22590:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createInputForRedeemUI=t.attachingMessageHandler=t.constructRedeemUrl=void 0;var r=n(56769),a=n(80849),o=n(9274);t.constructRedeemUrl=function(e){var t;return"".concat(o.TARGET_ORIGIN).concat((0,r.buyNowUIUrlPath)(e,null===e||void 0===e?void 0:e.flights,null===(t=null===e||void 0===e?void 0:e.campaignOptions)||void 0===t?void 0:t.flights),"/redeemnow?ms-cv=").concat(encodeURIComponent(e.cV),"&market=").concat(e.market,"&locale=").concat(e.locale,"&clientName=").concat(e.clientType)};t.attachingMessageHandler=function(e,t){return new Promise((function(t){return window.addEventListener("message",(function(n){n.origin===o.TARGET_ORIGIN&&("ReactPurchaseReadyToRender"===n.data&&t(),e&&e.remove())}),!0)}))};var i={usePurchaseSdk:!0};t.createInputForRedeemUI=function(e,t){var n=Object.keys(t);e.appendChild((0,a.createInput)("data",void 0,JSON.stringify(i))),n.forEach((function(n){if(n&&t[n])if("authToken"===n)e.appendChild((0,a.createInput)("msaTicket",void 0,t.authToken));else if("xToken"===n)e.appendChild((0,a.createInput)("xToken",void 0,t.xToken));else if("flights"===n)(0,a.createInputForArray)(e,"flights",t.flights);else if("productMetadataList"==n)e.appendChild((0,a.createInput)("productMetadataList",t.productMetadataList));else{var r=t[n];e.appendChild((0,a.createInput)(n,void 0,r))}}))}},22647:(e,t,n)=>{"use strict";n.d(t,{BD:()=>s,Kg:()=>c,L2:()=>y,NF:()=>u,Qd:()=>m,Qg:()=>v,T2:()=>i,W6:()=>l,bJ:()=>a,gd:()=>f,ks:()=>b,mE:()=>g,sO:()=>d,tH:()=>_,vq:()=>h,xH:()=>p});const r=Object.prototype.toString;function a(e){switch(r.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return _(e,Error)}}function o(e,t){return r.call(e)===`[object ${t}]`}function i(e){return o(e,"ErrorEvent")}function s(e){return o(e,"DOMError")}function l(e){return o(e,"DOMException")}function c(e){return o(e,"String")}function u(e){return"object"===typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function d(e){return null===e||u(e)||"object"!==typeof e&&"function"!==typeof e}function m(e){return o(e,"Object")}function p(e){return"undefined"!==typeof Event&&_(e,Event)}function h(e){return"undefined"!==typeof Element&&_(e,Element)}function f(e){return o(e,"RegExp")}function v(e){return Boolean(e?.then&&"function"===typeof e.then)}function g(e){return m(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function _(e,t){try{return e instanceof t}catch(n){return!1}}function y(e){return!("object"!==typeof e||null===e||!e.__isVue&&!e._isVue)}function b(e){return"undefined"!==typeof Request&&_(e,Request)}},22756:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});var r=n(80361);const a={notify(){},get:()=>[]};function o(e,t){let n,o=a;function i(){l.onStateChange&&l.onStateChange()}function s(){n||(n=t?t.addNestedSub(i):e.subscribe(i),o=function(){const e=(0,r.f)();let t=null,n=null;return{clear(){t=null,n=null},notify(){e((()=>{let e=t;for(;e;)e.callback(),e=e.next}))},get(){let e=[],n=t;for(;n;)e.push(n),n=n.next;return e},subscribe(e){let r=!0,a=n={callback:e,next:null,prev:n};return a.prev?a.prev.next=a:t=a,function(){r&&null!==t&&(r=!1,a.next?a.next.prev=a.prev:n=a.prev,a.prev?a.prev.next=a.next:t=a.next)}}}}())}const l={addNestedSub:function(e){return s(),o.subscribe(e)},notifyNestedSubs:function(){o.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(n)},trySubscribe:s,tryUnsubscribe:function(){n&&(n(),n=void 0,o.clear(),o=a)},getListeners:()=>o};return l}},23986:(e,t,n)=>{"use strict";var r,a,o,i,s,l,c,u,d,m,p;n.d(t,{yT:()=>o,Q8:()=>r,_z:()=>y._z,w:()=>_,Ks:()=>a,o:()=>i,te:()=>s,nl:()=>y.nl,lU:()=>C,UY:()=>S,L5:()=>d,bA:()=>g,Uh:()=>u,y1:()=>y.y1,Ay:()=>y.Ay,Ok:()=>v,WK:()=>m,aD:()=>h,nc:()=>b}),function(e){e.None="None",e.Authorized="Authorized",e.Linked="Linked"}(r||(r={})),function(e){e.Success="Success",e.AlreadyLinked="AlreadyLinked",e.TokenMissing="TokenMissing",e.PartnerLinkedToAnotherXboxAccount="PartnerLinkedToAnotherXboxAccount",e.XboxLinkedToAnotherPartnerAccount="XboxLinkedToAnotherPartnerAccount",e.Error="Error"}(a||(a={})),function(e){e.Ubisoft="Ubisoft"}(o||(o={})),function(e){e.XboxOne="XboxOne",e.XboxOneS="XboxOneS",e.XboxOneSDigital="XboxOneSDigital",e.XboxOneX="XboxOneX",e.XboxOneXDevKit="XboxOneXDevKit",e.XboxSeriesS="XboxSeriesS",e.XboxSeriesX="XboxSeriesX",e.XboxSeriesXDevKit="XboxSeriesXDevKit",e.Other="Other"}(i||(i={})),function(e){e.Unknown="Unknown",e.ConnectedStandby="ConnectedStandby",e.On="On",e.Off="Off",e.SystemUpdate="SystemUpdate"}(s||(s={})),function(e){e.Unknown="Unknown",e.Playing="Playing",e.Paused="Paused",e.Stopped="Stopped"}(l||(l={})),function(e){e.OK="OK",e.AccountNotFound="AccountNotFound",e.XboxNotPaired="XboxNotPaired",e.NullContext="NullContext",e.MissingAuthHeader="MissingAuthHeader",e.InvalidAuthHeader="InvalidAuthHeader",e.InvalidAuthScheme="InvalidAuthScheme",e.InvalidRequest="InvalidRequest",e.InvalidRequestPayload="InvalidRequestPayload",e.InvalidUserToken="InvalidUserToken",e.UserTokenExpired="UserTokenExpired",e.UnsupportedDeviceTypeClaim="UnsupportedDeviceTypeClaim",e.MissingXuidClaim="MissingXuidClaim",e.InvalidProxyToken="InvalidProxyToken",e.MissingPuidClaim="MissingPuidClaim",e.InvalidXToken="InvalidXToken",e.InvalidListType="InvalidListType",e.InvalidSkillPlatform="InvalidSkillPlatform",e.ErrorGettingDDSS2SToken="ErrorGettingDDSS2SToken",e.ErrorGettingCCSS2SToken="ErrorGettingCCSS2SToken",e.ErrorGettingCCSPermissionTicket="ErrorGettingCCSPermissionTicket",e.ErrorCallingCCS="ErrorCallingCCS",e.ErrorCallingAlexaEventGateway="ErrorCallingAlexaEventGateway",e.UserDataNotFound="UserDataNotFound",e.OperationNotFound="OperationNotFound",e.MissingDeviceId="MissingDeviceId",e.MissingGamerData="MissingGamerData",e.MissingPuid="MissingPuid",e.MissingXuid="MissingXuid",e.MissingDigitalAssistantRemoteControlEnabledFlag="MissingDigitalAssistantRemoteControlEnabledFlag",e.MissingConsoleStreamingEnabledFlag="MissingConsoleStreamingEnabledFlag",e.MissingRemoteManagementEnabledFlag="MissingRemoteManagementEnabledFlag",e.MissingWnsChannelUri="MissingWnsChannelUri",e.MissingOpId="MissingOpId",e.ErrorGettingWNSS2SToken="ErrorGettingWNSS2SToken",e.ErrorCallingWNS="ErrorCallingWNS",e.NotImplemented="NotImplemented",e.XboxDataNotFound="XboxDataNotFound",e.ApplicationNotInstalled="ApplicationNotInstalled",e.ErrorCallingXboxLive="ErrorCallingXboxLive",e.InvalidXboxOsVersion="InvalidXboxOsVersion",e.InternalError="InternalError",e.FriendNotFound="FriendNotFound",e.TvChannelNotFound="TvChannelNotFound",e.TvChannelFallback="TvChannelFallback",e.DigitalAssistantRemoteControlDisabled="DigitalAssistantRemoteControlDisabled",e.ConsoleStreamingDisabled="ConsoleStreamingDisabled",e.RemoteManagementDisabled="RemoteManagementDisabled",e.InvalidRefreshToken="InvalidRefreshToken",e.InvalidAuthToken="InvalidAuthToken",e.ErrorWNSTempDisconnected="ErrorWNSTempDisconnected",e.MissingPuidHeader="MissingPuidHeader",e.MissingXuidHeader="MissingXuidHeader",e.MissingPrincipal="MissingPrincipal",e.MissingServiceId="MissingServiceId",e.InvalidServiceId="InvalidServiceId",e.ServiceIdNotAllowed="ServiceIdNotAllowed",e.Timeout="Timeout",e.CurrentConsoleNotFound="CurrentConsoleNotFound",e.OperationUnauthorized="OperationUnauthorized",e.MobileEndpointNotFound="MobileEndpointNotFound",e.RegisteredClientNotFound="RegisteredClientNotFound",e.UnsupportedPlatform="UnsupportedPlatform",e.ContactSharingNotAllowed="ContactSharingNotAllowed",e.XboxPowerOff="XboxPowerOff",e.XboxSystemUpdate="XboxSystemUpdate",e.DefaultOrStaleData="DefaultOrStaleData",e.InstallQueueNotFound="InstallQueueNotFound",e.InstallQueueEmpty="InstallQueueEmpty",e.ThrottledTryAgain="ThrottledTryAgain"}(c||(c={})),function(e){e.Paused="Paused",e.Error="OffConsoleError",e.Pending="Pending",e.TimedOut="TimedOut",e.ConsoleError="Error",e.Succeeded="Succeeded"}(u||(u={})),function(e){e.Pending="Pending",e.Success="Success",e.Error="Error"}(d||(d={})),function(e){e.Left="Left",e.Right="Right"}(m||(m={})),function(e){e.ProductId="ProductId",e.CollectionId="CollectionId",e.Link="Link"}(p||(p={}));var h,f,v,g,_,y=n(59454);!function(e){e.Private="Private",e.Public="Public"}(h||(h={})),function(e){e.Friends="Friends",e.Everyone="Everyone",e.Blocked="Blocked"}(f||(f={})),function(e){e.Allow="Allow",e.Block="Block"}(v||(v={})),function(e){e.BlockAll="BlockAll",e.FamilyFriendly="FamilyFriendly",e.Medium="Medium",e.Mature="Mature",e.MaturePlus="MaturePlus",e.AllowAll="AllowAll"}(g||(g={})),function(e){e.Allow="Allow",e.Block="Block"}(_||(_={}));const b=[v.Allow,v.Block];f.Everyone,f.Friends,f.Blocked;var E=n(36359);const S={[E.Jt.GamingTargetedAds]:"PersonalisedAds",[E.Jt.GamingPPU]:"GamingPPU",[E.Jt.GamingODC]:"GamingODC",[E.Jt.MSATargetedAds]:"MSATargetedAds",[E.Jt.MockGamingTargetedAds]:"Unknown"},C={[E.Jt.GamingTargetedAds]:{header:"personalisedAdsConsentHeader",description:"personalisedAdsConsentDescription",tellMeMoreLinkUrl:"https://support.xbox.com/help/account-profile/manage-account/targeted-ads"}}},24562:(e,t,n)=>{"use strict";n.d(t,{$Z:()=>a,bA:()=>r,oL:()=>o});const r=25,a="DO_NOT_FILTER",o="ORDERBY"},25479:(e,t,n)=>{"use strict";n.d(t,{$N:()=>s,Hd:()=>o,xE:()=>l});var r=n(22647);const a=n(76288).O;function o(e,t={}){if(!e)return"";try{let n=e;const r=5,a=[];let o=0,s=0;const l=" > ",c=l.length;let u;const d=Array.isArray(t)?t:t.keyAttrs,m=!Array.isArray(t)&&t.maxStringLength||80;for(;n&&o++1&&s+a.length*c+u.length>=m));)a.push(u),s+=u.length,n=n.parentNode;return a.reverse().join(l)}catch(n){return""}}function i(e,t){const n=e,o=[];if(!n?.tagName)return"";if(a.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}o.push(n.tagName.toLowerCase());const i=t?.length?t.filter((e=>n.getAttribute(e))).map((e=>[e,n.getAttribute(e)])):null;if(i?.length)i.forEach((e=>{o.push(`[${e[0]}="${e[1]}"]`)}));else{n.id&&o.push(`#${n.id}`);const e=n.className;if(e&&(0,r.Kg)(e)){const t=e.split(/\s+/);for(const e of t)o.push(`.${e}`)}}const s=["aria-label","type","name","title","alt"];for(const r of s){const e=n.getAttribute(r);e&&o.push(`[${r}="${e}"]`)}return o.join("")}function s(){try{return a.document.location.href}catch(e){return""}}function l(e){if(!a.HTMLElement)return null;let t=e;for(let n=0;n<5;n++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}},25873:(e,t,n)=>{"use strict";var r=n(43144);r.createRoot,t.c=r.hydrateRoot},25936:(e,t,n)=>{"use strict";n.d(t,{$:()=>r});const r=["AR","HE"]},27324:(e,t,n)=>{"use strict";var r;n.d(t,{i:()=>r}),function(e){e[e.DefaultTheme=0]="DefaultTheme",e[e.Polaris=1]="Polaris",e[e.Test=2]="Test",e[e.WebPolaris=3]="WebPolaris"}(r||(r={}))},27892:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(85608),a=n(14041);const o=function(e){var{title:t,titleId:n}=e,o=(0,r.__rest)(e,["title","titleId"]);return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},o),t?a.createElement("title",{id:n},t):null,a.createElement("path",{d:"M2048 1536h-640v128h256v128h-640v-128h256v-128H896v256H0V128h896v512h1152v896zm-128-128V768H768v640h1152zM768 1664v-128H256v-128h384v-128H256v-128h384V640h128V256H128v1408h640zM640 384v128H256V384h384z"}))}},28719:(e,t,n)=>{"use strict";n.d(t,{sV:()=>d.s,_9:()=>v,OX:()=>g,VP:()=>o,lQ:()=>l,vR:()=>i,Ti:()=>c,mY:()=>s,wR:()=>u.w,wu:()=>m.w,v4:()=>h});var r=n(41506),a=n.n(r);n(92221),n(45993);function o(e,t,n,r){return r?Object.assign((function(){const o=r(...arguments);return a()({type:e,scope:t,partner:n},o)}),{getType:()=>e,getPartner:()=>n}):Object.assign((()=>({type:e,scope:t,partner:n})),{getType:()=>e,getPartner:()=>n})}function i(e,t,n,r,o,i,s,l){return{start:Object.assign((function(){const o=r(...arguments);return a()({type:n,scope:e,partner:t},o)}),{getType:()=>n,getPartner:()=>t}),success:Object.assign((function(){const n=i(...arguments);return a()({type:o,scope:e,partner:t},n)}),{getType:()=>o,getPartner:()=>t}),error:Object.assign((function(){const n=l(...arguments);return a()({type:s,scope:e,partner:t},n)}),{getType:()=>s,getPartner:()=>t})}}function s(e,t,n,r,o,i){const s=`${n}_START`,l=`${n}_SUCCESS`,c=`${n}_FAILURE`;return{start:Object.assign((function(){const n=r(...arguments);return a()({type:s,scope:e,partner:t},n)}),{getType:()=>s,getPartner:()=>t}),success:Object.assign((function(){const n=o(...arguments);return a()({type:l,scope:e,partner:t},n)}),{getType:()=>l,getPartner:()=>t}),error:Object.assign((function(){const n=i(...arguments);return a()({type:c,scope:e,partner:t},n)}),{getType:()=>c,getPartner:()=>t})}}const l=e=>(t,n,r)=>o(t,n,e,r),c=e=>(t,n,r,a,o,s,l)=>i(t,e,n,r,a,o,s,l);var u=n(60056),d=n(48083),m=n(74617),p=(n(95570),n(93831),n(40890),n(16725),n(93760),n(65136),n(93848),n(57485),n(51453),n(57971),n(16913),n(87054),n(52103),n(97905),n(12729),n(279),n(15385),n(17519),n(78258),n(93094),n(97012),n(52597),n(21564));function h(e,t){return{scopes:[].concat(e),reducer:t}}function f(e,t){const n=new Map,r=new Map;for(const a in e){const{scopes:t,reducer:o}=e[a];t.forEach((e=>{n.has(e)?n.get(e).push(a):n.set(e,[a])})),r.set(a,o)}return h(Array.from(n.keys()),((e,o)=>{let i=!1;if(void 0===e){const e={};return r.forEach(((t,n)=>{e[n]=t(void 0,o)})),e}if(/^(@@redux\/(INIT|REPLACE)|@@INIT)/.test(o.type)){const t=a()({},e);return r.forEach(((n,r)=>{const a=e[r];t[r]=n(a,o)})),t}const{scope:s,partner:l}=o;let c=e;const u=n.get(s);return u&&u.filter((e=>!t||(l?e===l:(0,p.O)(e)))).forEach((t=>{const n=e[t],s=r.get(t)(n,o);s!==n&&(i||(c=a()({},e)),i=!0),c[t]=s})),c}))}function v(e){return f(e,!1)}function g(e){return f(e,!0).reducer}},28740:(e,t,n)=>{"use strict";e.exports=n.p+"static/media/loading-xenon-light-theme.c616a483.svg"},28893:(e,t,n)=>{"use strict";n.d(t,{MI:()=>i,TC:()=>l,kM:()=>s});var r=n(5062),a=n(55293),o=n(20642);const i=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function s(e,t){const n=function(e){if(!e)return;const t=e.match(i);if(!t)return;let n;return"1"===t[3]?n=!0:"0"===t[3]&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}(e),s=(0,a.yD)(t);if(!n?.traceId)return{traceId:(0,o.e)(),sampleRand:Math.random()};const l=function(e,t){const n=(0,r.i)(t?.sample_rand);if(void 0!==n)return n;const a=(0,r.i)(t?.sample_rate);return a&&void 0!==e?.parentSampled?e.parentSampled?Math.random()*a:a+Math.random()*(1-a):Math.random()}(n,s);s&&(s.sample_rand=l.toString());const{traceId:c,parentSpanId:u,parentSampled:d}=n;return{traceId:c,parentSpanId:u,sampled:d,dsc:s||{},sampleRand:l}}function l(e=(0,o.e)(),t=(0,o.Z)(),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${e}-${t}${r}`}},29180:(e,t,n)=>{"use strict";n.d(t,{s:()=>s});var r=n(7365),a=n(98409),o=n(10467),i=n(63250);const s=(0,a._C)((()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{if(function(e,t){if(!t)return!1;if(function(e,t){const n=e.message,r=t.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!c(e,t))return!1;if(!l(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){const n=u(t),r=u(e);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!c(e,t))return!1;if(!l(e,t))return!1;return!0}(e,t))return!0;return!1}(t,e))return r.T&&o.vF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(n){}return e=t}}}));function l(e,t){let n=(0,i.RV)(e),r=(0,i.RV)(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let a=0;a{"use strict";n.d(t,{Bw:()=>o.B,kG:()=>i.k,kw:()=>r,hV:()=>s,Bx:()=>a.Bx,VG:()=>a.VG,Qn:()=>a.Qn,EB:()=>a.EB,Qx:()=>a.Qx,ts:()=>a.ts,uX:()=>a.uX,u7:()=>l.u7,wD:()=>l.wD,gY:()=>l.gY,g:()=>l.g});var r,a=n(52927),o=n(48908),i=n(92831);n(72101),n(45159),n(40257),n(65063),n(84496),n(4121),n(88275),n(78660),n(90435),n(11138),n(75438),n(2758),n(22400),n(61670),n(85715),n(39351),n(45993);!function(e){e.SetSwitch="setSwitch",e.SetGateValue="setGateValue",e.ThemeOverride="th"}(r||(r={}));const s={allowDurablesAndConsumables:"allowDurablesAndConsumables",billingMarket:"billingMarket",buddyPassOfferId:"offerId",cId:"cId",campaignId:"campaignId",concernCategory:"concernCategory",dataId:"dataId",deviceFamily:"deviceFamily",enableFullDetail:"enableFullDetail",filters:"filters",giftingString:"giftingString",isHelpful:"isHelpful",isPreview:"isPreview",isRegional:"isRegional",itemCount:"itemCount",itemType:"itemType",language:"language",locale:"locale",market:"market",ocid:"ocid",orderBy:"orderBy",orderIds:"orderIds",pageNumber:"pageNumber",PartnerId:"partnerid",paymentInstrumentId:"paymentInstrumentId",productId:"productId",realReturnUrl:"rrurl",referringProductId:"rpid",resultsPerPage:"resultsPerPage",returnFilters:"returnFilters",reviewEntity:"reviewEntity",searchQuery:"q",serviceSearchQuery:"query",starFilter:"starFilter",status:"status",targetingTags:"targetingTags",xboxcomApplyStatus:"xboxcomapplystatus",useNewXSearchAlgorithm:"useNewXSearchAlgorithm",xStoreScenario:"xs",consoleApplySessionId:"consoleApplySessionId",channelName:"channelName",referrerId:"referrerId",isConsoleWebView:"isConsoleWebView",gamerTag:"gt",clientType:"clientType",usesTargeting:"usesTargeting",xboxSettingsTab:"xboxSettingsTab"};new Set([r.SetSwitch.toLowerCase(),r.ThemeOverride.toLowerCase()]);var l=n(59171)},30843:(e,t,n)=>{"use strict";n.d(t,{Hz:()=>l,Kk:()=>o,LD:()=>c,_A:()=>i,h_:()=>a,kL:()=>r,nf:()=>s});var r="EsrbRating-module__container___Z6Ef+",a="EsrbRating-module__description___RvWaD",o="EsrbRating-module__icon___15GZO",i="EsrbRating-module__labelContainer___pTpkq",s="EsrbRating-module__link___bhdWP",l="EsrbRating-module__ratingImage___sMISX",c="EsrbRating-module__ratingValue___bSF6+"},32317:(e,t,n)=>{"use strict";n.d(t,{$9:()=>h,$g:()=>w,AY:()=>b,IM:()=>A,JH:()=>k,JJ:()=>x,LE:()=>g,Lk:()=>O,Nd:()=>y,PG:()=>I,Pu:()=>T,Pv:()=>r,Qy:()=>d,S$:()=>f,UA:()=>p,Un:()=>_,V6:()=>M,_B:()=>P,_c:()=>C,e:()=>a,eS:()=>u,fR:()=>i,iA:()=>o,kh:()=>m,mK:()=>v,mu:()=>R,nr:()=>L,oC:()=>s,px:()=>c,sM:()=>S,y4:()=>E,yl:()=>N,yp:()=>l});var r="Button-module__basicBorderRadius___TaX9J",a="Button-module__buttonBase___olICK",o="Button-module__buttonIcon___540Jm",i="Button-module__buttonSwitch___+Tn3u",s="Button-module__callToAction___mSaZg",l="Button-module__decoratedButton___-YJyr",c="Button-module__defaultBase___c7wIT",u="Button-module__heroLargeBorderRadius___u9CMS",d="Button-module__heroMediumBorderRadius___dUTPQ",m="Button-module__heroSmallBorderRadius___ywhQ0",p="Button-module__heroXSmallBorderRadius___tyver",h="Button-module__iconButtonBase___uzoKc",f="Button-module__marginLeft___Bqq-9",v="Button-module__noMargin___5UbzU",g="Button-module__overlayModeAcrylic___QnjAv",_="Button-module__overlayModeSemiTransparent___mcpLM",y="Button-module__overlayModeSolid___v6EcO",b="Button-module__secondarySwitchBackplate___E47IF",E="Button-module__sizeIconButtonLarge___tb4rx",S="Button-module__sizeIconButtonMedium___WJrxo",C="Button-module__sizeIconButtonSmall___gTDbb",P="Button-module__sizeIconButtonXSmall___sYhWs",T="Button-module__sizeLarge___Jsfxn",w="Button-module__sizeMedium___T+8s+",I="Button-module__sizeSmall___9uKpA",k="Button-module__sizeXSmall___TGAST",x="Button-module__textNoUnderline___kHdUB",A="Button-module__textUnderline___JSRLr",N="Button-module__typeBrand___MMuct",L="Button-module__typePrimary___0WI8b",M="Button-module__typeSecondary___Cid02",O="Button-module__typeTertiary___wNh6R",R="Button-module__typeUserAccent___lK-yy"},32556:(e,t,n)=>{"use strict";n.d(t,{$J:()=>r,R6:()=>a});var r="linkCommonStyles-module__linkButton___yK8-x",a="linkCommonStyles-module__linkIconOverrides___OYA+9"},32647:(e,t,n)=>{"use strict";n.d(t,{LE:()=>s,V7:()=>l,lu:()=>c});var r=n(62659),a=n(76772),o=n(87450),i=n(683);function s(e,t,n,r){const a=(0,i.Cj)(n),s={sent_at:(new Date).toISOString(),...a&&{sdk:a},...!!r&&t&&{dsn:(0,o.SB)(t)}},l="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return(0,i.h4)(s,[l])}function l(e,t,n,r){const a=(0,i.Cj)(n),o=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]])}(e,n?.sdk);const s=(0,i.n2)(e,a,r,t);delete e.sdkProcessingMetadata;const l=[{type:o},e];return(0,i.h4)(s,[l])}function c(e,t){const n=(0,r.k1)(e[0]),s=t?.getDsn(),l=t?.getOptions().tunnel,c={sent_at:(new Date).toISOString(),...function(e){return!!e.trace_id&&!!e.public_key}(n)&&{trace:n},...!!l&&s&&{dsn:(0,o.SB)(s)}},u=t?.getOptions().beforeSendSpan,d=u?e=>{const t=(0,a.et)(e),n=u(t);return n||((0,a.xl)(),t)}:a.et,m=[];for(const r of e){const e=d(r);e&&m.push((0,i.y5)(e))}return(0,i.h4)(c,m)}},33235:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(85608),a=n(14041);const o=function(e){var{title:t,titleId:n}=e,o=(0,r.__rest)(e,["title","titleId"]);return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},o),t?a.createElement("title",{id:n},t):null,a.createElement("path",{d:"M960 992q0 58-28 108t-77 82l112 226H825l-97-192h-88v192H512V768h224q46 0 87 17t71 48 48 72 18 87zm-320 96h96q40 0 68-28t28-68q0-40-28-68t-68-28h-96v192zm893-18q32 28 49 66t18 80q0 40-15 75t-41 61-61 41-75 15h-256V768h224q40 0 75 15t61 41 41 61 15 75q0 61-35 110zm-253-46h96q26 0 45-19t19-45q0-26-19-45t-45-19h-96v128zm128 256q26 0 45-19t19-45q0-26-19-45t-45-19h-128v128h128zm640 128q0 53-20 99t-55 82-81 55-100 20H416q-103 0-178-54t-108-152l-95-286q-19-57-27-120T0 928q0-57 21-110t62-95l256-256q41-41 94-62t111-21h160q82 0 182 5t208 19 218 34 211 54 190 76 154 101q38 34 68 76t43 93q3 13 3 25t3 25l64 508v8zm-256 128q22 0 42-7t36-20 28-30 18-39q1-4 3-13t1-15l-63-508v-4q0-2-1-4 0-31-16-60t-44-54-61-48-69-40-67-32-57-23q-96-35-200-59t-213-40-215-21-210-7H544q-32 0-62 11t-53 35L174 813q-23 23-34 53t-12 62q0 51 6 104t23 101l96 287q2 8 4 15t6 15q23 43 64 64t89 22h1376z"}))}},33296:(e,t,n)=>{"use strict";n.d(t,{e:()=>i});var r=n(95428),a=n(83718),o=n(87530);const i=(e,t)=>{const n=(0,a.d4)(r.a5u);return(0,r.tcg)(o.Yl,{locale:n,title:t||"p",productId:e})}},33532:(e,t,n)=>{"use strict";n.r(t),n.d(t,{col:()=>r,col1:()=>a,col10:()=>o,col11:()=>i,col12:()=>s,col2:()=>l,col3:()=>c,col4:()=>u,col5:()=>d,col6:()=>m,col7:()=>p,col8:()=>h,col9:()=>f,colLg1:()=>v,colLg10:()=>g,colLg11:()=>_,colLg12:()=>y,colLg2:()=>b,colLg3:()=>E,colLg4:()=>S,colLg5:()=>C,colLg6:()=>P,colLg7:()=>T,colLg8:()=>w,colLg9:()=>I,colMd1:()=>k,colMd10:()=>x,colMd11:()=>A,colMd12:()=>N,colMd2:()=>L,colMd3:()=>M,colMd4:()=>O,colMd5:()=>R,colMd6:()=>D,colMd7:()=>B,colMd8:()=>F,colMd9:()=>U,colSm1:()=>H,colSm10:()=>V,colSm11:()=>G,colSm12:()=>q,colSm2:()=>z,colSm3:()=>X,colSm4:()=>j,colSm5:()=>W,colSm6:()=>$,colSm7:()=>J,colSm8:()=>K,colSm9:()=>Q,large:()=>Y,medium:()=>Z,small:()=>ee});var r="ModuleColumn-module__col___StJzB",a="ModuleColumn-module__col1___9CP2u",o="ModuleColumn-module__col10___TX1Lb",i="ModuleColumn-module__col11___rbXSV",s="ModuleColumn-module__col12___A-hSt",l="ModuleColumn-module__col2___+utbQ",c="ModuleColumn-module__col3___OU8x+",u="ModuleColumn-module__col4___ZaRrg",d="ModuleColumn-module__col5___TL7I1",m="ModuleColumn-module__col6___ArD0N",p="ModuleColumn-module__col7___XCnrm",h="ModuleColumn-module__col8___yCVp5",f="ModuleColumn-module__col9___K8Gw9",v="ModuleColumn-module__colLg1___LYmyz",g="ModuleColumn-module__colLg10___5d7-E",_="ModuleColumn-module__colLg11___gRE3U",y="ModuleColumn-module__colLg12___NygNf",b="ModuleColumn-module__colLg2___JJuMl",E="ModuleColumn-module__colLg3___UTVTa",S="ModuleColumn-module__colLg4___dTHnc",C="ModuleColumn-module__colLg5___-hnQ+",P="ModuleColumn-module__colLg6___rr8Po",T="ModuleColumn-module__colLg7___BVit9",w="ModuleColumn-module__colLg8___d2TZv",I="ModuleColumn-module__colLg9___IlWd5",k="ModuleColumn-module__colMd1___bXH3p",x="ModuleColumn-module__colMd10___gg77z",A="ModuleColumn-module__colMd11___uATnk",N="ModuleColumn-module__colMd12___TNRxj",L="ModuleColumn-module__colMd2___f0ZrV",M="ModuleColumn-module__colMd3___M8p2g",O="ModuleColumn-module__colMd4___+BB+4",R="ModuleColumn-module__colMd5___w7599",D="ModuleColumn-module__colMd6___BTAdb",B="ModuleColumn-module__colMd7___MoAAG",F="ModuleColumn-module__colMd8___LTRxa",U="ModuleColumn-module__colMd9___RMntd",H="ModuleColumn-module__colSm1___CR0--",V="ModuleColumn-module__colSm10___lxTzQ",G="ModuleColumn-module__colSm11___txDMG",q="ModuleColumn-module__colSm12___K5Kqp",z="ModuleColumn-module__colSm2___tcLDV",X="ModuleColumn-module__colSm3___O-F8K",j="ModuleColumn-module__colSm4___H5Viy",W="ModuleColumn-module__colSm5___LkfGI",$="ModuleColumn-module__colSm6___0g1hF",J="ModuleColumn-module__colSm7___hiK+f",K="ModuleColumn-module__colSm8___GXtwd",Q="ModuleColumn-module__colSm9___PjjRH",Y="1084px",Z="860px",ee="540px"},33664:(e,t,n)=>{"use strict";n.d(t,{Kd:()=>u,N_:()=>v});var r=n(86090),a=n(50701),o=n(14041),i=n(98130),s=n(89575),l=n(17502),c=n(31450),u=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a{"use strict";n.d(t,{Q:()=>s});n(5974),n(68291);var r=n(95428),a=n(12885),o=n(50433),i=n(87530);var s;!function(e){e.trackGameInterest=(e,r)=>t()?!!n(e)&&(s(e)?(r.verbose("trackGameInterest:Success"),!0):(r.error("trackGameInterest:Storage Failed"),!1)):(r.warn("trackGameInterest:No Storage"),!1),e.getGameInterest=e=>{if(!t())return void e.warn("getGameInterest:No Storage");const n=localStorage.getItem(i.yG);if(null===n||""===n)return void e.warn("getGameInterest:Empty Storage");let r;try{r=JSON.parse(n)}catch(o){return void e.error("getGameInterest:Parse Error",(0,a.toError)(o))}if(void 0===r.productId||void 0===r.visitTime)return void e.error("getGameInterest:Schema Error");if(!(Math.abs((new Date).getTime()-r.visitTime)>=432e6))return e.verbose("getGameInterest:Success"),r.productId;e.warn("getGameInterest:Expired")};const t=()=>!(0,r.SHi)()&&(void 0!==window.consentCheckRequired&&void 0!==window.xbcUser&&(!window.consentCheckRequired||window.xbcUser.consentState.consentState.advertising)),n=e=>!o.Ix.includes(e.toUpperCase()),s=e=>{const t={productId:e,visitTime:(new Date).getTime()};try{return localStorage.setItem(i.yG,JSON.stringify(t)),!0}catch(n){return!1}}}(s||(s={}))},34547:(e,t,n)=>{"use strict";n.d(t,{xT:()=>s,qN:()=>r.qN,ij:()=>r.ij,Nu:()=>l,bJ:()=>u.b,Ll:()=>c,e1:()=>a.e});var r=n(1262),a=n(62504),o=(n(5858),n(93648)),i=n(26886);const s=e=>`XBL3.0 x=${e.userHash||0};${e.token}`,l=async(e,t)=>{const n=await e.acquireTokenSilently(t);if(n)return s(n)},c=e=>{const t=((e,t)=>{if(!e.expires)return!1;const n=(0,o.H)(e);return!n||!!(0,i.v)(n)&&n{"use strict";n.d(t,{dp:()=>bt});var r=n(67099),a=n(7365),o=n(2170),i=n(59511),s=n(25626),l=n(76772),c=n(10467),u=n(68378),d=n(62659),m=n(98621),p=n(64482),h=n(55719);const f={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function v(e,t={}){const n=new Map;let v,g=!1,_="externalFinish",y=!t.disableAutoFinish;const b=[],{idleTimeout:E=f.idleTimeout,finalTimeout:S=f.finalTimeout,childSpanTimeout:C=f.childSpanTimeout,beforeSpanEnd:P}=t,T=(0,r.KU)();if(!T||!(0,i.f)()){const e=new m.w,t={sample_rate:"0",sampled:"false",...(0,d.k1)(e)};return(0,d.LZ)(e,t),e}const w=(0,r.o5)(),I=(0,l.Bk)(),k=function(e){const t=(0,h.Uk)(e);return(0,s.r)((0,r.o5)(),t),a.T&&c.vF.log("[Tracing] Started span is an idle span"),t}(e);function x(){v&&(clearTimeout(v),v=void 0)}function A(e){x(),v=setTimeout((()=>{!g&&0===n.size&&y&&(_="idleTimeout",k.end(e))}),E)}function N(e){v=setTimeout((()=>{!g&&y&&(_="heartbeatFailed",k.end(e))}),C)}function L(e){g=!0,n.clear(),b.forEach((e=>e())),(0,s.r)(w,I);const t=(0,l.et)(k),{start_timestamp:r}=t;if(!r)return;t.data[o.fs]||k.setAttribute(o.fs,_),c.vF.log(`[Tracing] Idle span "${t.op}" finished`);const i=(0,l.xO)(k).filter((e=>e!==k));let u=0;i.forEach((t=>{t.isRecording()&&(t.setStatus({code:p.TJ,message:"cancelled"}),t.end(e),a.T&&c.vF.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));const n=(0,l.et)(t),{timestamp:r=0,start_timestamp:o=0}=n,i=o<=e,s=r-o<=(S+E)/1e3;if(a.T){const e=JSON.stringify(t,void 0,2);i?s||c.vF.log("[Tracing] Discarding span since it finished after idle span final timeout",e):c.vF.log("[Tracing] Discarding span since it happened after idle span was finished",e)}s&&i||((0,l.VS)(k,t),u++)})),u>0&&k.setAttribute("sentry.idle_span_discarded_spans",u)}return k.end=new Proxy(k.end,{apply(e,t,n){if(P&&P(k),t instanceof m.w)return;const[r,...a]=n,o=r||(0,u.zf)(),i=(0,l.cI)(o),s=(0,l.xO)(k).filter((e=>e!==k));if(!s.length)return L(i),Reflect.apply(e,t,[i,...a]);const c=s.map((e=>(0,l.et)(e).timestamp)).filter((e=>!!e)),d=c.length?Math.max(...c):void 0,p=(0,l.et)(k).start_timestamp,h=Math.min(p?p+S/1e3:1/0,Math.max(p||-1/0,Math.min(i,d||1/0)));return L(h),Reflect.apply(e,t,[h,...a])}}),b.push(T.on("spanStart",(e=>{if(g||e===k||(0,l.et)(e).timestamp)return;var t;(0,l.xO)(k).includes(e)&&(t=e.spanContext().spanId,x(),n.set(t,!0),N((0,u.zf)()+C/1e3))}))),b.push(T.on("spanEnd",(e=>{var t;g||(t=e.spanContext().spanId,n.has(t)&&n.delete(t),0===n.size&&A((0,u.zf)()+E/1e3))}))),b.push(T.on("idleSpanEnableAutoFinish",(e=>{e===k&&(y=!0,A(),n.size&&N())}))),t.disableAutoFinish||A(),setTimeout((()=>{g||(k.setStatus({code:p.TJ,message:"deadline_exceeded"}),_="finalTimeout",k.end())}),S),k}var g=n(8634),_=n(94572);let y=!1;function b(){const e=(0,l.Bk)(),t=e&&(0,l.zU)(e);if(t){const e="internal_error";a.T&&c.vF.log(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:p.TJ,message:e})}}b.tag="sentry_tracingErrorCallback";var E=n(76288),S=n(25479),C=n(20642),P=n(28893),T=n(76668),w=n(73450),I=n(55282),k=n(80845),x=n(69734),A=n(63250);const N=(e,t,n,r)=>{let a,o;return i=>{t.value>=0&&(i||r)&&(o=t.value-(a||0),(o||void 0===a)&&(a=t.value,t.delta=o,t.rating=((e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good")(t.value,n),e(t)))}},L=(e=!0)=>{const t=k.j.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStartL()?.activationStart||0,O=(e,t)=>{const n=L();let r="navigate";n&&(k.j.document?.prerendering||M()>0?r="prerender":k.j.document?.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-")));return{name:e,value:"undefined"===typeof t?-1:t,rating:"good",delta:0,entries:[],id:`v4-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:r}},R=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver((e=>{Promise.resolve().then((()=>{t(e.getEntries())}))}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(r){}},D=e=>{const t=t=>{"pagehide"!==t.type&&"hidden"!==k.j.document?.visibilityState||e(t)};k.j.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},B=e=>{let t=!1;return()=>{t||(e(),t=!0)}};let F=-1;const U=e=>{"hidden"===k.j.document.visibilityState&&F>-1&&(F="visibilitychange"===e.type?e.timeStamp:0,H())},H=()=>{removeEventListener("visibilitychange",U,!0),removeEventListener("prerenderingchange",U,!0)},V=()=>(k.j.document&&F<0&&(F="hidden"!==k.j.document.visibilityState||k.j.document.prerendering?1/0:0,addEventListener("visibilitychange",U,!0),addEventListener("prerenderingchange",U,!0)),{get firstHiddenTime(){return F}}),G=e=>{k.j.document?.prerendering?addEventListener("prerenderingchange",(()=>e()),!0):e()},q=[1800,3e3],z=[.1,.25],X=(e,t={})=>{((e,t={})=>{G((()=>{const n=V(),r=O("FCP");let a;const o=R("paint",(e=>{e.forEach((e=>{"first-contentful-paint"===e.name&&(o.disconnect(),e.startTime{const n=O("CLS",0);let r,a=0,o=[];const i=e=>{e.forEach((e=>{if(!e.hadRecentInput){const t=o[0],n=o[o.length-1];a&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(a+=e.value,o.push(e)):(a=e.value,o=[e])}})),a>n.value&&(n.value=a,n.entries=o,r())},s=R("layout-shift",i);s&&(r=N(e,n,z,t.reportAllChanges),D((()=>{i(s.takeRecords()),r(!0)})),setTimeout(r,0))})))},j=[100,300];let W=0,$=1/0,J=0;const K=e=>{e.forEach((e=>{e.interactionId&&($=Math.min($,e.interactionId),J=Math.max(J,e.interactionId),W=J?(J-$)/7+1:0)}))};let Q;const Y=()=>{"interactionCount"in performance||Q||(Q=R("event",K,{type:"event",buffered:!0,durationThreshold:0}))},Z=[],ee=new Map;const te=()=>(Q?W:performance.interactionCount||0)-0,ne=[],re=e=>{if(ne.forEach((t=>t(e))),!e.interactionId&&"first-input"!==e.entryType)return;const t=Z[Z.length-1],n=ee.get(e.interactionId);if(n||Z.length<10||t&&e.duration>t.latency){if(n)e.duration>n.latency?(n.entries=[e],n.latency=e.duration):e.duration===n.latency&&e.startTime===n.entries[0]?.startTime&&n.entries.push(e);else{const t={id:e.interactionId,latency:e.duration,entries:[e]};ee.set(t.id,t),Z.push(t)}Z.sort(((e,t)=>t.latency-e.latency)),Z.length>10&&Z.splice(10).forEach((e=>ee.delete(e.id)))}},ae=e=>{const t=k.j.requestIdleCallback||k.j.setTimeout;let n=-1;return e=B(e),"hidden"===k.j.document?.visibilityState?e():(n=t(e),D(e)),n},oe=[200,500],ie=(e,t={})=>{"PerformanceEventTiming"in k.j&&"interactionId"in PerformanceEventTiming.prototype&&G((()=>{Y();const n=O("INP");let r;const a=e=>{ae((()=>{e.forEach(re);const t=(()=>{const e=Math.min(Z.length-1,Math.floor(te()/50));return Z[e]})();t&&t.latency!==n.value&&(n.value=t.latency,n.entries=t.entries,r())}))},o=R("event",a,{durationThreshold:null!=t.durationThreshold?t.durationThreshold:40});r=N(e,n,oe,t.reportAllChanges),o&&(o.observe({type:"first-input",buffered:!0}),D((()=>{a(o.takeRecords()),r(!0)})))}))},se=[2500,4e3],le={},ce=[800,1800],ue=e=>{k.j.document?.prerendering?G((()=>ue(e))):"complete"!==k.j.document?.readyState?addEventListener("load",(()=>ue(e)),!0):setTimeout(e,0)},de={},me={};let pe,he,fe,ve,ge;function _e(e,t=!1){return we("cls",e,Ee,pe,t)}function ye(e,t){return Ie(e,t),me[e]||(!function(e){const t={};"event"===e&&(t.durationThreshold=0);R(e,(t=>{be(e,{entries:t})}),t)}(e),me[e]=!0),ke(e,t)}function be(e,t){const n=de[e];if(n?.length)for(const a of n)try{a(t)}catch(r){x.T&&c.vF.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${(0,A.qQ)(a)}\nError:`,r)}}function Ee(){return X((e=>{be("cls",{metric:e}),pe=e}),{reportAllChanges:!0})}function Se(){return((e,t={})=>{G((()=>{const n=V(),r=O("FID");let a;const o=e=>{e.startTime{e.forEach(o)},s=R("first-input",i);a=N(e,r,j,t.reportAllChanges),s&&D(B((()=>{i(s.takeRecords()),s.disconnect()})))}))})((e=>{be("fid",{metric:e}),he=e}))}function Ce(){return((e,t={})=>{G((()=>{const n=V(),r=O("LCP");let a;const o=e=>{t.reportAllChanges||(e=e.slice(-1)),e.forEach((e=>{e.startTime{le[r.id]||(o(i.takeRecords()),i.disconnect(),le[r.id]=!0,a(!0))}));["keydown","click"].forEach((e=>{k.j.document&&addEventListener(e,(()=>ae(n)),{once:!0,capture:!0})})),D(n)}}))})((e=>{be("lcp",{metric:e}),fe=e}),{reportAllChanges:!0})}function Pe(){return((e,t={})=>{const n=O("TTFB"),r=N(e,n,ce,t.reportAllChanges);ue((()=>{const e=L();e&&(n.value=Math.max(e.responseStart-M(),0),n.entries=[e],r(!0))}))})((e=>{be("ttfb",{metric:e}),ve=e}))}function Te(){return ie((e=>{be("inp",{metric:e}),ge=e}))}function we(e,t,n,r,a=!1){let o;return Ie(e,t),me[e]||(o=n(),me[e]=!0),r&&t({metric:r}),ke(e,t,a?o:void 0)}function Ie(e,t){de[e]=de[e]||[],de[e].push(t)}function ke(e,t,n){return()=>{n&&n();const r=de[e];if(!r)return;const a=r.indexOf(t);-1!==a&&r.splice(a,1)}}function xe(e){return"number"===typeof e&&isFinite(e)}function Ae(e,t,n,{...r}){const a=(0,l.et)(e).start_timestamp;return a&&a>t&&"function"===typeof e.updateStartTime&&e.updateStartTime(t),(0,h.hb)(e,(()=>{const e=(0,h.Uk)({startTime:t,...r});return e&&e.end(n),e}))}function Ne(e){const t=(0,r.KU)();if(!t)return;const{name:n,transaction:a,attributes:o,startTime:i}=e,{release:s,environment:l,sendDefaultPii:c}=t.getOptions(),u=t.getIntegrationByName("Replay")?.getReplayId(),d=(0,r.o5)(),m=d.getUser(),p=void 0!==m?m.email||m.id||m.ip_address:void 0;let f;try{f=d.getScopeData().contexts.profile.profile_id}catch{}const v={release:s,environment:l,user:p||void 0,profile_id:f||void 0,replay_id:u||void 0,transaction:a,"user_agent.original":k.j.navigator?.userAgent,"client.address":c?"{{auto}}":void 0,...o};return(0,h.Uk)({name:n,attributes:v,startTime:i,experimental:{standalone:!0}})}function Le(){return k.j.addEventListener&&k.j.performance}function Me(e){return e/1e3}function Oe(e){let t="unknown",n="unknown",r="";for(const a of e){if("/"===a){[t,n]=e.split("/");break}if(!isNaN(Number(a))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=a}return r===e&&(t=r),{name:t,version:n}}function Re(){let e,t,n=0;if(!function(){try{return PerformanceObserver.supportedEntryTypes.includes("layout-shift")}catch{return!1}}())return;let a=!1;function i(){a||(a=!0,t&&function(e,t,n){x.T&&c.vF.log(`Sending CLS span (${e})`);const a=Me(((0,u.k3)()||0)+(t?.startTime||0)),i=(0,r.o5)().getScopeData().transactionName,s=t?(0,S.Hd)(t.sources[0]?.node):"Layout shift",l={[o.JD]:"auto.http.browser.cls",[o.uT]:"ui.webvital.cls",[o.jG]:t?.duration||0,"sentry.pageload.span_id":n},d=Ne({name:s,transaction:i,attributes:l,startTime:a});d&&(d.addEvent("cls",{[o.Sn]:"",[o.xc]:e}),d.end(a))}(n,e,t),s())}const s=_e((({metric:t})=>{const r=t.entries[t.entries.length-1];r&&(n=t.value,e=r)}),!0);D((()=>{i()})),setTimeout((()=>{const e=(0,r.KU)();if(!e)return;const n=e.on("startNavigationSpan",(()=>{i(),n?.()})),a=(0,l.Bk)();if(a){const e=(0,l.zU)(a);"pageload"===(0,l.et)(e).op&&(t=e.spanContext().spanId)}}),0)}let De,Be,Fe=0,Ue={};function He({recordClsStandaloneSpans:e}){const t=Le();if(t&&(0,u.k3)()){t.mark&&k.j.performance.mark("sentry-tracing-init");const n=function(){return e=({metric:e})=>{const t=e.entries[e.entries.length-1];if(!t)return;const n=Me((0,u.k3)()),r=Me(t.startTime);Ue.fid={value:e.value,unit:"millisecond"},Ue["mark.fid"]={value:n+r,unit:"second"}},we("fid",e,Se,he);var e}(),r=function(e,t=!1){return we("lcp",e,Ce,fe,t)}((({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(Ue.lcp={value:e.value,unit:"millisecond"},De=t)}),!0),a=function(){return e=({metric:e})=>{e.entries[e.entries.length-1]&&(Ue.ttfb={value:e.value,unit:"millisecond"})},we("ttfb",e,Pe,ve);var e}(),o=e?Re():_e((({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(Ue.cls={value:e.value,unit:""},Be=t)}),!0);return()=>{n(),r(),a(),o?.()}}return()=>{}}function Ve(e,t){const n=Le(),r=(0,u.k3)();if(!n?.getEntries||!r)return;const a=Me(r),i=n.getEntries(),{op:s,start_timestamp:c}=(0,l.et)(e);if(i.slice(Fe).forEach((t=>{const n=Me(t.startTime),r=Me(Math.max(0,t.duration));if(!("navigation"===s&&c&&a+n{Ge(e,t,r,n)})),Ge(e,t,"secureConnection",n,"TLS/SSL"),Ge(e,t,"fetch",n,"cache"),Ge(e,t,"domainLookup",n,"DNS"),function(e,t,n){const r=n+Me(t.requestStart),a=n+Me(t.responseEnd),i=n+Me(t.responseStart);t.responseEnd&&(Ae(e,r,a,{op:"browser.request",name:t.name,attributes:{[o.JD]:"auto.ui.browser.metrics"}}),Ae(e,i,a,{op:"browser.response",name:t.name,attributes:{[o.JD]:"auto.ui.browser.metrics"}}))}(e,t,n)}(e,t,a);break;case"mark":case"paint":case"measure":{!function(e,t,n,r,a){const i=L(!1),s=Me(i?i.requestStart:0),l=a+Math.max(n,s),c=a+n,u=c+r,d={[o.JD]:"auto.resource.browser.metrics"};l!==c&&(d["sentry.browser.measure_happened_before_request"]=!0,d["sentry.browser.measure_start_time"]=l);l<=u&&Ae(e,l,u,{name:t.name,op:t.entryType,attributes:d})}(e,t,n,r,a);const i=V(),s=t.startTime{(0,w.X)(e,t.value,t.unit)})),e.setAttribute("performance.timeOrigin",a),e.setAttribute("performance.activationStart",M()),function(e){De&&(De.element&&e.setAttribute("lcp.element",(0,S.Hd)(De.element)),De.id&&e.setAttribute("lcp.id",De.id),De.url&&e.setAttribute("lcp.url",De.url.trim().slice(0,200)),null!=De.loadTime&&e.setAttribute("lcp.loadTime",De.loadTime),null!=De.renderTime&&e.setAttribute("lcp.renderTime",De.renderTime),e.setAttribute("lcp.size",De.size));Be?.sources&&Be.sources.forEach(((t,n)=>e.setAttribute(`cls.source.${n+1}`,(0,S.Hd)(t.node))))}(e)}De=void 0,Be=void 0,Ue={}}function Ge(e,t,n,r,a=n){const i=function(e){if("secureConnection"===e)return"connectEnd";if("fetch"===e)return"domainLookupStart";return`${e}End`}(n),s=t[i],l=t[`${n}Start`];l&&s&&Ae(e,r+Me(l),r+Me(s),{op:`browser.${a}`,name:t.name,attributes:{[o.JD]:"auto.ui.browser.metrics",..."redirect"===n&&null!=t.redirectCount?{"http.redirect_count":t.redirectCount}:{}}})}function qe(e,t,n,r){const a=t[n];null!=a&&a<2147483647&&(e[r]=a)}const ze=[],Xe=new Map;function je(){if(Le()&&(0,u.k3)()){const e=function(){return e=({metric:e})=>{if(void 0==e.value)return;const t=e.entries.find((t=>t.duration===e.value&&We[t.name]));if(!t)return;const{interactionId:n}=t,a=We[t.name],i=Me((0,u.k3)()+t.startTime),s=Me(e.value),c=(0,l.Bk)(),d=c?(0,l.zU)(c):void 0,m=(null!=n?Xe.get(n):void 0)||d,p=m?(0,l.et)(m).description:(0,r.o5)().getScopeData().transactionName,h=Ne({name:(0,S.Hd)(t.target),transaction:p,attributes:{[o.JD]:"auto.http.browser.inp",[o.uT]:`ui.interaction.${a}`,[o.jG]:t.duration},startTime:i});h&&(h.addEvent("inp",{[o.Sn]:"millisecond",[o.xc]:e.value}),h.end(i+s))},we("inp",e,Te,ge);var e}();return()=>{e()}}return()=>{}}const We={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};var $e=n(35596),Je=n(53314),Ke=n(63481);const Qe="sentry_previous_trace";function Ye(e,t){const n=(0,l.et)(t);if(!e)return{spanContext:t.spanContext(),startTimestamp:n.start_timestamp};const r=e.spanContext;return r.traceId===n.trace_id?e:(Date.now()/1e3-e.startTimestamp<=3600&&(Je.T&&c.vF.info(`Adding previous_trace ${r} link to span ${{op:n.op,...t.spanContext()}}`),t.addLink({context:r,attributes:{[o.Lc]:"previous_trace"}}),t.setAttribute("sentry.previous_trace",`${r.traceId}-${r.spanId}-${1===r.traceFlags?1:0}`)),{spanContext:t.spanContext(),startTimestamp:(0,l.et)(t).start_timestamp})}var Ze=n(65537),et=n(22647),tt=n(55293),nt=n(4899),rt=n(43223),at=n(37168);function ot(e={}){const t=(0,r.KU)();if(!(0,at.Ol)()||!t)return{};const n=(0,rt.EU)(),a=(0,nt.h)(n);if(a.getTraceData)return a.getTraceData(e);const o=(0,r.o5)(),i=e.span||(0,l.Bk)(),s=i?(0,l.Qh)(i):function(e){const{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return(0,P.TC)(t,r,n)}(o),u=i?(0,d.k1)(i):(0,d.ao)(t,o),m=(0,tt.De)(u);return P.MI.test(s)?{"sentry-trace":s,baggage:m}:(c.vF.warn("Invalid sentry-trace data. Cannot generate trace data"),{})}function it(e,t,n,a,o="auto.http.browser"){if(!e.fetchData)return;const{method:s,url:c}=e.fetchData,u=(0,i.f)()&&t(c);if(e.endTimestamp&&u){const t=e.fetchData.__span;if(!t)return;const n=a[t];return void(n&&(!function(e,t){if(t.response){(0,p.N8)(e,t.response.status);const n=t.response?.headers&&t.response.headers.get("content-length");if(n){const t=parseInt(n);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:p.TJ,message:"internal_error"});e.end()}(n,e),delete a[t]))}const d=!!(0,l.Bk)(),f=u&&d?(0,h.Uk)(function(e,t,n){const r=(0,I.kg)(e);return{name:r?`${t} ${(0,I.CH)(r)}`:t,attributes:lt(e,r,t,n)}}(c,s,o)):new m.w;if(e.fetchData.__span=f.spanContext().spanId,a[f.spanContext().spanId]=f,n(e.fetchData.url)){const t=e.args[0],n=e.args[1]||{},r=function(e,t,n){const r=ot({span:n}),a=r["sentry-trace"],o=r.baggage;if(!a)return;const i=t.headers||((0,et.ks)(e)?e.headers:void 0);if(i){if(function(e){return"undefined"!==typeof Headers&&(0,et.tH)(e,Headers)}(i)){const e=new Headers(i);if(e.set("sentry-trace",a),o){const t=e.get("baggage");if(t){const n=st(t);e.set("baggage",n?`${n},${o}`:o)}else e.set("baggage",o)}return e}if(Array.isArray(i)){const e=[...i.filter((e=>!(Array.isArray(e)&&"sentry-trace"===e[0]))).map((e=>{if(Array.isArray(e)&&"baggage"===e[0]&&"string"===typeof e[1]){const[t,n,...r]=e;return[t,st(n),...r]}return e})),["sentry-trace",a]];return o&&e.push(["baggage",o]),e}{const e="baggage"in i?i.baggage:void 0;let t=[];return Array.isArray(e)?t=e.map((e=>"string"===typeof e?st(e):e)).filter((e=>""===e)):e&&t.push(st(e)),o&&t.push(o),{...i,"sentry-trace":a,baggage:t.length>0?t.join(","):void 0}}}return{...r}}(t,n,(0,i.f)()&&d?f:void 0);r&&(e.args[1]=n,n.headers=r)}const v=(0,r.KU)();if(v){const t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};v.emit("beforeOutgoingRequestSpan",f,t)}return f}function st(e){return e.split(",").filter((e=>!e.split("=")[0].startsWith(tt.sv))).join(",")}function lt(e,t,n,r){const a={url:e,type:"fetch","http.method":n,[o.JD]:r,[o.uT]:"http.client"};return t&&((0,I.nt)(t)||(a["http.url"]=t.href,a["server.address"]=t.host),t.search&&(a["http.query"]=t.search),t.hash&&(a["http.fragment"]=t.hash)),a}var ct=n(87322),ut=n(85294);const dt=new WeakMap,mt=new Map,pt={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function ht(e,t){const{traceFetch:n,traceXHR:a,trackFetchStreamPerformance:s,shouldCreateSpanForRequest:c,enableHTTPTimings:u,tracePropagationTargets:d,onRequestSpanStart:f}={...pt,...t},v="function"===typeof c?c:e=>!0,g=e=>function(e,t){const n=(0,S.$N)();if(n){let a,o;try{a=new URL(e,n),o=new URL(n).origin}catch(r){return!1}const i=a.origin===o;return t?(0,ct.Xr)(a.toString(),t)||i&&(0,ct.Xr)(a.pathname,t):i}{const n=!!e.match(/^\/(?!\/)/);return t?(0,ct.Xr)(e,t):n}}(e,d),_={};n&&(e.addEventProcessor((e=>("transaction"===e.type&&e.spans&&e.spans.forEach((e=>{if("http.client"===e.op){const t=mt.get(e.span_id);t&&(e.timestamp=t/1e3,mt.delete(e.span_id))}})),e))),s&&(0,Ze.B$)((e=>{if(e.response){const t=dt.get(e.response);t&&e.endTimestamp&&mt.set(t,e.endTimestamp)}})),(0,Ze.ur)((e=>{const t=it(e,v,g,_);if(e.response&&e.fetchData.__span&&dt.set(e.response,e.fetchData.__span),t){const n=gt(e.fetchData.url),r=n?(0,I.Dl)(n).host:void 0;t.setAttributes({"http.url":n,"server.address":r}),u&&ft(t),f?.(t,{headers:e.headers})}}))),a&&(0,ut.Mn)((e=>{const t=function(e,t,n,a){const s=e.xhr,c=s?.[ut.Er];if(!s||s.__sentry_own_request__||!c)return;const{url:u,method:d}=c,f=(0,i.f)()&&t(u);if(e.endTimestamp&&f){const e=s.__sentry_xhr_span_id__;if(!e)return;const t=a[e];return void(t&&void 0!==c.status_code&&((0,p.N8)(t,c.status_code),t.end(),delete a[e]))}const v=gt(u),g=v?(0,I.Dl)(v):(0,I.Dl)(u),_=(0,I.f)(u),y=!!(0,l.Bk)(),b=f&&y?(0,h.Uk)({name:`${d} ${_}`,attributes:{url:u,type:"xhr","http.method":d,"http.url":v,"server.address":g?.host,[o.JD]:"auto.http.browser",[o.uT]:"http.client",...g?.search&&{"http.query":g?.search},...g?.hash&&{"http.fragment":g?.hash}}}):new m.w;s.__sentry_xhr_span_id__=b.spanContext().spanId,a[s.__sentry_xhr_span_id__]=b,n(u)&&function(e,t){const{"sentry-trace":n,baggage:r}=ot({span:t});n&&function(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader("baggage",n)}catch(r){}}(e,n,r)}(s,(0,i.f)()&&y?b:void 0);const E=(0,r.KU)();E&&E.emit("beforeOutgoingRequestSpan",b,e);return b}(e,v,g,_);if(t){let n;u&&ft(t);try{n=new Headers(e.xhr.__sentry_xhr_v3__?.request_headers)}catch{}f?.(t,{headers:n})}}))}function ft(e){const{url:t}=(0,l.et)(e).data;if(!t||"string"!==typeof t)return;const n=ye("resource",(({entries:r})=>{r.forEach((r=>{if(function(e){return"resource"===e.entryType&&"initiatorType"in e&&"string"===typeof e.nextHopProtocol&&("fetch"===e.initiatorType||"xmlhttprequest"===e.initiatorType)}(r)&&r.name.endsWith(t)){(function(e){const{name:t,version:n}=Oe(e.nextHopProtocol),r=[];if(r.push(["network.protocol.version",n],["network.protocol.name",t]),!(0,u.k3)())return r;return[...r,["http.request.redirect_start",vt(e.redirectStart)],["http.request.fetch_start",vt(e.fetchStart)],["http.request.domain_lookup_start",vt(e.domainLookupStart)],["http.request.domain_lookup_end",vt(e.domainLookupEnd)],["http.request.connect_start",vt(e.connectStart)],["http.request.secure_connection_start",vt(e.secureConnectionStart)],["http.request.connection_end",vt(e.connectEnd)],["http.request.request_start",vt(e.requestStart)],["http.request.response_start",vt(e.responseStart)],["http.request.response_end",vt(e.responseEnd)]]})(r).forEach((t=>e.setAttribute(...t))),setTimeout(n)}}))}))}function vt(e=0){return(((0,u.k3)()||performance.timeOrigin)+e)/1e3}function gt(e){try{return new URL(e,Ke.jf.location.origin).href}catch{return}}const _t={...f,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,linkPreviousTrace:"in-memory",_experiments:{},...pt};let yt=!1;const bt=(e={})=>{yt&&(0,c.pq)((()=>{console.warn("Multiple browserTracingIntegration instances are not supported.")})),yt=!0;const t=Ke.jf.document;y||(y=!0,(0,g.L)(b),(0,_.r)(b));const{enableInp:n,enableLongTask:a,enableLongAnimationFrame:i,_experiments:{enableInteractions:s,enableStandaloneClsSpans:m},beforeStartSpan:h,idleTimeout:f,finalTimeout:T,childSpanTimeout:w,markBackgroundSpan:I,traceFetch:k,traceXHR:x,trackFetchStreamPerformance:A,shouldCreateSpanForRequest:N,enableHTTPTimings:L,instrumentPageLoad:M,instrumentNavigation:O,linkPreviousTrace:R,onRequestSpanStart:D}={..._t,...e},B=He({recordClsStandaloneSpans:m||!1});n&&je(),i&&E.O.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?new PerformanceObserver((e=>{const t=(0,l.Bk)();if(t)for(const n of e.getEntries()){if(!n.scripts[0])continue;const e=Me((0,u.k3)()+n.startTime),{start_timestamp:r,op:a}=(0,l.et)(t);if("navigation"===a&&r&&e{const t=(0,l.Bk)();if(!t)return;const{op:n,start_timestamp:r}=(0,l.et)(t);for(const a of e){const e=Me((0,u.k3)()+a.startTime),i=Me(a.duration);"navigation"===n&&r&&e{const t=(0,l.Bk)();if(t)for(const n of e)if("click"===n.name){const e=Me((0,u.k3)()+n.startTime),r=Me(n.duration),a={name:(0,S.Hd)(n.target),op:`ui.interaction.${n.name}`,startTime:e,attributes:{[o.JD]:"auto.ui.browser.metrics"}},i=(0,S.xE)(n.target);i&&(a.attributes["ui.component_name"]=i),Ae(t,e,e+r,a)}}));const F={name:void 0,source:void 0};function U(e,n){const a="pageload"===n.op,i=h?h(n):n,s=i.attributes||{};n.name!==i.name&&(s[o.i_]="custom",i.attributes=s),F.name=i.name,F.source=s[o.i_];const c=v(i,{idleTimeout:f,finalTimeout:T,childSpanTimeout:w,disableAutoFinish:a,beforeSpanEnd:t=>{B(),Ve(t,{recordClsOnPageloadSpan:!m}),Pt(e,void 0);const n=(0,r.o5)(),a=n.getPropagationContext();n.setPropagationContext({...a,traceId:c.spanContext().traceId,sampled:(0,l.pK)(c),dsc:(0,d.k1)(t)})}});function u(){t&&["interactive","complete"].includes(t.readyState)&&e.emit("idleSpanEnableAutoFinish",c)}Pt(e,c),a&&t&&(t.addEventListener("readystatechange",(()=>{u()})),u())}return{name:"BrowserTracing",afterAllSetup(e){let t=(0,S.$N)();function a(){const t=Ct(e);t&&!(0,l.et)(t).timestamp&&(Je.T&&c.vF.log(`[Tracing] Finishing current active span with op: ${(0,l.et)(t).op}`),t.end())}if(e.on("startNavigationSpan",(t=>{(0,r.KU)()===e&&(a(),(0,r.rm)().setPropagationContext({traceId:(0,C.e)(),sampleRand:Math.random()}),(0,r.o5)().setPropagationContext({traceId:(0,C.e)(),sampleRand:Math.random()}),U(e,{op:"navigation",...t}))})),e.on("startPageLoadSpan",((t,n={})=>{if((0,r.KU)()!==e)return;a();const o=n.sentryTrace||Et("sentry-trace"),i=n.baggage||Et("baggage"),s=(0,P.kM)(o,i);(0,r.o5)().setPropagationContext(s),U(e,{op:"pageload",...t})})),"off"!==R){let t;e.on("spanStart",(e=>{if((0,l.zU)(e)===e)if("session-storage"===R){!function(e){try{Ke.jf.sessionStorage.setItem(Qe,JSON.stringify(e))}catch(t){Je.T&&c.vF.warn("Could not store previous trace in sessionStorage",t)}}(Ye(function(){try{const e=Ke.jf.sessionStorage?.getItem(Qe);return JSON.parse(e)}catch(e){return}}(),e))}else t=Ye(t,e)}))}if(Ke.jf.location){if(M){const t=(0,u.k3)();!function(e,t,n){e.emit("startPageLoadSpan",t,n),(0,r.o5)().setTransactionName(t.name),Ct(e)}(e,{name:Ke.jf.location.pathname,startTime:t?t/1e3:void 0,attributes:{[o.i_]:"url",[o.JD]:"auto.pageload.browser"}})}O&&(0,$e._)((({to:n,from:a})=>{void 0!==a||-1===t?.indexOf(n)?a!==n&&(t=void 0,function(e,t){e.emit("startNavigationSpan",t),(0,r.o5)().setTransactionName(t.name),Ct(e)}(e,{name:Ke.jf.location.pathname,attributes:{[o.i_]:"url",[o.JD]:"auto.navigation.browser"}})):t=void 0}))}I&&(Ke.jf.document?Ke.jf.document.addEventListener("visibilitychange",(()=>{const e=(0,l.Bk)();if(!e)return;const t=(0,l.zU)(e);if(Ke.jf.document.hidden&&t){const e="cancelled",{op:n,status:r}=(0,l.et)(t);Je.T&&c.vF.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${n}`),r||t.setStatus({code:p.TJ,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}})):Je.T&&c.vF.warn("[Tracing] Could not set up background tab detection due to lack of global document")),s&&function(e,t,n,r,a){const i=Ke.jf.document;let s;const u=()=>{const i="ui.action.click",u=Ct(e);if(u){const e=(0,l.et)(u).op;if(["navigation","pageload"].includes(e))return void(Je.T&&c.vF.warn(`[Tracing] Did not create ${i} span because a pageload or navigation span is in progress.`))}s&&(s.setAttribute(o.fs,"interactionInterrupted"),s.end(),s=void 0),a.name?s=v({name:a.name,op:i,attributes:{[o.i_]:a.source||"url"}},{idleTimeout:t,finalTimeout:n,childSpanTimeout:r}):Je.T&&c.vF.warn(`[Tracing] Did not create ${i} transaction because _latestRouteName is missing.`)};i&&addEventListener("click",u,{once:!1,capture:!0})}(e,f,T,w,F),n&&function(){const e=({entries:e})=>{const t=(0,l.Bk)(),n=t&&(0,l.zU)(t);e.forEach((e=>{if(!function(e){return"duration"in e}(e)||!n)return;const t=e.interactionId;if(null!=t&&!Xe.has(t)){if(ze.length>10){const e=ze.shift();Xe.delete(e)}ze.push(t),Xe.set(t,n)}}))};ye("event",e),ye("first-input",e)}(),ht(e,{traceFetch:k,traceXHR:x,trackFetchStreamPerformance:A,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:N,enableHTTPTimings:L,onRequestSpanStart:D})}}};function Et(e){const t=Ke.jf.document?.querySelector(`meta[name=${e}]`);return t?.getAttribute("content")||void 0}const St="_sentry_idleSpan";function Ct(e){return e._sentry_idleSpan}function Pt(e,t){(0,T.my)(e,St,t)}},34813:(e,t,n)=>{"use strict";n.d(t,{bA:()=>r.bA,$Z:()=>r.$Z,av:()=>o.a,oL:()=>r.oL,LC:()=>r.LC,PI:()=>a.PI,HF:()=>a.HF,$g:()=>S.$g,gW:()=>a.gW,sF:()=>a.sF,Jk:()=>a.Jk,k6:()=>a.k6,cf:()=>a.cf,dJ:()=>a.dJ,IO:()=>a.IO,Pv:()=>a.Pv,Zv:()=>a.Zv,lF:()=>a.lF,Uh:()=>a.Uh,O9:()=>a.O9,ig:()=>r.ig,Z:()=>a.Z,SF:()=>C,NL:()=>P,Qu:()=>a.Qu,fQ:()=>a.fQ,b:()=>a.b,v_:()=>a.v_,Ki:()=>a.Ki,sz:()=>a.sz,CU:()=>a.CU,cz:()=>a.cz});var r=n(74296),a=n(40456),o=n(61896),i=n(50433),s=n(88262),l=n(97895),c=n(14041),u=n(83718);const d=e=>`channelTitle_${e}`;var m,p=n(41506),h=n.n(p),f=(n(69399),n(14297),n(65136),n(64552),n(45993),n(95428)),v=n(41305),g=n(42474);!function(e){e.Channels="Channels",e.Filters="Filters"}(m||(m={}));const _={channelData:{},channelMetadata:{}};var y;!function(e){e.FETCHING_INITIAL_CHANNELS_DATA="@channels/FETCHING_INITIAL_CHANNELS_DATA",e.FETCH_CHANNEL="@channels/FETCH_CHANNEL"}(y||(y={}));var b;n(17),n(93262);!function(e){e.FETCH_FILTERS="@filters/FETCH_FILTERS"}(b||(b={}));const E={};var S=n(87563);function C(e,t){const n=function(e){return{startFetchingChannels:(0,f.VPN)(y.FETCHING_INITIAL_CHANNELS_DATA,"Channels",e,((e,t)=>({channelKeys:e,channelIds:t}))),fetchChannel:(0,f.mYQ)("Channels",e,y.FETCH_CHANNEL,((e,t,n,r,a)=>({channelKey:e,encodedFilters:t,encodedCT:n,query:r,channelId:a})),((e,t)=>({channels:e,isLoadMore:t})),((e,t)=>({error:e,channelKey:t})))}}(e),r=(o=n,(0,v.v4)([m.Channels],new v.sV(_).on(o.startFetchingChannels,(function(e,t){const n=t.channelKeys;if(!n.length)return e;let r=e.channelMetadata;return t.channelIds&&(r=t.channelIds.reduce(((t,n)=>{const r=(0,f.XBe)(n),a=e.channelMetadata[r];return a&&!(0,s.isError)(a)||(t[r]=(0,s.lceFetching)()),t}),h()({},e.channelMetadata))),{channelData:n.reduce(((t,n)=>{const r=(0,f.XBe)(n);return t[r]=(0,s.lceFetching)(e.channelData[r]),t}),h()({},e.channelData)),channelMetadata:r}})).on(o.fetchChannel.start,(function(e,t){const n=t.channelKey;if(!n)return e;let r=h()({},e.channelMetadata);const a=(0,f.XBe)((0,g.Vm)(n));return a&&!e.channelMetadata[a]&&(r=h()(h()({},e.channelMetadata),{},{[a]:(0,s.lceFetching)()})),{channelData:h()(h()({},e.channelData),{},{[(0,f.XBe)(n)]:(0,s.lceFetching)(e.channelData[(0,f.XBe)(n)])}),channelMetadata:r}})).on(o.fetchChannel.success,(function(e,t){const n=Object.keys(t.channels);if(!n.length)return e;let r=e.channelMetadata;return t.isLoadMore||(r=n.reduce(((e,n)=>{const r=(0,f.XBe)((0,g.Vm)(n)),a=t.channels[n],o=(a.channelKey?(0,g.Vm)(a.channelKey):"").split("_",1)[0];return e[r]=(0,s.lceContent)({channelTitleModuleData:{title:a.title,backgroundColor:a.backgroundColor,description:a.description,footer:a.footer,foregroundColor:a.foregroundColor,imageUrl:a.imageUrl,link:a.link,subHeader:a.subHeader},isFilterable:a.isFilterable,vanityName:a.vanityName,channelName:a.channelName,channelLocalizationKey:o}),e}),h()({},e.channelMetadata))),{channelData:n.reduce(((n,r)=>{const a=(0,f.XBe)(r),o=t.channels[r];if(t.isLoadMore){const t=(0,s.getDataOrPrevious)(e.channelData[a]);t&&(n[a]=(0,s.lceContent)({encodedCT:o.encodedCT,totalItems:o.totalItems,products:[...t.products,...o.products]}))}else n[a]=(0,s.lceContent)({products:o.products,encodedCT:o.encodedCT,totalItems:o.totalItems});return n}),h()({},e.channelData)),channelMetadata:r}})).on(o.fetchChannel.error,(function(e,t){return t.channelKey?{channelData:h()(h()({},e.channelData),{},{[(0,f.XBe)(t.channelKey)]:(0,s.lceError)(t.error,e.channelData[(0,f.XBe)(t.channelKey)])}),channelMetadata:h()({},e.channelMetadata)}:e})).build()));var o;const p=function(e){const t=(t,n)=>{const r=(0,f.XBe)(n);return(0,s.getDataOrPrevious)(e(t).channelData[r])},n=(t,n)=>{const r=(0,f.XBe)(n);return(0,s.getDataOrPrevious)(e(t).channelMetadata[r])};return{getChannelByChannelKey:t,getChannelMetadata:n,getLCEChannelByChannelKey:(t,n)=>{const r=(0,f.XBe)(n);return e(t).channelData[r]||(0,s.lceNotRequested)()},getChannelProductIdentifiersByChannelProductKey:(e,n)=>{const r=t(e,n);return r?r.products.map((e=>({productId:e.productId,skuId:e.skuId||"",availabilityId:""}))):[]},getChannelName:(e,t)=>{const r=(0,g.Vm)(t),a=n(e,r);return(null===a||void 0===a?void 0:a.channelName)||""},getChannelLocalizationKey:(e,t)=>{const r=n(e,t);return(null===r||void 0===r?void 0:r.channelLocalizationKey)||""},getChannelMetadataLCEByChannelId:(t,n)=>e(t).channelMetadata[(0,f.XBe)(n)]||(0,s.lceNotRequested)(),getChannelVanityName:(e,t)=>{const r=n(e,t);return null===r||void 0===r?void 0:r.vanityName}}}(t),b=(0,i.p$)(e),E=(0,S.eU)(n,b),C=function(e,t){function n(t){const{getLCEChannelByChannelKey:n}=e;return(0,u.d4)((e=>n(e,t)))}function r(e){const r=(0,a.sz)(),o=(0,c.useMemo)((()=>(0,a.gW)(e,r)),[e,r]),i=n(o),l=(0,u.wA)();return(0,c.useEffect)((()=>{i.type===s.LCEType.NotRequested&&l(t.fetchChannel.start(o,(0,a.HF)(r),void 0,void 0,e))}),[o,r,i.type,e,l]),{channelLce:i,channelKey:o,selectedFilters:r}}return{useChannelName:function(t,n){const{getChannelName:r,getChannelLocalizationKey:a}=e,o=(0,u.d4)((e=>a(e,t))),i=d(o),s=(0,u.d4)((e=>r(e,t))),c=(0,l.fN)(i,s);return n||c},useChannelByChannelKey:n,useBrowseChannelByChannelId:function(e){const r=(0,c.useMemo)((()=>(0,a.gW)(e)),[e]),o=n(r),i=(0,u.wA)();return(0,c.useEffect)((()=>{o.type===s.LCEType.NotRequested&&i(t.fetchChannel.start(r,"",void 0,void 0,e))}),[r,o.type,e,i]),{channelLce:o,channelKey:r}},useBrowseLoadMore:function(e){var n;const{channelKey:o,channelLce:i,selectedFilters:l}=r(e),d=null===(n=(0,s.getDataOrPrevious)(i))||void 0===n?void 0:n.encodedCT,m=(0,u.wA)();return{loadMore:(0,c.useCallback)((()=>{m(t.fetchChannel.start(o,(0,a.HF)(l),d,void 0,e))}),[m,o,l,d,e]),canLoadMore:!!d,fetching:(0,s.isFetching)(i)}},useFilteredBrowseChannelByChannelId:r}}(p,n);return{channelsActions:n,channelsReducers:r,channelsSelectors:p,channelsHooks:C,channelsSagas:E}}function P(e,t){const n=function(e){return{fetchFiltersResults:(0,f.mYQ)("Filters",e,b.FETCH_FILTERS,(e=>({filterKey:e})),(e=>({data:e})),((e,t)=>({error:e,filterKey:t})))}}(e),r=(a=n,(0,f.v4G)([m.Filters],new f.sVo(E).on(a.fetchFiltersResults.start,(function(e,t){const n=t.filterKey;return n?h()(h()({},e),{},{[n]:(0,s.lceFetching)(e[n])}):e})).on(a.fetchFiltersResults.success,(function(e,t){if(!t.data)return e;const n={};for(const[r,a]of Object.entries(t.data))n[r]=(0,s.lceContent)(a);return h()(h()({},e),n)})).on(a.fetchFiltersResults.error,(function(e,t){if(t.filterKey){const n=t.filterKey;return h()(h()({},e),{},{[n]:(0,s.lceError)(t.error,e[n])})}return e})).build()));var a;const i=function(e){const t=(t,n)=>e(t)[n]||(0,s.lceNotRequested)();return{getFilters:t,getSortInfo:(e,n)=>{const r=(0,s.getDataOrPrevious)(t(e,n));return null===r||void 0===r?void 0:r[o.a.OrderBy]}}}(t);return{filtersActions:n,filtersReducers:r,filtersSelectors:i}}},34843:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(85608),a=n(14041);const o=function(e){var{title:t,titleId:n}=e,o=(0,r.__rest)(e,["title","titleId"]);return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},o),t?a.createElement("title",{id:n},t):null,a.createElement("path",{d:"M1939 467l90 90-1005 1005L19 557l90-90 915 915 915-915z"}))}},35026:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createInputForBuyNowUI=t.attachingMessageHandler=t.constructBuyNowUrl=void 0;var r=n(56769),a=n(80849),o=n(9274);t.constructBuyNowUrl=function(e){var t;return"".concat(o.TARGET_ORIGIN).concat((0,r.buyNowUIUrlPath)(e,null===e||void 0===e?void 0:e.flights,null===(t=null===e||void 0===e?void 0:e.campaignOptions)||void 0===t?void 0:t.flights),"/buynow?ms-cv=").concat(encodeURIComponent(e.cV),"&noCanonical=true&market=").concat(e.market,"&locale=").concat(e.locale,"&clientName=").concat(e.clientType)};t.attachingMessageHandler=function(e,t){return new Promise((function(t){return window.addEventListener("message",(function(n){n.origin===o.TARGET_ORIGIN&&("ReactPurchaseReadyToRender"===n.data&&t(),e&&e.remove())}),!0)}))};var i={usePurchaseSdk:!0};t.createInputForBuyNowUI=function(e,t){var n=Object.keys(t);e.appendChild((0,a.createInput)("data",void 0,JSON.stringify(i))),n.forEach((function(n){if(n&&t[n])if("authToken"===n)e.appendChild((0,a.createInput)("msaTicket",void 0,t.authToken));else if("xToken"===n)e.appendChild((0,a.createInput)("xToken",void 0,t.xToken));else if("flights"===n)(0,a.createInputForArray)(e,"flights",t.flights);else if("products"===n)e.appendChild((0,a.createInput)("products",t.products));else{var r=t[n];e.appendChild((0,a.createInput)(n,void 0,"object"===typeof r?JSON.stringify(r):r))}}))}},35423:(e,t,n)=>{"use strict";n.d(t,{m1:()=>c.m1,V1:()=>r,hT:()=>o,H_:()=>s.H,Sx:()=>i,zi:()=>l,$h:()=>a.$});var r;n(16239);!function(e){e.Unknown="Unknown",e.AppLoad="AppLoad",e.InteractiveSignIn="InteractiveSignIn",e.DeviceCodeSignIn="DeviceCodeSignIn",e.SilentSignIn="SilentSignIn",e.SignInUnavailable="SignInUnavailable",e.ConsentValuesUpdated="ConsentValuesUpdated"}(r||(r={}));var a=n(25936);const o={telemetry:"telemetry",authentication:"authentication",cookies:"cookies",session:"session",partners:"partners"};var i,s=n(17235);!function(e){e.Light="Light",e.Dark="Dark",e.DarkHeader="DarkHeader"}(i||(i={}));const l="x-theme";var c=n(96916)},35596:(e,t,n)=>{"use strict";n.d(t,{_:()=>l});var r=n(12272),a=n(4251),o=n(76668),i=n(80845);let s;function l(e){const t="history";(0,r.s5)(t,e),(0,r.AS)(t,c)}function c(){function e(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const a=s,o=String(n);if(s=o,a===o)return e.apply(this,t);const i={from:a,to:o};(0,r.aj)("history",i)}return e.apply(this,t)}}i.j.addEventListener("popstate",(()=>{const e=i.j.location.href,t=s;if(s=e,t===e)return;const n={from:t,to:e};(0,r.aj)("history",n)})),(0,a.NJ)()&&((0,o.GS)(i.j.history,"pushState",e),(0,o.GS)(i.j.history,"replaceState",e))}},36164:(e,t,n)=>{"use strict";n.d(t,{vE:()=>b,FK:()=>E,pQ:()=>I.p,w1:()=>p,UL:()=>w.UL,_4:()=>l,aY:()=>g,X5:()=>_,JX:()=>C.JX,yP:()=>C.yP,Ds:()=>d,xT:()=>u,gr:()=>m,BD:()=>P,ZB:()=>w.ZB,fX:()=>w.fX,QI:()=>C.QI,Ek:()=>o,Lv:()=>L,_E:()=>y,ZZ:()=>S,xG:()=>k.x});n(56460),n(28443),n(34237),n(45993);var r=n(95428),a=n(97895);const o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1024,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;var o;const s=(0,a.FE)("gameSizeFormat"),l=i(e,t,n);if(void 0!==l)return(0,r.GPZ)(s,null===(o=l.size)||void 0===o?void 0:o.toString(),l.unit)},i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1024,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;const[r,o,i,l,c,u]=(0,a.cG)("bytesSymbol","kiloBytesSymbol","megaBytesSymbol","gigaBytesSymbol","teraBytesSymbol","petaBytesSymbol"),d=[r,o,i,l,c,u];if(void 0===e)return;let m,p=0;return 0===e?m=e:(p=s(e,t),m=parseFloat((e/Math.pow(t,p)).toFixed(n))),{size:m,unit:d[p]&&d[p]||""}},s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1024;return Math.floor(Math.log(e)/Math.log(t))},l=e=>"true"===(null===e||void 0===e?void 0:e.toLowerCase()),c=(e,t)=>{switch(e){case 2:return t&&(e=>29===new Date(e,1,29).getDate())(t)?29:28;case 4:case 6:case 9:case 11:return 30;default:return 31}},u=e=>{const t=new Array(13);t[0]={value:-1,label:e};for(let n=1;n{let r;if(t){const e=c(t,n);r=new Array(e+1)}else r=new Array(32);r[0]={value:-1,label:e};for(let a=1;a{const t=(new Date).getFullYear(),n=new Array(151);n[0]={value:-1,label:e};for(let r=1;r{const t=new Date,n=t.getMonth(),r=e.getMonth();let a=t.getFullYear()-e.getFullYear();return(nArray.from(e.querySelectorAll('button, a, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')).filter((e=>!e.hasAttribute("disabled"))),_=e=>{if(null===e||void 0===e?void 0:e.current){const t=g(e.current);t.length>0&&t[0].focus()}},y=(e,t,n,a)=>{(0,h.useBButtonHandler)("release",(()=>!!e&&(t(),!0))),(0,f.useEffect)((()=>{if(e){const e=function(e){let a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,r.JSV)(e.key,"escape")&&(t(),a&&(null===n||void 0===n?void 0:n.current)&&n.current.focus(),e.stopPropagation(),e.preventDefault())},o=t=>e(t);let i;if(document.addEventListener(v,o),null===a||void 0===a?void 0:a.current){_(a),a.current.addEventListener(v,(t=>e(t,!0)));const t=null===a||void 0===a?void 0:a.current;i=()=>{t&&t.removeEventListener(v,(t=>e(t,!0)))}}return()=>{document.removeEventListener(v,o),i&&i()}}}),[n,a,t,e]);return e=>{t(e),(null===n||void 0===n?void 0:n.current)&&n.current.focus()}},b=f.createContext({});n(51453),n(57971),n(16913),n(87054),n(52103),n(97905),n(12729),n(279),n(15385),n(17519),n(78258),n(93094),n(97012),n(52597);const E=(0,f.createContext)({focusTrack:new Map,setShouldFocus:()=>{}}),S=(e,t)=>{const n=(0,f.useContext)(E);(0,f.useEffect)((()=>{var r;n.focusTrack.get(t)&&(null===(r=null===e||void 0===e?void 0:e.current)||void 0===r||r.focus())}),[e,t,n])};var C=n(72942);const P=(e,t)=>e<0?0:e>=t?t-1:e;var T=n(83718);n(87530),n(23986);var w=n(16337),I=n(42622),k=n(98185),x=n(36359),A=n(62200),N=n(72011);const L=()=>{const e=(0,T.d4)(x.ug),t=null===e||void 0===e?void 0:e.xuid,n=(0,T.wA)(),r=(0,T.d4)(A.x);(0,f.useEffect)((()=>{r||n(N.i.fetchVectorId.start())}),[t,r,n])}},36359:(e,t,n)=>{"use strict";n.d(t,{Il:()=>o,wd:()=>a.wd,gZ:()=>h,Nq:()=>r.N,hA:()=>N.hA,P3:()=>N.P3,Jt:()=>i.Jt,Yo:()=>N.Yo,zW:()=>a.zW,D3:()=>u,xH:()=>M.x,v5:()=>a.v5,sX:()=>a.sX,zd:()=>T.zd,vU:()=>c,rV:()=>d,ZX:()=>m,xT:()=>l.xT,zG:()=>T.zG,Sq:()=>T.Sq,w3:()=>L.w3,Y6:()=>y,Pe:()=>T.Pe,vQ:()=>T.vQ,qH:()=>T.qH,ct:()=>T.ct,UG:()=>L.UG,Rs:()=>T.Rs,EX:()=>T.EX,u0:()=>T.u0,dF:()=>T.dF,iJ:()=>T.iJ,qo:()=>T.qo,dq:()=>T.dq,yI:()=>T.yI,ug:()=>T.ug,$z:()=>T.sX,h2:()=>T.h2,Kj:()=>T.Kj,bX:()=>T.bX,Nu:()=>l.Nu,yn:()=>T.yn,e1:()=>l.e1,QB:()=>L.QB,Mo:()=>L.Mo,jb:()=>f,Rl:()=>I,S1:()=>k,go:()=>A,Xp:()=>T.Xp,oA:()=>T.oA});var r=n(69455),a=(n(5858),n(91384));class o{constructor(e,t){this.config=e,this._traceLogger=t}async authenticate(e,t){const n=e.clone();return n.headers.set(a.nW.AadUserAuthorization,`Bearer ${this.config.aadToken}`),n}}var i=n(40592),s=n(90692),l=n(34547);class c{constructor(e,t,n){this._authenticationProvider=t,this._traceLogger=n,this._relyingParty=e.relyingParty,this._isMandatory=e.isMandatory,this._anonymousTokenAuthenticator=e.anonymousTokenAuthenticator,this._aadAuthenticator=e.aadAuthenticator,this._xTokenOverride=e.xTokenOverride}async authenticate(e,t){let n=this._xTokenOverride;if(!n)try{n=await this._authenticationProvider.acquireTokenSilently(this._relyingParty)}catch(a){(0,l.bJ)(a)&&this._traceLogger.warn(`Error while acquiring xToken for request: ${e.url}. Error: ${a.message}`)}let r=e;if(n)r=this._authenticateRequest(e,n);else if(this._isMandatory)throw new i.v3(e.url);return this._anonymousTokenAuthenticator&&(r=await this._anonymousTokenAuthenticator.authenticate(r,t)),this._aadAuthenticator&&(r=await this._aadAuthenticator.authenticate(r,t)),r}_authenticateRequest(e,t){const n=e.clone();return n.headers.set(s.HttpHeader.Authorization,(0,l.xT)(t)),n}}class u{constructor(e,t,n){this.cartMuid=n,this._xTokenAuthenticator=new c({isMandatory:!1,relyingParty:a.zW.MDollar},e,t)}async authenticate(e,t){if(!this.cartMuid)throw new i.v3(e.url);const n=e.clone();return n.headers.set(a.nW.MuidAuthorization,this.cartMuid),this._xTokenAuthenticator.authenticate(n)}}class d{constructor(e){this._config=e}async authenticate(e,t){var n;return e.headers&&(null===(n=this._config)||void 0===n?void 0:n.anonToken)&&e.headers.set(a.nW.S2sAuthHeader,`Bearer ${this._config.anonToken}`),e}}class m{constructor(e,t,n){this._authenticationProvider=t,this._traceLogger=n,this._isMandatory=e.isMandatory,this._anonymousTokenAuthenticator=e.anonymousTokenAuthenticator,this._aadAuthenticator=e.aadAuthenticator,this._xTokenOverride=e.xTokenOverride,this._addXblAuthHeader=e.addXblAuthHeader}async authenticate(e,t){let n,r=this._xTokenOverride;if(!r)try{r=await this._authenticationProvider.acquireTokenSilently(a.zW.MDollar)}catch(s){(0,l.bJ)(s)&&this._traceLogger.warn(`Error while acquiring xToken for request: ${e.url}. Error: ${s.message}`)}if(this._addXblAuthHeader)try{n=await this._authenticationProvider.acquireTokenSilently(a.zW.XboxLive)}catch(s){(0,l.bJ)(s)&&this._traceLogger.warn(`Error while acquiring Xbox Live token for request: ${e.url}. Error: ${s.message}`)}let o=e;if(r)o=this._authenticateRequest(e,r,n);else if(this._isMandatory)throw new i.v3(e.url);return this._anonymousTokenAuthenticator&&(o=await this._anonymousTokenAuthenticator.authenticate(o,t)),this._aadAuthenticator&&(o=await this._aadAuthenticator.authenticate(o,t)),o}_authenticateRequest(e,t,n){const r=e.clone();return r.headers.set(s.HttpHeader.Authorization,(0,l.xT)(t)),this._addXblAuthHeader&&n&&r.headers.set(a.nW.XMSAuthorizationXBL,(0,l.xT)(n)),r}}var p=n(14041);const h=(0,p.createContext)({}),f=()=>(0,p.useContext)(h);var v=n(95428),g=n(89979);function*_(){return yield(0,g.SD)(v.hTd.authentication)}function y(){return(0,g.T1)(_)}n(59045);var b=n(41506),E=n.n(b),S=(n(45993),n(88262)),C=n(92747),P=n(83718),T=n(54034),w=n(93080);const I=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=(0,P.d4)(T.ct),[r,a]=(0,p.useState)(t),o=(0,P.d4)(T.iJ)===v.P2Z.Adult,i=(0,P.d4)(T.vg),s=(0,P.wA)(),l=(0,C.jr)();(0,p.useEffect)((()=>{e&&n&&o&&((0,S.isValidNotRequestedLCE)(i)||(0,S.isExpiredContent)(i)||r&&(0,S.isContent)(i))&&(l.info("[usePrivacyConsent] Dispatching fetchPrivacyConsent action"),s(w.X.fetchPrivacyConsent.start()),r&&a(!1))}),[i,s,n,l,o,r,e]);const c=(0,p.useMemo)((()=>{var e;return null!==(e=(0,S.getUnexpiredDataOrPrevious)(i))&&void 0!==e?e:[]}),[i]);return(0,p.useMemo)((()=>[c,E()({loading:(0,S.isFetching)(i)},i)]),[i,c])},k=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=(0,P.d4)(T.ct),r=(0,P.d4)(T.iJ)===v.P2Z.Adult,a=(0,C.jr)(),o=(0,P.d4)((t=>(0,T.t4)(t,e))),i=(0,P.wA)();(0,p.useEffect)((()=>{t&&n&&r&&(0,S.isNotRequested)(o)&&(a.info(`[usePrivacyConsentUiDetails] Dispatching fetchPrivacyConsentUiDetails action with: ${e}`),i(w.X.fetchPrivacyConsentUiDetails.start(e)))}),[i,n,e,a,o,r,t]);const s=(0,p.useMemo)((()=>{var e;return null!==(e=(0,S.getDataOrPrevious)(o))&&void 0!==e?e:[]}),[o]);return(0,p.useMemo)((()=>[s,E()({loading:(0,S.isFetching)(o)},o)]),[s,o])};var x=n(56552);const A=e=>{const t=(0,P.d4)(T.ct),n=(0,P.d4)(T.EK),r=(0,C.jr)(),a=(0,P.d4)(T.Ki),o=(0,P.d4)(T.Tu),i=(0,P.wA)(),s=(0,p.useCallback)((n=>{let{id:a,values:o,consentSurface:s}=n;t&&(r.info("[useSubmitConsent] Dispatching submitConsent action"),i(w.X.submitConsent.start({id:a,values:o,modelType:e,consentSurface:s})))}),[i,t,r,e]),l=(0,p.useMemo)((()=>e===x.ModelType.XboxOptionalDataCollection?n:e===x.ModelType.XboxFinPartnerSharing?o:a),[o,n,a,e]);return(0,p.useMemo)((()=>[s,l,n,a]),[n,a,l,s])};n(16921);var N=n(50414),L=(n(55884),n(6678)),M=(n(32399),n(16514));n(53890)},36647:(e,t,n)=>{"use strict";n.d(t,{J:()=>a,N:()=>o});var r=n(14041);const a={locales:[],merge:Object.assign,messages:{},pathSep:"."},o=(0,r.createContext)(a)},36745:(e,t,n)=>{"use strict";var r=n(76566),a=n(70581),o=n(65526),i=n(81119),s=n(86142),l=n(97029),c=1!==[].unshift(0),u=!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}}();r({target:"Array",proto:!0,arity:1,forced:c||u},{unshift:function(e){var t=a(this),n=o(t),r=arguments.length;if(r){l(n+r);for(var c=n;c--;){var u=c+r;c in t?t[u]=t[c]:s(t,u)}for(var d=0;d{"use strict";n.d(t,{Bw:()=>r.Bw,kG:()=>r.kG,kw:()=>r.kw,hV:()=>r.hV,_7:()=>s,Qx:()=>r.Qx,ts:()=>r.ts,FI:()=>I,Dd:()=>w,j9:()=>C,cO:()=>P,yC:()=>N,qU:()=>L,ck:()=>f,Er:()=>b,sU:()=>D,nT:()=>k,r2:()=>M,Ih:()=>v,Cv:()=>x,yE:()=>O,ak:()=>g.a,EC:()=>y,wc:()=>m,Jf:()=>R,YN:()=>A});var r=n(29464),a=(n(5858),n(90692)),o=n(95428),i=n(12885);n(66264);class s extends Error{constructor(e,t,n){super(e),this.httpStatusCode=t,this.responseBody=n,Object.setPrototypeOf(this,s.prototype)}}var l=n(41506),c=n.n(l),u=n(92747);n(9020);const d=()=>((e,t)=>{if(e){const t=parseInt(e,10);if(!isNaN(t))return t}return t})(o.VTO.DEFAULT_TIMEOUT_MSEC,r.wD),m=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0;const o=c()({[r.Bw.MsApiVersion]:"1.0"},n);return a.RequestFactory.withBaseUrl(t?r.ts:r.Qx).setCommonTimeout(d()).setCommonMaxRetries(r.u7).setCommonHeaders(o).setCommonMetadataValue(u.jm,e)};var p=n(36359),h=n(84948);const f=(e,t,n)=>(0,h.K)(e,t,n).authenticator(new p.vU(n,t,e.logger())).build(),v=(e,t,n,r)=>(0,h.K)(e,t,n).authenticator(new p.D3(t,e.logger(),r)).build();var g=n(12641);const _=(e,t)=>(0,h.w)(e).authenticator(new p.rV(t)).build(),y=(e,t,n)=>(0,h.K)(e,t,n).build(),b=(e,t)=>y(e,t,{relyingParty:p.zW.GamingConsent,isMandatory:!0}),E=(e,t,n,r,a,o)=>{if(!n.addAuthorization)return(0,g.a)(e);return((e,t,n,r,a)=>{let o=c()({},n);return r&&(o=c()(c()({},o),{},{anonymousTokenAuthenticator:new p.rV(r)})),(null===a||void 0===a?void 0:a.aadToken)&&(o=c()(c()({},o),{},{aadAuthenticator:new p.Il(a,e.logger())})),(0,h.w)(e).authenticator(new p.ZX(o,t,e.logger())).build()})(e,t,{isMandatory:n.isRequired,xTokenOverride:o,addXblAuthHeader:n.addXblAuthHeader},r,n.aadAuthRequired?a:void 0)},S=async function(e,t,n,l){let c=arguments.length>4&&void 0!==arguments[4]&&arguments[4],u=arguments.length>5?arguments[5]:void 0,d=arguments.length>6?arguments[6]:void 0,p=arguments.length>7?arguments[7]:void 0;var h,f;const v=m(l,c,d);let g;g=u?E(t,u.authenticationProvider,u.authConfig,n,u.aadAuthConfig,p):_(t,n);const y=e(v);try{const e=await g.execute(y);if(!(0,o.RJH)(e.status))throw new s(`Service request failed. TargetUri: ${e.request.url} | Status: ${e.status}`,e.status,e.data);return e}catch(b){if(b instanceof a.HttpError){const e=(0,o.b07)(null===(h=b.response)||void 0===h?void 0:h.status)?r.kG.InternalServerError:b.response.status;let t;try{const e=null===(f=b.response)||void 0===f?void 0:f.clone();t=await e.json()}catch(S){t=(0,i.toError)(S)}const n=new s(`Service request failed. TargetUri: ${b.request.url} | Status: ${e} | Original Message: ${b.message} | Extra Data: ${t}`,e,t);throw n.name=b.name,n.stack=b.stack,n}throw b}},C=async function(e,t,n,r,a,o,i){let s=arguments.length>7&&void 0!==arguments[7]&&arguments[7],l=arguments.length>8?arguments[8]:void 0,c=arguments.length>9?arguments[9]:void 0,u=arguments.length>10?arguments[10]:void 0;return S((t=>t.get(e,u)),n,a,i,s,{authConfig:t,authenticationProvider:r,aadAuthConfig:o},l,c)},P=async function(e,t,n,r){let a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0;return S((t=>t.get(e,s)),t,n,r,a,void 0,o,i)};n(16725),n(17),n(65136),n(93848),n(93262),n(45993);var T=n(48908);const w=e=>{const t={},n=(e=>Object.entries(e).filter((e=>{let[t,n]=e;return!!t&&!0===n})).map((e=>{let[t,n]=e;return t})).join(","))(e);return n&&(t[T.B.XblExperiments]=n),t},I=(e,t)=>e.execute(t),k=e=>{let t=r.kG.InternalServerError;return e!==r.kG.Unauthorized&&e!==r.kG.Forbidden&&e!==r.kG.NotFound||(t=e),t},x=e=>e instanceof s?e.httpStatusCode:e instanceof a.HttpError?e.response.status:void 0,A=async function(e,t,n,r,a,o,i,s){let l=arguments.length>8&&void 0!==arguments[8]&&arguments[8],c=arguments.length>9?arguments[9]:void 0,u=arguments.length>10?arguments[10]:void 0,d=arguments.length>11?arguments[11]:void 0;return S((n=>n.post(e,t,d)),r,o,s,l,{authConfig:n,authenticationProvider:a,aadAuthConfig:i},c,u)},N=e=>a.RequestFactory.withBaseUrl(r.VG).setCommonTimeout(r.wD).setCommonMaxRetries(r.u7).setCommonMetadataValue(u.jm,e),L=e=>a.RequestFactory.withBaseUrl(r.Bx).setCommonTimeout(r.gY).setCommonMaxRetries(r.u7).setCommonMetadataValue(u.jm,e);n(13291);const M=e=>a.RequestFactory.withBaseUrl(r.Qn).setCommonTimeout(r.wD).setCommonMaxRetries(r.u7).setCommonMetadataValue(u.jm,e),O=e=>a.RequestFactory.withBaseUrl(r.EB).setCommonTimeout(d()).setCommonMaxRetries(r.u7).setCommonMetadataValue(u.jm,e),R=e=>a.RequestFactory.withBaseUrl(r.uX).setCommonTimeout(r.g).setCommonMetadataValue(u.jm,e).setCommonMaxRetries(1),D=e=>a.RequestFactory.withBaseUrl("https://gamingconsent.xboxlive.com").setCommonTimeout(d()).setCommonMaxRetries(r.u7).setCommonMetadataValue(u.jm,e)},37168:(e,t,n)=>{"use strict";n.d(t,{Cp:()=>c,J0:()=>f,J5:()=>_,Ol:()=>h,VN:()=>p,gV:()=>m,o:()=>d,r:()=>u});var r=n(67099),a=n(7365),o=n(87655),i=n(80608),s=n(10467),l=n(76288);function c(e,t){return(0,r.o5)().captureException(e,(0,i.li)(t))}function u(e,t){return(0,r.o5)().captureEvent(e,t)}function d(e,t){(0,r.rm)().setContext(e,t)}function m(e){(0,r.rm)().setUser(e)}async function p(e){const t=(0,r.KU)();return t?t.close(e):(a.T&&s.vF.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function h(){const e=(0,r.KU)();return!1!==e?.getOptions().enabled&&!!e?.getTransport()}function f(e){const t=(0,r.rm)(),n=(0,r.o5)(),{userAgent:a}=l.O.navigator||{},i=(0,o.fj)({user:n.getUser()||t.getUser(),...a&&{userAgent:a},...e}),s=t.getSession();return"ok"===s?.status&&(0,o.qO)(s,{status:"exited"}),v(),t.setSession(i),i}function v(){const e=(0,r.rm)(),t=(0,r.o5)().getSession()||e.getSession();t&&(0,o.Vu)(t),g(),e.setSession()}function g(){const e=(0,r.rm)(),t=(0,r.KU)(),n=e.getSession();n&&t&&t.captureSession(n)}function _(e=!1){e?v():g()}},38485:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(85608),a=n(14041);const o=function(e){var{title:t,titleId:n}=e,o=(0,r.__rest)(e,["title","titleId"]);return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},o),t?a.createElement("title",{id:n},t):null,a.createElement("path",{d:"M0 384h2048v1280H0V384zm684 160L536 974h146l20-78h120l19 78h146L848 544H684zM88 766q0 113 59 164t169 51q10 0 35-3t52-8 50-11 28-14V711H266v104h81v53q-8 1-14 1t-15 1q-50 0-72-31t-23-77q0-53 28-83t83-31q34 0 60 7t58 18V553h-3q-31-5-59-10t-60-6q-33 0-65 6t-60 18-53 33-41 51q-16 27-19 58t-4 63zm491 450q0-42-13-70t-37-44-56-22-70-7H226v430h135v-136h35q35 0 68-9t58-27 41-47 16-68zm320 288h147l-140-430H743l-148 430h146l20-77h119l19 77zm529-131q0-33-13-55t-32-39-42-26-42-19-32-18-13-21q0-16 15-20t28-5q26 0 57 8t52 24v-118h-3q-31-5-58-11t-60-6q-33 0-64 8t-56 24-40 43-15 64q0 35 12 57t31 38 41 25 40 18 31 17 13 23q0 16-14 20t-26 5q-33 0-65-14t-58-33v126q33 10 62 17t64 7q33 0 66-7t61-23 43-42 17-67zm5-696q-1 15-1 30t0 29v238h130V544h-191q-16 68-33 135t-29 136q-3-10-4-19t-3-20l-58-229-1-3h-197v430h119V771q0-23-1-46t-2-46q13 75 34 148t40 147h126l63-257 4-20 4-20zm395 698q0-33-13-55t-32-38-42-26-42-20-32-17-13-21q0-15 15-20t28-6q31 0 56 9t53 23v-117q-26-11-59-14t-62-3q-33 0-64 8t-56 24-40 43-15 64q0 34 12 57t31 38 41 24 40 18 31 18 13 22q0 16-13 21t-27 5q-35 0-64-14t-58-33v126q11 6 27 10t34 8 35 4 29 1q34 0 67-6t60-23 43-43 17-67zm106-401V867h-137v-55h127V705h-127v-54h135V544h-270v430h272zM820 1187q7 35 16 70t19 71h-71q9-35 20-70t16-71zm-23-389h-71l36-141q8 36 17 71t18 70zm-415 374q24 0 39 11t16 38q0 25-13 36t-38 12h-25v-97h21z"}))}},38727:(e,t,n)=>{"use strict";n.d(t,{z:()=>s});var r=n(76288);let a,o,i;function s(e){const t=r.O._sentryDebugIds;if(!t)return{};const n=Object.keys(t);return i&&n.length===o||(o=n.length,i=n.reduce(((n,r)=>{a||(a={});const o=a[r];if(o)n[o[0]]=o[1];else{const o=e(r);for(let e=o.length-1;e>=0;e--){const i=o[e]?.filename,s=t[r];if(i&&s){n[i]=s,a[r]=[i,s];break}}}return n}),{})),i}},38810:(e,t,n)=>{"use strict";n.d(t,{$v:()=>i,KL:()=>r,dK:()=>a,h9:()=>o,sX:()=>l,v5:()=>s});const r="1f907974-e22b-4810-a9de-d9647380c97e",a="https://login.microsoftonline.com/consumers",o="xboxlive.signin",i="sandboxId",s="https://consentservice.microsoft.com/checkin/UnifiedUserConsent.Read",l="https://consentservice.microsoft.com/web/UnifiedUserConsent.ReadWrite"},39548:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(14041).createContext(null)},40378:(e,t,n)=>{"use strict";n.d(t,{Dt:()=>l,sB:()=>s,st:()=>i,yt:()=>c});var r=n(50433),a=n(87530),o=n(3213);const{productsActions:i,productsReducers:s,productsSelectors:l,productsSagas:c,productsHooks:u}=(0,r.IG)(a.QN,o.df)},40456:(e,t,n)=>{"use strict";n.d(t,{PI:()=>y,HF:()=>P,gW:()=>r.gW,sF:()=>r.sF,Jk:()=>r.Jk,k6:()=>r.k6,cf:()=>s,rV:()=>c,dJ:()=>E,IO:()=>S,Pv:()=>b,Zv:()=>r.Zv,Wg:()=>u,lF:()=>C,Uh:()=>T,O9:()=>_,Z:()=>g,Qu:()=>M,fQ:()=>L,b:()=>l,v_:()=>A,Ki:()=>x,sz:()=>w,CU:()=>I,cz:()=>k});var r=n(42474),a=(n(34237),n(45993),n(25152),n(28344),n(36824)),o=n(95428),i=n(83718);const s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.jbi,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return new URL(`${t}/games/browse/${n}`,e).toString()},l=e=>{const t=(0,i.d4)(o.a5u);return(0,o.tcg)(o.m11,{locale:t,collection:e})},c=e=>{const t=new URLSearchParams;return t.append(a.hV.locale,e.localeWithScript),`browse?${t.toString()}`},u=(e,t)=>{const n=new URLSearchParams;return n.append(a.hV.locale,e.localeWithScript),`search/${t}?${n.toString()}`};n(95570),n(78366),n(5974),n(93831),n(28882),n(16725),n(93760),n(17),n(65136),n(93848),n(57485),n(93262),n(82535),n(86483),n(70971);var d=n(14041),m=n(86090),p=n(24562),h=n(61896),f=n(41506),v=n.n(f);n(68291);const g=(e,t,n)=>{e.push(v()(v()({},t),{},{state:{returnFilters:!n}}))},_=(e,t)=>{var n;const r=new URLSearchParams(t.search),a=decodeURIComponent(null!==(n=r.get(e))&&void 0!==n?n:"");return null===a||0===a.trim().length?void 0:a},y=e=>{const t=Object.values(h.a),n=new URLSearchParams(e.search);return new URLSearchParams(e.search).forEach(((e,r)=>{t.includes(r)&&n.delete(r)})),v()(v()({},e),{},{search:n.toString()})},b=(e,t,n)=>{const r=new URLSearchParams(n.search);return r.has(e)?r.set(e,t):r.append(e,t),v()(v()({},n),{},{search:r.toString()})},E=(e,t)=>{const n=new URLSearchParams(t.search);return n.has(e)?(n.delete(e),v()(v()({},t),{},{search:n.toString()})):t},S=(e,t,n)=>{var r;const a=new URLSearchParams(n.search);if(a.has(e)){const n=decodeURIComponent(null!==(r=a.get(e))&&void 0!==r?r:"");if(n&&n.trim().length>0){const r=n.split(",");r.includes(t)?r.splice(r.indexOf(t),1):r.push(t),r.length>0?a.set(e,r.join(",")):a.delete(e)}else a.delete(e)}else a.append(e,t);return v()(v()({},n),{},{search:a.toString()})},C=e=>{const t={};return Object.values(h.a).forEach((n=>{var r;const a=(null===(r=e.get(n))||void 0===r?void 0:r.split(",").filter((e=>""!==e.trim())))||[];a.length>0&&(t[n]={id:n,choices:a.map((e=>({id:e})))})})),t},P=e=>btoa(JSON.stringify(e)),T=e=>{let t=0;for(const n in e)n!==h.a.OrderBy&&(t+=e[n].choices.length);return t},w=()=>{const e=(0,m.zy)();return(0,d.useMemo)((()=>{const t=new URLSearchParams(e.search);return C(t)}),[e.search])},I=()=>{var e,t;return(null===(t=null===(e=w()[h.a.OrderBy])||void 0===e?void 0:e.choices[0])||void 0===t?void 0:t.id)||p.$Z},k=e=>{const t=(0,m.W6)();return(0,d.useCallback)((n=>{if(e)if(e.hasAllChoice&&e.allChoiceId&&n===e.allChoiceId){const e=E(h.a.OrderBy,t.location);g(t,e,!0)}else{const e=b(h.a.OrderBy,n,t.location);g(t,e,!0)}}),[e,t])},x=()=>{const e=(0,m.W6)();return(0,d.useCallback)(((t,n)=>{const r=S(t,n,e.location);g(e,r,!0)}),[e])},A=()=>{const e=(0,m.W6)();return(0,d.useCallback)((()=>{const t=y(e.location);g(e,t,!0)}),[e])},N={[h.a.PlayWith]:700,[h.a.Accessibility]:800,[h.a.Price]:900,[h.a.Genre]:1e3,[h.a.IncludedInSubscription]:1050,[h.a.MaturityRating]:1100,[h.a.Multiplayer]:1200,[h.a.TechnicalFeatures]:1300,[h.a.SupportedLanguages]:1400},L=e=>{const t=[];return Object.keys(e).filter((e=>e!==h.a.OrderBy)).forEach((n=>{t.push(e[n])})),t.sort(((e,t)=>N[e.id]-N[t.id]))},M=e=>e?e.substring(0,100).trim():""},40592:(e,t,n)=>{"use strict";n.d(t,{v3:()=>r,Jt:()=>a.Jt,kl:()=>a.kl});n(66264);class r extends Error{constructor(e){super(`Failed to authenticate for mandatory authenticated request. TargetUri: ${e}`),this.httpStatusCode=403,Object.setPrototypeOf(this,r.prototype)}}var a=n(13195)},40869:(e,t,n)=>{"use strict";var r=n(41506).default;n(5858),n(45993);const a=n(70785),o=async(e,t,n)=>{let o;(n=r({delayRejection:!0},n)).delayRejection&&(e=e.catch((e=>{o=e})));const i=await Promise.all([e,a(t)]);return o?Promise.reject(o):i[0]};e.exports=o,e.exports.default=o},41305:(e,t,n)=>{"use strict";n.d(t,{wi:()=>a.w,t3:()=>h,VI:()=>o.V,yV:()=>i.y,sV:()=>v.sV,HG:()=>s.H,X9:()=>r,OR:()=>u,BW:()=>d.B,Vo:()=>m.V,Em:()=>a.E,_9:()=>v._9,OX:()=>v.OX,fS:()=>f,VP:()=>v.VP,lQ:()=>v.lQ,vR:()=>v.vR,Ti:()=>v.Ti,mY:()=>v.mY,JB:()=>y.J,Vs:()=>o.m,ai:()=>_.ai,wR:()=>v.wR,N8:()=>g.N8,pz:()=>_.pz,DQ:()=>_.DQ,w$:()=>_.w$,cc:()=>_.cc,j1:()=>T.j,IP:()=>g.IP,Eg:()=>_.Eg,MD:()=>_.MD,vP:()=>_.vP,XK:()=>_.XK,xx:()=>_.xx,Fu:()=>_.Fu,JK:()=>g.JK,a5:()=>g.a5,P6:()=>g.P6,Mj:()=>_.Mj,F8:()=>_.F8,lD:()=>E,aM:()=>b.aM,GY:()=>g.GY,hb:()=>g.hb,_c:()=>_._c,PR:()=>R.P,oK:()=>g.oK,rP:()=>b.rP,l7:()=>N,ug:()=>O,fT:()=>A,_b:()=>M,vt:()=>x,TP:()=>L,IL:()=>g.IL,sj:()=>g.sj,wu:()=>v.wu,YO:()=>i.Y,LF:()=>c,oY:()=>p,F6:()=>d.F,Hd:()=>m.H,mN:()=>P,v4:()=>v.v4});var r,a=n(96635),o=n(92684),i=n(66327),s=n(45525),l=n(61360);!function(e){e.UPDATE_PAGE_SEO_TAGS="@seo/UPDATE_PAGE_SEO_TAGS"}(r||(r={}));const c={updatePageSeoTags:(0,l.V)(r.UPDATE_PAGE_SEO_TAGS,s.H.Seo,((e,t)=>({tags:e,pageId:t})))};var u,d=n(11312),m=n(13748);!function(e){e.UPDATE_SUBSCRIPTION_CATALOG="@subscriptionCatalog/UPDATE_SUBSCRIPTION_CATALOG"}(u||(u={}));const p={updateSubscriptionCatalog:(0,l.V)(u.UPDATE_SUBSCRIPTION_CATALOG,s.H.SubscriptionCatalog,(e=>({catalog:e})))};var h;n(66264);!function(e){e.FETCH_COOKIES="@cookies/FETCH_COOKIES",e.FETCH_COOKIES_SUCCESS="@cookies/FETCH_COOKIES_SUCCESS",e.FETCH_COOKIES_ERROR="@cookies/FETCH_COOKIES_ERROR",e.DELETE_COOKIES="@cookies/DELETE_COOKIES"}(h||(h={}));const f={fetchCookies:(0,l.v)(s.H.Cookies,h.FETCH_COOKIES,(()=>({type:h.FETCH_COOKIES})),h.FETCH_COOKIES_SUCCESS,(e=>({type:h.FETCH_COOKIES_SUCCESS,payload:e})),h.FETCH_COOKIES_ERROR,(e=>({error:new Error(e.error)}))),deleteCookies:(0,l.V)(h.DELETE_COOKIES,s.H.Cookies,(e=>({type:h.DELETE_COOKIES,payload:{cookies:e}})))};var v=n(28719),g=n(7851),_=n(3728),y=n(16353),b=n(51077);const E=(e,t)=>(0,b.B2)(e)[t]||y.J;var S=n(83718),C=n(3904);const P=e=>{const t=(0,C.Y2)(e);return(0,S.d4)((e=>((e,t)=>(0,b.d4)(e)[t])(e,t)))};var T=n(46502),w=n(35423),I=n(48827);const k=(e,t)=>{var n,r;let a;switch(t){case w.Sx.Light:case w.Sx.DarkHeader:a=null===(n=(0,b.bp)(e).data)||void 0===n?void 0:n.light;break;case w.Sx.Dark:a=null===(r=(0,b.bp)(e).data)||void 0===r?void 0:r.dark}return a},x=e=>{var t,n,r,a;const o=(0,b.bp)(e);return(null===(n=null===(t=o.data)||void 0===t?void 0:t.light)||void 0===n?void 0:n.javascriptIncludes)||(null===(a=null===(r=o.data)||void 0===r?void 0:r.dark)||void 0===a?void 0:a.javascriptIncludes)},A=(e,t)=>{var n;return null===(n=k(e,t===w.Sx.DarkHeader?w.Sx.Dark:t))||void 0===n?void 0:n.headerHtml},N=(e,t)=>{var n;return null===(n=k(e,t===w.Sx.DarkHeader?w.Sx.Light:t))||void 0===n?void 0:n.footerHtml},L=e=>(0,_.pz)(e,I.WT.UglyUhf)?w.Sx.Light:(0,T.j)(e),M=e=>(0,b.bp)(e).headerMode,O=e=>(0,b.bp)(e).footerMode||I.oq.Full;var R=n(97738)},41964:(e,t,n)=>{"use strict";function r(e){return!!e&&"function"===typeof e}n.d(t,{T:()=>r})},42145:(e,t,n)=>{"use strict";n.d(t,{AR:()=>i,Cq:()=>d,DC:()=>h,G6:()=>s,JD:()=>c,MQ:()=>u,Pb:()=>m,V2:()=>f,Xr:()=>l,gA:()=>g,r8:()=>p});var r=n(34813),a=n(87530),o=n(3213);const{channelsActions:i,channelsReducers:s,channelsSelectors:l,channelsHooks:c,channelsSagas:u}=(0,r.SF)(a.QN,o.F7),d=c.useChannelName,m=l.getChannelByChannelKey,p=(l.getChannelMetadata,l.getLCEChannelByChannelKey,l.getChannelProductIdentifiersByChannelProductKey),{filtersActions:h,filtersReducers:f,filtersSelectors:v}=(l.getChannelName,l.getChannelMetadataLCEByChannelId,l.getChannelVanityName,(0,r.NL)(a.QN,o.fY)),g=v.getFilters;v.getSortInfo},42474:(e,t,n)=>{"use strict";n.d(t,{Jk:()=>p,Vm:()=>d,Zv:()=>g,gW:()=>c,k6:()=>h,sF:()=>m});var r=n(41506),a=n.n(r),o=(n(95570),n(78366),n(93831),n(11505),n(7680),n(17),n(14297),n(65136),n(93262),n(64552),n(45993),n(95428)),i=n(92747),s=n(50433),l=n(74296);const c=(e,t)=>{const n=`_CHANNELID=${e}`,r=`_FILTERS=${f(t)}`;return(0,o.XBe)(`${i.ry.Browse.toUpperCase()}${n}${r}`)},u=/_CHANNELID=(.*?)_FILTERS=/i,d=e=>{var t,n;return(0,o.XBe)(e).startsWith("BROWSE_")&&null!==(n=null===(t=e.match(u))||void 0===t?void 0:t[1])&&void 0!==n?n:e},m=(e,t,n)=>`${i.ry.Search}_${e}_SEARCHQUERY=${t.split(" ").join("-")}_${f(n)}`.toUpperCase(),p=(e,t)=>Object.values(l.LC).reduce(((n,r)=>a()(a()({},n),{},{[r]:m(r,e,t)})),{}),h=e=>m("PROMO",e),f=e=>{if(!e)return"";const t=[];for(const n of Object.values(e))0!==n.choices.length&&t.push(`${n.id.toUpperCase()}=${v(n.choices)}`);return t.sort().join("&")},v=e=>e.map((e=>e.id.toUpperCase())).sort().join(","),g=e=>{let t="";if(!e||0===e.length)return t;switch(e[0]){case s.ax.Consumable:case s.ax.Durable:t=l.lL}return t}},42622:(e,t,n)=>{"use strict";n.d(t,{F:()=>a,p:()=>r});n(45993),n(25152),n(28344);const r="purchaseSignIn",a=()=>{const e=new URL(window.location.href);return e.searchParams.set(r,"true"),e.href}},43342:(e,t,n)=>{"use strict";n.d(t,{T:()=>h});var r=n(85608),a=n(53373),o=n.n(a),i=n(14041),s=n(5929),l=n(6409),c=n(32317),u=n(99115),d={basic:l.a,hero:u.j},m={basic:"IconLabelButton",hero:"HeroIconLabelButton"},p=function(e){var t=d[e],n=i.forwardRef((function(e,n){var a=e.iconClassName,l=e.iconStyle,u=e.iconSize,d=void 0===u?s.lK.XXSmall:u,m=e.className,p=e.icon,h=e.children,f=(0,r.__rest)(e,["iconClassName","iconStyle","iconSize","className","icon","children"]);return i.createElement(t,(0,r.__assign)({ref:n,className:o()(m,c.yp)},f),h,i.createElement(s.In,{iconSize:d,className:o()(c.iA,c.S$,a),style:l,icon:p,"aria-hidden":!0}))}));return n.displayName=m[e],n},h=(0,i.memo)(p("basic"));(0,i.memo)(p("hero"))},43830:(e,t,n)=>{"use strict";n.d(t,{B1:()=>l,GV:()=>s,UV:()=>c,iD:()=>d,xJ:()=>u});n(93831),n(68291),n(98304),n(16725),n(17),n(14297),n(65136),n(93848),n(93262),n(64552);var r=n(83718),a=n(7851),o=n(18872),i=n(9880);const s=(e,t)=>`${e}-${t}`,l=e=>{const t=(0,r.d4)(a.a5);return(0,i.a)(e,t)},c=e=>e.map((e=>e.replace(/ /g,"\xa0"))),u=(e,t)=>0===t.length?"":t.reduce(((t,n,r)=>r?(0,o.GP)(e,t,n):n),""),d=e=>{var t;return null!==(t=null===e||void 0===e?void 0:e.filter((e=>e.toLowerCase().includes("adobe-"))).join("|"))&&void 0!==t?t:""}},44246:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>W,Od:()=>I,_H:()=>X});var r=n(3068),a=n(89575),o=n(17502),i=n(54860),s=n(3667),l=n(82419),c=n(60370),u=[],d=0;function m(e){try{f(),e()}finally{v()}}function p(e){u.push(e),d||(f(),g())}function h(e){try{return f(),e()}finally{g()}}function f(){d++}function v(){d--}function g(){var e;for(v();!d&&void 0!==(e=u.shift());)m(e)}var _=function(e){return function(t){return e.some((function(e){return C(e)(t)}))}},y=function(e){return function(t){return e(t)}},b=function(e){return function(t){return t.type===String(e)}},E=function(e){return function(t){return t.type===e}},S=function(){return s.k};function C(e){var t="*"===e?S:(0,i.Yj)(e)?b:(0,i.YO)(e)?_:(0,i.mr)(e)?b:(0,i.Pc)(e)?y:(0,i.HR)(e)?E:null;if(null===t)throw new Error("invalid pattern: "+e);return t(e)}var P={type:r.x7},T=function(e){return e&&e.type===r.x7};function w(e){void 0===e&&(e=(0,s.e)());var t=!1,n=[];return{take:function(r){t&&e.isEmpty()?r(P):e.isEmpty()?(n.push(r),r.cancel=function(){(0,s.r)(n,r)}):r(e.take())},put:function(r){if(!t){if(0===n.length)return e.put(r);n.shift()(r)}},flush:function(n){t&&e.isEmpty()?n(P):n(e.flush())},close:function(){if(!t){t=!0;var e=n;n=[];for(var r=0,a=e.length;r2?f-2:0),g=2;g{"use strict";n.d(t,{j:()=>i});n(93831),n(34237),n(11505),n(45993),n(28344);var r=n(36824),a=n(5931),o=n(95428);const i=(e,t)=>((e,t,n)=>{const i=`content/${(0,o.Y9C)(e)}`,s=new URLSearchParams;return s.append(r.hV.locale,t.localeWithScript),n&&s.append(r.hV.isPreview,n.toString()),(0,a.UL7)(i,s)})(e.match.params[o.pvY.Path],t,!!e.isPreview)},45068:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(a=(a=i.trys).length>0&&a[a.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]{"use strict";n.d(t,{A:()=>o});var r=n(85608),a=n(14041);const o=function(e){var{title:t,titleId:n}=e,o=(0,r.__rest)(e,["title","titleId"]);return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},o),t?a.createElement("title",{id:n},t):null,a.createElement("path",{d:"M605 3l1022 1021L605 2045l-90-90 930-931L515 93l90-90z"}))}},46871:(e,t,n)=>{"use strict";n.d(t,{FE:()=>o,JX:()=>s,cG:()=>i,ot:()=>l,xZ:()=>c});n(45993);var r=n(5931),a=n(95428);const o=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o{"use strict";n.d(t,{lY:()=>h,Ow:()=>a});var r,a,o=n(85608),i=n(57103),s=n(53373),l=n.n(s),c=n(14041),u=n(5929),d="GamerPic-module__gamerPic___LVS6s";!function(e){e[e.None=0]="None",e[e.Offline=1]="Offline",e[e.Online=2]="Online",e[e.FavoriteOffline=3]="FavoriteOffline",e[e.FavoriteOnline=4]="FavoriteOnline"}(r||(r={})),function(e){e[e.Small=0]="Small",e[e.Large=1]="Large"}(a||(a={}));var m=[r.FavoriteOnline,r.FavoriteOffline],p=[r.Online,r.FavoriteOnline],h=function(e){var t,n=e.marker,s=void 0===n?r.None:n,h=e.className,f=e.src,v=e.sources,g=e.type,_=void 0===g?"complex":g,y=e.size,b=e.isXbox360GamerPic,E=void 0!==b&&b,S=e.xbox360GamerPicClassName,C=e.role,P=void 0===C?"img":C,T=e.imageTagProps,w=(0,o.__rest)(e,["marker","className","src","sources","type","size","isXbox360GamerPic","xbox360GamerPicClassName","role","imageTagProps"]),I=(0,c.useState)(!1),k=I[0],x=I[1],A=p.includes(s),N=m.includes(s),L="complex"===_&&s!==r.None,M=(0,c.useMemo)((function(){var e;return"complex"===_?l()(((e={})["GamerPic-module__circleMask___j3NCd"]=!L,e["GamerPic-module__smallCircleMarkerMask___U5-8N"]=L&&!N&&y===a.Small,e["GamerPic-module__largeCircleMarkerMask___5sLAp"]=L&&!N&&y===a.Large,e["GamerPic-module__smallFavoriteMarkerMask___vfSur"]=L&&N&&y===a.Small,e["GamerPic-module__largeFavoriteMarkerMask___BF7AW"]=L&&N&&y===a.Large,e)):"GamerPic-module__defaultMask___l6n-E"}),[N,L,y,_]),O=(0,c.useMemo)((function(){var e,t;return L&&(N?c.createElement("svg",{"aria-hidden":!0,className:l()((e={},e["GamerPic-module__smallFavoriteMarker___Z634Y"]=y===a.Small,e["GamerPic-module__largeFavoriteMarker___GXLA9"]=y===a.Large,e["GamerPic-module__onlineGreenFill___StiJC"]=A,e["GamerPic-module__offlineGrayFill___UoOGM"]=!A,e)),viewBox:"0 0 32 32"},c.createElement("path",{d:"M16 27 6.11958763 32 8 20.4251627 0 12.2169197 11.0515464 10.5336226 16 0 20.9484536 10.5336226 32 12.2169197 24 20.4251627 25.8804124 32z"})):c.createElement("div",{"aria-hidden":!0,className:l()((t={},t["GamerPic-module__smallCircleMarker___MnFGP"]=y===a.Small,t["GamerPic-module__largeCircleMarker___kSFgF"]=y===a.Large,t["GamerPic-module__onlineGreenBackground___rWisN"]=A,t["GamerPic-module__offlineGrayBackground___DXdoW"]=!A,t))}))}),[A,N,L,y]);if(!f||k)return c.createElement("div",(0,o.__assign)({className:l()(d,h),role:P},w),c.createElement("div",{className:l()("GamerPic-module__noGamerPicWrapper___IYztp",M)},c.createElement(u.In,{"aria-hidden":!0,className:"GamerPic-module__playerIcon___plBaj",iconSize:u.lK.Custom,icon:i.A})),O);var R=c.createElement("img",(0,o.__assign)({onLoad:function(){return x(!1)},onError:function(){return x(!0)},src:f,alt:"","aria-hidden":!0,className:l()((t={},t["GamerPic-module__imageXbox360___dp+mT"]=E,t["GamerPic-module__image___mdxba"]=!E,t[M]=!E,t))},T));return E?c.createElement("div",(0,o.__assign)({className:l()(d,h),role:P},w),c.createElement("div",{className:l()("GamerPic-module__gamerPicXbox360Wrapper___OM-24",S,M)},v?c.createElement("picture",null,c.createElement(c.Fragment,null,v),R):R),O):c.createElement("div",(0,o.__assign)({className:l()(d,h),role:P},w),v?c.createElement("picture",null,c.createElement(c.Fragment,null,v),R):R,O)}},47882:(e,t,n)=>{"use strict";n.d(t,{P6:()=>r.P,yd:()=>a.yd});var r=n(64203),a=(n(96951),n(48497));n(66192)},48008:(e,t,n)=>{"use strict";function r(e,t){if(e)for(let n=0;no,V:()=>i})},48827:(e,t,n)=>{"use strict";var r,a;n.d(t,{P2:()=>s.P,Kd:()=>r,_e:()=>a,WT:()=>o,oq:()=>i.o,qo:()=>i.q}),function(e){e[e.None=0]="None",e[e.Msa=1]="Msa",e[e.MsaAndXbox=2]="MsaAndXbox"}(r||(r={})),function(e){e[e.None=0]="None",e[e.SignedIn=1]="SignedIn"}(a||(a={}));var o;n(15996);!function(e){e.EnableTestNav="EnableTestNav",e.EnableTestTools="EnableTestTools",e.EnableTestPages="EnableTestPages",e.EnableCookieSourceDebugConsole="EnableCookieSourceDebugConsole",e.ShowStackOnError="ShowStackOnError",e.StagingFD="StagingFD",e.TestBuyNowFlights="TestBuyNowFlights",e.BuyNowExpIdTestFeatureGate="BuyNowExpIdTestFeatureGate",e.UglyUhf="UglyUhf",e.SiteThemeOverride="SiteThemeOverride",e.DisableUhfXboxCart="DisableUhfXboxCart",e.EnableUhfCache="EnableUhfCache",e.DisableUhfWcp="DisableUhfWcp",e.DisableAdsOptOutSync="DisableAdsOptOutSync",e.EnableAllLocales="EnableAllLocales",e.EnableGatedLocales="EnableGatedLocales",e.ClientErrorSampleRate="ClientErrorSampleRate",e.ServiceErrorSampleRate="ServiceErrorSampleRate",e.SentryTransactionSampleRate="SentryTransactionSampleRate",e.MCWSSentryClientSampleRate="MCWSSentryClientSampleRate",e.MCWSSentryServiceSampleRate="MCWSSentryServiceSampleRate",e.MCWSSentryTransactionSampleRate="MCWSSentryTransactionSampleRate",e.EnableServerSideUserFeatureAssignments="EnableServerSideUserFeatureAssignments",e.EnableContentPreviewTools="EnableContentPreviewTools",e.EnableAAMScript="EnableAAMScript",e.EnableBundleBuilderAdobeLaunch="EnableBundleBuilderAdobeLaunch",e.CartPreview="CartPreview",e.CheckoutPreview="CheckoutPreview",e.StorePPE="StorePPE",e.DisableErrorMessageService="DisableErrorMessageService",e.browseScoringTreatment="browseScoringTreatment",e.EnableStickyMobileHeader="EnableStickyMobileHeader",e.searchScoringTreatment="searchScoringTreatment",e.EnableBuyNowHoverButton="EnableBuyNowHoverButton",e.EnableDealXPriceText="EnableDealXPriceText",e.EnableMultiUpsellButton="EnableMultiUpsellButton",e.EnableReactCheckout="EnableReactCheckout",e.DisableGamepadNavigationOnPurchase="DisableGamepadNavigationOnPurchase",e.EnableBuyNowXboxUiExp="EnableBuyNowXboxUiExp",e.EnableBuyNowFCRedeemWithTax="EnableBuyNowFCRedeemWithTax",e.UsePostMessageHelper="UsePostMessageHelper",e.EnablePIDLTestHeader="EnablePIDLTestHeader",e.EnablePIDLStandarizedForms="EnablePIDLStandarizedForms",e.EnableV2MeControl="EnableV2MeControl",e.EnableWishlistGifting="EnableWishlistGifting",e.WishlistV2Menu="WishlistV2Menu",e.OsWishlistSharing="OsWishlistSharing",e.PIGroupingExpId="PIGroupingExpId",e.PIGroupingFlightId="PIGroupingFlightId",e.EnableRedeemCodeModal="EnableRedeemCodeModal",e.EnablePrivacyControls="EnablePrivacyControls",e.EnableLaunchpad="EnableLaunchpad",e.EnableLaunchpadDownload="EnableLaunchpadDownload",e.EnableYearInReview="EnableYearInReview",e.EnableYearInReviewMarketing="EnableYearInReviewMarketing",e.EnableRemoteInstallToPc="EnableRemoteInstallToPc",e.PurchaseSdkCartCheckout="PurchaseSdkCartCheckout",e.SkipXTokenCookies="SkipXTokenCookies",e.SkipRedirectCounter="SkipRedirectCounter",e.EnableSkipActivateStoreExp="EnableSkipActivateStoreExp",e.EnableFranchisePageLink="EnableFranchisePageLink",e.EnablePurchaseLaunchOnLogin="EnablePurchaseLaunchOnLogin",e.EnableMultiCloudPlayButton="EnableMultiCloudPlayButton",e.EnableMCWSSite="EnableMCWSSite",e.EnableMCWSWhiteLabel="EnableMCWSWhiteLabel",e.EnableMCWSWhiteLabelLogin="EnableMCWSWhiteLabelLogin",e.EnableKingNonLiveMarketPage="EnableKingNonLiveMarketPage",e.EnableMaunaLoa="EnableMaunaLoa",e.EnableDynamicFlags="EnableDynamicFlags",e.EnablePlayableOnExperiment="EnablePlayableOnExperiment",e.EnableXPAStringChange="EnableXPAStringChange",e.EnableComingSoonUpsell="EnableComingSoonUpsell",e.EnableSearchPromo="EnableSearchPromo",e.EnableDefaultUltimateUpsell="EnableDefaultUltimateUpsell",e.EnableTVPurchaseFlow="EnableTVPurchaseFlow",e.EnableXboxAppOnMobileGooglePay="EnableXboxAppOnMobileGooglePay",e.EnableStoreBYOG="EnableStoreBYOG",e.EnablePlayPathNavigation="EnablePlayPathNavigation",e.UseOneCollectorSandboxEndpoint="UseOneCollectorSandboxEndpoint",e.TelemetryDisableCookies="TelemetryDisableCookies",e.TelemetryIgnoreCookieList="TelemetryIgnoreCookieList",e.TelemetryBlockCookieList="TelemetryBlockCookieList",e.EnableTitanRedeemStandalone="EnableTitanRedeemStandalone",e.EnableUbisoftPCVersionIncluded="EnableUbisoftPCVersionIncluded",e.EnableUbisoftPCVersionLegalText="EnableUbisoftPCVersionLegalText",e.EnableGuestCheckout="EnableGuestCheckout",e.EnableCartMorayStyling="EnableCartMorayStyling",e.EnableBuyNowDynamicMEParams="EnableBuyNowDynamicMEParams",e.EnableXboxComRedeemHostNOR="EnableXboxComRedeemHostNOR",e.EnablePrioritizedCompareEditions="EnablePrioritizedCompareEditions",e.EnablePDPEvents="EnablePDPEvents",e.EnableGamePassUpsellWithPrice="EnableGamePassUpsellWithPrice",e.EnableJanus="EnableJanusXboxCom",e.EnableFresno="EnableFresnoXboxCom",e.EnableCelestia="EnableCelestiaXboxCom",e.EnableGamingConsentServiceSettings="EnableGamingConsentServiceSettings",e.EnableXtraceTelemetry="EnableXtraceTelemetry",e.EnableCartCheckoutDynamicParams="EnableCartCheckoutDynamicParams",e.EnableGcsPromptsForSisu="EnableGcsPromptsForSisu",e.EnableInternalCookieList="EnableInternalCookieList"}(o||(o={}));var i=n(18291),s=n(10699)},48908:(e,t,n)=>{"use strict";var r;n.d(t,{B:()=>r}),function(e){e.AadUserAuthorization="x-ms-authorization-aaduser",e.CartSessionId="x-ms-ucs-sid",e.ContentLength="Content-Length",e.ContinuationToken="x-ms-ct",e.Forwarded="Forwarded",e.ForwardedFor="X-Forwarded-For",e.MsApiVersion="X-MS-API-Version",e.MuidAuthorization="x-authorization-muid",e.TrueClientIp="True-Client-IP",e.UserAgent="User-Agent",e.XblContractVersion="X-XBL-Contract-Version",e.XblExperiments="xbl-experiments",e.XUserAgent="X-User-Agent",e.ValidationField="x-validation-field-1",e.VectorId="X-MS-Vector-Id"}(r||(r={}))},49028:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&a[a.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]0&&a[a.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]{"use strict";n.d(t,{hM:()=>D,FO:()=>F,fd:()=>j,gx:()=>U,ne:()=>lt,KJ:()=>W,j4:()=>ue,pg:()=>te,Xz:()=>Q,Tw:()=>H,IT:()=>K,Zw:()=>se,RX:()=>ne,Ix:()=>pe,Ff:()=>Z,BO:()=>V,av:()=>Y,TW:()=>le,ei:()=>ee,y2:()=>he,c6:()=>He,mr:()=>J,n_:()=>me,S6:()=>ft,mA:()=>f,aF:()=>gt,vn:()=>fe,hd:()=>q,i4:()=>re,gm:()=>ht,JF:()=>A,h9:()=>N,Y9:()=>_t,K8:()=>M,MB:()=>O,ax:()=>B,AB:()=>L,tt:()=>R,Vc:()=>vt,Es:()=>$,n8:()=>de,gp:()=>oe,d2:()=>ce,pA:()=>X,Oz:()=>ie,CZ:()=>z,TM:()=>ae,ci:()=>Fe,qb:()=>De,b6:()=>G,sB:()=>x,mV:()=>E,Z3:()=>S,CQ:()=>C,Un:()=>ze,uM:()=>ye,CS:()=>P,A5:()=>be,cH:()=>w,NO:()=>T,M3:()=>Ve,ZR:()=>Ge,wT:()=>qe,Yj:()=>I,Kt:()=>Ze,Sk:()=>Lt,tu:()=>Se,oX:()=>Pe,An:()=>Ce,sg:()=>je,Vh:()=>Ye,p$:()=>It,q$:()=>en,IG:()=>tn,qt:()=>Xe,BR:()=>xe,ij:()=>Ke,TZ:()=>ke,i_:()=>Qe,no:()=>We});var r=n(95428),a=n(97895),o=n(53373),i=n.n(o),s=n(14041),l=n(83718),c=n(56834),u="Price-module__afterPriceTextContainer___r7fdq",d="Price-module__gamePassInlineLogo___5MSlU",m="Price-module__lowestPriceText___QdS-y",p="Price-module__moreText___sNMVr",h="Price-module__ubisoftPlusHorizontalLogo___XPMTJ";const f=e=>{let{historicalLowestListPrice:t,className:n,containerClassName:o}=e;const u=(0,l.d4)(r.P6r),d=(0,a.FE)("lowestListPriceText"),{listPrice:p,currency:h}=t,f=(0,r.vv8)(p,h,u),v=(0,r.GPZ)(d,f);return s.createElement("div",{className:i()(c.Q,o)},s.createElement("span",{className:i()(m,n)},v))};var v=n(41506),g=n.n(v),_=n(67996),y=n.n(_);n(4600),n(65136),n(25601);const b=(e,t)=>g()(g()({},e.images),null===t||void 0===t?void 0:t.skuImages),E=(e,t)=>b(e,t).boxArt,S=(e,t)=>{var n;return(null===(n=e.curatedEditionInformation)||void 0===n?void 0:n.upsellImages)&&e.curatedEditionInformation.upsellImages[0]?e.curatedEditionInformation.upsellImages[0]:C(e,t)},C=(e,t)=>b(e,t).superHeroArt,P=(e,t)=>b(e,t).poster,T=(e,t)=>E(e,t)||I(e,t),w=(e,t)=>b(e,t).screenshots,I=(e,t)=>b(e,t).tile;var k=n(77703);const x={Unknown:0,Differential:1,UpgradedDifferentialOffer:2,FlashSaleDifferentialOffer:3,UnknownString:"Unknown",DifferentialString:"Differential",UpgradedDifferentialOfferString:"UpgradedDifferentialOffer",FlashSaleDifferentialOfferString:"FlashSaleDifferentialOffer",SubscriptionRecurringDiscountDifferentialOffer:"SubscriptionRecurringDiscountDifferentialOffer",SubscriptionPurchaseRecurringDiscountDifferentialOffer:"SubscriptionPurchaseRecurringDiscountDifferentialOffer",SubscriptionPurchaseDiscountDifferentialOffer:"SubscriptionPurchaseDiscountDifferentialOffer"},A={None:"None",Affirmation:"Affirmation",Remediation:"Remediation"},N={Unknown:"Unknown",GamePass:"GamePass",XboxLiveGold:"XboxLiveGold",GamePassUltimate:"GamepassUltimate",GamePassCore:"GamePassCore",EAAccess:"EAAccess",PCGamePass:"PCGamePass",BundleRemediation:"BundleRemediation",XPrice:"XPrice",UbisoftPlus:"UbisoftPlus",GamePassStandard:"GamePassStandard"},L={Game:"Game",Consumable:"Consumable",Durable:"Durable",UnmanagedConsumable:"UnmanagedConsumable",Pass:"Pass",Bundles:"Bundles"},M={Subscription:"Subscription",Passes:"Passes",Games:"Games",Device:"Devices"},O={Application:"dapp",Consumable:"Consumable",Durable:"Durable",Game:"dgame",GameDemo:"dgamedemo"},R={Business:"Business",Individual:"Individual",None:"None"},D={Default:"Default",Purchase:"Purchase",Browse:"Browse",Details:"Details",Gift:"Gift",Fulfill:"Fulfill",Redeem:"Redeem",Curate:"Curate",Unknown:"Unknown"},B={Application:"Application",AvatarItem:"AvatarItem",Bundles:"Bundles",Consumable:"Consumable",CSV:"CSV",Devices:"Devices",Durable:"Durable",Game:"Game",Movie:"Movie",OperatingSystem:"OperatingSystem",Pass:"PASS",Physical:"Physical",TVEpisode:"TVEpisode",TVSeason:"TVSeason",TVSeries:"TVSeries",UnmanagedConsumable:"UnmanagedConsumable"},F={Hololens:"HoloLens",Hub:"Hub",MobileDevice:"MobileDevice",PC:"PC",XboxOne:"XboxOne",XboxSeriesX:"XboxSeriesX",XCloud:"XCloud"};var U;!function(e){e.xcloud="xcloud",e.geforcenow="geforcenow"}(U||(U={}));const H="CFQ7TTC0K5DJ",V="CFQ7TTC0P85B",G="CFQ7TTC0K6L8",q="CFQ7TTC0KGQ8",z="CFQ7TTC0KHS0",X="CFQ7TTC0HXBN",j="CFQ7TTC0K63H",W="CFQ7TTC0K5DH",$="CFQ7TTC0QH5H",J="CFQ7TTC0HX8W",K="Game Pass Core",Q="Xbox Game Pass Core",Y="Game Pass Standard",Z="Xbox Game Pass Standard",ee="Game Pass",te="Xbox Game Pass",ne="Console",re="PC Game Pass",ae="Game Pass Ultimate",oe="Xbox Game Pass Ultimate",ie="Friends & Family",se="Core",le="Standard",ce="Ultimate",ue="EA Play",de="Ubisoft+",me="GTA+",pe=[G,q,z,X,H,V],he=[G,H,V,q,z,W];var fe;!function(e){e.CeroZ="CeroZ",e.CloudEnabled="CloudEnabled",e.CloudEnabledWithPurchase="CloudEnabledWithPurchase",e.DlcRequiresGame="DlcRequiresGame",e.HasFirstPartyIAP="HasFirstPartyIAP",e.HasThirdPartyIAP="HasThirdPartyIAP",e.InAppPurchase="InAppPurchase",e.PurchaseUnavailableOnWeb="PurchaseUnavailableOnWeb",e.SubscriptionDisclaimer="SubscriptionDisclaimer",e.SubscriptionDisclaimerUKOnly="SubscriptionDisclaimerUKOnly",e.UbisoftPlusSubscriptionDisclaimer="UbisoftPlusSubscriptionDisclaimer",e.XboxLiveGoldRequired="XboxLiveGoldRequired",e.XboxLiveGoldRequiredForOnline="XboxLiveGoldRequiredForOnline",e.UbisoftPCVersion="UbisoftPCVersion",e.DataSharingDisclaimer="DataSharingDisclaimer",e.LegalNoticeFresnoCatalog="LegalNoticeFresnoCatalog",e.LegalNoticeFerdinandAndPurchase="LegalNoticeFerdinandAndPurchase",e.LegalNoticePurchase="LegalNoticePurchase",e.LegalNoticeCallistoAndPurchase="LegalNoticeCallistoAndPurchase",e.LegalNoticeDiaAndPurchase="LegalNoticeDiaAndPurchase",e.LegalNoticeEuropa="LegalNoticeEuropa",e.LegalNoticeCallisto="LegalNoticeCallisto",e.LegalNoticeDia="LegalNoticeDia"}(fe||(fe={}));const ve="MONTH",ge="YEAR",_e={[N.EAAccess]:{afterTextKey:"withEAPlayText",afterTextGlyph:void 0},[N.GamePass]:{afterTextKey:"withGamePassText",afterTextGlyph:k.c9.XboxGamepassInline},[N.GamePassUltimate]:{afterTextKey:"withGamePassUltimateText",afterTextGlyph:k.c9.GamepassUltimateInline2},[N.PCGamePass]:{afterTextKey:"withPCGamePassText",afterTextGlyph:k.c9.XboxGamepassInline},[N.XboxLiveGold]:{afterTextKey:"withXboxLiveGoldText",afterTextGlyph:k.c9.XboxGoldInline},[N.GamePassCore]:{afterTextKey:"withGamePassCoreText",afterTextGlyph:k.c9.XboxGamepassInline},[N.GamePassStandard]:{afterTextKey:"withGamePassStandardText",afterTextGlyph:k.c9.XboxGamepassInline},[N.UbisoftPlus]:{afterTextKey:"withUbisoftPlusText",afterTextGlyph:k.c9.UbisoftPlus},[N.Unknown]:{afterTextKey:void 0,afterTextGlyph:void 0},[N.BundleRemediation]:{afterTextKey:void 0,afterTextGlyph:void 0},[N.XPrice]:{afterTextKey:void 0,afterTextGlyph:void 0}};n(69399),n(68291);const ye=(e,t)=>(null===t||void 0===t?void 0:t.skuDescription)||e.description,be=(e,t)=>(null===t||void 0===t?void 0:t.skuTitle)||e.title,Ee=e=>{var t,n;return e.actions.includes(D.Purchase)&&e.actions.includes(D.Details)&&(null===(n=null===(t=e.price)||void 0===t?void 0:t.eligibilityInfo)||void 0===n?void 0:n.eligibility)!==A.Remediation},Se=e=>(0,r.JSV)(e,L.Consumable)||(0,r.JSV)(e,L.Durable)||(0,r.JSV)(e,L.UnmanagedConsumable),Ce=e=>(0,r.JSV)(e,B.Devices),Pe=e=>!!(e&&e.product&&e.sku&&e.availability),Te=()=>{const e=(()=>{const e=(0,k.ti)(),t=(0,a.mk)();return(n,r)=>{const a=e(r.units,r.unitType);if(a)return t("priceForTimeStringFormat",[n,a])}})(),t=we();return function(n,r){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(!a||1===a){const t=e(n,r);if(!t)return;return{priceLabel:t,accessibilityLabel:t}}if(a>1){const o=t(n,r);if(!o)return;const i=e(o.priceLabel,{units:a,unitType:r.unitType}),s=e(o.accessibilityLabel,{units:a,unitType:r.unitType});if(!i||!s)return;return{priceLabel:i,accessibilityLabel:s}}}},we=()=>{const e=(()=>{const e=(0,k.ti)(),t=(0,a.mk)();return(n,r)=>{if(1===r)return{priceLabel:t("dailyRecurrenceDisplayStringFormat",[n]),accessibilityLabel:t("dailyRecurrenceAccessibilityLabelFormat",[n])};{const a=e(r,"DAY");if(a){const e=t("genericRecurrenceStringFormat",[n,a]);return{priceLabel:e,accessibilityLabel:e}}}}})(),t=(()=>{const e=(0,k.ti)(),t=(0,a.mk)();return(n,r)=>{switch(r){case 1:return{priceLabel:t("monthlyRecurrenceDisplayStringFormat",[n]),accessibilityLabel:t("monthlyRecurrenceAccessibilityLabelFormat",[n])};case 3:return{priceLabel:t("quarterlyRecurrenceDisplayStringFormat",[n]),accessibilityLabel:t("quarterlyRecurrenceAccessibilityLabelFormat",[n])};case 12:return{priceLabel:t("yearlyRecurrenceDisplayStringFormat",[n]),accessibilityLabel:t("yearlyRecurrenceAccessibilityLabelFormat",[n])};default:{const a=e(r,ve);if(a){const e=t("genericRecurrenceStringFormat",[n,a]);return{priceLabel:e,accessibilityLabel:e}}}}}})(),n=(()=>{const e=(0,k.ti)(),t=(0,a.mk)();return(n,r)=>{if(1===r)return{priceLabel:t("yearlyRecurrenceDisplayStringFormat",[n]),accessibilityLabel:t("yearlyRecurrenceAccessibilityLabelFormat",[n])};{const a=e(r,ge);if(a){const e=t("genericRecurrenceStringFormat",[n,a]);return{priceLabel:e,accessibilityLabel:e}}}}})();return(r,a)=>"DAY"===a.unitType.toUpperCase()?e(r,a.units):a.unitType.toUpperCase()===ve?t(r,a.units):a.unitType.toUpperCase()===ge?n(r,a.units):void 0};const Ie=()=>{const e=(0,l.d4)(r.P6r),t=we(),n=Te(),o=(0,k.hE)(),i=(()=>{const e=(0,a.mk)();return t=>{const n=_e[t];if(n&&n.afterTextKey){const{afterTextKey:t,afterTextGlyph:r}=n;return{afterText:e(t),afterTextGlyph:r,afterTextPrefix:r?e("withText"):void 0}}return{afterText:void 0,afterTextGlyph:void 0,afterTextPrefix:void 0}}})(),s=(0,a.mk)();return a=>{let{sku:l,availability:c}=a;var u;const d=c.price,m=l.recurrencePolicySummary,p=c.initialDurationsAtListPrice,{msrp:h,listPrice:f,currency:v,eligibilityInfo:g}=d;let _,y,b,E,S,C,P;const T=f<=0,w=(0,r.vv8)(h,v,e),I={originalPrice:void 0,lowestPrice:w,afterText:void 0,afterTextGlyph:void 0,afterTextPrefix:void 0,accessibilityText:w};if(g&&g.eligibility===A.Remediation&&g.type===N.Unknown)return I;if(m)if(m.isRecurring)if(m.initialDuration&&m.duration&&(function(e){return!!e.initialDuration&&!!e.duration&&(e.initialDuration.units!==e.duration.units||e.initialDuration.unitType!==e.duration.unitType)}(m)||function(e){return!!(e.price.listPrice!==e.price.msrp||e.subscriptionInitialOfferType&&"None"!==e.subscriptionInitialOfferType||e.initialDurationsAtListPrice&&e.initialDurationsAtListPrice>1)}(c))){const a=T?m.hasTrial&&1===p?s("freeTrial"):s("freeText"):(0,r.vv8)(f,v,e),o=n(a,m.initialDuration,p);if(!o)return I;_=o.priceLabel,y=o.accessibilityLabel;const i=t((0,r.vv8)(h,v,e),m.duration);if(!i)return I;b=i.priceLabel,E=i.accessibilityLabel}else{if(!m.duration)return I;{const n=t(f<=0?s("freeText"):(0,r.vv8)(f,v,e),m.duration);if(!n)return I;if(_=n.priceLabel,y=n.accessibilityLabel,f!==h){const n=t((0,r.vv8)(h,v,e),m.duration);if(!n)return I;b=n.priceLabel,E=n.accessibilityLabel}}}else{const t=null!==(u=m.initialDuration)&&void 0!==u?u:m.duration;if(!t)return I;const a=T?s("freeText"):(0,r.vv8)(f,v,e),o=n(a,t,1);if(!o)return I;_=o.priceLabel,y=o.accessibilityLabel}else _=T?s("freeText"):(0,r.vv8)(f,v,e),y=_,f!==h&&(b=(0,r.vv8)(h,v,e),E=b);if(g&&g.eligibility!==A.None&&({afterText:S,afterTextGlyph:C,afterTextPrefix:P}=i(g.type)),!_)return I;let k=y||_;return E&&(k=T&&S?s("freePriceWithAfterTextAccessibilityTemplate",[E,S]):s("discountedPriceWithAfterTextAccessibilityTemplate",[E,k,S||""]),(null===m||void 0===m?void 0:m.isRecurring)&&m.initialDuration&&(k=o(k,s("promoDurationOfferRecurringPriceAfter",[E])))),{originalPrice:b,lowestPrice:_,afterText:S,afterTextGlyph:C,afterTextPrefix:P,accessibilityText:k}}},ke=e=>{const t=Ie();if(Pe(e))return t(e)},xe=e=>{var t,n,r;const o=(0,a.mk)(),{availability:i,sku:s}=e,l=ke(e),c=(0,k.ti)(),u={initialOfferText:void 0,recurringPriceText:void 0,initialDurationPrice:void 0,initialDurationString:void 0};if(!l||!(null===(t=s.recurrencePolicySummary)||void 0===t?void 0:t.isRecurring))return u;let d,m,p,h;if(l.lowestPrice&&l.originalPrice&&(p=l.lowestPrice,d=l.lowestPrice,m=(null===(n=s.recurrencePolicySummary)||void 0===n?void 0:n.initialDuration)&&c(s.recurrencePolicySummary.initialDuration.units,s.recurrencePolicySummary.initialDuration.unitType)),i.promotionalDuration){const e=c(i.promotionalDuration.units,i.promotionalDuration.unitType);e&&(p=o("promoDurationSimplifiedOffer",[l.lowestPrice,e]))}return p&&(null===(r=s.recurrencePolicySummary)||void 0===r?void 0:r.isRecurring)&&(h=o("promoDurationOfferRecurringPriceAfter",[l.originalPrice||l.lowestPrice])),{initialOfferText:p,recurringPriceText:h,initialDurationPrice:d,initialDurationString:m}};n(16725),n(17),n(26047),n(93848),n(93262),n(90574),n(45993);var Ae=n(36359),Ne=n(38485),Le=n(85608);const Me=function(e){var{title:t,titleId:n}=e,r=(0,Le.__rest)(e,["title","titleId"]);return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 3392 2048",width:"1em",height:"1em","aria-labelledby":n},r),t?s.createElement("title",{id:n},t):null,s.createElement("path",{d:"M0 640h3392v768H0V640zm568 441V787h-82v290q0 28-5 53t-17 44-33 31-53 12q-33 0-55-11t-35-32-18-46-5-56V787h-82v301q0 96 44 148t144 52q102 0 149-54t48-153zm382 199v-69H759V787h-81v493h272zm339-423v-70H924v70h142v423h81V857h142zm150 423V787h-85v493h85zm644 0V787h-111q-39 97-79 192t-74 193h-1q-3-14-8-28t-11-29l-130-328h-115v493h75q0-61 1-122t1-122q0-43-1-85t-3-86h1q3 12 5 25t8 24l148 366h56l147-368q5-11 7-23t6-24h2q-2 24-3 48t-2 48v319h81zm520 0l-183-493h-92l-185 493h89l43-125h194l44 125h90zm-156-192h-151l68-197q2-8 3-15t4-16h1q2 8 3 15t4 16l68 197zm484-231v-70h-365v70h141v423h82V857h142zm342 423v-69h-195v-146h170v-69h-170V857h184v-70h-265v493h276z"}))};var Oe=n(95129);const Re=["title","titleId"],De=e=>{let{title:t,titleId:n}=e,r=y()(e,Re);return s.createElement("svg",g()({width:"48",height:"32",viewBox:"0 0 48 32",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},r),t?s.createElement("title",{id:n},t):null,s.createElement("path",{d:"M0 0V32H35.3067L48 0H0ZM22.08 18.1333C22.08 19.52 21.76 20.8 21.2267 21.8667C20.5867 22.9333 19.7333 23.7867 18.56 24.4267C17.3867 25.0667 16 25.3867 14.4 25.3867C12.8 25.3867 11.4133 25.0667 10.24 24.4267C9.06667 23.7867 8.21333 22.9333 7.57333 21.8667C6.93333 20.8 6.72 19.52 6.72 18.1333V7.68H10.6667V17.8133C10.6667 19.0933 10.9867 20.0533 11.6267 20.8C12.2667 21.44 13.12 21.8667 14.2933 21.8667C15.4667 21.8667 16.32 21.5467 16.96 20.8C17.6 20.16 17.92 19.0933 17.92 17.8133V7.68H22.08V18.1333ZM32.2133 15.36V19.9467H29.0133V15.36H24.32V12.2667H29.12V7.68H32.32V12.2667H37.6533L36.2667 15.36H32.2133Z"}))},Be=["title","titleId","width"],Fe=e=>{let{title:t,titleId:n,width:r}=e,a=y()(e,Be);return s.createElement("svg",g()({width:r||"191",height:"32",viewBox:"0 0 191 32",xmlns:"http://www.w3.org/2000/svg"},a),t?s.createElement("title",{id:n},t):null,s.createElement("path",{d:"M109.801 2.09836C107.39 0.691506 104.692 0 101.684 0C99.2722 0 97.028 0.405367 94.9747 1.2161C92.9215 2.02683 91.2741 3.05216 90.0326 4.31595L91.0831 5.36513C89.4835 6.70045 88.242 8.32191 87.3347 10.2772C86.4275 12.2325 85.9739 14.4739 85.9739 17.0015C85.9739 19.696 86.6424 22.1997 87.9555 24.4888C89.2925 26.7779 91.1309 28.5663 93.5184 29.9255C95.9059 31.2608 98.6276 31.9285 101.684 31.9285C104.692 31.9285 107.39 31.237 109.801 29.8301C112.213 28.4232 114.075 26.5156 115.412 24.0835C116.749 21.6513 117.417 18.9329 117.417 15.9523C117.417 12.9717 116.749 10.2772 115.412 7.84501C114.075 5.43666 112.213 3.50522 109.801 2.09836ZM109.515 20.9598C108.774 22.4143 107.724 23.5589 106.387 24.3696C105.026 25.2042 103.474 25.6095 101.707 25.6095C99.9169 25.6095 98.3411 25.2042 96.9802 24.4173C95.6194 23.6304 94.5927 22.5574 93.8765 21.2221C93.1602 19.8867 92.8021 18.4083 92.8021 16.8346C92.8021 15.2846 93.0886 13.9732 93.6377 12.924C94.1869 11.8748 94.9509 10.9687 95.882 10.158L94.8315 9.10879C95.5955 8.27422 96.5505 7.6304 97.7204 7.12966C98.8902 6.62891 100.227 6.39046 101.707 6.39046C103.474 6.39046 105.026 6.79583 106.387 7.6304C107.748 8.46498 108.798 9.58569 109.515 11.0402C110.255 12.4948 110.613 14.1401 110.613 16C110.613 17.8361 110.255 19.5052 109.515 20.9598Z"}),s.createElement("path",{d:"M71.0998 10.8018C72.0309 11.4456 73.6544 12.1848 76.018 13.0194C78.7875 13.9971 80.8408 15.1655 82.13 16.5962C83.4193 17.9553 84.0639 19.7914 84.0639 22.0805C84.0639 24.1312 83.5864 25.9196 82.6314 27.4218C81.6764 28.924 80.3872 30.0447 78.7637 30.8316C77.1402 31.6185 75.3495 32 73.3679 32C70.67 32 68.3303 31.4039 66.3964 30.2355C64.4387 29.0671 63.0539 27.3741 62.1944 25.2042L67.5424 21.2221C68.0199 22.5813 68.8078 23.6543 69.9299 24.4889C71.052 25.3234 72.2697 25.7288 73.5589 25.7288C74.681 25.7288 75.5883 25.4427 76.3045 24.8704C76.9969 24.2981 77.355 23.5351 77.355 22.5574C77.355 21.6036 76.9492 20.7929 76.1613 20.1252C75.3734 19.4337 73.8932 18.7184 71.7444 17.9553C69.0704 16.9777 67.0172 15.8093 65.5847 14.4024C64.1522 12.9956 63.4359 11.1118 63.4359 8.72731C63.4359 7.08201 63.8657 5.60361 64.7252 4.26829C65.5847 2.95682 66.7784 1.90764 68.3064 1.16844C69.8344 0.429249 71.5773 0.0477295 73.5112 0.0477295C75.8987 0.0477295 77.9758 0.52463 79.7187 1.47843C81.4854 2.43223 82.7747 3.83908 83.6342 5.699L78.2862 9.39497C77.2357 7.01047 75.5405 5.81822 73.2485 5.81822C72.2219 5.81822 71.3863 6.05667 70.7178 6.55742C70.0493 7.05816 69.715 7.70198 69.715 8.48886C69.715 9.37113 70.1687 10.1342 71.0998 10.8018Z"}),s.createElement("path",{d:"M47.9649 12.161C47.2486 13.2817 46.2459 14.0924 44.9805 14.617C48.6572 16 50.4956 18.5514 50.4718 22.2474C50.4718 24.0119 50.042 25.5857 49.1348 26.9926C48.2275 28.3994 46.9621 29.4724 45.3148 30.2593C43.6674 31.0462 41.7574 31.4277 39.537 31.4277H28.841V0.524597H39.1311C42.1394 0.524597 44.5508 1.19226 46.3414 2.52758C48.132 3.88674 49.0393 5.69896 49.0393 7.98808C49.0393 9.65723 48.6811 11.0641 47.9649 12.161ZM39.1073 6.462H35.5738V12.9955H39.1073C40.1578 12.9955 40.9934 12.7094 41.638 12.1371C42.2826 11.5648 42.593 10.7541 42.593 9.72877C42.593 8.70343 42.2826 7.8927 41.638 7.32042C41.0173 6.74814 40.1578 6.462 39.1073 6.462ZM39.2744 25.5142C40.7308 25.5142 41.829 25.1803 42.6169 24.5127C43.3809 23.8689 43.7868 22.8912 43.7868 21.6274C43.7868 20.3636 43.4048 19.4098 42.6169 18.7422C41.829 18.0745 40.7069 17.7407 39.2744 17.7407H35.5738V25.5142H39.2744Z"}),s.createElement("path",{d:"M17.2377 23.7735C18.2882 22.5574 18.8135 20.8167 18.8135 18.5514H18.8374V0.548462H25.5463V19.076C25.5463 21.5321 25.0449 23.7497 24.066 25.7049C23.0871 27.6602 21.6308 29.1863 19.6969 30.2832C17.763 31.3801 15.4471 31.9285 12.7731 31.9285C10.0753 31.9285 7.78325 31.3801 5.84938 30.2832C3.9155 29.1863 2.45912 27.6602 1.48025 25.7049C0.501374 23.7497 0 21.5559 0 19.076V0.548462H6.685V18.5514C6.685 20.8167 7.21025 22.5574 8.26075 23.7735C9.31125 24.9896 10.8154 25.6096 12.7492 25.6096C14.707 25.6096 16.1873 24.9896 17.2377 23.7735Z"}),s.createElement("path",{d:"M59.8069 0.548462H53.098V31.4277H59.8069V0.548462Z"}),s.createElement("path",{d:"M126.872 31.4277H120.163V0.548462H141.316V6.89123H126.872V13.997H140.003V19.1237H126.872V31.4277Z"}),s.createElement("path",{d:"M143.895 6.89123H152.585V31.4277H159.294V6.89123H167.961V0.548462H143.895V6.89123Z"}),s.createElement("path",{d:"M182.381 0.0238647V7.7258H191L188.803 12.924H182.381V20.6259H177.176V12.924H169.465V7.7258H177.176V0.0238647H182.381Z"}))},Ue=["title","titleId"],He=e=>{let{title:t,titleId:n}=e,r=y()(e,Ue);return s.createElement("svg",g()({width:"48",height:"48",viewBox:"0 0 744 523",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":"GTATitle"},r),s.createElement("path",{d:"M635.55 6C653.89 6 668.8 20.92 668.8 39.25V74.88H704.43C722.77 74.88 737.68 89.8 737.68 108.13V156.22C737.68 174.56 722.76 189.47 704.43 189.47H668.8V225.1C668.8 243.44 653.88 258.35 635.55 258.35H584.17V445.4H431.59C429.11 445.4 416.34 445.1 402.93 439.69C398.12 437.75 393.73 435.35 389.79 432.54C385.86 435.35 381.47 437.76 376.68 439.7C363.27 445.13 350.51 445.46 348.09 445.47H260.08C257.66 445.46 244.91 445.11 231.51 439.68C229.09 438.7 226.78 437.6 224.58 436.39V456.57C224.57 460.28 223.93 473.23 216.03 486.61C209.52 497.64 193.54 516.15 159.71 516.15L6.00999 516.19L6.03 217.18C6.03 201.88 13.15 186.73 25.57 175.63C37.74 164.75 53.87 158.76 70.99 158.76H194.32L194.3 147.49H324.76L324.7 173.32H388.29C405.72 160.02 427.12 159.33 431.66 159.32H485.34V108.13C485.34 89.79 500.26 74.88 518.59 74.88H554.22V39.25C554.22 20.91 569.14 6 587.47 6H635.55ZM635.55 0H587.46C565.82 0 548.21 17.61 548.21 39.25V68.88H518.58C496.94 68.88 479.33 86.49 479.33 108.13V153.32H431.65C425.46 153.34 404.38 154.43 386.31 167.32H330.71L330.75 147.5C330.75 145.91 330.12 144.38 329 143.25C327.87 142.12 326.35 141.49 324.75 141.49H194.29C192.7 141.49 191.17 142.12 190.04 143.25C188.91 144.38 188.28 145.91 188.29 147.5L188.3 152.76H70.98C52.38 152.76 34.83 159.3 21.56 171.16C7.87 183.4 0.019989 200.18 0.019989 217.18L0 516.19C0 517.78 0.629995 519.31 1.75999 520.43C2.88999 521.55 4.41 522.19 6 522.19L159.7 522.15C196.51 522.15 214.02 501.79 221.19 489.66C229.86 474.97 230.56 460.63 230.57 456.58V445.76C244.48 451.1 257.5 451.45 260.03 451.47H348.07C350.71 451.46 364.49 451.1 378.91 445.26C382.74 443.71 386.38 441.86 389.77 439.75C393.17 441.86 396.82 443.71 400.67 445.26C415.1 451.08 428.94 451.4 431.57 451.4H584.17C587.48 451.4 590.17 448.71 590.17 445.4V264.35H635.55C657.19 264.35 674.8 246.74 674.8 225.1V195.47H704.43C726.07 195.47 743.68 177.86 743.68 156.22V108.13C743.68 86.49 726.07 68.88 704.43 68.88H674.8V39.25C674.8 17.61 657.19 0 635.55 0Z"}),s.createElement("path",{d:"M36.02 217.18L36 387.45C36 415.35 71.12 415.52 71.12 415.52H123.85V429.82H36.01V486.18L159.71 486.15C194.52 486.15 194.58 456.56 194.58 456.56V188.75H70.98C49.81 188.75 36.02 203.91 36.02 217.18ZM106.7 245.56H123.82V359.16H106.7V245.56ZM382.84 273.88H313.03V359.18H295.58V259.62H382.85V203.33H294.64L294.7 177.5H224.34L224.38 203.33H207.85V259.62H225.31V387.35C225.31 415.28 260.25 415.48 260.25 415.48H347.95C347.95 415.48 382.87 415.33 382.87 387.34H382.85V273.88H382.84ZM519.25 189.32H431.6C431.6 189.32 396.69 189.26 396.69 217.89V259.78H466.9V245.95H483.95V274.06H431.59C431.59 274.06 396.69 274.01 396.69 302.16V387.33C396.69 415.33 431.59 415.4 431.59 415.4H554.17V217.88C554.17 189.26 519.25 189.32 519.25 189.32ZM483.95 359.19H466.9V330.68H483.95V359.19Z"}),s.createElement("path",{d:"M704.43 104.88H638.8V39.25C638.8 37.45 637.34 36 635.55 36H587.46C585.66 36 584.21 37.46 584.21 39.25V104.88H518.58C516.78 104.88 515.33 106.34 515.33 108.13V156.22C515.33 158.02 516.79 159.47 518.58 159.47H584.21V225.1C584.21 226.9 585.67 228.35 587.46 228.35H635.55C637.35 228.35 638.8 226.89 638.8 225.1V159.47H704.43C706.23 159.47 707.68 158.01 707.68 156.22V108.13C707.68 106.34 706.22 104.88 704.43 104.88Z"}))},Ve=e=>{switch((0,r.XBe)(e)){case G:case q:case H:case V:return k.c9.XboxGamepassInline;case z:return k.c9.GamepassUltimateInline2;default:return}},Ge=e=>{switch((0,r.XBe)(e)){case G:case q:case H:case V:return Ne.A;case z:return Me;case W:return Oe.A;case $:return De;case J:return He;default:return}},qe=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];switch((0,r.XBe)(e)){case G:case q:return ee;case V:return Y;case z:return t?ee:ae;case H:return K;case W:return ue;case $:return de;case J:return me;default:return""}},ze=(e,t)=>0!==e?Math.round(100*Math.abs(1-t/e)):0,Xe=e=>{const{upsellProductId:t,isTrial:n,nonCatalogUpsellProductId:o,productEntitlement:i,isFresnoEntitlement:s}=e,c=(0,l.d4)(Ae.yI),[u,d,m,p,h]=(0,a.cG)("upsellIncludedWithFormat","youOwnThisText","freeTrialUpsellFormat","freeTrial","remoteConsoleInstall");let f,v=n?p:(null===i||void 0===i?void 0:i.isOwned)?d:"";return o?v=n?m:u:t?(f=Ve(t),v=n?m:u):s&&(v=(0,r.GPZ)(h,c||"")),{affordingText:v,upsellGlyph:f}},je=e=>{if(!e.releaseDate)return!1;const t=new Date,n=new Date(e.releaseDate),r=new Date(n);return r.setDate(r.getDate()+30),nt},We=e=>{const t=(0,l.d4)((e=>(0,r.pzA)(e,r.WTf.EnableUbisoftPCVersionIncluded)));if(!e)return!1;const n=Je(e);return t&&!n&&!!(null===e||void 0===e?void 0:e.hasUbisoftCrossEntitlementProduct)},$e=(e,t)=>{var n;return!!(null===(n=null===e||void 0===e?void 0:e.availableOn)||void 0===n?void 0:n.some((e=>e===t)))},Je=e=>$e(e,F.PC),Ke=e=>{const t=(0,l.d4)((e=>(0,r.pzA)(e,r.WTf.EnableComingSoonUpsell)));return(0,s.useMemo)((()=>{if(!e||!t)return!1;const n=e.passMetadataByPassProductId;if(!n)return!1;if(pe.some((t=>{var n;return null===(n=e.includedWithPassesProductIds)||void 0===n?void 0:n.includes(t)})))return!1;const r=new Date,a=Object.entries(n).filter((e=>{let[t,n]=e;return n.entryDateUTC&&new Date(n.entryDateUTC)>r})).map((e=>{let[t]=e;return t}));return pe.some((e=>a.includes(e)))}),[e,t])},Qe=e=>{var t;const[n,o,i]=(0,a.cG)("promoFreeDayWithPluralizationFormatRules","promoFreeMonthWithPluralizationFormatRules","promoFreeYearWithPluralizationFormatRules");if(!e||!e.units)return;let s;switch(null===(t=e.unitType)||void 0===t?void 0:t.toLowerCase()){case k.FP.Year:s=i;break;case k.FP.Month:s=o;break;case k.FP.Day:s=n}return s?(0,r.bvP)(s,e.units):void 0},Ye=e=>!(!e||e.hasTrial||!e.duration||!e.initialDuration);n(95570),n(14297),n(64552);const Ze=e=>{var t;const n=[];return e.videos&&e.videos.length>0&&n.push(...e.videos.filter((e=>{var t;return null===(t=e.purpose)||void 0===t?void 0:t.toLowerCase().includes("trailer")}))),(null===(t=e.cmsVideos)||void 0===t?void 0:t.length)&&n.push(...e.cmsVideos.reduce(((e,t)=>{var n;return(null===(n=t.purpose)||void 0===n?void 0:n.toLowerCase().includes("trailer"))&&e.push(g()(g()({},t),{},{isCmsVideo:!0})),e}),[])),n};n(34237);var et=n(5929);const tt=function(e){var{title:t,titleId:n}=e,r=(0,Le.__rest)(e,["title","titleId"]);return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 7363 2048",width:"1em",height:"1em","aria-labelledby":n},r),t?s.createElement("title",{id:n},t):null,s.createElement("path",{d:"M6600 1765q21 13 53 23t67 16 70 10 59 4q64 0 127-12t114-42 82-80 32-126q0-54-21-97t-56-79-78-63-87-49q-28-13-62-28t-65-34-50-46-21-65q0-37 19-61t48-38 62-20 64-6q55 0 108 13t99 45V875q-23-11-50-17t-55-10-57-5-54-1q-60 0-122 14t-112 45-83 80-32 120q0 56 19 97t50 74 70 56 81 44 81 40 71 40 50 48 19 60q0 41-18 66t-47 39-64 19-67 5q-28 0-62-6t-67-17-64-26-51-36v161zm-723 0q21 13 53 23t68 16 70 10 59 4q64 0 127-12t114-42 82-80 32-126q0-53-21-97t-56-79-78-63-87-49q-28-13-62-28t-65-34-51-46-21-65q0-37 19-61t48-38 63-20 63-6q55 0 108 12t99 46V875q-22-11-49-17t-57-10-57-5-53-1q-60 0-122 14t-112 45-83 80-32 120q0 74 32 124t82 85 106 62 107 53 81 57 33 78q0 41-18 66t-47 39-63 19-68 5q-28 0-62-6t-67-17-64-26-51-36v161zm-373-331h-289l130-377q5-14 8-29t5-30h3q2 14 4 29t8 30l131 377zm299 369l-351-945h-177l-354 945h171l82-241h372l85 241h172zM4499 987h114q42 0 78 8t61 28 40 52 15 78q0 48-16 82t-43 55-66 32-82 10h-101V987zm0 473h126q72 0 135-20t110-60 74-98 27-135q0-78-26-133t-73-89-109-51-133-16h-287v945h156v-343zm-671 343v-133h-373v-279h325v-133h-325V991h352V858h-509v945h530zm-751 0V858h-213l-253 626q-11 27-20 55t-19 56h-4q-6-28-16-55t-21-53l-248-629h-221v945h145v-704q0-46-5-92h3q5 24 10 47t15 47l282 702h108l283-707q8-21 14-43t11-46h3q-4 46-6 92t-3 92v612h155zm-1431-369h-289l130-377q5-14 7-29t6-30h2q3 14 5 29t8 30l131 377zm299 369l-352-945h-176l-354 945h171l82-241h372l85 241h172zm-968-65v-449H622v132h199v225q-39 20-82 28t-87 9q-78 0-136-27t-97-74-57-111-19-137q0-77 24-142t70-113 109-75 142-27q69 0 134 17t124 55V888q-63-27-130-36t-134-10q-110 0-202 36T320 981t-104 158-37 203q0 107 33 194t94 150 147 97 195 35q88 0 170-19t159-61zM0 575h7363v1473H0V575z"}))};function nt(e){let{className:t,children:n}=e;return s.createElement("div",{className:i()("Price-module__priceBaseContainer___j9jGE",t)},n)}function rt(e){let{originalPrice:t,useBrandStyling:n=!1,className:r}=e;return t?s.createElement("span",{"aria-hidden":"true",className:i()(n?"Price-module__brandOriginalPrice___ayJAn":"Price-module__originalPrice___XNCxs",r)},t):null}function at(e){let{currentPrice:t,useBrandStyling:n,standalone:r=!1,hasAddOns:a,className:o}=e;return s.createElement("span",{className:i()("Price-module__boldText___1i2Li",p,o,{"Price-module__listedDiscountPrice___A-+d5":!n&&!r})},`${t}${a?"+":""}`)}function ot(e){let{glyph:t,prefix:n,text:r}=e;return r||t?s.createElement("span",{className:i()(p,u)},n&&s.createElement("span",null,n),t?s.createElement(it,{glyph:t}):s.createElement("span",null,r)):null}function it(e){let{glyph:t}=e;const n=(0,a.FE)("gamePassHomePageQuickLinksLabel");switch(t){case k.c9.UbisoftPlus:return s.createElement(Fe,{className:h});case k.c9.XboxGamepassInline:return s.createElement(et.In,{title:n,iconSize:et.lK.Custom,"aria-label":n,className:d,icon:tt});default:return s.createElement("span",{className:(0,k.f_)(k.Om.Prepend,t)})}}function st(e){let{satisfyingPassId:t,className:n}=e;const o=(0,a.FE)("upsellIncludedWithFormat"),l=(0,r.XBe)(t),c=qe(l,!1),m=Ve(l),p=l===$,f=(0,r.GPZ)(o,m||p?"":c);return s.createElement("div",{className:i()(u,n)},s.createElement("span",null,f),m?m===k.c9.XboxGamepassInline?s.createElement(et.In,{title:c,iconSize:et.lK.Custom,"aria-label":c,className:d,icon:tt}):s.createElement("span",{className:(0,k.f_)(k.Om.Prepend,m)}):p?s.createElement(Fe,{className:h}):"")}function lt(e){let{className:t,productSummary:n}=e;const o=(0,a.FE)("upsellComingSoonToFormat");if(!Ke(n))return null;const l=qe(G,!0);return s.createElement("div",{className:i()(u,t)},s.createElement("span",{className:"Price-module__comingSoonContainer___ql-2L"},(0,r.OzX)(o,s.createElement(et.In,{title:l,iconSize:et.lK.Custom,"aria-label":l,className:d,icon:tt}))))}function ct(e){let{msrp:t,listPrice:n}=e;const o=(0,a.FE)("pricePercentageOffTemplate");if(n>=t)return null;{const e=Math.round((t-n)/t*100),a=(0,r.GPZ)(o,e.toString());return s.createElement("span",null,a)}}function ut(e){let{productInfo:t,className:n}=e;const o=(0,a.FE)("offerExpirationTemplate"),l=(0,k.U0)(t.availability.endDateUtc),{unit:c,unitType:u,durationString:d}=l;if(!c||!u||!d||u===k.FP.Month&&c>1||u===k.FP.Year)return null;const m=(0,r.GPZ)(o,d);return s.createElement("span",{className:i()(p,"Price-module__discountExpiry___FMkkE",n)},m)}function dt(e){let{productInfo:t,hideRecurringPrice:n=!1}=e;const r=(0,k.hE)(),{initialOfferText:a,recurringPriceText:o}=xe(t),i=r(a,n?void 0:o);return i?s.createElement("span",null,i):null}const mt=["productInfo"],pt=["productInfo"];function ht(e){let{productInfo:t,className:n,listedPriceClassName:r,useBrandStyling:a}=e;const o=ke(t);if(!o)return null;const{originalPrice:i,lowestPrice:l,afterTextPrefix:c,afterText:u,afterTextGlyph:d}=o;return s.createElement(nt,{className:n},s.createElement(rt,{originalPrice:i,useBrandStyling:a}),s.createElement(at,{className:r,hasAddOns:!!t.product.hasAddOns,currentPrice:l,standalone:!i,useBrandStyling:a}),s.createElement(ot,{prefix:c,text:u,glyph:d}))}function ft(e){let{productInfo:t,className:n,listedPriceClassName:r,useBrandStyling:a,giftSkuId:o}=e;var i,l,c,u;const d=(e=>{const t=Ie();if(e)return t({availability:{price:e,actions:["Purchase"],availabilityId:"",skuId:"",productId:""},sku:{skuId:"",productId:""},product:{productId:"",title:"",productFamily:""}})})(o?null===(l=null===(i=t.product.specificPrices)||void 0===i?void 0:i.giftable)||void 0===l?void 0:l.find((e=>e.skuId===o)):null===(u=null===(c=t.product.specificPrices)||void 0===c?void 0:c.giftable)||void 0===u?void 0:u[0]);if(!d)return null;const{originalPrice:m,lowestPrice:p,afterTextPrefix:h,afterText:f,afterTextGlyph:v}=d;return s.createElement(nt,{className:n},s.createElement(rt,{originalPrice:m,useBrandStyling:a}),s.createElement(at,{className:r,hasAddOns:!!t.product.hasAddOns,currentPrice:p,standalone:!m,useBrandStyling:a}),s.createElement(ot,{prefix:h,text:f,glyph:v}))}function vt(e){let{productInfo:t,className:n,listedPriceClassName:r,useBrandStyling:a}=e;const o=ke(t);if(!o)return null;const{lowestPrice:i,afterTextPrefix:l,afterText:c,afterTextGlyph:u}=o;return s.createElement(nt,{className:n},s.createElement(at,{className:r,hasAddOns:!!t.product.hasAddOns,currentPrice:i,standalone:!0,useBrandStyling:a}),s.createElement(ot,{prefix:l,text:c,glyph:u}))}function gt(e){let{productInfo:t}=e,n=y()(e,mt);const r=t.product.optimalSatisfyingPassId;return r?s.createElement(st,{satisfyingPassId:r,className:n.className}):s.createElement(ht,g()({productInfo:t},n))}function _t(e){let{productInfo:t}=e,n=y()(e,pt);return a=t.product,(0,r.JSV)(a.productKind,B.Pass)||(0,r.JSV)(a.productFamily,M.Passes)||(0,r.JSV)(a.productFamily,M.Subscription)?s.createElement(yt,g()({productInfo:t},n)):s.createElement(bt,g()({productInfo:t},n));var a}function yt(e){let{className:t,discountDetailClassName:n,originalAndCurrentPriceClassName:r,originalPriceClassName:a,historicalLowestListPrice:o,productInfo:i,listedPriceClassName:l,useBrandStyling:c=!1,hideRecurringPrice:u=!1}=e;const d=ke(i);if(!d)return null;const{originalPrice:p,lowestPrice:h,afterTextPrefix:v,afterText:g,afterTextGlyph:_}=d;return s.createElement("div",{className:t},s.createElement(nt,{className:r},s.createElement(rt,{className:a,originalPrice:p,useBrandStyling:c}),s.createElement(at,{className:l,hasAddOns:!!i.product.hasAddOns,currentPrice:h,standalone:!p,useBrandStyling:c})),s.createElement(nt,{className:n},s.createElement(dt,{hideRecurringPrice:u,productInfo:i}),s.createElement(ot,{prefix:v,text:g,glyph:_}),o&&s.createElement(f,{historicalLowestListPrice:o,className:m})))}function bt(e){let{className:t,discountDetailClassName:n,hideDiscountMessage:r,historicalLowestListPrice:a,productInfo:o,listedPriceClassName:i,useBrandStyling:l=!1}=e;const c=ke(o);if(!c)return null;const{originalPrice:u,lowestPrice:d,afterTextPrefix:p,afterText:h,afterTextGlyph:v}=c;return s.createElement("div",{className:t},s.createElement(nt,null,s.createElement(rt,{originalPrice:u,useBrandStyling:l}),s.createElement(at,{className:i,hasAddOns:!!o.product.hasAddOns,currentPrice:d,standalone:!u,useBrandStyling:l})),s.createElement(nt,{className:n},!r&&s.createElement(ct,{msrp:o.availability.price.msrp,listPrice:o.availability.price.listPrice}),s.createElement(ot,{prefix:p,text:h,glyph:v}),!r&&s.createElement(ut,{productInfo:o}),a&&s.createElement(f,{historicalLowestListPrice:a,className:m})))}var Et;function St(e){return{updateAdditionalInformation:(0,r.VPN)("@productAdditionalInformation/UPDATE_PRODUCT_ADDITIONAL_INFORMATION",Et.AdditionalInformation,e,(e=>({additionalInfo:e})))}}function Ct(e){return{updateAvailabilitySummaries:(0,r.VPN)("@availabilitySummaries/UPDATE_AVAILABILITY_SUMMARIES",Et.AvailabilitySummary,e,(e=>({summaries:e})))}}function Pt(e){return{getProductInfo:(0,r.mYQ)(Et.ProductInfo,e,"@productInfoActions/GET_PRODUCT_INFO",(function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{productId:e,onlyProductSummary:t}}),(e=>({productId:e})),((e,t)=>({productId:e,error:t}))),getBulkProductInfo:(0,r.mYQ)(Et.ProductInfo,e,"@productInfoActions/GET_BULK_PRODUCT_INFO",(e=>({productIds:e})),(e=>({productIds:e})),((e,t)=>({productIds:e,error:t})))}}function Tt(e){return{updateProductSummaries:(0,r.VPN)("@productSummaries/UPDATE_PRODUCT_SUMMARIES",Et.ProductSummary,e,(e=>({summaries:e})))}}function wt(e){return{updateSkuSummaries:(0,r.VPN)("@skuSummaries/UPDATE_SKU_SUMMARIES",Et.SkuSummary,e,(e=>({summaries:e})))}}function It(e){return{additionalInformationActions:St(e),availabilitySummaryActions:Ct(e),productSummaryActions:Tt(e),productInfoActions:Pt(e),skuSummaryActions:wt(e)}}!function(e){e.AdditionalInformation="AdditionalInformation",e.AvailabilitySummary="AvailabilitySummary",e.ProductSummary="ProductSummary",e.SkuSummary="SkuSummary",e.ProductInfo="ProductInfo"}(Et||(Et={}));n(66264),n(28344);var kt=n(12885),xt=n(36824),At=n(92747),Nt=n(89979);function*Lt(e,t){t.availabilitySummaries&&Array.isArray(t.availabilitySummaries)&&(yield(0,Nt.yJ)(e.availabilitySummaryActions.updateAvailabilitySummaries(t.availabilitySummaries))),t.skuSummaries&&Array.isArray(t.skuSummaries)&&(yield(0,Nt.yJ)(e.skuSummaryActions.updateSkuSummaries(t.skuSummaries))),t.productSummaries&&Array.isArray(t.productSummaries)&&(yield(0,Nt.yJ)(e.productSummaryActions.updateProductSummaries(t.productSummaries)))}function*Mt(e,t,n){t.productSummaries&&Array.isArray(t.productSummaries)&&(yield(0,Nt.yJ)(e.productSummaryActions.updateProductSummaries(t.productSummaries.filter((e=>(0,r.XBe)(e.productId)===(0,r.XBe)(n))))))}function*Ot(e,t){const{productId:n,onlyProductSummary:a}=t;try{const t=yield(0,Nt.Lt)(r.P6r),o=yield(0,At.Jl)(),i=yield(0,Ae.Y6)(),s=yield(0,Nt.T1)(r.wRW),l=yield(0,Nt.T1)(Ae.zG),c={dependencyName:At.Nz.EmeraldXbetService,dependencyOperationName:"GetProductInfo"},u={addAuthorization:!0,isRequired:!1},d=((e,t)=>{const n=`products/${e}`,r=new URLSearchParams;return r.append(xt.hV.locale,t.localeWithScript),`${n}?${r.toString()}`})(n,t),m=yield(0,Nt.Lt)(r.pzA,r.WTf.StagingFD),p=yield(0,Nt.T1)(xt.j9,d,u,o,i,s,l,c,m);if(!(0,r.RJH)(p.status)){throw new Error(p.statusText)}a?yield(0,Nt.T1)(Mt,e,p.data,n):yield(0,Nt.T1)(Lt,e,p.data),yield(0,Nt.yJ)(e.productInfoActions.getProductInfo.success(n))}catch(o){const t=(0,kt.toError)(o);yield(0,Nt.yJ)(e.productInfoActions.getProductInfo.error(n,t))}}function*Rt(e,t){const{productIds:n}=t;try{const t=yield(0,Nt.Lt)(r.P6r),a=yield(0,At.Jl)(),o=yield(0,Ae.Y6)(),i=yield(0,Nt.T1)(r.wRW),s=yield(0,Nt.T1)(Ae.zG),l={dependencyName:At.Nz.EmeraldXbetService,dependencyOperationName:"GetBulkProductInfo"},c={addAuthorization:!0,isRequired:!1},u=yield(0,Nt.Lt)(r.pzA,r.WTf.StagingFD),d=yield(0,Nt.T1)(xt.YN,"products",{productIds:n},c,a,o,i,s,l,u,void 0,void 0,{params:{locale:t.localeWithScript}});if(!(0,r.RJH)(d.status)){throw new Error(d.statusText)}yield(0,Nt.T1)(Lt,e,d.data),yield(0,Nt.yJ)(e.productInfoActions.getBulkProductInfo.success(n))}catch(a){const t=(0,kt.toError)(a);yield(0,Nt.yJ)(e.productInfoActions.getBulkProductInfo.error(n,t))}}function Dt(e){return function*(){yield(0,Nt.jP)((0,r.wuJ)(e.productInfoActions.getProductInfo.start),Ot,e),yield(0,Nt.jP)((0,r.wuJ)(e.productInfoActions.getBulkProductInfo.start),Rt,e)}}const Bt={};function Ft(e){return(0,r.v4G)(Et.AdditionalInformation,new r.sVo(Bt).on(e.updateAdditionalInformation,((e,t)=>{if(!t.additionalInfo)return e;const n=(0,r.VMG)(t.additionalInfo.productId);return g()(g()({},e),{},{[n]:t.additionalInfo})})).build())}const Ut={};function Ht(e){return(0,r.v4G)(Et.AvailabilitySummary,new r.sVo(Ut).on(e.updateAvailabilitySummaries,((e,t)=>t.summaries.length?t.summaries.reduce(((e,t)=>{if(t){const n=(0,r.VMG)(t.productId),a=(0,r.VMG)(t.skuId),o=(0,r.VMG)(t.availabilityId);e[n]?e[n][a]?e[n][a][o]=t:e[n][a]=g()(g()({},e[n][a]),{},{[o]:t}):e[n]={[a]:{[o]:t}}}return e}),g()({},e)):e)).build())}const Vt={};function Gt(e){return(0,r.v4G)(Et.ProductSummary,new r.sVo(Vt).on(e.updateProductSummaries,((e,t)=>t.summaries.length?t.summaries.reduce(((e,t)=>{if(t){e[(0,r.VMG)(t.productId)]=t}return e}),g()({},e)):e)).build())}const qt={};function zt(e){return(0,r.v4G)(Et.SkuSummary,new r.sVo(qt).on(e.updateSkuSummaries,((e,t)=>t.summaries.length?t.summaries.reduce(((e,t)=>{if(t){const n=(0,r.VMG)(t.productId),a=(0,r.VMG)(t.skuId);e[n]?e[n][a]=t:e[n]={[a]:t}}return e}),g()({},e)):e)).build())}const Xt={},jt={isLoading:!1,hasContent:!1,error:void 0};function Wt(e){return{additionalInformation:Ft(e.additionalInformationActions),availabilitySummaries:Ht(e.availabilitySummaryActions),productSummaries:Gt(e.productSummaryActions),productInfoMetadata:(t=e.productInfoActions,(0,r.v4G)(Et.ProductInfo,new r.sVo(Xt).on(t.getProductInfo.start,(function(e,t){const n=(0,r.VMG)(t.productId),a=e[n]||jt;return g()(g()({},e),{},{[n]:g()(g()({},a),{},{isLoading:!0,error:void 0})})})).on(t.getProductInfo.success,(function(e,t){const n=(0,r.VMG)(t.productId);return g()(g()({},e),{},{[n]:{isLoading:!1,hasContent:!0,error:void 0}})})).on(t.getProductInfo.error,(function(e,t){const n=(0,r.VMG)(t.productId),a=e[n]||jt;return g()(g()({},e),{},{[n]:g()(g()({},a),{},{isLoading:!1,error:t.error})})})).on(t.getBulkProductInfo.start,(function(e,t){const n=g()({},e);for(const a of t.productIds){const t=(0,r.VMG)(a),o=e[t]||jt;n[t]=g()(g()({},o),{},{isLoading:!0,error:void 0})}return n})).on(t.getBulkProductInfo.success,(function(e,t){const n=g()({},e);for(const a of t.productIds)n[(0,r.VMG)(a)]={isLoading:!1,hasContent:!0,error:void 0};return n})).on(t.getBulkProductInfo.error,(function(e,t){const n=g()({},e);for(const a of t.productIds){const o=(0,r.VMG)(a),i=e[o]||jt;n[o]=g()(g()({},i),{},{isLoading:!1,error:t.error})}return n})).build())),skuSummaries:zt(e.skuSummaryActions)};var t}n(93760),n(57485);const $t=e=>Object.values(e).reduce(((e,t)=>(Object.values(t).forEach((t=>{e.push(t)})),e)),[]);function Jt(e){const t=t=>e(t).additionalInformation,n=t=>e(t).availabilitySummaries,a=t=>e(t).productSummaries,o=t=>e(t).productInfoMetadata,i=t=>e(t).skuSummaries,s=function(e){return{getProductAdditionalInformation:(t,n)=>e(t)[(0,r.VMG)(n)]}}(t),l=function(e){const t=[];return{getAvailabilitySummary:(t,n,a,o)=>{var i,s;const l=(0,r.VMG)(n),c=(0,r.VMG)(a),u=(0,r.VMG)(o),d=e(t);return null===(s=null===(i=null===d||void 0===d?void 0:d[l])||void 0===i?void 0:i[c])||void 0===s?void 0:s[u]},getAvailabilitySummaryProductState:(t,n)=>e(t)[(0,r.VMG)(n)],getAvailabilitySummariesByProductId:(n,a)=>{const o=(0,r.VMG)(a),i=e(n)[o];return i?$t(i):t},getAvailabilitySummariesByProductSkuId:(t,n,a)=>{var o,i;const s=(0,r.VMG)(n),l=null!==(i=null===(o=e(t)[s])||void 0===o?void 0:o[a])&&void 0!==i?i:{};return Object.values(l)}}}(n),c=function(e){const t=(t,n)=>e(t)[(0,r.VMG)(n)];return{getProductSummary:t,getLanguageSupportDetail:(e,n)=>{var r;return null===(r=t(e,n))||void 0===r?void 0:r.languagesSupported},getShowSupportedLanguageDisclaimer:(e,n)=>{var r;return null===(r=t(e,n))||void 0===r?void 0:r.showSupportedLanguageDisclaimer},getProductIsComingSoon:(e,n)=>{var r;const a=null===(r=t(e,n))||void 0===r?void 0:r.passMetadataByPassProductId;return!!a&&Object.values(a).some((e=>!!(null===e||void 0===e?void 0:e.entryDateUTC)&&new Date(e.entryDateUTC).toISOString()>(new Date).toISOString()))}}}(a),u=function(e){return{getProductInfoMetadata:(t,n)=>e(t)[(0,r.VMG)(n)]}}(o),d=function(e){const t=(t,n)=>e(t)[(0,r.VMG)(n)],n=[],a=[];return{getSkuSummary:(t,n,a)=>{const o=(0,r.VMG)(n),i=(0,r.VMG)(a),s=e(t)[o];return null===s||void 0===s?void 0:s[i]},getSkuSummaryStateForProductId:t,getSkuIdsByProductId:(e,r)=>{const a=t(e,r);return a?Object.keys(a):n},getSkuSummariesByProductId:(e,n)=>{const r=t(e,n);return r?Object.values(r):a}}}(i),m=function(e,t,n){const r=(r,a,o,i,s)=>{let l,c;const u=e.getProductSummary(r,a);if(u){const e=[o];for((null===s||void 0===s?void 0:s.useOptimalFallback)&&e.push(u.optimalSkuId),(null===s||void 0===s?void 0:s.usePreferredFallback)&&e.push(u.preferredSkuId);e.length;){const o=e.shift();if(o&&(l=t.getSkuSummary(r,a,o),l)){if((null===s||void 0===s?void 0:s.skipGamesWithGoldSku)&&l.isGamesWithGoldSku)l=void 0;else if(null===s||void 0===s?void 0:s.requirePurchaseableSku){const e=n.getAvailabilitySummariesByProductSkuId(r,a,l.skuId);(null===e||void 0===e?void 0:e.find((e=>e.actions.includes(D.Purchase))))||(l=void 0)}if(l)break}}}if(l){const e=[i];for((null===s||void 0===s?void 0:s.useOptimalFallback)&&e.push(l.optimalAvailabilityId),(null===s||void 0===s?void 0:s.usePreferredFallback)&&e.push(l.preferredAvailabilityId);e.length;){const t=e.shift();if(t&&(c=n.getAvailabilitySummary(r,a,l.skuId,t),c))break}}return u&&((null===s||void 0===s?void 0:s.allowPartial)||l&&c)?{product:u,sku:l,availability:c}:void 0},a=(e,r,a,o)=>{let{product:i,sku:s,availability:c}=l(e,r,a,o);return!a&&(null===i||void 0===i?void 0:i.preferredSkuId)&&(s=t.getSkuSummary(e,r,i.preferredSkuId)),!c&&(null===s||void 0===s?void 0:s.preferredAvailabilityId)&&(c=n.getAvailabilitySummary(e,r,s.skuId,s.preferredAvailabilityId)),i&&s&&c?{product:i,sku:s,availability:c}:void 0},o=(e,t,n,a)=>r(e,t,n,a,{allowPartial:!0,useOptimalFallback:!0,usePreferredFallback:!0}),i=(e,r,a,o)=>{let{product:i,sku:s,availability:c}=l(e,r,a,o);return!a&&(null===i||void 0===i?void 0:i.optimalSkuId)&&(s=t.getSkuSummary(e,r,i.optimalSkuId)),!c&&(null===s||void 0===s?void 0:s.optimalAvailabilityId)&&(c=n.getAvailabilitySummary(e,r,s.skuId,s.optimalAvailabilityId)),i&&s&&c?{product:i,sku:s,availability:c}:void 0},s=(e,r,a,o)=>{let{product:i,sku:s,availability:c}=l(e,r,a,o);return!a&&(null===i||void 0===i?void 0:i.optimalSkuId)&&(s=t.getSkuSummary(e,r,i.optimalSkuId)),!c&&(null===s||void 0===s?void 0:s.optimalAvailabilityId)&&(c=n.getAvailabilitySummary(e,r,s.skuId,s.optimalAvailabilityId)),i?{product:i,sku:s,availability:c}:void 0},l=(r,a,o,i)=>{const s=e.getProductSummary(r,a);let l,c;return s&&o&&(l=t.getSkuSummary(r,a,o),l&&i&&(c=n.getAvailabilitySummary(r,a,o,i))),{product:s,sku:l,availability:c}};return{getProductSummaryInfo:r,getFullProductSummaryInfo:a,getPartialProductSummaryInfoWithOptimalAndPreferredFallbacks:o,getPartialPurchasableProductSummaryInfoWithOptimalAndPreferredFallbacks:(r,a,o,i)=>{let s,l;const c=e.getProductSummary(r,a);if(c){const e=[o,c.optimalSkuId,c.preferredSkuId];for(const o of e)if(o&&(s=t.getSkuSummary(r,a,o),s)){const e=[i,s.optimalAvailabilityId,s.preferredAvailabilityId];for(const t of e)if(t){if(l=n.getAvailabilitySummary(r,a,s.skuId,t),l&&Ee(l))return{product:c,sku:s,availability:l};l=void 0}s=void 0}}return c?{product:c,sku:s,availability:l}:void 0},getFullOptimalProductSummaryInfo:i,getPartialOptimalProductSummaryInfo:s,getFullProductSummaryInfos:(e,t)=>t.map((t=>a(e,t.productId,t.skuId,t.availabilityId))).filter((e=>!!e)),getNullableProductSummaryInfo:l,getFullOptimalProductSummaryInfos:(e,t)=>t.map((t=>i(e,t.productId,t.skuId,t.availabilityId))).filter((e=>!!e)),getPartialOptimalProductSummaryInfos:(e,t)=>t.map((t=>s(e,t.productId,t.skuId,t.availabilityId))).filter((e=>!!e)),getNullableProductSummaryInfos:(e,t)=>t.map((t=>l(e,t.productId,t.skuId,t.skuId))),getPartialProductSummaryInfosWithOptimalAndPreferredFallbacks:(e,t)=>t.reduce(((t,n)=>{const r=o(e,n.productId,n.skuId,n.availabilityId);return r&&t.push(r),t}),[])}}(c,d,l);return{additionalInformationSelectors:s,availabilitySummarySelectors:l,productSummarySelectors:c,productSummaryInfoSelectors:m,productInfoMetadataSelectors:u,skuSummarySelectors:d,getAdditionalInformationState:t,getAvailabilitySummaryState:n,getProductSummaryState:a,getProductInfoMetadataState:o,getSkuSummaryState:i,getPurchasableSkuSummariesWithDetailByProductId:(e,t)=>{const n=d.getSkuSummariesByProductId(e,t);return 0===n.length?n:n.filter((n=>{const r=l.getAvailabilitySummariesByProductSkuId(e,t,n.skuId);if(!r)return!1;for(const e of r)return Ee(e);return!1}))}}}const Kt=[];const Qt=[],Yt=[];function Zt(e){const t=function(e){return{useGetSkuIdsByProductId:t=>{const n=(0,l.d4)((n=>e.getSkuSummaryStateForProductId(n,t)));return(0,s.useMemo)((()=>n?Object.keys(n):Qt),[n])},useGetSkuSummariesByProductId:t=>{const n=(0,l.d4)((n=>e.getSkuSummaryStateForProductId(n,t)));return(0,s.useMemo)((()=>n?Object.values(n):Yt),[n])}}}(e.skuSummarySelectors),n=function(e){return{useAvailabilitySummariesByProductId:function(t){const n=(0,l.d4)((n=>e.getAvailabilitySummaryProductState(n,t)));return(0,s.useMemo)((()=>n?$t(n):Kt),[n])},useAvailabilitySummariesByProductSkuId:function(t,n){const r=(0,l.d4)((n=>e.getAvailabilitySummaryProductState(n,t))),a=null===r||void 0===r?void 0:r[n];return(0,s.useMemo)((()=>a?Object.values(a):Kt),[a])}}}(e.availabilitySummarySelectors);return{skuSummaryHooks:t,availabilitySummaryHooks:n}}function en(e,t){const n=It(e),a=(o=n,(0,r._9l)(Wt(o)));var o;const i=Jt(t);return{productsActions:n,productsReducer:a,productsSelectors:i,productsSagas:Dt(n),productsHooks:Zt(i)}}function tn(e,t){const n=It(e),r=Wt(n),a=Jt(t);return{productsActions:n,productsReducers:r,productsSelectors:a,productsSagas:Dt(n),productsHooks:Zt(a)}}},51077:(e,t,n)=>{"use strict";n.d(t,{B2:()=>o,HV:()=>a,aM:()=>i,bp:()=>c,d4:()=>s,rP:()=>l,yB:()=>r});const r=e=>e.appContext,a=e=>e.experiments,o=e=>e.pageRequestMetadata,i=(e,t)=>e[t],s=e=>e.seo,l=e=>e.theme,c=e=>e.uhf},51622:(e,t,n)=>{"use strict";n.d(t,{M:()=>d});var r=n(85608),a=n(53373),o=n.n(a),i=n(14041),s=n(5929),l=n(72178),c=n(32317),u=(0,i.forwardRef)((function(e,t){var n,a=e.iconClassName,u=e.iconStyle,d=e.iconSize,m=void 0===d?s.lK.XXSmall:d,p=e.className,h=e.icon,f=e.buttonType,v=void 0===f?l.VQ.Brand:f,g=e.buttonSize,_=void 0===g?l.Mp.Medium:g,y=e.overlayMode,b=void 0===y?l.w9.Solid:y,E=e.children,S=(0,r.__rest)(e,["iconClassName","iconStyle","iconSize","className","icon","buttonType","buttonSize","overlayMode","children"]);return i.createElement(l.SC,(0,r.__assign)({ref:t,buttonType:v,overlayMode:b,className:o()(p,c.$9,(n={},n[c.UA]=_===l.Mp.XSmall,n[c.kh]=_===l.Mp.Small,n[c.Qy]=_===l.Mp.Medium,n[c.eS]=_===l.Mp.Large,n[c._B]=_===l.Mp.XSmall,n[c._c]=_===l.Mp.Small,n[c.sM]=_===l.Mp.Medium,n[c.y4]=_===l.Mp.Large,n))},S),i.createElement(s.In,{iconSize:m,className:o()(c.iA,c.mK,a),style:u,icon:h,"aria-hidden":!0}),E)}));u.displayName="HeroIconButtonUnmanaged";var d=(0,i.memo)(u)},51733:(e,t,n)=>{"use strict";var r;n.d(t,{H:()=>r}),function(e){e.AccountLink="AccountLink",e.AdditionalInformation="AdditionalInformation",e.AvailabilitySummary="AvailabilitySummary",e.ContextualStore="ContextualStore",e.Entitlement="Entitlement",e.Filters="Filters",e.Install="Install",e.Layout="Layout ",e.ProductActions="ProductActions",e.ProductSummary="ProductSummary",e.ServiceErrorMessage="ServiceErrorMessage",e.SkuSummary="SkuSummary",e.StoreCartService="StoreCartService",e.Wishlist="Wishlist",e.ProductInfo="ProductInfo",e.Search="Search",e.UserSettings="UserSettings",e.PlanPicker="PlanPicker"}(r||(r={}))},52927:(e,t,n)=>{"use strict";n.d(t,{Bx:()=>i,EB:()=>o,Qn:()=>c,Qx:()=>r,VG:()=>l,ts:()=>a,uX:()=>s});const r="https://emerald.xboxservices.com/xboxcomfd",a="https://emerald-staging.xboxservices.com/xboxcomfd",o="https://cart.production.store-web.dynamics.com/v1.0",i="https://cem.services.microsoft.com/v1",s="https://accounts.xboxlive.com",l="https://displaycatalog.mp.microsoft.com/v7.0",c="https://sisu.xboxlive.com"},53314:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const r="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},54034:(e,t,n)=>{"use strict";n.d(t,{zd:()=>r.z,zG:()=>R,Sq:()=>_,Pe:()=>M,Tu:()=>A,EK:()=>k,Ki:()=>x,vQ:()=>O,qH:()=>E,ct:()=>g,vg:()=>P,t4:()=>C,Rs:()=>L,EX:()=>w,u0:()=>I,dF:()=>b,iJ:()=>h,qo:()=>v,dq:()=>f,yI:()=>p,ug:()=>u,sX:()=>d,h2:()=>c,Kj:()=>m,bX:()=>S,yn:()=>y,Xp:()=>r.X,oA:()=>a.oA});var r=n(4298),a=n(9071),o=n(89979),i=(n(66264),n(68291),n(4600),n(14297),n(65136),n(25601),n(64552),n(45993),n(88262)),s=n(83878),l=n(56552);n(62504);const c=e=>e.user,u=e=>c(e).userInfo,d=e=>c(e).userInfoOverride,m=e=>{var t;return null===(t=u(e))||void 0===t?void 0:t.xuid},p=e=>{var t;return null===(t=u(e))||void 0===t?void 0:t.gamerTag},h=e=>{var t;return null===(t=u(e))||void 0===t?void 0:t.ageGroup},f=e=>{var t;return null===(t=u(e))||void 0===t?void 0:t.firstName},v=e=>{var t;return null===(t=u(e))||void 0===t?void 0:t.email},g=e=>c(e).isSignedIn,_=(0,s.Mz)(c,(e=>({aadUser:e.aadUser,accessToken:e.aadAccessToken||"",refreshToken:e.aadRefreshToken||""}))),y=e=>c(e).xTokenOverride,b=e=>c(e).userAgeGatingInfo,E=e=>c(e).isDefaultUserAgeGatingInfo,S=(e,t)=>{const{aadUser:n}=_(e),r=null===n||void 0===n?void 0:n.name,a=t||(null===n||void 0===n?void 0:n.exp)&&n.exp>Math.round(Date.now()/1e3)+60;return!!r&&!!a},C=(0,s.Mz)([e=>{var t;return null===(t=c(e).userPrivacyConsentInfo)||void 0===t?void 0:t.userPrivacyConsentUiDetails},(e,t)=>t],((e,t)=>{switch(t){case l.ConsentSurface.WebStart:return e.webStart;case l.ConsentSurface.Backstage2:return e.backStage2;case l.ConsentSurface.SISU:return e.sisu;default:throw new Error("Invalid consent surface")}})),P=e=>{var t;return null===(t=c(e).userPrivacyConsentInfo)||void 0===t?void 0:t.userPrivacyConsent},T=(e,t)=>{var n,r,a;const o=C(e,l.ConsentSurface.Backstage2);if((0,i.isContent)(o)){const s=o.data.find((e=>e.modelType===t));if(s){const t=P(e);if((0,i.isContent)(t)){const e=t.data.find((e=>e.id===s.id)),o=null!==(a=null===(r=null===(n=null===e||void 0===e?void 0:e.values)||void 0===n?void 0:n[0])||void 0===r?void 0:r.value)&&void 0!==a?a:"optOut"===s.consentType||"unknown"===s.consentType;return{ucsUiDetails:s,initialValue:o}}}}return{ucsUiDetails:null,initialValue:!1}},w=e=>T(e,l.ModelType.XboxOptionalDataCollection),I=e=>T(e,l.ModelType.XboxPersonalizedPurchaseUpsell),k=e=>{var t;return null===(t=c(e).userPrivacyConsentInfo)||void 0===t?void 0:t.didOptionalPrivacyConsentSubmissionSucceed},x=e=>{var t;return null===(t=c(e).userPrivacyConsentInfo)||void 0===t?void 0:t.didPersonalizedPrivacyConsentSubmissionSucceed},A=e=>{var t;return null===(t=c(e).userPrivacyConsentInfo)||void 0===t?void 0:t.didFinPartnerSharingConsentSubmissionSucceed},N=function(){for(var e=arguments.length,t=new Array(e),n=0;n{var n,r,a,o;const s=null!==(r=null===(n=(0,i.getContentOrPrevious)(e))||void 0===n?void 0:n.lastFetchedMS)&&void 0!==r?r:0;return(null!==(o=null===(a=(0,i.getContentOrPrevious)(t))||void 0===a?void 0:a.lastFetchedMS)&&void 0!==o?o:0)>s?t:e}))},L=(0,s.Mz)([e=>C(e,l.ConsentSurface.WebStart),e=>C(e,l.ConsentSurface.Backstage2),e=>C(e,l.ConsentSurface.SISU),P,k,x],((e,t,n,r,a,o)=>{let s=null,c=null;if((0,i.isError)(a)&&(s=a),(0,i.isError)(o)&&(c=o),s||c){const e=(null===s||void 0===s?void 0:s.error)||(null===c||void 0===c?void 0:c.error);if(e)return(0,i.lceError)(e)}const u=N(e,t,n),d=N(u,r);return(0,i.isContent)(u)&&(0,i.isFetching)(r)?(0,i.lceTransform)(u,l.transformConsentValuesToSimplifiedConsentValues):(0,i.isContent)(r)&&(0,i.isFetching)(u)||(0,i.isFetching)(r)?(0,i.lceTransform)(r,l.transformConsentValuesToSimplifiedConsentValues):(0,i.isFetching)(u)?(0,i.lceTransform)(u,l.transformConsentValuesToSimplifiedConsentValues):d!==i.LCE_NOT_REQUESTED?(0,i.lceTransform)(d,l.transformConsentValuesToSimplifiedConsentValues):i.LCE_NOT_REQUESTED})),M=e=>c(e).contactPreferences,O=e=>c(e).familyInfo;function*R(){const e=yield(0,o.Lt)(c);return{isMandatory:!1,aadToken:(null===e||void 0===e?void 0:e.aadAccessToken)||""}}},54294:(e,t,n)=>{"use strict";var r;n.d(t,{S:()=>r}),function(e){e[e.Dark=0]="Dark",e[e.Light=1]="Light",e[e.HCBlack=2]="HCBlack",e[e.HCWhite=3]="HCWhite",e[e.HCAquatic=4]="HCAquatic",e[e.HCDesert=5]="HCDesert"}(r||(r={}))},54341:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});var r,a=n(95428);!function(e){e.INIT="@sentry/init"}(r||(r={}));(0,a.VPN)(r.INIT,a.HGh.AppContext,"",(()=>({})))},54860:(e,t,n)=>{"use strict";n.d(t,{HR:()=>h,Ix:()=>m,Pc:()=>i,T1:()=>d,YO:()=>l,Yj:()=>s,fD:()=>f,iv:()=>c,lJ:()=>u,mr:()=>p,uQ:()=>o,vD:()=>a});var r=n(3068),a=function(e){return null===e||void 0===e},o=function(e){return null!==e&&void 0!==e},i=function(e){return"function"===typeof e},s=function(e){return"string"===typeof e},l=Array.isArray,c=function(e){return e&&i(e.then)},u=function(e){return e&&i(e.next)&&i(e.throw)},d=function e(t){return t&&(s(t)||h(t)||i(t)||l(t)&&t.every(e))},m=function(e){return e&&i(e.take)&&i(e.close)},p=function(e){return i(e)&&e.hasOwnProperty("toString")},h=function(e){return Boolean(e)&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype},f=function(e){return m(e)&&e[r.Xl]}},55282:(e,t,n)=>{"use strict";n.d(t,{CH:()=>o,Dl:()=>i,f:()=>s,kg:()=>a,nt:()=>r});function r(e){return"isRelative"in e}function a(e,t){const n=e.startsWith("/"),r=t??(n?"thismessage:/":void 0);try{if("canParse"in URL&&!URL.canParse(e,r))return;const t=new URL(e,r);return n?{isRelative:n,pathname:t.pathname,search:t.search,hash:t.hash}:t}catch{}}function o(e){if(r(e))return e.pathname;const t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}function i(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function s(e){return e.split(/[?#]/,1)[0]}},55293:(e,t,n)=>{"use strict";n.d(t,{De:()=>c,sv:()=>i,yD:()=>l});var r=n(67401),a=n(22647),o=n(10467);const i="sentry-",s=/^sentry-/;function l(e){const t=function(e){if(!e||!(0,a.Kg)(e)&&!Array.isArray(e))return;if(Array.isArray(e))return e.reduce(((e,t)=>{const n=u(t);return Object.entries(n).forEach((([t,n])=>{e[t]=n})),e}),{});return u(e)}(e);if(!t)return;const n=Object.entries(t).reduce(((e,[t,n])=>{if(t.match(s)){e[t.slice(i.length)]=n}return e}),{});return Object.keys(n).length>0?n:void 0}function c(e){if(!e)return;return function(e){if(0===Object.keys(e).length)return;return Object.entries(e).reduce(((e,[t,n],a)=>{const i=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,s=0===a?i:`${e},${i}`;return s.length>8192?(r.T&&o.vF.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):s}),"")}(Object.entries(e).reduce(((e,[t,n])=>(n&&(e[`${i}${t}`]=n),e)),{}))}function u(e){return e.split(",").map((e=>e.split("=").map((e=>decodeURIComponent(e.trim()))))).reduce(((e,[t,n])=>(t&&n&&(e[t]=n),e)),{})}},55490:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(85608),a=n(14041);const o=function(e){var{title:t,titleId:n}=e,o=(0,r.__rest)(e,["title","titleId"]);return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},o),t?a.createElement("title",{id:n},t):null,a.createElement("path",{d:"M1533 93l-930 931 930 931-90 90L421 1024 1443 3l90 90z"}))}},55719:(e,t,n)=>{"use strict";n.d(t,{Lk:()=>S,Uk:()=>C,hb:()=>P});var r=n(4899),a=n(43223),o=n(67099),i=n(7365),s=n(2170),l=n(10371),c=n(59511),u=n(5062),d=n(25626),m=n(76772),p=n(10467),h=n(62659),f=n(74859),v=n(33317),g=n(98621),_=n(50315),y=n(64482),b=n(78219);const E="__SENTRY_SUPPRESS_TRACING__";function S(e,t){const n=I();if(n.startSpan)return n.startSpan(e,t);const r=w(e),{forceTransaction:a,parentSpan:i,scope:s}=e,c=s?.clone();return(0,o.v4)(c,(()=>A(i)((()=>{const n=(0,o.o5)(),i=x(n),s=e.onlyIfParent&&!i?new g.w:T({parentSpan:i,spanArguments:r,forceTransaction:a,scope:n});return(0,d.r)(n,s),(0,l.x)((()=>t(s)),(()=>{const{status:e}=(0,m.et)(s);!s.isRecording()||e&&"ok"!==e||s.setStatus({code:y.TJ,message:"internal_error"})}),(()=>{s.end()}))}))))}function C(e){const t=I();if(t.startInactiveSpan)return t.startInactiveSpan(e);const n=w(e),{forceTransaction:r,parentSpan:a}=e;return(e.scope?t=>(0,o.v4)(e.scope,t):void 0!==a?e=>P(a,e):e=>e())((()=>{const t=(0,o.o5)(),a=x(t);return e.onlyIfParent&&!a?new g.w:T({parentSpan:a,spanArguments:n,forceTransaction:r,scope:t})}))}function P(e,t){const n=I();return n.withActiveSpan?n.withActiveSpan(e,t):(0,o.v4)((n=>((0,d.r)(n,e||void 0),t(n))))}function T({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){if(!(0,c.f)()){const r=new g.w;if(n||!e){const e={sampled:"false",sample_rate:"0",transaction:t.name,...(0,h.k1)(r)};(0,h.LZ)(r,e)}return r}const a=(0,o.rm)();let i;if(e&&!n)i=function(e,t,n){const{spanId:r,traceId:a}=e.spanContext(),i=!t.getScopeData().sdkProcessingMetadata[E]&&(0,m.pK)(e),s=i?new _.W({...n,parentSpanId:r,traceId:a,sampled:i}):new g.w({traceId:a});(0,m.Hu)(e,s);const l=(0,o.KU)();l&&(l.emit("spanStart",s),n.endTimestamp&&l.emit("spanEnd",s));return s}(e,r,t),(0,m.Hu)(e,i);else if(e){const n=(0,h.k1)(e),{traceId:a,spanId:o}=e.spanContext(),s=(0,m.pK)(e);i=k({traceId:a,parentSpanId:o,...t},r,s),(0,h.LZ)(i,n)}else{const{traceId:e,dsc:n,parentSpanId:o,sampled:s}={...a.getPropagationContext(),...r.getPropagationContext()};i=k({traceId:e,parentSpanId:o,...t},r,s),n&&(0,h.LZ)(i,n)}return(0,f.z)(i),(0,b.d)(i,r,a),i}function w(e){const t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const n={...t};return n.startTimestamp=(0,m.cI)(e.startTime),delete n.startTime,n}return t}function I(){const e=(0,a.EU)();return(0,r.h)(e)}function k(e,t,n){const r=(0,o.KU)(),a=r?.getOptions()||{},{name:l="",attributes:c}=e,d=t.getPropagationContext(),[m,h,f]=t.getScopeData().sdkProcessingMetadata[E]?[!1]:(0,v.Z)(a,{name:l,parentSampled:n,attributes:c,parentSampleRate:(0,u.i)(d.dsc?.sample_rate)},d.sampleRand),g=new _.W({...e,attributes:{[s.i_]:"custom",[s.sy]:void 0!==h&&f?h:void 0,...e.attributes},sampled:m});return!m&&r&&(i.T&&p.vF.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),r.recordDroppedEvent("sample_rate","transaction")),r&&r.emit("spanStart",g),g}function x(e){const t=(0,d.f)(e);if(!t)return;const n=(0,o.KU)();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,m.zU)(t):t}function A(e){return void 0!==e?t=>P(e,t):e=>e()}},56764:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(14041);const a=function(e){return r.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),r.createElement("path",{d:"M10.236 1.205a1.125 1.125 0 011.493-.088l.098.088L25.97 15.349c.408.408.437 1.051.088 1.493l-.088.098-14.176 14.176a1.125 1.125 0 01-1.678-1.493l.088-.098 13.379-13.381L10.236 2.795a1.125 1.125 0 01-.087-1.492l.087-.098z",fillRule:"evenodd"}))}},56769:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buyNowUIUrlPath=t.purchaseUIUrlPath=void 0;var r=n(9274);t.purchaseUIUrlPath=function(e,t,n){return"ppe"===(null===e||void 0===e?void 0:e.selectEnv)||t&&t.length>0&&t.map((function(e){return e.toLowerCase()})).includes(r.ppeFlightName)||n&&n.length>0&&n.map((function(e){return e.toLowerCase()})).includes(r.ppeFlightName)?r.PPE_PURCHASEUI_URL:"int"===(null===e||void 0===e?void 0:e.selectEnv)||t&&t.length>0&&t.map((function(e){return e.toLowerCase()})).includes(r.intFlightName)||n&&n.length>0&&n.map((function(e){return e.toLowerCase()})).includes(r.intFlightName)?r.INT_PURCHASEUI_URL:"perf"===(null===e||void 0===e?void 0:e.selectEnv)||t&&t.length>0&&t.map((function(e){return e.toLowerCase()})).includes(r.perfFlightName)||n&&n.length>0&&n.map((function(e){return e.toLowerCase()})).includes(r.perfFlightName)?r.PERF_PURCHASEUI_URL:r.BASE_PURCHASEUI_URL};t.buyNowUIUrlPath=function(e,t,n){return"ppe"===(null===e||void 0===e?void 0:e.selectEnv)||t&&t.length>0&&t.map((function(e){return e.toLowerCase()})).includes(r.ppeFlightName)||n&&n.length>0&&n.map((function(e){return e.toLowerCase()})).includes(r.ppeFlightName)?r.PPE_BUYNOWUI_URL:"int"===(null===e||void 0===e?void 0:e.selectEnv)||t&&t.length>0&&t.map((function(e){return e.toLowerCase()})).includes(r.intFlightName)||n&&n.length>0&&n.map((function(e){return e.toLowerCase()})).includes(r.intFlightName)?r.INT_BUYNOWUI_URL:"perf"===(null===e||void 0===e?void 0:e.selectEnv)||t&&t.length>0&&t.map((function(e){return e.toLowerCase()})).includes(r.perfFlightName)||n&&n.length>0&&n.map((function(e){return e.toLowerCase()})).includes(r.perfFlightName)?r.PERF_BUYNOWUI_URL:r.BASE_BUYNOWUI_URL}},56834:(e,t,n)=>{"use strict";n.d(t,{A3:()=>v,AP:()=>I,CS:()=>g,H8:()=>k,HQ:()=>s,LP:()=>b,Me:()=>T,Q:()=>P,Q2:()=>d,SM:()=>E,SX:()=>m,TF:()=>S,TM:()=>M,Ux:()=>i,Vv:()=>r,WW:()=>l,_o:()=>L,ax:()=>c,cb:()=>C,f9:()=>N,fW:()=>O,iA:()=>f,jf:()=>u,kU:()=>a,kn:()=>h,me:()=>A,q:()=>o,sc:()=>y,tS:()=>w,tY:()=>x,tn:()=>_,wH:()=>p});var r="typography-module__badgeText___Pt0Ti",a="typography-module__featuredContentDesktopTitle___aSQ8E",o="typography-module__featuredContentMobileTitle___HRmee",i="typography-module__featuredContentSubtitle___dox6v",s="typography-module__launchpadBody___bAczf",l="typography-module__launchpadCtaExtraText___CUcKt",c="typography-module__launchpadHeader___skM2v",u="typography-module__launchpadlearningLinkWindowsText___cN1Ul",d="typography-module__notes___tC1Jo",m="typography-module__searchGamesTitle___RVAyR",p="typography-module__segoeCaption___2bWwO",h="typography-module__segoeParagraph___Grscl",f="typography-module__segoeTitle___FFISB",v="typography-module__snoByrdButtonLabel___TE3oM",g="typography-module__spotLightSubtitlePortrait___RB7M0",_="typography-module__wishlistButtonFont___FW-gq",y="typography-module__wishlistProductItem___voqNk",b="typography-module__xdsBody1___+TQLW",E="typography-module__xdsBody2___RNdGY",S="typography-module__xdsButtonText___T7YHc",C="typography-module__xdsCaption___RlQY3",P="typography-module__xdsCaption2___9GItG",T="typography-module__xdsDisplay2___5iNfb",w="typography-module__xdsH1___7oFBA",I="typography-module__xdsH2___AvVH4",k="typography-module__xdsH3___kw4Hq",x="typography-module__xdsH5___XwldZ",A="typography-module__xdsH6___c1AoA",N="typography-module__xdsSubTitle1___N02-X",L="typography-module__xdsSubTitle2___6d6Da",M="typography-module__xdsSubTitle3___MaN9J",O="typography-module__xdsTag3___87dP9"},57103:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(85608),a=n(14041);const o=function(e){var{title:t,titleId:n}=e,o=(0,r.__rest)(e,["title","titleId"]);return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},o),t?a.createElement("title",{id:n},t):null,a.createElement("path",{d:"M1329 1203q136 47 245 131t187 195 118 243 41 276h-128q0-164-58-304t-162-244-243-161-305-59q-108 0-206 27t-184 76-155 119-119 155-77 184-27 207H128q0-143 42-274t119-242 186-195 245-133q-78-42-140-102T475 968t-67-156-24-172q0-88 23-170t64-153 100-129T701 88t153-65 170-23q88 0 170 23t153 64 129 100 100 130 65 153 23 170q0 87-23 170t-67 157-106 134-139 102zM512 640q0 106 40 199t110 162 163 110 199 41q106 0 199-40t162-110 110-163 41-199q0-106-40-199t-110-162-163-110-199-41q-106 0-199 40T663 278 553 441t-41 199z"}))}},57937:(e,t,n)=>{"use strict";n.d(t,{qw:()=>Y,WY:()=>Kt,wO:()=>Yt,kV:()=>Wt,gq:()=>Zt.g});n(45993);var r=n(54294),a=n(95609),o=n(27324),i=n(98576),s=n(97560),l=n(77703),c=n(95428),u=n(53373),d=n.n(u),m=n(14041),p=n(93285),h=n(83718),f=(n(6906),n(41506)),v=n.n(f),g=n(67996),_=n.n(g),y=(n(5858),n(17),n(93262),n(47882)),b=n(86090),E=n(91582);n(93831),n(34237),n(28882),n(28344);const S=e=>m.createElement(l.tH,null,(()=>m.createElement(b.qh,v()({},e)))),C=e=>m.createElement(S,v()(v()({},e),{},{render:t=>m.createElement(P,v()(v()({},t),e))})),P=e=>{const t=new URLSearchParams(e.location.search);if(e.queryParams)for(const[n,r]of Object.entries(e.queryParams))t.append(n,r);return m.createElement(b.rd,{to:{pathname:e.redirectTo,search:t.toString()}})};var T=n(17710),w=n(80503);const I=e=>{let{htmlContent:t,className:n}=e;return t?m.createElement("div",{className:n,dangerouslySetInnerHTML:{__html:t}}):null},k=()=>{const e=(0,h.d4)(c.ugf);return e===c.oqV.Off?null:m.createElement(x,{mode:e})},x=e=>{let{mode:t}=e,n=(0,h.d4)(c.TPS);n=n===c.Sxu.DarkHeader?c.Sxu.Light:n;const r=(0,h.d4)((e=>(0,c.l7K)(e,n)));return m.createElement(T.A,{mode:"out-in"},m.createElement(w.A,{key:n,in:!0,timeout:{appear:300,enter:300,exit:100},classNames:"uhf-footer"},m.createElement(I,{htmlContent:r,className:d()("uhf-footer",{"uhf-dark":n===c.Sxu.Dark},`uhf-footer-mode-${t.toLowerCase()}`)})))};n(21417),n(68291),n(98304),n(60537);var A=n(92747),N=n(36359);const L="CFQ7TTC0KGQ8";let M,O,R;const D=e=>{const t=window.location.pathname.toLocaleLowerCase().indexOf(L.toLowerCase())>0?R(window.location.href):M(window.location.href);window.location.href=t,e.preventDefault()},B=e=>{const t=O(window.location.href);window.location.href=t,e.preventDefault()},F=e=>{if(!e.userInfo||e.authenticationState!==c.Kd8.MsaAndXbox)return{idp:"msa",authenticatedState:"3"};const{firstName:t,lastName:n,email:r,cid:a,gamerTag:o,publicGamerPic:i,accountTier:s}=e.userInfo;return{idp:"msa",authenticatedState:"1",firstName:t,lastName:n,memberName:r,cid:a,accountTier:s,nickName:o,tileUrl:i}},U=(e,t)=>{if(t)return{type:"aad",authenticatedState:"signedIn",displayName:t.name};if(!e.userInfo||e.authenticationState!==c.Kd8.MsaAndXbox)return;const{firstName:n,lastName:r,email:a,cid:o,gamerTag:i,publicGamerPic:s}=e.userInfo;return{type:"msa",authenticatedState:"signedIn",firstName:n,lastName:r,cid:o,memberName:a,pictureUrl:s,profile:{profileName:i,profilePictureUrl:s}}},H=(e,t,n)=>n?{meControlOptions:{apiGeneration:"GEN2",currentAccount:U(e,t),authProviderConfig:{type:"webMsaOnly",appSignInUrl:"https://sample.microsoft.com/auth/signIn",appSignInToUrl:"https://sample.microsoft.com/auth/signInTo",appSignOutUrl:"https://sample.microsoft.com/auth/signOut",appSwitchUrl:"https://sample.microsoft.com/auth/switch",appSwitchToUrl:"https://sample.microsoft.com/auth/signInTo",msa:{signOutAndForgetUrl:"https://login.live.com/logout.srf?ct=1544212397&rver=6.7.6631.0&id=000000&ru=https:%2F%2Fsample.microsoft.com%2F",rememberedAccountsUrl:"https://login.live.com/Me.srf?wa=wsignin1.0&rpsnv=13&ct=1544212396&rver=6.7.6631.0&wp=MBI_SSL&wreply=https:%2F%2Fsample.microsoft.com%2F&id=000000"}},appContextConfig:{commands:[{type:"link",id:"xboxprofilelink",text:"Xbox profile",ariaLabel:"Xbox profile",openInNewTab:!1,url:"https://account.xbox.com/Profile?xr=mebarnav"},{type:"link",id:"xboxsettingslink",text:"Xbox settings",ariaLabel:"Xbox settings",openInNewTab:!1,url:"https://account.xbox.com/Settings/Home/?xr=mebarnav#"},{type:"link",id:"xboxsubscriptions",text:"Subscriptions",ariaLabel:"Subscriptions",openInNewTab:!1,url:"https://account.microsoft.com/services?ref=xboxme"},{type:"link",id:"xboxredeemcode",text:"Redeem code",ariaLabel:"Redeem code",openInNewTab:!1,url:"https://redeem.microsoft.com/enter?ref=xboxcom"}]}}}:{meControlOptions:{apiGeneration:"GEN1",rpData:{msaInfo:{signInUrl:window.location.pathname.toLocaleLowerCase().indexOf(L.toLowerCase())>0?R(window.location.href):M(window.location.href),signOutUrl:O(window.location.href)}},userData:F(e)}},V=()=>{var e,t,n,r;null===(e=window.MeControl)||void 0===e||e.API.removeEventListener("beforesignin",D),null===(t=window.MeControl)||void 0===t||t.API.removeEventListener("beforesignoutfromapp",B),null===(n=window.MeControl)||void 0===n||n.API.addEventListener("beforesignin",D),null===(r=window.MeControl)||void 0===r||r.API.addEventListener("beforesignoutfromapp",B)},G=()=>{const e=(0,h.d4)(c._bi),t=(0,h.d4)(c.GYd).userAgent;return(0,y.yd)(null!==t&&void 0!==t?t:"")||e===c.qon.Off?null:m.createElement(q,{mode:e})},q=e=>{let{mode:t}=e;const n=(0,h.d4)(c.TPS),r=(0,h.d4)((e=>(0,c.fTk)(e,n))),a=(0,h.d4)(c.vth),o=(0,h.d4)((e=>(0,c.pzA)(e,c.WTf.EnableV2MeControl)));let i=r;if(t===c.qon.None||t===c.qon.Hidden){const e=/]*?)>/g;i=null===r||void 0===r?void 0:r.replace(e,((e,t)=>t.includes('loading="')?e:``))}const s=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const{aadUser:t}=(0,h.d4)(N.Sq),n=(0,h.d4)(N.ug),r=(0,A.jr)();return R=(0,c.AzV)(),O=(0,c.xrK)(),M=(0,c.wwE)(),(0,m.useCallback)((()=>{new Promise((a=>{var o,i,s;const l=H({userInfo:n?v()(v()({},n),{},{firstName:null!==(o=n.firstName)&&void 0!==o?o:"",lastName:null!==(i=n.lastName)&&void 0!==i?i:"",email:null!==(s=n.email)&&void 0!==s?s:"",publicGamerPic:n.gamerPicUrl}):void 0,authenticationState:n?c.Kd8.MsaAndXbox:c.Kd8.None},t?{authenticatedState:c._et.SignedIn,name:t.name||"",email:t.upn||""}:void 0,e);window.msCommonShell?(window.msCommonShell.load(l),V(),a(!0)):window.onShellReadyToLoad=()=>{window.onShellReadyToLoad=null,window.msCommonShell?(window.msCommonShell.load(l),V(),a(!0)):(r.warn("Unable to find msCommonShell global object to initialize me control"),a(!1))}}))}),[n,t,e,r])}(o),l=(0,m.useCallback)((()=>{var e;(null===(e=null===globalThis||void 0===globalThis?void 0:globalThis.window)||void 0===e?void 0:e.initializeUhfComponents)&&globalThis.window.initializeUhfComponents(),s&&(s(),setTimeout((()=>{var e,t,n;(null===(e=globalThis.window)||void 0===e?void 0:e.innerWidth)<=1400&&(null===(n=null===(t=globalThis.window)||void 0===t?void 0:t.MeControl)||void 0===n?void 0:n.API.setDisplayMode)&&globalThis.window.MeControl.API.setDisplayMode("compact")}),100))}),[s]);return(0,m.useEffect)((()=>{t!==c.qon.Full&&t!==c.qon.Minimal||l()}),[l,t]),m.createElement(m.Fragment,null,m.createElement(T.A,{mode:"out-in"},m.createElement(w.A,{key:n===c.Sxu.DarkHeader?c.Sxu.Dark:n,in:!0,timeout:{appear:300,enter:300,exit:100},classNames:"uhf-header",onEntered:l},m.createElement(I,{htmlContent:i,className:d()("uhf-header",{"uhf-dark":n===c.Sxu.Dark||n===c.Sxu.DarkHeader},{"static-header":n!==c.Sxu.DarkHeader},`uhf-header-mode-${t.toLowerCase()}`)}))),m.createElement("div",{id:"uhf-script-tags",dangerouslySetInnerHTML:{__html:null!==a&&void 0!==a?a:""}}))};var z=n(92309);const X=["key","constraint","experimentBasedRedirect","theme","testConfig"],j=(0,l.EG)({resolved:{},chunkName:()=>"testPanel-TestPanel",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,l.Bi)(n.e(9694).then(n.bind(n,45052))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>45052}),W=()=>{const e=(0,h.d4)(c.Fu$),t=(0,h.d4)(c.a5u),n=(0,h.d4)((e=>(0,c.pzA)(e,c.WTf.EnableTestNav))),r=(0,h.d4)((e=>(0,c.pzA)(e,c.WTf.EnableTestTools))),a=!0!==(0,c.xxW)(e,c.WTf.DisableAdsOptOutSync),o=(0,h.d4)(c.GYd).userAgent,i=(0,y.yd)(null!==o&&void 0!==o?o:"");return m.createElement(l.mo,null,a&&m.createElement(l.Ze,null),m.createElement(l.as,null),m.createElement(E.l$,null),m.createElement(G,null),m.createElement($,null,m.createElement(b.dO,null,(0,c.X5v)().map((n=>{let{key:r,constraint:a,experimentBasedRedirect:o,theme:i,testConfig:s}=n,l=_()(n,X);return(0,c.Q94)(a,e,t)?m.createElement(S,v()({key:r},l)):o&&!1===(0,c.xxW)(e,o.featureGate)?m.createElement(C,{key:r,path:l.path,redirectTo:o.redirect,queryParams:o.redirectQueryParams}):void 0})))),!i&&m.createElement(k,null),(n||r)&&m.createElement(j,null))},$=e=>{let{children:t}=e;const n=(0,h.d4)(c._bi),r=n===c.qon.None||n===c.qon.Off;return m.createElement("div",{role:r?void 0:"main",className:z.O,id:"PageContent",tabIndex:-1},t)};n(8914),n(66264);var J=n(16654),K=n.n(J);class Q{constructor(){0}get(e){return K().get(e)}getAll(){return K().get()}set(e,t,n){const r=this.createCookieOptionsWithDefaults(n);if(r.essential||(0,c.awk)((0,c.OeX)(this.get(c.jNz)),r.categories)){if(!r.sessionOnly){const e="number"===typeof r.maxAgeMilliseconds?r.maxAgeMilliseconds:3888e6;r.expires=r.expires||new Date((new Date).getTime()+e)}return delete r.maxAgeMilliseconds,delete r.categories,delete r.essential,K().set(e,t,r)}}delete(e,t){K().remove(e,this.createCookieOptionsWithDefaults(t))}createCookieOptionsWithDefaults(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v()(v()({sameSite:"lax",path:"/",secure:!0,domain:window.location.hostname},e),{},{essential:!0})}}n(95570),n(11505),n(7680),n(16725),n(93760),n(26047),n(65136),n(93848),n(57485),n(90574);const Y=()=>{const e=(0,h.d4)(c.j17),t=e===c.Sxu.Dark,[n,u]=(0,m.useState)(s.ZJ.DefaultDark),[f,v]=(0,m.useState)(""),g=(0,h.d4)((e=>(0,c.pzA)(e,c.WTf.EnableCookieSourceDebugConsole))),_=(0,h.d4)((e=>(0,c.pzA)(e,c.WTf.EnableInternalCookieList))),y=(0,h.d4)((e=>e.cookies)),b=(0,h.wA)();(0,m.useEffect)((()=>{(e=>{let t;switch(e){case c.Sxu.Light:case c.Sxu.DarkHeader:t=s.ZJ.DefaultLight;break;case c.Sxu.Dark:default:t=s.ZJ.DefaultDark}(0,s.EQ)(t).then((()=>{u(t)}))})(e)}),[e]);const E=(e=>{switch(e){case c.Sxu.Light:case c.Sxu.DarkHeader:return r.S.Light;case c.Sxu.Dark:return r.S.Dark}})(e);return(0,m.useEffect)((()=>{document.body.classList.toggle("theme-dark",t)}),[t,n]),(0,m.useEffect)((()=>{v(navigator.platform)}),[]),(0,m.useEffect)((()=>{if(!_)return;let e=document.cookie;const t=setInterval((()=>{const t=document.cookie;t!==e&&(e=t,b(c.fSQ.fetchCookies.start()))}),1e3);return e&&b(c.fSQ.fetchCookies.start()),()=>clearInterval(t)}),[b,_]),(0,m.useEffect)((()=>{var e;if(_&&y.cookies&&(null===(e=y.cookies)||void 0===e?void 0:e[c.jNz])){const e=((e,t)=>{const n=t.cookiesList.filter((e=>!e.isEssential)),r=t.cookies[c.jNz].match(/-c1=(\d+)-c2=(\d+)-c3=(\d+)/),a=[];if(r&&[r[1],r[2],r[3]].some((e=>"1"===e))&&e&&(n.forEach((e=>{e.cookieName&&t.cookies[e.cookieName]&&a.push({cookieName:e.cookieName,domain:null===e||void 0===e?void 0:e.domain,path:null===e||void 0===e?void 0:e.path}),Object.keys(t.cookies).forEach((t=>{e.cookieName&&t.startsWith(e.cookieName)&&!a.some((e=>"object"===typeof e&&e.cookieName===t))&&a.push({cookieName:t,domain:null===e||void 0===e?void 0:e.domain,path:null===e||void 0===e?void 0:e.path})}))})),a.length>0))return a.forEach((t=>{t.cookieName&&e.delete(t.cookieName,{path:null===t||void 0===t?void 0:t.path,domain:null===t||void 0===t?void 0:t.domain})})),[...a.map((e=>e.cookieName)).filter((e=>e))];return[]})(new Q,y);e.length>0&&b(c.fSQ.deleteCookies(e))}}),[b,y,_]),m.createElement(l.tH,null,(()=>m.createElement("div",{className:d()("appBackground",{"theme-dark":t})},m.createElement(a.b.Provider,{value:{theme:E,themeVersion:o.i.WebPolaris,userColors:i.W.XboxGreen}},m.createElement(p.m,null,m.createElement("html",{"data-platform":f}),g&&m.createElement("script",null,"origDescriptor = Object.getOwnPropertyDescriptor(Document.prototype, 'cookie');\n Object.defineProperty(document, 'cookie', {\n get() {\n return origDescriptor.get.call(this);\n },\n set(value) {\n let obj = {};\n try { Error.captureStackTrace(obj, value); }\n catch(e) { obj = e; } // this is needed to make it work in FF\n console.log(\"Cookie: \", value);\n console.log(\"Cookie Stack: \", obj.stack);\n return origDescriptor.set.call(this, value);\n },\n enumerable: true,\n configurable: true\n });"),m.createElement("body",{"data-theme":(0,s.Tc)(n)})),m.createElement(l.G$,null),m.createElement(W,null)))))};n(5974);var Z=n(12885);n(70926);var ee,te;!function(e){e[e.None=0]="None",e[e.FetchDeviceCode=1]="FetchDeviceCode",e[e.AuthorizationPending=2]="AuthorizationPending",e[e.SigningIn=3]="SigningIn",e[e.Complete=4]="Complete",e[e.Failed=5]="Failed"}(ee||(ee={})),function(e){e[e.MSA=0]="MSA",e[e.AAD=1]="AAD"}(te||(te={}));n(54101);n(42966),n(91022),n(72101),n(45159),n(40257),n(65063),n(84496),n(4121),n(88275),n(78660),n(90435),n(11138),n(75438),n(2758),n(22400),n(61670),n(85715),n(39351),n(25152);var ne=n(20774),re=n(25873),ae=n(33664),oe=n(44246),ie=n(12106),se=n(7247),le=n(97895);n(95372),n(4600),n(25601),n(68884),n(57148);var ce=n(88262),ue=n(36824),de=n(11278),me=n(90442),pe=n(10174);const he={headerMode:c.qon.None,footerMode:c.oqV.None},fe=[{key:"ChangeLocale",path:"/Shell/ChangeLocale",component:pe.U,exact:!0,testConfig:{title:"Change Locale"}},{key:"MsaLogin",path:me.cC,component:de.X,uhfConfig:he},{key:"HealthCheck",path:"/servicestatus/health",exact:!0,uhfConfig:he,hideUHF:!0,isServerOnly:!0,render:()=>m.createElement("div",null,"OK")}],ve=[{key:"404",render:()=>m.createElement(l.M,{error:new Error("Page not found."),statusCode:ue.kG.NotFound})}];var ge=n(13496);const _e=e=>{let{partnerId:t,renderLoading:n,renderError:r,children:a}=e;var o;const[,{isLoading:i,isError:s,error:l}]=(0,ge.G)(t);let c=null!==(o=i?n:a)&&void 0!==o?o:null;return s&&r&&(c=m.cloneElement(r,{error:l})),m.createElement(m.Fragment,null,c)},ye=["component","redirectComponent"],be=["routes"];class Ee{constructor(){this._partnerConfigurations={},this._routeConfigs=[],this._partnersResourceStringsDict={},this._partnerComponents=new WeakMap,this._subscriptions=new Set,this._partnerState={},this._partnerLoadingPromises={},this.getPartnerRouteConfigs=()=>[...this._routeConfigs],this.getPartnerResources=()=>this._partnersResourceStringsDict,this.getPartnerConfigForPath=e=>this._getPartnerConfigs().find((t=>{var n;return null===(n=t.routes)||void 0===n?void 0:n.some((t=>(0,b.B6)(e,t)))})),this.getClientState=()=>this._partnerState,this.getServerState=()=>this._partnerState,this.subscribe=e=>(this._subscriptions.add(e),()=>this._subscriptions.delete(e)),this.loadConfigurationForPath=async e=>{var t,n;const r=this.getPartnerConfigForPath(e);if(r)try{await this._loadPartnerConfigIfReady(r)}catch(a){const e=(0,Z.toError)(a);null===(n=this._telemetryProvider)||void 0===n||n.logger().error(`Failed to load partner configuration ${r.partnerId}`,e),this._setPartnerState(r.partnerId,(0,ce.lceError)(e))}else null===(t=this._telemetryProvider)||void 0===t||t.logger().error(`Failed to find matching config for path: ${e}`)},this.loadPartner=async e=>{var t,n;const r=this._partnerConfigurations[e];if(!r){const n=new Error(`Partner config with id '${e}' not registered before attempting to load`);throw null===(t=this._telemetryProvider)||void 0===t||t.logger().error(n.message,n),this._setPartnerState(e,(0,ce.lceError)(n)),n}try{await this._loadPartnerConfigIfReady(r)}catch(a){const t=(0,Z.toError)(a);null===(n=this._telemetryProvider)||void 0===n||n.logger().error(`Failed to load partner configuration ${e}`,t),this._setPartnerState(r.partnerId,(0,ce.lceError)(t))}},this.isSentryEnabled=()=>!this._getPartnerConfigs().some((e=>!0===e.disableFoundationSentry))}setPartnerPackages(e){var t;return this._validatePartnerConfigs(e),this._processConfigs(e),t=this._routeConfigs,(0,c.uzW)([...fe,...t,...ve]),Object.values(this._partnerConfigurations)}setStore(e){this._store=e}setSagaMiddleware(e){this._middleware=e}setTelemetryProvider(e){this._telemetryProvider=e}getPartnerConfigMap(){return this._partnerConfigurations}async initialize(){this._getPartnerConfigs().forEach((e=>{this._partnerState[e.partnerId]=(0,ce.lceNotRequested)()})),this._partnerLoadingPromises={},await this._loadAllConfigs()}_getPartnerConfigs(){return Object.values(this._partnerConfigurations)}_validatePartnerConfigs(e){if(0===e.length)throw new Error("No partners configured");if(!e.some((e=>{var t;return((null===(t=e.routes)||void 0===t?void 0:t.length)||0)>0})))throw new Error("No routes configured");const t=e.map((e=>e.partnerId)),n=new Set(t);if(t.length!==n.size)throw new Error(`Duplicate partner name found. Partners Configured: ${JSON.stringify(t)}`)}_processConfigs(e){const t={},n=[];this._partnerState={},e.forEach((e=>{const r=this._mapPartnerConfig(e);r.routes&&n.push(...r.routes),t[e.partnerId]=r,this._partnerState[e.partnerId]=ce.LCE_NOT_REQUESTED})),this._routeConfigs=n,this._partnerConfigurations=t}async _loadPartnerConfigIfReady(e){var t,n,r,a,o;const{partnerId:i}=e;switch(this._getPartnerLce(i)){case ce.LCEType.Content:break;case ce.LCEType.Fetching:{const e=this._partnerLoadingPromises[i];e?(null===(t=this._telemetryProvider)||void 0===t||t.logger().info(`[PartnerConfigManager] ${Date.now()} Already Loading Partner Config '${i}' - Waiting on loading promise`),await e,null===(n=this._telemetryProvider)||void 0===n||n.logger().info(`[PartnerConfigManager] ${Date.now()} Done waiting on promise '${i}'`)):null===(r=this._telemetryProvider)||void 0===r||r.logger().info(`[PartnerConfigManager] ${Date.now()} Already Loading Partner Config '${i}' - No loading promise`);break}case ce.LCEType.Error:null===(a=this._telemetryProvider)||void 0===a||a.logger().info(`[PartnerConfigManager] ${Date.now()} Partner Config '${i}'`);break;case ce.LCEType.NotRequested:{null===(o=this._telemetryProvider)||void 0===o||o.logger().info(`[PartnerConfigManager] ${Date.now()} Loading Partner Config '${i}'`);const t=this._loadPartnerConfig(e);this._partnerLoadingPromises[i]=t,await t,this._partnerLoadingPromises[i]=void 0;break}}}async _loadPartnerConfig(e){var t,n;const{partnerId:r}=e;this._setPartnerState(r,(0,ce.lceFetching)());try{if(e.lazyConfig&&this._store){const{redux:t,getResourceStrings:n}=await e.lazyConfig();if(t){const{reducer:e,sagas:n}=t;if(e&&this._store&&this._store.injectReducer(r,e),n&&this._middleware){const e=this._middleware;n.forEach((t=>e.run(t)))}}if(n){const e=this._store.getState(),t=(0,c.P6r)(e);this._partnersResourceStringsDict[r]=await n(t),this._partnersResourceStringsDict=v()({},this._partnersResourceStringsDict)}}null===(t=this._telemetryProvider)||void 0===t||t.logger().info(`[PartnerConfigManager] Loaded Partner Config '${r}'`),this._setPartnerState(r,(0,ce.lceContent)(e))}catch(a){const e=(0,Z.toError)(a);null===(n=this._telemetryProvider)||void 0===n||n.logger().error(`Failed to load partner ${r}`,e),this._setPartnerState(r,(0,ce.lceError)(e))}}async _loadAllConfigs(){for(const e of this._getPartnerConfigs())await this._loadPartnerConfigIfReady(e)}_setPartnerState(e,t){this._partnerState[e]=t,this._partnerState=v()({},this._partnerState),this._subscriptions.forEach((t=>t(e)))}_processPartnerRoute(e,t){const{partnerId:n}=t,{component:r,redirectComponent:a}=e,o=_()(e,ye);let i;if(a)i=a;else if(r){const e=this._partnerComponents.get(r);if(e)i=e;else{const e=e=>m.createElement(_e,{partnerId:n},m.createElement(r,v()({},e)));this._partnerComponents.set(r,e),i=e}}return v()(v()({},o),{},{key:`${n}_${o.key}`,component:i})}_mapPartnerConfig(e){const{routes:t}=e,n=_()(e,be);if(!n.lazyConfig&&!t)return n;const r=n;return t&&(r.routes=t.map((t=>this._processPartnerRoute(t,e)))),r}_getPartnerLce(e){var t,n;return null!==(n=null===(t=this._partnerState[e])||void 0===t?void 0:t.type)&&void 0!==n?n:ce.LCEType.NotRequested}}const Se="telemetry",Ce="authentication",Pe="cookies",Te="session",we="partners";var Ie,ke=n(89979),xe=n(37168),Ae=n(54341),Ne=(n(51453),n(57971),n(16913),n(87054),n(52103),n(97905),n(12729),n(279),n(15385),n(17519),n(78258),n(93094),n(97012),n(52597),n(98409)),Le=n(29180),Me=n(12853),Oe=n(93119),Re=n(34562),De=n(94695),Be=n(67099),Fe=n(88726),Ue=n(15453),He=n(6138),Ve=n(97537);n(81152),n(30329);!function(e){e.FullLocale="FullLocale",e.Language="Language",e.Market="Market",e.Script="Script",e.SitePath="SitePath"}(Ie||(Ie={}));const Ge=new RegExp(`^/(?<${Ie.FullLocale}>(?<${Ie.Language}>[a-z]{2,4})-?(?<${Ie.Script}>[a-z]{4})?-(?<${Ie.Market}>[a-z]{2}|[0-9]{3}))(?<${Ie.SitePath}>[/?].*)?$`,"i");n(14297),n(64552);const qe=Object.keys("MISSING_ENV_VAR").reduce(((e,t)=>(e[t]="MISSING_ENV_VAR"[t],e)),{BUILD_BUILDNUMBER:"1.1.2509.0904"});let ze=!1;const Xe=Math.random().toString();function je(){var e;return"true"===(null===(e=document.querySelector('meta[name="sentry-sampled"]'))||void 0===e?void 0:e.getAttribute("content"))}const We=new Map;async function $e(e,t){if((null===t||void 0===t?void 0:t.partnerId)&&We.has(t.partnerId))return We.get(t.partnerId);if(null===t||void 0===t?void 0:t.lazyConfig){const n=await t.lazyConfig();if(n.getSentryBrowserOptions){const r=await n.getSentryBrowserOptions(e),a=r?Ke(r):null;return We.set(t.partnerId,a),a}}return function(e){let{environment:t,sampledOnService:n,reduxStateOnInitialNavigation:r}=e;var a;if(We.has("default"))return We.get("default");const o=Ke({dsn:"https://86d661e5a4214309841b65c6b52ad6c5@o741402.ingest.sentry.io/5932552",release:"1.1.2509.0904",dist:"1.1.2509.0904",attachStacktrace:!0,environment:t,debug:"production"!==t,integrations:e=>(e.push(Le.s()),e.push(Me.F({console:!1,fetch:!1,xhr:!1})),e.push(Oe.G({setInterval:!1,setTimeout:!1,requestAnimationFrame:!1,XMLHttpRequest:!0,eventTarget:!0})),e.push(Re.dp()),e.push(De.X()),e),sampleRate:(null!==(a=(0,c.Mjw)(r,c.WTf.ClientErrorSampleRate))&&void 0!==a?a:0)/1e5,tracesSampler:()=>n});return We.set("default",o),o}(e)}async function Je(e,t,n){let r=t;const a=t.match(Ge);if(null===a||void 0===a?void 0:a.groups){const e=a.groups[Ie.FullLocale];r=t.replace(`${e}/`,"")}const o={environment:Qe(),sampledOnService:je(),reduxStateOnInitialNavigation:e},i=n.getPartnerConfigForPath(r),s=await $e(o,i),l=Be.o5(),c=Be.KU();c!==s&&(c&&(xe.J5(!0),c.close()),s?(l.setClient(s),xe.J0(),xe.J5()):l.setClient(void 0))}function Ke(e){return new Fe.y(v()(v()({},e),{},{stackParser:Ue.lG,integrations:(0,Ne.mH)(e),transport:e=>He._(e)}))}function Qe(){const e=window.location.hostname,t=qe.SENTRY_PROD_HOST_NAME||"xbox.com",n=qe.SENTRY_INT_HOST_NAME_ID||"origin-int";return e===t||e===`www.${t}`?"production":e.includes(n)?"integration":"development"}function*Ye(){const e=yield(0,A.Jl)(),t=yield(0,ke.Lt)(N.Rs),n=(0,ce.getDataOrPrevious)(t);!0===(null===n||void 0===n?void 0:n.optionalDataCollectionValue)?(e.logger().info(`[sentrySagas] Sentry is being initialized because the user's ODC value is set to ${null===n||void 0===n?void 0:n.optionalDataCollectionValue}`),yield Ze()):(e.logger().info(`[sentrySagas] Sentry is being shut down because the user's ODC value is set to ${null===n||void 0===n?void 0:n.optionalDataCollectionValue}`),xe.VN(0).then((function(t){t?e.logger().info("[sentrySagas] Sentry events queue flushed and closed successfully."):e.logger().warn("[sentrySagas] Sentry events queue could not be flushed within the timeout or no client is defined.")}),(function(t){e.logger().error("[sentrySagas] Failed to flush and close Sentry events queue.",t)})))}function*Ze(){const e=yield(0,A.Jl)();e.logger().info("[sentrySagas] initializeSentrySaga()");!async function(e,t){qe.BUILD_BUILDNUMBER&&""!==qe.BUILD_BUILDNUMBER&&(Ve.T({}),Je(e,window.location.pathname,t),xe.gV({id:Xe}),ze=!0)}(yield(0,ke.Lt)(),yield(0,ke.SD)(we)),async function(e){ze&&xe.gV({id:e})}(e.cv().initialCv)}const et=function*(){(yield(0,ke.SD)(we)).isSentryEnabled()&&(yield(0,ke.p8)(N.zd.SUBMIT_CONSENT_SUCCESS,Ye),yield(0,ke.p8)(N.zd.FETCH_PRIVACY_CONSENT_SUCCESS,Ye),yield(0,ke.p8)(Ae.n.INIT,Ze))};var tt=n(90692),nt=n(35232),rt=n(59419);class at extends N.Nq{constructor(e){super(e.telemetryProvider.logger()),this.gamertagToGamerpicUrl=new Map,this.clientAuthProviderV3=e.clientAuthProviderV3,this.dispatch=e.dispatch,this.aadUserGetter=e.aadUserGetter,this.getAccountSignInUrl=e.getAccountSignInUrl,this.getAccountSignOutUrl=e.getAccountSignOutUrl,this.getCoBrandingSignInUrl=e.getCoBrandingSignInUrl,this.useV2MeControl=e.useV2MeControl,this.telemetryProvider=e.telemetryProvider,this.serverUserXuid=e.serverUserXuid,this.lastAuthenticationDate=this.clientAuthProviderV3.lastAuthenticationDate(),this.setupAadTokenRefresh(),this.updateUserInfoState(),this.clientAuthProviderV3.addEventListener("activeAuthUserChanged",(()=>{this.updateUserInfoState()}))}static async create(e){const t=new URLSearchParams(globalThis.location.search).get("sid"),n=globalThis.parent!==globalThis.window,r=await N.P3.create({telemetryProvider:e.telemetryProvider,locale:e.locale,defaultRedirectUrl:me.cC,silentRedirectUri:me.sx,msaSessionId:n&&t?t:void 0,cookiesProvider:e.cookiesProvider,skipLoginRedirectCounter:e.skipLoginRedirectCounter});return new at(v()(v()({},e),{},{clientAuthProviderV3:r}))}getAuthProvider(){return this.clientAuthProviderV3}startSignInWithRedirect(e,t){var n;return this.cancelAadTokenRefresh(),null===(n=this.hideMsaUserInteractionRequiredBannerAlert)||void 0===n||n.call(this),this.clientAuthProviderV3.startSignInWithRedirect({returnUrlAfterSignIn:e,prompt:null===t||void 0===t?void 0:t.prompt})}async completeSignInAfterRedirectIfNeeded(e){try{const t=await this.clientAuthProviderV3.completeSignInAfterRedirectIfNeeded(e),n=new URLSearchParams(globalThis.location.search);return"true"===n.get("consentFlow")&&(this._logger.info("[ClientAuthenticationProviderV2BackCompat] Completing gaming consent SISU flow"),await this.handleGamingConsentPostProcessing()),await this.updateUserInfoState(),t}catch(t){const e=(0,Z.toError)(t);if(e instanceof N.Yo){const e=await this.clientAuthProviderV3.completeSignInAfterRedirectFromSisu(),t=new URLSearchParams(globalThis.location.hash.replace("#","")).get("state");return t&&this.isGamingConsentSisuFlow(t)&&(this._logger.info("[ClientAuthenticationProviderV2BackCompat] Completing gaming consent SISU flow from hash"),await this.handleGamingConsentPostProcessing()),e}throw e}}startSignOutWithRedirect(e,t){return this.dispatch(N.Xp.resetUserInfo()),this.clientAuthProviderV3.startSignOutWithRedirect({returnUrlAfterSignOut:e,msaSessionId:t})}async getMsaAccessTokenSilently(){const e=this.clientAuthProviderV3.getActiveAuthUser();if(!e)throw new Error("getMsaAccessTokenSilently failed; user is not signed into MSA.");if(e.isFullUser())try{const a=this.clientAuthProviderV3.createMsaCorrelationId();for(var t=arguments.length,n=new Array(t),r=0;re.getOrFetchXboxToken(t)))),!0}catch(n){return!1}}isTokenExpired(e){const t=this.clientAuthProviderV3.getActiveAuthUser();if(!t)return!1;const n=t.getXboxTokenLCE(e);return!!(0,ce.isContent)(n)&&(0,ce.isExpired)(n)}async refreshMeControl(){}async loadExternalTokensAndSignIn(e,t,n){await this.clientAuthProviderV3.signInWithExternalMsaTokens({serverAuthorizationTokenResponse:e,requestTimestamp:t})}createMsaCorrelationId(){return Promise.resolve(this.clientAuthProviderV3.createMsaCorrelationId())}startGamingConsentSisuRemediation(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.clientAuthProviderV3.startGamingConsentSisuRemediation(e,t)}__unstable__dev_tools(){return{showExpiredBanner:()=>this.showMsaUserInteractionRequiredBannerAlert()}}getCachedTokensInternal(){const e=this.clientAuthProviderV3.getActiveAuthUser();if(!e)return{};const t={};return Object.values(N.zW).forEach((n=>{const r=e.getXboxTokenLCE(n),a=(0,ce.getUnexpiredDataOrPrevious)(r);if(a){const{tokenData:e}=a;t[n]={token:e.token,expires:e.expiration,userHash:e.userHash,privileges:e.userPrivileges,consents:e.userConsents}}})),t}async acquireTokenAsyncInternal(e){if(!(0,N.w3)().includes(e))throw new Error("[ClientAuthenticationProviderV2BackCompat] Attempt to acquire token for unknown relying party.");const t=this.clientAuthProviderV3.getActiveAuthUser();if(t&&t.isFullUser())try{const{tokenData:n}=await t.getOrFetchXboxToken(e);return{token:n.token,expires:n.expiration,userHash:n.userHash,privileges:n.userPrivileges,consents:n.userConsents}}catch(n){const e=(0,Z.toError)(n);return this._logger.verbose(`[ClientAuthenticationProviderV2BackCompat] Error in acquireTokenAsyncInternal ${e.message}`),void(e instanceof N.xH&&e.requiresInteraction&&this.showMsaUserInteractionRequiredBannerAlert())}}async updateUserInfoState(){try{await this.clientAuthProviderV3.attemptV2ToV3UserTransition();const e=await this.getUserInfoFromXboxLiveToken();if(!e){const e=this.clientAuthProviderV3.getActiveAuthUser();return e&&e.isSessionUser()?void this._logger.verbose("[ClientAuthenticationProviderV2BackCompat] User is a session user, so not going to resetUserInfo. Exiting early"):(this._logger.verbose("[ClientAuthenticationProviderV2BackCompat] No user info found in updateUserInfoState. Going to clear userInfo"),void this.dispatch(N.Xp.setUserInfo(!1,{userInfo:void 0,isDefaultUserAgeGatingInfo:!0})))}if(this.serverUserXuid&&this.serverUserXuid!==e.xuid){this._logger.warn("[ClientAuthenticationProviderV2BackCompat] - Server user XUID does not match client user XUID. Handling mismatch.");const e=this.clientAuthProviderV3.getActiveAuthUser();null===e||void 0===e||e.destroy();const t=new URL("/auth/clean-up",window.location.origin),n=new URL(window.location.href),r=new URLSearchParams(n.search);n.search=r.toString();const a=new URLSearchParams;throw a.set("returnUrl",n.toString()),t.search=a.toString(),window.location.href=t.toString(),await new Promise((e=>{setTimeout(e,5e3)})),new Error("Server user xuid does not match client user xuid")}this.dispatch(N.Xp.setUserInfo(!0,{userInfo:e,isDefaultUserAgeGatingInfo:!e}))}catch(e){const t=(0,Z.toError)(e);this._logger.error("[ClientAuthenticationProviderV2BackCompat] Error in updateUserInfoState",t)}}async getUserInfoFromXboxLiveToken(){var e;const t=this.clientAuthProviderV3.getActiveAuthUser();if(!t)return;const n=t.getXboxTokenLCE(N.zW.XboxLive),r=(0,ce.getDataOrPrevious)(n);if(!r)return void this._logger.verbose("[ClientAuthenticationProviderV2BackCompat] No XboxLive token found in getUserInfoFromXboxLiveToken.");const a=r.tokenData;if(!a.userXuid||!a.userGamertag)return void this._logger.warn("[ClientAuthenticationProviderV2BackCompat] No userXuid or userGamertag found in XboxLive token in getUserInfoFromXboxLiveToken.");let o="",i="";t.isFullUser()&&(o=null!==(e=t.msaName)&&void 0!==e?e:"",i=t.msaUsername);const s=await this.getOrFetchGamerpic(a.userGamertag);return s||this._logger.warn("[ClientAuthenticationProviderV2BackCompat] Failed to getOrFetchGamerpic for gamertag"),{firstName:o,lastName:"",email:i,xuid:a.userXuid,gamerTag:a.userGamertag,ageGroup:a.userAgeGroup?c.P2Z[a.userAgeGroup]:void 0,privileges:a.userPrivileges,consents:a.userConsents,gamerPicUrl:s}}setupAadTokenRefresh(){this.cancelAadTokenRefresh(),this.refreshAadTimeout=setInterval((async()=>{await this.fetchUpdatedAadToken()}),9e5)}cancelAadTokenRefresh(){this.refreshAadTimeout&&clearInterval(this.refreshAadTimeout)}async fetchUpdatedAadToken(){const e=this.aadUserGetter();try{if(e){const t=(0,c.q6B)(null===c.VTO||void 0===c.VTO?void 0:c.VTO.ENABLE_APP_AUTH),n=await fetch(t?"/.auth/refresh":"/aad/refresh");if(!n.ok)throw this._logger.error("[ClientAuthenticationProviderV2BackCompat] Token refresh failed."),new Error("[ClientAuthenticationProviderV2BackCompat] Token refresh failed.");if(!t){const t=await n.text(),r=(0,nt.A)(t),a=v()(v()({},e),{},{exp:r.exp});this.dispatch(N.Xp.updateAadUser(a,t))}}}catch(t){this.dispatch(N.Xp.updateAadUser(void 0,void 0))}}async getOrFetchGamerpic(e){var t;const n=this.gamertagToGamerpicUrl.get(e);if(n)return n;const r=(0,ue.ak)(this.telemetryProvider),a=this.telemetryProvider.cv().increment(),o=encodeURIComponent(e),i=tt.RequestFactory.withBaseUrl("https://peoplehub-public.xboxlive.com").setCommonHeaders({[tt.HttpHeader.ContentType]:"application/json",[tt.HttpHeader.XXBLContractVersion]:"1"}).setCommonMetadataValue(A.jm,{dependencyName:A.Nz.PeopleHub,dependencyOperationName:"people/gt"}).setCommonMaxRetries(tt.DEFAULT_MAX_RETRIES);try{const n=await r.execute(i.get(`people/gt(${o})`,{headers:{"ms-cv":a,[tt.HttpHeader.ContentType]:"application/json",[tt.HttpHeader.XXBLContractVersion]:"3",[tt.HttpHeader.AcceptLanguage]:"*","x-xbl-client-name":"xbox.com","x-xbl-client-type":"web"}})),s=null===(t=n.data.people[0])||void 0===t?void 0:t.displayPicRaw;if(!s)return;return this.gamertagToGamerpicUrl.set(e,s),s}catch(s){const t=(0,Z.toError)(s);return void this._logger.error(`[ClientAuthenticationProviderV2BackCompat] Failed to fetch gamerpic for gamertag: ${e}`,t)}}isGamingConsentSisuFlow(e){try{const t=decodeURIComponent(e);return t.includes("consentFlow=true")||t.includes("gamingConsent")||globalThis.location.search.includes("consentFlow=true")}catch(t){return!1}}async handleGamingConsentPostProcessing(){try{this._logger.info("[ClientAuthenticationProviderV2BackCompat] Starting gaming consent post-processing");const e=this.clientAuthProviderV3.getActiveAuthUser();if(!e||!e.isFullUser())return void this._logger.warn("[ClientAuthenticationProviderV2BackCompat] No active full user for consent post-processing");const t=(0,N.UG)();this._logger.info("[ClientAuthenticationProviderV2BackCompat] Refreshing Xbox tokens to get updated consent values"),await Promise.all(t.map((async t=>{try{await e.getOrFetchXboxToken(t)}catch(n){const e=(0,Z.toError)(n);this._logger.warn(`[ClientAuthenticationProviderV2BackCompat] Failed to refresh token for ${t}: ${e.message}`)}}))),this._logger.info("[ClientAuthenticationProviderV2BackCompat] Gaming consent post-processing completed")}catch(e){const t=(0,Z.toError)(e);this._logger.error("[ClientAuthenticationProviderV2BackCompat] Error in gaming consent post-processing",t)}}showMsaUserInteractionRequiredBannerAlert(){globalThis.location.pathname.includes(me.cC)||this.hideMsaUserInteractionRequiredBannerAlert||(this.hideMsaUserInteractionRequiredBannerAlert=l.Zv.displayBanner((()=>m.createElement(rt.Q,null))))}}function*ot(){const e=yield(0,ke.T1)(st),t=yield(0,A.Jl)();e?(t.logger().info("[authSaga] Fetching privacy consent"),yield(0,ke.Q7)([(0,ke.s)([N.Xp.fetchPrivacyConsent.success,N.Xp.fetchPrivacyConsent.error]),(0,ke.yJ)(N.Xp.fetchPrivacyConsent.start(!1))])):t.logger().info("[authSaga] User is not an adult user, skipping consent fetch")}function*it(e){yield(0,ke.Q7)([(0,ke.s)([c.VI1.FETCH_EXPERIMENT_DATA_ERROR,c.VI1.FETCH_EXPERIMENT_DATA_SUCCESS]),(0,ke.yJ)(c.VsB.requestExperimentDataFetch(e))])}function*st(){const e=yield(0,N.Y6)(),t=e instanceof N.P3?e:e instanceof at?e.clientAuthProviderV3:void 0;if(!t)return!1;const n=t.getActiveAuthUser();if(!n)return!1;const r=n.getXboxTokenLCE(N.zW.XboxLive),a=(0,ce.getDataOrPrevious)(r);return a&&a.tokenData.userAgeGroup===c.P2Z.Adult}const lt=function*(){const e=yield(0,N.Y6)(),t=e instanceof N.P3?e:e instanceof at?e.clientAuthProviderV3:void 0;if(t){if(!t.initialized){const e=(0,oe.Od)((e=>{const n=t=>{e(t)};return t.addEventListener("initialized",n),()=>t.removeEventListener("initialized",n)}));yield(0,ke.s)(e),e.close()}t.getActiveAuthUser()?(yield(0,ke.T1)(ot),yield(0,ke.T1)(it,c.V1B.SilentSignIn)):yield(0,ke.T1)(it,c.V1B.SignInUnavailable),yield(0,ke.yJ)(c.Em_.setBootstrapInitialized());const e=(0,oe.Od)((e=>{const n=t=>{e(t)};return t.addEventListener("activeAuthUserChanged",n),()=>t.removeEventListener("activeAuthUserChanged",n)}));yield(0,ke.jP)(e,(function*(e){e.authStateChange!==N.wd.SignInUnavailable&&(yield(0,ke.T1)(ot)),yield(0,ke.yJ)(c.VsB.requestExperimentDataFetch((e=>{switch(e){case N.wd.DeviceCodeSignIn:return c.V1B.DeviceCodeSignIn;case N.wd.InteractiveSignIn:return c.V1B.InteractiveSignIn;case N.wd.SignInUnavailable:return c.V1B.SignInUnavailable;case N.wd.SilentSignIn:return c.V1B.SilentSignIn}return c.V1B.Unknown})(e.authStateChange)))}))}else yield(0,ke.yJ)(c.Em_.setBootstrapInitialized())};async function ct(e){let{locale:t,clientIp:n,telemetryProvider:r,authenticationProvider:a,isStaging:o,anonToken:i,deviceId:s,platform:l}=e;const u=function(e){let{deviceId:t,locale:n,clientIp:r,platform:a}=e;const o=new URLSearchParams;return t&&o.append("deviceId",t),r&&o.append("clientIp",r),a&&o.append("platform",a),o.append("appVersion",c.VTO.BUILD_VERSION),o.append("env",c.VTO.DEPLOYMENT_ENV),o.append("locale",n),`experimentation?${o.toString()}`}({deviceId:s,locale:t,clientIp:n,platform:l});try{const e=await(0,ue.j9)(u,{addAuthorization:!0,isRequired:!1},r,a,{anonToken:i},{aadToken:"",isMandatory:!1},{dependencyName:A.Nz.EmeraldXbetService,dependencyOperationName:"Experimentation"},o,{[ue.Bw.MsApiVersion]:"2.0"});if(!(0,c.RJH)(e.status)||!e.data)throw new ue._7("Failed to get data for experimentation",e.status);return e.data.exp}catch(d){const e=(0,Z.toError)(d);return void r.logger().error("Experimentation info fetch failed.",e)}}function*ut(e){const t=(yield(0,c.V79)()).get(c.e2),n=yield(0,N.Y6)(),r=yield(0,ke.T1)([n,n.isAuthenticated]),a=yield(0,ke.Lt)(c.XKG);((0,ce.isError)(a)||r||t)&&(yield(0,ke.yJ)(c.VsB.setExperimentDataToLoading()),yield function*(e,t,n){try{const r=yield(0,N.Y6)(),a=yield(0,ke.Lt)(c.P6r),o=yield(0,ke.Lt)(c.GYd),i=yield(0,ke.Lt)(c.pzA,c.WTf.StagingFD),s=yield(0,A.Jl)(),l=new y.P6(null===o||void 0===o?void 0:o.userAgent),u=yield(0,ke.T1)(ct,{locale:a.localeWithScript,clientIp:o.forwardedIp,telemetryProvider:s,authenticationProvider:r,anonToken:o.anonToken,isStaging:i,deviceId:n,platform:l.osName});if(!u)throw new Error("Failed to fetch experimentation data");{yield(0,ke.yJ)(c.VsB.fetchExperimentDataSuccess(u,e));const r=yield(0,ke.Lt)(N.Rs);s.logExperimentationSnapshot(u,v()({experimentDataUpdateReason:e},(0,ce.getDataOrPrevious)(r)),!!n,!!t)}}catch(r){const e=(0,Z.toError)(r);yield(0,ke.yJ)(c.VsB.fetchExperimentDataError(e))}}(e.assignmentUpdateTrigger,r,t))}function*dt(){yield(0,ke.p8)(c.VI1.REQUEST_EXPERIMENT_DATA_FETCH,ut)}var mt=n(41964);function*pt(e){var t;let n;const r=new URLSearchParams(e);if(n=null===(t=(0,c.l_d)(r,ue.kw.ThemeOverride))||void 0===t?void 0:t.value,n||(n=yield(0,ke.Lt)(c._cZ,c.WTf.SiteThemeOverride)),n)switch(n.toLowerCase()){case"light":return c.Sxu.Light;case"dark":return c.Sxu.Dark}}const ht=(e,t,n)=>{n?e.set(c.ziD,n,{essential:!0}):e.delete(c.ziD)};function*ft(e,t,n,r){const a=yield(0,ke.T1)(pt,t),o=yield(0,c.V79)();if(a)return yield(0,ke.yJ)(c.F6E.setTheme(a)),void(yield(0,ke.T1)(ht,o,e,a));let i,s=null===n||void 0===n?void 0:n.theme;if(!s&&(null===n||void 0===n?void 0:n.lazyConfig)){s=(yield(0,ke.T1)(n.lazyConfig)).theme}if(s&&n){const t=s;t&&(i=(e=>"function"===typeof e)(t)?yield(0,ke.Lt)((r=>t(r,e,n))):t),i?(yield(0,ke.yJ)(c.F6E.setTheme(i)),yield(0,ke.T1)(ht,o,e,i)):r||(yield(0,ke.yJ)(c.F6E.resetTheme()),yield(0,ke.T1)(ht,o,e,void 0))}else{const e=o.get(c.ziD);let t;e&&(t=e in c.Sxu?c.Sxu[e]:void 0),t?yield(0,ke.yJ)(c.F6E.setTheme(t)):yield(0,ke.yJ)(c.F6E.resetTheme())}}function*vt(e,t,n,r){if(!e||!e.lazyConfig)return;const a=yield(0,ke.T1)(e.lazyConfig);if(a.fetchDataSaga&&(!e.requiresNewRequest||e.requiresNewRequest(e.path,t,n)||r)){const n=yield(0,ke.Lt)(c.a5u),r=yield(0,A.ai)(),i=(0,c.x6f)(e,n);yield(0,ke.yJ)(c.YOM.pageDataRequest.start(i));try{yield(0,ke.T1)(a.fetchDataSaga,e,t),yield(0,ke.yJ)(c.YOM.pageDataRequest.success(i));let n=null===e||void 0===e?void 0:e.uhfConfig;if((0,mt.T)(n)){n=yield(0,ke.T1)(n)}}catch(o){const e=(0,Z.toError)(o);r.error(`Failed to fetch page data for path: ${t.pathname}`,e),yield(0,ke.yJ)(c.YOM.pageDataRequest.error(i,e))}}}function*gt(e,t,n){const r=yield(0,c.nDP)(e.pathname),a=yield(0,ke.SD)(we);yield(0,ke.T1)(a.loadConfigurationForPath,e.pathname),yield(0,ke.T1)(ft,e.pathname,e.search,r,!0),yield(0,ke.T1)(vt,r,e,t,n),yield(0,ke.T1)(ft,e.pathname,e.search,r,!1)}function*_t(e){var t,n,r,a;const o=yield(0,c.nDP)(e.newLocation.pathname);if(null===o||void 0===o?void 0:o.isServerOnly)(null===(n=null===(t=e.oldLocation)||void 0===t?void 0:t.pathname)||void 0===n?void 0:n.toLowerCase())!==(null===(a=null===(r=e.newLocation)||void 0===r?void 0:r.pathname)||void 0===a?void 0:a.toLowerCase())&&globalThis.location.reload();else{const t=yield(0,ke.Lt)(),n=yield(0,ke.SD)(we);n.isSentryEnabled()&&(yield(0,ke.T1)(Je,t,e.newLocation.pathname,n)),yield(0,ke.T1)(gt,e.newLocation,e.oldLocation,e.forceRefresh)}}function*yt(){yield(0,ke.jP)(c.yV4.LOCATION_CHANGE,_t)}function*bt(){(yield(0,A.Jl)()).resetAuthenticationState()}function*Et(){yield(0,ke.jP)(N.zd.RESET_USER_INFO,bt)}function*St(){var e;const t=yield(0,ke.Lt)(c.a5u),n=yield(0,A.Jl)(),r=yield(0,c.wRW)(),a=null!==(e=null===c.VTO||void 0===c.VTO?void 0:c.VTO.UHF_TARGETING_ID)&&void 0!==e?e:"Xbox_Com",o=yield(0,ke.Lt)(c.pzA,c.WTf.StagingFD),i=yield(0,ke.Lt)(c.pzA,c.WTf.DisableUhfWcp),s=yield(0,ke.T1)(ue.cO,`uhf?locale=${t}&targeting=${a}&cookieComplianceEnabled=${!i}`,n,r,{dependencyName:A.Nz.EmeraldXbetService,dependencyOperationName:"UHF"},o,void 0,void 0,{timeout:15e3});if(!(0,c.RJH)(s.status)||!s.data)throw new Error("No data found from uhf response");return s.data}function*Ct(e){try{const e=yield(0,ke.T1)(St);if(!e)throw new Error("Failed to fetch metadata for UHF");yield(0,ke.yJ)(c.Hde.fetchUhf.success(e))}catch(t){const e=(0,Z.toError)(t);console.error(e),yield(0,ke.yJ)(c.Hde.fetchUhf.error(e))}}function*Pt(e){const t=yield(0,c.nDP)(e);let n=null===t||void 0===t?void 0:t.uhfConfig;if((0,mt.T)(n)){n=yield(0,ke.T1)(n)}const r=null===n||void 0===n?void 0:n.headerMode;r?yield(0,ke.yJ)(c.Hde.setHeaderMode(r)):yield(0,ke.yJ)(c.Hde.resetHeaderMode());const a=null===n||void 0===n?void 0:n.footerMode;a?yield(0,ke.yJ)(c.Hde.setFooterMode(a)):yield(0,ke.yJ)(c.Hde.resetFooterMode())}function*Tt(e){yield(0,ke.T1)(Pt,e.newLocation.pathname)}function*wt(){yield(0,ke.jP)(c.VoS.FETCH_UHF_START,Ct),yield(0,ke.jP)(c.yV4.LOCATION_CHANGE,Tt)}var It=n(98838);function*kt(e,t){const n=yield(0,A.Jl)(),r=yield(0,N.Y6)();let a;try{a=yield(0,ke.T1)([r,r.getMsaAccessTokenSilently],e)}catch(s){const e=(0,Z.toError)(s);n.logger().error(`[userConsentServiceSagas] Error acquiring MSA \n token to authenticate UCS calls: ${e.message}`)}const o={getToken:()=>Promise.resolve(a?{token:`Bearer ${a}`}:null)},i=yield(0,ke.Lt)(c.P6r);return new It.UnifiedConsentService(o,(()=>Promise.resolve(i.localeWithScript)),(()=>{const e=n.cv().increment();return Promise.resolve(e)}),(0,A.jF)(n),t)}function xt(e){let{id:t,values:n,modelType:r,consentSurface:a}=e;return function*(){const e=yield(0,A.Jl)(),o=yield(0,ke.T1)(kt,N.sX,a);try{e.logger().info(`[userConsentServiceSagas] Submitting privacy consent id: ${t}, values: ${JSON.stringify(n)}`),yield o.submitConsent({id:t,values:n,consentSurface:a}),yield(0,ke.yJ)(N.Xp.submitConsent.success({id:t,values:n,modelType:r})),yield(0,ke.T1)(Mt)}catch(i){yield(0,ke.yJ)(N.Xp.submitConsent.error((0,Z.toError)(i),r))}}()}function At(e){let{consentSurface:t}=e;return function*(){const e=yield(0,A.Jl)(),n=yield(0,ke.T1)(kt,N.sX,t);try{e.logger().info("[userConsentServiceSagas] Fetching privacy consent ui details");const r=yield n.getPrivacyConsentUiDetails();yield(0,ke.yJ)(N.Xp.fetchPrivacyConsentUiDetails.success(r,t))}catch(r){const n=(0,Z.toError)(r);e.logger().error(`[userConsentServiceSagas] Error: ${n.message}`),yield(0,ke.yJ)(N.Xp.fetchPrivacyConsentUiDetails.error(n,t))}}()}function Nt(e){let{shouldSendSnapshot:t}=e;return function*(){const e=yield(0,A.Jl)(),n=yield(0,ke.T1)(kt,N.v5);try{e.logger().info("[userConsentServiceSagas] Fetching privacy consent");const r=yield n.getPrivacyConsent();yield(0,ke.yJ)(N.Xp.fetchPrivacyConsent.success(r)),t&&(yield(0,ke.T1)(Mt))}catch(r){const t=(0,Z.toError)(r);e.logger().info(`[userConsentServiceSagas] Error: ${t.message}`),yield(0,ke.yJ)(N.Xp.fetchPrivacyConsent.error(t))}}()}function*Lt(){const e=yield(0,ke.Lt)(N.Rs);if((0,ce.isContent)(e)&&e.cacheTimeInMS){const t=yield(0,A.Jl)(),n=6e5,r=e.cacheTimeInMS-(Date.now()-e.lastFetchedMS)-n;if(r<=0)throw new Error("[userConsentServiceSagas] timeMSUntilExpiration is negative, aborting");const a=Math.floor(r/36e5),o=Math.floor(r%36e5/6e4),i=Math.floor(r%6e4/1e3);t.logger().info(`[userConsentServiceSagas] Starting privacy consent data refetch delay for: ${a} hours, ${o} minutes and ${i} seconds`),yield(0,ke.cb)(r),t.logger().info("[userConsentServiceSagas] Cached privacy consent data is about to expire in 10 minutes, attempting to refresh"),yield(0,ke.yJ)(N.Xp.fetchPrivacyConsent.start())}}function*Mt(){const e=yield(0,A.Jl)(),t=yield(0,ke.Lt)(N.Rs),n=(0,ce.getDataOrPrevious)(t);if(n){const t=(yield(0,c.V79)()).get(c.e2),r=yield(0,N.Y6)(),a=yield(0,ke.T1)([r,r.isAuthenticated]),o=yield(0,ke.Lt)(c.vP3);e.logger().info(`[userConsentServiceSagas] Logging experiment snapshot with updated consent values: ${JSON.stringify(n)}`),e.logExperimentationSnapshot(o,v()({experimentDataUpdateReason:c.V1B.ConsentValuesUpdated},n),!!t,!!a)}}function*Ot(){yield(0,ke.jP)(N.zd.SUBMIT_CONSENT,xt),yield(0,ke.jP)(N.zd.FETCH_PRIVACY_CONSENT_UI_DETAILS,At),yield(0,ke.jP)(N.zd.FETCH_PRIVACY_CONSENT,Nt),yield(0,ke.p8)([N.zd.FETCH_PRIVACY_CONSENT_SUCCESS,N.zd.FETCH_PRIVACY_CONSENT_UI_DETAILS_SUCCESS,N.zd.SUBMIT_CONSENT_SUCCESS],Lt)}function*Rt(){var e,t,n;try{const r={addAuthorization:!0,isRequired:!0},a=yield(0,A.Jl)(),o=yield(0,N.Y6)(),i=yield(0,ke.T1)(c.wRW),s=yield(0,ke.T1)(N.zG),l=yield(0,ke.Lt)(c.Fu$),u=yield(0,ke.Lt)(c.pzA,c.WTf.StagingFD),d=v()({[ue.Bw.MsApiVersion]:"1.0"},(0,ue.Dd)(l)),m=yield(0,ke.Lt)(c.P6r),p=yield(0,ke.Lt)(c.ILr),h={dependencyName:A.Nz.EmeraldXbetService,dependencyOperationName:"FetchInternalCookies"},f=new URLSearchParams;f.append(ue.hV.dataId,"DeveloperContent/FDData/InternalCookiesListExp"),f.append(ue.hV.market,m.localeWithScript),f.append(ue.hV.language,m.language),f.append(ue.hV.targetingTags,"exp.enableInternalCookieList"),f.append(ue.hV.usesTargeting,"true"),p&&f.append(ue.hV.isPreview,"true");const g=`cmscontent?${f.toString()}`,_=yield(0,ke.T1)(ue.j9,g,r,a,o,i,s,h,u,d);let y=[];_&&(y=(null===(n=null===(t=null===(e=_.data)||void 0===e?void 0:e.item)||void 0===t?void 0:t.nonEssentialCookies)||void 0===n?void 0:n.map((e=>({cookieName:null===e||void 0===e?void 0:e.cookieName,isEssential:"true"===(null===e||void 0===e?void 0:e.isEssential),domain:null===e||void 0===e?void 0:e.domain,path:null===e||void 0===e?void 0:e.path}))))||[]);const b={cookiesList:y,cookies:yield(0,ke.T1)((()=>{const e=document.cookie,t={};return e.split(";").forEach((e=>{const[n,...r]=e.trim().split("=");n&&(t[n]=decodeURIComponent(r.join("=")))})),t}))};yield(0,ke.yJ)(c.fSQ.fetchCookies.success(b))}catch(r){yield(0,ke.yJ)(c.fSQ.fetchCookies.error({error:"Failed to fetch cookies"}))}}function*Dt(){yield(0,ke.p8)(c.t3X.FETCH_COOKIES,Rt)}var Bt=n(2383);const Ft=e=>{let{configManager:t,children:n}=e;const{subscribe:r,getClientState:a,getServerState:o,loadPartner:i,getPartnerConfigForPath:s}=t,l=(0,m.useSyncExternalStore)(r,a,o),c=t.getPartnerConfigMap(),u=(0,m.useMemo)((()=>({partnerLoadingState:l,loadPartner:i,partnerConfigs:c,getPartnerConfigForPath:s})),[l,i,c,s]);return m.createElement(Bt.S.Provider,{value:u},n)};n(5246),n(74310);var Ut=n(82419),Ht=n(14764),Vt=n(64036),Gt=n(46458),qt=n(49285);const zt=(0,Vt.$y)();let Xt=!1;new WeakSet;var jt=n(28581);const Wt=e=>{(0,ne.ai)().then((async()=>{var t,n;const r=new Ee,a=r.setPartnerPackages(e.partnerConfigurations),o=new Set(e.clientRelyingParties||[]),i=new Set(e.requiredCookieRelyingParties||[]);for(const e of a)if(e.serverRelyingParties)for(const t of e.serverRelyingParties)i.add(t),o.add(t);(0,N.QB)(Array.from(o)),(0,N.Mo)(Array.from(i));const{store:s}=(()=>{const e=window.__PRELOADED_STATE__;return delete window.__PRELOADED_STATE__,{store:(0,qt.R)(Gt.v,e,(0,Ht.t)((0,Ut.applyMiddleware)(zt.enhancer))),preloadedState:e}})(),u=s.dispatch;u(c.Em_.setIsReactDomHydrating(!0));const d=s.getState(),p=(0,c.P6r)(d),f=(0,c.Fu$)(d),g=(0,c.GYd)(d),_=(0,c.ILr)(d),y=()=>(0,N.Sq)(s.getState()).aadUser,b=(0,c.pzA)(d,c.WTf.EnableV2MeControl),E=(0,jt.no)(s.getState),S=new Q;let C=S.get(c.e2);"undefined"===(null===C||void 0===C?void 0:C.toLowerCase())&&(S.delete(c.e2),C=void 0);const P=null!==C&&void 0!==C?C:(0,ie.A)().replace(/-/g,"").toUpperCase();if(!C){const e=g.origin?new URL(g.origin).host:"";S.set(c.e2,P,{maxAgeMilliseconds:31536e6,sameSite:"none",domain:$t(e),essential:!1})}let T;u(c.Em_.setDeviceId(P));const w=null!==(t=(0,c.pzA)(d,c.WTf.SkipRedirectCounter))&&void 0!==t&&t,I=p.localeWithScript,k=(0,c.BaY)(I),x=(0,c.CH1)(I),L=(0,c.d6Y)(I),M=null===(n=(0,N.ug)(d))||void 0===n?void 0:n.xuid;e.customAuthProvider?T=e.customAuthProvider:(T=await at.create({telemetryProvider:E,aadUserGetter:y,dispatch:u,getAccountSignInUrl:k,getAccountSignOutUrl:x,getCoBrandingSignInUrl:L,useV2MeControl:b,serverUserXuid:M,locale:I,cookiesProvider:S,skipLoginRedirectCounter:w}),E.logAuthAction({name:"XboxInitializedAuthVersion",version:"v3"}));const O=((e,t,n,r,a)=>({[Se]:e,[Ce]:t,[Pe]:n,[Te]:r,[we]:a}))(E,T,S,null,r),R=(e=>{Xt&&console.warn("Double configuration of saga middleware detected. Ignoring.");const t=(0,oe.Ay)({context:e,onError:e=>{xe.Cp(e)}});return zt.addMiddleware(t),Xt=!0,t})(O),D=(0,c.atP)(window.location.pathname,I);r.setSagaMiddleware(R),r.setStore(s),r.setTelemetryProvider(E),await r.initialize(),await r.loadConfigurationForPath(D);const B=(0,c.a_R)(D,f,_,I);if(B&&B.lazyConfig){const{bootstrapClientEnvironmentSaga:e}=await B.lazyConfig();if(e)try{await R.run(e).toPromise()}catch(z){z instanceof Error?E.logger().error("bootstrapClientEnvironmentSaga error",z):E.logger().error("unknown bootstrapClientEnvironmentSaga error")}}const F=s.getState();var U;U=R,[wt,Et,yt,dt,Ot,et,lt,Dt].forEach((e=>{U.run(e)}));const H=await(async(e,t,n)=>{const r=n?await n(e):await(0,le.lu)(e);return e=>{const n=(0,A.jr)();(0,m.useSyncExternalStore)(t.subscribe,t.getClientState,t.getServerState);const a=t.getPartnerResources(),o=(0,m.useMemo)((()=>v()({baseStrings:r},a)),[a]),i=(0,m.useCallback)((e=>(n.error(e.message),()=>e.path.join("."))),[n]);return m.createElement(se.p,v()({messages:o,onError:i},e))}})(p,r,e.getResourceStringsAsync),V=(0,c.vP3)(F);function G(){return(0,m.useEffect)((()=>{u(c.Em_.setIsReactDomHydrating(!1))}),[]),m.createElement(l.AZ,{cV:E.cv().get()},(()=>m.createElement(h.Kq,{store:s,serverState:F},m.createElement(c.jcx.Provider,{value:S},m.createElement(A.be.Provider,{value:E},m.createElement(N.gZ.Provider,{value:T},m.createElement(H,null,m.createElement(ae.Kd,{basename:I},m.createElement(Ft,{configManager:r},m.createElement(e.app,null))))))))))}E.logExperimentationSnapshot(V,{experimentDataUpdateReason:c.V1B.AppLoad},!!S.get(c.e2),!!M);const q=document.getElementById("root");(0,re.c)(q,m.createElement(G,null),{onRecoverableError:async function(e){const t=(0,c.atP)(window.location.pathname,p.localeWithScript),n=r.getPartnerConfigForPath(t);if(n&&n.lazyConfig)try{const{onRecoverableReactErrorSaga:t}=await n.lazyConfig();t&&await(0,oe._H)({getState:s.getState.bind(s),dispatch:s.dispatch.bind(s),context:O},t,e).toPromise()}catch(e){E.logger().error(`onRecoverableError error from partner: ${n.partnerId}`,(0,Z.toError)(e))}}})}))};function $t(e){return`.${e.split(":")[0].split(".").slice(-2).join(".")}`}n(40890);const Jt=/^(\/[^/]+)?\/store\/(cart|buy)(\/)?(\?.*)?$/i,Kt=e=>{const t=(0,b.W6)(),n=(0,h.d4)(c.a5u),r=(0,h.d4)(c.Fu$),a=(0,c.VRc)(),o=(0,h.d4)((e=>(0,c.pzA)(e,c.WTf.DisableUhfXboxCart))),i=(0,h.d4)((e=>(0,c.pzA)(e,c.WTf.EnablePlayPathNavigation))),s=(0,A.jr)(),l=!o&&!!a&&a.enableXboxCart,u=(0,h.d4)(c.j17)===c.Sxu.Dark,d=(0,m.useCallback)((e=>{var a;const o=(e=>{let t=e,n=0;for(;t&&"A"!==t.nodeName&&n<10;)t=t.nodeName?t.parentElement:null,++n;return t||void 0})(e.target);if(!o)return;if(o.target&&"_self"!==o.target)return;if(!o.href)return;if(0===(o.getAttribute("href")||"").indexOf("#")||0===o.href.replace(window.location.origin+window.location.pathname,"").indexOf("#"))return;const d=new URL(o.href,window.location.origin);let m,p=!1;const h=new URLSearchParams(window.location.search),f=null===(a=(0,c.l_d)(h,ue.hV.ocid))||void 0===a?void 0:a.value;if(f&&d.searchParams.append(ue.hV.ocid,f),(0,c.PE5)(d.host)){const e=(0,c.atP)(d.pathname,n),t=(0,c.a_R)(e,r,void 0,n);if(t){m={pathname:e,search:d.search,hash:d.hash},p=!t.isServerOnly;const r=(0,c.atP)(window.location.pathname,n);i&&(e.startsWith("/play")&&!r.startsWith("/play")||!e.startsWith("/play")&&r.startsWith("/play"))&&(p=!1,s.info("Performing full browser navigation for /play/* path"))}}else if(l&&("https://www.microsoft.com"===(v=d).origin&&Jt.test(v.pathname)))u&&d.searchParams.append(ue.kw.ThemeOverride,"dark"),m={pathname:"/cart",search:d.search};else if((0,c.X2U)(d)){const e=(0,c.ich)(d,void 0),t=new URL(e,window.location.origin);m={pathname:t.pathname,search:t.search}}var v;if(m)try{p&&(e.preventDefault(),t.location.pathname!==m.pathname&&t.push(m))}catch(g){s.error("Error occurred while trying to navigate to target location",g)}}),[l,n,r,i,s,u,t]);return m.createElement("div",{onClick:e=>{e.defaultPrevented||e.metaKey||e.ctrlKey||e.shiftKey||0!==e.button||d(e)},onKeyPress:e=>{e.defaultPrevented||e.metaKey||e.ctrlKey||e.shiftKey||"Enter"!==e.key&&"Space"!==e.key||d(e)}},e.children)},Qt=(0,l.sT)({resolved:{},chunkName:()=>"SlotIndicator",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(2518).then(n.bind(n,3705)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>3705}),Yt=()=>c.VTO.DEPLOYMENT_SLOT&&"production"!==c.VTO.DEPLOYMENT_SLOT?m.createElement(Qt,null):null;var Zt=n(96521);n(13283),n(1264),n(22666)},58674:(e,t,n)=>{"use strict";n.d(t,{WS:()=>o,kL:()=>r,ym:()=>a});var r="ModuleContainer-module__container___pkhPl",a="ModuleContainer-module__informationModuleContainer___nGoBj",o="ModuleContainer-module__sectionBackground___1iE6r"},58810:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(14041);const a=function(e){return r.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),r.createElement("path",{d:"M12.921 2.001l.117.007a1 1 0 010 1.986l-.117.007H7l-.176.005a3 3 0 00-2.819 2.819L4 7v18l.005.176a3 3 0 002.819 2.819l.176.005h18l.176-.005a3 3 0 002.819-2.819l.005-.176v-6l.007-.116a1 1 0 011.986 0L30 19v6l-.005.217a5 5 0 01-4.772 4.778l-.223.005H7l-.217-.004a5 5 0 01-4.778-4.773L2 25.001v-18l.005-.217a5 5 0 014.772-4.778L7 2.001h5.921zm16.079 0c.27 0 .505.1.703.297a.961.961 0 01.297.703v10c0 .27-.099.505-.297.703a.961.961 0 01-.703.297.961.961 0 01-.703-.297.961.961 0 01-.297-.703V5.407L17.703 15.704a.929.929 0 01-.703.297.929.929 0 01-.703-.297c-.198-.218-.297-.453-.297-.703 0-.27.099-.505.297-.703L26.594 4.001H19a.961.961 0 01-.703-.297.961.961 0 01-.297-.703c0-.27.099-.505.297-.703A.961.961 0 0119 2.001h10z",fillRule:"evenodd"}))}},58869:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(85608),a=n(14041);const o=function(e){var{title:t,titleId:n}=e,o=(0,r.__rest)(e,["title","titleId"]);return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 6272 2048",width:"1em",height:"1em","aria-labelledby":n},o),t?a.createElement("title",{id:n},t):null,a.createElement("path",{d:"M928 1856q-128 0-246-33t-222-93-188-146-145-188-94-221T0 928q0-128 33-246t93-222 146-188 188-145 221-94T928 0q128 0 246 33t222 93 188 146 145 188 94 221 33 247q0 128-33 246t-93 222-145 188-188 145-222 94-247 33zm285-904l-81 130h237l80 129h153l-405-648-324 519H506l81-130h248l81-130H396l-81 130h119l-162 259h673l252-403 91 144h-75zM558 563l-81 130h534l81-130H558zm5022 1485h-270l280-568-419-871h278l284 588 278-588h261l-692 1439zm-1030-427q-104 0-191-43t-151-114-99-165-36-192q0-102 36-194t102-164 154-113 194-42q87 0 165 31t139 94V609h249v997h-249v-109q-63 60-144 92t-169 32zm43-800q-57 0-106 21t-87 59-58 87-22 107v27q0 57 21 106t59 86 86 58 107 21q53 0 101-20t86-55 60-82 25-101v-41q0-56-21-105t-59-87-86-59-106-22zm-649 785h-249V208l249-80v1478zm-1177 0h-271V208h318q158 0 319-1 92 0 171 35t138 95 92 140 34 172q0 99-37 181t-100 142-149 92-182 33h-333v509zm0-1152v407h165q82 0 164 1 43 0 80-16t64-44 44-65 16-80q0-42-16-79t-44-65-65-44-80-16h-164q-82 0-164 1z"}))}},59171:(e,t,n)=>{"use strict";n.d(t,{g:()=>i,gY:()=>o,u7:()=>r,wD:()=>a});const r=0,a=7500,o=5e3,i=5e3},59454:(e,t,n)=>{"use strict";var r,a,o;n.d(t,{Ay:()=>r,_z:()=>o,nl:()=>a,y1:()=>i}),function(e){e.Acquisition="Acquisition",e.AccountLink="AccountLink",e.Buy="Buy",e.BuyToOwn="BuyToOwn",e.Cart="Cart",e.CloudPlay="CloudPlay",e.Ferdinand="Ferdinand",e.EditionSelector="EditionSelector",e.Extend="Extend",e.Get="Get",e.Gift="Gift",e.Install="Install",e.Join="Join",e.Manage="Manage",e.NotSoldSeparately="NotSoldSeparately",e.OpenInStore="OpenInStore",e.RedeemACode="RedeemACode",e.Remove="Remove",e.SkuSelector="SkuSelector",e.Trial="Trial",e.Upsell="Upsell",e.View="View",e.Wishlist="Wishlist"}(r||(r={})),function(e){e[e.Desktop=0]="Desktop",e[e.Mobile=1]="Mobile",e[e.MobileStickyHeader=2]="MobileStickyHeader",e[e.Overflow=3]="Overflow",e[e.CondensedDesktop=4]="CondensedDesktop",e[e.CondensedMobile=5]="CondensedMobile"}(a||(a={})),function(e){e[e.PDP=0]="PDP",e[e.PDPPageBar=1]="PDPPageBar",e[e.ContextualStore=2]="ContextualStore"}(o||(o={}));const i={[r.CloudPlay]:700,[r.Ferdinand]:750,[r.Manage]:801,[r.AccountLink]:850,[r.Install]:900,[r.Extend]:901,[r.Upsell]:1e3,[r.NotSoldSeparately]:1050,[r.Acquisition]:1100,[r.BuyToOwn]:1200,PrimaryActionPriorityCutoff:1200,[r.OpenInStore]:1201,[r.SkuSelector]:1250,[r.EditionSelector]:1300,[r.Trial]:1350,[r.Wishlist]:1400,[r.Cart]:1450,[r.Gift]:1500,[r.RedeemACode]:1600}},60056:(e,t,n)=>{"use strict";function r(){return{anonToken:void 0}}n.d(t,{w:()=>r})},60069:(e,t,n)=>{"use strict";n.d(t,{Sy:()=>o,Jf:()=>i.J});n(9557),n(93760),n(65136),n(57485);var r=n(14041),a=n(50490);function o(){const e=(0,r.useContext)(a.X);return(0,r.useCallback)(((t,n)=>{Object.keys(e).forEach((t=>delete e[t]));const r=e;r.type="Redirect",r.url=t,r.statusCode=n}),[e])}var i=n(43153)},60478:function(e,t){var n;!function(r){let a;function o(e,t){const n=e.charCodeAt(t);if(isNaN(n))throw new RangeError("Index "+t+' out of range for string "'+e+'"; please open an issue at https://github.com/Trott/slug/issues/new');if(n<55296||n>57343)return[e.charAt(t),t];if(n>=55296&&n<=56319){if(e.length<=t+1)return[" ",t];const n=e.charCodeAt(t+1);return n<56320||n>57343?[" ",t]:[e.charAt(t)+e.charAt(t+1),t+1]}if(0===t)return[" ",t];const r=e.charCodeAt(t-1);if(r<55296||r>56319)return[" ",t];throw new Error('String "'+e+'" reaches code believed to be unreachable; please open an issue at https://github.com/Trott/slug/issues/new')}function i(e,t){let n=l(e,t);if(""===n){let r="";for(let t=0;t>8-o%1*8)){if(a=t.charCodeAt(o+=3/4),a>255)throw new Error("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");r=r<<8|a}return n},"function"!==typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){"use strict";if(null===e||void 0===e)throw new TypeError("Cannot convert undefined or null to object");const n=Object(e);for(let a=1;a1?n[t[a]]=e[t[a]]:r[t[a]]=e[t[a]];Object.assign(i.charmap,r),Object.assign(i.multicharmap,n)},void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},61571:(e,t,n)=>{"use strict";n.d(t,{AG:()=>o,Ue:()=>a,uV:()=>r});var r="Image-module__imageBackground___fwLda",a="Image-module__imageShadow___3io3A",o="Image-module__xboxLogoGlyphIcon___M8Rlv"},61672:(e,t,n)=>{"use strict";var r;n.d(t,{P:()=>r}),function(e){e.Unknown="Unknown",e.NotStarted="NotStarted",e.Prescreening="Prescreening",e.Prescreened="Prescreened",e.Preselected="Preselected",e.Applying="Applying",e.Pending="Pending",e.Approved="Approved",e.Error="Error",e.Blocked="Blocked"}(r||(r={}))},61896:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});const r={Accessibility:"Accessibility",Genre:"Genre",MaturityRating:"MaturityRating",Multiplayer:"Multiplayer",OrderBy:"orderby",PlayWith:"PlayWith",Price:"Price",SupportedLanguages:"SupportedLanguages",TechnicalFeatures:"TechnicalFeatures",IncludedInSubscription:"IncludedInSubscription"}},62200:(e,t,n)=>{"use strict";n.d(t,{b:()=>o,x:()=>i});n(4600),n(65136),n(25601);var r=n(95428),a=n(3213);const o=(e,t,n,o)=>!!(0,a.YU)(e).lineItems.find((e=>e&&(0,r.XBe)(e.productId)===(0,r.XBe)(t)&&(0,r.XBe)(e.skuId)===(0,r.XBe)(n)&&(0,r.XBe)(e.availabilityId)===(0,r.XBe)(o))),i=e=>(0,a.YU)(e).vectorId},62504:(e,t,n)=>{"use strict";n.d(t,{e:()=>a});n(45993);var r=n(40592);function a(e){if(!e)return{};try{const t={},n=e.trim().split(" ");for(const e of n){if(!e)continue;const[n,a,o]=e.split("|");let i,s;switch(n){case"1":i=r.Jt.GamingTargetedAds;break;case"2":i=r.Jt.GamingPPU;break;case"3":i=r.Jt.GamingODC;break;case"4":i=r.Jt.MSATargetedAds;break;case"11":i=r.Jt.MockGamingTargetedAds;break;default:continue}switch(o){case"0":s=r.kl.Settable;break;case"1":s=r.kl.NotSettable;break;case"2":s=r.kl.MustSet;break;default:s=r.kl.Unavailable}const l="1"===a;t[i]={consentId:i,consented:l,status:s}}return t}catch(t){return console.warn("[parseXTokenConsents] Error parsing XToken consent string:",t),{}}}},62659:(e,t,n)=>{"use strict";n.d(t,{LZ:()=>m,ao:()=>h,k1:()=>f});var r=n(2586),a=n(67099),o=n(2170),i=n(59511),s=n(76772),l=n(55293),c=n(76668),u=n(78219);const d="_frozenDsc";function m(e,t){const n=e;(0,c.my)(n,d,t)}function p(e,t){const n=t.getOptions(),{publicKey:a}=t.getDsn()||{},o={environment:n.environment||r.U,release:n.release,public_key:a,trace_id:e};return t.emit("createDsc",o),o}function h(e,t){const n=t.getPropagationContext();return n.dsc||p(n.traceId,e)}function f(e){const t=(0,a.KU)();if(!t)return{};const n=(0,s.zU)(e),r=(0,s.et)(n),c=r.data,d=n.spanContext().traceState,m=d?.get("sentry.sample_rate")??c[o.sy];function h(e){return"number"!==typeof m&&"string"!==typeof m||(e.sample_rate=`${m}`),e}const f=n._frozenDsc;if(f)return h(f);const v=d?.get("sentry.dsc"),g=v&&(0,l.yD)(v);if(g)return h(g);const _=p(e.spanContext().traceId,t),y=c[o.i_],b=r.description;return"url"!==y&&b&&(_.transaction=b),(0,i.f)()&&(_.sampled=String((0,s.pK)(n)),_.sample_rand=d?.get("sentry.sample_rand")??(0,u.L)(n).scope?.getPropagationContext().sampleRand.toString()),h(_),t.emit("createDsc",_,n),_}},62843:(e,t,n)=>{"use strict";n.d(t,{CP:()=>u,Oz:()=>c,ZG:()=>o,hl:()=>a,nG:()=>i,pF:()=>r});var r,a,o,i,s=n(50433),l=n(95428);function c(e){return e.isMobile?r.Mobile:e.isWindows?r.Windows:r.OtherPC}function u(e){return(0,l.XBe)(e)===(0,l.XBe)(s.hd)?o.PCGP:(0,l.XBe)(e)===(0,l.XBe)(s.CZ)?o.Ultimate:void 0}!function(e){e[e.Mobile=1]="Mobile",e[e.OtherPC=2]="OtherPC",e[e.Windows=3]="Windows"}(r||(r={})),function(e){e[e.Console=1]="Console",e[e.Mobile=2]="Mobile",e[e.OtherPC=3]="OtherPC",e[e.TV=4]="TV",e[e.Windows=5]="Windows"}(a||(a={})),function(e){e.PCGP="CFQ7TTC0KGQ8",e.Ultimate="CFQ7TTC0KHS0"}(o||(o={})),function(e){e.GCM="GCM",e.RPID="RPID"}(i||(i={}))},63042:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(85608),a=n(14041);const o=function(e){var{title:t,titleId:n}=e,o=(0,r.__rest)(e,["title","titleId"]);return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},o),t?a.createElement("title",{id:n},t):null,a.createElement("path",{d:"M640 1755L19 1133l90-90 531 531L1939 275l90 90L640 1755z"}))}},63146:(e,t,n)=>{"use strict";n.d(t,{j:()=>s});var r=n(7365),a=n(22647),o=n(10467),i=n(87999);function s(e,t,n,l=0){return new i.T2(((i,c)=>{const u=e[l];if(null===t||"function"!==typeof u)i(t);else{const d=u({...t},n);r.T&&u.id&&null===d&&o.vF.log(`Event processor "${u.id}" dropped event`),(0,a.Qg)(d)?d.then((t=>s(e,t,n,l+1).then(i))).then(null,c):s(e,d,n,l+1).then(i).then(null,c)}}))}},63250:(e,t,n)=>{"use strict";n.d(t,{RV:()=>d,gd:()=>i,qQ:()=>u,vk:()=>s,yF:()=>r});const r="?",a=/\(error: (.*)\)/,o=/captureMessage|captureException/;function i(...e){const t=e.sort(((e,t)=>e[0]-t[0])).map((e=>e[1]));return(e,n=0,i=0)=>{const s=[],c=e.split("\n");for(let r=n;r1024)continue;const n=a.test(e)?e.replace(a,"$1"):e;if(!n.match(/\S*Error: /)){for(const e of t){const t=e(n);if(t){s.push(t);break}}if(s.length>=50+i)break}}return function(e){if(!e.length)return[];const t=Array.from(e);/sentryWrapped/.test(l(t).function||"")&&t.pop();t.reverse(),o.test(l(t).function||"")&&(t.pop(),o.test(l(t).function||"")&&t.pop());return t.slice(0,50).map((e=>({...e,filename:e.filename||l(t).filename,function:e.function||r})))}(s.slice(i))}}function s(e){return Array.isArray(e)?i(...e):e}function l(e){return e[e.length-1]||{}}const c="";function u(e){try{return e&&"function"===typeof e&&e.name||c}catch(t){return c}}function d(e){const t=e.exception;if(t){const e=[];try{return t.values.forEach((t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)})),e}catch(n){return}}}},63481:(e,t,n)=>{"use strict";n.d(t,{LV:()=>d,jN:()=>u,jf:()=>l});var r=n(76288),a=n(76668),o=n(67099),i=n(92735),s=n(37168);const l=r.O;let c=0;function u(){return c>0}function d(e,t={}){if(!function(e){return"function"===typeof e}(e))return e;try{const t=e.__sentry_wrapped__;if(t)return"function"===typeof t?t:e;if((0,a.sp)(e))return e}catch(r){return e}const n=function(...n){try{const r=n.map((e=>d(e,t)));return e.apply(this,r)}catch(r){throw c++,setTimeout((()=>{c--})),(0,o.v4)((e=>{e.addEventProcessor((e=>(t.mechanism&&((0,i.gO)(e,void 0,void 0),(0,i.M6)(e,t.mechanism)),e.extra={...e.extra,arguments:n},e))),(0,s.Cp)(r)})),r}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch{}(0,a.pO)(n,e),(0,a.my)(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch{}return n}},64283:(e,t,n)=>{"use strict";n.d(t,{v4:()=>r,GL:()=>s.G,LW:()=>f,jK:()=>l.j,hN:()=>_,UO:()=>d,HG:()=>a.H,oS:()=>v.o,Pk:()=>i,NA:()=>u,AR:()=>A.AR,JD:()=>A.JD,G6:()=>A.G6,MQ:()=>A.MQ,Xr:()=>A.Xr,mZ:()=>s.m,DS:()=>g,Ah:()=>o.A,Up:()=>o.U,$I:()=>C,I$:()=>P,xm:()=>T,DC:()=>A.DC,V2:()=>A.V2,HH:()=>F.HH,xR:()=>V.x,bR:()=>N,Q:()=>L.Q,$Y:()=>I,gA:()=>A.gA,Pm:()=>F.Pm,z4:()=>L.z4,bg:()=>V.b,vt:()=>F.vt,PW:()=>O,t7:()=>F.t7,KX:()=>k,Ct:()=>F.Ct,Ns:()=>F.Ns,y7:()=>F.y7,XM:()=>L.XM,YF:()=>R,fO:()=>B,h5:()=>F.h5,KJ:()=>F.rm,g4:()=>F.g4,Eq:()=>F.Eq,qq:()=>F.qq,At:()=>U,Ok:()=>H,zP:()=>F.zP,Fm:()=>F.Fm,dH:()=>x,Ic:()=>S.Ic,u6:()=>q,jg:()=>L.jg,nU:()=>l.n,V7:()=>y,CJ:()=>p,gK:()=>h,st:()=>c.st,sB:()=>c.sB,yt:()=>c.yt,iv:()=>v.i,Cq:()=>A.Cq});var r,a=n(51733),o=n(4976);!function(e){e.SISU_FLOW_START="@accountLink/SISU_FLOW_START",e.SISU_FLOW_COMPLETE="@accountLink/SISU_FLOW_COMPLETE",e.SISU_FLOW_ERROR="@accountLink/SISU_FLOW_ERROR",e.GET_LINK_STATUS_START="@accountLink/GET_LINK_STATUS_START",e.GET_LINK_STATUS_COMPLETE="@accountLink/GET_LINK_STATUS_COMPLETE",e.GET_LINK_STATUS_ERROR="@accountLink/GET_LINK_STATUS_ERROR",e.COMPLETE_LINK_START="@accountLink/COMPLETE_LINK_START",e.COMPLETE_LINK_COMPLETE="@accountLink/COMPLETE_LINK_COMPLETE",e.COMPLETE_LINK_ERROR="@accountLink/COMPLETE_LINK_ERROR",e.COMPLETE_LINK_RESET="@accountLink/COMPLETE_LINK_RESET"}(r||(r={}));const i={SISUFlow:(0,o.U)(a.H.AccountLink,r.SISU_FLOW_START,(e=>({networkName:e})),r.SISU_FLOW_COMPLETE,(e=>({networkName:e})),r.SISU_FLOW_ERROR,((e,t)=>({error:t,networkName:e}))),getLinkStatus:(0,o.U)(a.H.AccountLink,r.GET_LINK_STATUS_START,(e=>({networkName:e})),r.GET_LINK_STATUS_COMPLETE,((e,t,n)=>({networkName:e,status:t,userName:n})),r.GET_LINK_STATUS_ERROR,((e,t)=>({error:t,networkName:e}))),completeLink:(0,o.U)(a.H.AccountLink,r.COMPLETE_LINK_START,(e=>({networkName:e})),r.COMPLETE_LINK_COMPLETE,((e,t)=>({networkName:e,result:t})),r.COMPLETE_LINK_ERROR,((e,t)=>({error:t,networkName:e}))),completeLinkReset:(0,o.A)(r.COMPLETE_LINK_RESET,a.H.AccountLink,(e=>({networkName:e})))};var s=n(73307),l=n(7814),c=n(40378);const u=c.st.additionalInformationActions;c.st.availabilitySummaryActions;var d,m=n(78229);!function(e){e.CLEAR_PRODUCT_ACTIONS_FOR_PRODUCT="@productActions/CLEAR_PRODUCT_ACTIONS_FOR_PRODUCT",e.FETCH_PRODUCT_ACTIONS="@productActions/FETCH_PRODUCT_ACTIONS",e.FETCH_PRODUCT_ACTIONS_SUCCESS="@productActions/FETCH_PRODUCT_ACTIONS_SUCCESS",e.FETCH_PRODUCT_ACTIONS_ERROR="@productActions/FETCH_PRODUCT_ACTIONS_ERROR",e.UPDATE_PRODUCT_ACTIONS="@productActions/UPDATE_PRODUCT_ACTIONS"}(d||(d={}));const p={clearProductActionsForProduct:(0,m.A)(d.CLEAR_PRODUCT_ACTIONS_FOR_PRODUCT,a.H.ProductActions,(e=>({productId:e}))),updateProductActions:(0,m.A)(d.UPDATE_PRODUCT_ACTIONS,a.H.ProductActions,(e=>({productActions:e}))),fetchProductActions:(0,m.U)(a.H.ProductActions,d.FETCH_PRODUCT_ACTIONS,(e=>({type:d.FETCH_PRODUCT_ACTIONS,productId:e})),d.FETCH_PRODUCT_ACTIONS_SUCCESS,((e,t)=>({type:d.FETCH_PRODUCT_ACTIONS_SUCCESS,data:e,productId:t})),d.FETCH_PRODUCT_ACTIONS_ERROR,((e,t)=>({type:d.FETCH_PRODUCT_ACTIONS_ERROR,error:e,productId:t})))},h=c.st.productInfoActions;c.st.productSummaryActions,c.st.skuSummaryActions;var f,v=n(72011);!function(e){e.GET_DEFAULT_WISHLISTS_START="@wishlist/GET_DEFAULT_WISHLIST_START",e.ADD_WISHLIST_ITEM_START="@wishlist/ADD_WISHLIST_ITEM_START",e.ADD_WISHLIST_ITEM_COMPLETE="@wishlist/ADD_WISHLIST_ITEM_COMPLETE",e.ADD_WISHLIST_ITEM_ERROR="@wishlist/ADD_WISHLIST_ITEM_ERROR",e.REMOVE_WISHLIST_ITEM_START="@wishlist/REMOVE_WISHLIST_ITEM_START",e.REMOVE_WISHLIST_ITEM_COMPLETE="@wishlist/REMOVE_WISHLIST_ITEM_COMPLETE",e.REMOVE_WISHLIST_ITEM_ERROR="@wishlist/REMOVE_WISHLIST_ITEM_ERROR",e.SAVE_WISHLIST_SETTINGS_START="@wishlist/SAVE_SETTINGS_START",e.SAVE_WISHLIST_SETTINGS_COMPLETE="@wishlist/SAVE_SETTINGS_COMPLETE",e.SAVE_WISHLIST_SETTINGS_ERROR="@wishlist/SAVE_SETTINGS_ERROR"}(f||(f={}));const g={getDefaultWishlist:(0,m.A)(f.GET_DEFAULT_WISHLISTS_START,a.H.Wishlist,(e=>({onError:e}))),addWishListItem:(0,m.U)(a.H.Wishlist,f.ADD_WISHLIST_ITEM_START,((e,t,n,r,a)=>({wishListId:n,productId:r,skuId:a,onSuccess:e,onFailure:t})),f.ADD_WISHLIST_ITEM_COMPLETE,((e,t,n)=>({wishListId:e,productId:t,skuId:n})),f.ADD_WISHLIST_ITEM_ERROR,((e,t,n,r)=>({wishListId:t,productId:n,skuId:r,error:e}))),removeWishListItem:(0,m.U)(a.H.Wishlist,f.REMOVE_WISHLIST_ITEM_START,((e,t,n,r,a)=>({wishListId:n,productId:r,skuId:a,onSuccess:e,onFailure:t})),f.REMOVE_WISHLIST_ITEM_COMPLETE,((e,t,n)=>({wishListId:e,productId:t,skuId:n})),f.REMOVE_WISHLIST_ITEM_ERROR,((e,t,n,r)=>({wishListId:t,productId:n,skuId:r,error:e}))),saveWishlistSettings:(0,m.U)(a.H.Wishlist,f.SAVE_WISHLIST_SETTINGS_START,((e,t,n,r)=>({wishListId:n,settingsState:r,onSuccess:e,onFailure:t})),f.SAVE_WISHLIST_SETTINGS_COMPLETE,((e,t)=>({wishListId:e,settingsState:t})),f.SAVE_WISHLIST_SETTINGS_ERROR,((e,t)=>({wishListId:t,error:e})))};var _;!function(e){e.FETCH_PLAN_PICKER_DATA_START="@planPickerActions/FETCH_PLAN_PICKER_DATA_START",e.FETCH_PLAN_PICKER_DATA_SUCCESS="@planPickerActions/FETCH_PLAN_PICKER_DATA_SUCCESS",e.FETCH_PLAN_PICKER_DATA_ERROR="@planPickerActions/FETCH_PLAN_PICKER_DATA_ERROR",e.RESET_PLAN_PICKER_DATA="@planPickerActions/RESET_PLAN_PICKER_DATA"}(_||(_={}));const y={fetchPlanPickerData:(0,o.U)(a.H.PlanPicker,_.FETCH_PLAN_PICKER_DATA_START,(()=>({})),_.FETCH_PLAN_PICKER_DATA_SUCCESS,(e=>({data:e})),_.FETCH_PLAN_PICKER_DATA_ERROR,(e=>({error:e}))),resetPlanPickerData:(0,o.A)(_.RESET_PLAN_PICKER_DATA,a.H.PlanPicker,(()=>({})))};var b=n(92647),E=n(87530),S=n(3213);const{entitlementActions:C,entitlementReducer:P,entitlementSagas:T,entitlementSelectors:w}=(0,b.pR)(E.QN,(e=>(0,S.df)(e).entitlements)),I=w.getEntitlementByProductId,k=w.getOwnershipOrSatisfactionByProductId,x=w.getUserEntitlement;var A=n(42145);const N=(e,t)=>{var n;return null===(n=(0,S.Wt)(e)[t])||void 0===n?void 0:n.continuationToken};var L=n(64440),M=n(88262);const O=(e,t)=>(0,S.Ic)(e).messageSafetySettingsData[t]||(0,M.lceNotRequested)(),R=(e,t)=>(0,S.Ic)(e).privacySettingsData[t]||(0,M.lceNotRequested)();var D=n(95428);const B=(e,t)=>(e=>(0,S.df)(e).productActions)(e)[(0,D.XBe)(t)];var F=n(99202);const U=(e,t)=>(0,S.Ic)(e).safetySettingsData[t]||(0,M.lceNotRequested)(),H=(e,t)=>(0,S.ub)(e)[t];var V=n(62200),G=(n(4600),n(65136),n(25601),n(68359));const q=(e,t)=>{let n=t;return t===G.s3&&(n=(e=>(0,S.pK)(e).defaultWishlistId)(e)||n),(0,S.pK)(e).wishlists[n]}},64440:(e,t,n)=>{"use strict";n.d(t,{Q:()=>l,XM:()=>i,jg:()=>s,z4:()=>c});n(4600),n(65136),n(25601);var r=n(88262),a=n(95428),o=n(3213);const i=e=>(0,o.rm)(e).devices.pcDevices,s=e=>(0,o.rm)(e).devices.xboxDevices,l=(e,t)=>{const n=i(e);if((0,r.isContent)(n)){const e=n.data.find((e=>(0,a.JSV)(e.id,t)));return(null===e||void 0===e?void 0:e.name)||""}const o=s(e);if((0,r.isContent)(o)){const e=o.data.find((e=>(0,a.JSV)(e.id,t)));return(null===e||void 0===e?void 0:e.name)||""}return""},c=(e,t)=>(0,o.rm)(e).installOperationsByProductId[t]},65537:(e,t,n)=>{"use strict";n.d(t,{B$:()=>u,ur:()=>c});var r=n(22647),a=n(76668),o=n(4251),i=n(68378),s=n(76288),l=n(12272);function c(e,t){const n="fetch";(0,l.s5)(n,e),(0,l.AS)(n,(()=>d(void 0,t)))}function u(e){const t="fetch-body-resolved";(0,l.s5)(t,e),(0,l.AS)(t,(()=>d(m)))}function d(e,t=!1){t&&!(0,o.m7)()||(0,a.GS)(s.O,"fetch",(function(t){return function(...n){const o=new Error,{method:c,url:u}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:h(t),method:p(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:h(t),method:p(t,"method")?String(t.method).toUpperCase():"GET"}}(n),d={args:n,fetchData:{method:c,url:u},startTimestamp:1e3*(0,i.zf)(),virtualError:o,headers:f(n)};return e||(0,l.aj)("fetch",{...d}),t.apply(s.O,n).then((async t=>(e?e(t):(0,l.aj)("fetch",{...d,endTimestamp:1e3*(0,i.zf)(),response:t}),t)),(e=>{if((0,l.aj)("fetch",{...d,endTimestamp:1e3*(0,i.zf)(),error:e}),(0,r.bJ)(e)&&void 0===e.stack&&(e.stack=o.stack,(0,a.my)(e,"framesToPop",1)),e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{const t=new URL(d.fetchData.url);e.message=`${e.message} (${t.host})`}catch{}throw e}))}}))}function m(e){let t;try{t=e.clone()}catch{return}!async function(e,t){if(e?.body){const r=e.body,a=r.getReader(),o=setTimeout((()=>{r.cancel().then(null,(()=>{}))}),9e4);let i=!0;for(;i;){let e;try{e=setTimeout((()=>{r.cancel().then(null,(()=>{}))}),5e3);const{done:n}=await a.read();clearTimeout(e),n&&(t(),i=!1)}catch(n){i=!1}finally{clearTimeout(e)}}clearTimeout(o),a.releaseLock(),r.cancel().then(null,(()=>{}))}}(t,(()=>{(0,l.aj)("fetch-body-resolved",{endTimestamp:1e3*(0,i.zf)(),response:e})}))}function p(e,t){return!!e&&"object"===typeof e&&!!e[t]}function h(e){return"string"===typeof e?e:e?p(e,"url")?e.url:e.toString?e.toString():"":""}function f(e){const[t,n]=e;try{if("object"===typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if((0,r.ks)(t))return new Headers(t.headers)}catch{}}},66925:(e,t,n)=>{"use strict";n.d(t,{CP:()=>r.CP,ZG:()=>r.ZG,hl:()=>r.hl,nG:()=>r.nG,pF:()=>r.pF});var r=n(62843)},67099:(e,t,n)=>{"use strict";n.d(t,{KU:()=>d,m6:()=>c,o5:()=>s,rm:()=>l,v4:()=>u,vn:()=>m});var r=n(4899),a=n(43223),o=n(83103),i=n(20642);function s(){const e=(0,a.EU)();return(0,r.h)(e).getCurrentScope()}function l(){const e=(0,a.EU)();return(0,r.h)(e).getIsolationScope()}function c(){return(0,a.BY)("globalScope",(()=>new o.H))}function u(...e){const t=(0,a.EU)(),n=(0,r.h)(t);if(2===e.length){const[t,r]=e;return t?n.withSetScope(t,r):n.withScope(r)}return n.withScope(e[0])}function d(){return s().getClient()}function m(e){const t=e.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:a}=t,o={trace_id:n,span_id:a||(0,i.Z)()};return r&&(o.parent_span_id=r),o}},68359:(e,t,n)=>{"use strict";n.d(t,{QN:()=>r,s3:()=>a});const r="core2",a="default"},68378:(e,t,n)=>{"use strict";n.d(t,{k3:()=>s,lu:()=>a,zf:()=>o});var r=n(76288);function a(){return Date.now()/1e3}const o=function(){const{performance:e}=r.O;if(!e?.now)return a;const t=Date.now()-e.now(),n=void 0==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/1e3}();let i;function s(){return i||(i=function(){const{performance:e}=r.O;if(!e?.now)return[void 0,"none"];const t=36e5,n=e.now(),a=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+n-a):t,i=o{"use strict";n.d(t,{w:()=>u});var r=n(41506),a=n.n(r),o=n(67996),i=n.n(o),s=n(14041);const l=["className","src","alt","sources"],c=(0,s.forwardRef)(((e,t)=>{let{className:n,src:r,alt:o,sources:c}=e,u=i()(e,l);const d=s.createElement("img",a()({ref:t,className:n,src:r,alt:o},u));return c?s.createElement("picture",null,s.createElement(s.Fragment,null,c),d):d})),u=(0,s.memo)(c)},68594:(e,t,n)=>{"use strict";n.d(t,{K:()=>p});var r=n(85608),a=n(14041);const o=function(e){return a.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),a.createElement("path",{d:"M5.922 14c-.521 0-1.016-.104-1.484-.313a4.12 4.12 0 01-1.25-.859 4.12 4.12 0 01-.86-1.25 3.84 3.84 0 01-.328-1.5V5.922c0-.521.104-1.016.313-1.484a4.12 4.12 0 01.859-1.25 4.12 4.12 0 011.25-.86A3.84 3.84 0 015.922 2h4.156c.521 0 1.016.104 1.485.313a4.12 4.12 0 011.25.859c.364.364.65.781.859 1.25.208.469.318.969.328 1.5v4.156c0 .521-.104 1.016-.313 1.485a4.12 4.12 0 01-.859 1.25 4.12 4.12 0 01-1.25.859 3.84 3.84 0 01-1.5.328H5.922zm16 0c-.521 0-1.016-.104-1.485-.313a4.12 4.12 0 01-1.25-.859 4.12 4.12 0 01-.859-1.25 3.84 3.84 0 01-.328-1.5V5.922c0-.521.104-1.016.313-1.484a4.12 4.12 0 01.859-1.25 4.12 4.12 0 011.25-.86 3.84 3.84 0 011.5-.328h4.156c.521 0 1.016.104 1.485.313a4.12 4.12 0 011.25.859c.364.364.65.781.859 1.25.208.469.318.969.328 1.5v4.156c0 .521-.104 1.016-.313 1.485a4.12 4.12 0 01-.859 1.25 4.12 4.12 0 01-1.25.859 3.84 3.84 0 01-1.5.328h-4.156zM10 12c.281 0 .542-.052.781-.156.24-.104.448-.245.625-.422a2.18 2.18 0 00.438-.64c.114-.25.166-.511.156-.782V6a1.9 1.9 0 00-.156-.766 2.207 2.207 0 00-.422-.64 1.845 1.845 0 00-.64-.438A2.012 2.012 0 0010 4H6c-.281 0-.542.052-.781.156-.24.104-.448.245-.625.422a2.18 2.18 0 00-.438.64C4.042 5.469 3.99 5.73 4 6v4c0 .281.052.542.156.781.104.24.245.453.422.64.177.188.386.329.625.423.24.094.505.146.797.156h4zm16 0c.281 0 .542-.052.781-.156.24-.104.448-.245.625-.422a2.18 2.18 0 00.438-.64c.114-.25.166-.511.156-.782V6a1.9 1.9 0 00-.156-.766 2.207 2.207 0 00-.422-.64 1.845 1.845 0 00-.64-.438A2.012 2.012 0 0026 4h-4c-.281 0-.542.052-.781.156-.24.104-.448.245-.625.422a2.18 2.18 0 00-.438.64c-.114.25-.166.511-.156.782v4c0 .281.052.542.156.781.104.24.245.453.422.64.177.188.386.329.625.423.24.094.505.146.797.156h4zm-16-2H6V6h4v4zm16 0h-4V6h4v4zM5.922 30c-.521 0-1.016-.104-1.484-.313a4.12 4.12 0 01-1.25-.859 4.12 4.12 0 01-.86-1.25 3.84 3.84 0 01-.328-1.5v-4.156c0-.521.104-1.016.313-1.485a4.12 4.12 0 01.859-1.25 4.12 4.12 0 011.25-.859 3.84 3.84 0 011.5-.328h4.156c.521 0 1.016.104 1.485.313a4.12 4.12 0 011.25.859c.364.364.65.781.859 1.25.208.469.318.969.328 1.5v4.156c0 .521-.104 1.016-.313 1.485a4.12 4.12 0 01-.859 1.25 4.12 4.12 0 01-1.25.859 3.84 3.84 0 01-1.5.328H5.922zM22 22h-4v-4h4v4zm8 0h-4v-4h4v4zm-20 6c.281 0 .542-.052.781-.156.24-.104.448-.245.625-.422a2.18 2.18 0 00.438-.64c.114-.25.166-.511.156-.782v-4a1.9 1.9 0 00-.156-.766 2.207 2.207 0 00-.422-.64 1.845 1.845 0 00-.64-.438A2.012 2.012 0 0010 20H6c-.281 0-.542.052-.781.156-.24.104-.448.245-.625.422a2.18 2.18 0 00-.438.64c-.114.25-.166.511-.156.782v4c0 .281.052.542.156.781.104.24.245.453.422.64.177.188.386.329.625.423.24.093.505.146.797.156h4zm0-2H6v-4h4v4zm16 0h-4v-4h4v4zm-4 4h-4v-4h4v4zm8 0h-4v-4h4v4z",fillRule:"evenodd"}))};var i=n(58810),s=n(53373),l=n.n(s),c=n(6409),u=n(72178),d=n(5929),m=n(30843),p=(0,a.memo)((function(e){var t=e.imgProps,n=e.ratingValue,s=e.ratingLink,p=e.className,h=e.children,f=e.linkButtonProps,v=e.showQR,g=(0,r.__rest)(e,["imgProps","ratingValue","ratingLink","className","children","linkButtonProps","showQR"]),_=f||{},y=_.className,b=(0,r.__rest)(_,["className"]);return a.createElement("div",(0,r.__assign)({className:l()(m.kL,p)},g),a.createElement("img",(0,r.__assign)({},t,{className:l()(m.Hz,t.className),src:t.src,alt:t.alt})),a.createElement("div",{className:m._A},s&&n?a.createElement(c.a,(0,r.__assign)({as:"a",href:s,buttonType:u.VQ.Secondary,buttonSize:u.Mp.XSmall,className:l()(y,m.LD,m.nf),target:"_blank",isCallToAction:!0,rel:"noopener noreferrer"},b),n,a.createElement(d.In,{className:m.Kk,icon:v?o:i.A,iconSize:d.lK.XXSmall})):n?a.createElement("div",{className:m.LD},n):null,h))}))},69669:(e,t,n)=>{"use strict";n.d(t,{J:()=>r});const r=(e,t)=>(null===e||void 0===e?void 0:e.toLowerCase())===(null===t||void 0===t?void 0:t.toLowerCase())},69734:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const r="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},69950:(e,t,n)=>{"use strict";n.d(t,{L:()=>m});var r=n(85608),a=n(39731),o=n(34843),i=n(53373),s=n.n(i),l=n(14041),c=n(43342),u=n(72178),d=(0,l.memo)((function(e){var t=e.className,n=e.textClassName,r=e.onPress,a=e.index,o=e.selected,i=e.label,c=(0,l.useRef)(null);return(0,l.useEffect)((function(){var e;o&&(null===(e=c.current)||void 0===e||e.focus())}),[o]),l.createElement("button",{className:s()(t,"Picker-module__pickerItem___VyecJ",n),ref:c,role:"option","aria-selected":o,"data-auto-focus":o,onClick:function(){return null===r||void 0===r?void 0:r(a)},onKeyPress:function(e){"Enter"===e.key&&(null===r||void 0===r||r(a))}},i)}));var m=(0,l.memo)((function(e){var t=e.className,n=e.data,i=e.selectedValue,m=e.visibleItems,p=void 0===m?4:m,h=e.onFocus,f=e.onBlur,v=e.onValueChange,g=e.onClose,_=e.openPickerClassName,y=e.itemTextClassName,b=e.selectedItemTextClassName,E=e.isOpen,S=e.setIsOpen,C=e.showFloatingLabel,P=e.buttonClassName,T=e.labelAndValueContainerClassName,w=e.floatingLabelContainerClassName,I=e.floatingValueContainerClassName,k=e.buttonHtmlAttributes,x=(0,r.__rest)(e,["className","data","selectedValue","visibleItems","onFocus","onBlur","onValueChange","onClose","openPickerClassName","itemTextClassName","selectedItemTextClassName","isOpen","setIsOpen","showFloatingLabel","buttonClassName","labelAndValueContainerClassName","floatingLabelContainerClassName","floatingValueContainerClassName","buttonHtmlAttributes"]),A=(0,l.useState)(),N=A[0],L=A[1],M=x["aria-labelledby"],O=(0,l.useRef)(null),R=(0,l.useRef)(null),D=(0,l.useMemo)((function(){return Math.min(n.length,p)}),[n,p]),B=(0,l.useMemo)((function(){var e;return null===(e=n[0])||void 0===e?void 0:e.label}),[n]),F=(0,l.useMemo)((function(){return n.findIndex((function(e,t){return null!==e&&i===n[t].value}))}),[n,i]),U=(0,l.useMemo)((function(){return n.length>0&&-1!==F?n[F].label:" "}),[n,F]),H=(0,l.useState)(0),V=H[0],G=H[1];(0,l.useEffect)((function(){if(O.current){var e=getComputedStyle(O.current).getPropertyValue("--height").trim(),t=parseInt(e.replace("px",""),10);G(t)}}),[O]);var q=(0,l.useCallback)((function(){var e,t,r,a;if(n.length){var o,i=V*D+(D>=n.length?0:2),s=null===(e=O.current)||void 0===e?void 0:e.getBoundingClientRect(),l=(null!==(t=null===s||void 0===s?void 0:s.top)&&void 0!==t?t:0)+window.pageYOffset;l+i>window.innerHeight&&(o="translateY(".concat(-(l+i-window.innerHeight),"px)")),L({size:{width:null!==(r=null===s||void 0===s?void 0:s.width)&&void 0!==r?r:0,height:i},location:{left:null===(a=O.current)||void 0===a?void 0:a.offsetLeft,transform:o}}),null===S||void 0===S||S(!0)}}),[n.length,D,S,V]),z=(0,l.useCallback)((function(){L(void 0),null===S||void 0===S||S(!1)}),[S]),X=(0,l.useCallback)((function(){var e;z(),null===(e=null===R||void 0===R?void 0:R.current)||void 0===e||e.focus(),null===g||void 0===g||g()}),[g,z]),j=function(e){X(),null===v||void 0===v||v(n[e].value)};return(0,l.useEffect)((function(){E?N||q():void 0!==E&&N&&X()}),[E,q,X,N]),(0,a.useBackHandler)((0,l.useCallback)((function(){return void 0!==N&&(X(),!0)}),[X,N])),l.createElement("div",{className:s()("Picker-module__pickerContainer___ec-tx",t)},l.createElement("div",{className:"Picker-module__refContainer___XCfTg",ref:O},l.createElement(c.T,(0,r.__assign)({"aria-expanded":void 0!==N,"aria-haspopup":!0,"aria-labelledby":M,as:"button",buttonType:u.VQ.Primary,className:P,icon:o.A,onBlur:f,onClick:q,onFocus:h,ref:R,role:"combobox"},k),C&&F>0?l.createElement("div",{className:s()("Picker-module__labelAndValueContainer___CaXKe",T)},l.createElement("span",{className:w},B),l.createElement("span",{className:s()("Picker-module__floatingValueContainer___78ffj",I)},U)):l.createElement(l.Fragment,null,U))),N&&l.createElement("div",(0,r.__assign)({role:"listbox"},x),l.createElement("div",{className:"Picker-module__dismissSurface___OB0n8",onMouseDown:function(){return z()},onTouchStart:function(){return z()},onKeyDown:function(){return z()}}),l.createElement(a.FocusContainer,{className:s()("Picker-module__openPicker___xKcqC",null!==_&&void 0!==_?_:""),style:(0,r.__assign)((0,r.__assign)({},null===N||void 0===N?void 0:N.location),null===N||void 0===N?void 0:N.size),autoFocusContainer:!0},l.createElement(a.GamepadScrollable,{className:"Picker-module__gamepadScrollable___3rdHv",scrollAlignment:"align-to-next",stopScrollPropagation:!0,scrollOffsets:2},n.map((function(e,t){var n;return l.createElement(d,{key:t,className:"Picker-module__pickerHeight___xe8cz",textClassName:s()("Picker-module__itemText___1dWtt",(n={},n["Picker-module__selected___q-8Ea"]=e.value===i,n[null!==y&&void 0!==y?y:""]=e.value!==i,n[null!==b&&void 0!==b?b:""]=e.value===i,n)),index:t,selected:e.value===i,onPress:j,label:e.label})}))))))}))},70926:(e,t,n)=>{"use strict";n(14041)},71344:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(3068);const a=function(e,t){var n;void 0===t&&(t=!0);var a=new Promise((function(r){n=setTimeout(r,e,t)}));return a[r.bO]=function(){clearTimeout(n)},a}},72e3:(e,t,n)=>{"use strict";function r(e){const t=[];e.message&&t.push(e.message);try{const n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch(n){}return t}n.d(t,{G:()=>r})},72011:(e,t,n)=>{"use strict";n.d(t,{i:()=>i,o:()=>r});var r,a=n(51733),o=n(4976);!function(e){e.ADD_TO_CART_START="@scds/ADD_TO_CART_START",e.ADD_TO_CART_SUCCESS="@scds/ADD_TO_CART_SUCCESS",e.ADD_TO_CART_ERROR="@scds/ADD_TO_CART_ERROR",e.UPDATE_CART="@scds/UPDATE_CART",e.FETCH_VECTOR_ID_START="@scds/FETCH_VECTOR_ID_START",e.FETCH_VECTOR_ID_SUCCESS="@scds/FETCH_VECTOR_ID_SUCCESS",e.FETCH_VECTOR_ID_ERROR="@scds/FETCH_VECTOR_ID_ERROR",e.CLEAR_VECTOR_ID="@scds/CLEAR_VECTOR_ID"}(r||(r={}));const i={addToCart:(0,o.U)(a.H.StoreCartService,r.ADD_TO_CART_START,((e,t,n)=>({itemsToAdd:e,onSuccess:t,onFailure:n})),r.ADD_TO_CART_SUCCESS,(e=>({itemsToAdd:e})),r.ADD_TO_CART_ERROR,((e,t,n)=>({itemsToAdd:e,failureReasons:t,error:n}))),updateCart:(0,o.A)(r.UPDATE_CART,a.H.StoreCartService,(e=>({lineItems:e}))),fetchVectorId:(0,o.U)(a.H.StoreCartService,r.FETCH_VECTOR_ID_START,(()=>{}),r.FETCH_VECTOR_ID_SUCCESS,(e=>({vectorId:e})),r.FETCH_VECTOR_ID_ERROR,(e=>({error:e}))),clearVectorId:(0,o.A)(r.CLEAR_VECTOR_ID,a.H.StoreCartService,(()=>({})))}},72066:(e,t,n)=>{"use strict";n.d(t,{A:()=>Pe});n(5858),n(45993);var r=n(5931),a=(n(93831),n(11505),n(95428)),o=n(57937),i=n(86090),s=n(77703);const l=(0,s.EG)({resolved:{},chunkName:()=>"AccountLink",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,s.Bi)(n.e(6164).then(n.bind(n,26930))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>26930}),c=(0,s.EG)({resolved:{},chunkName:()=>"AccountLink",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,s.Bi)(n.e(6164).then(n.bind(n,66525))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>66525});var u=n(14041),d=n(46871);const m=(0,s.EG)({resolved:{},chunkName:()=>"BrowsePage",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,s.Bi)(Promise.all([n.e(4263),n.e(125),n.e(7284)]).then(n.bind(n,4655))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>4655}),p=(0,s.sT)({resolved:{},chunkName:()=>"BrowsePageByCollection",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,a.wjz)(s.M7,n.e(8327).then(n.bind(n,42033))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>42033});n(34237),n(25152),n(28344);var h=n(83718);const f=e=>{const t=(0,h.d4)(a.a5u),n=(0,i.tW)("/games/browse/:platformName?",{platformName:e});return new URL(`${t}${n}`,a.jbi).toString()};n(28882);const v=(0,s.EG)({resolved:{},chunkName:()=>"BundleBuilderPage",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,s.Bi)(Promise.all([n.e(7885),n.e(5216),n.e(8547),n.e(6705)]).then(n.bind(n,52844))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>52844}),g=(0,s.sT)({resolved:{},chunkName:()=>"BundleBuilderPage",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,a.wjz)(s.M7,Promise.all([n.e(7885),n.e(5216),n.e(8547),n.e(6705)]).then(n.bind(n,44164))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>44164}),_=(0,s.EG)({resolved:{},chunkName:()=>"BundleBuilderTestPage",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,s.Bi)(Promise.all([n.e(1524),n.e(5216),n.e(4233),n.e(29)]).then(n.bind(n,64233))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>64233});n(66264),n(98304),n(14297),n(65136),n(64552);var y,b,E=n(53373),S=n.n(E),C=n(36359),P=n(92747),T=n(98138);!function(e){e[e.None=0]="None",e[e.Loading=1]="Loading",e[e.Loaded=2]="Loaded",e[e.ErrorRetry=3]="ErrorRetry",e[e.Error=4]="Error"}(y||(y={})),function(e){e.Busy="busyState"}(b||(b={}));const w=e=>{const[t,n]=(0,u.useState)(!1);return(0,u.useEffect)((()=>{const t=t=>{var r;if(t.source===(null===(r=e.current)||void 0===r?void 0:r.contentWindow)&&t.data){const e=t.data;e.message===b.Busy&&n(e.isBusy)}};return window.addEventListener("message",t),()=>{window.removeEventListener("message",t)}}),[e,n]),t};var I;n(9020);!function(e){e.ShowCartRetry="ShowCartRetry",e.ShowCheckoutRetry="ShowCheckoutRetry",e.CartFallbackMsCom="CartFallbackMsCom",e.CheckoutFallbackMsCom="CheckoutFallbackMsCom",e.CheckoutSuccessful="CheckoutSuccessful",e.CheckoutError="CheckoutError",e.CartError="CartError"}(I||(I={}));const k=()=>{if(a.VTO.CART_CHECKOUT_TIMEOUT_MSEC){const e=parseInt(a.VTO.CART_CHECKOUT_TIMEOUT_MSEC,10);if(!isNaN(e))return e}return 35e3},x=e=>e===y.Loading||e===y.None,A=(e,t,n,r,a,o)=>{(0,u.useEffect)((()=>{if(x(e)){const e=()=>{t((e=>x(e)?r?(n.logAppAction({action:I.CartFallbackMsCom,pageName:P.g6.Cart}),o(),y.Error):(n.logAppAction({action:I.ShowCartRetry,pageName:P.g6.Cart}),y.ErrorRetry):e))},i=setTimeout(e,a);return()=>{clearTimeout(i)}}}),[r,e,a,t,n,o])};n(95570);var N=n(14638);const L=(e,t)=>{let n=(0,a.tcg)(N.DM,{locale:e});t&&(n=(0,a.tcg)(N.ZF,{returnUrl:encodeURIComponent(n)})),window.location.assign(n)},M=()=>{const e=["sc_xboxredirection"],t=(0,h.d4)((e=>(0,a.pzA)(e,a.WTf.EnableGuestCheckout)));return(0,h.d4)((e=>(0,a.pzA)(e,a.WTf.EnableCartMorayStyling)))&&(e.push("sc_morayxboxcom"),t&&e.push("sc_gcoxboxcom")),e},O=async(e,t)=>{let n;try{n=t?(0,C.xT)(t):await(async e=>{const t=await e.acquireTokenSilently(C.zW.MDollar);return t?(0,C.xT)(t):null})(e)}catch(r){n=null}return n},R=()=>{switch((0,h.d4)(a.j17)){case a.Sxu.Light:case a.Sxu.DarkHeader:return a.Sxu.Light;default:return a.Sxu.Dark}};n(72101),n(45159),n(40257),n(65063),n(84496),n(4121),n(88275),n(78660),n(90435),n(11138),n(75438),n(2758),n(22400),n(61670),n(85715),n(39351);const D=new Set(["pid","sid"]);var B=n(76858),F=n(36824);const U=(e,t)=>{t.current&&e.height&&(t.current.height=Math.round(e.height+1).toString())},H=e=>{e.url&&("current"===e.targetWindow||"_self"===e.targetWindow?window.location.assign(e.url):window.open(e.url))},V=(e,t,n,r,a,o)=>{(async()=>{if(await t.isAuthenticated())r.push({pathname:"/checkout",search:`?${F.kw.ThemeOverride}=${o.toLocaleLowerCase()}`,state:e});else{const t=new URLSearchParams;t.set(F.hV.orderIds,e.orderIds),e.billingMarket&&t.set(F.hV.billingMarket,e.billingMarket);const r=new URL(window.location.origin);r.pathname=`${a.locale}/checkout`,r.search=t.toString(),((e,t)=>{window.location.assign(e(t))})(n,r.toString())}})()},G=(e,t,n,r,o)=>{const l=(0,a.wwE)(),c=(()=>{const[e,t]=(0,u.useState)(""),n=(0,h.d4)(a.P6r);return(0,u.useCallback)((r=>{if(r.route&&e!==r.route){const e=new URL(window.location.href);e.pathname=`/${n.localeWithScript}/${r.route}`,window.history.replaceState({},"",e),t(r.route)}}),[e,n.localeWithScript])})(),d=(()=>{const[e,t]=(0,u.useState)(""),n=(0,s.zI)();return(0,u.useCallback)((r=>{r.title&&e!==r.title&&(t(r.title),n(r.title))}),[e,n])})(),m=(0,i.W6)(),p=(0,u.useCallback)((e=>{V(e,t,l,m,n,r)}),[t,l,m,n,r]);(0,u.useEffect)((()=>{const t=(0,B.makeWindowListener)({checkout:e=>{const t={orderIds:e.checkoutOrderId||"",billingMarket:e.billingMarket,navigatedFromCart:!0};p(t)},done:e=>((e,t)=>{switch(e.status){case"error":t(y.Error);break;case"cancel":window.location.reload()}})(e,o),ready:()=>o(y.Loaded),resize:t=>U(t,e),openUrl:H,routeChange:c,titleChange:d});return window.addEventListener("message",t),()=>{window.removeEventListener("message",t)}}),[p,e,o,c,d])},q=()=>(0,h.d4)(a.j17)===a.Sxu.Light?"#FFFFFFFF":"#FF201f24";var z=n(92261);const X="isAveSuccess",j=async(e,t,n,r,o,i,s,l,c)=>{const d=(0,h.d4)(C.yn),m=q(),p=(0,a.mx0)().get(a._F7);(0,u.useEffect)((()=>{const u=(()=>{const e=window.location.href,t=new URL(e);t.searchParams.append(X,"true");const n=new URL(e);return n.searchParams.append(X,"false"),{successUri:t.toString(),failureUri:n.toString()}})(),h=(0,N.sI)();(async()=>{if(!e.current)return;const f=await O(r,d);o.current=!!f;if(!await(0,B.invokeCartInFrame)(e.current,{authToken:"",aveFailureRedirectUrl:u.failureUri,aveSuccessRedirectUrl:u.successUri,clientType:z.G,cssOverride:"XboxCom",cV:i.cv().get(),keepShoppingUrl:h,layout:"Inline",pageFormat:"full",locale:t.localeWithScript,market:t.market,theme:n===a.Sxu.Dark?"dark":"light",xToken:f||void 0,productImageBackgroundColorARGB:m,postBusyStateToParent:!0,muid:p,flights:l,queryStringParams:c}))return i.logAppAction({action:I.CartError,pageName:P.g6.Cart}),void s(y.Error);s(y.Loading)})()}),[])},W=e=>{let{frameRef:t,frameName:n,loadState:r}=e;(0,P.qz)(P.ry.Cart,P.g6.Cart);const a=(0,d.FE)("cartPageTitle"),o=w(t);return u.createElement(s.a4,null,u.createElement(T.s,{show:o}),u.createElement("iframe",{ref:t,key:n,name:n,referrerPolicy:"strict-origin-when-cross-origin",sandbox:"allow-scripts allow-same-origin allow-forms allow-popups",allow:"payment *",seamless:!0,className:S()("CartPage-module__cartFrame___JYkdn",{[(0,s.R)()]:r!==y.Loaded}),"aria-label":a}))},$=()=>{const e=(0,u.useRef)(null),t=(0,h.d4)(a.P6r),n=R(),r=(0,u.useRef)(!1),o=(0,C.jb)(),l=(0,P.Gb)(),c=k(),d=M(),m=(0,i.W6)(),{search:p}=(0,i.zy)(),[f,v]=(0,u.useState)(y.None),[g,_]=(0,u.useState)(!1),b=(0,h.d4)((e=>(0,a.pzA)(e,a.WTf.EnableCartCheckoutDynamicParams))),E=(0,u.useMemo)((()=>b?(0,a.kQE)(new URLSearchParams(p),...Array.from(D)).reduce(((e,t)=>(t&&e.set(t.originalKey,t.value),e)),new URLSearchParams).toString():void 0),[p,b]),S=`store-cart-frame_${n}_${g}`;return A(f,v,l,g,c,(()=>{L(t.locale,r.current)})),G(e,o,t,n,v),j(e,t,n,o,r,l,v,d,E),(0,u.useEffect)((()=>{b&&f===y.Loaded&&m.replace({search:""})}),[f,m,b]),u.createElement(u.Fragment,null,u.createElement("div",{className:"CartPage-module__cartContainer___zpyiA"},(f===y.Loading||f===y.None)&&u.createElement(s.AV,null),f===y.ErrorRetry&&u.createElement(s.E,{retryAction:()=>{v(y.None),_(!0)}}),f===y.Error&&u.createElement(s.M,{error:new Error("Error while loading cart iframe")}),f!==y.Error&&f!==y.ErrorRetry&&u.createElement(W,{frameRef:e,frameName:S,loadState:f})))};var J=n(41506),K=n.n(J),Q=n(45068);const Y=(e,t,n,r,a)=>{(0,u.useEffect)((()=>{const o=(0,Q.makeWindowListener)({done:e=>((e,t,n,r,a)=>{switch(e.status){case"success":t.logAppAction({action:I.CheckoutSuccessful,pageName:P.g6.Checkout}),r(!0);break;case"error":t.logAppAction({action:I.CheckoutError,pageName:P.g6.Checkout}),n(y.Error);break;case"cancel":a()}})(e,t,n,r,a),ready:()=>n(y.Loaded),resize:t=>U(t,e),openUrl:H});return window.addEventListener("message",o),()=>{window.removeEventListener("message",o)}}),[a,e,r,n,t])},Z=e=>{const t=(e=>{const t=new URL(window.location.href);return t.searchParams.set(F.hV.orderIds,e.orderIds),e.billingMarket?t.searchParams.set(F.hV.billingMarket,e.billingMarket):t.searchParams.delete(F.hV.billingMarket),t})(e),n=`${F.hV.realReturnUrl}={realReturnUrl}`;return t.search=t.search+(t.search?"&":"?")+n,t.toString()},ee=async(e,t,n,r,o,i,s,l,c,d)=>{const m=(0,h.d4)(C.yn),p=q(),f=(0,a.mx0)().get(a._F7),v=(e=>{var t,n;if(!e)return;const r=(null===e||void 0===e?void 0:e.realReturnUrl)?new URL(e.realReturnUrl):void 0;return r&&(null===(t=r.search)||void 0===t?void 0:t.indexOf("?"))>-1?null===(n=null===r||void 0===r?void 0:r.search)||void 0===n?void 0:n.slice(1):void 0})(r);(0,u.useEffect)((()=>{if(!r)return void c();const u=Z(r),h=(0,N.sI)();(async()=>{if(!e.current)return;const r=await O(o,m);i.current=!!r;if(!await(0,Q.invokeCheckoutInFrame)(e.current,{authToken:"",clientType:z.G,cssOverride:"XboxCom",cV:s.cv().get(),keepShoppingUrl:h,layout:"Inline",pageFormat:"full",locale:t.localeWithScript,market:t.market,postBusyStateToParent:!0,productImageBackgroundColorARGB:p,theme:n===a.Sxu.Dark?"dark":"light",xToken:r||void 0,hostRedirectReturnUrlTemplate:u,muid:f,flights:d,queryStringParams:v}))return s.logAppAction({action:I.CheckoutError,pageName:P.g6.Checkout}),void l(y.Error);l(y.Loading)})()}),[])},te=e=>{let{isPurchaseComplete:t}=e;const{checkoutPageTitle:n,checkoutThankYouPageTitle:r}=(0,d.ot)("checkoutPageTitle","checkoutThankYouPageTitle"),a=t?r:n,o=[s.zP.NoIndex,s.zP.NoFollow];return u.createElement(s.xp,{title:a,robotsMetaTags:o})},ne=e=>{let{frameRef:t,frameName:n,show:r}=e;(0,P.qz)(P.ry.Checkout,P.g6.Checkout);const a=(0,d.FE)("checkoutPageTitle"),o=w(t);return u.createElement(s.a4,null,u.createElement(T.s,{show:o}),u.createElement("iframe",{ref:t,key:n,name:n,referrerPolicy:"strict-origin-when-cross-origin",sandbox:"allow-same-origin allow-scripts allow-forms",allow:"payment *",seamless:!0,className:S()("CheckoutPage-module__checkoutFrame___PcKMJ",{[(0,s.R)()]:r}),"aria-label":a}))},re=(0,s.sT)({resolved:{},chunkName:()=>"CartPage",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,a.wjz)(s.M7,n.e(1196).then(n.bind(n,31952))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>31952}),ae=(0,s.EG)({resolved:{},chunkName:()=>"ContextualStoreHostPage",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,s.Bi)(n.e(7558).then(n.bind(n,92689))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>92689}),oe=(0,s.EG)({resolved:{},chunkName:()=>"ContextualStoreModalLauncherTestPage",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,s.Bi)(n.e(2445).then(n.bind(n,23555))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>23555}),ie=(0,s.EG)({resolved:{},chunkName:()=>"PrivacyAndSafetySettingsPage",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,s.Bi)(Promise.all([n.e(7425),n.e(9290),n.e(776)]).then(n.bind(n,79290))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>79290}),se=(0,s.EG)({resolved:{},chunkName:()=>"ProductDetailsPage",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,s.Bi)(Promise.all([n.e(1524),n.e(1096),n.e(4263),n.e(7425),n.e(7907)]).then(n.bind(n,32316))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>32316}),le=(0,s.sT)({resolved:{},chunkName:()=>"ProductDetailsPage",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,a.wjz)(s.M7,Promise.all([n.e(1524),n.e(1096),n.e(4263),n.e(7425),n.e(7907)]).then(n.bind(n,20384))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>20384}),ce=(0,s.EG)({resolved:{},chunkName:()=>"SearchPage",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,s.Bi)(Promise.all([n.e(4263),n.e(125),n.e(7284)]).then(n.bind(n,19e3))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>19e3});var ue=n(34813);const de=()=>{const e=(0,i.zy)(),t=(0,ue.Qu)((0,ue.O9)(F.hV.searchQuery,e)),n=(0,d.JX)("searchTitleNoCount",{queryParam:t}),r=[s.zP.NoIndex,s.zP.NoFollow];return u.createElement(s.xp,{title:n,robotsMetaTags:r})},me=(0,s.EG)({resolved:{},chunkName:()=>"WishlistPage",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,s.Bi)(Promise.all([n.e(2631),n.e(3595)]).then(n.bind(n,6230))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>6230}),pe=(0,s.sT)({resolved:{},chunkName:()=>"WishlistPage",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,a.wjz)(s.M7,Promise.all([n.e(2631),n.e(3595)]).then(n.bind(n,73906))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>73906}),he=(0,s.sT)({resolved:{},chunkName:()=>"WishlistPage",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,a.wjz)(s.M7,Promise.all([n.e(2631),n.e(3595)]).then(n.bind(n,17334))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>17334}),fe=(0,s.EG)({resolved:{},chunkName:()=>"XboxCardApplyHostPage",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,s.Bi)(n.e(6313).then(n.bind(n,16597))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>16597}),ve=(0,s.EG)({resolved:{},chunkName:()=>"ContactPreferencesPage",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,s.Bi)(Promise.all([n.e(1524),n.e(1096),n.e(9212)]).then(n.bind(n,7068))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>7068});var ge=n(47882);const _e=()=>{const e=(0,h.d4)(a.GYd).userAgent,t=new ge.P6(e),n=t.isIOS,r=t.isIPadOS,o=t.isAndroid;let l=N.ru;if(n||r)l=N.as;else if(o)return u.createElement(i.rd,{to:"/XboxSetupAndroid"});return u.createElement(s.cS,{to:l})},ye=(0,s.EG)({resolved:{},chunkName:()=>"XboxSetupAndroidPage",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,s.Bi)(n.e(7077).then(n.bind(n,99923))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>99923}),be=(0,s.EG)({resolved:{},chunkName:()=>"RedeemHostPage",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,s.Bi)(Promise.all([n.e(1524),n.e(1435)]).then(n.bind(n,93762))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>93762}),Ee=(0,s.EG)({resolved:{},chunkName:()=>"RenewIntoHostPage",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,s.Bi)(Promise.all([n.e(1524),n.e(1435)]).then(n.bind(n,8508))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>8508}),Se=(0,o.gq)((()=>Promise.all([n.e(6532),n.e(3223)]).then(n.bind(n,31135))),(e=>e.lazyRouteConfigs)),Ce=[{key:"Wishlist",path:"/wishlist",component:me,exact:!0,seoComponent:pe,testConfig:{title:"Wishlist",testPath:[{path:"/wishlist",title:"Default wishlist"},{path:"/wishlist/wishlistId",title:"Wishlist with wishlistId"}]},lazyConfig:Se("Wishlist")},{key:"SharedWishlist",path:`/wishlist/:${a.pvY.WishlistId}`,component:me,exact:!0,seoComponent:he,lazyConfig:Se("Wishlist")},{key:"PrivacyAndSafetySettings",path:`/user/settings/privacy-and-safety/:${a.pvY.Xuid}?`,component:ie,theme:a.Sxu.Light,testConfig:{title:"Privacy and Safety Settings Page",testPath:"/user/settings/privacy-and-safety"}},{key:"ContactPreferencesPage",path:"/user/settings/contact-preferences",component:ve,theme:a.Sxu.Light,testConfig:{title:"Contact Preferences Page",testPath:"/user/settings/ContactPreferences"}},{key:"PrivacyAndSafetySettings",path:"/user/settings",component:ie,theme:a.Sxu.Dark,testConfig:{title:"Privacy and Safety Settings via old path",testPath:"/user/settings"}},{key:"BrowsePageByCollection",path:`/games/browse/:${a.pvY.ChannelId}`,component:m,theme:a.Sxu.Light,seoComponent:p,lazyConfig:Se("BrowseChannel"),testConfig:{title:"Browse By Collection Page",testPath:[{path:"/games/browse/New",title:"New games collection"},{path:"/games/browse/TopPaid",title:"Top Paid collection"},{path:"/games/browse/TopFree",title:"Top Free collection"},{path:"/games/browse/BestRated",title:"Best Rated collection"},{path:"/games/browse/based-On-Books",title:"Games Based on books (Campsite) alias"},{path:"/games/browse/CampsiteChannel.Games.Primary.gamesbasedonbooks",title:"Games Based on books (Campsite)"},{path:"/games/browse/CampsiteChannel.Games.Sale.2023.Dealsunlocked0623",title:"Deals Unlocked June 2023 (Campsite)"}]}},{key:"OldBrowsePageRoutes",path:"/browse/games*",component:()=>{const e=(0,i.zy)(),t=e.pathname.toLowerCase().split("/browse/games"),n=`${t[0]}/games/browse${t[1]}${e.search}`;return u.createElement(i.rd,{to:n})},seoComponent:p,testConfig:{title:"Old Browse (Should redirect to new)",testPath:[{path:"/browse/games/New",title:"New games collection"},{path:"/browse/games/New?Genre=Action%20%26%20adventure",title:"Browse all new action & adventure"},{path:"/browse/games?Genre=Action%20%26%20adventure",title:"Browse all action & adventure"}]}},{key:"BrowseConsoleGames",path:"/games/all-games/console",component:m,theme:a.Sxu.Light,seoComponent:()=>{const e=(0,d.JX)("homePageBrowseAllGamesConsoleButtonLabel"),t=f("console");return u.createElement(s.xp,{title:e,canonicalUrl:t})},testConfig:{title:"Browse Console Games Page"},lazyConfig:Se("BrowseAll")},{key:"BrowsePCGames",path:"/games/all-games/pc",component:m,theme:a.Sxu.Light,seoComponent:()=>{const e=(0,d.JX)("homePageBrowseAllGamesPCButtonLabel"),t=f("pc");return u.createElement(s.xp,{title:e,canonicalUrl:t})},testConfig:{title:"Browse PC Games Page"},lazyConfig:Se("BrowseAll")},{key:"BrowseAllGames",path:"/games/browse",component:m,theme:a.Sxu.Light,seoComponent:()=>{const e=(0,d.JX)("homePageBrowseAllGamesModuleTitle"),t=f();return u.createElement(s.xp,{title:e,canonicalUrl:t})},testConfig:{title:"Browse Page",testPath:[{path:"/games/browse",title:"Default browse page"},{path:"/games/browse?Genre=Action%20%26%20adventure",title:"Action & adventure games"}]},lazyConfig:Se("BrowseAll")},{key:"RedeemHost",path:"/external/redeem-host",component:be,hideUHF:!0,uhfConfig:{headerMode:a.qon.Off,footerMode:a.oqV.Off},theme:a.Sxu.Dark,exact:!0,testConfig:{title:"Redeem Host Test"}},{key:"RenewIntoHost",path:"/external/renewinto-host",component:Ee,hideUHF:!0,uhfConfig:{headerMode:a.qon.Off,footerMode:a.oqV.Off},theme:a.Sxu.Dark,exact:!0,testConfig:{title:"Renew Into Host Test"}},{key:"ContextualStoreHost",path:`/external/contextual-store-host/:${a.pvY.ProductId}/:${a.pvY.SkuId}?/:${a.pvY.AvailabilityId}?`,component:ae,hideUHF:!0,uhfConfig:{headerMode:a.qon.Off,footerMode:a.oqV.Off},testConfig:{title:"Contextual Store Host",testPath:[{path:"/external/contextual-store-host/91FRV8WPFK4C",title:"Xbox One X 1TB Console"},{path:"/external/contextual-store-host/C2KDNLT2H7DM",title:"Gears 5 (XPA)"},{path:"/external/contextual-store-host/9pk917v6pncb",title:"Gears 5 - 500 Coins"},{path:"/external/contextual-store-host/BVJLKDG2TX8H",title:"Overcooked 2 (Xbox)"},{path:"/external/contextual-store-host/9PNLMB2ZW603",title:"Product not found"},{path:"/external/contextual-store-host/C2KDNLT2H7DM?v=v2",title:"v2 - Gears 5 (XPA)"},{path:"/external/contextual-store-host/c2b3mcdf0c4l?v=v2",title:"v2 - Silver with Skus"},{path:"/external/contextual-store-host/CFQ7TTC0KHS0?v=v2",title:"v2 - Game Pass Ultimate"},{path:"/external/contextual-store-host/C2KDNLT2H7DM?v=v2&exp=Browse&it=Consumable,Durable",title:"v2 Marketplace - Gears 5 (XPA) "}]}},{key:"ContextualStoreModalLauncherTest",path:"/contextualStoreHostLauncherTest",component:oe,theme:a.Sxu.Dark,exact:!0,constraint:{featureGates:{[a.WTf.EnableTestPages]:e=>!0===e}},testConfig:{title:"Contextual Store Modal Launcher Test"}},{key:"BundleBuilderTest",path:"/configure/testProducts",component:_,theme:a.Sxu.Dark,exact:!0,enableXboxCart:!0,constraint:{featureGates:{[a.WTf.EnableTestPages]:e=>!0===e}},testConfig:{title:"Bundle Builder Test Products"}},{key:"BundleBuilder",path:`/configure/:${a.pvY.ProductId}`,component:v,exact:!0,enableXboxCart:!0,seoComponent:g,testConfig:{title:"Bundle Builder",testPath:[{path:"/configure/8WJ714N3RBTL",title:"Xbox Series X"},{path:"/configure/942J774TP9JN",title:"Xbox Series S"},{path:"/configure/8WQZDSJ7B8M5",title:"Surface Pro 10"}]},lazyConfig:Se("BundleBuilder")},{key:"XboxCardApplyHost",path:`/:${a.pvY.Path}(xbox-mastercard)/apply`,component:fe,theme:a.Sxu.Dark,uhfConfig:{headerMode:a.qon.None,footerMode:a.oqV.None},testConfig:{title:"xbox mastercard apply host",testPath:[{path:"/xbox-mastercard/apply",title:"Test Page for External Apply Flow"}]}},{key:"ProductDetailsPage",path:`/games/store/:${a.pvY.ProductName}/:${a.pvY.ProductId}/:${a.pvY.SkuId}?/:${a.pvY.AvailabilityId}?`,component:se,requiresNewRequest:(e,t,n)=>{let r=!0;if(n){const o=(0,i.B6)(t.pathname,{path:e}),s=(0,i.B6)(n.pathname,{path:e});r=!(0,a.JSV)(null===o||void 0===o?void 0:o.params[a.pvY.ProductId],null===s||void 0===s?void 0:s.params[a.pvY.ProductId])}return r},formatPageId:(e,t)=>{var n;return`${t}/${((null===(n=null===e||void 0===e?void 0:e.match)||void 0===n?void 0:n.params[a.pvY.ProductId])||"").toUpperCase()}`},seoComponent:le,theme:a.Sxu.Dark,lazyConfig:Se("ProductDetailsPage"),testConfig:{title:"PDP",testPath:[{path:"/games/store/Gears-of-War-5/C2KDNLT2H7DM",title:"Gears 5 (XPA)"},{path:"/games/store/Game-Pass-Ultimate/CFQ7TTC0KHS0",title:"Game Pass Ultimate"},{path:"/games/store/Overcooked-2-Xbox/BVJLKDG2TX8H",title:"Overcooked 2 (Xbox)"},{path:"/games/store/Overcooked-2-PC/9PGB72NFG5JN",title:"Overcooked 2 (PC)"},{path:"/games/store/Forza-Horizon-4-Ultimate-Bundle/9P513P4MWC71",title:"Forza Horizon 4 Ultimate (Bundle)"},{path:"/games/store/Forza-Horizon-4-Car-Pass-DLC/9MZPP9XXP13L",title:"Forza Horizon 4 Car Pass (DLC)"},{path:"/games/store/Forza-Horizon-4/9PNQKHFLD2WQ",title:"Forza Horizon 4 (No Availability)"},{path:"/games/store/Destiny-2-Silver/c2b3mcdf0c4l",title:"Destiny 2 Silver"},{path:"/games/store/fallout-1st/cfq7ttc0l4dr",title:"Fallout 1st - 3PP & Sku Selector"},{path:"/games/store/ubisoft/CFQ7TTC0QH5H",title:"Ubisoft+"},{path:"/games/store/xbet-testing/9NVKC6TB0MKC",title:"Ubisoft+ - Test Product "},{path:"/games/store/assassins-creed-odyssey/BW9TWC8L4JCS",title:"Assassin's Creed Odyssey"},{path:"/games/store/wheel-of-fortune/BR76VBTV0NK0",title:"Wheel of Fortune"},{path:"/games/store/xbox-game-pass-standard/CFQ7TTC0P85B",title:"Game Pass Standard"},{path:"/games/store/p/9PG495V9BT52/0010",title:"Sonic Frontiers (Mauna Loa Product)"}]}},{key:"Cart",path:"/cart",component:$,exact:!0,enableXboxCart:!0,seoComponent:re},{key:"Checkout",path:"/checkout",component:()=>{const e=(0,u.useRef)(null),t=(0,C.jb)(),n=(0,u.useRef)(!1),r=(0,P.Gb)(),o=(0,h.d4)(a.P6r),l=R(),c=(0,h.wA)(),[d,m]=(0,u.useState)(y.None),[p,f]=(0,u.useState)(!1),[v,g]=(0,u.useState)(!1),_=k(),b=(0,i.W6)(),E=(()=>{const e=(0,i.zy)(),t=e.state,n=new URLSearchParams(e.search),[r,o,s]=(0,a.kQE)(n,F.hV.orderIds,F.hV.billingMarket,F.hV.realReturnUrl),l=(0,u.useRef)();if(null===l||void 0===l?void 0:l.current)return l.current;const c={orderId:(null===t||void 0===t?void 0:t.orderIds)||(null===r||void 0===r?void 0:r.value),billingMarket:(null===t||void 0===t?void 0:t.billingMarket)||(null===o||void 0===o?void 0:o.value),realReturnUrl:null===s||void 0===s?void 0:s.value,navigatedFromCart:!!(null===t||void 0===t?void 0:t.navigatedFromCart)},{orderId:d}=c,m=d?K()(K()({},c),{},{orderIds:d}):void 0;if(l.current=m||null,window.history&&window.history.replaceState){const e=new URL(window.location.href);e.search="",window.history.replaceState({},"",e.toString())}return m})(),S=M(),T=()=>(e=>{e.replace({pathname:"/cart"})})(b),w=`store-checkout-frame_${l}_${p}`;return(0,u.useEffect)((()=>(c(a.Hde.setHeaderMode(a.qon.Minimal)),()=>{c(a.Hde.resetHeaderMode())})),[c]),A(d,m,r,p,_,(()=>{L(o.locale,n.current)})),Y(e,r,m,g,T),ee(e,o,l,E,t,n,r,m,T,S),u.createElement(u.Fragment,null,u.createElement(te,{isPurchaseComplete:v}),u.createElement("div",{className:"CheckoutPage-module__checkoutContainer___V21dl"},(d===y.Loading||d===y.None)&&u.createElement(s.AV,null),d===y.ErrorRetry&&u.createElement(s.E,{retryAction:()=>{m(y.None),f(!0)}}),d===y.Error&&u.createElement(s.M,{error:new Error("Error while loading checkout iframe")}),d!==y.Error&&d!==y.ErrorRetry&&u.createElement(ne,{frameRef:e,frameName:w,show:d===y.Loading||d===y.None})))},exact:!0,enableXboxCart:!0,seoComponent:null},{key:"GuestCheckout",path:"/guest-checkout",component:$,exact:!0,enableXboxCart:!0,seoComponent:re},{key:"SearchAllPage",path:"/search/results",component:ce,exact:!0,theme:a.Sxu.Light,formatPageId:(e,t)=>`${t}/search/results`,seoComponent:de,lazyConfig:Se("SearchAllPage"),testConfig:{title:"Search All",testPath:[{title:"Halo",path:"/search/results?q=halo"},{title:"Forza",path:"/search/results?q=forza"},{title:"Xbox",path:"/search/results?q=xbox"},{title:"Gears 5",path:"/search/results?q=gears%205"},{title:"Promo",path:"/search/results?q=cod"}]}},{key:"SearchTabPage",path:`/search/results/:${a.pvY.TabName}`,component:ce,exact:!0,theme:a.Sxu.Light,formatPageId:(e,t)=>`${t}/search/results`,seoComponent:de,lazyConfig:Se("SearchTabPage"),testConfig:{title:"Search Collection",testPath:[{title:"Halo Games",path:"/search/results/games?q=halo"},{title:"Forza Games",path:"/search/results/games?q=forza"},{title:"Forza Addons < $5",path:"/search/results/Addons?q=forza&Price=0.01To5"},{title:"Xbox Hardware",path:"/search/results/hardware?q=xbox"},{title:"Gears 5",path:"/search/results/games?q=gears%205"},{title:"Gears 5 Addons(Case Insensitive)",path:"/search/results/aDdoNS?q=gears%205"}]}},{key:"AccountLinkStart",path:`/connect/:${a.pvY.NetworkName}(ubisoft)/start-link`,component:l,exact:!0,seoComponent:()=>{const e=(0,d.JX)("accountLinkStartTitle"),t=[s.zP.NoIndex,s.zP.NoFollow];return u.createElement(s.xp,{title:e,robotsMetaTags:t})},lazyConfig:Se("AccountLinkStart"),theme:a.Sxu.Dark,testConfig:{title:"Ubisoft link start",testPath:"/connect/ubisoft/start-link"}},{key:"AccountLinkComplete",path:`/connect/:${a.pvY.NetworkName}(ubisoft)/complete-link`,component:c,exact:!0,seoComponent:()=>{const e=(0,d.JX)("accountLinkCompleteTitle"),t=[s.zP.NoIndex,s.zP.NoFollow];return u.createElement(s.xp,{title:e,robotsMetaTags:t})},theme:a.Sxu.Dark,testConfig:{title:"Ubisoft link complete",testPath:"/connect/ubisoft/complete-link"},lazyConfig:Se("AccountLinkComplete")},{key:"XboxSetupRedirect",path:"/XboxSetupRedirect",component:_e,exact:!0,testConfig:{title:"Xbox redirect page based on the user agent",testPath:"/XboxSetupRedirect"}},{key:"XboxSetupAndroid",path:"/XboxSetupAndroid",component:ye,exact:!0,theme:a.Sxu.Dark,testConfig:{title:"Xbox setup android page",testPath:"/XboxSetupAndroid"}}],Pe={partnerId:r.QNR,routes:Ce,redirectExperimentsConfiguration:{},lazyConfig:()=>Promise.all([n.e(6532),n.e(3223)]).then(n.bind(n,62442))}},72298:(e,t,n)=>{"use strict";n.d(t,{R:()=>a,RK:()=>o,cI:()=>r});var r="PageBanner-module__bannerContainer___YuHV3",a="PageBanner-module__hidden___MkKJW",o="PageBanner-module__visible___Q3bC3"},72942:(e,t,n)=>{"use strict";n.d(t,{JX:()=>a,QI:()=>r,yP:()=>o});const r=e=>Math.round(100*e)/100,a=e=>`${e}rem`,o=(e,t)=>`${e}_${t.toLocaleUpperCase()}`},73037:(e,t,n)=>{"use strict";n.d(t,{A3:()=>d,f$:()=>m,b3:()=>p});var r=n(14041),a=n(5929),o=n(74748),i=n(85608);const s=function(e){var{title:t,titleId:n}=e,a=(0,i.__rest)(e,["title","titleId"]);return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},a),t?r.createElement("title",{id:n},t):null,r.createElement("path",{d:"M1184 0q100 0 187 37t153 103 102 152 38 188v864q0 97-25 187t-71 168-110 143-142 110-169 71-187 25q-97 0-187-25t-168-71-143-110-110-142-71-169-25-187V480q0-100 37-187t103-153T548 38 736 0h448zm352 480q0-73-27-137t-76-112-112-75-137-28h-160v640H896V128H736q-73 0-137 27t-112 76-75 112-28 137v864q0 119 45 224t124 183 183 123 224 46q119 0 224-45t183-124 123-183 46-224V480z"}))};const l=function(e){var{title:t,titleId:n}=e,a=(0,i.__rest)(e,["title","titleId"]);return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},a),t?r.createElement("title",{id:n},t):null,r.createElement("path",{d:"M1600 896q40 0 75 15t61 41 41 61 15 75v384q0 119-45 224t-124 183-183 123-224 46q-144 0-268-55t-226-156l-472-472q-28-28-43-65t-15-76q0-42 16-78t43-64 63-42 78-16q82 0 141 59l107 106V853q-59-28-106-70t-80-95-52-114-18-126q0-93 35-174t96-143 142-96T832 0q93 0 174 35t143 96 96 142 35 175q0 93-37 178t-105 149q35 9 63 30t49 52q45-25 94-25 50 0 93 23t69 66q45-25 94-25zM512 448q0 75 34 143t94 113V448q0-40 15-75t41-61 61-41 75-15q40 0 75 15t61 41 41 61 15 75v256q60-45 94-113t34-143q0-66-25-124t-69-101-102-69-124-26q-66 0-124 25t-102 69-69 102-25 124zm1152 1024v-384q0-26-19-45t-45-19q-21 0-34 7t-20 21-9 31-2 37q0 16 1 32t1 32q0 20-2 37t-9 30-20 21-34 8q-21 0-34-8t-20-21-9-33-3-40q0-28 2-58t2-58q0-43-12-72t-54-30q-21 0-34 7t-20 21-9 31-2 37q0 16 1 32t1 32q0 20-2 37t-9 30-20 21-34 8q-21 0-34-8t-20-21-9-33-3-40q0-28 2-58t2-58q0-43-12-72t-54-30q-21 0-34 7t-20 21-9 31-2 37q0 16 1 32t1 32q0 20-2 37t-9 30-20 21-34 8q-26 0-45-19t-19-45V448q0-26-19-45t-45-19q-26 0-45 19t-19 45v787q0 23-8 42t-23 35-35 23-42 9q-22 0-42-8t-37-24l-139-139q-21-21-50-21t-50 21-22 51q0 29 21 50l472 473q84 84 184 128t219 45q93 0 174-35t142-96 96-142 36-175z"}))};var c=n(97895),u="Icons-module__interactionLogo___0qrQw";const d=()=>{const e=(0,c.JX)("launchpadWayfinderControllerIconAlt");return r.createElement(a.In,{icon:o.A,iconSize:a.lK.Custom,className:u,"aria-label":e})},m=()=>{const e=(0,c.JX)("launchpadWayfinderMouseIconAlt");return r.createElement(a.In,{icon:s,iconSize:a.lK.Custom,className:u,"aria-label":e})},p=()=>{const e=(0,c.JX)("launchpadWayfinderTouchIconAlt");return r.createElement(a.In,{icon:l,iconSize:a.lK.Custom,className:u,"aria-label":e})}},73307:(e,t,n)=>{"use strict";n.d(t,{G:()=>r,m:()=>i});var r,a=n(51733),o=n(78229);!function(e){e.GET_PRODUCT_DETAIL_START="@contextualStore/GET_PRODUCT_DETAIL_START",e.GET_PRODUCT_DETAIL_COMPLETE="@contextualStore/GET_PRODUCT_DETAIL_COMPLETE",e.GET_PRODUCT_DETAIL_ERROR="@contextualStore/GET_PRODUCT_DETAIL_ERROR",e.GET_BROWSE_PAGE_START="@contextualStore/GET_BROWSE_PAGE_START",e.GET_BROWSE_PAGE_COMPLETE="@contextualStore/GET_BROWSE_PAGE_COMPLETE",e.GET_BROWSE_PAGE_ERROR="@contextualStore/GET_BROWSE_PAGE_ERROR",e.GET_MORE_BROWSE_PAGE_START="@contextualStore/GET_MORE_BROWSE_PAGE_START",e.GET_MORE_BROWSE_PAGE_COMPLETE="@contextualStore/GET_MORE_BROWSE_PAGE_COMPLETE",e.GET_MORE_BROWSE_PAGE_ERROR="@contextualStore/GET_MORE_BROWSE_PAGE_ERROR",e.PURCHASE_COMPLETE="@contextualStore/PURCHASE_COMPLETE"}(r||(r={}));const i={getProductDetailById:(0,o.U)(a.H.ContextualStore,r.GET_PRODUCT_DETAIL_START,((e,t)=>({productId:e,onFailure:t})),r.GET_PRODUCT_DETAIL_COMPLETE,(e=>({productId:e})),r.GET_PRODUCT_DETAIL_ERROR,((e,t)=>({error:e,productId:t}))),getBrowsePageDataById:(0,o.U)(a.H.ContextualStore,r.GET_BROWSE_PAGE_START,((e,t,n,r)=>({productId:e,itemType:t,channelKey:n,onFailure:r})),r.GET_BROWSE_PAGE_COMPLETE,((e,t)=>({channelKey:e,continuationToken:t})),r.GET_BROWSE_PAGE_ERROR,((e,t)=>({channelKey:e,error:t}))),getMoreBrowsePageData:(0,o.U)(a.H.ContextualStore,r.GET_MORE_BROWSE_PAGE_START,((e,t,n,r,a,o)=>({productId:e,itemType:t,channelKey:n,continuationToken:r,onFailure:a,onSuccess:o})),r.GET_MORE_BROWSE_PAGE_COMPLETE,((e,t)=>({channelKey:e,continuationToken:t})),r.GET_MORE_BROWSE_PAGE_ERROR,((e,t)=>({channelKey:e,error:t}))),purchaseComplete:(0,o.A)(r.PURCHASE_COMPLETE,a.H.ContextualStore,(e=>({productId:e})))}},73450:(e,t,n)=>{"use strict";n.d(t,{$:()=>l,X:()=>s});var r=n(7365),a=n(2170),o=n(76772),i=n(10467);function s(e,t,n,s=(0,o.Bk)()){const l=s&&(0,o.zU)(s);l&&(r.T&&i.vF.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),l.addEvent(e,{[a.xc]:t,[a.Sn]:n}))}function l(e){if(!e||0===e.length)return;const t={};return e.forEach((e=>{const n=e.attributes||{},r=n[a.Sn],o=n[a.xc];"string"===typeof r&&"number"===typeof o&&(t[e.name]={value:o,unit:r})})),t}},73719:(e,t,n)=>{"use strict";n.d(t,{M:()=>I,jC:()=>k,FP:()=>A});var r=n(41506),a=n.n(r),o=(n(45993),n(36824)),i=n(95428),s=n(97895),l=n(92747),c=n(14041),u=n(86090),d=n(83718),m=n(40159),p=n(15499);const h=n.p+"static/media/error-hero-01.156ff95c.jpg";var f=n(54942),v=n(6409),g=n(72178),_=n(9339);const y=n.p+"static/media/error-page-tile-games.bc4d4d57.jpg",b=n.p+"static/media/error-page-tile-consoles.726e67f4.jpg",E=n.p+"static/media/error-page-tile-support.94a896fe.svg";var S=n(3122);const C=()=>{const[e,t,n]=(0,s.cG)("errorPageTileXboxGamesHeader","errorPageTileXboxGamesBody","errorPageTileXboxGamesLinkText"),r=(0,d.d4)(i.a5u),a=(0,i.tcg)(_.Hz,{locale:r});return c.createElement(w,{imgSrc:y,header:e,body:t,linkText:n,href:a})},P=()=>{const[e,t,n]=(0,s.cG)("errorPageTileXboxConsolesHeader","errorPageTileXboxConsolesBody","errorPageTileXboxConsolesLinkText"),r=(0,d.d4)(i.a5u),a=(0,i.tcg)(_.ar,{locale:r});return c.createElement(w,{imgSrc:b,header:e,body:t,linkText:n,href:a})},T=()=>{const[e,t,n]=(0,s.cG)("errorPageTileXboxSupportHeader","errorPageTileXboxSupportBody","errorPageTileXboxSupportLinkText"),r=(0,d.d4)(i.a5u),a=(0,i.tcg)(_.Rv,{locale:r});return c.createElement(w,{imgSrc:E,header:e,body:t,linkText:n,href:a})},w=e=>{let{imgSrc:t,header:n,body:r,href:a,linkText:o}=e;const[l]=(0,s.cG)("errorPageTileImageAltText");return c.createElement("div",{className:S.Tl},c.createElement("img",{src:t,alt:(0,i.GPZ)(l,n),className:S.H1}),c.createElement("h3",{className:S.Bp},n),c.createElement("p",{className:S.Dl},r),c.createElement("div",null,c.createElement(v.a,{as:"a",href:a,buttonType:g.VQ.Tertiary,target:"_blank",rel:"noopener noreferrer",className:S.Cn,"aria-label":o},c.createElement("span",{className:S.Cn},o))))},I=e=>{const[t,n,r,u,d]=(0,s.cG)("errorPageMessage","errorPageSubMessage","errorCodeTemplate","errorPageNotFoundMessage","errorPageNotFoundSubMessage"),h=(0,l.Gb)(),f=(0,i.GPZ)(r,h.cv().get());return(0,l.qz)(l.ry.Error,m.g.Error,{additionalRerunParameter:e.error.name,data:(0,i.HRB)({errorName:e.error.name,errorMessage:e.error.message,errorStack:e.error.stack})}),c.createElement(p.L,{status:e.statusCode||o.kG.InternalServerError},c.createElement(k,a()({errorCodeDisplayString:f,title:e.statusCode===o.kG.NotFound?u:t,subtitle:e.statusCode===o.kG.NotFound?d:n},e)))},k=e=>{let{errorCodeDisplayString:t,error:n,subtitle:r,title:a,children:o}=e;const[i]=(0,s.cG)("errorPageBackgroundImageAltText");return c.createElement("div",null,c.createElement("div",{className:f.Un},c.createElement("div",{className:f.jy},c.createElement("img",{src:h,alt:i,className:f.O2}),c.createElement("div",{className:f.$1},c.createElement("h2",{className:f.Uf},a),!!r&&c.createElement("p",{className:f.Ms},r),t&&c.createElement("p",{className:f.CA},t),c.createElement(x,{error:n}),o))),c.createElement("div",{className:f.iS},c.createElement(C,null),c.createElement(P,null),c.createElement(T,null)))},x=e=>{let{error:t}=e;return(0,d.d4)((e=>(0,i.pzA)(e,i.WTf.ShowStackOnError)))?c.createElement("p",null,t.stack):null},A=e=>{let{messageOverride:t}=e;const n=(0,s.FE)("genericErrorMessage"),r=(0,u.W6)(),a=r.createHref(r.location);return(0,l.qz)(l.ry.GenericError,m.g.Error,{data:(0,i.HRB)({errorMessage:t||n,pageHref:a})}),c.createElement("div",null,c.createElement("h3",null,t||n))}},74142:(e,t,n)=>{"use strict";function r(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}n.d(t,{A:()=>a});const a=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"===typeof t||"object"===typeof n){var a=r(t),o=r(n);return a!==t||o!==n?e(a,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1}},74296:(e,t,n)=>{"use strict";n.d(t,{bA:()=>r.bA,$Z:()=>r.$Z,lL:()=>a,oL:()=>r.oL,LC:()=>o,ig:()=>i});var r=n(24562);const a="ProductAddOns";n(68291);const o={Addons:"addons",Docs:"docs",Games:"games",Hardware:"hardware",Passes:"passes",General:"general"},i=e=>Object.values(o).includes(e)},74617:(e,t,n)=>{"use strict";function r(e){return function(t){const n=t;return e.getType()===n.type&&e.getPartner()===n.partner}}n.d(t,{w:()=>r})},74748:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(85608),a=n(14041);const o=function(e){var{title:t,titleId:n}=e,o=(0,r.__rest)(e,["title","titleId"]);return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},o),t?a.createElement("title",{id:n},t):null,a.createElement("path",{d:"M1024 640q26 0 45 19t19 45q0 26-19 45t-45 19q-26 0-45-19t-19-45q0-26 19-45t45-19zm704-164q20 14 36 35t25 45l224 607q20 55 27 121t8 124q0 55-17 111t-49 103-80 76-110 30q-22 0-48-8t-43-24l-304-304q-12-12-30-21t-40-15-42-9-37-3H800q-17 0-37 3t-42 9-39 15-31 21l-304 304q-16 16-42 24t-49 8q-62 0-109-29t-80-76-50-103-17-112q0-61 7-124t28-121l1-1 225-609v-2q9-22 24-41t35-34v-66q44-23 85-40t84-28 88-16 95-6q34 0 61 10t49 22 42 22 40 10h320q19 0 39-10t42-22 50-22 61-10q50 0 95 5t87 17 84 28 86 40v66zm64 1124q33 0 57-20t40-49 23-62 8-61q0-49-6-102t-22-101q-32-93-66-184t-70-184l-61-167q-7-17-12-35t-14-35q-5-10-12-17-11-11-27-17t-30-12v-66q-53-22-110-31t-114-9q-20 0-39 10t-42 22-50 22-61 10H864q-34 0-61-10t-49-22-43-22-39-10q-57 0-114 9t-110 31v66q-8 4-18 8t-21 9-18 12-12 17l-223 605q-16 44-22 100t-6 103q0 27 7 60t23 63 40 49 58 20q5 0 7-1l302-303q20-20 49-35t61-25 65-15 60-5h448q27 0 59 5t65 15 62 25 49 35l302 303q2 1 7 1z"}))}},75184:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(85608),a=n(14041);const o=function(e){var{title:t,titleId:n}=e,o=(0,r.__rest)(e,["title","titleId"]);return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},o),t?a.createElement("title",{id:n},t):null,a.createElement("path",{d:"M640 1280h256v128H512V768h128v512zm765-210q32 28 49 66t18 80q0 40-15 75t-41 61-61 41-75 15h-256V768h224q40 0 75 15t61 41 41 61 15 75q0 61-35 110zm-253-46h96q26 0 45-19t19-45q0-26-19-45t-45-19h-96v128zm128 256q26 0 45-19t19-45q0-26-19-45t-45-19h-128v128h128zm224-896q57 0 110 21t95 62l256 256q41 41 62 94t21 111q0 60-8 123t-27 121l-96 286q-5 13-8 24t-9 23q-19 38-47 68t-64 50-75 30-82 11H256q-53 0-99-20t-82-55-55-81-20-100v-8l64-508q2-13 2-25t4-25q12-51 42-93t69-76q64-57 152-101t191-76 212-53 217-35 208-18 183-6h160zm128 1152q47 0 89-21t64-65q4-8 6-15t4-15l96-287q16-48 22-101t7-104q0-32-11-62t-35-53l-255-255q-23-23-53-34t-62-12h-160q-102 0-209 6t-216 22-212 39-201 60q-24 9-56 22t-68 32-69 41-61 47-43 55-17 60v4q0 2-1 4l-63 507q-1 5 1 14t3 15q6 21 17 38t28 31 37 20 42 7h1376z"}))}},76505:(e,t,n)=>{"use strict";n.d(t,{DU:()=>o,HA:()=>i,NR:()=>c,Ol:()=>s,og:()=>l});var r=n(95428),a=n(34813);const o="/search/results/:tabName?",i=a.LC.Games,s=[{tabName:a.LC.Games,hasFilters:!0},{tabName:a.LC.Addons,hasFilters:!0},{tabName:a.LC.Passes,hasFilters:!1},{tabName:a.LC.Hardware,hasFilters:!1},{tabName:a.LC.Docs,hasFilters:!1},{tabName:a.LC.General,hasFilters:!1}];var l;!function(e){e[e.Games=0]="Games",e[e.Addons=1]="Addons",e[e.Passes=2]="Passes",e[e.Hardware=3]="Hardware",e[e.Docs=4]="Docs",e[e.General=5]="General"}(l||(l={}));const c=e=>(0,r.JSV)(e,a.LC.Docs)||(0,r.JSV)(e,a.LC.General)},76515:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});const r=e=>void 0!==e.message&&"string"===typeof e.message},76668:(e,t,n)=>{"use strict";n.d(t,{GS:()=>l,HF:()=>f,W4:()=>m,my:()=>c,pO:()=>u,sp:()=>d});var r=n(25479),a=n(67401),o=n(22647),i=n(10467),s=n(87322);function l(e,t,n){if(!(t in e))return;const r=e[t];if("function"!==typeof r)return;const o=n(r);"function"===typeof o&&u(o,r);try{e[t]=o}catch{a.T&&i.vF.log(`Failed to replace method "${t}" in object`,e)}}function c(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(r){a.T&&i.vF.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function u(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,c(e,"__sentry_original__",t)}catch(n){}}function d(e){return e.__sentry_original__}function m(e){if((0,o.bJ)(e))return{message:e.message,name:e.name,stack:e.stack,...h(e)};if((0,o.xH)(e)){const t={type:e.type,target:p(e.target),currentTarget:p(e.currentTarget),...h(e)};return"undefined"!==typeof CustomEvent&&(0,o.tH)(e,CustomEvent)&&(t.detail=e.detail),t}return e}function p(e){try{return(0,o.vq)(e)?(0,r.Hd)(e):Object.prototype.toString.call(e)}catch(t){return""}}function h(e){if("object"===typeof e&&null!==e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function f(e,t=40){const n=Object.keys(m(e));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return(0,s.xv)(r,t);for(let a=n.length;a>0;a--){const e=n.slice(0,a).join(", ");if(!(e.length>t))return a===n.length?e:(0,s.xv)(e,t)}return""}},76772:(e,t,n)=>{"use strict";n.d(t,{Bk:()=>M,CC:()=>f,Ck:()=>_,Hu:()=>x,Qh:()=>b,VS:()=>A,aO:()=>v,cI:()=>S,et:()=>P,kX:()=>y,pK:()=>T,uU:()=>E,xO:()=>N,xl:()=>O,yW:()=>w,zU:()=>L});var r=n(4899),a=n(43223),o=n(67099),i=n(2170),s=n(64482),l=n(78219),c=n(10467),u=n(76668),d=n(20642),m=n(68378),p=n(28893),h=n(25626);const f=0,v=1;let g=!1;function _(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:a,parent_span_id:o,status:i,origin:s,links:l}=P(e);return{parent_span_id:o,span_id:t,trace_id:n,data:r,op:a,status:i,origin:s,links:l}}function y(e){const{spanId:t,traceId:n,isRemote:r}=e.spanContext(),a=r?t:P(e).parent_span_id,o=(0,l.L)(e).scope;return{parent_span_id:a,span_id:r?o?.getPropagationContext().propagationSpanId||(0,d.Z)():t,trace_id:n}}function b(e){const{traceId:t,spanId:n}=e.spanContext(),r=T(e);return(0,p.TC)(t,n,r)}function E(e){return e&&e.length>0?e.map((({context:{spanId:e,traceId:t,traceFlags:n,...r},attributes:a})=>({span_id:e,trace_id:t,sampled:n===v,attributes:a,...r}))):void 0}function S(e){return"number"===typeof e?C(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?C(e.getTime()):(0,m.zf)()}function C(e){return e>9999999999?e/1e3:e}function P(e){if(function(e){return"function"===typeof e.getSpanJSON}(e))return e.getSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(function(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}(e)){const{attributes:r,startTime:a,name:o,endTime:s,parentSpanId:l,status:c,links:u}=e;return{span_id:t,trace_id:n,data:r,description:o,parent_span_id:l,start_timestamp:S(a),timestamp:S(s)||void 0,status:w(c),op:r[i.uT],origin:r[i.JD],links:E(u)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function T(e){const{traceFlags:t}=e.spanContext();return t===v}function w(e){if(e&&e.code!==s.a3)return e.code===s.F3?"ok":e.message||"unknown_error"}const I="_sentryChildSpans",k="_sentryRootSpan";function x(e,t){const n=e._sentryRootSpan||e;(0,u.my)(t,k,n),e._sentryChildSpans?e._sentryChildSpans.add(t):(0,u.my)(e,I,new Set([t]))}function A(e,t){e._sentryChildSpans&&e._sentryChildSpans.delete(t)}function N(e){const t=new Set;return function e(n){if(!t.has(n)&&T(n)){t.add(n);const r=n._sentryChildSpans?Array.from(n._sentryChildSpans):[];for(const t of r)e(t)}}(e),Array.from(t)}function L(e){return e._sentryRootSpan||e}function M(){const e=(0,a.EU)(),t=(0,r.h)(e);return t.getActiveSpan?t.getActiveSpan():(0,h.f)((0,o.o5)())}function O(){g||((0,c.pq)((()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly.")})),g=!0)}},76858:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(a=(a=i.trys).length>0&&a[a.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]{"use strict";n.d(t,{A:()=>o});var r=n(85608),a=n(14041);const o=function(e){var{title:t,titleId:n}=e,o=(0,r.__rest)(e,["title","titleId"]);return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},o),t?a.createElement("title",{id:n},t):null,a.createElement("path",{d:"M1663 1921v-641h129v768H0V256h768v129H127v1536h1536zM896 0h1152v1152h-128V219L557 1581l-90-90L1829 128H896V0z"}))}},77640:(e,t,n)=>{"use strict";n.d(t,{E:()=>a});var r=n(14041);const a=!("undefined"===typeof window.document||"undefined"===typeof window.document.createElement)?r.useLayoutEffect:r.useEffect},77703:(e,t,n)=>{"use strict";n.d(t,{Ze:()=>i,Fc:()=>D,NY:()=>L,Ez:()=>_n,VP:()=>nn,mc:()=>on,AZ:()=>Te,_S:()=>ht,z8:()=>ve,FP:()=>G,tH:()=>Pe,M:()=>ye.M,jC:()=>ye.jC,wO:()=>ln,Je:()=>X,W4:()=>j,mo:()=>ae,Gr:()=>Ne,cS:()=>Me,t$:()=>ie,Y:()=>ye.FP,c9:()=>m.c9,Om:()=>m.Om,_V:()=>wt,Qr:()=>lt,EJ:()=>De,o2:()=>Ue,NO:()=>Ve,AV:()=>$e.A,Cz:()=>et,aF:()=>mn,XY:()=>rt,IL:()=>st,L_:()=>dt,as:()=>Ot,Zv:()=>Rt,qJ:()=>Ft,LL:()=>Ut,Fy:()=>Re,a4:()=>$t,E:()=>zt,fI:()=>fn,D9:()=>Wt,G$:()=>Zt,xp:()=>Qt,zP:()=>Jt,DB:()=>kt,JP:()=>W,L7:()=>vn.L,aC:()=>fe,f_:()=>m.f_,aS:()=>he,R:()=>x,Xf:()=>A,sT:()=>We,EG:()=>Je,M7:()=>ze,sz:()=>H,ve:()=>v,YK:()=>S,zI:()=>le,Gp:()=>ee,T8:()=>ne,R5:()=>te,Pd:()=>re,hE:()=>se,ti:()=>q,U0:()=>z,i5:()=>K,d8:()=>k,bz:()=>N,Bi:()=>Xe});n(45993);var r=n(14041),a=n(95428),o=n(85290);const i=()=>{const e=(0,r.useRef)(null),[t,n]=(0,r.useState)(!1),i=(0,a.mx0)();(0,r.useEffect)((()=>{const e=e=>{if("https://www.microsoft.com"===e.origin&&e.data.id&&"AdsOptOutSyncSuccess"===e.data.id){const t=i.get(a.WyR),n=e.data.adsOptOut;t===n||"0"!==n&&"1"!==n||i.set(a.WyR,n,{sameSite:"lax",path:"/",secure:!0,domain:".xbox.com",essential:!0})}};return window.addEventListener("message",e),n(!0),()=>window.removeEventListener("message",e)}),[i]);const s=(0,r.useCallback)((()=>{var t;(null===(t=e.current)||void 0===t?void 0:t.contentWindow)&&e.current.contentWindow.postMessage({id:"AdsOptOutSyncStart"},"https://www.microsoft.com")}),[e]);return t?r.createElement("iframe",{ref:e,onLoad:s,key:"adsOptOut-sync-iframe",name:"adsOptOut-sync-iframe",referrerPolicy:"strict-origin",sandbox:"allow-scripts allow-same-origin",src:"https://www.microsoft.com/store/XboxComMsCom3PAdsOptOutCookieSync.html",width:"0",height:"0",className:o.R}):null};var s=n(41506),l=n.n(s),c=(n(17),n(93262),n(92747)),u=n(53373),d=n.n(u),m=n(40459),p=n(99397);const h={width:"w",height:"h",maxWidth:"mw",maxHeight:"mh"},f={25:"25",50:"50",75:"75",100:"100",auto:"Auto"},v=(e,t)=>p[`${h[e]}${f[t]}`];var g=n(60433);const _={margin:"m",padding:"p"},y={top:"t",bottom:"b",left:"l",right:"r",leftRight:"x",topBottom:"y",all:""},b={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",auto:"Auto"},E={extraSmall:"Xs",small:"Sm",medium:"Md",large:"Lg"},S=(e,t,n,r)=>{const a=_[e],o=y[t],i=b[n];if(r&&"extraSmall"!==r){return g[`${a}${o}${E[r]}${i}`]}return g[`${a}${o}${i}`]};var C=n(81849);const P={xs:"Xs",sm:"Sm",md:"Md",lg:"Lg",xl:"Xl"},T=["xs","sm","md","lg","xl",void 0],w=e=>T[T.indexOf(e)+1],I=e=>e&&"xs"!==e?C[`d${P[e]}None`]:C.dNone,k=e=>e&&"xs"!==e?d()([I(),C[`d${P[e]}Block`]]):C.dBlock,x=e=>e&&w(e)?d()([I(e),k(w(e))]):I(e),A=e=>e&&w(e)?k(w(e)):x(),N=e=>e&&w(e)?I(w(e)):(e=>e&&w(e)?d()([k(e),I(w(e))]):k(e))();var L,M=n(98106);!function(e){e[e.Information=0]="Information",e[e.Warning=1]="Warning",e[e.Error=2]="Error"}(L||(L={}));const O={[L.Warning]:m.c9.Warning,[L.Information]:m.c9.Warning,[L.Error]:m.c9.Warning},R=e=>{const t=e.link||"#",n=e.link?void 0:e.onClick;return r.createElement("a",{key:e.text,"aria-label":e.text,href:t,onClick:n,className:d()([M.alertLink])},e.text)},D=e=>{const{text:t,actions:n,closeAction:a,level:o=L.Information,contentTelemetry:i={}}=e,s=O[o],u=!!s&&(0,m.f_)(m.Om.Prepend,s),p=(0,c.nO)(i,{contentName:"Alert",templateName:"AlertComponent"}),h=(e=>{switch(e){case L.Warning:return"warning";case L.Error:return"danger";default:return"info"}})(o);return r.createElement("div",l()({className:d()([M.alertContainer,u,{"alert-dismissible":a},M[h]])},(0,c.vj)(p)),r.createElement("div",{className:M.alertContent},t,n&&n.map(R)),a&&(f=a,r.createElement("button",{className:d()([M.closeButton]),"aria-label":f.text,"data-dismiss":"alert",onClick:f.onClick},r.createElement("div",{className:(0,m.f_)(m.Om.Prepend,m.c9.Cancel)}))));var f};var B=n(69950);n(5858);var F=n(97895);const U=2.592*Math.pow(10,9),H=8.64*Math.pow(10,7),V=3.6*Math.pow(10,6),G={Day:"day",Hour:"hour",Minute:"minute",Month:"month",Year:"year",Unknown:"unknown"},q=()=>{const[e,t,n,r,o]=(0,F.cG)("yearWithPluralizationFormatRules","monthWithPluralizationFormatRules","dayWithPluralizationFormatRules","hourWithPluralizationFormatRules","minuteWithPluralizationFormatRules");return(i,s)=>{if(!i||!s)return;let l;switch(s.toLowerCase()){case G.Year:l=e;break;case G.Month:l=t;break;case G.Day:l=n;break;case G.Hour:l=r;break;case G.Minute:l=o;break;default:return}return(0,a.bvP)(l,i)}},z=e=>{let t,n=0;const r=q();if(e){const r=new Date,a=(e=>{let t=e;const n=Math.floor(t/U);t-=Math.max(0,n*U);const r=Math.floor(t/H);t-=Math.max(0,r*H);const a=Math.floor(t/V);t-=Math.max(0,a*V);const o=Math.floor(t/6e4);return t-=Math.max(0,6e4*o),{month:n,day:r,hour:a,minute:o}})(new Date(e).getTime()-r.getTime());a.month>0?(n=a.month,t=G.Month):a.day>0?(n=a.day,t=G.Day):a.hour>0?(n=a.hour,t=G.Hour):a.minute>0&&(n=a.minute,t=G.Minute)}return{unit:n,unitType:t,durationString:t&&r(n,t)}};var X;!function(e){e[e.None=0]="None",e[e.Desktop=1]="Desktop",e[e.MobilePortrait=2]="MobilePortrait",e[e.MobileLandscape=3]="MobileLandscape"}(X||(X={}));const j=(0,r.createContext)({currentExperience:X.None});var W,$=n(83718),J=n(47882);!function(e){e[e.XXS=0]="XXS",e[e.XS=1]="XS",e[e.SM=2]="SM",e[e.MD=3]="MD",e[e.LG=4]="LG",e[e.XL=5]="XL"}(W||(W={}));const K={[W.XXS]:400,[W.XS]:540,[W.SM]:860,[W.MD]:1084,[W.LG]:1400,[W.XL]:Number.MAX_SAFE_INTEGER},Q=[{minWidth:0,viewPort:W.XXS},{minWidth:400,viewPort:W.XS},{minWidth:540,viewPort:W.SM},{minWidth:860,viewPort:W.MD},{minWidth:1084,viewPort:W.LG},{minWidth:1400,viewPort:W.XL}],Y=K[W.LG],Z=()=>document.documentElement.clientWidth||document.body.clientWidth,ee=e=>{const t=(0,r.useContext)(j),{currentExperience:n}=t;switch(n){case X.Desktop:return e.desktopComponent;case X.MobilePortrait:return e.mobilePortraitComponent;case X.MobileLandscape:return e.mobileLandscapeComponent;default:return null}},te=()=>{const e=(()=>{const e=(0,$.d4)(a.sjg),t=(0,$.d4)(a.GYd).userAgent,n=(0,r.useMemo)((()=>new J.P6(t)),[t]);return e?t?n.isMobile?K[W.XS]:n.isTablet?K[W.MD]:Y:Y:Z()})(),[t,n]=(0,r.useState)(e);return((e,t)=>{const n=(0,$.d4)(a.sjg);(0,r.useEffect)((()=>{if(!n)return e()}),[...t,n])})((()=>{const e=((e,t)=>{let n;return function(){for(var r=arguments.length,a=new Array(r),o=0;o{n&&clearTimeout(n),n=setTimeout((()=>r(e(...a))),t)}))}})((()=>{n(Z())}),150);return n(Z()),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]),t},ne=()=>{const e=te();let t=W.XL;for(const n of Q){if(!(e>=n.minWidth))break;t=n.viewPort}return t},re=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0px";const[n,a]=(0,r.useState)(null);return(0,r.useEffect)((()=>{const r=new IntersectionObserver((e=>{let[t]=e;t.isIntersecting!==n&&a(t.isIntersecting)}),{rootMargin:t});e.current&&r.observe(e.current);const o=e.current;return()=>{r.unobserve(o)}}),[e,t]),n},ae=e=>{let{children:t,initialExperience:n=X.None,viewPortSizes:a=K}=e;const[o,i]=(0,r.useState)(n);(0,r.useEffect)((()=>{const e=e=>{let t;t=e?window.innerHeight<=a[W.XS]?X.MobileLandscape:X.Desktop:window.innerWidth<=a[W.XS]?X.MobilePortrait:X.Desktop,i(t)},t=window.matchMedia("(orientation: landscape)"),n=t=>{e(t.matches)},r=()=>{e(t.matches)};return window.addEventListener("resize",r),t.addEventListener("change",n),e(t.matches),()=>{t.removeEventListener("change",n),window.removeEventListener("resize",r)}}),[a]);const s={currentExperience:o};return r.createElement(j.Provider,{value:s},t)};var oe=n(39731);const ie=()=>((0,oe.useRequestNavigationKeys)([oe.NavigationKey.ArrowUp,oe.NavigationKey.ArrowDown,oe.NavigationKey.Tab]),null),se=()=>{const e=(0,F.FE)("periodSeparatorTemplate");return(t,n)=>t&&n?(0,a.GPZ)(e,t,n):t||(n||"")},le=()=>{const e=(0,F.FE)("pageTitleTemplate");return(0,r.useCallback)((t=>{const n=(0,a.GPZ)(e,t);document.title=(0,a.GPZ)(n,t)}),[e])};n(34237),n(68291),n(93760),n(65136),n(57485),n(25152),n(28344);const ce={};var ue;!function(e){e[e.CMS=1]="CMS",e[e.EDS=2]="EDS",e[e.DSC=3]="DSC",e[e.Bing=4]="Bing"}(ue||(ue={}));const de={"images-eds":ue.EDS,"store-images":ue.DSC,cms:ue.CMS,"img-s-msn-com":ue.CMS,"bing.com":ue.Bing},me=[34,38,40,43,44,46,50,52,56,60,64,68,72,75,80,84,85,86,95,99,100,105,107,108,110,112,120,124,128,131,132,135,136,138,144,145,147,148,150,151,152,154,156,160,164,170,172,173,175,177,178,180,181,200,207,208,210,213,215,219,224,230,234,235,237,240,243,245,248,253,258,260,262,265,267,270,275,278,280,282,285,288,290,296,300,307,310,313,316,318,320,327,329,336,343,347,361,366,367,370,380,395,400,402,420,423,424,426,430,441,448,464,467,470,480,496,518,526,540,553,556,562,576,580,584,588,592,594,598,640,648,666,672,720,724,725,754,756,770,788,789,796,800,810,818,853,854,864,896,934,935,938,980,981,1012,1021,1024,1051,1066,1067,1080,1138,1190,1191,1206,1276,1277,1280,1315,1350,1351,1366,1440,1499,1501,1561,1562,1593,1793,1795,1830,1831,1919,1920,2020,2021,2048,2100,2398,2399,2470,2471,2560],pe=e=>{let t=0,n=me.length,r=0,a=0;for(;;){if(t>n){const e=me[t],r=me[n];return e?r?Math.max(e,r):e:r}if(r=Math.floor((n+t)/2),a=me[r],a===e)return a;a{if(0===t&&0===n||!e)return e;const l=a||"90",c=i,u=new URL(e),d=u.hostname||u.pathname;let m;Object.keys(de).forEach((e=>{e&&d.includes(e)&&de[e]&&(m=de[e])}));let p=ce[t];p||(p=pe(t),ce[t]=p);let h=ce[n];h||(h=pe(n),ce[n]=h);let f=new URL(e);if(d&&m){switch(m){case ue.CMS:f=((e,t,n,r,a,o)=>(e.searchParams.set("q",t),e.searchParams.set("o","f"),n&&e.searchParams.set("m",n),r&&e.searchParams.set("f",r),n&&"0"!==n&&e.searchParams.set("m",n),o&&"jpg"===r&&e.searchParams.set("b",o),a&&e.searchParams.set("p",a),e))(f,l,c,r,null===s||void 0===s?void 0:s.toString(),o);break;case ue.EDS:h=p=Math.max(h,p),f=((e,t)=>(t&&e.searchParams.set("format",t),e))(f,r);break;case ue.DSC:f=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"90",n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0;return e.searchParams.set("q",t),n&&e.searchParams.set("format",n),a&&"jpg"===n&&e.searchParams.set("background",a),r&&e.searchParams.set("padding",r),e}(f,l,r,null===s||void 0===s?void 0:s.toString(),o);break;case ue.Bing:f=((e,t,n)=>(e.searchParams.set("w",t.toString()),e.searchParams.set("h",n.toString()),e.searchParams.set("c","1"),e))(f,t,n)}f.searchParams.set("w",p.toString()),f.searchParams.set("h",h.toString())}return f.toString()};n(28443);function fe(e,t,n){const r=e.current;if(!r)return;const a=window.getComputedStyle(r).getPropertyValue("line-height"),o=parseFloat(a),i=r.offsetHeight;t(Math.ceil(i/o)>n)}const ve=function(e){const[t,n]=(0,r.useState)(!1);return r.createElement("div",{onKeyDown:e=>{(0,a.JSV)(e.key,"escape")&&t&&(n(!1),e.stopPropagation(),e.preventDefault())}},r.createElement(ie,null),r.createElement(B.L,l()(l()({},e),{},{isOpen:t,setIsOpen:n})))};n(54537);var ge=n(67996),_e=n.n(ge),ye=(n(12885),n(73719));const be=["children"],Ee=e=>{let{renderChildren:t}=e;return r.createElement(r.Fragment,null,t())};class Se extends r.Component{constructor(e){super(e),this.state={}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){const n=`Error while rendering content. \n OriginalMessage: ${e.message} \n ComponentStack: ${t.componentStack}`;this.props.logger?this.props.logger.error(n,e):console.error(n)}render(){return this.state.error?this.props.renderError(this.state.error):r.createElement(r.Fragment,null,this.props.children)}}const Ce=e=>{let{children:t}=e,n=_e()(e,be);return r.createElement(Se,l()({},n),r.createElement(Ee,{renderChildren:t}))},Pe=e=>{const t=(0,c.jr)(),n=e.renderError||(e=>r.createElement(ye.M,{error:e}));return r.createElement(Ce,l()(l()({},e),{},{renderError:n,logger:t}))},Te=e=>{const t=`Error code: ${e.cV}`,n=e.renderError||(e=>r.createElement(ye.jC,{title:"We are sorry, the page you requested cannot be found.",error:e,errorCodeDisplayString:t,subtitle:"The URL may be misspelled or the page you're looking for is no longer available."}));return r.createElement(Ce,l()(l()({},e),{},{renderError:n}))};var we=n(6409),Ie=n(72178),ke=n(5929),xe=n(58810),Ae=n(32556);const Ne=e=>{const{innerTextAriaLabelOverride:t,href:n,linkClassName:o,linkIconClassName:i,linkIconSize:s,linkText:u,linkTextClassName:m,telemetryProps:p}=e,h=(0,c.vj)((0,c.nO)({behavior:c.nS.NAVIGATIONFORWARD,contentName:u,id:"ExternalLink"},p)),[f,v]=(0,F.cG)("buttonWithStateAccessibilityTemplate","openInNewTabLinkLabel"),g=(0,a.GPZ)(f,t||u,v);return r.createElement(we.a,l()({"aria-label":g,as:"a",buttonType:Ie.VQ.Tertiary,className:d()(Ae.$J,o),href:n,rel:"noopener noreferrer",target:"_blank"},h),r.createElement("span",{className:m},u),r.createElement(ke.In,{icon:xe.A,iconSize:null!==s&&void 0!==s?s:ke.lK.XXSmall,className:d()(Ae.R6,i)}))};n(93831),n(98304);var Le=n(60069);const Me=e=>{let{to:t,status:n=302}=e;(0,Le.Sy)();return window.location.replace(t),null},Oe=["title","titleId"],Re=e=>{let{title:t,titleId:n}=e,a=_e()(e,Oe);return r.createElement("svg",l()({width:"64px",height:"64px",viewBox:"0 0 64 64",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-labelledby":n},a),t?r.createElement("title",{id:n},t):null,r.createElement("g",{id:"PC",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},r.createElement("polygon",{stroke:"#FFFFFF",strokeLinejoin:"round",fill:"none",points:"55.61 18.67 39.88 27.76 24.13 18.67 8.39 9.59 24.13 0.5 39.88 9.59 55.61 18.67"}),r.createElement("polygon",{stroke:"#FFFFFF",strokeLinejoin:"round",fill:"none",points:"39.88 27.76 39.88 63.5 24.13 54.41 8.39 45.32 8.39 9.59 24.13 18.67 39.88 27.76"}),r.createElement("polygon",{stroke:"#FFFFFF",strokeLinejoin:"round",fill:"none",points:"55.61 18.67 55.61 54.41 42.5 61.98 39.88 63.5 39.88 27.76 55.61 18.67"}),r.createElement("polygon",{stroke:"#FFFFFF",strokeLinejoin:"round",fill:"none",points:"53.33 48.36 53.33 52.73 44.02 58.1 42.16 59.18 42.16 54.82 53.33 48.36"}),r.createElement("polygon",{stroke:"#FFFFFF",strokeLinejoin:"round",fill:"none",points:"53.33 41.5 53.33 45.87 44.02 51.24 42.16 52.32 42.16 47.96 53.33 41.5"}),r.createElement("polygon",{stroke:"#FFFFFF",strokeLinejoin:"round",fill:"none",points:"53.33 23.16 53.33 27.52 44.02 32.89 42.16 33.97 42.16 29.61 53.33 23.16"}),r.createElement("ellipse",{fill:"#FFFFFF",cx:"48.18",cy:"38.08",rx:"2.59",ry:"1.49",transform:"translate(-8.89 60.77) rotate(-60)"})))},De=e=>{const{href:t,linkClassName:n,linkText:a,linkTextClassName:o}=e;return r.createElement(we.a,{"aria-label":a,as:"a",buttonType:Ie.VQ.Tertiary,className:d()(Ae.$J,n),href:t},r.createElement("span",{className:o},a))};n(28882);var Be=n(86090),Fe=n(15499);const Ue=e=>{const t=(0,$.d4)(a.a5u),n=new URL(e.to,a.jbi),o=(0,a.atP)(n.pathname,t),i=(0,a.VRc)(o);if(!(0,a.PE5)(n.host))return r.createElement(Me,l()({},e));if(!i)return r.createElement(Me,l()({},e));const s=`${o}${n.search}${n.hash}`;return e.status?r.createElement(Fe.L,{status:e.status},r.createElement(Be.rd,{to:s})):r.createElement(Be.rd,{to:s})};var He=n(93285);const Ve=()=>r.createElement(He.m,null,r.createElement("body",{className:"legacyBackground"}));var Ge=n(40869),qe=n.n(Ge);const ze=15e3,Xe=e=>(0,a.wjz)(ze,qe()(e,200));n(92221);var je=n(20774);function We(e){const t=(0,je.Ay)(e);return Object.assign((e=>r.createElement(Pe,{renderError:()=>null},(()=>r.createElement(t,l()({},e))))),{preload:t.preload.bind(t),load:t.load.bind(t)})}var $e=n(13617);function Je(e,t){return(0,je.Ay)(e,{fallback:null!==t&&void 0!==t?t:r.createElement($e.A,null)})}n(66264);const Ke=5e3,Qe=()=>r.createElement($e.A,null),Ye=e=>r.createElement(ye.M,{error:e}),Ze=e=>{const{timeoutInMilliseconds:t=Ke,renderLoading:n=Qe,renderError:a=Ye}=e,[o,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=setTimeout((()=>i(!0)),t);return()=>clearTimeout(e)}),[]),o?a(new Error(`Loading Page timed out. Timeout: ${t} ms`)):n()},et=e=>{const t=(0,Be.W6)(),n=(0,Be.zy)(),o=(0,$.wA)(),i=(0,$.d4)(a.sjg),s=(0,r.useRef)();(0,r.useEffect)((()=>{s.current===n||i||o(a.YOM.navigateToPath(n,s.current)),s.current=n}),[n,o,i]);const l=(0,r.useRef)(),c=(0,r.useRef)({direction:a.kVq.New});let u,d;if(n===l.current)d=c.current;else{if(l.current)switch(t.action){case"PUSH":u=a.kVq.Forward;break;case"POP":u=a.kVq.Back;break;case"REPLACE":u=a.kVq.Replace}else u=a.kVq.New;d={location:l.current,direction:u},l.current=n,c.current=d}return r.createElement(a.ff4.Provider,{value:d},e.children)};n(95570);var tt=n(33532);const nt=["className","children","xs","sm","md","lg"],rt=e=>{const{className:t,children:n,xs:a,sm:o,md:i,lg:s}=e,c=_e()(e,nt),u=[];return a&&u.push(tt[`col${a}`]),o&&u.push(tt[`colSm${o}`]),i&&u.push(tt[`colMd${i}`]),s&&u.push(tt[`colLg${s}`]),u.length<1&&u.push(tt.col),r.createElement("div",l()({className:d()(u,t)},c),n)};var at=n(58674);const ot=["className","children","as"],it=["className","children","as"],st=e=>{const{className:t,children:n,as:a="div"}=e,o=_e()(e,ot);return r.createElement(a,l()({className:d()(at.kL,t)},o),n)},lt=r.forwardRef(((e,t)=>{const{className:n,children:a,as:o="div"}=e,i=_e()(e,it);return r.createElement(o,l()({className:d()(at.WS,at.kL,at.ym,n),ref:t},i),a)}));var ct=n(91186);const ut=["className","children"],dt=e=>{const{className:t,children:n}=e,a=_e()(e,ut);return r.createElement("div",l()({className:d()(ct.n,t)},a),n)};var mt=n(5021),pt=n(926);const ht=e=>r.createElement("ul",{className:pt.JC},e.children);ht.Collapse=e=>{const[t,n]=(0,r.useState)(!e.defaultCollapsed),a=e.customClassName||d()(pt.G_,S("margin","left",2)),o=e.eventKey?`accordion-${e.eventKey}`:void 0;return r.createElement("li",null,r.createElement("h2",{className:a},r.createElement("button",{"aria-controls":o,"aria-expanded":t,className:d()([mt.HM,mt.mK,pt.mK,pt.VA]),onClick:()=>{n(!t)},tabIndex:e.tabIndex},e.title)),r.createElement("div",{className:d()([pt.rY,t?pt.sz:pt.yZ,{[pt.E1]:e.isScrollable}])},r.createElement("div",{id:o,className:d()([pt.PR,S("padding","left",0)])},e.children)))};var ft=n(68456),vt=n(78677);const gt=["containerProps","children","contentClassName","className","fluid"],_t=["className"],yt=(0,r.forwardRef)(((e,t)=>{let{containerProps:n,children:a,contentClassName:o,className:i,fluid:s}=e,c=_e()(e,gt);const u=null!==n&&void 0!==n?n:{},{className:m}=u,p=_e()(u,_t);return a?r.createElement("div",l()({ref:t,className:d()(vt.h4,m)},p),r.createElement(ft.w,l()({className:d()([vt.Sl,s?vt.qT:void 0,i])},c)),r.createElement("div",{className:d()(vt.Qs,o)},a)):r.createElement(ft.w,l()({className:d()([vt.Sl,s?vt.qT:void 0,i])},c))})),bt=(0,r.memo)(yt),Et=n.p+"static/media/PlaceholderImage.7ebed917.svg",St=["fallbackImage","containerProps","contentClassName","onError"],Ct=e=>{let{fallbackImage:t,containerProps:n,contentClassName:a,onError:o}=e,i=_e()(e,St);const s=i.src||i.sources||i.srcSet,[c,u]=(0,r.useState)(!1),m=(0,r.useRef)(null),p=(0,r.useCallback)((()=>{u(!0)}),[]);(0,r.useEffect)((()=>{var e;const t=null===(e=m.current)||void 0===e?void 0:e.querySelectorAll("img");t&&0!==t.length&&t.forEach((e=>{e.complete&&0===e.naturalWidth&&0===e.naturalHeight&&p()}))}),[p]);const h=(0,r.useCallback)((e=>{null===o||void 0===o||o(e),p()}),[o,p]),f=(0,r.useMemo)((()=>l()(l()({},n),{},{className:d()(null===n||void 0===n?void 0:n.className)})),[n]);return r.createElement(r.Fragment,null,c||!s?"string"===typeof t?r.createElement(bt,l()(l()({},i),{},{className:d()(i.className),src:t||Et,srcSet:void 0,sources:void 0,onError:o,contentClassName:a,containerProps:f})):r.createElement("div",l()(l()({},n),{},{className:d()(vt.h4,null===n||void 0===n?void 0:n.className)}),t,i.children&&r.createElement("div",{className:d()(vt.Qs,a)},i.children)):r.createElement(bt,l()(l()({ref:m,containerProps:n,contentClassName:a},i),{},{onError:h})))};var Pt=n(61571);const Tt=["width","height","className","src","background","format","resizeMode","quality","padding","customBackupSrc","hideShadow","alt","ariaHidden"],wt=e=>{const{width:t,height:n,className:a,src:o,background:i,format:s,resizeMode:c,quality:u,padding:p,customBackupSrc:h,hideShadow:f,alt:g,ariaHidden:_}=e,y=_e()(e,Tt);let b=o&&he(o,t,n,s,u,i,c,p)||h;b&&0===b.indexOf("http://")&&(b=b.replace("http://","https://"));const E=(0,F.FE)("noCaptionAvailableAltText"),C=((e,t,n,a)=>{const o={width:e,height:t};return r.createElement("div",{className:d()(n,Pt.uV,{[Pt.Ue]:!a}),style:o},r.createElement("div",{className:d()("d-flex","justify-content-center","align-items-center",v("width",100),v("height",100))},r.createElement("p",{className:d()([(0,m.f_)(m.Om.Prepend,m.c9.XboxLogo),"text-center",S("margin","bottom",0),Pt.AG])})))})(t,n,a,f);return r.createElement(Ct,l()({alt:g||E,"aria-hidden":_,className:a,src:b,fallbackImage:C},y))};var It=n(14893);const kt=e=>{const{text:t,className:n}=e,[a,o]=(0,r.useState)(!1),[i,s]=(0,r.useState)(!1),{moreText:l,lessText:c,moreTextAccessibilityLabel:u,lessTextAccessibilityLabel:p}=(0,F.ot)("moreText","lessText","moreTextAccessibilityLabel","lessTextAccessibilityLabel"),h=(0,r.useRef)(null),f=(0,r.useRef)(null),v=te();(0,r.useEffect)((()=>{fe(h,s,5)}),[v]);const g=a?m.c9.RemoveFrom:m.c9.CirclePlus,_=a?It.OS:It.M7;return r.createElement(r.Fragment,null,r.createElement("div",{className:d()(It.Q0,n,It.kL,_)},r.createElement("p",{ref:f,className:d()(It.Qq,_)},t),r.createElement("p",{ref:h,className:It.No},t)),i&&r.createElement("button",{role:"link",tabIndex:0,"aria-label":a?p:u,className:d()([It.nf,(0,m.f_)(m.Om.Prepend,g)]),onClick:()=>o(!a)},a?c:l))};n(50588);var xt=n(72298);let At,Nt=0;const Lt=e=>{e===Nt?Mt():console.warn("Attempt to hide a different banner blocked")},Mt=()=>{At?(At((()=>null)),Nt=0):console.warn("Attempt to hide a banner before PageBanner component is mounted")},Ot=()=>{const[e,t]=(0,r.useState)((()=>()=>null));At=e=>t((()=>e));const n=e();return r.createElement("div",{id:"pageBannerContainer",className:d()(xt.cI,{[xt.R]:!n},{[xt.RK]:!!n})},n&&r.createElement("div",l()({},(0,c.vj)({contentName:"Page Banner Container",templateName:"PageBannerComponent",contentType:"Banner"})),n))},Rt={displayBanner:e=>{if(At){Nt&&console.warn("Double rendering banner. Another banner is already visible."),At(e);const t=(0,a.MnC)(1e3);return Nt=t,()=>Lt(t)}return console.warn("Attempt to display a banner before PageBanner component is mounted"),()=>{}},hideAllBanners:Mt};var Dt=n(36824);const Bt=e=>(0,Dt.nT)(e&&(0,Dt.Cv)(e)),Ft=e=>{const t=(0,Be.zy)(),n=(0,a.Y2m)(t),o=(0,$.d4)(a.hbT),i=(0,a.B1M)(o),s=(0,$.d4)((0,r.useCallback)((e=>{let t=(0,a.lDW)(e,n);return t===a.JBw&&"/"===n&&(t=(0,a.lDW)(e,i)),t}),[n,i]));let l;return s.hasContent?(s.isLoading,l=e.children||(()=>null)):l=s.isLoading?()=>(e=>e.renderLoadingOverride?e.renderLoadingOverride():r.createElement($e.A,null))(e):s.error?()=>((e,t)=>t.renderErrorOverride?t.renderErrorOverride(e):r.createElement(ye.M,{error:e,statusCode:Bt(e)}))(s.error,e):()=>r.createElement(Ze,null),r.createElement(r.Fragment,null,l())},Ut=Je({resolved:{},chunkName:()=>"PageNotFoundErrorPage",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Xe(n.e(4902).then(n.bind(n,46557))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>46557});var Ht=n(17915),Vt=n(39288),Gt=n(40159),qt=n(94510);const zt=e=>{let{retryAction:t}=e;const{genericErrorMessage:n,tryAgainText:a}=(0,F.ot)("genericErrorMessage","tryAgainText"),o=(0,Be.W6)(),i=o.createHref(o.location);return(0,c.qz)(c.ry.Retry,Gt.g.Retry,{data:{pageHref:i}}),r.createElement("div",{className:qt.yA},r.createElement("h3",null,n),r.createElement(Vt.m,l()({as:"button","aria-label":a,className:qt.ft,iconClassName:d()(qt.Gc,"align-middle"),icon:Ht.A,iconSize:ke.lK.Medium,onClick:t},(0,c.vj)({id:"RetryButton",contentName:a}))))},Xt=r.createContext({}),jt=e=>e.key||`${e.pathname}${e.search}${e.hash}`,Wt=e=>{let{children:t}=e;const n=(0,a.Igx)(),o=(0,r.useRef)(),i=(0,r.useRef)({});if(n.location!==o.current){if(n.location){const e=jt(n.location);i.current[e]={x:window.scrollX,y:window.scrollY}}o.current=n.location}return r.createElement(Xt.Provider,{value:i.current},t)},$t=e=>{let{children:t,onNewNavigationOnly:n=!1,ignoreHash:o=!0,ignoreSearch:i=!0}=e;const s=(()=>{const e=(0,Be.zy)();return(0,r.useContext)(Xt)[jt(e)]})(),l=(0,Be.zy)(),{location:c}=(0,a.Igx)();return(0,r.useEffect)((()=>{const e=null!=c&&c.pathname===l.pathname&&(o||c.hash===l.hash)&&(i||c.search===l.search);if(!l.hash&&!e)if(n)s||window.scrollTo(0,0);else{const e=s||{x:0,y:0};requestAnimationFrame((()=>requestAnimationFrame((()=>window.scrollTo(e.x,e.y)))))}}),[l]),t?r.createElement(r.Fragment,null,t):null};var Jt;n(69399);!function(e){e.None="none",e.Follow="follow",e.Index="index",e.NoFollow="nofollow",e.NoIndex="noindex",e.NoImageIndex="noimageindex",e.NoArchive="noarchive",e.NoCache="nocache",e.NoSnippet="nosnippet"}(Jt||(Jt={}));const Kt=e=>Array.isArray(e)?e.join(","):e,Qt=e=>{let{title:t,keywords:n,description:o,robotsMetaTags:i,canonicalUrl:s}=e;const[l,c]=(0,F.cG)("pageTitleTemplate","defaultPageTitle"),u=(0,a.GPZ)(l,"%s"),d=(e=>{const t=(0,Be.zy)(),n=(0,$.d4)(a.a5u);return e||new URL(`${n}${t.pathname}`.toLowerCase(),a.jbi).toString()})(s);return r.createElement(He.m,{titleTemplate:u,defaultTitle:c,title:t||void 0},o&&r.createElement("meta",{name:"description",content:o}),n&&r.createElement("meta",{name:"keywords",content:n}),i&&r.createElement("meta",{name:"robots",content:Kt(i)}),r.createElement("link",{rel:"canonical",href:d}))},Yt=()=>{const e=(0,Be.zy)(),t=(0,a.mNY)(e);return t?r.createElement(Qt,{title:t.title,description:t.description,robotsMetaTags:t.robots,keywords:t.keywords,canonicalUrl:t.canonicalUrl}):r.createElement(Qt,{title:void 0})},Zt=()=>{const e=(0,a.VRc)();return e?e.seoComponent?r.createElement(Be.qh,l()({},e),r.createElement(e.seoComponent,null)):null===e.seoComponent?null:r.createElement(Yt,null):r.createElement(Yt,null)};var en=n(88542);const tn=["className","children","xs","sm","md","lg","xl"],nn=e=>{const{className:t,children:n,xs:a,sm:o,md:i,lg:s,xl:c}=e,u=_e()(e,tn),m=[];return a&&m.push(en[`col${a}`]),o&&m.push(en[`colSm${o}`]),i&&m.push(en[`colMd${i}`]),s&&m.push(en[`colLg${s}`]),c&&m.push(en[`colXl${c}`]),m.length<1&&m.push(en.col),r.createElement("div",l()({className:d()(m,t)},u),n)};var rn=n(54552);const an=["className","children"],on=e=>{const{className:t,children:n}=e,a=_e()(e,an);return r.createElement("div",l()({className:d()(rn.kL,t)},a),n)};var sn=n(11984);const ln=e=>{const{children:t,contentTelemetry:n,displayedChildrenCountWhenCollapsed:a,footer:o,innerContainer:i="div"}=e,{showMore:s,showLess:u}=(0,F.ot)("showMore","showLess"),[d,m]=(0,r.useState)(!0),p=t.slice(0,a),h=t.slice(a),f=d?s:u,v=(0,c.nO)({behavior:d?c.nS.EXPAND:c.nS.REDUCE,contentName:f,contentType:c.cM.Button,id:"expandingListButton"},n);return r.createElement("div",null,r.createElement("div",{className:sn.tZ},r.createElement(i,null,p,r.createElement("div",{className:sn.SQ}),!d&&h)),o&&r.createElement("div",{className:sn.qr},o),r.Children.count(h)>0&&r.createElement(we.a,l()({as:"button",className:sn.Mj,buttonSize:Ie.Mp.Medium,buttonType:Ie.VQ.Primary,overlayMode:Ie.w9.Solid,onClick:()=>{m(!d)}},(0,c.vj)(v)),f))};var cn=n(92488),un=n(18368),dn=(n(58114),n(54428));const mn=e=>{let{ariaLabel:t,ariaLabelledBy:n,children:a,className:o,closeable:i,initialFocusRef:s,fullscreenOnMobile:l,onCloseBtnClick:c,onHide:u,overlayClassName:m,closeContainerClassName:p,closeButtonClassName:h,show:f}=e;const{closeButtonText:v}=(0,F.ot)("closeButtonText");return r.createElement(un.LC,{className:d()(dn.sL,dn.eD,m),isOpen:f,initialFocusRef:s,onDismiss:u},r.createElement(un.Cf,{"aria-label":t,"aria-labelledby":n,className:d()(dn.YS,l?dn.dn:void 0)},r.createElement("div",{className:d()(dn.jE,l?dn.iq:void 0,o)},a,i&&r.createElement("div",{className:d()(dn.G3,p)},r.createElement(Vt.m,{as:"button","aria-label":v,className:h,icon:cn.A,buttonType:Ie.VQ.Tertiary,onClick:null!==c&&void 0!==c?c:u,title:v})))))};mn.Header=e=>{let{className:t,children:n}=e;return r.createElement("div",{className:d()(t,dn.Hc)},n)},mn.Body=e=>{let{className:t,children:n}=e;return r.createElement("div",{className:d()(t,dn.S3)},n)};var pn=n(34376);const hn=["className","children"],fn=e=>{const{className:t,children:n}=e,a=_e()(e,hn);return r.createElement("div",l()({className:d()(pn.n,t)},a),n)};var vn=n(39792),gn=n(56764);const _n=e=>{const{innerTextAriaLabelOverride:t,href:n,linkClassName:a,linkIconClassName:o,linkIconSize:i,linkText:s,linkTextClassName:u,telemetryProps:m}=e,p=(0,c.vj)((0,c.nO)({behavior:c.nS.NAVIGATIONFORWARD,contentName:s,id:"ExternalLink"},m)),h=t||s;return r.createElement(we.a,l()({"aria-label":h,as:"a",buttonType:Ie.VQ.Tertiary,className:d()(Ae.$J,a),href:n,rel:"noopener noreferrer"},p),r.createElement("span",{className:u},s),r.createElement(ke.In,{icon:gn.A,iconSize:null!==i&&void 0!==i?i:ke.lK.XXSmall,className:d()(Ae.R6,o)}))}},78114:(e,t,n)=>{"use strict";n.d(t,{Rg:()=>s,e2:()=>i});var r=n(62659),a=n(88213),o=n(76772);function i(e,t){const{fingerprint:n,span:a,breadcrumbs:i,sdkProcessingMetadata:s}=t;!function(e,t){const{extra:n,tags:r,user:a,contexts:o,level:i,transactionName:s}=t;Object.keys(n).length&&(e.extra={...n,...e.extra});Object.keys(r).length&&(e.tags={...r,...e.tags});Object.keys(a).length&&(e.user={...a,...e.user});Object.keys(o).length&&(e.contexts={...o,...e.contexts});i&&(e.level=i);s&&"transaction"!==e.type&&(e.transaction=s)}(e,t),a&&function(e,t){e.contexts={trace:(0,o.kX)(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,r.k1)(t),...e.sdkProcessingMetadata};const n=(0,o.zU)(t),a=(0,o.et)(n).description;a&&!e.transaction&&"transaction"===e.type&&(e.transaction=a)}(e,a),function(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t));e.fingerprint.length||delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,i),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,s)}function s(e,t){const{extra:n,tags:r,user:o,contexts:i,level:s,sdkProcessingMetadata:c,breadcrumbs:u,fingerprint:d,eventProcessors:m,attachments:p,propagationContext:h,transactionName:f,span:v}=t;l(e,"extra",n),l(e,"tags",r),l(e,"user",o),l(e,"contexts",i),e.sdkProcessingMetadata=(0,a.h)(e.sdkProcessingMetadata,c,2),s&&(e.level=s),f&&(e.transactionName=f),v&&(e.span=v),u.length&&(e.breadcrumbs=[...e.breadcrumbs,...u]),d.length&&(e.fingerprint=[...e.fingerprint,...d]),m.length&&(e.eventProcessors=[...e.eventProcessors,...m]),p.length&&(e.attachments=[...e.attachments,...p]),e.propagationContext={...e.propagationContext,...h}}function l(e,t,n){e[t]=(0,a.h)(e[t],n,1)}},78229:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,U:()=>o});var r=n(95428),a=n(68359);const o=(0,r.Ti)(a.QN),i=(0,r.lQ2)(a.QN)},78677:(e,t,n)=>{"use strict";n.d(t,{Qs:()=>r,Sl:()=>a,h4:()=>i,qT:()=>o});var r="WrappedResponsiveImage-module__content___z0-cY",a="WrappedResponsiveImage-module__image___QvkuN",o="WrappedResponsiveImage-module__imageFluid___dK6C4",i="WrappedResponsiveImage-module__imageWrapper___-Wdm7"},79392:(e,t,n)=>{"use strict";n.d(t,{_K:()=>m,ns:()=>d,ze:()=>p,Ay:()=>v});var r=n(17502),a=n(50701),o=n(14041),i=n(43144);const s=!1;var l=n(39548),c="unmounted",u="exited",d="entering",m="entered",p="exiting",h=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var a,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(a=u,r.appearStatus=d):a=m:a=t.unmountOnExit||t.mountOnEnter?c:u,r.state={status:a},r.nextCallback=null,r}(0,a.A)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===c?{status:u}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==d&&n!==m&&(t=d):n!==d&&n!==m||(t=p)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===d?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===u&&this.setState({status:c})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,a=this.props.nodeRef?[r]:[i.findDOMNode(this),r],o=a[0],l=a[1],c=this.getTimeouts(),u=r?c.appear:c.enter;!e&&!n||s?this.safeSetState({status:m},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,l),this.safeSetState({status:d},(function(){t.props.onEntering(o,l),t.onTransitionEnd(u,(function(){t.safeSetState({status:m},(function(){t.props.onEntered(o,l)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:i.findDOMNode(this);t&&!s?(this.props.onExit(r),this.safeSetState({status:p},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:u},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:u},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:i.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var a=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=a[0],s=a[1];this.props.addEndListener(o,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===c)return null;var t=this.props,n=t.children,a=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return o.createElement(l.A.Provider,{value:null},"function"===typeof n?n(e,a):o.cloneElement(o.Children.only(n),a))},t}(o.Component);function f(){}h.contextType=l.A,h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:f,onEntering:f,onEntered:f,onExit:f,onExiting:f,onExited:f},h.UNMOUNTED=c,h.EXITED=u,h.ENTERING=d,h.ENTERED=m,h.EXITING=p;const v=h},79916:(e,t,n)=>{"use strict";n.d(t,{BM:()=>h,DP:()=>s,Hy:()=>g,JT:()=>r,Lo:()=>i,Nm:()=>d,QL:()=>p,Yl:()=>m,ZU:()=>u,iZ:()=>a,k4:()=>l,kV:()=>c,km:()=>f,m4:()=>v,qe:()=>o});const r="https://account.microsoft.com",a="https://support.xbox.com/en-US/help/games-apps/my-games-apps/install-games-remotely-on-xbox-one",o="https://support.xbox.com/help/games-apps/cloud-gaming/set-up-smart-tv-xbox-app",i="https://www.xbox.com/{locale}/xbox-game-pass",s="https://www.xbox.com/{locale}/consoles",l="https://www.xbox.com/{locale}/apps/xbox-app-for-pc",c="https://store.ubi.com/my-account",u="https://www.xbox.com/play",d="https://www.xbox.com/{locale}/play",m="https://www.xbox.com/{locale}/play/games/{title}/{productId}",p="https://www.xbox.com/{locale}/apps/xbox-app-for-pc",h="https://www.xbox.com/{locale}/apps/xbox-app-for-pc#systemrequirements",f="https://www.xbox.com/{locale}/apps/xbox-app-for-tv",v="https://www.xbox.com/{locale}/xbox-game-pass/games#pcgames",g="https://www.xbox.com/{locale}/xbox-game-pass/compare"},80278:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.externalData=t.constructDeviceRepairURl=t.constructCheckoutURl=t.createInputForDeviceRepair=t.createInputForCheckout=t.attachingMessageHandler=void 0;var r=n(56769),a=n(80849),o=n(9274);t.attachingMessageHandler=function(e){return new Promise((function(t){return window.addEventListener("message",(function(n){n.origin===o.TARGET_ORIGIN&&("ReactPurchaseReadyToRender"===n.data&&t(),e&&e.remove())}),!0)}))};t.createInputForCheckout=function(e,t){Object.keys(t).forEach((function(n){if(n&&t[n])if("authToken"===n)e.appendChild((0,a.createInput)("msaTicket",void 0,t.authToken));else if("data"===n)e.appendChild((0,a.createInput)("data",t.data));else if("flights"===n)(0,a.createInputForArray)(e,"flights",t.flights);else if("experiments"===n)(0,a.createInputForArray)(e,"experiments",t.experiments);else{var r=t[n];e.appendChild((0,a.createInput)(n,void 0,r))}else if(n&&n===o.GPC_DataSharingOptInKey){r=t[n];e.appendChild((0,a.createInput)(n,void 0,r))}}))};t.createInputForDeviceRepair=function(e,t){Object.keys(t).forEach((function(n){if(n&&t[n])if("authToken"===n)e.appendChild((0,a.createInput)("msaTicket",void 0,t.authToken));else if("data"===n)e.appendChild((0,a.createInput)("data",t.data));else if("flights"===n)(0,a.createInputForArray)(e,"flights",t.flights);else if("experiments"===n)(0,a.createInputForArray)(e,"experiments",t.experiments);else{var r=t[n];e.appendChild((0,a.createInput)(n,void 0,r))}else if(n&&n===o.GPC_DataSharingOptInKey){r=t[n];e.appendChild((0,a.createInput)(n,void 0,r))}}))};t.constructCheckoutURl=function(e){var t="".concat(o.TARGET_ORIGIN).concat((0,r.purchaseUIUrlPath)(e,e.flights)).concat(o.appRoutes.checkout);if(!e.authToken&&!e.xToken)throw new Error("purchase-sdk: Authentication token is missing !!!");if(!e.clientType)throw new Error("purchase-sdk: clientType is missing !!!");return t+="?client=".concat(e.clientType),(0,a.addingQueryParams)(t,e.queryStringParams)};t.constructDeviceRepairURl=function(e){var t="".concat(o.TARGET_ORIGIN).concat((0,r.purchaseUIUrlPath)(e,e.flights)).concat(o.appRoutes.deviceRepair);if(!e.authToken)throw new Error("purchase-sdk: authToken is missing !!!");if(!e.cartId)throw new Error("purchase-sdk: order id is missing !!!");if(!e.clientType)throw new Error("purchase-sdk: clientType is missing !!!");return t+="?client=".concat(e.clientType)};t.externalData=function(e){var t,n,r,a,o,i;return{usePurchaseSdk:!0,postBusyStateToParent:null===e||void 0===e?void 0:e.postBusyStateToParent,keepShoppingUrl:null===e||void 0===e?void 0:e.keepShoppingUrl,aveSuccessRedirectUrl:null===e||void 0===e?void 0:e.aveSuccessRedirectUrl,aveFailureRedirectUrl:null===e||void 0===e?void 0:e.aveFailureRedirectUrl,hostRedirectReturnUrlTemplate:null===e||void 0===e?void 0:e.hostRedirectReturnUrlTemplate,clientType:null===(t=null===e||void 0===e?void 0:e.data)||void 0===t?void 0:t.clientType,addPiSuccessUrl:null===(n=null===e||void 0===e?void 0:e.data)||void 0===n?void 0:n.addPiSuccessUrl,addPiFailureUrl:null===(r=null===e||void 0===e?void 0:e.data)||void 0===r?void 0:r.addPiFailureUrl,layout:null===(a=null===e||void 0===e?void 0:e.data)||void 0===a?void 0:a.layout,cssOverride:null===(o=null===e||void 0===e?void 0:e.data)||void 0===o?void 0:o.cssOverride,data:null===(i=null===e||void 0===e?void 0:e.data)||void 0===i?void 0:i.data,postCartCountToParent:null===e||void 0===e?void 0:e.postCartCountToParent}}},80361:(e,t,n)=>{"use strict";n.d(t,{d:()=>a,f:()=>o});let r=function(e){e()};const a=e=>r=e,o=()=>r},80503:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(89575),a=n(17502),o=n(50701);function i(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var s=n(14041),l=n(79392),c=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"===typeof n.className?n.className=i(n.className,r):n.setAttribute("class",i(n.className&&n.className.baseVal||"",r)));var n,r}))},u=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a{"use strict";n.d(t,{li:()=>h,mG:()=>p});var r=n(2586),a=n(67099),o=n(63146),i=n(83103),s=n(38727),l=n(92735),c=n(4048),u=n(87322),d=n(68378),m=n(78114);function p(e,t,n,p,h,f){const{normalizeDepth:v=3,normalizeMaxBreadth:g=1e3}=e,_={...t,event_id:t.event_id||n.event_id||(0,l.eJ)(),timestamp:t.timestamp||(0,d.lu)()},y=n.integrations||e.integrations.map((e=>e.name));!function(e,t){const{environment:n,release:a,dist:o,maxValueLength:i=250}=t;e.environment=e.environment||n||r.U,!e.release&&a&&(e.release=a);!e.dist&&o&&(e.dist=o);const s=e.request;s?.url&&(s.url=(0,u.xv)(s.url,i))}(_,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(_,y),h&&h.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){const n=(0,s.z)(t);e.exception?.values?.forEach((e=>{e.stacktrace?.frames?.forEach((e=>{e.filename&&(e.debug_id=n[e.filename])}))}))}(_,e.stackParser);const b=function(e,t){if(!t)return e;const n=e?e.clone():new i.H;return n.update(t),n}(p,n.captureContext);n.mechanism&&(0,l.M6)(_,n.mechanism);const E=h?h.getEventProcessors():[],S=(0,a.m6)().getScopeData();if(f){const e=f.getScopeData();(0,m.Rg)(S,e)}if(b){const e=b.getScopeData();(0,m.Rg)(S,e)}const C=[...n.attachments||[],...S.attachments];C.length&&(n.attachments=C),(0,m.e2)(_,S);const P=[...E,...S.eventProcessors];return(0,o.j)(P,_,n).then((e=>(e&&function(e){const t={};if(e.exception?.values?.forEach((e=>{e.stacktrace?.frames?.forEach((e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)}))})),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach((([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})}))}(e),"number"===typeof v&&v>0?function(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((e=>({...e,...e.data&&{data:(0,c.S8)(e.data,t,n)}})))},...e.user&&{user:(0,c.S8)(e.user,t,n)},...e.contexts&&{contexts:(0,c.S8)(e.contexts,t,n)},...e.extra&&{extra:(0,c.S8)(e.extra,t,n)}};e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=(0,c.S8)(e.contexts.trace.data,t,n)));e.spans&&(r.spans=e.spans.map((e=>({...e,...e.data&&{data:(0,c.S8)(e.data,t,n)}}))));e.contexts?.flags&&r.contexts&&(r.contexts.flags=(0,c.S8)(e.contexts.flags,3,n));return r}(e,v,g):e)))}function h(e){if(e)return function(e){return e instanceof i.H||"function"===typeof e}(e)||function(e){return Object.keys(e).some((e=>f.includes(e)))}(e)?{captureContext:e}:e}const f=["user","level","extra","contexts","tags","fingerprint","propagationContext"]},80845:(e,t,n)=>{"use strict";n.d(t,{j:()=>r});const r=n(76288).O},80849:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPrefetchUrlByRoute=t.getPrefetchUrl=t.addingQueryParams=t.createInputForArray=t.createInput=void 0;var r=n(9274);t.createInput=function(e,t,n){var r=document.createElement("input");return r.name=e,r.type="hidden",r.value=t?JSON.stringify(t):null!==n&&void 0!==n?n:"",r};t.createInputForArray=function(e,n,r){if(e&&r&&(null===r||void 0===r?void 0:r.length)>0){var a=0;r.forEach((function(r){e.appendChild((0,t.createInput)("".concat(n,"[").concat(a,"]"),void 0,r)),a++}))}};t.addingQueryParams=function(e,t){return t&&t.length>0?(null===e||void 0===e?void 0:e.indexOf("?"))>-1?e+"&"+t:e+"?"+t:e};t.getPrefetchUrl=function(e,n){var r=new URLSearchParams;return n?(n.market&&r.append("market",n.market),n.locale&&r.append("locale",n.locale),n.clientType&&r.append("clientType",n.clientType),n.cssOverride&&r.append("cssOverride",n.cssOverride),n.optionalAssets&&r.append("optional",n.optionalAssets),(0,t.addingQueryParams)(e,r.toString())):e};t.getPrefetchUrlByRoute=function(e){return e.indexOf("cart")>-1||e.indexOf("checkout")>-1?r.prefetchURLTemplate.replace("{0}",r.purchaseUIAppName).replace("{1}",e):r.prefetchURLTemplate.replace("{0}",r.buyNowUIAppName).replace("{1}",e)}},81739:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});var r=n(14041),a=n(48008),o=n(36647);function i(e,t){const n=(0,r.useContext)(o.N);return(0,a.V)(n,e,t)}},81849:(e,t,n)=>{"use strict";n.r(t),n.d(t,{dBlock:()=>r,dFlex:()=>a,dInline:()=>o,dInlineBlock:()=>i,dInlineFlex:()=>s,dLgBlock:()=>l,dLgFlex:()=>c,dLgInline:()=>u,dLgInlineBlock:()=>d,dLgInlineFlex:()=>m,dLgNone:()=>p,dLgTable:()=>h,dLgTableCell:()=>f,dLgTableRow:()=>v,dMdBlock:()=>g,dMdFlex:()=>_,dMdInline:()=>y,dMdInlineBlock:()=>b,dMdInlineFlex:()=>E,dMdNone:()=>S,dMdTable:()=>C,dMdTableCell:()=>P,dMdTableRow:()=>T,dNone:()=>w,dPrintBlock:()=>I,dPrintFlex:()=>k,dPrintInline:()=>x,dPrintInlineBlock:()=>A,dPrintInlineFlex:()=>N,dPrintNone:()=>L,dPrintTable:()=>M,dPrintTableCell:()=>O,dPrintTableRow:()=>R,dSmBlock:()=>D,dSmFlex:()=>B,dSmInline:()=>F,dSmInlineBlock:()=>U,dSmInlineFlex:()=>H,dSmNone:()=>V,dSmTable:()=>G,dSmTableCell:()=>q,dSmTableRow:()=>z,dTable:()=>X,dTableCell:()=>j,dTableRow:()=>W,dXlBlock:()=>$,dXlFlex:()=>J,dXlInline:()=>K,dXlInlineBlock:()=>Q,dXlInlineFlex:()=>Y,dXlNone:()=>Z,dXlTable:()=>ee,dXlTableCell:()=>te,dXlTableRow:()=>ne});var r="display-module__d-block___fSHqy",a="display-module__d-flex___8Saxm",o="display-module__d-inline___C8B-2",i="display-module__d-inline-block___JRVpL",s="display-module__d-inline-flex___HBUSp",l="display-module__d-lg-block___q+Mk0",c="display-module__d-lg-flex___mpjOO",u="display-module__d-lg-inline___+uWXc",d="display-module__d-lg-inline-block___s-a81",m="display-module__d-lg-inline-flex___Vye37",p="display-module__d-lg-none___qHkBS",h="display-module__d-lg-table___jedIg",f="display-module__d-lg-table-cell___NEkb3",v="display-module__d-lg-table-row___oFECu",g="display-module__d-md-block___8pEr8",_="display-module__d-md-flex___fEpdb",y="display-module__d-md-inline___ghtRW",b="display-module__d-md-inline-block___3ikKc",E="display-module__d-md-inline-flex___bpPi4",S="display-module__d-md-none___Enq1h",C="display-module__d-md-table___ER8-b",P="display-module__d-md-table-cell___-wRlo",T="display-module__d-md-table-row___lnx14",w="display-module__d-none___ljAK6",I="display-module__d-print-block___YhSFS",k="display-module__d-print-flex___U3xl4",x="display-module__d-print-inline___R6RdM",A="display-module__d-print-inline-block___xDEXI",N="display-module__d-print-inline-flex___W+zT4",L="display-module__d-print-none___jbI0E",M="display-module__d-print-table___Z0C9g",O="display-module__d-print-table-cell___Qve13",R="display-module__d-print-table-row___derdo",D="display-module__d-sm-block___5kUGp",B="display-module__d-sm-flex___ur7Yp",F="display-module__d-sm-inline___VnTBS",U="display-module__d-sm-inline-block___h8xwl",H="display-module__d-sm-inline-flex___0pB9B",V="display-module__d-sm-none___9SVT2",G="display-module__d-sm-table___bJECH",q="display-module__d-sm-table-cell___6QaNi",z="display-module__d-sm-table-row___iWm-S",X="display-module__d-table___-St8q",j="display-module__d-table-cell___n8sBU",W="display-module__d-table-row___Mn7Hx",$="display-module__d-xl-block___0vBvJ",J="display-module__d-xl-flex___9O-eu",K="display-module__d-xl-inline___PAGCk",Q="display-module__d-xl-inline-block___jlRgk",Y="display-module__d-xl-inline-flex___3LY6b",Z="display-module__d-xl-none___jFIPw",ee="display-module__d-xl-table___kUrXR",te="display-module__d-xl-table-cell___cQXT0",ne="display-module__d-xl-table-row___upLgJ"},82572:(e,t,n)=>{"use strict";n.d(t,{pv:()=>r.p,Q9:()=>a.Q,a_:()=>h,nD:()=>_,X5:()=>f,uz:()=>p,VR:()=>v,mz:()=>y.m});var r=n(88317),a=n(43016),o=n(41506),i=n.n(o),s=(n(66264),n(45993),n(83718)),l=n(86090),c=n(89979),u=n(7851),d=n(3728);let m=[];const p=e=>m=e,h=(e,t,n,r)=>{if(0===m.length)throw new Error("No routes have been registered. Invalid use of getMatchedRouteConfig.");for(const o of m)if((0,a.Q)(o.constraint,t,r)){const t=(0,l.B6)(e,o);if(t)return i()(i()({},o),{},{isPreview:!!n,match:t})}},f=()=>m,v=e=>{const t=(0,s.d4)(d.Fu),n=(0,l.zy)(),r=(0,s.d4)(u.IL),a=(0,s.d4)(u.a5),o=e||n.pathname;return h(o,t,r,a)};function*g(e){const t=yield(0,c.Lt)(d.Fu),n=yield(0,c.Lt)(u.IL),r=yield(0,c.Lt)(u.a5);return yield(0,c.T1)(h,e,t,n,r)}function _(e){return(0,c.T1)(g,e)}var y=n(72830)},82973:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>f});n(61672),n(5858),n(45993);var r=n(727),a=n(95428),o=n(77703),i=n(57937),s=n(86090);const l=(0,o.EG)({resolved:{},chunkName:()=>"ContentPage",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,o.Bi)(Promise.all([n.e(1096),n.e(7243)]).then(n.bind(n,14015))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>14015}),c=((0,o.EG)({resolved:{},chunkName:()=>"NoTargetingContentPage",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,o.Bi)(Promise.all([n.e(1096),n.e(7243)]).then(n.bind(n,43251))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>43251}),(0,o.EG)({resolved:{},chunkName:()=>"ContentModalLauncherTestPage",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,o.Bi)(n.e(388).then(n.bind(n,73640))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>73640})),u=(0,o.EG)({resolved:{},chunkName:()=>"YearInReviewPage",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,o.Bi)(Promise.all([n.e(7885),n.e(6432)]).then(n.bind(n,73324))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>73324}),d=(0,o.EG)({resolved:{},chunkName:()=>"YearInReviewMarketingPage",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>(0,o.Bi)(Promise.all([n.e(7885),n.e(6432)]).then(n.bind(n,94433))),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve:()=>94433}),m=(0,i.gq)((()=>Promise.all([n.e(6152),n.e(1699)]).then(n.bind(n,171))),(e=>e.lazyRouteConfigs)),p=()=>null,h=[{key:"ContentModalLauncherTest",path:"/contentmodaltest",component:c,exact:!0,constraint:{featureGates:{[a.WTf.EnableTestPages]:e=>!0===e}},testConfig:{title:"Content Modal Launcher Test"},lazyConfig:m("ContentModalLauncherTest")},{key:"XboxCardContentPage",path:[`/:${a.pvY.Path}(xbox-mastercard)`],component:l,exact:!0,isServerOnly:!0,seoComponent:p,theme:a.Sxu.Light,testConfig:{title:"Xbox Card Content PMP",testPath:[{path:"/xbox-mastercard",title:"Main apply page"}]},lazyConfig:m("XboxCardContentPage")},{key:"XboxCardContentPageDefaultError",path:[`/:${a.pvY.Path}(xbox-mastercard)`],exact:!0,component:o.LL,isServerOnly:!0,seoComponent:p},{key:"YearInReviewMarketingPage",path:["/2024recap"],exact:!0,component:d,seoComponent:p,constraint:{featureGates:{[a.WTf.EnableYearInReviewMarketing]:e=>!0===e}},testConfig:{title:"2024 Recap"},lazyConfig:m("YearInReviewMarketingPage")},{key:"YearInReviewPage",path:["/year-in-review"],exact:!0,component:u,seoComponent:p,constraint:{featureGates:{[a.WTf.EnableYearInReview]:e=>!0===e}},testConfig:{title:"Year in Review"},lazyConfig:m("YearInReviewPage")},{key:"AllContentPages",path:[`/:${a.pvY.Path}*`],component:l,exact:!0,isServerOnly:!0,requiresNewRequest:(e,t,n)=>{let r=!0;if(n){const o=(0,s.B6)(t.pathname,{path:e}),i=(0,s.B6)(n.pathname,{path:e});r=!(0,a.JSV)(null===o||void 0===o?void 0:o.params[a.pvY.Path],null===i||void 0===i?void 0:i.params[a.pvY.Path])}return r},seoComponent:p,testConfig:{title:"Test Content Pages",testPath:[{path:"/catalogtestpage",title:"Catalog Based Page"},{path:"/xbox-game-pass/pc-game-pass",title:"Game Pass PC"},{path:"/xbox-game-pass/core",title:"Game Pass Core"},{path:"/20years",title:"20 years (Content Redirect)"}]},lazyConfig:m("AllContentPages")},{key:"GlobalSharedContent",path:["/global-shares/*"],component:l,exact:!0,isServerOnly:!0,lazyConfig:m("GlobalSharedContent")}],f={partnerId:r.QN,routes:h,lazyConfig:()=>Promise.all([n.e(6152),n.e(1699)]).then(n.bind(n,94492))};n(44521)},83718:(e,t,n)=>{"use strict";n.d(t,{Kq:()=>g,iI:()=>y,jO:()=>m,wA:()=>b,d4:()=>p});var r=n(73667),a=n(20489),o=n(44823),i=n(80361),s=n(14041),l=n(44274),c=n(29563);let u=n(69445).w;const d=(e,t)=>e===t;function m(e=c.t){const t=e===c.t?l.n:()=>(0,s.useContext)(e);return function(e,n=d){const{store:r,subscription:a,getServerState:o}=t(),i=u(a.addNestedSub,r.getState,o||r.getState,e,n);return(0,s.useDebugValue)(i),i}}const p=m();var h=n(31802),f=n(22756),v=n(77640);const g=function({store:e,context:t,children:n,serverState:r}){const a=(0,s.useMemo)((()=>{const t=(0,f.K)(e);return{store:e,subscription:t,getServerState:r?()=>r:void 0}}),[e,r]),o=(0,s.useMemo)((()=>e.getState()),[e]);(0,v.E)((()=>{const{subscription:t}=a;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),o!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[a,o]);const i=t||c.t;return s.createElement(i.Provider,{value:a},n)};var _=n(14342);function y(e=c.t){const t=e===c.t?_.P:(0,_.N)(e);return function(){return t().dispatch}}const b=y();var E;E=a.useSyncExternalStoreWithSelector,u=E,(0,h.T)(r.useSyncExternalStore),(0,i.d)(o.r)},84948:(e,t,n)=>{"use strict";n.d(t,{K:()=>s,w:()=>i});var r=n(90692),a=n(36359),o=n(92747);const i=e=>{const t=new r.HttpClientBuilder;return(0,o.R1)(t,e)},s=(e,t,n)=>i(e).authenticator(new a.vU(n,t,e.logger()))},85290:(e,t,n)=>{"use strict";n.d(t,{R:()=>r});var r="AdsOptOutSync-module__syncFrame___vfV8q"},85294:(e,t,n)=>{"use strict";n.d(t,{Er:()=>s,Mn:()=>l});var r=n(12272),a=n(68378),o=n(22647),i=n(80845);const s="__sentry_xhr_v3__";function l(e){(0,r.s5)("xhr",e),(0,r.AS)("xhr",c)}function c(){if(!i.j.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){const i=new Error,l=1e3*(0,a.zf)(),c=(0,o.Kg)(n[0])?n[0].toUpperCase():void 0,u=function(e){if((0,o.Kg)(e))return e;try{return e.toString()}catch{}return}(n[1]);if(!c||!u)return e.apply(t,n);t[s]={method:c,url:u,request_headers:{}},"POST"===c&&u.match(/sentry_key/)&&(t.__sentry_own_request__=!0);const d=()=>{const e=t[s];if(e&&4===t.readyState){try{e.status_code=t.status}catch(n){}const o={endTimestamp:1e3*(0,a.zf)(),startTimestamp:l,xhr:t,virtualError:i};(0,r.aj)("xhr",o)}};return"onreadystatechange"in t&&"function"===typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(d(),e.apply(t,n))}):t.addEventListener("readystatechange",d),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){const[r,a]=n,i=t[s];return i&&(0,o.Kg)(r)&&(0,o.Kg)(a)&&(i.request_headers[r.toLowerCase()]=a),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){const o=t[s];if(!o)return e.apply(t,n);void 0!==n[0]&&(o.body=n[0]);const i={startTimestamp:1e3*(0,a.zf)(),xhr:t};return(0,r.aj)("xhr",i),e.apply(t,n)}})}},85532:(e,t,n)=>{"use strict";e.exports=n.p+"static/media/loading-xenon-dark-theme.7093517a.svg"},85608:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>O,__assign:()=>o,__asyncDelegator:()=>T,__asyncGenerator:()=>P,__asyncValues:()=>w,__await:()=>C,__awaiter:()=>h,__classPrivateFieldGet:()=>N,__classPrivateFieldIn:()=>M,__classPrivateFieldSet:()=>L,__createBinding:()=>v,__decorate:()=>s,__disposeResources:()=>D,__esDecorate:()=>c,__exportStar:()=>g,__extends:()=>a,__generator:()=>f,__importDefault:()=>A,__importStar:()=>x,__makeTemplateObject:()=>I,__metadata:()=>p,__param:()=>l,__propKey:()=>d,__read:()=>y,__rest:()=>i,__runInitializers:()=>u,__setFunctionName:()=>m,__spread:()=>b,__spreadArray:()=>S,__spreadArrays:()=>E,__values:()=>_,default:()=>B});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;s--)(a=e[s])&&(i=(o<3?a(i):o>3?a(t,n,i):a(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function l(e,t){return function(n,r){t(n,r,e)}}function c(e,t,n,r,a,o){function i(e){if(void 0!==e&&"function"!==typeof e)throw new TypeError("Function expected");return e}for(var s,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?r.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),m=!1,p=n.length-1;p>=0;p--){var h={};for(var f in r)h[f]="access"===f?{}:r[f];for(var f in r.access)h.access[f]=r.access[f];h.addInitializer=function(e){if(m)throw new TypeError("Cannot add initializers after decoration has completed");o.push(i(e||null))};var v=(0,n[p])("accessor"===l?{get:d.get,set:d.set}:d[c],h);if("accessor"===l){if(void 0===v)continue;if(null===v||"object"!==typeof v)throw new TypeError("Object expected");(s=i(v.get))&&(d.get=s),(s=i(v.set))&&(d.set=s),(s=i(v.init))&&a.unshift(s)}else(s=i(v))&&("field"===l?a.unshift(s):d[c]=s)}u&&Object.defineProperty(u,r.name,d),m=!0}function u(e,t,n){for(var r=arguments.length>2,a=0;a0&&a[a.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function y(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(s){a={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i}function b(){for(var e=[],t=0;t1||s(e,t)}))})}function s(e,t){try{(n=a[e](t)).value instanceof C?Promise.resolve(n.value.v).then(l,c):u(o[0][2],n)}catch(r){u(o[0][3],r)}var n}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function T(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,a){t[r]=e[r]?function(t){return(n=!n)?{value:C(e[r](t)),done:!1}:a?a(t):t}:a}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=_(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,a){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,a,(t=e[n](t)).done,t.value)}))}}}function I(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var k=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function x(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&v(t,e,n);return k(t,e),t}function A(e){return e&&e.__esModule?e:{default:e}}function N(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"===typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function L(e,t,n,r,a){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"===typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?a.call(e,n):a?a.value=n:t.set(e,n),n}function M(e,t){if(null===t||"object"!==typeof t&&"function"!==typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"===typeof e?t===e:e.has(t)}function O(e,t,n){if(null!==t&&void 0!==t){if("object"!==typeof t&&"function"!==typeof t)throw new TypeError("Object expected.");var r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose]}if("function"!==typeof r)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var R="function"===typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function D(e){function t(t){e.error=e.hasError?new R(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function n(){for(;e.stack.length;){var r=e.stack.pop();try{var a=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(a).then(n,(function(e){return t(e),n()}))}catch(o){t(o)}}if(e.hasError)throw e.error}()}const B={__extends:a,__assign:o,__rest:i,__decorate:s,__param:l,__metadata:p,__awaiter:h,__generator:f,__createBinding:v,__exportStar:g,__values:_,__read:y,__spread:b,__spreadArrays:E,__spreadArray:S,__await:C,__asyncGenerator:P,__asyncDelegator:T,__asyncValues:w,__makeTemplateObject:I,__importStar:x,__importDefault:A,__classPrivateFieldGet:N,__classPrivateFieldSet:L,__classPrivateFieldIn:M,__addDisposableResource:O,__disposeResources:D}},86090:(e,t,n)=>{"use strict";n.d(t,{B6:()=>C,Ix:()=>f,W6:()=>L,XZ:()=>h,dO:()=>A,g:()=>O,qh:()=>P,rd:()=>b,tW:()=>y,zy:()=>M});var r=n(50701),a=n(14041),o=n(98130),i=n(5913),s=n(31450),l=n(89575),c=n(82402),u=n.n(c),d=(n(524),n(17502)),m=(n(75985),function(e){var t=(0,i.A)();return t.displayName=e,t}),p=m("Router-History"),h=m("Router"),f=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}(0,r.A)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a.createElement(h.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(p.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);a.Component;var v=function(e){function t(){return e.apply(this,arguments)||this}(0,r.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(a.Component);var g={},_=0;function y(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(g[e])return g[e];var t=u().compile(e);return _<1e4&&(g[e]=t,_++),t}(e)(t,{pretty:!0})}function b(e){var t=e.computedMatch,n=e.to,r=e.push,i=void 0!==r&&r;return a.createElement(h.Consumer,null,(function(e){e||(0,s.A)(!1);var r=e.history,c=e.staticContext,u=i?r.push:r.replace,d=(0,o.yJ)(t?"string"===typeof n?y(n,t.params):(0,l.A)({},n,{pathname:y(n.pathname,t.params)}):n);return c?(u(d),null):a.createElement(v,{onMount:function(){u(d)},onUpdate:function(e,t){var n=(0,o.yJ)(t.to);(0,o.Fu)(n,(0,l.A)({},d,{key:n.key}))||u(d)},to:n})}))}var E={},S=0;function C(e,t){void 0===t&&(t={}),("string"===typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,a=n.exact,o=void 0!==a&&a,i=n.strict,s=void 0!==i&&i,l=n.sensitive,c=void 0!==l&&l;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=E[n]||(E[n]={});if(r[e])return r[e];var a=[],o={regexp:u()(e,a,t),keys:a};return S<1e4&&(r[e]=o,S++),o}(n,{end:o,strict:s,sensitive:c}),a=r.regexp,i=r.keys,l=a.exec(e);if(!l)return null;var d=l[0],m=l.slice(1),p=e===d;return o&&!p?null:{path:n,url:"/"===n&&""===d?"/":d,isExact:p,params:i.reduce((function(e,t,n){return e[t.name]=m[n],e}),{})}}),null)}var P=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return a.createElement(h.Consumer,null,(function(t){t||(0,s.A)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?C(n.pathname,e.props):t.match,o=(0,l.A)({},t,{location:n,match:r}),i=e.props,c=i.children,u=i.component,d=i.render;return Array.isArray(c)&&function(e){return 0===a.Children.count(e)}(c)&&(c=null),a.createElement(h.Provider,{value:o},o.match?c?"function"===typeof c?c(o):c:u?a.createElement(u,o):d?d(o):null:"function"===typeof c?c(o):null)}))},t}(a.Component);function T(e){return"/"===e.charAt(0)?e:"/"+e}function w(e,t){if(!e)return t;var n=T(e);return 0!==t.pathname.indexOf(n)?t:(0,l.A)({},t,{pathname:t.pathname.substr(n.length)})}function I(e){return"string"===typeof e?e:(0,o.AO)(e)}function k(e){return function(){(0,s.A)(!1)}}function x(){}a.Component;var A=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return a.createElement(h.Consumer,null,(function(t){t||(0,s.A)(!1);var n,r,o=e.props.location||t.location;return a.Children.forEach(e.props.children,(function(e){if(null==r&&a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?C(o.pathname,(0,l.A)({},e.props,{path:i})):t.match}})),r?a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(a.Component);var N=a.useContext;function L(){return N(p)}function M(){return N(h).location}function O(){var e=N(h).match;return e?e.params:{}}},87322:(e,t,n)=>{"use strict";n.d(t,{Xr:()=>i,gt:()=>o,xv:()=>a});var r=n(22647);function a(e,t=0){return"string"!==typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function o(e,t){if(!Array.isArray(e))return"";const n=[];for(let o=0;ofunction(e,t,n=!1){return!!(0,r.Kg)(e)&&((0,r.gd)(t)?t.test(e):!!(0,r.Kg)(t)&&(n?e===t:e.includes(t)))}(e,t,n)))}},87373:(e,t,n)=>{"use strict";n.d(t,{Ao:()=>h,N7:()=>_,Nb:()=>d,Rb:()=>y,ww:()=>g,yN:()=>f,zC:()=>v,zo:()=>E});n(34237),n(45993),n(25152),n(28344);var r=n(36824),a=n(95428),o=n(50433),i=n(83718),s=n(86090),l=n(60478),c=n.n(l),u=n(16337);const d="/games/store/:productName/:productId/:skuId?/:availabilityId?",m="/external/contextual-store-host/:productId/:skuId?/:availabilityId?",p="dark",h=e=>{const t=(0,s.B6)(e,{path:d});if(t&&"productId"in t.params){const e=t.params;return"p"===e.productName&&(e.productName=void 0),e}},f=(e,t,n,r,o)=>new URL(`${e}${y("/p/:productName/:productId/:skuId?/:availabilityId?",t,n,r,o)}`,a.yDV).toString(),v=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.jbi,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,s=arguments.length>6?arguments[6]:void 0,l=arguments.length>7?arguments[7]:void 0,c=arguments.length>8?arguments[8]:void 0,u=arguments.length>9?arguments[9]:void 0,d=arguments.length>10?arguments[10]:void 0,h=arguments.length>11?arguments[11]:void 0;return new URL(`${t}${b(m,p,n,r,o,i,s,l,c,"v2",u,d,h)}`,e).toString()},g=(e,t,n,r,o,s,l)=>{let c=(0,i.d4)(a.GYd).origin;(null===a.VTO||void 0===a.VTO?void 0:a.VTO.FORCE_REDIRECT_PRODUCTION_ORIGIN)&&(c=a.jbi);const u=(0,i.d4)(a.a5u);return _(c,u,e,t,n,r,o,s,l)},_=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.jbi,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,s=arguments.length>6?arguments[6]:void 0,l=arguments.length>7?arguments[7]:void 0,c=arguments.length>8?arguments[8]:void 0,u=arguments.length>9?arguments[9]:void 0;return new URL(`${t}${y(d,n,r,o,i,s,l,c,u)}`,e).toString()},y=(e,t,n,a,o,i,l,d,m)=>{const p=c()(n||"p",{lower:!0,remove:/[*+]/g});let h=(0,s.tW)(e,{productId:t,productName:p||"p",skuId:a||void 0,availabilityId:o||void 0});const f=new URLSearchParams;return i&&f.append(r.hV.referringProductId,i),l&&f.append(r.hV.PartnerId,l),d&&f.append(r.hV.campaignId,d),m&&f.append(r.hV.ocid,m),(f.has(r.hV.referringProductId)||f.has(r.hV.PartnerId)||f.has(r.hV.campaignId))&&(h=(0,u.UL)(h,f)),h},b=(e,t,n,a,o,i,l,d,m,p,h,f,v)=>{const g=c()(a||"p",{lower:!0,remove:/[*+]/g});let _=(0,s.tW)(e,{productId:n,productName:g||"p",skuId:o||void 0,availabilityId:i||void 0});const y=new URLSearchParams;return l&&y.append(r.hV.referringProductId,l),d&&y.append(r.hV.PartnerId,d),m&&y.append(r.hV.campaignId,m),h&&y.append(r.hV.xStoreScenario,h),f&&y.append(r.hV.itemType,f),v&&y.append(r.hV.clientType,v),y.has(r.hV.referringProductId)||y.has(r.hV.PartnerId)||y.has(r.hV.campaignId)||y.has(r.hV.itemType)||y.has(r.hV.xStoreScenario)||y.has(r.hV.clientType)?_=`${(0,u.UL)(_,y)}&v=${p}&t=${t}`:_+=`?v=${p}&t=${t}`,_},E=(e,t)=>{const n=(0,i.d4)(a.GYd).origin,r=(0,i.d4)(a.a5u);return _(n,r,e,(0,o.wT)(e,!1),void 0,void 0,t)}},87450:(e,t,n)=>{"use strict";n.d(t,{AD:()=>l,SB:()=>i});var r=n(67401),a=n(10467);const o=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function i(e,t=!1){const{host:n,path:r,pass:a,port:o,projectId:i,protocol:s,publicKey:l}=e;return`${s}://${l}${t&&a?`:${a}`:""}@${n}${o?`:${o}`:""}/${r?`${r}/`:r}${i}`}function s(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function l(e){const t="string"===typeof e?function(e){const t=o.exec(e);if(!t)return void(0,a.pq)((()=>{console.error(`Invalid Sentry Dsn: ${e}`)}));const[n,r,i="",l="",c="",u=""]=t.slice(1);let d="",m=u;const p=m.split("/");if(p.length>1&&(d=p.slice(0,-1).join("/"),m=p.pop()),m){const e=m.match(/^\d+/);e&&(m=e[0])}return s({host:l,pass:i,path:d,projectId:m,port:c,protocol:n,publicKey:r})}(e):s(e);if(t&&function(e){if(!r.T)return!0;const{port:t,projectId:n,protocol:o}=e;return!["protocol","publicKey","host","projectId"].find((t=>!e[t]&&(a.vF.error(`Invalid Sentry Dsn: ${t} missing`),!0)))&&(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(o)?!t||!isNaN(parseInt(t,10))||(a.vF.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(a.vF.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),!1):(a.vF.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(t))return t}},87530:(e,t,n)=>{"use strict";var r;n.d(t,{Nm:()=>o.Nm,Yl:()=>o.Yl,Hy:()=>o.Hy,HA:()=>u.HA,yG:()=>i,JT:()=>o.JT,$y:()=>s,bo:()=>g,cB:()=>v,Xm:()=>l,QN:()=>a.QN,m4:()=>o.m4,PZ:()=>r,iZ:()=>o.iZ,og:()=>u.og,Ol:()=>u.Ol,Lo:()=>o.Lo,kV:()=>o.kV,Nb:()=>c.Nb,QL:()=>o.QL,H4:()=>d,nt:()=>m,ei:()=>f,y6:()=>h,K7:()=>_,Tq:()=>p,eK:()=>y,BM:()=>o.BM,o3:()=>b,km:()=>o.km,s3:()=>a.s3,N7:()=>c.N7,yN:()=>c.yN,Rb:()=>c.Rb,NR:()=>u.NR,Ao:()=>c.Ao,zC:()=>c.zC,ww:()=>c.ww,zo:()=>c.zo}),function(e){e.ProductId="ProductId",e.SkuId="SkuId",e.AvailabilityId="AvailabilityId",e.AffirmationProductId="AffirmationProductId",e.CloudServiceUpsells="CloudServiceUpsells",e.DisabledReason="DisabledReason",e.EditionIdsList="EditionIdsList",e.IsBundleProduct="IsBundleProduct",e.IsOnWishlist="IsOnWishlist",e.IsDisabled="IsDisabled",e.IsTrial="IsTrial",e.IsUpgrade="IsUpgrade",e.NetworkName="NetworkName",e.SkuIdsList="SkuIdsList",e.UpsellProductId="UpsellProductId",e.UpsellProductIdsList="UpsellProductIdsList",e.UpsellProductIdsComingSoonList="UpsellProductIdsComingSoonList",e.UpsellToDefaultSubscription="UpsellToDefaultSubscription",e.GlyphProductId="GlyphProductId",e.isFresnoEntitlement="isFresnoEntitlement"}(r||(r={}));var a=n(68359),o=n(79916);const i="gamingContext";var s,l,c=n(87373),u=n(76505);!function(e){e.Production="prod",e.Int="int",e.PPE="ppe"}(s||(s={})),function(e){e.XMsFlight="x-ms-flight",e.XMsTest="x-ms-test"}(l||(l={}));const d="US",m="en-US",p="xboxweb",h="mc",f="credit_card",v="https://www.xbox.com/{locale}/xbox-mastercard?xboxcomapplystatus=success",g="https://www.xbox.com/{locale}/xbox-mastercard?xboxcomapplystatus=fail",_="BANNER",y="MSFT-Web-Lpage",b="09.08.2024-21.05.46-730"},87563:(e,t,n)=>{"use strict";n.d(t,{$g:()=>h,Jo:()=>f,eU:()=>_});var r=n(41506),a=n.n(r),o=(n(66264),n(12885)),i=n(36359),s=n(36824),l=n(50433),c=n(95428),u=n(92747),d=n(89979),m=n(74296),p=n(40456);function*h(e){const t=yield(0,u.Jl)(),n=yield(0,i.Y6)(),r=yield(0,d.T1)(c.wRW),o=yield(0,d.T1)(i.zG),l=yield(0,d.Lt)(c.Fu$),m=yield(0,d.Lt)(c.pzA,c.WTf.StagingFD),h=a()({[s.Bw.MsApiVersion]:"1.1"},(0,s.Dd)(l)),f=yield(0,d.Lt)(c.P6r),v=yield(0,d.T1)(p.rV,f),g={dependencyName:u.Nz.EmeraldXbetService,dependencyOperationName:e.EncodedCT?"Channels/GetMoreData":"Channels/GetInitialData",operationName:e.ChannelId?"fetchBrowseChannel":"fetchBrowseAll"};return yield(0,d.T1)(s.YN,v,e,{addAuthorization:!0,isRequired:!1},t,n,r,o,g,m,h)}function*f(e){var t;const n=null===(t=e.ChannelId)||void 0===t?void 0:t.toLowerCase();if(!e.Query||!n||!(0,m.ig)(n))throw new Error("Invalid search channel request");const r=yield(0,u.Jl)(),o=yield(0,i.Y6)(),l=yield(0,d.T1)(c.wRW),h=yield(0,d.T1)(i.zG),f=yield(0,d.Lt)(c.Fu$),v=yield(0,d.Lt)(c.pzA,c.WTf.StagingFD),g=a()({[s.Bw.MsApiVersion]:"1.1"},(0,s.Dd)(f)),_=yield(0,d.Lt)(c.P6r),y=yield(0,d.T1)(p.Wg,_,n),b={dependencyName:u.Nz.EmeraldXbetService,dependencyOperationName:e.EncodedCT?"Search/GetMoreData":"Search/GetInitialChannelData",operationName:`search/${n}`};return yield(0,d.T1)(s.YN,y,e,{addAuthorization:!0,isRequired:!1},r,o,l,h,b,v,g)}function*v(e,t,n){const{channelKey:r,encodedFilters:i,encodedCT:s,channelId:l,query:u}=n;try{const n={Filters:i,ReturnFilters:!s,ChannelKeyToBeUsedInResponse:r,EncodedCT:s,ChannelId:l};let o;if(o=u?yield(0,d.T1)(f,a()(a()({},n),{},{Query:u})):yield(0,d.T1)(h,n),!(0,c.RJH)(o.status)){throw new Error(o.statusText)}yield(0,d.T1)(g,e,t,o.data,!!s)}catch(m){const t=(0,o.toError)(m);yield(0,d.yJ)(e.fetchChannel.error(t,r))}}function g(e,t,n){let r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return function*(){yield(0,d.T1)(l.Sk,t,n),n.channels&&Object.keys(n.channels).length>0&&(yield(0,d.yJ)(e.fetchChannel.success(n.channels,r)))}()}function _(e,t){return function*(){yield(0,d.jP)((0,c.wuJ)(e.fetchChannel.start),v,e,t)}}},87655:(e,t,n)=>{"use strict";n.d(t,{Vu:()=>s,fj:()=>o,qO:()=>i});var r=n(92735),a=n(68378);function o(e){const t=(0,a.zf)(),n={sid:(0,r.eJ)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return{sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"===typeof e.did||"string"===typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}(n)};return e&&i(n,e),n}function i(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,a.zf)(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,r.eJ)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"===typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"===typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"===typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function s(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),i(e,n)}},87999:(e,t,n)=>{"use strict";n.d(t,{T2:()=>s,XW:()=>o,xg:()=>i});var r,a=n(22647);function o(e){return new s((t=>{t(e)}))}function i(e){return new s(((t,n)=>{n(e)}))}!function(e){e[e.PENDING=0]="PENDING";e[e.RESOLVED=1]="RESOLVED";e[e.REJECTED=2]="REJECTED"}(r||(r={}));class s{constructor(e){this._state=r.PENDING,this._handlers=[],this._runExecutor(e)}then(e,t){return new s(((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(a){r(a)}else n(t)},e=>{if(t)try{n(t(e))}catch(a){r(a)}else r(e)}]),this._executeHandlers()}))}catch(e){return this.then((e=>e),e)}finally(e){return new s(((t,n)=>{let r,a;return this.then((t=>{a=!1,r=t,e&&e()}),(t=>{a=!0,r=t,e&&e()})).then((()=>{a?n(r):t(r)}))}))}_executeHandlers(){if(this._state===r.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(this._state===r.RESOLVED&&e[1](this._value),this._state===r.REJECTED&&e[2](this._value),e[0]=!0)}))}_runExecutor(e){const t=(e,t)=>{this._state===r.PENDING&&((0,a.Qg)(t)?t.then(n,o):(this._state=e,this._value=t,this._executeHandlers()))},n=e=>{t(r.RESOLVED,e)},o=e=>{t(r.REJECTED,e)};try{e(n,o)}catch(i){o(i)}}}},88238:(e,t,n)=>{"use strict";n.d(t,{GW:()=>s,OC:()=>r,_3:()=>u,bB:()=>c,hg:()=>l,i8:()=>i,vO:()=>a,w5:()=>o});const r="https://account.microsoft.com",a="https://www.aka.ms/streaming_learnmore",o="https://go.microsoft.com/fwlink/p/?linkid=2160906",i="https://www.xbox.com/legal/subscription-terms",s="https://support.microsoft.com/account-billing/spending-limits-in-family-safety-f30d6801-165d-9f86-3fe7-063245c0449b",l="https://support.microsoft.com/account-billing/in-app-purchases-with-non-microsoft-billing-platforms-bdcd9b50-e275-4220-8979-6fd25a101fc5",c="https://support.microsoft.com/account-billing/make-an-in-app-purchase-in-microsoft-store-1de1279a-be0e-6ad0-1d01-fbe59e90dc47",u="https://www.xbox.com/{locale}/Legal/ThirdPartyDataSharing"},88726:(e,t,n)=>{"use strict";n.d(t,{y:()=>z});function r(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function a(e,t,n){return t||`${function(e){return`${r(e)}${e.projectId}/envelope/`}(e)}?${function(e,t){const n={sentry_version:"7"};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}(e,n)}`}var o=n(2586),i=n(67099),s=n(7365),l=n(32647),c=n(98409),u=n(87655),d=n(62659),m=n(72e3),p=n(88213),h=n(5062),f=n(80608),v=n(76772),g=n(2170);var _=n(683),y=n(68378);var b=n(87450),E=n(22647),S=n(10467),C=n(92735),P=n(87999);const T="Not capturing exception because it's already been captured.",w="Discarded session because of missing or non-string release",I=Symbol.for("SentryInternalError"),k=Symbol.for("SentryDoNotSendEventError");function x(e){return{message:e,[I]:!0}}function A(e){return{message:e,[k]:!0}}function N(e){return!!e&&"object"===typeof e&&I in e}function L(e){return!!e&&"object"===typeof e&&k in e}class M{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=(0,b.AD)(e.dsn):s.T&&S.vF.warn("No DSN provided, client will not send events."),this._dsn){const t=a(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}}captureException(e,t,n){const r=(0,C.eJ)();if((0,C.GR)(e))return s.T&&S.vF.log(T),r;const a={event_id:r,...t};return this._process(this.eventFromException(e,a).then((e=>this._captureEvent(e,a,n)))),a.event_id}captureMessage(e,t,n,r){const a={event_id:(0,C.eJ)(),...n},o=(0,E.NF)(e)?e:String(e),i=(0,E.sO)(e)?this.eventFromMessage(o,t,a):this.eventFromException(e,a);return this._process(i.then((e=>this._captureEvent(e,a,r)))),a.event_id}captureEvent(e,t,n){const r=(0,C.eJ)();if(t?.originalException&&(0,C.GR)(t.originalException))return s.T&&S.vF.log(T),r;const a={event_id:r,...t},o=e.sdkProcessingMetadata||{},i=o.capturedSpanScope,l=o.capturedSpanIsolationScope;return this._process(this._captureEvent(e,a,i||n,l)),a.event_id}captureSession(e){this.sendSession(e),(0,u.qO)(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const t=this._transport;return t?(this.emit("flush"),this._isClientDoneProcessing(e).then((n=>t.flush(e).then((e=>n&&e))))):(0,P.XW)(!0)}close(e){return this.flush(e).then((e=>(this.getOptions().enabled=!1,this.emit("close"),e)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some((({name:e})=>e.startsWith("Spotlight"))))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){const t=this._integrations[e.name];(0,c.qm)(this,e,this._integrations),t||(0,c.lc)(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=(0,l.V7)(e,this._dsn,this._options._metadata,this._options.tunnel);for(const a of t.attachments||[])n=(0,_.W3)(n,(0,_.bm)(a));const r=this.sendEnvelope(n);r&&r.then((t=>this.emit("afterSendEvent",e,t)),null)}sendSession(e){const{release:t,environment:n=o.U}=this._options;if("aggregates"in e){const r=e.attrs||{};if(!r.release&&!t)return void(s.T&&S.vF.warn(w));r.release=r.release||t,r.environment=r.environment||n,e.attrs=r}else{if(!e.release&&!t)return void(s.T&&S.vF.warn(w));e.release=e.release||t,e.environment=e.environment||n}this.emit("beforeSendSession",e);const r=(0,l.LE)(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){const r=`${e}:${t}`;s.T&&S.vF.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){const n=this._hooks[e]=this._hooks[e]||[];return n.push(t),()=>{const e=n.indexOf(t);e>-1&&n.splice(e,1)}}emit(e,...t){const n=this._hooks[e];n&&n.forEach((e=>e(...t)))}sendEnvelope(e){return this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport?this._transport.send(e).then(null,(e=>(s.T&&S.vF.error("Error while sending envelope:",e),e))):(s.T&&S.vF.error("Transport disabled"),(0,P.XW)({}))}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=(0,c.P$)(this,e),(0,c.lc)(this,e)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,r=!1;const a=t.exception?.values;if(a){r=!0;for(const e of a){if(!1===e.mechanism?.handled){n=!0;break}}}const o="ok"===e.status;(o&&0===e.errors||o&&n)&&((0,u.qO)(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new P.T2((t=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r){const a=this.getOptions(),o=Object.keys(this._integrations);return!t.integrations&&o?.length&&(t.integrations=o),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),(0,f.mG)(a,e,t,n,this,r).then((e=>{if(null===e)return e;this.emit("postprocessEvent",e,t),e.contexts={trace:(0,i.vn)(n),...e.contexts};const r=(0,d.ao)(this,n);return e.sdkProcessingMetadata={dynamicSamplingContext:r,...e.sdkProcessingMetadata},e}))}_captureEvent(e,t={},n=(0,i.o5)(),r=(0,i.rm)()){return s.T&&O(e)&&S.vF.log(`Captured error event \`${(0,m.G)(e)[0]||""}\``),this._processEvent(e,t,n,r).then((e=>e.event_id),(e=>{s.T&&(L(e)?S.vF.log(e.message):N(e)?S.vF.warn(e.message):S.vF.warn(e))}))}_processEvent(e,t,n,r){const a=this.getOptions(),{sampleRate:o}=a,i=R(e),s=O(e),l=e.type||"error",c=`before send for type \`${l}\``,u="undefined"===typeof o?void 0:(0,h.i)(o);if(s&&"number"===typeof u&&Math.random()>u)return this.recordDroppedEvent("sample_rate","error"),(0,P.xg)(A(`Discarding event because it's not included in the random sample (sampling rate = ${o})`));const d="replay_event"===l?"replay":l;return this._prepareEvent(e,t,n,r).then((e=>{if(null===e)throw this.recordDroppedEvent("event_processor",d),A("An event processor returned `null`, will not send event.");if(t.data&&!0===t.data.__sentry__)return e;const n=function(e,t,n,r){const{beforeSend:a,beforeSendTransaction:o,beforeSendSpan:i}=t;let s=n;if(O(s)&&a)return a(s,r);if(R(s)){if(i){const e=i(function(e){const{trace_id:t,parent_span_id:n,span_id:r,status:a,origin:o,data:i,op:s}=e.contexts?.trace??{};return{data:i??{},description:e.transaction,op:s,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:a,timestamp:e.timestamp,trace_id:t??"",origin:o,profile_id:i?.[g.E1],exclusive_time:i?.[g.jG],measurements:e.measurements,is_segment:!0}}(s));if(e?s=(0,p.h)(n,{type:"transaction",timestamp:(l=e).timestamp,start_timestamp:l.start_timestamp,transaction:l.description,contexts:{trace:{trace_id:l.trace_id,span_id:l.span_id,parent_span_id:l.parent_span_id,op:l.op,status:l.status,origin:l.origin,data:{...l.data,...l.profile_id&&{[g.E1]:l.profile_id},...l.exclusive_time&&{[g.jG]:l.exclusive_time}}}},measurements:l.measurements}):(0,v.xl)(),s.spans){const e=[];for(const t of s.spans){const n=i(t);n?e.push(n):((0,v.xl)(),e.push(t))}s.spans=e}}if(o){if(s.spans){const e=s.spans.length;s.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return o(s,r)}}var l;return s}(0,a,e,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if((0,E.Qg)(e))return e.then((e=>{if(!(0,E.Qd)(e)&&null!==e)throw x(n);return e}),(e=>{throw x(`${t} rejected with ${e}`)}));if(!(0,E.Qd)(e)&&null!==e)throw x(n);return e}(n,c)})).then((a=>{if(null===a){if(this.recordDroppedEvent("before_send",d),i){const t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw A(`${c} returned \`null\`, will not send event.`)}const o=n.getSession()||r.getSession();if(s&&o&&this._updateSessionFromEvent(o,a),i){const e=(a.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(a.spans?a.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}const l=a.transaction_info;if(i&&l&&a.transaction!==e.transaction){const e="custom";a.transaction_info={...l,source:e}}return this.sendEvent(a,t),a})).then(null,(e=>{if(L(e)||N(e))throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),x(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)}))}_process(e){this._numProcessing++,e.then((e=>(this._numProcessing--,e)),(e=>(this._numProcessing--,e)))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.entries(e).map((([e,t])=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t}}))}_flushOutcomes(){s.T&&S.vF.log("Flushing outcomes...");const e=this._clearOutcomes();if(0===e.length)return void(s.T&&S.vF.log("No outcomes to send"));if(!this._dsn)return void(s.T&&S.vF.log("No dsn provided, will not send outcomes"));s.T&&S.vF.log("Sending outcomes:",e);const t=function(e,t,n){const r=[{type:"client_report"},{timestamp:n||(0,y.lu)(),discarded_events:e}];return(0,_.h4)(t?{dsn:t}:{},[r])}(e,this._options.tunnel&&(0,b.SB)(this._dsn));this.sendEnvelope(t)}}function O(e){return void 0===e.type}function R(e){return"transaction"===e.type}var D=n(94420);function B(e){return[{type:"otel_log"},e]}const F=new WeakMap;function U(e,t){const n=t??F.get(e)??[];if(0===n.length)return;const r=e.getOptions(),a=function(e,t,n,r){const a={};return t?.sdk&&(a.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(a.dsn=(0,b.SB)(r)),(0,_.h4)(a,e.map(B))}(n,r._metadata,r.tunnel,e.getDsn());n.length=0,e.emit("flushLogs"),e.sendEnvelope(a)}function H(e){void 0===e.user?.ip_address&&(e.user={...e.user,ip_address:"{{auto}}"})}function V(e){"aggregates"in e?void 0===e.attrs?.ip_address&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}var G=n(98029),q=n(63481);class z extends M{constructor(e){const t={parentSpanIsAlwaysRootSpan:!0,...e},n=q.jf.SENTRY_SDK_SOURCE||"npm";(0,D.K)(t,"browser",["browser"],n),super(t);const r=this,{sendDefaultPii:a,_experiments:o}=r._options,i=o?.enableLogs;t.sendClientReports&&q.jf.document&&q.jf.document.addEventListener("visibilitychange",(()=>{"hidden"===q.jf.document.visibilityState&&(this._flushOutcomes(),i&&U(r))})),i&&(r.on("flush",(()=>{U(r)})),r.on("afterCaptureLog",(()=>{r._logFlushIdleTimeout&&clearTimeout(r._logFlushIdleTimeout),r._logFlushIdleTimeout=setTimeout((()=>{U(r)}),5e3)}))),a&&(r.on("postprocessEvent",H),r.on("beforeSendSession",V))}eventFromException(e,t){return(0,G.u)(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return(0,G.qv)(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n,r)}}},89979:(e,t,n)=>{"use strict";n.d(t,{Q7:()=>a._,T1:()=>a.N,cb:()=>a.U,SD:()=>a.a6,yJ:()=>a.Y,Lt:()=>a.a3,cH:()=>a.a1,s:()=>a.K,jP:()=>d,p8:()=>m});var r=n(54860),a=n(3667),o=function(e){return{done:!0,value:e}},i={};function s(e){return(0,r.Ix)(e)?"channel":(0,r.mr)(e)?String(e):(0,r.Pc)(e)?e.name:String(e)}function l(e,t,n){var r,s,l,c=t;function u(t,n){if(c===i)return o(t);if(n&&!s)throw c=i,n;r&&r(t);var a=n?e[s](n):e[c]();return c=a.nextState,l=a.effect,r=a.stateUpdater,s=a.errorState,c===i?o(t):l}return(0,a.q)(u,(function(e){return u(null,e)}),n)}function c(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o2?n-2:0),o=2;o2?n-2:0),o=2;o2?n-2:0),o=2;o{"use strict";n.d(t,{M1:()=>r,cC:()=>a,sx:()=>o});const r="xbcpreview",a="/auth/msa",o="/auth/msa/blank.html"},91186:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});var r="ModuleRow-module__row___N1V3E"},91361:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(85608),a=n(14041);const o=function(e){var{title:t,titleId:n}=e,o=(0,r.__rest)(e,["title","titleId"]);return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},o),t?a.createElement("title",{id:n},t):null,a.createElement("path",{d:"M2048 1024q0 142-36 272t-103 245-160 207-208 160-245 103-272 37q-142 0-272-36t-245-103-207-160-160-208-103-245-37-272q0-141 36-272t103-245 160-207 208-160T752 37t272-37q141 0 272 36t245 103 207 160 160 208 103 245 37 272zm-1024 896q123 0 237-32t214-90 182-141 140-181 91-214 32-238q0-123-32-237t-90-214-141-182-181-140-214-91-238-32q-124 0-238 32t-213 90-182 141-140 181-91 214-32 238q0 124 32 238t90 213 141 182 181 140 214 91 238 32z"}))}},91384:(e,t,n)=>{"use strict";n.d(t,{wd:()=>a.w,nW:()=>r,Mj:()=>o.Mj,_b:()=>o._b,cQ:()=>o.cQ,zW:()=>i,H8:()=>o.H8,v5:()=>s.v5,sX:()=>s.sX,s4:()=>c.s,h9:()=>s.h9,Ev:()=>l.E,Au:()=>u.h,$v:()=>s.$v});n(89872);var r,a=n(70750),o=n(69202);!function(e){e.AadUserAuthorization="x-ms-authorization-aaduser",e.MuidAuthorization="x-authorization-muid",e.S2sAuthHeader="X-S2S-Authorization",e.XMSAuthorizationXBL="x-ms-authorization-xbl"}(r||(r={}));var i,s=n(38810),l=n(16651);!function(e){e.XboxLive="http://xboxlive.com",e.MDollar="http://mp.microsoft.com/",e.XCloud="http://gssv.xboxlive.com/",e.XCloudWebPortal="rp://gswp.xboxlive.com/",e.SISU="http://sisu.xboxlive.com/",e.Greenbelt="rp://greenbelt.xboxlive.com/",e.Playfab="http://playfab.xboxlive.com/",e.GamingConsent="http://gamingconsent.xboxlive.com"}(i||(i={}));var c=n(85180),u=n(99016)},91582:(e,t,n)=>{"use strict";n.d(t,{l$:()=>P,oR:()=>v});var r=n(14041),a=n(43144),o=Array(12).fill(0),i=({visible:e,className:t})=>r.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},r.createElement("div",{className:"sonner-spinner"},o.map(((e,t)=>r.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${t}`}))))),s=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},r.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),l=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},r.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),c=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},r.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),u=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},r.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),d=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},r.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),r.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),m=1,p=new class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach((t=>t(e)))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,a="number"==typeof(null==e?void 0:e.id)||(null==(t=e.id)?void 0:t.length)>0?e.id:m++,o=this.toasts.find((e=>e.id===a)),i=void 0===e.dismissible||e.dismissible;return this.dismissedToasts.has(a)&&this.dismissedToasts.delete(a),o?this.toasts=this.toasts.map((t=>t.id===a?(this.publish({...t,...e,id:a,title:n}),{...t,...e,id:a,dismissible:i,title:n}):t)):this.addToast({title:n,...r,dismissible:i,id:a}),a},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach((e=>{this.subscribers.forEach((t=>t({id:e.id,dismiss:!0})))})),this.subscribers.forEach((t=>t({id:e,dismiss:!0}))),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;void 0!==t.loading&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));let a,o=e instanceof Promise?e:e(),i=void 0!==n,s=o.then((async e=>{if(a=["resolve",e],r.isValidElement(e))i=!1,this.create({id:n,type:"default",message:e});else if(h(e)&&!e.ok){i=!1;let r="function"==typeof t.error?await t.error(`HTTP error! status: ${e.status}`):t.error,a="function"==typeof t.description?await t.description(`HTTP error! status: ${e.status}`):t.description;this.create({id:n,type:"error",message:r,description:a})}else if(void 0!==t.success){i=!1;let r="function"==typeof t.success?await t.success(e):t.success,a="function"==typeof t.description?await t.description(e):t.description;this.create({id:n,type:"success",message:r,description:a})}})).catch((async e=>{if(a=["reject",e],void 0!==t.error){i=!1;let r="function"==typeof t.error?await t.error(e):t.error,a="function"==typeof t.description?await t.description(e):t.description;this.create({id:n,type:"error",message:r,description:a})}})).finally((()=>{var e;i&&(this.dismiss(n),n=void 0),null==(e=t.finally)||e.call(t)})),l=()=>new Promise(((e,t)=>s.then((()=>"reject"===a[0]?t(a[1]):e(a[1]))).catch(t)));return"string"!=typeof n&&"number"!=typeof n?{unwrap:l}:Object.assign(n,{unwrap:l})},this.custom=(e,t)=>{let n=(null==t?void 0:t.id)||m++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter((e=>!this.dismissedToasts.has(e.id))),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},h=e=>e&&"object"==typeof e&&"ok"in e&&"boolean"==typeof e.ok&&"status"in e&&"number"==typeof e.status,f=(e,t)=>{let n=(null==t?void 0:t.id)||m++;return p.addToast({title:e,...t,id:n}),n},v=Object.assign(f,{success:p.success,info:p.info,warning:p.warning,error:p.error,custom:p.custom,message:p.message,promise:p.promise,dismiss:p.dismiss,loading:p.loading},{getHistory:()=>p.toasts,getToasts:()=>p.getActiveToasts()});function g(e){return void 0!==e.label}!function(e,{insertAt:t}={}){if(!e||"undefined"==typeof document)return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===t&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}(':where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}\n');var _=3,y=14;function b(...e){return e.filter(Boolean).join(" ")}var E=e=>{var t,n,a,o,m,p,h,f,v,_,y;let{invert:E,toast:S,unstyled:C,interacting:P,setHeights:T,visibleToasts:w,heights:I,index:k,toasts:x,expanded:A,removeToast:N,defaultRichColors:L,closeButton:M,style:O,cancelButtonStyle:R,actionButtonStyle:D,className:B="",descriptionClassName:F="",duration:U,position:H,gap:V,loadingIcon:G,expandByDefault:q,classNames:z,icons:X,closeButtonAriaLabel:j="Close toast",pauseWhenPageIsHidden:W}=e,[$,J]=r.useState(null),[K,Q]=r.useState(null),[Y,Z]=r.useState(!1),[ee,te]=r.useState(!1),[ne,re]=r.useState(!1),[ae,oe]=r.useState(!1),[ie,se]=r.useState(!1),[le,ce]=r.useState(0),[ue,de]=r.useState(0),me=r.useRef(S.duration||U||4e3),pe=r.useRef(null),he=r.useRef(null),fe=0===k,ve=k+1<=w,ge=S.type,_e=!1!==S.dismissible,ye=S.className||"",be=S.descriptionClassName||"",Ee=r.useMemo((()=>I.findIndex((e=>e.toastId===S.id))||0),[I,S.id]),Se=r.useMemo((()=>{var e;return null!=(e=S.closeButton)?e:M}),[S.closeButton,M]),Ce=r.useMemo((()=>S.duration||U||4e3),[S.duration,U]),Pe=r.useRef(0),Te=r.useRef(0),we=r.useRef(0),Ie=r.useRef(null),[ke,xe]=H.split("-"),Ae=r.useMemo((()=>I.reduce(((e,t,n)=>n>=Ee?e:e+t.height),0)),[I,Ee]),Ne=(()=>{let[e,t]=r.useState(document.hidden);return r.useEffect((()=>{let e=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)}),[]),e})(),Le=S.invert||E,Me="loading"===ge;Te.current=r.useMemo((()=>Ee*V+Ae),[Ee,Ae]),r.useEffect((()=>{me.current=Ce}),[Ce]),r.useEffect((()=>{Z(!0)}),[]),r.useEffect((()=>{let e=he.current;if(e){let t=e.getBoundingClientRect().height;return de(t),T((e=>[{toastId:S.id,height:t,position:S.position},...e])),()=>T((e=>e.filter((e=>e.toastId!==S.id))))}}),[T,S.id]),r.useLayoutEffect((()=>{if(!Y)return;let e=he.current,t=e.style.height;e.style.height="auto";let n=e.getBoundingClientRect().height;e.style.height=t,de(n),T((e=>e.find((e=>e.toastId===S.id))?e.map((e=>e.toastId===S.id?{...e,height:n}:e)):[{toastId:S.id,height:n,position:S.position},...e]))}),[Y,S.title,S.description,T,S.id]);let Oe=r.useCallback((()=>{te(!0),ce(Te.current),T((e=>e.filter((e=>e.toastId!==S.id)))),setTimeout((()=>{N(S)}),200)}),[S,N,T,Te]);return r.useEffect((()=>{if(S.promise&&"loading"===ge||S.duration===1/0||"loading"===S.type)return;let e;return A||P||W&&Ne?(()=>{if(we.current{var e;null==(e=S.onAutoClose)||e.call(S,S),Oe()}),me.current)),()=>clearTimeout(e)}),[A,P,S,ge,W,Ne,Oe]),r.useEffect((()=>{S.delete&&Oe()}),[Oe,S.delete]),r.createElement("li",{tabIndex:0,ref:he,className:b(B,ye,null==z?void 0:z.toast,null==(t=null==S?void 0:S.classNames)?void 0:t.toast,null==z?void 0:z.default,null==z?void 0:z[ge],null==(n=null==S?void 0:S.classNames)?void 0:n[ge]),"data-sonner-toast":"","data-rich-colors":null!=(a=S.richColors)?a:L,"data-styled":!(S.jsx||S.unstyled||C),"data-mounted":Y,"data-promise":!!S.promise,"data-swiped":ie,"data-removed":ee,"data-visible":ve,"data-y-position":ke,"data-x-position":xe,"data-index":k,"data-front":fe,"data-swiping":ne,"data-dismissible":_e,"data-type":ge,"data-invert":Le,"data-swipe-out":ae,"data-swipe-direction":K,"data-expanded":!!(A||q&&Y),style:{"--index":k,"--toasts-before":k,"--z-index":x.length-k,"--offset":`${ee?le:Te.current}px`,"--initial-height":q?"auto":`${ue}px`,...O,...S.style},onDragEnd:()=>{re(!1),J(null),Ie.current=null},onPointerDown:e=>{Me||!_e||(pe.current=new Date,ce(Te.current),e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(re(!0),Ie.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{var e,t,n,r;if(ae||!_e)return;Ie.current=null;let a=Number((null==(e=he.current)?void 0:e.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),o=Number((null==(t=he.current)?void 0:t.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),i=(new Date).getTime()-(null==(n=pe.current)?void 0:n.getTime()),s="x"===$?a:o,l=Math.abs(s)/i;if(Math.abs(s)>=20||l>.11)return ce(Te.current),null==(r=S.onDismiss)||r.call(S,S),Q("x"===$?a>0?"right":"left":o>0?"down":"up"),Oe(),oe(!0),void se(!1);re(!1),J(null)},onPointerMove:t=>{var n,r,a,o;if(!Ie.current||!_e||(null==(n=window.getSelection())?void 0:n.toString().length)>0)return;let i=t.clientY-Ie.current.y,s=t.clientX-Ie.current.x,l=null!=(r=e.swipeDirections)?r:function(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}(H);!$&&(Math.abs(s)>1||Math.abs(i)>1)&&J(Math.abs(s)>Math.abs(i)?"x":"y");let c={x:0,y:0};"y"===$?(l.includes("top")||l.includes("bottom"))&&(l.includes("top")&&i<0||l.includes("bottom")&&i>0)&&(c.y=i):"x"===$&&(l.includes("left")||l.includes("right"))&&(l.includes("left")&&s<0||l.includes("right")&&s>0)&&(c.x=s),(Math.abs(c.x)>0||Math.abs(c.y)>0)&&se(!0),null==(a=he.current)||a.style.setProperty("--swipe-amount-x",`${c.x}px`),null==(o=he.current)||o.style.setProperty("--swipe-amount-y",`${c.y}px`)}},Se&&!S.jsx?r.createElement("button",{"aria-label":j,"data-disabled":Me,"data-close-button":!0,onClick:Me||!_e?()=>{}:()=>{var e;Oe(),null==(e=S.onDismiss)||e.call(S,S)},className:b(null==z?void 0:z.closeButton,null==(o=null==S?void 0:S.classNames)?void 0:o.closeButton)},null!=(m=null==X?void 0:X.close)?m:d):null,S.jsx||(0,r.isValidElement)(S.title)?S.jsx?S.jsx:"function"==typeof S.title?S.title():S.title:r.createElement(r.Fragment,null,ge||S.icon||S.promise?r.createElement("div",{"data-icon":"",className:b(null==z?void 0:z.icon,null==(p=null==S?void 0:S.classNames)?void 0:p.icon)},S.promise||"loading"===S.type&&!S.icon?S.icon||function(){var e,t,n;return null!=X&&X.loading?r.createElement("div",{className:b(null==z?void 0:z.loader,null==(e=null==S?void 0:S.classNames)?void 0:e.loader,"sonner-loader"),"data-visible":"loading"===ge},X.loading):G?r.createElement("div",{className:b(null==z?void 0:z.loader,null==(t=null==S?void 0:S.classNames)?void 0:t.loader,"sonner-loader"),"data-visible":"loading"===ge},G):r.createElement(i,{className:b(null==z?void 0:z.loader,null==(n=null==S?void 0:S.classNames)?void 0:n.loader),visible:"loading"===ge})}():null,"loading"!==S.type?S.icon||(null==X?void 0:X[ge])||(e=>{switch(e){case"success":return s;case"info":return c;case"warning":return l;case"error":return u;default:return null}})(ge):null):null,r.createElement("div",{"data-content":"",className:b(null==z?void 0:z.content,null==(h=null==S?void 0:S.classNames)?void 0:h.content)},r.createElement("div",{"data-title":"",className:b(null==z?void 0:z.title,null==(f=null==S?void 0:S.classNames)?void 0:f.title)},"function"==typeof S.title?S.title():S.title),S.description?r.createElement("div",{"data-description":"",className:b(F,be,null==z?void 0:z.description,null==(v=null==S?void 0:S.classNames)?void 0:v.description)},"function"==typeof S.description?S.description():S.description):null),(0,r.isValidElement)(S.cancel)?S.cancel:S.cancel&&g(S.cancel)?r.createElement("button",{"data-button":!0,"data-cancel":!0,style:S.cancelButtonStyle||R,onClick:e=>{var t,n;g(S.cancel)&&_e&&(null==(n=(t=S.cancel).onClick)||n.call(t,e),Oe())},className:b(null==z?void 0:z.cancelButton,null==(_=null==S?void 0:S.classNames)?void 0:_.cancelButton)},S.cancel.label):null,(0,r.isValidElement)(S.action)?S.action:S.action&&g(S.action)?r.createElement("button",{"data-button":!0,"data-action":!0,style:S.actionButtonStyle||D,onClick:e=>{var t,n;g(S.action)&&(null==(n=(t=S.action).onClick)||n.call(t,e),!e.defaultPrevented&&Oe())},className:b(null==z?void 0:z.actionButton,null==(y=null==S?void 0:S.classNames)?void 0:y.actionButton)},S.action.label):null))};function S(){if("undefined"==typeof document)return"ltr";let e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}function C(e,t){let n={};return[e,t].forEach(((e,t)=>{let r=1===t,a=r?"--mobile-offset":"--offset",o=r?"16px":"32px";function i(e){["top","right","bottom","left"].forEach((t=>{n[`${a}-${t}`]="number"==typeof e?`${e}px`:e}))}"number"==typeof e||"string"==typeof e?i(e):"object"==typeof e?["top","right","bottom","left"].forEach((t=>{void 0===e[t]?n[`${a}-${t}`]=o:n[`${a}-${t}`]="number"==typeof e[t]?`${e[t]}px`:e[t]})):i(o)})),n}var P=(0,r.forwardRef)((function(e,t){let{invert:n,position:o="bottom-right",hotkey:i=["altKey","KeyT"],expand:s,closeButton:l,className:c,offset:u,mobileOffset:d,theme:m="light",richColors:h,duration:f,style:v,visibleToasts:g=_,toastOptions:b,dir:P=S(),gap:T=y,loadingIcon:w,icons:I,containerAriaLabel:k="Notifications",pauseWhenPageIsHidden:x}=e,[A,N]=r.useState([]),L=r.useMemo((()=>Array.from(new Set([o].concat(A.filter((e=>e.position)).map((e=>e.position)))))),[A,o]),[M,O]=r.useState([]),[R,D]=r.useState(!1),[B,F]=r.useState(!1),[U,H]=r.useState("system"!==m?m:window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),V=r.useRef(null),G=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),q=r.useRef(null),z=r.useRef(!1),X=r.useCallback((e=>{N((t=>{var n;return null!=(n=t.find((t=>t.id===e.id)))&&n.delete||p.dismiss(e.id),t.filter((({id:t})=>t!==e.id))}))}),[]);return r.useEffect((()=>p.subscribe((e=>{e.dismiss?N((t=>t.map((t=>t.id===e.id?{...t,delete:!0}:t)))):setTimeout((()=>{a.flushSync((()=>{N((t=>{let n=t.findIndex((t=>t.id===e.id));return-1!==n?[...t.slice(0,n),{...t[n],...e},...t.slice(n+1)]:[e,...t]}))}))}))}))),[]),r.useEffect((()=>{if("system"!==m)return void H(m);"system"===m&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?H("dark"):H("light"));let e=window.matchMedia("(prefers-color-scheme: dark)");try{e.addEventListener("change",(({matches:e})=>{H(e?"dark":"light")}))}catch(t){e.addListener((({matches:e})=>{try{H(e?"dark":"light")}catch(t){console.error(t)}}))}}),[m]),r.useEffect((()=>{A.length<=1&&D(!1)}),[A]),r.useEffect((()=>{let e=e=>{var t,n;i.every((t=>e[t]||e.code===t))&&(D(!0),null==(t=V.current)||t.focus()),"Escape"===e.code&&(document.activeElement===V.current||null!=(n=V.current)&&n.contains(document.activeElement))&&D(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[i]),r.useEffect((()=>{if(V.current)return()=>{q.current&&(q.current.focus({preventScroll:!0}),q.current=null,z.current=!1)}}),[V.current]),r.createElement("section",{ref:t,"aria-label":`${k} ${G}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},L.map(((t,a)=>{var o;let[i,m]=t.split("-");return A.length?r.createElement("ol",{key:t,dir:"auto"===P?S():P,tabIndex:-1,ref:V,className:c,"data-sonner-toaster":!0,"data-theme":U,"data-y-position":i,"data-lifted":R&&A.length>1&&!s,"data-x-position":m,style:{"--front-toast-height":`${(null==(o=M[0])?void 0:o.height)||0}px`,"--width":"356px","--gap":`${T}px`,...v,...C(u,d)},onBlur:e=>{z.current&&!e.currentTarget.contains(e.relatedTarget)&&(z.current=!1,q.current&&(q.current.focus({preventScroll:!0}),q.current=null))},onFocus:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||z.current||(z.current=!0,q.current=e.relatedTarget)},onMouseEnter:()=>D(!0),onMouseMove:()=>D(!0),onMouseLeave:()=>{B||D(!1)},onDragEnd:()=>D(!1),onPointerDown:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||F(!0)},onPointerUp:()=>F(!1)},A.filter((e=>!e.position&&0===a||e.position===t)).map(((a,o)=>{var i,c;return r.createElement(E,{key:a.id,icons:I,index:o,toast:a,defaultRichColors:h,duration:null!=(i=null==b?void 0:b.duration)?i:f,className:null==b?void 0:b.className,descriptionClassName:null==b?void 0:b.descriptionClassName,invert:n,visibleToasts:g,closeButton:null!=(c=null==b?void 0:b.closeButton)?c:l,interacting:B,position:t,style:null==b?void 0:b.style,unstyled:null==b?void 0:b.unstyled,classNames:null==b?void 0:b.classNames,cancelButtonStyle:null==b?void 0:b.cancelButtonStyle,actionButtonStyle:null==b?void 0:b.actionButtonStyle,removeToast:X,toasts:A.filter((e=>e.position==a.position)),heights:M.filter((e=>e.position==a.position)),setHeights:O,expandByDefault:s,gap:T,loadingIcon:w,expanded:R,pauseWhenPageIsHidden:x,swipeDirections:e.swipeDirections})}))):null})))}))},92261:(e,t,n)=>{"use strict";n.d(t,{D:()=>a,G:()=>r});const r="XboxCom",a="xboxcomct"},92309:(e,t,n)=>{"use strict";n.d(t,{O:()=>r,v:()=>a});var r="Shell-module__shellContainer___YmZHe",a="Shell-module__testPanelTriggerContainer___+Cu59"},92647:(e,t,n)=>{"use strict";n.d(t,{pR:()=>f});var r=n(95428);const a="Entitlement";var o=n(41506),i=n.n(o),s=(n(14297),n(65136),n(64552),n(88262));const l={};n(66264);var c=n(12885),u=n(36359),d=n(36824),m=n(92747),p=n(89979);function h(e){const t=function(e){return function*(t){const{productIds:n}=t;if(0!==n.length)try{if(!(yield(0,p.Lt)(u.ct))){const t=new Error("Cannot fetch bulk entitlements for an anonymous user");return void(yield(0,p.yJ)(e.fetchEntitlements.error(n,t)))}const t=yield(0,p.Lt)(r.P6r),a=yield(0,m.Jl)(),o=yield(0,u.Y6)(),i=yield(0,p.T1)(r.wRW),s=yield(0,p.T1)(u.zG),l={dependencyName:m.Nz.EmeraldXbetService,dependencyOperationName:"GetBulkEntitlements"},c={addAuthorization:!0,isRequired:!0},h=yield(0,p.Lt)(r.pzA,r.WTf.StagingFD),f=yield(0,p.T1)(d.YN,"entitlements/bulk",{ProductIds:n},c,a,o,i,s,l,h,void 0,void 0,{params:{locale:t.localeWithScript}});if(!(0,r.RJH)(f.status))throw new Error(f.statusText);yield(0,p.yJ)(e.fetchEntitlements.success(n,f.data.entitlements))}catch(a){const t=(0,c.toError)(a);yield(0,p.yJ)(e.fetchEntitlements.error(n,t))}else yield(0,p.yJ)(e.fetchEntitlements.success(n,{}))}}(e);return function*(){yield(0,p.jP)((0,r.wuJ)(e.fetchEntitlements.start),t)}}n(4600),n(17),n(25601),n(93262);function f(e,t){const n=function(e){return{updateEntitlements:(0,r.VPN)("@entitlement/UPDATE_ENTITLEMENTS",a,e,(e=>({entitlements:e}))),fetchEntitlements:(0,r.mYQ)(a,e,"@entitlement/FETCH_ENTITLEMENTS",(e=>({productIds:e})),((e,t)=>({productIds:e,response:t})),((e,t)=>({productIds:e,error:t})))}}(e),o=function(e){return(0,r.v4G)([a],new r.sVo(l).on(e.updateEntitlements,(function(e,t){return t.entitlements.length?t.entitlements.reduce(((e,t)=>(t&&(e[(0,r.VMG)(t.productId)]=(0,s.lceContent)(t)),e)),i()({},e)):e})).on(e.fetchEntitlements.start,(function(e,t){return t.productIds.reduce(((t,n)=>{const a=(0,r.VMG)(n),o=e[a];return t[a]=(0,s.lceFetching)(o),t}),i()({},e))})).on(e.fetchEntitlements.success,(function(e,t){return t.productIds.reduce(((e,n)=>{const a=(0,r.VMG)(n);return e[a]=(0,s.lceContent)(t.response[a]||null),e}),i()({},e))})).on(e.fetchEntitlements.error,(function(e,t){return t.productIds.reduce(((n,a)=>{const o=(0,r.VMG)(a),i=e[o];return n[o]=(0,s.lceError)(t.error,i),n}),i()({},e))})).build())}(n),c=h(n),u=function(e){const t=(t,n)=>e(t)[(0,r.VMG)(n)]||(0,s.lceNotRequested)();return{getEntitlementByProductId:t,getOwnershipOrSatisfactionByProductId:(e,n)=>{const r=t(e,n);return(0,s.lceTransform)(r,(e=>!!e&&(e.isOwned||e.isSatisfyingEntitlement)))},getUserEntitlement:(t,n)=>{const a=e(t),o=n.map((e=>a[(0,r.VMG)(e)])).find((e=>!!e))||(0,s.lceNotRequested)();return(0,s.lceTransform)(o,(e=>e||null))}}}(t);return{entitlementActions:n,entitlementReducer:o,entitlementSagas:c,entitlementSelectors:u}}},92735:(e,t,n)=>{"use strict";n.d(t,{$X:()=>s,GR:()=>u,M6:()=>c,eJ:()=>o,gO:()=>l});var r=n(76668),a=n(76288);function o(e=function(){const e=a.O;return e.crypto||e.msCrypto}()){let t=()=>16*Math.random();try{if(e?.randomUUID)return e.randomUUID().replace(/-/g,"");e?.getRandomValues&&(t=()=>{const t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch(n){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(e=>(e^(15&t())>>e/4).toString(16)))}function i(e){return e.exception?.values?.[0]}function s(e){const{message:t,event_id:n}=e;if(t)return t;const r=i(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function l(e,t,n){const r=e.exception=e.exception||{},a=r.values=r.values||[],o=a[0]=a[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function c(e,t){const n=i(e);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){const e={...r?.data,...t.data};n.mechanism.data=e}}function u(e){if(function(e){try{return e.__sentry_captured__}catch{}}(e))return!0;try{(0,r.my)(e,"__sentry_captured__",!0)}catch(t){}return!1}},92747:(e,t,n)=>{"use strict";n.d(t,{WB:()=>s.WB,pL:()=>s.pL,M9:()=>a.M9,nS:()=>i.nS,ad:()=>a.ad,uq:()=>l.uq,cM:()=>r.cM,ag:()=>i.ag,Nz:()=>r.Nz,C4:()=>s.C4,cA:()=>a.cA,ry:()=>r.ry,l2:()=>c.l,g6:()=>r.g6,Bu:()=>a.Bu,Q8:()=>a.Q8,ix:()=>a.ix,pY:()=>s.pY,xc:()=>c.x,_4:()=>a._4,be:()=>a.be,hu:()=>s.hu,R1:()=>E,vj:()=>o.vj,Q2:()=>o.Q2,jF:()=>S,Jl:()=>a.Jl,ai:()=>a.ai,pD:()=>o.pD,nO:()=>o.nO,jm:()=>o.jm,RE:()=>a.RE,qz:()=>o.qz,zM:()=>a.zM,Gb:()=>a.Gb,jr:()=>a.jr});var r=n(96270),a=n(97421),o=n(21256),i=(n(63113),n(1199)),s=n(53215),l=n(65007),c=(n(65054),n(31894)),u=n(41506),d=n.n(u),m=(n(9020),n(5858),n(34237),n(45993),n(82535),n(86483),n(70971),n(25152),n(28344),n(90692)),p=n(95428),h=n(76772),f=n(55719),v=n(64482);const g=(e,t,n)=>{var r,a,i,s;let l=0;const c=Date.now();t.metadata&&t.metadata.timeStamp&&(l=c-t.metadata.timeStamp);let u=e.cv().get(),g="";if(t.headers){const e=t.headers.get(m.HttpHeader.CorrelationVector);e&&(u=e),g=null!==(r=t.headers.get("X-MS-API-Version"))&&void 0!==r?r:""}const _=t.url&&new URL(t.url);let y,b,E,S;const C=(0,o.ux)(t);let P,T,w,I,k,x;if(C?(b=C.dependencyName,E=C.dependencyOperationName,y=C.operationName,S=C.dependencyOperationVersion||g):_&&(b=_.hostname,E=_.pathname),n){P=n.headers,T=(0,p.RJH)(n.status),w=n.status.toString(),I=(0,p.Uqy)(n.status).toString(),k=null!==(a=n.headers.get(m.HttpHeader.ContentType))&&void 0!==a?a:void 0;const e=n.headers.get(m.HttpHeader.ContentLength);e&&(x=parseInt(e,10))}else P=new Headers,T=!1,w="500",I=p.H_O.TransportError.toString();const A={op:E,startTimestamp:null===(i=t.metadata)||void 0===i?void 0:i.timeStamp};if("true"!=="MISSING_ENV_VAR".RAZZLE_DISABLE_SERVER_SENTRY){const e=h.Bk(),t=null!==(s=null===n||void 0===n?void 0:n.status)&&void 0!==s?s:500;e?f.Lk(d()(d()({},A),{},{name:E,parentSpanId:e.spanContext().spanId,traceId:e.spanContext().traceId}),(e=>{e&&(v.N8(e,t),e.end(c))})):f.Lk(d()(d()({},A),{},{name:E}),(e=>{e&&(v.N8(e,t),e.end(c))}))}e.logOutgoingServiceReliability({cV:u,latencyMs:l,requestHeaders:t.headers||new Headers,requestMethod:t&&t.method&&t.method.toUpperCase(),responseHeaders:P,succeeded:T,dependencyName:b,dependencyOperationName:E,dependencyOperationVersion:S,dependencyType:"WebService",operationName:y,protocol:_&&_.protocol.toUpperCase(),protocolStatusCode:w,requestStatus:I,responseContentType:k,responseSizeBytes:x,target:t.url})};class _{constructor(e){this._telemetryProvider=e,this.priority=Number.MAX_VALUE,this.intercept=async e=>{const t=e.metadata||{};t.timeStamp=Date.now();const n=e.headers||new Headers;return n.set(m.HttpHeader.CorrelationVector,this._telemetryProvider.cv().increment()),m.InterceptedRequest.fromRequest(e,{metadata:t,additionalHeaders:n})}}}class y{constructor(e){this._telemetryProvider=e,this.priority=Number.MAX_VALUE}async intercept(e,t){return g(this._telemetryProvider,e,t),t}}class b{constructor(e){this._telemetryProvider=e,this.priority=Number.MAX_VALUE}async intercept(e,t){throw t instanceof m.HttpError?g(this._telemetryProvider,e,t.response):t instanceof DOMException&&g(this._telemetryProvider,e,void 0),t}}const E=(e,t)=>e.requestInterceptor(new _(t)).responseInterceptor(new y(t)).errorInterceptor(new b(t)),S=e=>({request:[new _(e)],response:[new y(e)],error:[new b(e)]})},93119:(e,t,n)=>{"use strict";n.d(t,{G:()=>l});var r=n(76668),a=n(98409),o=n(63250),i=n(63481);const s=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],l=(0,a._C)(((e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,r.GS)(i.jf,"setTimeout",c),t.setInterval&&(0,r.GS)(i.jf,"setInterval",c),t.requestAnimationFrame&&(0,r.GS)(i.jf,"requestAnimationFrame",u),t.XMLHttpRequest&&"XMLHttpRequest"in i.jf&&(0,r.GS)(XMLHttpRequest.prototype,"send",d);const e=t.eventTarget;if(e){(Array.isArray(e)?e:s).forEach(m)}}}}));function c(e){return function(...t){const n=t[0];return t[0]=(0,i.LV)(n,{mechanism:{data:{function:(0,o.qQ)(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function u(e){return function(t){return e.apply(this,[(0,i.LV)(t,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,o.qQ)(e)},handled:!1,type:"instrument"}})])}}function d(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((e=>{e in n&&"function"===typeof n[e]&&(0,r.GS)(n,e,(function(t){const n={mechanism:{data:{function:e,handler:(0,o.qQ)(t)},handled:!1,type:"instrument"}},a=(0,r.sp)(t);return a&&(n.mechanism.data.handler=(0,o.qQ)(a)),(0,i.LV)(t,n)}))})),e.apply(this,t)}}function m(e){const t=i.jf[e]?.prototype;t?.hasOwnProperty?.("addEventListener")&&((0,r.GS)(t,"addEventListener",(function(t){return function(n,r,a){try{"function"===typeof r.handleEvent&&(r.handleEvent=(0,i.LV)(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,o.qQ)(r),target:e},handled:!1,type:"instrument"}}))}catch{}return t.apply(this,[n,(0,i.LV)(r,{mechanism:{data:{function:"addEventListener",handler:(0,o.qQ)(r),target:e},handled:!1,type:"instrument"}}),a])}})),(0,r.GS)(t,"removeEventListener",(function(e){return function(t,n,r){try{const a=n.__sentry_wrapped__;a&&e.call(this,t,a,r)}catch(a){}return e.call(this,t,n,r)}})))}},93139:(e,t,n)=>{"use strict";n.d(t,{_:()=>s});var r=n(53373),a=n.n(r),o=n(14041),i=n(30843),s=(0,o.memo)((function(e){var t=e.className,n=e.label;return o.createElement("div",{className:a()(i.h_,t)},n)}))},93304:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.externalData=t.createInputForPurchaseUI=t.attachingMessageHandler=t.constructCartURl=void 0;var r=n(56769),a=n(80849),o=n(9274);t.constructCartURl=function(e){var t="".concat(o.TARGET_ORIGIN).concat((0,r.purchaseUIUrlPath)(e,e.flights)).concat(o.appRoutes.cart);if(!e.clientType)throw new Error("purchase-sdk: clientType is missing !!!");return t+="?client=".concat(e.clientType),(0,a.addingQueryParams)(t,e.queryStringParams)};t.attachingMessageHandler=function(e){return new Promise((function(t){return window.addEventListener("message",(function(n){n.origin===o.TARGET_ORIGIN&&("ReactPurchaseReadyToRender"===n.data&&t(),e&&e.remove())}),!0)}))};t.createInputForPurchaseUI=function(e,t){Object.keys(t).forEach((function(n){if(n&&t[n])if("authToken"===n)e.appendChild((0,a.createInput)("msaTicket",void 0,t.authToken));else if("data"===n)e.appendChild((0,a.createInput)("data",t.data));else if("flights"===n)(0,a.createInputForArray)(e,"flights",t.flights);else if("experiments"===n)(0,a.createInputForArray)(e,"experiments",t.experiments);else{var r=t[n];e.appendChild((0,a.createInput)(n,void 0,r))}else if(n&&n===o.GPC_DataSharingOptInKey){r=t[n];e.appendChild((0,a.createInput)(n,void 0,r))}}))};t.externalData=function(e){var t,n,r,a,o,i;return{usePurchaseSdk:!0,postCartCountToParent:null===e||void 0===e?void 0:e.postCartCountToParent,postBusyStateToParent:null===e||void 0===e?void 0:e.postBusyStateToParent,keepShoppingUrl:null===e||void 0===e?void 0:e.keepShoppingUrl,aveSuccessRedirectUrl:null===e||void 0===e?void 0:e.aveSuccessRedirectUrl,aveFailureRedirectUrl:null===e||void 0===e?void 0:e.aveFailureRedirectUrl,hostRedirectReturnUrlTemplate:null===e||void 0===e?void 0:e.hostRedirectReturnUrlTemplate,clientType:null===(t=null===e||void 0===e?void 0:e.data)||void 0===t?void 0:t.clientType,addPiSuccessUrl:null===(n=null===e||void 0===e?void 0:e.data)||void 0===n?void 0:n.addPiSuccessUrl,addPiFailureUrl:null===(r=null===e||void 0===e?void 0:e.data)||void 0===r?void 0:r.addPiFailureUrl,layout:null===(a=null===e||void 0===e?void 0:e.data)||void 0===a?void 0:a.layout,cssOverride:null===(o=null===e||void 0===e?void 0:e.data)||void 0===o?void 0:o.cssOverride,data:null===(i=null===e||void 0===e?void 0:e.data)||void 0===i?void 0:i.data}}},94420:(e,t,n)=>{"use strict";n.d(t,{K:()=>a});var r=n(33659);function a(e,t,n=[t],a="npm"){const o=e._metadata||{};o.sdk||(o.sdk={name:`sentry.javascript.${t}`,packages:n.map((e=>({name:`${a}:@sentry/${e}`,version:r.M}))),version:r.M}),e._metadata=o}},94510:(e,t,n)=>{"use strict";n.d(t,{Gc:()=>o,ft:()=>r,yA:()=>a});var r="RetryPage-module__retryButton___iuv6I",a="RetryPage-module__retryContainer___0s7DP",o="RetryPage-module__retryIcon___4Kokq"},94572:(e,t,n)=>{"use strict";n.d(t,{r:()=>i});var r=n(76288),a=n(12272);let o=null;function i(e){const t="unhandledrejection";(0,a.s5)(t,e),(0,a.AS)(t,s)}function s(){o=r.O.onunhandledrejection,r.O.onunhandledrejection=function(e){const t=e;return(0,a.aj)("unhandledrejection",t),!o||o.apply(this,arguments)},r.O.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}},94695:(e,t,n)=>{"use strict";n.d(t,{X:()=>u});var r=n(7365),a=n(98409),o=n(22647),i=n(10467),s=n(4048),l=n(76668),c=n(87322);const u=(0,a._C)(((e={})=>{const{depth:t=3,captureErrorCause:n=!0}=e;return{name:"ExtraErrorData",processEvent(e,a,u){const{maxValueLength:d=250}=u.getOptions();return function(e,t={},n,a,u){if(!t.originalException||!(0,o.bJ)(t.originalException))return e;const d=t.originalException.name||t.originalException.constructor.name,m=function(e,t,n){try{const r=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"],a={};for(const t of Object.keys(e)){if(-1!==r.indexOf(t))continue;const i=e[t];a[t]=(0,o.bJ)(i)||"string"===typeof i?(0,c.xv)(`${i}`,n):i}if(t&&void 0!==e.cause&&(a.cause=(0,o.bJ)(e.cause)?e.cause.toString():e.cause),"function"===typeof e.toJSON){const t=e.toJSON();for(const e of Object.keys(t)){const n=t[e];a[e]=(0,o.bJ)(n)?n.toString():n}}return a}catch(a){r.T&&i.vF.error("Unable to extract extra data from the Error object:",a)}return null}(t.originalException,a,u);if(m){const t={...e.contexts},r=(0,s.S8)(m,n);return(0,o.Qd)(r)&&((0,l.my)(r,"__sentry_skip_normalization__",!0),t[d]=r),{...e,contexts:t}}return e}(e,a,t,n,d)}}}))},95129:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(85608),a=n(14041);const o=function(e){var{title:t,titleId:n}=e,o=(0,r.__rest)(e,["title","titleId"]);return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},o),t?a.createElement("title",{id:n},t):null,a.createElement("path",{d:"M2048 1024q0 142-36 272t-103 245-160 207-208 160-245 103-272 37q-141 0-272-36t-244-104-207-160-161-207-103-245-37-272q0-141 36-272t104-244 160-207 207-161T752 37t272-37q141 0 272 36t244 104 207 160 161 207 103 245 37 272zM616 621l-90 143h589l90-143H616zm983 715h169l-447-715-358 572H559l89-143h274l89-143H437l-89 143h131l-179 286h743l278-445 100 159h-83l-89 143h261l89 143z"}))}},95428:(e,t,n)=>{"use strict";n.d(t,{WyR:()=>u.Wy,P2Z:()=>P.P2,wii:()=>T.wi,Kd8:()=>P.Kd,_et:()=>P._e,m11:()=>r.m1,_F7:()=>u._F,t3X:()=>T.t3,jcx:()=>l,VI1:()=>T.VI,V1B:()=>r.V1,WTf:()=>P.WT,ff4:()=>u.ff,uEI:()=>u.uE,yDV:()=>u.yD,jNz:()=>u.jN,e2:()=>u.e2,yV4:()=>T.yV,kVq:()=>u.kV,sVo:()=>T.sV,pvY:()=>w.pv,hTd:()=>r.hT,HGh:()=>T.HG,qg8:()=>u.qg,X9e:()=>T.X9,H_O:()=>r.H_,ORn:()=>T.OR,Sxu:()=>r.Sx,BW6:()=>T.BW,ziD:()=>r.zi,VoS:()=>T.Vo,oqV:()=>P.oq,qon:()=>P.qo,PdN:()=>u.Pd,K1N:()=>u.K1,LzF:()=>u.Lz,jbi:()=>u.jb,Em_:()=>T.Em,JSV:()=>u.JS,VMG:()=>u.VM,GVe:()=>u.GV,_9l:()=>T._9,OXv:()=>T.OX,awk:()=>u.aw,ich:()=>u.ic,fSQ:()=>T.fS,VPN:()=>T.VP,lQ2:()=>T.lQ,vR$:()=>T.vR,Ti:()=>T.Ti,mYQ:()=>T.mY,JBw:()=>T.JB,Yj7:()=>u.Yj,Q94:()=>w.Q9,VsB:()=>T.Vs,GPZ:()=>u.GP,iDY:()=>u.iD,vv8:()=>u.vv,OzX:()=>u.Oz,aiy:()=>T.ai,wRW:()=>T.wR,N8_:()=>T.N8,pzA:()=>T.pz,DQt:()=>T.DQ,w$7:()=>T.w$,ccC:()=>T.cc,l_d:()=>u.l_,kQE:()=>u.kQ,OeX:()=>u.Oe,V79:()=>i,j17:()=>T.j1,IPJ:()=>T.IP,Egx:()=>T.Eg,MDy:()=>T.MD,vP3:()=>T.vP,XKG:()=>T.XK,xxW:()=>T.xx,Fu$:()=>T.Fu,JKP:()=>T.JK,a5u:()=>T.a5,P6r:()=>T.P6,a_R:()=>w.a_,nDP:()=>w.nD,Mjw:()=>T.Mj,F8Q:()=>T.F8,x6f:()=>u.x6,lDW:()=>T.lD,aMA:()=>T.aM,atP:()=>u.at,GYd:()=>T.GY,hbT:()=>T.hb,Uqy:()=>u.Uq,X5v:()=>w.X5,_cZ:()=>T._c,PR5:()=>T.PR,oKs:()=>T.oK,rPt:()=>T.rP,l7K:()=>T.l7,ugf:()=>T.ug,fTk:()=>T.fT,_bi:()=>T._b,vth:()=>T.vt,TPS:()=>T.TP,ILr:()=>T.IL,sjg:()=>T.sj,csy:()=>u.cs,PTb:()=>u.PT,SHi:()=>u.SH,RJH:()=>u.RJ,b07:()=>u.b0,X2U:()=>u.X2,PE5:()=>u.PE,VTO:()=>u.VT,j4E:()=>u.j4,BaY:()=>u.B,CH1:()=>u.CH,d6Y:()=>u.d6,xJ$:()=>u.xJ,wuJ:()=>T.wu,tcg:()=>u.tc,tdF:()=>u.td,YOM:()=>T.YO,Y9C:()=>u.Y9,XBe:()=>u.XB,$hu:()=>r.$h,q3w:()=>u.q3,r7Z:()=>u.r7,q6B:()=>u.q6,bvP:()=>u.bv,MnC:()=>u.Mn,HRB:()=>u.HR,UVo:()=>u.UV,LF_:()=>T.LF,TVt:()=>u.TV,oYT:()=>T.oY,F6E:()=>T.F6,Hde:()=>T.Hd,uzW:()=>w.uz,Q_y:()=>u.Q_,_Wy:()=>u._W,mx0:()=>c,m$W:()=>u.m$,wwE:()=>u.ww,xrK:()=>u.xr,AzV:()=>u.Az,VRc:()=>w.VR,Y2m:()=>u.Y2,mNY:()=>T.mN,jLq:()=>E,tOg:()=>b,KFF:()=>C,eVg:()=>S,FPK:()=>f,tPb:()=>y,wDO:()=>v,Igx:()=>u.Ig,ITZ:()=>u.IT,mzJ:()=>w.mz,nWU:()=>u.nW,B1M:()=>u.B1,YOX:()=>u.YO,v4G:()=>T.v4,wjz:()=>u.wj,VOK:()=>u.VO});var r=n(35423),a=(n(30420),n(89979));function*o(){return yield(0,a.SD)(r.hT.cookies)}function i(){return(0,a.T1)(o)}var s=n(14041);const l=(0,s.createContext)({}),c=()=>(0,s.useContext)(l);var u=n(3904),d=(n(93831),n(30488),n(93760),n(17),n(65136),n(57485),n(93262),n(45993),n(48008)),m=n(36647),p=n(81739);const h=Array.from({length:9},((e,t)=>`{${t}}`)),f=function(e,t){const n=(0,d.I4)((0,s.useContext)(m.N),[t,e]);for(var r=arguments.length,a=new Array(r>2?r-2:0),o=2;o0?a:h)},v=function(e){const t=(0,s.useContext)(m.N);for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a(0,d.I4)(t,[e,n])(h)))};function g(e,t){let n=e;if(n)for(const r of t){if("object"!==typeof n)return;if(n=n[r],void 0===n)return}return n}function _(e,t){return Array.isArray(e)?e:t?e.split(t):[e]}function y(e,t,n){const r=(0,s.useContext)(m.N),{locales:a,messages:o,pathSep:i}=r,l=_([e,t],i);for(var c=arguments.length,d=new Array(c>3?c-3:0),p=3;p1?r-1:0),o=1;o{const a=(0,d.I4)(t,[e,r]);n[r]="function"===typeof a?a():a})),n}const C=p.m;var P=n(48827),T=n(41305),w=n(82572)},95609:(e,t,n)=>{"use strict";n.d(t,{b:()=>s});var r=n(14041),a=n(54294),o=n(98576),i=n(27324);const s=(0,r.createContext)({theme:a.S.Dark,themeVersion:i.i.Polaris,isRtl:!1,userColors:o.W.XboxGreen,textScale:1,version:"1.0",deviceOrientation:"portrait",deviceType:"Handset",language:""})},96270:(e,t,n)=>{"use strict";var r,a,o,i;n.d(t,{cM:()=>o,Nz:()=>i,ry:()=>r,g6:()=>a}),function(e){e.Browse="Browse",e.BuyNow="BuyNow",e.Cart="Cart",e.Checkout="Checkout",e.Error="Error",e.GenericError="GenericError",e.LocalePicker="LocalePicker",e.Overlay="Overlay",e.ProductDetailsPage="ProductDetailsPage",e.PDP="PDP",e.Retry="Retry",e.Search="Search",e.Settings="Settings",e.Wishlist="Wishlist"}(r||(r={})),function(e){e.Cart="CART",e.Checkout="CHECKOUT",e.PDP="PDP"}(a||(a={})),function(e){e.Button="Button",e.Link="Link",e.PageContent="PageContent"}(o||(o={})),function(e){e.CemService="CemService",e.DisplayCatalogService="DisplayCatalogService",e.EmeraldXbetService="EmeraldXbetService",e.InventoryService="InventoryService",e.GamingContext="GamingContext",e.PeopleHub="PeopleHub",e.SISU="SISU",e.StoreCartService="StoreCartService",e.XboxLiveAccountService="XboxLiveAccountService",e.GamingConsentService="GamingConsentService"}(i||(i={}))},96521:(e,t,n)=>{"use strict";function r(e,t){return function(n){return()=>e().then((e=>t(e)[n]))}}n.d(t,{g:()=>r})},96916:(e,t,n)=>{"use strict";n.d(t,{m1:()=>r});const r="/{locale}/games/browse/{collection}"},97421:(e,t,n)=>{"use strict";n.d(t,{M9:()=>_,ad:()=>c,cA:()=>i,Bu:()=>d,Q8:()=>s,ix:()=>u,_4:()=>l,be:()=>o,Jl:()=>S,ai:()=>C,$N:()=>g,RE:()=>p,zM:()=>h,Gb:()=>m,jr:()=>f});n(66264);var r=n(95428),a=n(14041);const o=(0,a.createContext)({}),i=(0,a.createContext)({}),s=(0,a.createContext)({}),l=(0,a.createContext)({}),c=(0,a.createContext)({}),u=(0,a.createContext)({}),d=(0,a.createContext)({}),m=()=>(0,a.useContext)(o),p=()=>(0,a.useContext)(i),h=()=>(0,a.useContext)(s),f=()=>m().logger(),v=(0,a.createContext)(void 0),g=()=>(0,a.useContext)(v),_=e=>{let{children:t}=e;const n=m().getCurrentPage()||void 0,o=(0,a.useRef)(n),i=f();if(void 0!==g()&&(i.error("can not nest BackingPageProvider"),"prod"!==r.VTO.DEPLOYMENT_ENV))throw new Error("can not nest BackingPageProvider");return a.createElement(v.Provider,{value:o.current},t)};var y=n(89979);function*b(){return yield(0,y.SD)(r.hTd.telemetry)}function*E(){return(yield b()).logger()}function S(){return(0,y.T1)(b)}function C(){return(0,y.T1)(E)}},97537:(e,t,n)=>{"use strict";n.d(t,{T:()=>Q});var r=n(37168),a=n(7365),o=n(98409),i=n(72e3),s=n(10467),l=n(92735),c=n(87322);const u=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],d=(0,o._C)(((e={})=>{let t;return{name:"EventFilters",setup(n){const r=n.getOptions();t=p(e,r)},processEvent(n,r,o){if(!t){const n=o.getOptions();t=p(e,n)}return function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;const n=e.transaction;return!!n&&(0,c.Xr)(n,t)}(e,t.ignoreTransactions))return a.T&&s.vF.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,l.$X)(e)}`),!0}else{if(function(e,t){if(!t?.length)return!1;return(0,i.G)(e).some((e=>(0,c.Xr)(e,t)))}(e,t.ignoreErrors))return a.T&&s.vF.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,l.$X)(e)}`),!0;if(function(e){if(!e.exception?.values?.length)return!1;return!e.message&&!e.exception.values.some((e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))}(e))return a.T&&s.vF.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${(0,l.$X)(e)}`),!0;if(function(e,t){if(!t?.length)return!1;const n=h(e);return!!n&&(0,c.Xr)(n,t)}(e,t.denyUrls))return a.T&&s.vF.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,l.$X)(e)}.\nUrl: ${h(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;const n=h(e);return!n||(0,c.Xr)(n,t)}(e,t.allowUrls))return a.T&&s.vF.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,l.$X)(e)}.\nUrl: ${h(e)}`),!0}return!1}(n,t)?null:n}}})),m=(0,o._C)(((e={})=>({...d(e),name:"InboundFilters"})));function p(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:u],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function h(e){try{const t=[...e.exception?.values??[]].reverse().find((e=>void 0===e.mechanism?.parent_id&&e.stacktrace?.frames?.length))?.stacktrace?.frames;return t?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&""!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(t){return a.T&&s.vF.error(`Cannot extract url for event ${(0,l.$X)(e)}`),null}}var f=n(67099),v=n(76668);let g;const _=new WeakMap,y=(0,o._C)((()=>({name:"FunctionToString",setupOnce(){g=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=(0,v.sp)(this),n=_.has((0,f.KU)())&&void 0!==t?t:this;return g.apply(n,e)}}catch{}},setup(e){_.set(e,!0)}})));var b=n(29180),E=n(25479),S=n(4251),C=n(63250);function P(e,t){!0===t.debug&&(a.T?s.vF.enable():(0,s.pq)((()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})));(0,f.o5)().update(t.initialScope);const n=new e(t);return function(e){(0,f.o5)().setClient(e)}(n),n.init(),n}var T=n(88726),w=n(53314),I=n(63481),k=n(12853),x=n(93119),A=n(35596);const N=(0,o._C)((()=>({name:"BrowserSession",setupOnce(){"undefined"!==typeof I.jf.document?((0,r.J0)({ignoreDuration:!0}),(0,r.J5)(),(0,A._)((({from:e,to:t})=>{void 0!==e&&e!==t&&((0,r.J0)({ignoreDuration:!0}),(0,r.J5)())}))):w.T&&s.vF.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.")}})));var L=n(8634),M=n(94572),O=n(22647),R=n(98029);const D=(0,o._C)(((e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(!function(e){(0,L.L)((t=>{const{stackParser:n,attachStacktrace:a}=F();if((0,f.KU)()!==e||(0,I.jN)())return;const{msg:o,url:i,line:s,column:l,error:c}=t,u=function(e,t,n,r){const a=e.exception=e.exception||{},o=a.values=a.values||[],i=o[0]=o[0]||{},s=i.stacktrace=i.stacktrace||{},l=s.frames=s.frames||[],c=r,u=n,d=(0,O.Kg)(t)&&t.length>0?t:(0,E.$N)();0===l.length&&l.push({colno:c,filename:d,function:C.yF,in_app:!0,lineno:u});return e}((0,R.H7)(n,c||o,void 0,a,!1),i,s,l);u.level="error",(0,r.r)(u,{originalException:c,mechanism:{handled:!1,type:"onerror"}})}))}(e),B("onerror")),t.onunhandledrejection&&(!function(e){(0,M.r)((t=>{const{stackParser:n,attachStacktrace:a}=F();if((0,f.KU)()!==e||(0,I.jN)())return;const o=function(e){if((0,O.sO)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}(t),i=(0,O.sO)(o)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(o)}`}]}}:(0,R.H7)(n,o,void 0,a,!0);i.level="error",(0,r.r)(i,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})}))}(e),B("onunhandledrejection"))}}}));function B(e){w.T&&s.vF.log(`Global Handler attached: ${e}`)}function F(){return(0,f.KU)()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const U=(0,o._C)((()=>({name:"HttpContext",preprocessEvent(e){if(!I.jf.navigator&&!I.jf.location&&!I.jf.document)return;const t=e.request?.url||(0,E.$N)(),{referrer:n}=I.jf.document||{},{userAgent:r}=I.jf.navigator||{},a={...e.request?.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},o={...e.request,...t&&{url:t},headers:a};e.request=o}})));function H(e,t,n,r,a,o){if(!a.exception?.values||!o||!(0,O.tH)(o.originalException,Error))return;const i=a.exception.values.length>0?a.exception.values[a.exception.values.length-1]:void 0;i&&(a.exception.values=V(e,t,r,o.originalException,n,a.exception.values,i,0))}function V(e,t,n,r,a,o,i,s){if(o.length>=n+1)return o;let l=[...o];if((0,O.tH)(r[a],Error)){G(i,s);const o=e(t,r[a]),c=l.length;q(o,a,c,s),l=V(e,t,n,r[a],a,[o,...l],o,c)}return Array.isArray(r.errors)&&r.errors.forEach(((r,o)=>{if((0,O.tH)(r,Error)){G(i,s);const c=e(t,r),u=l.length;q(c,`errors[${o}]`,u,s),l=V(e,t,n,r,a,[c,...l],c,u)}})),l}function G(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function q(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}const z=(0,o._C)(((e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,a){const o=a.getOptions();H(R.K8,o.stackParser,n,t,e,r)}}}));var X=n(15453),j=n(6138);function W(e){const t={};for(const n of Object.getOwnPropertyNames(e)){const r=n;void 0!==e[r]&&(t[r]=e[r])}return t}function $(e={}){const t=function(e={}){return{defaultIntegrations:[m(),y(),(0,x.G)(),(0,k.F)(),D(),z(),(0,b.s)(),U(),N()],release:"string"===typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:I.jf.SENTRY_RELEASE?.id,sendClientReports:!0,...W(e)}}(e);if(!t.skipBrowserExtensionCheck&&function(){const e="undefined"!==typeof I.jf.window&&I.jf;if(!e)return!1;const t=e[e.chrome?"chrome":"browser"]?.runtime?.id,n=(0,E.$N)()||"",r=!!t&&I.jf===I.jf.top&&["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"].some((e=>n.startsWith(`${e}//`))),a="undefined"!==typeof e.nw;return!!t&&!r&&!a}())return void(w.T&&(0,s.pq)((()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")})));w.T&&!(0,S.vm)()&&s.vF.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill.");const n={...t,stackParser:(0,C.vk)(t.stackParser||X.lG),integrations:(0,o.mH)(t),transport:t.transport||j._};return P(T.y,n)}var J=n(94420),K=n(14041);function Q(e){const t={...e};return(0,J.K)(t,"react"),(0,r.o)("react",{version:K.version}),$(t)}},97560:(e,t,n)=>{"use strict";n.d(t,{EQ:()=>i,Tc:()=>o,ZJ:()=>r});var r,a=n(85608);!function(e){e[e.DefaultLight=0]="DefaultLight",e[e.DefaultDark=1]="DefaultDark",e[e.DefaultHcWhite=2]="DefaultHcWhite",e[e.DefaultHcBlack=3]="DefaultHcBlack",e[e.DefaultHcDesert=4]="DefaultHcDesert",e[e.DefaultHcAquatic=5]="DefaultHcAquatic"}(r||(r={}));var o=function(e){switch(e){case r.DefaultLight:return"light";case r.DefaultDark:return"dark";case r.DefaultHcWhite:return"hc-white";case r.DefaultHcBlack:return"hc-black";case r.DefaultHcDesert:return"hc-desert";case r.DefaultHcAquatic:return"hc-aquatic"}};function i(e){return(0,a.__awaiter)(this,void 0,void 0,(function(){return(0,a.__generator)(this,(function(t){switch(t.label){case 0:switch(e){case r.DefaultLight:return[3,1];case r.DefaultDark:return[3,3];case r.DefaultHcWhite:return[3,5];case r.DefaultHcBlack:return[3,7];case r.DefaultHcDesert:return[3,9];case r.DefaultHcAquatic:return[3,11]}return[3,13];case 1:return[4,n.e(1366).then(n.bind(n,21366))];case 2:case 4:case 6:case 8:case 10:case 12:return t.sent(),[2];case 3:return[4,n.e(1870).then(n.bind(n,71870))];case 5:return[4,n.e(4219).then(n.bind(n,34219))];case 7:return[4,n.e(7205).then(n.bind(n,37205))];case 9:return[4,n.e(3159).then(n.bind(n,13159))];case 11:return[4,n.e(8274).then(n.bind(n,28274))];case 13:return[2]}}))}))}},97738:(e,t,n)=>{"use strict";n.d(t,{P:()=>r});const r=e=>e.subscriptionCatalog},97895:(e,t,n)=>{"use strict";n.d(t,{lu:()=>a,JX:()=>l,xZ:()=>u,mk:()=>d,ot:()=>c,FE:()=>o,fN:()=>s,cG:()=>i});n(5858),n(45993);var r=n(95428);const a=async e=>{let t;try{t="en-US"===e.localeWithScript?(await n.e(3826).then(n.bind(n,53168))).default:(await n(6446)(`./strings.${e.localeWithScript}.resjson`)).default}catch(a){try{let a=e.language;e.script&&(a=(0,r.GVe)(e.language,e.script)),t=(await n(6446)(`./strings.${a}.resjson`)).default}catch(o){if(e.script)try{t=(await n(6446)(`./strings.${e.language}.resjson`)).default}catch(i){t=(await n.e(3826).then(n.bind(n,53168))).default}else t=(await n.e(3826).then(n.bind(n,53168))).default}}return t},o=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a2?n-2:0),o=2;o{"use strict";n.d(t,{H7:()=>y,K8:()=>c,qv:()=>_,u:()=>g});var r=n(67099),a=n(4048),o=n(22647),i=n(92735),s=n(87999),l=n(76668);function c(e,t){const n=m(e,t),r={type:f(t),value:v(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function u(e,t,n,i){const s=(0,r.KU)()?.getOptions().normalizeDepth,l=function(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}return}(t),u={__serialized__:(0,a.cd)(t,s)};if(l)return{exception:{values:[c(e,l)]},extra:u};const d={exception:{values:[{type:(0,o.xH)(t)?t.constructor.name:i?"UnhandledRejection":"Error",value:E(t,{isUnhandledRejection:i})}]},extra:u};if(n){const t=m(e,n);t.length&&(d.exception.values[0].stacktrace={frames:t})}return d}function d(e,t){return{exception:{values:[c(e,t)]}}}function m(e,t){const n=t.stacktrace||t.stack||"",r=function(e){if(e&&p.test(e.message))return 1;return 0}(t),a=function(e){if("number"===typeof e.framesToPop)return e.framesToPop;return 0}(t);try{return e(n,r,a)}catch(o){}return[]}const p=/Minified React error #\d+;/i;function h(e){return"undefined"!==typeof WebAssembly&&"undefined"!==typeof WebAssembly.Exception&&e instanceof WebAssembly.Exception}function f(e){const t=e?.name;if(!t&&h(e)){return e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception"}return t}function v(e){const t=e?.message;return h(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":t?t.error&&"string"===typeof t.error.message?t.error.message:t:"No error message"}function g(e,t,n,r){const a=y(e,t,n?.syntheticException||void 0,r);return(0,i.M6)(a),a.level="error",n?.event_id&&(a.event_id=n.event_id),(0,s.XW)(a)}function _(e,t,n="info",r,a){const o=b(e,t,r?.syntheticException||void 0,a);return o.level=n,r?.event_id&&(o.event_id=r.event_id),(0,s.XW)(o)}function y(e,t,n,r,a){let s;if((0,o.T2)(t)&&t.error){return d(e,t.error)}if((0,o.BD)(t)||(0,o.W6)(t)){const a=t;if("stack"in t)s=d(e,t);else{const t=a.name||((0,o.BD)(a)?"DOMError":"DOMException"),l=a.message?`${t}: ${a.message}`:t;s=b(e,l,n,r),(0,i.gO)(s,l)}return"code"in a&&(s.tags={...s.tags,"DOMException.code":`${a.code}`}),s}if((0,o.bJ)(t))return d(e,t);if((0,o.Qd)(t)||(0,o.xH)(t)){return s=u(e,t,n,a),(0,i.M6)(s,{synthetic:!0}),s}return s=b(e,t,n,r),(0,i.gO)(s,`${t}`,void 0),(0,i.M6)(s,{synthetic:!0}),s}function b(e,t,n,r){const a={};if(r&&n){const r=m(e,n);r.length&&(a.exception={values:[{value:t,stacktrace:{frames:r}}]}),(0,i.M6)(a,{synthetic:!0})}if((0,o.NF)(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return a.logentry={message:e,params:n},a}return a.message=t,a}function E(e,{isUnhandledRejection:t}){const n=(0,l.HF)(e),r=t?"promise rejection":"exception";if((0,o.T2)(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if((0,o.xH)(e)){return`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(t){}}(e)}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}},98130:(e,t,n)=>{"use strict";n.d(t,{AO:()=>d,Fu:()=>p,TM:()=>w,sC:()=>k,yJ:()=>m,zR:()=>b});var r=n(89575),a=n(49930),o=n(74142),i=n(31450);function s(e){return"/"===e.charAt(0)?e:"/"+e}function l(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function u(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function d(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function m(e,t,n,o){var i;"string"===typeof e?(i=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),i.state=t):(void 0===(i=(0,r.A)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=(0,a.A)(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function p(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&(0,o.A)(e.state,t.state)}function h(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"===typeof e?e(t,n):e;"string"===typeof o?"function"===typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,a):n.push(a),p({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=m(e,t,f(),b.location);u.confirmTransitionTo(a,r,n,(function(e){e&&(b.entries[b.index]=a,p({action:r,location:a}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=b.index+e;return t>=0&&t{"use strict";n.d(t,{s:()=>s});var r=n(53373),a=n.n(r),o=n(14041),i=n(77703);const s=e=>{let{show:t=!0}=e;return o.createElement(i.aF,{className:"LoadingPageOverlay-module__loadingDialog___ApR3f",show:t},o.createElement(i.aF.Body,{className:a()((0,i.YK)("padding","all",0))},o.createElement("div",{style:{display:"flex",flex:1,justifyContent:"center",alignItems:"center",height:"100%"}},o.createElement(i.L7,null))))}},98185:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});n(68291),n(45993);var r=n(95428),a=(n(14041),n(83718));const o=()=>{const e=(0,a.d4)(r.P6r).language;return r.$hu.includes((0,r.XBe)(e))}},98409:(e,t,n)=>{"use strict";n.d(t,{P$:()=>s,_C:()=>u,lc:()=>l,mH:()=>i,qm:()=>c});var r=n(7365),a=n(10467);const o=[];function i(e){const t=e.defaultIntegrations||[],n=e.integrations;let r;if(t.forEach((e=>{e.isDefaultInstance=!0})),Array.isArray(n))r=[...t,...n];else if("function"===typeof n){const e=n(t);r=Array.isArray(e)?e:[e]}else r=t;return function(e){const t={};return e.forEach((e=>{const{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)})),Object.values(t)}(r)}function s(e,t){const n={};return t.forEach((t=>{t&&c(e,t,n)})),n}function l(e,t){for(const n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function c(e,t,n){if(n[t.name])r.T&&a.vF.log(`Integration skipped because it was already installed: ${t.name}`);else{if(n[t.name]=t,-1===o.indexOf(t.name)&&"function"===typeof t.setupOnce&&(t.setupOnce(),o.push(t.name)),t.setup&&"function"===typeof t.setup&&t.setup(e),"function"===typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",((t,r)=>n(t,r,e)))}if("function"===typeof t.processEvent){const n=t.processEvent.bind(t),r=Object.assign(((t,r)=>n(t,r,e)),{id:t.name});e.addEventProcessor(r)}r.T&&a.vF.log(`Integration installed: ${t.name}`)}}function u(e){return e}},98576:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});const r={XboxGreen:{accent:"#008746",accentLight1:"#04b358",accentLight2:"#1cb069",accentLight3:"#32c77f",accentDark1:"#0c6b3d",accentDark2:"#044e2a",accentDark3:"#003019"},Brown:{accent:"#724f2f",accentLight1:"#8e7258",accentLight2:"#a18a75",accentLight3:"#bbaa9b",accentDark1:"#644224",accentDark2:"#553518",accentDark3:"#301d0b"},Orange:{accent:"#eb4910",accentLight1:"#ef6d3f",accentLight2:"#f18661",accentLight3:"#f5a78c",accentDark1:"#cb3b10",accentDark2:"#ab2d11",accentDark3:"#692015"},Chocolate:{accent:"#4c4a4b",accentLight1:"#6f6e6f",accentLight2:"#888788",accentLight3:"#a9a8a8",accentDark1:"#424141",accentDark2:"#373737",accentDark3:"#191919"},Grey:{accent:"#737373",accentLight1:"#8f8f8f",accentLight2:"#a2a2a2",accentLight3:"#bbbbbb",accentDark1:"#616161",accentDark2:"#4f4f4f",accentDark3:"#262626"},Steel:{accent:"#677488",accentLight1:"#858f9f",accentLight2:"#9aa3b0",accentLight3:"#b6bcc5",accentDark1:"#536075",accentDark2:"#3e4b61",accentDark3:"#222b38"},Taupe:{accent:"#7e715c",accentLight1:"#978d7c",accentLight2:"#a9a193",accentLight3:"#c1bab0",accentDark1:"#6b5e4a",accentDark2:"#574b38",accentDark3:"#362f24"},Olive:{accent:"#547a72",accentLight1:"#76948e",accentLight2:"#8ea7a1",accentLight3:"#acbfbb",accentDark1:"#3f625a",accentDark2:"#294a42",accentDark3:"#1c2b28"},Crimson:{accent:"#a21025",accentLight1:"#b43f50",accentLight2:"#c1616f",accentLight3:"#d28c96",accentDark1:"#86101e",accentDark2:"#691117",accentDark3:"#450710"},Pink:{accent:"#ed5588",accentLight1:"#f0779f",accentLight2:"#f38eb0",accentLight3:"#f6adc5",accentDark1:"#c63f6c",accentDark2:"#9e2950",accentDark3:"#57172d"},Magenta:{accent:"#bf1077",accentLight1:"#cb3f92",accentLight2:"#d461a5",accentLight3:"#e08cbd",accentDark1:"#99115f",accentDark2:"#731247",accentDark3:"#4a102e"},Violet:{accent:"#b144c0",accentLight1:"#c069cc",accentLight2:"#cb83d5",accentLight3:"#d9a5e0",accentDark1:"#8c2f9a",accentDark2:"#671a73",accentDark3:"#38163d"},Indigo:{accent:"#744da9",accentLight1:"#8f70ba",accentLight2:"#a389c6",accentLight3:"#bca9d5",accentDark1:"#60379a",accentDark2:"#4c208a",accentDark3:"#24153b"},Cobalt:{accent:"#1073d6",accentLight1:"#3f8fde",accentLight2:"#61a2e3",accentLight3:"#8cbbeb",accentDark1:"#1161b0",accentDark2:"#134e8a",accentDark3:"#133157"},Navy:{accent:"#193e91",accentLight1:"#4764a7",accentLight2:"#677fb6",accentLight3:"#90a2ca",accentDark1:"#15357d",accentDark2:"#102c69",accentDark3:"#101836"},Cyan:{accent:"#1081ca",accentLight1:"#3f9ad4",accentLight2:"#61abdc",accentLight3:"#8cc2e5",accentDark1:"#1069a5",accentDark2:"#105080",accentDark3:"#10314f"},Turqoise:{accent:"#108272",accentLight1:"#3f9b8e",accentLight2:"#61aca1",accentLight3:"#8cc3bb",accentDark1:"#0d6659",accentDark2:"#0a4f45",accentDark3:"#062f29"},Teal:{accent:"#148282",accentLight1:"#439b9b",accentLight2:"#63acac",accentLight3:"#8ec3c3",accentDark1:"#146d70",accentDark2:"#13585e",accentDark3:"#103033"},Lime:{accent:"#54a81b",accentLight1:"#76b948",accentLight2:"#8ec568",accentLight3:"#acd591",accentDark1:"#329216",accentDark2:"#107c10",accentDark3:"#103610"},Amber:{accent:"#eb8c10",accentLight1:"#efa33f",accentLight2:"#f1b361",accentLight3:"#f5c78c",accentDark1:"#af6610",accentDark2:"#733f10",accentDark3:"#4f300e"},Red:{accent:"#e31123",accentLight1:"#e8404f",accentLight2:"#ec616d",accentLight3:"#f18c95",accentDark1:"#b4121c",accentDark2:"#851414",accentDark3:"#471010"}}},98838:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(85608);(0,r.__exportStar)(n(40094),t),(0,r.__exportStar)(n(43951),t)},99115:(e,t,n)=>{"use strict";n.d(t,{j:()=>u});var r=n(85608),a=n(53373),o=n.n(a),i=n(14041),s=n(72178),l=n(32317),c=(0,i.forwardRef)((function(e,t){var n,a=e.buttonType,c=void 0===a?s.VQ.Brand:a,u=e.buttonSize,d=void 0===u?s.Mp.Medium:u,m=e.overlayMode,p=void 0===m?s.w9.Solid:m,h=e.className,f=(0,r.__rest)(e,["buttonType","buttonSize","overlayMode","className"]);return i.createElement(s.SC,(0,r.__assign)({ref:t,buttonType:c,buttonSize:d,overlayMode:p,className:o()(h,l.px,(n={},n[l.UA]=d===s.Mp.XSmall,n[l.kh]=d===s.Mp.Small,n[l.Qy]=d===s.Mp.Medium,n[l.eS]=d===s.Mp.Large,n))},f))}));c.displayName="HeroButtonUnmanaged";var u=(0,i.memo)(c)},99202:(e,t,n)=>{"use strict";n.d(t,{Ct:()=>f,Eq:()=>g,Fm:()=>a,HH:()=>c,Ns:()=>h,Pm:()=>m,g4:()=>o,h5:()=>u,qq:()=>l,rm:()=>d,t7:()=>p,vt:()=>i,y7:()=>v,zP:()=>s});var r=n(40378);r.Dt.getProductSummaryState;const a=r.Dt.getSkuSummaryState,o=(r.Dt.getAvailabilitySummaryState,r.Dt.getAdditionalInformationState,r.Dt.productSummarySelectors.getProductSummary),i=r.Dt.productSummarySelectors.getLanguageSupportDetail,s=r.Dt.productSummarySelectors.getShowSupportedLanguageDisclaimer,l=(r.Dt.productSummarySelectors.getProductIsComingSoon,r.Dt.skuSummarySelectors.getSkuIdsByProductId,r.Dt.skuSummarySelectors.getSkuSummary,r.Dt.skuSummarySelectors.getSkuSummariesByProductId,r.Dt.skuSummarySelectors.getSkuSummaryStateForProductId,r.Dt.getPurchasableSkuSummariesWithDetailByProductId),c=(r.Dt.availabilitySummarySelectors.getAvailabilitySummary,r.Dt.availabilitySummarySelectors.getAvailabilitySummariesByProductId),u=(r.Dt.availabilitySummarySelectors.getAvailabilitySummariesByProductSkuId,r.Dt.additionalInformationSelectors.getProductAdditionalInformation),d=r.Dt.productInfoMetadataSelectors.getProductInfoMetadata,m=(r.Dt.productSummaryInfoSelectors.getFullOptimalProductSummaryInfo,r.Dt.productSummaryInfoSelectors.getFullOptimalProductSummaryInfos,r.Dt.productSummaryInfoSelectors.getFullProductSummaryInfo),p=(r.Dt.productSummaryInfoSelectors.getFullProductSummaryInfos,r.Dt.productSummaryInfoSelectors.getNullableProductSummaryInfo),h=(r.Dt.productSummaryInfoSelectors.getNullableProductSummaryInfos,r.Dt.productSummaryInfoSelectors.getPartialOptimalProductSummaryInfo,r.Dt.productSummaryInfoSelectors.getPartialOptimalProductSummaryInfos,r.Dt.productSummaryInfoSelectors.getPartialProductSummaryInfosWithOptimalAndPreferredFallbacks),f=r.Dt.productSummaryInfoSelectors.getPartialProductSummaryInfoWithOptimalAndPreferredFallbacks,v=r.Dt.productSummaryInfoSelectors.getPartialPurchasableProductSummaryInfoWithOptimalAndPreferredFallbacks,g=r.Dt.productSummaryInfoSelectors.getProductSummaryInfo},99971:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(85608),a=n(14041);const o=function(e){var{title:t,titleId:n}=e,o=(0,r.__rest)(e,["title","titleId"]);return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2048 2048",width:"1em",height:"1em","aria-labelledby":n},o),t?a.createElement("title",{id:n},t):null,a.createElement("path",{d:"M1664 896v128h-640v640H896v-640H256V896h640V256h128v640h640z"}))}}}]); //# sourceMappingURL=9363.d4bbfc9f.js.map