try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`dcfdcfeb-16ff-423e-8bb5-8285fc13d827`,e._sentryDebugIdIdentifier=`sentry-dbid-dcfdcfeb-16ff-423e-8bb5-8285fc13d827`)}catch{}import{Ag as e,Dg as t,Fg as n,k as r,sh as i,tf as a}from"./entry.client-dr7r6s9a.js";import{_n as o,fn as s,gn as c,hn as l,mn as u,pn as d,vn as f,yn as p}from"./xds-icons-d7khcnpi.js";var m=n(),h=e(),g=e=>{let n=(0,m.c)(42),{gamepassLevel:g,className:_,isInline:v}=e,y=v===void 0?!0:v,{configuration:b}=i(),x;n[0]===b.queries.configuration?x=n[1]:(x=b.queries.configuration.getOptions(`enableXGPPUI`),n[0]=b.queries.configuration,n[1]=x);let{data:S}=t(x),C=b.castAsConfiguration(S,`enableXGPPUI`)??!1,{locGamepassDuet:w,locGamepassEssential:T,locGamepassPremium:E,locGamepassUltimate:D}=r();if(C&&g===a.GamePassDuet)if(y){let e;n[2]===w?e=n[3]:(e=w(),n[2]=w,n[3]=e);let t;return n[4]!==_||n[5]!==e?(t=(0,h.jsx)(c,{className:_,"aria-label":e}),n[4]=_,n[5]=e,n[6]=t):t=n[6],t}else{let e;n[7]===w?e=n[8]:(e=w(),n[7]=w,n[8]=e);let t;return n[9]!==_||n[10]!==e?(t=(0,h.jsx)(o,{className:_,"aria-label":e}),n[9]=_,n[10]=e,n[11]=t):t=n[11],t}if(g===a.GamePassCore)if(y){let e;n[12]===T?e=n[13]:(e=T(),n[12]=T,n[13]=e);let t;return n[14]!==_||n[15]!==e?(t=(0,h.jsx)(f,{className:_,"aria-label":e}),n[14]=_,n[15]=e,n[16]=t):t=n[16],t}else{let e;n[17]===T?e=n[18]:(e=T(),n[17]=T,n[18]=e);let t;return n[19]!==_||n[20]!==e?(t=(0,h.jsx)(p,{className:_,"aria-label":e}),n[19]=_,n[20]=e,n[21]=t):t=n[21],t}if(g===a.GamePassStandard)if(y){let e;n[22]===E?e=n[23]:(e=E(),n[22]=E,n[23]=e);let t;return n[24]!==_||n[25]!==e?(t=(0,h.jsx)(u,{className:_,"aria-label":e}),n[24]=_,n[25]=e,n[26]=t):t=n[26],t}else{let e;n[27]===E?e=n[28]:(e=E(),n[27]=E,n[28]=e);let t;return n[29]!==_||n[30]!==e?(t=(0,h.jsx)(l,{className:_,"aria-label":e}),n[29]=_,n[30]=e,n[31]=t):t=n[31],t}if(g===a.GamePassUltimate)if(y){let e;n[32]===D?e=n[33]:(e=D(),n[32]=D,n[33]=e);let t;return n[34]!==_||n[35]!==e?(t=(0,h.jsx)(s,{className:_,"aria-label":e}),n[34]=_,n[35]=e,n[36]=t):t=n[36],t}else{let e;n[37]===D?e=n[38]:(e=D(),n[37]=D,n[38]=e);let t;return n[39]!==_||n[40]!==e?(t=(0,h.jsx)(d,{className:_,"aria-label":e}),n[39]=_,n[40]=e,n[41]=t):t=n[41],t}return null};export{g as t};