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]=`a2cb7f42-c856-4149-b001-c2754178bbb8`,e._sentryDebugIdIdentifier=`sentry-dbid-a2cb7f42-c856-4149-b001-c2754178bbb8`)}catch{}import{o as e}from"./rolldown-runtime-nx40z1zs.js";import{Ag as t,Hm as n,ng as r,pi as i}from"./entry.client-mpghtlrl.js";import{et as a,ht as o}from"./xds-react-components-ihgca01z.js";var s=t(),c=e(i(),1),l=r(),u=e=>{let t=(0,s.c)(27),{title:r,subtitle:i,imageContent:u,backgroundVisible:d,onClick:f,badge:p,contentClassName:m,"aria-posinset":h,"aria-setsize":g}=e,{locCapCount:_,locAccessibilityItemEnumeration:v}=n(),y;t[0]!==h||t[1]!==g||t[2]!==v||t[3]!==r?(y=h!==void 0&&g!==void 0?v(r,h,g):void 0,t[0]=h,t[1]=g,t[2]=v,t[3]=r,t[4]=y):y=t[4];let b=y,x=d?`visible`:`invisible`,S;t[5]===m?S=t[6]:(S=(0,c.default)(`flex min-w-0 flex-row gap-internal-graphic-and-text-square-graphic-horizontally-stacked-gap-regular`,m),t[5]=m,t[6]=S);let C;t[7]===r?C=t[8]:(C=(0,l.jsx)(`div`,{className:`truncate text-item-visible-container-default-content-primary-rest type-title4`,children:r}),t[7]=r,t[8]=C);let w;t[9]===i?w=t[10]:(w=(0,l.jsx)(`div`,{className:`truncate text-item-visible-container-default-content-primary-rest type-subtitle3`,children:i}),t[9]=i,t[10]=w);let T;t[11]!==C||t[12]!==w?(T=(0,l.jsx)(`div`,{className:`flex min-w-0 flex-col justify-center gap-internal-gap-static-tight`,children:(0,l.jsxs)(`div`,{className:`flex min-w-0 flex-col text-start`,children:[C,w]})}),t[11]=C,t[12]=w,t[13]=T):T=t[13];let E;t[14]!==S||t[15]!==u||t[16]!==T?(E=(0,l.jsxs)(`div`,{className:S,children:[u,T]}),t[14]=S,t[15]=u,t[16]=T,t[17]=E):E=t[17];let D;t[18]!==p||t[19]!==_?(D=p&&(0,l.jsx)(a,{count:_(p,9),kind:`brand`}),t[18]=p,t[19]=_,t[20]=D):D=t[20];let O;return t[21]!==f||t[22]!==b||t[23]!==x||t[24]!==E||t[25]!==D?(O=(0,l.jsxs)(o,{as:`button`,horizontal:!0,onPress:f,"aria-label":b,background:x,className:`flex w-full min-w-0 flex-row justify-between rounded-component-item-standard-regular pe-internal-container-padding-regular`,children:[E,D]}),t[21]=f,t[22]=b,t[23]=x,t[24]=E,t[25]=D,t[26]=O):O=t[26],O};export{u as t};