1import{u as l,bg as o,r as i,j as s,A as d,m,X as c}from"./index-CR8jIHGL.js";function u(){const{t:a}=l(),{theme:e,isActive:r}=o(),[n,t]=i.useState(!1);return i.useEffect(()=>{e&&sessionStorage.getItem("festival_dismissed")===e.id&&t(!0)},[e]),!r||!e||n?null:s.jsx(d,{children:s.jsx(m.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,height:0},className:"relative rounded-xl overflow-hidden",style:{background:e.banner_gradient||"hsl(var(--primary))"},children:s.jsxs("div",{className:"relative px-4 py-4 flex items-center gap-3",children:[s.jsx("span",{className:"text-2xl shrink-0",children:e.emoji}),s.jsx("p",{className:"text-white font-semibold text-sm flex-1 drop-shadow",children:e.greeting_text}),s.jsx("button",{onClick:()=>{t(!0),sessionStorage.setItem("festival_dismissed",e.id)},"aria-label":a("foDismiss"),className:"shrink-0 rounded-full p-1 text-white/70 hover:text-white hover:bg-white/10 transition-colors",children:s.jsx(c,{className:"w-4 h-4"})})]})})})}export{u as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.