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]=`00a968aa-b0f2-41f6-8a1b-a9cd500ecbb8`,e._sentryDebugIdIdentifier=`sentry-dbid-00a968aa-b0f2-41f6-8a1b-a9cd500ecbb8`)}catch{}import"./rolldown-runtime-eb2nym32.js";import{it as e}from"./xds-react-components-lks62tbl.js";import{Ag as t,Fg as n,Ft as r,Nt as i,dn as a,eh as o,lh as s}from"./entry.client-dr7r6s9a.js";import{tt as c}from"./xds-icons-d7khcnpi.js";import{n as l,t as u}from"./DialogShell-k2jpaw9r.js";var d=n(),f=t(),p=a(t=>{let n=(0,d.c)(22),{blockedReason:a}=t,{t:l}=s(`PartyBlockedDialog`),p;n[0]===l?p=n[1]:(p=l(`Party chat is blocked. Check your enforcement history by visiting Xbox support.`,{shortKey:`party_blocked_subtitle_suspension`}),n[0]=l,n[1]=p);let m=p,h;n[2]===l?h=n[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`}),n[2]=l,n[3]=h);let g=a===`suspension`?m:h,_=a===`suspension`?r:i,{locVisitXboxSupport:v,locPartyChatBlocked:y}=o(),b;n[4]===y?b=n[5]:(b=y(),n[4]=y,n[5]=b);let x;n[6]===b?x=n[7]:(x={title:{text:b,sizeClassName:`type-section3`}},n[6]=b,n[7]=x);let S=x,C;n[8]===S?C=n[9]:(C=(0,f.jsx)(u.NavigationHeader,{title:S}),n[8]=S,n[9]=C);let w;n[10]===g?w=n[11]:(w=(0,f.jsx)(`div`,{className:`self-start text-noninteractive-content-primary-content type-body`,children:g}),n[10]=g,n[11]=w);let T;n[12]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,f.jsx)(c,{}),n[12]=T):T=n[12];let E;n[13]===v?E=n[14]:(E=v(),n[13]=v,n[14]=E);let D;n[15]!==_||n[16]!==E?(D=(0,f.jsx)(e,{alignment:`center`,as:`a`,href:_,target:`_blank`,trailingIcon:T,kind:`brand`,children:E}),n[15]=_,n[16]=E,n[17]=D):D=n[17];let O;return n[18]!==C||n[19]!==w||n[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]}),n[18]=C,n[19]=w,n[20]=D,n[21]=O):O=n[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};