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]=`2c8ef3ac-b7b8-4ba8-8766-71fcf2d278f5`,e._sentryDebugIdIdentifier=`sentry-dbid-2c8ef3ac-b7b8-4ba8-8766-71fcf2d278f5`)}catch{}import"./rolldown-runtime-nx40z1zs.js";import{$m as e,Ag as t,Fn as n,Hm as r,Ln as i,_r as a,ng as o}from"./entry.client-mpghtlrl.js";import{D as s}from"./xds-react-components-ihgca01z.js";import{$ as c}from"./xds-icons-m106f2fc.js";import{n as l,t as u}from"./DialogShell-ga7ic6wy.js";var d=t(),f=o(),p=a(t=>{let a=(0,d.c)(22),{blockedReason:o}=t,{t:l}=e(`PartyBlockedDialog`),p;a[0]===l?p=a[1]:(p=l(`Party chat is blocked. Check your enforcement history by visiting XBOX support.`,{shortKey:`party_blocked_subtitle_suspension`}),a[0]=l,a[1]=p);let m=p,h;a[2]===l?h=a[3]:(h=l(`Party chat is blocked due to your online privacy and safety settings. Manage your settings by visiting XBOX support.`,{shortKey:`party_blocked_subtitle_privacy`}),a[2]=l,a[3]=h);let g=o===`suspension`?m:h,_=o===`suspension`?i:n,{locVisitXboxSupport:v,locPartyChatBlocked:y}=r(),b;a[4]===y?b=a[5]:(b=y(),a[4]=y,a[5]=b);let x;a[6]===b?x=a[7]:(x={title:{text:b,sizeClassName:`type-section3`}},a[6]=b,a[7]=x);let S=x,C;a[8]===S?C=a[9]:(C=(0,f.jsx)(u.NavigationHeader,{title:S}),a[8]=S,a[9]=C);let w;a[10]===g?w=a[11]:(w=(0,f.jsx)(`div`,{className:`self-start text-noninteractive-content-primary-content type-body`,children:g}),a[10]=g,a[11]=w);let T;a[12]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,f.jsx)(c,{}),a[12]=T):T=a[12];let E;a[13]===v?E=a[14]:(E=v(),a[13]=v,a[14]=E);let D;a[15]!==_||a[16]!==E?(D=(0,f.jsx)(s,{alignment:`center`,as:`a`,href:_,target:`_blank`,trailingIcon:T,kind:`brand`,children:E}),a[15]=_,a[16]=E,a[17]=D):D=a[17];let O;return a[18]!==C||a[19]!==w||a[20]!==D?(O=(0,f.jsxs)(`div`,{className:`flex flex-col items-center gap-layout-vertical-group-of-items-tight self-stretch`,children:[C,w,D]}),a[18]=C,a[19]=w,a[20]=D,a[21]=O):O=a[21],O},e=>({...e})),m=e=>{let t=(0,d.c)(6),n=p.useComponent(),r=l.useComponent(),i;t[0]!==n||t[1]!==e?(i=(0,f.jsx)(n,{...e}),t[0]=n,t[1]=e,t[2]=i):i=t[2];let a;return t[3]!==r||t[4]!==i?(a=(0,f.jsx)(r,{autoHeight:!0,className:`w-[550px] rounded-lg bg-container-backgrounds-elevation-background-level-2 bg-cover p-4`,children:i}),t[3]=r,t[4]=i,t[5]=a):a=t[5],a};export{m as PartyBlockedDialog,m as default};