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]=`9da11666-fe8b-40e9-ab7d-ede597d4d6cd`,e._sentryDebugIdIdentifier=`sentry-dbid-9da11666-fe8b-40e9-ab7d-ede597d4d6cd`)}catch{}import{Ag as e,H as t,Qh as n,Zm as r,cd as i,ng as a}from"./entry.client-mpghtlrl.js";import{Fn as o,In as s,Ln as c,Mn as l,Nn as u,Pn as d,Rn as f,jn as p}from"./xds-icons-m106f2fc.js";var m=e(),h=a(),g=e=>{let a=(0,m.c)(42),{gamepassLevel:g,className:_,isInline:v}=e,y=v===void 0?!0:v,{configuration:b}=r(),x;a[0]===b.queries.configuration?x=a[1]:(x=b.queries.configuration.getOptions(`enableXGPPUI`),a[0]=b.queries.configuration,a[1]=x);let{data:S}=n(x),C=b.castAsConfiguration(S,`enableXGPPUI`)??!1,{locGamepassDuet:w,locGamepassEssential:T,locGamepassPremium:E,locGamepassUltimate:D}=t();if(C&&g===i.GamePassDuet)if(y){let e;a[2]===w?e=a[3]:(e=w(),a[2]=w,a[3]=e);let t;return a[4]!==_||a[5]!==e?(t=(0,h.jsx)(o,{className:_,"aria-label":e}),a[4]=_,a[5]=e,a[6]=t):t=a[6],t}else{let e;a[7]===w?e=a[8]:(e=w(),a[7]=w,a[8]=e);let t;return a[9]!==_||a[10]!==e?(t=(0,h.jsx)(s,{className:_,"aria-label":e}),a[9]=_,a[10]=e,a[11]=t):t=a[11],t}if(g===i.GamePassCore)if(y){let e;a[12]===T?e=a[13]:(e=T(),a[12]=T,a[13]=e);let t;return a[14]!==_||a[15]!==e?(t=(0,h.jsx)(c,{className:_,"aria-label":e}),a[14]=_,a[15]=e,a[16]=t):t=a[16],t}else{let e;a[17]===T?e=a[18]:(e=T(),a[17]=T,a[18]=e);let t;return a[19]!==_||a[20]!==e?(t=(0,h.jsx)(f,{className:_,"aria-label":e}),a[19]=_,a[20]=e,a[21]=t):t=a[21],t}if(g===i.GamePassStandard)if(y){let e;a[22]===E?e=a[23]:(e=E(),a[22]=E,a[23]=e);let t;return a[24]!==_||a[25]!==e?(t=(0,h.jsx)(u,{className:_,"aria-label":e}),a[24]=_,a[25]=e,a[26]=t):t=a[26],t}else{let e;a[27]===E?e=a[28]:(e=E(),a[27]=E,a[28]=e);let t;return a[29]!==_||a[30]!==e?(t=(0,h.jsx)(d,{className:_,"aria-label":e}),a[29]=_,a[30]=e,a[31]=t):t=a[31],t}if(g===i.GamePassUltimate)if(y){let e;a[32]===D?e=a[33]:(e=D(),a[32]=D,a[33]=e);let t;return a[34]!==_||a[35]!==e?(t=(0,h.jsx)(p,{className:_,"aria-label":e}),a[34]=_,a[35]=e,a[36]=t):t=a[36],t}else{let e;a[37]===D?e=a[38]:(e=D(),a[37]=D,a[38]=e);let t;return a[39]!==_||a[40]!==e?(t=(0,h.jsx)(l,{className:_,"aria-label":e}),a[39]=_,a[40]=e,a[41]=t):t=a[41],t}return null};export{g as t};