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]=`8fb72301-effa-4cf1-9eac-3ed7bafa7d75`,e._sentryDebugIdIdentifier=`sentry-dbid-8fb72301-effa-4cf1-9eac-3ed7bafa7d75`)}catch{}import{o as e}from"./rolldown-runtime-eb2nym32.js";import{Ag as t,Fg as n,Ig as r,Om as i,Qt as a,Ro as o,U as s,Yt as c,ft as l,or as u}from"./entry.client-dr7r6s9a.js";var d=n(),f=e(u(),1),p=e(r(),1),m=t(),h=e=>{let t=(0,d.c)(35),{backgroundUrl:n,children:r,useGradientBackdrop:u}=e,h=u===void 0?!1:u,g=a(),_=o(),v=(0,p.useRef)(null),y=_===i.LG_10?`80%`:`50%`,b;t[0]===n?b=t[1]:(b=()=>{if(!n)return;let e=new URL(n);return e.searchParams.set(`w`,`112`),e.searchParams.set(`format`,`jpg`),`url("${e.toString()}")`},t[0]=n,t[1]=b);let x=b,S,C,w,T,E,D,O,k;t[2]!==g||t[3]!==n||t[4]!==h||t[5]!==x||t[6]!==y?(S=g===`high`||!n?void 0:h?`
                linear-gradient(
                    to bottom,
                    var(--V2AV) 0%,
                    var(--V2AV) 15%,
                    var(--V27D) ${y},
                    var(--V27D) 100%
                ),
                ${x()}
              `:x(),D=v,O=`twscope flex h-dvh w-full overflow-y-auto`,t[15]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,m.jsx)(c,{elementRef:v,scrollAxis:`vertical`,scrollOnFocus:!0,scrollAlignment:`align-to-next`}),T=s(`m-auto w-full select-none xs-10:h-screen`,`sm-25:(h-[640px] w-[592px] rounded-2xl border border-solid border-action-noninteractive-border-rest bg-container-backgrounds-elevation-background-level-4 bg-cover shadow-xl)`,`md-20:w-[634px]`,`lg-10:(h-[720px] w-[1280px])`,`lg-20:(h-[810px] w-[1440px])`,`density-high:lg-20:(h-[720px] w-[1280px])`,`density-low:xl-10:(h-screen w-full)`,`density-low:xl-20:(h-[min(1080px,95dvh)] w-[1920px] rounded-2xl border border-solid border-action-noninteractive-border-rest bg-container-backgrounds-elevation-background-level-4 bg-cover shadow-xl)`),t[15]=k,t[16]=T):(k=t[15],T=t[16]),E=S?{backgroundImage:S,backgroundSize:h?`cover`:void 0,backgroundPosition:`top`}:{backgroundColor:`var(--V27D)`},w=l,C=(0,f.default)(`h-full w-full`,`sm-25:rounded-2xl`,`density-low:xl-20:rounded-2xl`,S&&`bg-gradient-to-t from-container-backgrounds-elevation-background-level-4 to-container-backgrounds-overlay-smoke-thin backdrop-blur-3xl`),t[2]=g,t[3]=n,t[4]=h,t[5]=x,t[6]=y,t[7]=S,t[8]=C,t[9]=w,t[10]=T,t[11]=E,t[12]=D,t[13]=O,t[14]=k):(S=t[7],C=t[8],w=t[9],T=t[10],E=t[11],D=t[12],O=t[13],k=t[14]);let A;t[17]===S?A=t[18]:(A=S?void 0:{backgroundColor:`var(--V27D)`},t[17]=S,t[18]=A);let j;t[19]!==C||t[20]!==A||t[21]!==r?(j=(0,m.jsx)(`div`,{className:C,style:A,children:r}),t[19]=C,t[20]=A,t[21]=r,t[22]=j):j=t[22];let M;t[23]!==w||t[24]!==j?(M=(0,m.jsx)(w,{children:j}),t[23]=w,t[24]=j,t[25]=M):M=t[25];let N;t[26]!==T||t[27]!==E||t[28]!==M?(N=(0,m.jsx)(`div`,{className:T,style:E,children:M}),t[26]=T,t[27]=E,t[28]=M,t[29]=N):N=t[29];let P;return t[30]!==D||t[31]!==O||t[32]!==k||t[33]!==N?(P=(0,m.jsxs)(`div`,{ref:D,className:O,children:[k,N]}),t[30]=D,t[31]=O,t[32]=k,t[33]=N,t[34]=P):P=t[34],P};export{h as t};