import{a as e,i as t,n,r}from"./_brand-C2V3ysl0.js";var i=`#ffffff`,a=`rgba(255,255,255,0.7)`,o=`rgba(255,255,255,0.18)`,s={markStroke:i,wordmarkFg:i};function c(e,t){return{type:`div`,props:{style:{display:`flex`,flexDirection:`column`,gap:`4px`},children:[{type:`span`,props:{style:{fontSize:`34px`,fontWeight:700,color:i,fontFamily:`JetBrains Mono`},children:e}},{type:`span`,props:{style:{fontSize:`14px`,color:a,textTransform:`uppercase`,letterSpacing:`0.16em`,fontWeight:600},children:t}}]}}}function l(l){let u=[t(l.sessionDate),l.durationLabel].filter(Boolean).join(` · `),d=l.costDollars??`$—`,f=typeof l.cachedTokens==`number`&&l.cachedTokens>=1e5?`+ ${e(l.cachedTokens)} cached`:null,p=[n(s,`session receipt`),{type:`div`,props:{style:{display:`flex`,flexDirection:`column`,gap:`8px`},children:[{type:`div`,props:{style:{fontSize:`44px`,fontWeight:700,color:i,lineHeight:1.15,wordBreak:`break-word`},children:l.sessionTitle}},{type:`div`,props:{style:{fontSize:`20px`,color:a},children:u}}]}},{type:`div`,props:{style:{display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,padding:`32px 0`},children:[{type:`span`,props:{style:{fontSize:`180px`,fontWeight:700,color:i,fontFamily:`JetBrains Mono`,lineHeight:1,letterSpacing:`-0.04em`},children:d}},{type:`span`,props:{style:{marginTop:`16px`,fontSize:`16px`,color:a,textTransform:`uppercase`,letterSpacing:`0.24em`,fontWeight:600},children:`session cost`}}]}},{type:`div`,props:{style:{display:`flex`,width:`100%`,height:`1px`,backgroundColor:o}}},{type:`div`,props:{style:{display:`flex`,justifyContent:`space-between`,gap:`24px`},children:[c(String(l.messageCount),`msgs`),c(String(l.filesReferenced),`files`),c(String(l.toolCallCount),`tools`),c(l.model??`—`,`model`)]}}];return f&&p.push({type:`div`,props:{style:{fontSize:`14px`,color:a,fontFamily:`JetBrains Mono`,opacity:.85},children:f}}),l.verdict&&p.push({type:`div`,props:{style:{display:`flex`,fontSize:`24px`,fontStyle:`italic`,color:i,borderLeft:`3px solid ${i}`,paddingLeft:`20px`,marginTop:`8px`},children:`"${l.verdict}"`}}),p.push({type:`div`,props:{style:{display:`flex`,flex:1}}}),p.push(r(s)),{type:`div`,props:{style:{display:`flex`,flexDirection:`column`,width:`100%`,height:`100%`,backgroundImage:`linear-gradient(135deg, #b1370f 0%, #f97316 55%, #fbbf24 100%)`,padding:`64px 72px`,fontFamily:`Inter`,gap:`28px`},children:p}}}export{l as render};