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]=`d4199836-230b-4fe1-b4a1-fbd8f35c3b87`,e._sentryDebugIdIdentifier=`sentry-dbid-d4199836-230b-4fe1-b4a1-fbd8f35c3b87`)}catch{}import"./rolldown-runtime-nx40z1zs.js";import{$m as e,Ag as t,Fr as n,Sn as r,_r as i,hi as a,ng as o,x as s,yt as c}from"./entry.client-mpghtlrl.js";import{ft as l}from"./xds-react-components-ihgca01z.js";import{t as u}from"./AccessibilityFeatures-imsrgx4h.js";import{n as d,t as f}from"./DialogShell-ga7ic6wy.js";var p=t(),m=o(),h=i(t=>{let n=(0,p.c)(16),{title:i,categories:a}=t,o;n[0]===i?o=n[1]:(o={title:{text:i,sizeClassName:`type-title2`}},n[0]=i,n[1]=o);let c=o,{t:l}=e(`AccessibilityFeatures`),d;n[2]===l?d=n[3]:(d=l(`Learn more about XBOX accessibility features`,{shortKey:`AccessibilityFeatures_learnMore_link`}),n[2]=l,n[3]=d);let h=d,g;n[4]===c?g=n[5]:(g=(0,m.jsx)(f.NavigationHeader,{showClose:!0,title:c}),n[4]=c,n[5]=g);let _;n[6]===a?_=n[7]:(_=(0,m.jsx)(u,{categories:a}),n[6]=a,n[7]=_);let v;n[8]===h?v=n[9]:(v=(0,m.jsx)(s,{href:r,label:h,isExternalLink:!0,size:`body`}),n[8]=h,n[9]=v);let y;n[10]!==_||n[11]!==v?(y=(0,m.jsxs)(f.ScrollContainer,{className:`!mb-0 flex flex-col items-start gap-layout-vertical-group-of-items-regular self-stretch pb-layout-vertical-group-of-items-regular`,children:[_,v]}),n[10]=_,n[11]=v,n[12]=y):y=n[12];let b;return n[13]!==g||n[14]!==y?(b=(0,m.jsxs)(m.Fragment,{children:[g,y]}),n[13]=g,n[14]=y,n[15]=b):b=n[15],b},e=>e),g=e=>{let t=(0,p.c)(16),r=d.useComponent(),i=h.useComponent(),o;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(o={edge:`bottom`,centered:!0},t[0]=o):o=t[0];let s=l(o),u;t[1]===s?u=t[2]:(u=n(s),t[1]=s,t[2]=u);let f=u,g;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(g={default:!0,SM_25:!1},t[3]=g):g=t[3];let{data:_}=a(g),v=_?f:void 0,y=!_,b;t[4]!==y||t[5]!==_?(b=c(`modal-generic modal-floating flex flex-col`,`border-container-backgrounds-elevation-border-level-4`,`shadow-container-backgrounds-elevation-background-level-4`,`bg-container-backgrounds-elevation-background-level-4`,{"modal-floating w-template-overlays-modal-size-medium-width-centered h-template-overlays-modal-size-large-height-centered":y,"modal-docked w-template-overlays-modal-size-large-width-slidesheet h-template-overlays-modal-size-large-height-slidesheet":_},`xsl-10:w-template-overlays-modal-size-medium-width-slidesheet`),t[4]=y,t[5]=_,t[6]=b):b=t[6];let x;t[7]!==i||t[8]!==e?(x=(0,m.jsx)(i,{...e}),t[7]=i,t[8]=e,t[9]=x):x=t[9];let S;return t[10]!==r||t[11]!==v||t[12]!==b||t[13]!==e.title||t[14]!==x?(S=(0,m.jsx)(r,{autoHeight:!0,positionStyle:v,className:b,accessibleTitle:e.title,children:x}),t[10]=r,t[11]=v,t[12]=b,t[13]=e.title,t[14]=x,t[15]=S):S=t[15],S};export{g as AccessibilityFeaturesDialog,g as default};