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]=`14f51df5-194c-442d-a773-67762f2160d2`,e._sentryDebugIdIdentifier=`sentry-dbid-14f51df5-194c-442d-a773-67762f2160d2`)}catch{}import{o as e}from"./rolldown-runtime-nx40z1zs.js";import{Ag as t,Ct as n,Pt as r,ng as i,pi as a}from"./entry.client-mpghtlrl.js";import{vt as o}from"./workspace-leaf-files-oergw4h0.js";import{a as s}from"./guideRouterEnvironmentHooks-h2xlfina.js";var c=t(),l=e(a(),1),u=i(),d=`16 / 9`,f=e=>{let t=(0,c.c)(8),{imageUrl:i,aspectRatio:a}=e,f=s();if(!i)return null;let p=!f,m;t[0]===p?m=t[1]:(m=(0,l.default)({"-top-template-overlays-guide-padding-internal-top":p},`absolute end-0 start-0`,`pointer-events-none ltr:[--mask-start:right] rtl:[--mask-start:left]`,`contrast-high:invisible`,`mask-image-[radial-gradient(ellipse_100%_75%_at_var(--mask-start)_top,rgba(1_1_1_/_50%),_transparent_100%)]`),t[0]=p,t[1]=m);let h=a??d,g;t[2]!==i||t[3]!==h?(g=(0,u.jsx)(r,{src:i,alt:``,aspectRatio:h,getResizedImageUrl:n,constraintSet:o}),t[2]=i,t[3]=h,t[4]=g):g=t[4];let _;return t[5]!==m||t[6]!==g?(_=(0,u.jsx)(`div`,{className:m,children:g}),t[5]=m,t[6]=g,t[7]=_):_=t[7],_};export{f as t};